Lean Kernel Arena / tutorial/113_indexedStructEta

Test "tutorial/113_indexedStructEta"

Expected: ✋ reject · Size: 8.5 KB · Lines: 138 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial

Structure eta applies only to non-recursive structures without indices: the official kernel's is_non_rec_structure requires nindices == 0, so it does not fire for IndexedSingleton even though that has a single constructor.

Every field of IndexedSingleton.mk is a proof, so a kernel that checks only "has a single constructor" and then compares the fields against projections would have proof irrelevance discharge the remaining goals, and would wrongly accept this.

Checker Result ⏱️ 🧠
nano-lean ✋ 0.568 ms 23.9 MB
gruszka ✋ 1.86 ms 84.1 MB
mathgraph ✋ 1.06 ms 27.8 MB
sokonanoda ✋ 0.911 ms 27.7 MB
pestka ✋ 2.26 ms 19.8 MB
kefir ✋ 0.829 ms 6.1 MB
kefir-wasm ✋ 125 ms 87.0 MB
con-ron ✋ 29.1 ms 43.6 MB
con-ron-stream ✋ 29.7 ms 45.2 MB
con-agua ✋ 20.3 ms 12.1 MB
nanobruijn ✋ 0.974 ms 9.4 MB
nanoda ✋ 0.717 ms 3.1 MB
con-leche ✋ 4.17 ms 22.8 MB
pestka-wasm ✋ 515 ms 312.8 MB
official-nightly ✋ 34.0 ms 108.8 MB
eink0rn ✋ 1.60 ms 11.7 MB
official ✋ 32.8 ms 93.6 MB
ind-models ✋ 101 ms 95.9 MB
kiota ✋ 0.955 ms 11.1 MB
tenet ✋ 140 ms 45.3 MB
tenet-hs ✋ 1.45 ms 9.0 MB
logos-kernel ✋ 0.466 ms 4.3 MB
evmlean ✋ 1.72 s 253.6 MB
mini ✋ 34.5 ms 74.9 MB
overfull ✋ 18.2 s 46.4 MB
lean4lean ✋ 77.6 ms 96.2 MB
lean4cobol ✋ 5.08 ms 13.3 MB
tenet-jvm ✋ 113 ms 76.9 MB
nanoclo ✋ 0.796 ms 47.6 MB
vow-lean-kernel ✋ 170 ms 14.5 MB
canonical-min 🚫 388 ms 1.1 GB
lazylean ✋ 1.21 ms 21.1 MB
rpylean ✋ 0.960 ms 10.5 MB
metalean-slow ✋ 30.6 ms 66.5 MB
metalean-fast ✋ 30.4 ms 60.0 MB
nanoclo-fortran ✋ 1.10 ms 4.3 MB