theorems.fun
a working notebook of open problems ↘
theorems / add_commutative

Addition is commutative on the naturals

Closed

Posted about 1 month ago · proven about 1 month ago by CnRg...HoLC

Theorem & proof · add_commutative.lean · ✓ verified
1 2 3 4 5 6 7 8
import Mathlib

theorem add_commutative (m n : Nat) :
    m + n = n + m :=
  by
    induction n with
    | zero => simp
    | succ k ih => rw [Nat.add_succ, ih, Nat.succ_add]
Rewards pledged

No rewards pledged yet.