All Exercises
#18 Peirce's Law
live.lean-lang.org
Pure Lean 4 · No Mathlib
HardClassical Logic

18. Peirce's Law

Peirce's Law is a famous tautology of classical logic that cannot be proven constructively. Prove it using `Classical.em` (the Law of Excluded Middle built into Lean 4 core).

Target Theorem
theorem peirce_law (P Q : Prop) : ((P → Q) → P) → P
Hints (0/2)

Stuck? Reveal hints one step at a time without spoiling the full proof.

Symbols:
Initializing Lean 4 editor…
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).