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

2. Commutativity of Conjunction

Prove that logical AND (`∧`) is symmetric: from a proof of `P ∧ Q`, produce a proof of `Q ∧ P`.

Target Theorem
theorem and_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).