test: equational theorem test
This commit is contained in:
parent
82f3042fa4
commit
fe55205105
1 changed files with 11 additions and 0 deletions
|
|
@ -15,3 +15,14 @@ def g (i j : Nat) : Nat :=
|
|||
#check g.eq_1
|
||||
#check g.eq_2
|
||||
#check g.eq_3
|
||||
|
||||
def h (i j : Nat) : Nat :=
|
||||
let z :=
|
||||
match j with
|
||||
| Nat.zero => 1
|
||||
| Nat.succ j => h i j
|
||||
z + z
|
||||
|
||||
#eval tst ``h
|
||||
#check h.eq_1
|
||||
#check h.eq_2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue