Test "bugs/large-elim-param"
Expected: ✋ reject · Size: 6.2 KB · Lines: 88 · lean4export: 3.1.0 · Lean: 4.29.1 · 📄 Declaration
Proof of False via incorrect large elimination restriction.
If the check for whether a level is surely not zero is implemented wrong, in particular if it incorrectly returns true for params, we can create a universe-polymorphic
inductive MyBool.{u} : Sort u | tt | ff
where the recursor MyBool.rec.{1,0} can do large elimination of a Prop.
Because of proof irrelevance we have tt = ff, so we can derive a
contradiction.
Found by Anthony Wang using Aristotle, breaking the mini checker for the
T-shirt bounty; it was
fixed the same day.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | ✋ | 0.600 ms | 21.8 MB | |||
| gruszka | ✋ | 1.88 ms | 77.8 MB | |||
| mathgraph | ✋ | 0.865 ms | 17.9 MB | |||
| sokonanoda | ✋ | 0.870 ms | 27.9 MB | |||
| pestka | ✋ | 2.20 ms | 20.0 MB | |||
| kefir | ✋ | 0.566 ms | 5.9 MB | |||
| kefir-wasm | ✋ | 108 ms | 82.6 MB | |||
| con-ron | ✋ | 29.0 ms | 41.7 MB | |||
| con-ron-stream | ✋ | 29.6 ms | 45.1 MB | |||
| con-agua | ✋ | 20.4 ms | 11.8 MB | |||
| nanobruijn | ✋ | 0.673 ms | 5.5 MB | |||
| nanoda | ✋ | 0.618 ms | 3.1 MB | |||
| con-leche | ✋ | 4.10 ms | 23.1 MB | |||
| pestka-wasm | ✋ | 513 ms | 312.7 MB | |||
| official-nightly | ✋ | 33.5 ms | 107.8 MB | |||
| eink0rn | ✋ | 1.54 ms | 12.0 MB | |||
| official | ✋ | 32.3 ms | 101.9 MB | |||
| ind-models | ✋ | 100 ms | 103.0 MB | |||
| kiota | ✋ | 0.706 ms | 11.2 MB | |||
| tenet | ✋ | 137 ms | 45.5 MB | |||
| tenet-hs | ✋ | 1.27 ms | 8.6 MB | |||
| logos-kernel | ✋ | 0.449 ms | 3.7 MB | |||
| evmlean | ✋ | 1.16 s | 274.0 MB | |||
| mini | ✋ | 34.2 ms | 74.4 MB | |||
| overfull | ✋ | 9.99 s | 45.9 MB | |||
| lean4lean | ✋ | 30.0 ms | 89.8 MB | |||
| lean4cobol | ✋ | 3.42 ms | 13.5 MB | |||
| tenet-jvm | ✋ | 115 ms | 77.3 MB | |||
| nanoclo | ✋ | 0.778 ms | 43.6 MB | |||
| vow-lean-kernel | ✋ | 146 ms | 14.4 MB | |||
| canonical-min | 🚫 | 387 ms | 1.1 GB | |||
| lazylean | ✋ | 1.19 ms | 21.2 MB | |||
| rpylean | ✋ | 0.931 ms | 9.7 MB | |||
| metalean-slow | ✋ | 30.1 ms | 71.7 MB | |||
| metalean-fast | ✋ | 30.1 ms | 70.1 MB | |||
| nanoclo-fortran | ✋ | 0.828 ms | 4.4 MB |