lean4-htt/tests/lean/run/autoparam.lean
2021-01-20 16:48:50 +01:00

6 lines
111 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