Lean Kernel Arena / tutorial/113_indexedStructEta

Test "tutorial/113_indexedStructEta"

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

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 ⏱️ 🧠
mathgraph ✋ 1 ms 33.9 MB
sokonanoda ✋ 1 ms 33.8 MB
nanoclo ✋ 1 ms 49.5 MB
con-ron ✋ 23 ms 58.7 MB
lazylean ✋ 1 ms 21.2 MB
nanoda ✋ 1 ms 3.2 MB
nanobruijn ✋ 1 ms 10.8 MB
con-leche ✋ 4 ms 20.3 MB
eink0rn ✋ 2 ms 12.0 MB
ind-models ✋ 59 ms 105.0 MB
official ✋ 28 ms 66.6 MB
lean4lean ✋ 76 ms 103.7 MB
tenet ✋ 136 ms 44.3 MB
nanoclo-fortran ✋ 1 ms 4.5 MB
lean4cobol ✋ 5 ms 13.5 MB
evmlean ✋ 1.2 s 134.1 MB
mini ✋ 35 ms 72.6 MB
overfull ✋ 18.2 s 46.4 MB
kiota ✋ 1 ms 7.2 MB
canonical-min 🚫 387 ms 1.1 GB
rpylean ✋ 1 ms 4.5 MB
vow-lean-kernel ✋ 97 ms 8.3 MB
official-v4.28.0 ✋ 35 ms 74.6 MB
still-nanoda ✋ 1 ms 3.2 MB
nyaya ✋ 3 ms 9.5 MB
parse-only 👍 28 ms 65.8 MB