Lean Kernel Arena (Preview) / bugs/ctor-num-fields

Test "bugs/ctor-num-fields"

Expected: ✋ reject · Size: 41.6 KB · Lines: 755 · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source

Proof of False via trusted numFields on a constructor.

Define a wrapper structure S with one field, and lie by saying it has 0 fields, making it look unit-like. Then definitional eta means all inhabitants are equal.

Derive a contradiction from S.mk false = S.mk true.

Nanoda and its descendants accepted this until it was fixed.

Checker Result ⏱️ 🧠
gruszka ✋ 2.19 ms 126.1 MB
nano-lean ✋ 0.836 ms 27.9 MB
pestka ✋ 2.61 ms 18.9 MB
con-leche ✋ 4.00 ms 21.8 MB
con-ron ✋ 0.813 ms 9.9 MB
nucleus ✋ 31.7 ms 13.7 MB
official ✋ 45.3 ms 114.5 MB