The areas / V22. Affine, Euclidean and convex geometry
Mathlib.Geometry.Convex.ConvexSpace.ToSSet
19 declarations. Mathlib docs · Source
The simplicial set of affine simplices in a convex space
Let Y be a R-convex space. In this file, we introduce the simplicial
set toSSet R Y whose n-simplices are affine maps from
the standard n-dimensional simplex to Y. (When R := ℝ and Y has
a suitable topology, this identifies to a subcomplex of the singular
simplicial set of the topological space Y.)
For y : Y, we define a cone operation
toSSet.cone : ((toSSet R Y).chainComplex M).X n ⟶ ((toSSet R Y).chainComplex M).X (n + 1)
on the simplicial chains of toSSet R Y with coefficients in M,
as a linear extension of the cone of affine maps AffineMap.cone.
This cone operation is part of a homotopy which explains that the chain complex
of toSSet R Y is acyclic in nonzero degrees. The proof uses the technical notion
of extra degeneracy which also allows to show the stronger result that the
simplicial set toSSet R Y is contractible.
This construction shall be used in the construction of the subdivision operator on the singular homology complex of topological spaces, which shall be used in the proof of the excision theorem (TODO @joelriou).
theorem CategoryTheory.SimplicialObject.Augmented.ExtraDegeneracy.mk.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : CategoryTheory.SimplicialObject.Augmented C}
(s' s'_1 : X.right ⟶ X.left.obj (Opposite.op { len := 0 })) (e_s' : s' = s'_1)
(s s_1 : (n : ℕ) → X.left.obj (Opposite.op { len := n }) ⟶ X.left.obj (Opposite.op { len := n + 1 })) (e_s : s = s_1)
(s'_comp_ε :
CategoryTheory.CategoryStruct.comp s' (X.hom.app (Opposite.op { len := 0 })) =
CategoryTheory.CategoryStruct.id X.right)
(s₀_comp_δ₁ :
CategoryTheory.CategoryStruct.comp (s 0) (X.left.δ 1) =
CategoryTheory.CategoryStruct.comp (X.hom.app (Opposite.op { len := 0 })) s')
(s_comp_δ₀ :
∀ (n : ℕ),
CategoryTheory.CategoryStruct.comp (s n) (X.left.δ 0) =
CategoryTheory.CategoryStruct.id (X.left.obj (Opposite.op { len := n })))
(s_comp_δ :
∀ (n : ℕ) (i : Fin (n + 2)),
CategoryTheory.CategoryStruct.comp (s (n + 1)) (X.left.δ i.succ) =
CategoryTheory.CategoryStruct.comp (X.left.δ i) (s n))
(s_comp_σ :
∀ (n : ℕ) (i : Fin (n + 1)),
CategoryTheory.CategoryStruct.comp (s n) (X.left.σ i.succ) =
CategoryTheory.CategoryStruct.comp (X.left.σ i) (s (n + 1))),
{ s' := s', s := s, s'_comp_ε := s'_comp_ε, s₀_comp_δ₁ := s₀_comp_δ₁, s_comp_δ₀ := s_comp_δ₀, s_comp_δ := s_comp_δ,
s_comp_σ := s_comp_σ } =
{ s' := s'_1, s := s_1, s'_comp_ε := ⋯, s₀_comp_δ₁ := ⋯, s_comp_δ₀ := ⋯, s_comp_δ := ⋯, s_comp_σ := ⋯ }
abbrev Convexity.ConvexSpace.toSSet E1 #
(R : Type u) →
[inst : PartialOrder R] →
[inst_1 : Semiring R] → [inst_2 : IsStrictOrderedRing R] → (Y : Type w) → [Convexity.ConvexSpace R Y] → SSet
Given a convex space Y, this is the simplicial set whose n-simplices are
affine maps from the n-dimensional standard simplex to Y.
theorem Convexity.ConvexSpace.toSSet_obj E1 #
∀ (R : Type u) [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] (Y : Type w)
[inst_3 : Convexity.ConvexSpace R Y] (n : SimplexCategoryᵒᵖ),
(Convexity.ConvexSpace.toSSet R Y).obj n =
Convexity.ConvexSpace.AffineMap R (Convexity.StdSimplex R (Fin ((Opposite.unop n).len + 1))) Y
theorem Convexity.ConvexSpace.toSSet_map E1 #
∀ (R : Type u) [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] (Y : Type w)
[inst_3 : Convexity.ConvexSpace R Y] {X Y_1 : SimplexCategoryᵒᵖ} (f : X ⟶ Y_1),
(Convexity.ConvexSpace.toSSet R Y).map f =
TypeCat.ofHom fun g ↦ g.comp (Convexity.StdSimplex.affineMap ⇑(CategoryTheory.ConcreteCategory.hom f.unop))
def Convexity.ConvexSpace.AffineMap.toSSetMap E1 #
{R : Type u} →
[inst : PartialOrder R] →
[inst_1 : Semiring R] →
[inst_2 : IsStrictOrderedRing R] →
{Y Z : Type w} →
[inst_3 : Convexity.ConvexSpace R Y] →
[inst_4 : Convexity.ConvexSpace R Z] →
Convexity.ConvexSpace.AffineMap R Y Z →
(Convexity.ConvexSpace.toSSet R Y ⟶ Convexity.ConvexSpace.toSSet R Z)
The morphism toSSet R Y ⟶ toSSet R Z of simplicial sets of
affine simplices that is induced by an affine map φ from Y to Z:
on simplices, it is induced by the postcomposition with φ.
theorem Convexity.ConvexSpace.AffineMap.toSSetMap_app E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y Z : Type w}
[inst_3 : Convexity.ConvexSpace R Y] [inst_4 : Convexity.ConvexSpace R Z] (φ : Convexity.ConvexSpace.AffineMap R Y Z)
(n : SimplexCategoryᵒᵖ), φ.toSSetMap.app n = TypeCat.ofHom fun g ↦ φ.comp g
theorem Convexity.ConvexSpace.toSSet.δ_zero E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] (y : Y) {n : ℕ}
(s : Convexity.ConvexSpace.AffineMap R (Convexity.StdSimplex R (Fin (n + 1))) Y),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ (Convexity.ConvexSpace.toSSet R Y) 0))
(s.cone y) =
s
The zeroth face of the cone of a simplex s is s.
theorem Convexity.ConvexSpace.toSSet.δ_affineMapMk E1 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {n : ℕ} (s : Fin (n + 2) → Y) (i : Fin (n + 2)),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.SimplicialObject.δ (Convexity.ConvexSpace.toSSet R Y) i))
(Convexity.StdSimplex.affineMapMk s) =
Convexity.StdSimplex.affineMapMk (s ∘ i.succAbove)
In the simplicial set toSSet R Y, the ith face of a simplex [y₀, ..., yₙ₊₁]
(considered as an affine map from the standard simplex to Y) is obtained by
dropping the ith vertex.
def Convexity.ConvexSpace.toSSet.extraDegeneracy E1 #
{R : Type u} →
[inst : PartialOrder R] →
[inst_1 : Semiring R] →
[inst_2 : IsStrictOrderedRing R] →
{Y : Type w} →
[inst_3 : Convexity.ConvexSpace R Y] →
Y → CategoryTheory.SimplicialObject.Augmented.ExtraDegeneracy (Convexity.ConvexSpace.toSSet R Y).toAugmented
Given a convex space Y (over a semiring R) and y : Y, this is an extra degeneracy
for the augmented simplicial set attached to ConvexSpace.toSSet R Y.
In degree 0, it is given by [y], and otherwise it sends
a n-simplex [y₀, ..., yₙ] to [y, y₀, ..., yₙ], where affine maps
from the standard n-simplex to Y are identified to tuples [y₀, ..., yₙ] corresponding
by the images of the vertices. (Note that this data implies that the simplicial set
ConvexSpace.toSSet R Y is contractible, see the example below.)
theorem Convexity.ConvexSpace.toSSet.extraDegeneracy_s' E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] (y : Y),
(Convexity.ConvexSpace.toSSet.extraDegeneracy y).s' = TypeCat.ofHom fun x ↦ Convexity.ConvexSpace.AffineMap.const y
theorem Convexity.ConvexSpace.toSSet.extraDegeneracy_s E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] (y : Y) (n : ℕ),
(Convexity.ConvexSpace.toSSet.extraDegeneracy y).s n = TypeCat.ofHom fun f ↦ Convexity.ConvexSpace.AffineMap.cone f y
def Convexity.ConvexSpace.toSSet.cone E1 #
{R : Type u} →
[inst : PartialOrder R] →
[inst_1 : Semiring R] →
[inst_2 : IsStrictOrderedRing R] →
{Y : Type w} →
[inst_3 : Convexity.ConvexSpace R Y] →
{C : Type u_1} →
[inst_4 : CategoryTheory.Category.{v_1, u_1} C] →
[inst_5 : CategoryTheory.Preadditive C] →
[inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] →
Y →
(M : C) →
(n : ℕ) →
((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X n ⟶
((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X (n + 1)
Given a convex space Y, y : Y and n : ℕ, this is the morphism from
affine n-chains (with coefficients in M) to affine n + 1-chains which
sends a simplex [y₀, ..., yₙ] to [y, y₀, ..., yₙ], i.e. it is induced by
ConvexSpace.AffineMap.cone.
theorem Convexity.ConvexSpace.toSSet.ι_cone E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {C : Type u_1} [inst_4 : CategoryTheory.Category.{v_1, u_1} C]
[inst_5 : CategoryTheory.Preadditive C] [inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (y : Y)
(M : C) {n : ℕ} (s : Convexity.ConvexSpace.AffineMap R (Convexity.StdSimplex R (Fin (n + 1))) Y),
CategoryTheory.CategoryStruct.comp ((Convexity.ConvexSpace.toSSet R Y).ιChainComplex s)
(Convexity.ConvexSpace.toSSet.cone y M n) =
(Convexity.ConvexSpace.toSSet R Y).ιChainComplex (s.cone y)
On n-chains, the morphism of chain complexes toSSet.cone (R := R) y M n
sends the simplex [y₀, ..., yₙ] to [y, y₀, ..., yₙ], i.e. it is induced by
ConvexSpace.AffineMap.cone.
theorem Convexity.ConvexSpace.toSSet.ι_cone_assoc E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {C : Type u_1} [inst_4 : CategoryTheory.Category.{v_1, u_1} C]
[inst_5 : CategoryTheory.Preadditive C] [inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (y : Y)
(M : C) {n : ℕ} (s : Convexity.ConvexSpace.AffineMap R (Convexity.StdSimplex R (Fin (n + 1))) Y) {Z : C}
(h : ((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X (n + 1) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((Convexity.ConvexSpace.toSSet R Y).ιChainComplex s)
(CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M n) h) =
CategoryTheory.CategoryStruct.comp ((Convexity.ConvexSpace.toSSet R Y).ιChainComplex (s.cone y)) h
On n-chains, the morphism of chain complexes toSSet.cone (R := R) y M n
sends the simplex [y₀, ..., yₙ] to [y, y₀, ..., yₙ], i.e. it is induced by
ConvexSpace.AffineMap.cone.
theorem Convexity.ConvexSpace.toSSet.d_comp_cone_add_cone_comp_d E0 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {C : Type u_1} [inst_4 : CategoryTheory.Category.{v_1, u_1} C]
[inst_5 : CategoryTheory.Preadditive C] [inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (y : Y)
(M : C) {n : ℕ},
CategoryTheory.CategoryStruct.comp (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 1) n)
(Convexity.ConvexSpace.toSSet.cone y M n) +
CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M (n + 1))
(((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 2) (n + 1)) =
CategoryTheory.CategoryStruct.id (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X (n + 1))
Given a convex space Y and y : Y, the family of morphisms
toSSet.cone y M n form a homotopy between the identity of the chain
complex of toSSet R Y and a morphism which is zero in positive degrees.
theorem Convexity.ConvexSpace.toSSet.d_comp_cone_eq_sub E1 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {C : Type u_1} [inst_4 : CategoryTheory.Category.{v_1, u_1} C]
[inst_5 : CategoryTheory.Preadditive C] [inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (y : Y)
(M : C) {n : ℕ},
CategoryTheory.CategoryStruct.comp (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 1) n)
(Convexity.ConvexSpace.toSSet.cone y M n) =
CategoryTheory.CategoryStruct.id (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X (n + 1)) -
CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M (n + 1))
(((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 2) (n + 1))
Given a convex space Y and y : Y, the family of morphisms
toSSet.cone y M n form a homotopy between the identity of the chain
complex of toSSet R Y and a morphism which is zero in positive degrees.
theorem Convexity.ConvexSpace.toSSet.cone_comp_d_eq_sub E1 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y : Type w}
[inst_3 : Convexity.ConvexSpace R Y] {C : Type u_1} [inst_4 : CategoryTheory.Category.{v_1, u_1} C]
[inst_5 : CategoryTheory.Preadditive C] [inst_6 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (y : Y)
(M : C) {n : ℕ},
CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M (n + 1))
(((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 2) (n + 1)) =
CategoryTheory.CategoryStruct.id (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).X (n + 1)) -
CategoryTheory.CategoryStruct.comp (((Convexity.ConvexSpace.toSSet R Y).chainComplex M).d (n + 1) n)
(Convexity.ConvexSpace.toSSet.cone y M n)
Given a convex space Y and y : Y, the family of morphisms
toSSet.cone y M n form a homotopy between the identity of the chain
complex of toSSet R Y and a morphism which is zero in positive degrees.
theorem Convexity.ConvexSpace.AffineMap.cone_naturality E1 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y Z : Type w}
[inst_3 : Convexity.ConvexSpace R Y] [inst_4 : Convexity.ConvexSpace R Z] {C : Type u_1}
[inst_5 : CategoryTheory.Category.{v_1, u_1} C] [inst_6 : CategoryTheory.Preadditive C]
[inst_7 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (φ : Convexity.ConvexSpace.AffineMap R Y Z)
(y : Y) (M : C) (n : ℕ),
CategoryTheory.CategoryStruct.comp ((SSet.chainComplexMap φ.toSSetMap M).f n)
(Convexity.ConvexSpace.toSSet.cone (φ y) M n) =
CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M n)
((SSet.chainComplexMap φ.toSSetMap M).f (n + 1))
theorem Convexity.ConvexSpace.AffineMap.cone_naturality_assoc E1 #
∀ {R : Type u} [inst : PartialOrder R] [inst_1 : Semiring R] [inst_2 : IsStrictOrderedRing R] {Y Z : Type w}
[inst_3 : Convexity.ConvexSpace R Y] [inst_4 : Convexity.ConvexSpace R Z] {C : Type u_1}
[inst_5 : CategoryTheory.Category.{v_1, u_1} C] [inst_6 : CategoryTheory.Preadditive C]
[inst_7 : CategoryTheory.Limits.HasCoproducts.{max u w, v_1, u_1} C] (φ : Convexity.ConvexSpace.AffineMap R Y Z)
(y : Y) (M : C) (n : ℕ) {Z_1 : C} (h : ((Convexity.ConvexSpace.toSSet R Z).chainComplex M).X (n + 1) ⟶ Z_1),
CategoryTheory.CategoryStruct.comp ((SSet.chainComplexMap φ.toSSetMap M).f n)
(CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone (φ y) M n) h) =
CategoryTheory.CategoryStruct.comp (Convexity.ConvexSpace.toSSet.cone y M n)
(CategoryTheory.CategoryStruct.comp ((SSet.chainComplexMap φ.toSSetMap M).f (n + 1)) h)