import MyNat.Addition
import MyNat.Multiplication
namespace MyNat
open MyNat
Level 1: zero_mul
Lemma
For all natural numbers m
, we have 0 * m = 0.
lemmazero_mul (zero_mul: ∀ (m : MyNat), 0 * m = 0m :m: MyNatMyNat) :MyNat: Type0 *0: MyNatm =m: MyNat0 :=0: MyNatm: MyNat0 * m = 0m: MyNat0 * m = 0
zero0 * zero = 0
zero0 * zero = 0
zero0 * 0 = 0
zero0 * 0 = 0
zero0 * 0 = 0
zero0 = 0Goals accomplished! 🐙m: MyNat
ih: 0 * m = 0
succ0 * succ m = 0m: MyNat
ih: 0 * m = 0
succ0 * succ m = 0m: MyNat
ih: 0 * m = 0
succ0 * m + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 * m + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 * m + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 + 0 = 0m: MyNat
ih: 0 * m = 0
succ0 = 0Goals accomplished! 🐙
Next up is Multiplication Level 2.