lean2/tests/lean/interactive/proof_qed.lean
2014-10-09 07:13:06 -07:00

14 lines
283 B
Text

import logic
open eq.ops
set_option pp.notation false
section
variable {A : Type}
variables {a b c d e : A}
theorem tst : a = b → b = c → c = d → d = e → a = e :=
take H1 H2 H3 H4,
have e1 : a = c,
proof
@eq.trans _ _ _ _ H1 H2
∎,
e1 ⬝ H3 ⬝ H4
end