Addition is commutative on the naturals
Closed
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.