All Exercises
#10 Commutativity of Addition
live.lean-lang.org
Pure Lean 4 · No Mathlib
MediumInduction

10. Commutativity of Addition

Prove that natural number addition is commutative (`a + b = b + a`) using induction and core Lean 4 lemmas.

Target Theorem
theorem nat_add_comm (a b : Nat) : a + b = b + a
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).