lean2/tests/lean/run/rename_tac.lean
2014-10-14 18:19:34 -07:00

10 lines
178 B
Text

import tools.tactic
open tactic
theorem foo (A : Type) (a b c : A) (Hab : a = b) (Hbc : b = c) : a = c :=
begin
apply eq.trans,
apply Hbc,
rename Hab Foo,
apply Foo
end