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.29.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 ⏱️ 🧠
mathgraph ✋ 1 ms 29.8 MB
sokonanoda ✋ 1 ms 33.8 MB
nanoclo ✋ 1 ms 49.6 MB
con-ron ✋ 1 ms 12.0 MB
lazylean ✋ 1 ms 21.3 MB
nanoda ✋ 1 ms 3.1 MB
nanobruijn ✋ 1 ms 7.2 MB
con-leche ✋ 3 ms 17.2 MB
eink0rn ✋ 2 ms 11.5 MB
ind-models ✋ 58 ms 104.8 MB
official ✋ 28 ms 67.1 MB
lean4lean ✋ 76 ms 104.4 MB
tenet ✋ 132 ms 44.0 MB
nanoclo-fortran ✋ 1 ms 4.6 MB
lean4cobol ✋ 3 ms 13.6 MB
evmlean ✋ 578 ms 133.4 MB
mini ✋ 34 ms 74.0 MB
overfull ✋ 9.1 s 46.0 MB
kiota ✋ 1 ms 7.1 MB
canonical-min 🚫 387 ms 1.1 GB
rpylean ✋ 1 ms 4.5 MB
vow-lean-kernel ✋ 83 ms 8.2 MB
official-v4.28.0 ✋ 35 ms 74.2 MB
still-nanoda 👍 1 ms 3.1 MB
nyaya ✋ 2 ms 9.1 MB
parse-only 👍 27 ms 65.2 MB