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 #
SComplex V: a finite downward closed family of finite subsets ofV;s ∈ Kfor faces.verts K: the vertices (the elements of faces).simplex A: all subsets ofA;boundary A: all proper subsets ofA. ForAwithn + 1elements these are then-simplexΔⁿand the(n−1)-sphere∂Δⁿ;boundary {x} = {∅}.closure T: the complex generated by a finite familyT(all subsets of members ofT).map K f: the image under an injective mapf : V ↪ Wof the vertices (for a permutation, an isomorphic complex);lift K = map K inl, the same complex onV ⊕ ℕ, where there is an unlimited supply of new vertices.join K L: unions of a face ofKand a face ofL;cone a K = join (simplex {a}) K. No disjointness is assumed in the definition, and for overlapping vertex setsjoinis not Lickorish's join. Every result that uses the join in its usual sense (the exchanges ofLightlike/PL/Exchange.lean,IsSB.boundary_join, Pachner's theorem) assumes disjoint vertex sets.link K σ: the facesudisjoint fromσwithσ ∪ u ∈ K;star K σ: the facesuwithσ ∪ u ∈ K(the closed star).
Main results #
star_eq_join: the closed star of a face is the join of the face with its link.link_cone_apex: the link of the apex of a conea * KisK.link_link: the link ofτin the link ofσis the link ofσ ∪ τ.link_simplex,link_boundary: links in a simplex and in its boundary are again a simplex and a boundary,lk(σ, Δ_A) = Δ_{A∖σ}andlk(σ, ∂Δ_A) = ∂Δ_{A∖σ}.link_closure: the link of a vertex in a complex given by generating faces.toPreAbstract_injective: the bridge to Mathlib forgets nothing on non-void complexes.
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.
The faces, as finite vertex sets.
Every subset of a face is a face.
Instances For
Equations
- Lightlike.PL.SComplex.instMembershipFinset = { mem := fun (K : Lightlike.PL.SComplex V) (s : Finset V) => s ∈ K.faces }
Equations
Vertices #
Simplices, boundaries, closures #
The simplex on the vertex set A: all subsets of A. For #A = n + 1 this is the
n-simplex.
Equations
- Lightlike.PL.SComplex.simplex A = { faces := A.powerset, down := ⋯ }
Instances For
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.
Instances For
The complex generated by a finite family T of vertex sets: all subsets of members.
Equations
- Lightlike.PL.SComplex.closure T = { faces := T.biUnion Finset.powerset, down := ⋯ }
Instances For
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
The cone on K with apex a: the join of the vertex a with K.
Equations
Instances For
Links and stars #
The link of σ in K: the faces u disjoint from σ such that σ ∪ u is a face.
It is the void complex when σ is not a face.
Instances For
The link of the empty face is the whole complex.
The link of a face σ ⊆ A in the simplex on A is the simplex on A ∖ σ.
The link of a proper face σ ⊂ A in the boundary of the simplex on A is the boundary of the
simplex on A ∖ σ.
The link of a vertex in the complex generated by T is generated by the faces of T
through the vertex, with the vertex removed.
Injective maps of the vertices, and the lift #
The image of K under an injective map f of the vertices. For a permutation of V this is
an isomorphic complex.
Equations
- K.map f = { faces := Finset.image (Finset.map f) K.faces, down := ⋯ }
Instances For
A complex whose faces are images under f, with preimages exactly the faces of K, is the
image of K.
The image depends only on the values of f on the vertices.
Links commute with injective maps of the vertices.
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
The bridge to Mathlib loses nothing on complexes that have at least one face: such a complex is determined by its nonempty faces.