All Exercises
#3 Commutativity of Disjunction
live.lean-lang.org
Pure Lean 4 · No Mathlib
EasyLogic

3. Commutativity of Disjunction

Prove that logical OR (`∨`) is symmetric by splitting into cases on whether `P` or `Q` holds.

Target Theorem
theorem or_comm_proof (P Q : Prop) : P ∨ Q → Q ∨ 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).