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 30.0 MB
nanoclo ✋ 1 ms 49.8 MB
con-ron ✋ 1 ms 11.7 MB
nanobruijn ✋ 1 ms 7.3 MB
nanoda ✋ 1 ms 3.4 MB
lazylean ✋ 1 ms 21.6 MB
con-leche ✋ 3 ms 20.1 MB
tenet-jvm ✋ 105 ms 65.4 MB
eink0rn ✋ 1 ms 12.0 MB
official ✋ 28 ms 67.3 MB
ind-models ✋ 100 ms 109.2 MB
lean4lean ✋ 76 ms 104.2 MB
tenet ✋ 131 ms 44.6 MB
tenet-hs ✋ 1 ms 8.4 MB
lean4cobol ✋ 3 ms 13.6 MB
evmlean ✋ 1.1 s 275.3 MB
mini ✋ 34 ms 74.1 MB
overfull ✋ 9.1 s 46.3 MB
metalean-slow ✋ 30 ms 69.8 MB
nanoclo-fortran ✋ 1 ms 4.5 MB
kiota ✋ 1 ms 7.5 MB
metalean-fast ✋ 30 ms 72.1 MB
canonical-min 🚫 387 ms 1.1 GB
rpylean ✋ 1 ms 4.3 MB
vow-lean-kernel ✋ 82 ms 8.2 MB
parse-only 👍 28 ms 66.0 MB