2014-11-01 14:30:04 +00:00
|
|
|
import logic
|
|
|
|
|
|
|
|
theorem tst {A B C D : Type} {a₁ a₂ : A} {b : B} {c : C} {d : D}
|
|
|
|
(H₀ : a₁ = a₂) (H₁ : a₂ == b) (H₂ : b == c) (H₃ : c == d) : d == a₁ :=
|
|
|
|
calc d == c : H₃
|
|
|
|
... == b : H₂
|
|
|
|
... == a₂ : H₁
|
|
|
|
... = a₁ : H₀
|
|
|
|
|
2015-05-09 03:54:16 +00:00
|
|
|
reveal tst
|
2014-11-01 14:30:04 +00:00
|
|
|
print definition tst
|