lean4-htt/tests/lean/run/autoparam.lean
Leonardo de Moura da3bf54ec7 feat: elaborate autoParams
cc @Kha
2020-02-13 16:24:50 -08:00

7 lines
124 B
Text

new_frontend
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