Documentation

Lightlike.PL.Realisation

Geometric realisations, subdivisions and PL homeomorphisms #

A complex K : SComplex E whose vertices are points of a real vector space E is geometric (IsGeom) when every face is affinely independent and any two faces meet in the convex hull of their common vertices; these are the conditions of Mathlib's Geometry.SimplicialComplex (IsGeom.toSimplicialComplex). Its underlying set |K| (space) is the union of the convex hulls of the faces. All the combinatorics of SComplex (stellar subdivision, links, joins) applies to geometric complexes unchanged, because the vertices are the points themselves.

No topology on E is used: in finite dimensions a map that is affine on each simplex of a finite complex is continuous on the underlying set, so these are the usual notions of PL topology (Rourke–Sanderson, Introduction to piecewise-linear topology, ch. 2; Lickorish, Simplicial moves on complexes and manifolds, §4).

The underlying set |K| of a complex whose vertices are points of a real vector space: the union of the convex hulls of its faces.

Equations
Instances For
    theorem Lightlike.PL.SComplex.mem_space {E : Type u_1} [AddCommGroup E] [Module ℝ E] {K : SComplex E} {x : E} :
    x ∈ K.space ↔ ∃ s ∈ K, x ∈ (convexHull ℝ) ↑s
    theorem Lightlike.PL.SComplex.convexHull_subset_space {E : Type u_1} [AddCommGroup E] [Module ℝ E] {K : SComplex E} {s : Finset E} (hs : s ∈ K) :
    (convexHull ℝ) ↑s ⊆ K.space

    A complex whose vertices are points of a real vector space is geometric when every face is affinely independent and any two faces meet in the convex hull of their common vertices.

    Instances For

      A geometric complex as a Mathlib Geometry.SimplicialComplex (which has no empty face).

      Equations
      Instances For

        The Mathlib simplicial complex of a geometric complex has the same underlying set.

        A complex whose vertices are affinely independent is geometric.

        Subdivisions and PL maps #

        K' is a subdivision of K: both are geometric, they have the same underlying set, and every simplex of K' lies in a simplex of K.

        • geom' : K'.IsGeom

          The subdividing complex is geometric.

        • geom : K.IsGeom

          The subdivided complex is geometric.

        • space_eq : K'.space = K.space

          The underlying sets agree.

        • le (s : Finset E) : s ∈ K' → ∃ t ∈ K, (convexHull ℝ) ↑s ⊆ (convexHull ℝ) ↑t

          Every simplex of K' lies in a simplex of K.

        Instances For

          A geometric complex subdivides itself.

          theorem Lightlike.PL.SComplex.IsSubdivision.trans {E : Type u_1} [AddCommGroup E] [Module ℝ E] {K'' K' K : SComplex E} (h₁ : K''.IsSubdivision K') (h₂ : K'.IsSubdivision K) :

          A subdivision of a subdivision is a subdivision.

          def Lightlike.PL.SComplex.IsPLMap {E : Type u_1} {F : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup F] [Module ℝ F] (K : SComplex E) (f : E → F) :

          A map f : E → F is piecewise linear on K when it is affine on every simplex of some subdivision of K.

          Equations
          Instances For
            theorem Lightlike.PL.SComplex.IsPLMap.of_affine {E : Type u_1} {F : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup F] [Module ℝ F] {K : SComplex E} (hK : K.IsGeom) (g : E →ᵃ[ℝ] F) :
            K.IsPLMap ⇑g

            An affine map is piecewise linear on every geometric complex.

            theorem Lightlike.PL.SComplex.IsPLMap.of_subdivision {E : Type u_1} {F : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup F] [Module ℝ F] {K' K : SComplex E} {f : E → F} (hf : K'.IsPLMap f) (h : K'.IsSubdivision K) :

            A map piecewise linear on K is piecewise linear on every complex that K subdivides.

            structure Lightlike.PL.SComplex.IsPLHomeo {E : Type u_1} {F : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup F] [Module ℝ F] (K : SComplex E) (L : SComplex F) (f : E → F) :

            A PL homeomorphism from |K| onto |L|: a map that is piecewise linear on K and maps |K| bijectively onto |L|, for geometric complexes K and L.

            • pl : K.IsPLMap f

              The map is piecewise linear on K (in particular K is geometric).

            • geom : L.IsGeom

              The target complex is geometric.

            • bij : Set.BijOn f K.space L.space

              The map is a bijection between the underlying sets.

            Instances For
              theorem Lightlike.PL.SComplex.IsPLMap.isGeom {E : Type u_1} {F : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup F] [Module ℝ F] {K : SComplex E} {f : E → F} (hf : K.IsPLMap f) :

              The identity is a PL homeomorphism of every geometric complex.

              A subdivision is PL homeomorphic to the subdivided complex, by the identity.

              The geometric realisation of an abstract complex #

              noncomputable def Lightlike.PL.SComplex.vertexEmb (V : Type u_2) :

              The vertex embedding of V into V →₀ ℝ: the vertex v goes to the basis vector Finsupp.single v 1.

              Equations
              Instances For
                noncomputable def Lightlike.PL.SComplex.real {V : Type u_1} [DecidableEq V] (K : SComplex V) :

                The geometric realisation of an abstract complex: the vertex v is placed at the basis vector Finsupp.single v 1 of V →₀ ℝ, and every face spans a simplex.

                Equations
                Instances For
                  theorem Lightlike.PL.SComplex.mem_real {V : Type u_1} [DecidableEq V] {K : SComplex V} {s : Finset (V →₀ ℝ)} :
                  s ∈ K.real ↔ ∃ t ∈ K, Finset.map (vertexEmb V) t = s
                  theorem Lightlike.PL.SComplex.mem_convexHull_vertexEmb {V : Type u_1} [DecidableEq V] {s : Finset V} {x : V →₀ ℝ} :
                  x ∈ (convexHull ℝ) ↑(Finset.map (vertexEmb V) s) ↔ (∀ (v : V), 0 ≤ x v) ∧ (∀ v ∉ s, x v = 0) ∧ ∑ v ∈ s, x v = 1

                  A point lies in the simplex spanned by the basis vectors of s exactly when its coordinates are nonnegative, vanish outside s and sum to one over s.

                  The realisation is geometric: the basis vectors are linearly, hence affinely, independent.

                  theorem Lightlike.PL.SComplex.mem_space_real {V : Type u_1} [DecidableEq V] {K : SComplex V} {x : V →₀ ℝ} :
                  x ∈ K.real.space ↔ (∀ (v : V), 0 ≤ x v) ∧ x.support ∈ K ∧ ∑ v ∈ x.support, x v = 1

                  The points of the realisation are the nonnegative finitely supported functions on V whose support is a face of K and whose values sum to one: barycentric coordinates.

                  Abstract complexes are PL homeomorphic when their geometric realisations are: some map V →₀ ℝ → W →₀ ℝ is piecewise linear on real K and maps |real K| bijectively onto |real L|.

                  Equations
                  Instances For

                    Every complex is PL homeomorphic to itself, by the identity.