lean4-htt/old_tests/tests/lean/run/eqn_value_issue.lean
2018-04-10 12:56:55 -07:00

17 lines
269 B
Text

def f : nat -> nat
| 1 := 1
| 2000 := 2
| _ := 3
#check f.equations._eqn_1
#check f.equations._eqn_2
#check f.equations._eqn_3
def g : nat -> nat
| 0 := 1
| 2000 := 2
| _ := 3
#check g.equations._eqn_1
#check g.equations._eqn_2
#check g.equations._eqn_3