11 lines
194 B
Text
11 lines
194 B
Text
@[simp] def g (x y : Nat) : Nat :=
|
|
match x, y with
|
|
| 0, 0 => 1
|
|
| 0, y => y
|
|
| x+1, 5 => 2 * g x 0
|
|
| x+1, y => 2 * g x y
|
|
|
|
#check g._eq_1
|
|
#check g._eq_2
|
|
#check g._eq_3
|
|
#check g._eq_4
|