Lean Kernel Arena / tutorial/113_indexedStructEta

Test "tutorial/113_indexedStructEta"

Expected: ✋ reject · Size: 8.5 KB · Lines: 138 · lean4export: 3.1.0 · Lean: 4.34.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 ⏱️ 🧠
sokonanoda ✋ 1 ms 40.1 MB
mathgraph ✋ 1 ms 33.9 MB
nanoclo ✋ 1 ms 49.7 MB
con-ron ✋ 23 ms 58.8 MB
nanobruijn ✋ 1 ms 9.7 MB
nanoda ✋ 1 ms 3.1 MB
lazylean ✋ 1 ms 21.6 MB
con-leche ✋ 4 ms 22.2 MB
eink0rn ✋ 2 ms 12.6 MB
official ✋ 29 ms 66.7 MB
ind-models ✋ 101 ms 103.7 MB
lean4lean ✋ 76 ms 103.9 MB
tenet ✋ 137 ms 45.0 MB
tenet-hs ✋ 1 ms 9.4 MB
lean4cobol ✋ 5 ms 13.7 MB
evmlean ✋ 1.8 s 276.4 MB
mini ✋ 35 ms 72.3 MB
overfull ✋ 18.2 s 46.6 MB
metalean-slow ✋ 31 ms 71.0 MB
tenet-jvm ✋ 117 ms 65.1 MB
nanoclo-fortran ✋ 1 ms 4.3 MB
kiota ✋ 1 ms 7.1 MB
metalean-fast ✋ 30 ms 71.5 MB
canonical-min 🚫 387 ms 1.1 GB
rpylean ✋ 1 ms 4.3 MB
vow-lean-kernel ✋ 97 ms 8.5 MB
parse-only 👍 28 ms 66.1 MB