Test "bugs/ctor-num-fields"
Expected: ✋ reject · Size: 34.1 KB · Lines: 622 · lean4export: 3.1.0 · Lean: 4.29.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 | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| mathgraph | ✋ | 1 ms | 37.9 MB | |||
| sokonanoda | ✋ | 1 ms | 31.7 MB | |||
| nanoclo | ✋ | 1 ms | 49.5 MB | |||
| con-ron | ✋ | 1 ms | 12.1 MB | |||
| lazylean | ✋ | 2 ms | 21.4 MB | |||
| nanoda | ✋ | 1 ms | 3.2 MB | |||
| nanobruijn | ✋ | 2 ms | 12.6 MB | |||
| con-leche | ✋ | 3 ms | 17.5 MB | |||
| eink0rn | ✋ | 2 ms | 12.5 MB | |||
| ind-models | ✋ | 61 ms | 107.3 MB | |||
| official | ✋ | 30 ms | 67.1 MB | |||
| lean4lean | ✋ | 86 ms | 104.7 MB | |||
| tenet | ✋ | 140 ms | 44.9 MB | |||
| nanoclo-fortran | ✋ | 2 ms | 4.6 MB | |||
| lean4cobol | ✋ | 20 ms | 13.5 MB | |||
| evmlean | ✋ | 1.7 s | 132.8 MB | |||
| mini | ✋ | 38 ms | 73.8 MB | |||
| overfull | ✋ | 1.4 m | 48.7 MB | |||
| kiota | ✋ | 1 ms | 9.2 MB | |||
| canonical-min | 🚫 | 389 ms | 1.1 GB | |||
| rpylean | ✋ | 1 ms | 5.8 MB | |||
| vow-lean-kernel | ✋ | 138 ms | 8.3 MB | |||
| official-v4.28.0 | ✋ | 37 ms | 74.4 MB | |||
| still-nanoda | 👍 | 1 ms | 3.2 MB | |||
| nyaya | ✋ | 6 ms | 10.9 MB | |||
| parse-only | 👍 | 29 ms | 65.1 MB |