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.34.1 · 📄 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 ⏱️ 🧠
sokonanoda ✋ 1 ms 38.3 MB
mathgraph ✋ 1 ms 29.9 MB
nanoclo ✋ 1 ms 47.7 MB
con-ron ✋ 1 ms 11.9 MB
nanobruijn ✋ 1 ms 7.7 MB
nanoda ✋ 1 ms 3.4 MB
lazylean ✋ 1 ms 21.7 MB
con-leche ✋ 3 ms 19.3 MB
eink0rn ✋ 1 ms 11.9 MB
official ✋ 28 ms 67.5 MB
ind-models ✋ 100 ms 102.8 MB
lean4lean ✋ 76 ms 105.7 MB
tenet ✋ 131 ms 45.0 MB
tenet-hs ✋ 1 ms 9.1 MB
lean4cobol ✋ 3 ms 13.6 MB
evmlean ✋ 1.1 s 276.1 MB
mini ✋ 34 ms 74.2 MB
overfull ✋ 9.1 s 46.3 MB
metalean-slow ✋ 30 ms 73.4 MB
tenet-jvm ✋ 106 ms 65.8 MB
nanoclo-fortran ✋ 1 ms 4.6 MB
kiota ✋ 1 ms 7.3 MB
metalean-fast ✋ 30 ms 71.7 MB
canonical-min 🚫 387 ms 1.1 GB
rpylean ✋ 1 ms 4.3 MB
vow-lean-kernel ✋ 82 ms 8.5 MB
parse-only 👍 28 ms 66.3 MB