Mercurial > hg > Members > kono > Proof > galois
changeset 190:2056fc69974c
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 29 Nov 2020 00:28:19 +0900 |
parents | d0b678eec506 |
children | 03d40f6e98b1 |
files | FLComm.agda |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/FLComm.agda Sun Nov 29 00:05:15 2020 +0900 +++ b/FLComm.agda Sun Nov 29 00:28:19 2020 +0900 @@ -58,8 +58,10 @@ comm3 : (L1 : FList n) → Any (H ≡_) L1 → (L3 : FList n) → Any (_≡_ (perm→FL [ g , h ])) (tl3 G L1 L3) comm3 (H ∷# []) (here refl) L3 = subst (λ k → Any (_≡_ k) (FLinsert (perm→FL [ FL→perm G , FL→perm H ]) L3 ) ) comm6 (x∈FLins ( perm→FL [ FL→perm G , FL→perm H ] ) L3 ) - comm3 (H ∷# cons a L1 x) (here refl) L3 = ? - comm3 (cons _ _ _) (there b) L3 = {!!} + comm3 (H ∷# cons a L1 x) (here refl) L3 = comm3 (cons a L1 x) {!!} {!!} where + L3' : FList n + L3' = tl3 G L1 (FLinsert (perm→FL [ FL→perm G , FL→perm a ]) (FLinsert (perm→FL [ FL→perm G , FL→perm H ]) L3)) + comm3 (cons a L _) (there b) L3 = comm3 L b (FLinsert (perm→FL [ FL→perm G , FL→perm a ]) L3) comm2 : (L L1 : FList n) → Any (G ≡_) L → Any (H ≡_) L1 → (L3 : FList n) → Any (perm→FL [ g , h ] ≡_) (tl2 L L1 L3) comm2 (cons G L xr) L1 (here refl) b L3 = comm7 L L3 where comm7 : (L L3 : FList n) → Any (_≡_ (perm→FL [ g , h ])) (tl2 L L1 (tl3 G L1 L3))