Lean Kernel Arena (Preview) / tutorial/106_proofIrrelevanceUnderBinder

Test "tutorial/106_proofIrrelevanceUnderBinder"

Expected: 👍 accept · Size: 2.5 KB · Lines: 54 · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source · 📖 Tutorial

Proof irrelevance applies to any two terms of a proposition, not just to variables. Checking this definition needs F (h b) ≡ F (h a), i.e. h b ≡ h a. Both are proofs of P, since h : A → P, so they are definitionally equal even though their arguments are not. A checker that compares the two applications structurally, without first noticing that they are proofs, wrongly rejects this.

Checker Result ⏱️ 🧠
gruszka 👍 1.77 ms 52.2 MB
nano-lean 👍 0.461 ms 12.1 MB
pestka 👍 1.99 ms 16.2 MB
con-leche 👍 3.91 ms 22.8 MB
con-ron 👍 28.3 ms 43.6 MB
nucleus 👍 24.7 ms 13.6 MB
official 👍 42.0 ms 112.3 MB