lean2/tests/lean/run/rename_tac.lean

11 lines
178 B
Text
Raw Normal View History

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