Lean Kernel Arena (Preview) / bugs/large-elim-param

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 ⏱️ 🧠
gruszka ✋ 1.96 ms 62.2 MB
nano-lean ✋ 0.603 ms 22.0 MB
pestka ✋ 2.11 ms 14.5 MB
con-leche ✋ 3.99 ms 22.5 MB
con-ron ✋ 28.4 ms 43.8 MB
nucleus ✋ 24.2 ms 13.7 MB
official ✋ 42.3 ms 113.1 MB