lean4-htt/tests/lean/elab15.lean
2016-07-31 11:56:52 -07:00

8 lines
289 B
Text

open tactic
set_option pp.notation false
#elab
λ (A : Type) (a b c d : A) (H₁ : a = b) (H₂ : c = b) (H₃ : d = c),
have a = c, by do { transitivity, assumption, symmetry, assumption },
show a = d, by do { transitivity, this ← get_local "this", exact this, symmetry, assumption }