lean4-htt/tests/lean/run/autoparam.lean
2020-10-25 09:16:38 -07:00

7 lines
112 B
Text

def f (x y : Nat) (h : x = y := by assumption) : Nat :=
x + x
def g (x y z : Nat) (h : x = y) : Nat :=
f x y