import MyNat.Power
import MultiplicationWorld.Level2 -- mul_one
namespace MyNat
open MyNat

Power World

Level 4: one_pow

Lemma

For all naturals m, 1 ^ m = 1.

lemma 
one_pow: ∀ (m : MyNat), 1 ^ m = 1
one_pow
(
m: MyNat
m
:
MyNat: Type
MyNat
) : (
1: MyNat
1
:
MyNat: Type
MyNat
) ^
m: MyNat
m
=
1: MyNat
1
:=
m: MyNat

1 ^ m = 1
m: MyNat

1 ^ m = 1

zero
1 ^ zero = 1

zero
1 ^ zero = 1

zero
1 ^ 0 = 1

zero
1 ^ 0 = 1

zero
1 ^ 0 = 1

zero
1 = 1

Goals accomplished! 🐙
m: MyNat
ih: 1 ^ m = 1

succ
1 ^ succ m = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 ^ succ m = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 ^ m * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 ^ m * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 ^ m * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 * 1 = 1
m: MyNat
ih: 1 ^ m = 1

succ
1 = 1

Goals accomplished! 🐙

Next up Level 5