Pure Lean 4 · No Mathlib
MediumInduction
8. Left Identity of Addition
Unlike `n + 0 = n`, `0 + n = n` is NOT true by `rfl` because `Nat.add` recurses on its second argument. Prove it by induction on `n`.
Target Theorem
theorem nat_zero_add (n : Nat) : 0 + n = nHints (0/2)
Stuck? Reveal hints one step at a time without spoiling the full proof.
Symbols:
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).