Lean Kernel Arena (Preview) / bugs/rec-k-lie

Test "bugs/rec-k-lie"

Expected: ✋ reject · Size: 5.5 KB · Lines: 87 · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source

False theorem via trusted k on a recursor.

Define MyBool with two constructors, and lie by claiming its recursor is K-like, so the major premise is replaced by the first constructor without being examined.

disc MyBool.true is then True rather than False.

MyBool rather than Bool because a module that overwrites an imported constant cannot be re-imported by the exporter.

Nanoda and its descendants accepted this until it was fixed.

Checker Result ⏱️ 🧠
gruszka ✋ 1.82 ms 66.1 MB
nano-lean ✋ 0.539 ms 21.6 MB
pestka ✋ 2.04 ms 14.6 MB
con-leche ✋ 4.05 ms 23.2 MB
con-ron ✋ 28.4 ms 43.8 MB
nucleus ✋ 24.0 ms 13.9 MB
official ✋ 42.4 ms 114.1 MB