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.