Sync from openai/math@faee2cf485a8 (part 8)
Browse files
lean/OAI/CategoryTheory/Thomason/Representation.lean
CHANGED
|
@@ -181,7 +181,7 @@ private def omegaRoundtripIso (C : OmegaCategory.{u}) :
|
|
| 181 |
inv_hom_id := by apply OmegaCategory.Functor.ext; rfl
|
| 182 |
|
| 183 |
/-- The two presentations describe equivalent categories of strict omega-categories. -/
|
| 184 |
-
def representationEquivalence : StrictOmegaCategory.{u} ≌ OmegaCategory.{u} where
|
| 185 |
functor := toOmega
|
| 186 |
inverse := fromOmega
|
| 187 |
unitIso := NatIso.ofComponents strictRoundtripIso (by intro C D f; apply StrictOmegaCategory.Hom.ext; rfl)
|
|
@@ -205,7 +205,7 @@ def fromFiniteOmega (n : ℕ) : OmegaCategory.NCategory.{u} n ⥤
|
|
| 205 |
map_comp _ _ := by apply StrictOmegaCategory.Hom.ext; rfl
|
| 206 |
|
| 207 |
/-- The presentation equivalence restricts in every finite dimension. -/
|
| 208 |
-
def finiteRepresentationEquivalence (n : ℕ) : StrictOmegaCategory.Truncated.{u} n ≌
|
| 209 |
OmegaCategory.NCategory.{u} n where
|
| 210 |
functor := toFiniteOmega n
|
| 211 |
inverse := fromFiniteOmega n
|
|
|
|
| 181 |
inv_hom_id := by apply OmegaCategory.Functor.ext; rfl
|
| 182 |
|
| 183 |
/-- The two presentations describe equivalent categories of strict omega-categories. -/
|
| 184 |
+
noncomputable def representationEquivalence : StrictOmegaCategory.{u} ≌ OmegaCategory.{u} where
|
| 185 |
functor := toOmega
|
| 186 |
inverse := fromOmega
|
| 187 |
unitIso := NatIso.ofComponents strictRoundtripIso (by intro C D f; apply StrictOmegaCategory.Hom.ext; rfl)
|
|
|
|
| 205 |
map_comp _ _ := by apply StrictOmegaCategory.Hom.ext; rfl
|
| 206 |
|
| 207 |
/-- The presentation equivalence restricts in every finite dimension. -/
|
| 208 |
+
noncomputable def finiteRepresentationEquivalence (n : ℕ) : StrictOmegaCategory.Truncated.{u} n ≌
|
| 209 |
OmegaCategory.NCategory.{u} n where
|
| 210 |
functor := toFiniteOmega n
|
| 211 |
inverse := fromFiniteOmega n
|
lean/OAI/CategoryTheory/Thomason/Simplicial/LoopDimensionShift.lean
CHANGED
|
@@ -139,7 +139,7 @@ namespace HomotopyMaps
|
|
| 139 |
variable {X Y Z : Type u} [TopologicalSpace X] [TopologicalSpace Y]
|
| 140 |
[TopologicalSpace Z]
|
| 141 |
|
| 142 |
-
def loopMap (f : C(X, Y)) {x : X} {N : Type*} (p : GenLoop N X x) : GenLoop N Y (f x) :=
|
| 143 |
Thomason.WeakHomotopy.loopMap N f x p
|
| 144 |
|
| 145 |
theorem loopMap_homotopic (f : C(X, Y)) {x : X} {N : Type*}
|
|
@@ -147,11 +147,11 @@ theorem loopMap_homotopic (f : C(X, Y)) {x : X} {N : Type*}
|
|
| 147 |
GenLoop.Homotopic (loopMap f p) (loopMap f q) :=
|
| 148 |
h.comp_continuousMap f
|
| 149 |
|
| 150 |
-
def groupMap (f : C(X, Y)) (n : ℕ) (x : X) :
|
| 151 |
HomotopyGroup.Pi n X x → HomotopyGroup.Pi n Y (f x) :=
|
| 152 |
Thomason.WeakHomotopy.groupMap (Fin n) f x
|
| 153 |
|
| 154 |
-
def componentsMap (f : C(X, Y)) : ZerothHomotopy X → ZerothHomotopy Y :=
|
| 155 |
Thomason.WeakHomotopy.componentsMap f
|
| 156 |
|
| 157 |
@[simp]
|
|
@@ -284,7 +284,7 @@ namespace HomotopyMaps
|
|
| 284 |
variable {X Y : Type u} [TopologicalSpace X] [TopologicalSpace Y]
|
| 285 |
|
| 286 |
/-- A homeomorphism gives an actual equivalence on based generalized loops. -/
|
| 287 |
-
def loopHomeomorphEquiv (e : X ≃ₜ Y) (x : X) (N : Type*) :
|
| 288 |
GenLoop N X x ≃ GenLoop N Y (e x) where
|
| 289 |
toFun := loopMap (e : C(X, Y))
|
| 290 |
invFun q := ⟨(e.symm : C(Y, X)).comp q.val, fun t ht =>
|
|
@@ -459,7 +459,7 @@ theorem map_bijective_iff {X Y : TopCat.{u}} (f : X ⟶ Y) {x : X} {y : Y}
|
|
| 459 |
HomotopyMaps.basedGroupMap_bijective_iff f.hom e n
|
| 460 |
|
| 461 |
/-- Path components form a functor on unbased spaces. -/
|
| 462 |
-
def componentsFunctor : TopCat.{u} ⥤ Type u where
|
| 463 |
obj X := ZerothHomotopy X
|
| 464 |
map f := ↾(HomotopyMaps.componentsMap f.hom)
|
| 465 |
map_id X := by
|
|
|
|
| 139 |
variable {X Y Z : Type u} [TopologicalSpace X] [TopologicalSpace Y]
|
| 140 |
[TopologicalSpace Z]
|
| 141 |
|
| 142 |
+
noncomputable def loopMap (f : C(X, Y)) {x : X} {N : Type*} (p : GenLoop N X x) : GenLoop N Y (f x) :=
|
| 143 |
Thomason.WeakHomotopy.loopMap N f x p
|
| 144 |
|
| 145 |
theorem loopMap_homotopic (f : C(X, Y)) {x : X} {N : Type*}
|
|
|
|
| 147 |
GenLoop.Homotopic (loopMap f p) (loopMap f q) :=
|
| 148 |
h.comp_continuousMap f
|
| 149 |
|
| 150 |
+
noncomputable def groupMap (f : C(X, Y)) (n : ℕ) (x : X) :
|
| 151 |
HomotopyGroup.Pi n X x → HomotopyGroup.Pi n Y (f x) :=
|
| 152 |
Thomason.WeakHomotopy.groupMap (Fin n) f x
|
| 153 |
|
| 154 |
+
noncomputable def componentsMap (f : C(X, Y)) : ZerothHomotopy X → ZerothHomotopy Y :=
|
| 155 |
Thomason.WeakHomotopy.componentsMap f
|
| 156 |
|
| 157 |
@[simp]
|
|
|
|
| 284 |
variable {X Y : Type u} [TopologicalSpace X] [TopologicalSpace Y]
|
| 285 |
|
| 286 |
/-- A homeomorphism gives an actual equivalence on based generalized loops. -/
|
| 287 |
+
noncomputable def loopHomeomorphEquiv (e : X ≃ₜ Y) (x : X) (N : Type*) :
|
| 288 |
GenLoop N X x ≃ GenLoop N Y (e x) where
|
| 289 |
toFun := loopMap (e : C(X, Y))
|
| 290 |
invFun q := ⟨(e.symm : C(Y, X)).comp q.val, fun t ht =>
|
|
|
|
| 459 |
HomotopyMaps.basedGroupMap_bijective_iff f.hom e n
|
| 460 |
|
| 461 |
/-- Path components form a functor on unbased spaces. -/
|
| 462 |
+
noncomputable def componentsFunctor : TopCat.{u} ⥤ Type u where
|
| 463 |
obj X := ZerothHomotopy X
|
| 464 |
map f := ↾(HomotopyMaps.componentsMap f.hom)
|
| 465 |
map_id X := by
|