lean2/tests/lean/have_tactic.lean

6 lines
118 B
Text
Raw Normal View History

example (a b c : nat) : a = b → b = c → a = c :=
begin
intro h₁ h₂,
have a = c, from eq.trans h₁ _,
end