Added Quest1SideQuest
This commit is contained in:
parent
400a5ddd1e
commit
a12e754c23
23
1FundamentalGroup/Quest1SideQuests/Sn.agda
Normal file
23
1FundamentalGroup/Quest1SideQuests/Sn.agda
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
module 1FundamentalGroup.Quest1SideQuests.Sn where
|
||||||
|
|
||||||
|
open import Cubical.Data.Nat
|
||||||
|
open import Cubical.Data.Empty
|
||||||
|
open import Cubical.Data.Unit renaming (Unit to ⊤)
|
||||||
|
open import Cubical.Data.Bool
|
||||||
|
open import Cubical.Foundations.Prelude
|
||||||
|
|
||||||
|
|
||||||
|
data susp (X : Type) : Type where
|
||||||
|
north : {!!}
|
||||||
|
south : {!!}
|
||||||
|
merid : {!!}
|
||||||
|
|
||||||
|
Sphere : ℕ → Type
|
||||||
|
Sphere = {!!}
|
||||||
|
|
||||||
|
Disk : (n : ℕ) → Type
|
||||||
|
Disk zero = {!!}
|
||||||
|
Disk (suc n) = {!!}
|
||||||
|
|
||||||
|
SphereToDisk : {n : ℕ} → Sphere n → Disk n
|
||||||
|
SphereToDisk {n} s = {!!}
|
28
1FundamentalGroup/Quest1SideQuests/SnSolutions.agda
Normal file
28
1FundamentalGroup/Quest1SideQuests/SnSolutions.agda
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
module 1FundamentalGroup.Quest1SideQuests.SnSolutions where
|
||||||
|
|
||||||
|
open import Cubical.Data.Nat
|
||||||
|
open import Cubical.Data.Empty
|
||||||
|
open import Cubical.Data.Unit renaming (Unit to ⊤)
|
||||||
|
open import Cubical.Data.Bool
|
||||||
|
open import Cubical.Foundations.Prelude
|
||||||
|
|
||||||
|
|
||||||
|
data susp (X : Type) : Type where
|
||||||
|
north : susp X
|
||||||
|
south : susp X
|
||||||
|
merid : X → north ≡ south
|
||||||
|
|
||||||
|
Sphere : ℕ → Type
|
||||||
|
Sphere zero = Bool
|
||||||
|
Sphere (suc n) = susp (Sphere n)
|
||||||
|
|
||||||
|
Disk : (n : ℕ) → Type
|
||||||
|
Disk zero = ⊤
|
||||||
|
Disk (suc n) = susp (Sphere n)
|
||||||
|
|
||||||
|
SphereToDisk : {n : ℕ} → Sphere n → Disk (suc n)
|
||||||
|
SphereToDisk {zero} false = north
|
||||||
|
SphereToDisk {zero} true = south
|
||||||
|
SphereToDisk {suc n} north = north
|
||||||
|
SphereToDisk {suc n} south = south
|
||||||
|
SphereToDisk {suc n} (merid x i) = merid (SphereToDisk x) i
|
BIN
_build/2.6.2/agda/1FundamentalGroup/Quest1SideQuests/Sn.agdai
Normal file
BIN
_build/2.6.2/agda/1FundamentalGroup/Quest1SideQuests/Sn.agdai
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user