Added Quest1SideQuest

This commit is contained in:
Jlh18 2021-09-26 15:12:01 +01:00
parent 400a5ddd1e
commit a12e754c23
4 changed files with 51 additions and 0 deletions

View 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 = {!!}

View 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