Documentation

Lightlike.PL.Complex

Finite abstract simplicial complexes #

A finite abstract simplicial complex on a vertex type V is a finite family of finite vertex sets (its faces) that is closed under taking subsets. We follow the convention of combinatorial topology (Lickorish, Simplicial moves on complexes and manifolds, Geom. Topol. Monogr. 2 (1999) 299–320) in which the empty set is a face of every non-void complex. This makes the join and link formulas uniform and gives the (−1)-sphere {∅}, the boundary of a 0-simplex, which is the link of a top-dimensional simplex in a closed manifold.

Mathlib has PreAbstractSimplicialComplex and AbstractSimplicialComplex (Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean): families of nonempty sets, given as a Set, without finiteness. Here we need finite complexes (cardinalities, kernel decide on examples) and the empty face, so we use our own structure SComplex V and map it to Mathlib's notion by SComplex.toPreAbstract (forget the empty face).

Definitions #

Main results #

structure Lightlike.PL.SComplex (V : Type u_1) :
Type u_1

A finite abstract simplicial complex on the vertex type V: a finite family of finite vertex sets closed under subsets. The empty set is a face of every non-void complex.

Instances For
    theorem Lightlike.PL.SComplex.ext_iff {V : Type u_1} {x y : SComplex V} :
    x = y ↔ x.faces = y.faces
    theorem Lightlike.PL.SComplex.ext {V : Type u_1} {x y : SComplex V} (faces : x.faces = y.faces) :
    x = y
    @[instance_reducible]
    Equations
    @[simp]
    theorem Lightlike.PL.SComplex.mem_faces {V : Type u_1} {K : SComplex V} {s : Finset V} :
    s ∈ K.faces ↔ s ∈ K
    theorem Lightlike.PL.SComplex.ext_mem {V : Type u_1} {K L : SComplex V} (h : ∀ (s : Finset V), s ∈ K ↔ s ∈ L) :
    K = L

    Two complexes are equal when they have the same faces.

    theorem Lightlike.PL.SComplex.down_mem {V : Type u_1} {K : SComplex V} {s t : Finset V} (hs : s ∈ K) (ht : t ⊆ s) :
    t ∈ K

    A subset of a face is a face.

    theorem Lightlike.PL.SComplex.empty_mem {V : Type u_1} {K : SComplex V} {s : Finset V} (hs : s ∈ K) :

    The empty set is a face of every complex with at least one face.

    Vertices #

    The vertices of K: the elements of its faces.

    Equations
    Instances For
      theorem Lightlike.PL.SComplex.mem_verts {V : Type u_1} [DecidableEq V] {K : SComplex V} {x : V} :
      x ∈ K.verts ↔ {x} ∈ K
      theorem Lightlike.PL.SComplex.subset_verts {V : Type u_1} [DecidableEq V] {K : SComplex V} {s : Finset V} (hs : s ∈ K) :
      s ⊆ K.verts
      theorem Lightlike.PL.SComplex.notMem_of_notMem_verts {V : Type u_1} [DecidableEq V] {K : SComplex V} {s : Finset V} {a : V} (ha : a ∉ K.verts) (hs : s ∈ K) :
      a ∉ s

      Simplices, boundaries, closures #

      The simplex on the vertex set A: all subsets of A. For #A = n + 1 this is the n-simplex.

      Equations
      Instances For
        @[simp]
        theorem Lightlike.PL.SComplex.mem_simplex {V : Type u_1} {A s : Finset V} :
        s ∈ simplex A ↔ s ⊆ A

        The boundary of the simplex on A: all proper subsets of A. For #A = n + 1 this is the (n−1)-sphere ∂Δⁿ; the boundary of a 0-simplex is {∅}, the (−1)-sphere.

        Equations
        Instances For
          @[simp]
          theorem Lightlike.PL.SComplex.mem_boundary {V : Type u_1} [DecidableEq V] {A s : Finset V} :
          s ∈ boundary A ↔ s ⊂ A

          The complex generated by a finite family T of vertex sets: all subsets of members.

          Equations
          Instances For
            @[simp]
            theorem Lightlike.PL.SComplex.mem_closure {V : Type u_1} [DecidableEq V] {T : Finset (Finset V)} {s : Finset V} :
            s ∈ closure T ↔ ∃ t ∈ T, s ⊆ t
            theorem Lightlike.PL.SComplex.verts_boundary {V : Type u_1} [DecidableEq V] {A : Finset V} (hA : 2 ≤ A.card) :

            Joins and cones #

            The join K * L: unions of a face of K and a face of L. When the vertex sets are disjoint this is the usual join of simplicial complexes.

            Equations
            Instances For
              theorem Lightlike.PL.SComplex.mem_join {V : Type u_1} [DecidableEq V] {K L : SComplex V} {s : Finset V} :
              s ∈ K.join L ↔ ∃ t ∈ K, ∃ u ∈ L, t ∪ u = s
              def Lightlike.PL.SComplex.cone {V : Type u_1} [DecidableEq V] (a : V) (K : SComplex V) :

              The cone on K with apex a: the join of the vertex a with K.

              Equations
              Instances For
                theorem Lightlike.PL.SComplex.mem_cone {V : Type u_1} [DecidableEq V] {a : V} {K : SComplex V} {s : Finset V} :
                s ∈ cone a K ↔ ∃ t ∈ K, s = t ∨ s = insert a t
                theorem Lightlike.PL.SComplex.mem_link' {V : Type u_1} [DecidableEq V] {K : SComplex V} {σ u : Finset V} :
                u ∈ K.link σ ↔ Disjoint σ u ∧ σ ∪ u ∈ K

                u lies in the link of σ exactly when it is disjoint from σ and σ ∪ u is a face.

                def Lightlike.PL.SComplex.star {V : Type u_1} [DecidableEq V] (K : SComplex V) (σ : Finset V) :

                The closed star of σ in K: the faces u such that σ ∪ u is a face.

                Equations
                Instances For
                  @[simp]
                  theorem Lightlike.PL.SComplex.mem_star {V : Type u_1} [DecidableEq V] {K : SComplex V} {σ u : Finset V} :
                  u ∈ K.star σ ↔ σ ∪ u ∈ K
                  theorem Lightlike.PL.SComplex.star_eq_join {V : Type u_1} [DecidableEq V] (K : SComplex V) (σ : Finset V) :
                  K.star σ = (simplex σ).join (K.link σ)

                  The closed star of a face is the join of the face with its link: st(σ) = σ * lk(σ).

                  Injective maps of the vertices, and the lift #

                  def Lightlike.PL.SComplex.map {V : Type u_1} {W : Type u_2} [DecidableEq W] (K : SComplex V) (f : V ↪ W) :

                  The image of K under an injective map f of the vertices. For a permutation of V this is an isomorphic complex.

                  Equations
                  Instances For
                    theorem Lightlike.PL.SComplex.mem_map {V : Type u_1} {W : Type u_2} [DecidableEq W] {K : SComplex V} {f : V ↪ W} {s : Finset W} :
                    s ∈ K.map f ↔ ∃ t ∈ K, Finset.map f t = s
                    @[simp]
                    theorem Lightlike.PL.SComplex.map_mem_map {V : Type u_1} {W : Type u_2} [DecidableEq W] {K : SComplex V} {f : V ↪ W} {t : Finset V} :
                    Finset.map f t ∈ K.map f ↔ t ∈ K
                    theorem Lightlike.PL.SComplex.exists_eq_map_of_mem_map {V : Type u_1} {W : Type u_2} [DecidableEq W] {K : SComplex V} {f : V ↪ W} {s : Finset W} (hs : s ∈ K.map f) :
                    ∃ (t : Finset V), Finset.map f t = s
                    theorem Lightlike.PL.SComplex.eq_map_of {V : Type u_1} {W : Type u_2} [DecidableEq W] {M : SComplex W} {K : SComplex V} {f : V ↪ W} (hM : ∀ s ∈ M, ∃ (t : Finset V), Finset.map f t = s) (h : ∀ (t : Finset V), Finset.map f t ∈ M ↔ t ∈ K) :
                    M = K.map f

                    A complex whose faces are images under f, with preimages exactly the faces of K, is the image of K.

                    theorem Lightlike.PL.SComplex.verts_map {V : Type u_1} [DecidableEq V] {W : Type u_2} [DecidableEq W] (K : SComplex V) (f : V ↪ W) :
                    theorem Lightlike.PL.SComplex.map_map {V : Type u_1} {W : Type u_2} [DecidableEq W] {U : Type u_3} [DecidableEq U] (K : SComplex V) (f : V ↪ W) (g : W ↪ U) :
                    (K.map f).map g = K.map (f.trans g)
                    theorem Lightlike.PL.SComplex.map_congr {V : Type u_1} [DecidableEq V] {W : Type u_2} [DecidableEq W] {K : SComplex V} {f g : V ↪ W} (h : ∀ x ∈ K.verts, f x = g x) :
                    K.map f = K.map g

                    The image depends only on the values of f on the vertices.

                    theorem Lightlike.PL.SComplex.map_simplex {V : Type u_1} {W : Type u_2} [DecidableEq W] (A : Finset V) (f : V ↪ W) :
                    theorem Lightlike.PL.SComplex.map_boundary {V : Type u_1} [DecidableEq V] {W : Type u_2} [DecidableEq W] (A : Finset V) (f : V ↪ W) :
                    theorem Lightlike.PL.SComplex.map_closure {V : Type u_1} [DecidableEq V] {W : Type u_2} [DecidableEq W] (T : Finset (Finset V)) (f : V ↪ W) :

                    The lift of K to the vertex type V ⊕ ℕ, which has an unlimited supply of new vertices. Stellar equivalence of complexes on V is measured after lifting (StellarEquiv), so that it does not depend on how many vertices V has to spare.

                    Equations
                    Instances For

                      Bridge to Mathlib #

                      The faces other than ∅, as a Mathlib PreAbstractSimplicialComplex.

                      Equations
                      Instances For
                        theorem Lightlike.PL.SComplex.toPreAbstract_injective {V : Type u_1} {K L : SComplex V} (hK : ∅ ∈ K) (hL : ∅ ∈ L) (h : K.toPreAbstract = L.toPreAbstract) :
                        K = L

                        The bridge to Mathlib loses nothing on complexes that have at least one face: such a complex is determined by its nonempty faces.