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

13 lines
273 B
Text

set_option trace.smt.ematch true
example (a b c d : nat) (f : nat → nat) : f d = a + b → f d - a + c = c + b :=
begin [smt]
intros,
eblast
end
example (a b c d : nat) (f : nat → nat) : f d = a + b → f d - (a + c) = b - c :=
begin [smt]
intros,
eblast
end