# HG changeset patch # User Shinji KONO # Date 1598412664 -32400 # Node ID 75e2dd8f4e0045f192169a68eb29af5496746590 # Parent 9cffb308269ade8188eddb13cf1431411412c1f8 ... diff -r 9cffb308269a -r 75e2dd8f4e00 sym5.agda --- a/sym5.agda Wed Aug 26 05:58:42 2020 +0900 +++ b/sym5.agda Wed Aug 26 12:31:04 2020 +0900 @@ -45,14 +45,22 @@ 0<3 : 0 < 3 0<3 = s≤s z≤n - --- 2 ∷ 0 ∷ 1 ∷ [] abc + --- 1 ∷ 2 ∷ 0 ∷ [] abc 3rot : Permutation 3 3 - 3rot = pprep (pswap (pid {0}) ) ∘ₚ pins (n≤ 1) + 3rot = pid {3} ∘ₚ pins (n≤ 2) + + ins2 : {i j : ℕ } → Permutation 3 3 → (i ≤ 3 ) → ( j ≤ 4 ) → Permutation 5 5 + ins2 abc i<3 j<4 = (save2 ∘ₚ (pprep (pprep abc))) ∘ₚ flip save2 where + save2 : Permutation 5 5 + save2 = ( (( pid {5} ∘ₚ flip (pins (s≤s i<3) ) )) ∘ₚ flip (pins j<4)) abc : {i j : ℕ } → (i ≤ 3 ) → ( j ≤ 4 ) → Permutation 5 5 - abc i<3 j<4 = (save2 ∘ₚ (pprep (pprep 3rot))) ∘ₚ flip save2 where - save2 : Permutation 5 5 - save2 = ( (( pid {5} ∘ₚ flip (pins (s≤s i<3) ) )) ∘ₚ flip (pins j<4)) + abc i<3 j<4 = ins2 3rot i<3 j<4 + + dba : {i j : ℕ } → (i ≤ 3 ) → ( j ≤ 4 ) → Permutation 5 5 + dba i<3 j<4 = ins2 (3rot ∘ₚ 3rot) i<3 j<4 + aec : {i j : ℕ } → (i ≤ 3 ) → ( j ≤ 4 ) → Permutation 5 5 + aec i<3 j<4 = ins2 (pinv 3rot) i<3 j<4 record Triple {i j : ℕ } (i<3 : i ≤ 3) (j<4 : j ≤ 4) : Set where field @@ -60,50 +68,54 @@ dba1<4 : Fin 4 aec0<3 : Fin 3 aec1<4 : Fin 4 - abc= : abc i<3 j<4 =p= [ abc (fin