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

9. Associativity of Addition

Prove that natural number addition is associative. Choose the induction variable that aligns with how `Nat.add` is defined.

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