2015-11-21 22:43:51 +00:00
|
|
|
import data.list
|
2015-12-06 22:33:21 +00:00
|
|
|
set_option blast.strategy "cc"
|
2015-11-21 22:43:51 +00:00
|
|
|
open perm list
|
|
|
|
|
|
|
|
definition tst₁
|
|
|
|
(A : Type) (l₁ l₂ l₃ l₄ l₅ : list A) :
|
|
|
|
(l₁ ~ l₂) → (l₃ ~ l₄) → (l₁ ++ l₃ ++ l₅ ++ l₄ ++ l₁) ~ (l₂ ++ l₄ ++ l₅ ++ l₃ ++ l₂) :=
|
|
|
|
by blast
|
|
|
|
|
|
|
|
print tst₁
|
|
|
|
|
|
|
|
definition tst₂
|
|
|
|
(A : Type) (l₁ l₂ l₃ l₄ l₅ : list A) :
|
|
|
|
(l₁ ~ l₂) → (l₃ = l₄) → (l₁ ++ l₃ ++ l₅ ++ l₄ ++ l₁) ~ (l₂ ++ l₄ ++ l₅ ++ l₃ ++ l₂) :=
|
|
|
|
by blast
|