lean4-htt/tests/lean/minimize_errors.lean
2016-09-23 09:20:31 -07:00

16 lines
161 B
Text

def f : nat → nat → nat :=
λ a, a
check f
def g : nat → nat → nat :=
f
check g
print g
def h : nat → nat → nat
| x y := g x y + f y x
print h