Mercurial > hg > Members > kono > Proof > galois
annotate sym3n.agda @ 193:f9aa8bb5fb1d
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 29 Nov 2020 09:36:16 +0900 |
parents | 59d12d02dfa8 |
children |
rev | line source |
---|---|
68 | 1 open import Level hiding ( suc ; zero ) |
2 open import Algebra | |
153 | 3 module sym3n where |
68 | 4 |
5 open import Symmetric | |
6 open import Data.Unit | |
7 open import Function.Inverse as Inverse using (_↔_; Inverse; _InverseOf_) | |
8 open import Function | |
9 open import Data.Nat hiding (_⊔_) -- using (ℕ; suc; zero) | |
10 open import Relation.Nullary | |
11 open import Data.Empty | |
12 open import Data.Product | |
13 | |
14 open import Gutil | |
15 open import Putil | |
16 open import Solvable using (solvable) | |
17 open import Relation.Binary.PropositionalEquality hiding ( [_] ) | |
18 | |
19 open import Data.Fin | |
121 | 20 open import Data.Fin.Permutation hiding (_∘ₚ_) |
21 | |
22 infixr 200 _∘ₚ_ | |
23 _∘ₚ_ = Data.Fin.Permutation._∘ₚ_ | |
24 | |
68 | 25 |
70 | 26 sym3solvable : solvable (Symmetric 3) |
27 solvable.dervied-length sym3solvable = 2 | |
28 solvable.end sym3solvable x d = solved1 x d where | |
68 | 29 |
70 | 30 open import Data.List using ( List ; [] ; _∷_ ) |
31 | |
32 open Solvable (Symmetric 3) | |
153 | 33 open import FLutil |
34 open import Data.List.Fresh hiding ([_]) | |
35 open import Relation.Nary using (⌊_⌋) | |
111 | 36 |
37 p0id : FL→perm ((# 0) :: ((# 0) :: ((# 0 ) :: f0))) =p= pid | |
153 | 38 p0id = pleq _ _ refl |
39 | |
182
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
40 open import Data.List.Fresh.Relation.Unary.Any |
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
41 open import FLComm |
153 | 42 |
182
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
43 stage3FList : CommFListN 3 2 ≡ cons (zero :: zero :: zero :: f0) [] (Level.lift tt) |
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
44 stage3FList = refl |
88 | 45 |
182
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
46 solved1 : (x : Permutation 3 3) → deriving 2 x → x =p= pid |
184 | 47 solved1 x dr = CommSolved 3 x ( CommFListN 3 2 ) stage3FList p0id solved2 where |
182
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
48 solved2 : Any (perm→FL x ≡_) ( CommFListN 3 2 ) |
eb94265d2a39
Any based proof computation done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
49 solved2 = CommStage→ 3 2 x dr |
123 | 50 |
119 | 51 |