Lean Kernel Arena / tutorial/112_indexedStructEta

Test "tutorial/112_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
nanoda 1 ms 3.3 MB
nanobruijn 1 ms 11.2 MB
ind-models 59 ms 105.5 MB
official 28 ms 66.7 MB
lean4lean 76 ms 103.2 MB
evmlean 1.2 s 132.7 MB
mini 35 ms 75.1 MB
sokonanoda 1 ms 34.0 MB
nanoclo 1 ms 43.7 MB
zignodamus 1 ms 4.8 MB
vow-lean-kernel 97 ms 8.2 MB
official-v4.28.0 35 ms 74.5 MB
still-nanoda 1 ms 3.2 MB
kiota 1 ms 7.0 MB
rpylean 1 ms 8.3 MB
nyaya 3 ms 9.8 MB
parse-only 👍 28 ms 65.1 MB