Test "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.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| mathgraph | ✋ | 1 ms | 32.2 MB | |||
| ind-models | ✋ | 61 ms | 106.1 MB | |||
| official-nightly | ✋ | 31 ms | 63.5 MB | |||
| evmlean | ✋ | 1.7 s | 133.1 MB | |||
| nanoda | ✋ | 1 ms | 3.2 MB | |||
| mini | ✋ | 38 ms | 74.1 MB | |||
| lean4lean | ✋ | 86 ms | 99.1 MB | |||
| sokonanoda | ✋ | 1 ms | 31.9 MB | |||
| zignodamus | ✋ | 1 ms | 5.2 MB | |||
| nanoclo | ✋ | 1 ms | 47.6 MB | |||
| nanobruijn | ✋ | 2 ms | 16.4 MB | |||
| kiota | ✋ | 1 ms | 9.1 MB | |||
| official | ✋ | 30 ms | 61.7 MB | |||
| vow-lean-kernel | ✋ | 138 ms | 8.2 MB | |||
| rpylean | ✋ | 2 ms | 9.6 MB | |||
| official-v4.28.0 | ✋ | 37 ms | 68.9 MB | |||
| still-nanoda | 👍 | 1 ms | 3.1 MB | |||
| nyaya | ✋ | 6 ms | 11.4 MB | |||
| parse-only | 👍 | 29 ms | 61.1 MB |