Test "bugs/ctor-num-fields"
Expected: ✋ reject · Size: 34.1 KB · Lines: 622 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 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 | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| sokonanoda | ✋ | 1 ms | 36.3 MB | |||
| mathgraph | ✋ | 1 ms | 38.0 MB | |||
| nanoclo | ✋ | 1 ms | 56.0 MB | |||
| con-ron | ✋ | 1 ms | 12.0 MB | |||
| nanobruijn | ✋ | 2 ms | 13.4 MB | |||
| nanoda | ✋ | 1 ms | 3.5 MB | |||
| lazylean | ✋ | 1 ms | 22.0 MB | |||
| con-leche | ✋ | 3 ms | 19.3 MB | |||
| eink0rn | ✋ | 2 ms | 13.0 MB | |||
| official | ✋ | 31 ms | 67.4 MB | |||
| ind-models | ✋ | 103 ms | 105.9 MB | |||
| lean4lean | ✋ | 86 ms | 105.4 MB | |||
| tenet | ✋ | 140 ms | 45.7 MB | |||
| tenet-hs | ✋ | 3 ms | 12.4 MB | |||
| lean4cobol | ✋ | 20 ms | 13.7 MB | |||
| evmlean | ✋ | 2.2 s | 256.9 MB | |||
| mini | ✋ | 38 ms | 73.6 MB | |||
| overfull | ✋ | 1.4 m | 49.3 MB | |||
| metalean-slow | ✋ | 44 ms | 73.8 MB | |||
| tenet-jvm | ✋ | 137 ms | 66.3 MB | |||
| nanoclo-fortran | ✋ | 2 ms | 4.5 MB | |||
| kiota | ✋ | 1 ms | 9.4 MB | |||
| metalean-fast | ✋ | 34 ms | 76.6 MB | |||
| canonical-min | 🚫 | 389 ms | 1.1 GB | |||
| rpylean | ✋ | 1 ms | 5.8 MB | |||
| vow-lean-kernel | ✋ | 137 ms | 8.6 MB | |||
| parse-only | 👍 | 29 ms | 66.0 MB |