Lean Kernel Arena (Preview) / tutorial/112_indexedStructEta

Test "tutorial/112_indexedStructEta"

Expected: ✋ reject · Size: 8.8 KB · Lines: 138 · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source · 📖 Tutorial

Structure eta applies only to non-recursive structures without indices (the official kernel's is_non_rec_structure required nindices == 0 when this test was written), 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 ⏱️ 🧠
gruszka ✋ 1.87 ms 88.2 MB
nano-lean ✋ 0.567 ms 23.9 MB
pestka ✋ 2.19 ms 16.7 MB
con-leche ✋ 4.11 ms 23.2 MB
con-ron ✋ 28.5 ms 41.5 MB
nucleus 🚫 25.1 ms 13.6 MB
official ✋ 42.9 ms 114.2 MB