Lean Kernel Arena (Preview) / tutorial/110_indexedUnitEta

Test "tutorial/110_indexedUnitEta"

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

The unit-like rule, which makes any two elements of a single-constructor type with no fields definitionally equal, is also restricted to non-recursive structures without indices (in the official kernel, is_def_eq_unit_like went through is_non_rec_structure when this test was written), so it does not fire for IndexedUnit.

Checker Result ⏱️ 🧠
gruszka ✋ 1.93 ms 84.3 MB
nano-lean ✋ 0.557 ms 21.9 MB
pestka ✋ 2.14 ms 16.6 MB
con-leche ✋ 4.03 ms 23.4 MB
con-ron ✋ 28.4 ms 41.6 MB
nucleus 🚫 24.8 ms 13.8 MB
official ✋ 42.7 ms 114.2 MB