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

7 lines
158 B
Text

constant f : nat → nat
axiom fax (x : nat) (h : x > 0 . tactic.assumption) : f x = x
example (a : nat) (h : a > 0) : f (f a) = a :=
begin
simp [fax]
end