Pure Lean 4 · No Mathlib
EasyNatural Numbers
5. Right Identity of Addition
Prove that adding `0` on the right leaves any natural number unchanged. In Lean 4 core, `Nat.add` recurses on its second argument, so `n + 0` reduces definitionally to `n`!
Target Theorem
theorem nat_add_zero (n : Nat) : n + 0 = 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).