Test "bugs/ctor-num-fields"
Expected: ✋ reject · Size: 41.1 KB · Lines: 755 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 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 | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | ✋ | 0.824 ms | 26.2 MB | |||
| gruszka | ✋ | 2.18 ms | 123.9 MB | |||
| mathgraph | ✋ | 1.21 ms | 19.8 MB | |||
| sokonanoda | ✋ | 1.25 ms | 29.9 MB | |||
| pestka | ✋ | 2.62 ms | 18.8 MB | |||
| kefir | ✋ | 1.02 ms | 6.4 MB | |||
| kefir-wasm | ✋ | 155 ms | 87.4 MB | |||
| con-ron | ✋ | 0.838 ms | 10.2 MB | |||
| con-ron-stream | ✋ | 4.64 ms | 36.7 MB | |||
| con-agua | ✋ | 0.814 ms | 3.1 MB | |||
| nanobruijn | ✋ | 2.88 ms | 16.6 MB | |||
| nanoda | ✋ | 1.79 ms | 3.1 MB | |||
| con-leche | ✋ | 4.02 ms | 21.9 MB | |||
| pestka-wasm | ✋ | 520 ms | 314.0 MB | |||
| official-nightly | ✋ | 36.4 ms | 109.1 MB | |||
| eink0rn | ✋ | 2.36 ms | 12.5 MB | |||
| official | ✋ | 35.4 ms | 93.3 MB | |||
| ind-models | ✋ | 103 ms | 95.1 MB | |||
| kiota | ✋ | 1.56 ms | 11.2 MB | |||
| tenet | ✋ | 145 ms | 46.5 MB | |||
| tenet-hs | ✋ | 3.23 ms | 12.8 MB | |||
| logos-kernel | ✋ | 0.552 ms | 4.7 MB | |||
| evmlean | ✋ | 3.06 s | 280.0 MB | |||
| mini | ✋ | 40.2 ms | 73.9 MB | |||
| overfull | ⌛ | — | — | |||
| lean4lean | ✋ | 92.4 ms | 95.8 MB | |||
| lean4cobol | ✋ | 26.0 ms | 13.6 MB | |||
| tenet-jvm | ✋ | 160 ms | 80.0 MB | |||
| nanoclo | ✋ | 1.43 ms | 53.7 MB | |||
| vow-lean-kernel | ✋ | 240 ms | 14.8 MB | |||
| canonical-min | ✋ | 390 ms | 1.1 GB | |||
| lazylean | ✋ | 1.52 ms | 21.1 MB | |||
| rpylean | ✋ | 1.17 ms | 11.2 MB | |||
| metalean-slow | ✋ | 58.1 ms | 69.2 MB | |||
| metalean-fast | ✋ | 35.3 ms | 70.7 MB | |||
| nanoclo-fortran | ✋ | 2.40 ms | 4.7 MB |