# HG changeset patch # User Shinji KONO # Date 1607389670 -32400 # Node ID adcbf19410fe4082137c9510a6d0dbd1450447ff # Parent 08a99237e56ee80329a56995dec81b8892cf6b03 ... diff -r 08a99237e56e -r adcbf19410fe FLComm.agda --- a/FLComm.agda Tue Dec 08 09:29:37 2020 +0900 +++ b/FLComm.agda Tue Dec 08 10:07:50 2020 +0900 @@ -101,12 +101,11 @@ CommFListN (suc i) = CommFList (CommFListN i) -- all comm cobmbination in P and Q -record AnyComm (p0 q0 : FL n) (P Q : FList n) : Set where +record AnyComm (P Q : FList n) : Set where field commList : FList n commAny : (p q : FL n) → Any ( p ≡_ ) P → Any ( q ≡_ ) Q - → p0 f≤ p → q0 f≤ q → Any (perm→FL [ FL→perm p , FL→perm q ] ≡_) commList ------------- @@ -115,8 +114,19 @@ -- : AnyComm FL0 FL0 P Q -- p0,q +p ¬a ¬b c | _ = ⊥-elim (¬a (p ¬a ¬b c = ⊥-elim (¬a (p ¬a₁ ¬b c = {!!} -- p,qi case - ... | tri> ¬a ¬b c | tri≈ ¬a₁ b ¬c = {!!} --- pi,q case - ... | tri> ¬a ¬b c | tri> ¬a₁ ¬b₁ c₁ = {!!} -- previous case + ... | tri≈ ¬a b ¬c | tri< ¬a₁ ¬b c₁ = insAny (commListQ Q) (anyc01 Q anyq ) where -- p,qi case + anyc01 : (Q1 : FList n) → Any (_≡_ q₁ ) Q1 → Any (_≡_ (fpq p₁ q₁)) (commListQ Q1) + anyc01 [] any = {!!} + anyc01 (cons a Q1 x) anyq = {!!} + ... | tri< a ¬b ¬c | tri≈ ¬a₁ b ¬c₁ = {!!} --- pi,q case + ... | tri< a ¬b ¬c | tri< a₁ ¬b₁ ¬c₁ = {!!} -- previous case -- {-# TERMINATING #-} CommStage→ : (i : ℕ) → (x : Permutation n n ) → deriving i x → Any (perm→FL x ≡_) ( CommFListN i )