Lean Kernel Arena / bugs/rec-k-lie

Test "bugs/rec-k-lie"

Expected: ✋ reject · Size: 5.3 KB · Lines: 87 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 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 ⏱️ 🧠
nano-lean ✋ 0.537 ms 21.9 MB
gruszka ✋ 1.82 ms 76.1 MB
mathgraph ✋ 0.748 ms 19.8 MB
sokonanoda ✋ 0.816 ms 27.8 MB
pestka ✋ 2.04 ms 14.2 MB
kefir ✋ 0.417 ms 5.6 MB
kefir-wasm ✋ 101 ms 82.0 MB
con-ron ✋ 29.0 ms 41.8 MB
con-ron-stream ✋ 29.6 ms 45.1 MB
con-agua ✋ 20.3 ms 11.9 MB
nanobruijn ✋ 0.698 ms 7.0 MB
nanoda ✋ 0.603 ms 3.1 MB
con-leche ✋ 4.09 ms 23.3 MB
pestka-wasm ✋ 510 ms 312.1 MB
official-nightly ✋ 33.5 ms 108.9 MB
eink0rn ✋ 1.36 ms 11.2 MB
official ✋ 32.3 ms 93.5 MB
ind-models ✋ 100 ms 96.5 MB
kiota ✋ 0.761 ms 11.3 MB
tenet ✋ 136 ms 45.5 MB
tenet-hs ✋ 1.25 ms 8.5 MB
logos-kernel ✋ 0.404 ms 3.5 MB
evmlean ✋ 1.09 s 251.7 MB
mini ✋ 34.2 ms 74.4 MB
overfull ✋ 9.13 s 46.0 MB
lean4lean ✋ 77.3 ms 96.3 MB
lean4cobol ✋ 3.38 ms 13.5 MB
tenet-jvm ✋ 106 ms 76.4 MB
nanoclo ✋ 0.713 ms 51.7 MB
vow-lean-kernel ✋ 154 ms 14.4 MB
canonical-min 🚫 387 ms 1.1 GB
lazylean ✋ 1.12 ms 21.1 MB
rpylean ✋ 0.894 ms 10.0 MB
metalean-slow ✋ 30.1 ms 66.4 MB
metalean-fast ✋ 30.2 ms 66.2 MB
nanoclo-fortran ✋ 1.08 ms 4.5 MB