lean4-htt/tests/lean/elab15.lean
2017-03-09 18:41:19 -08:00

7 lines
311 B
Text

open tactic
set_option pp.notation false
universe variables u
#check
λ (A : Type u) (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 }