Documentation

CslibFrontier.Foundations.Geometry.Polyhedra.Complex

Polytopal complexes, barycentric subdivision, polyhedra, and common refinements #

This module develops finite polytopal complexes (PolytopalComplex), hyperplane-arrangement splitting (splitComplex, ofFinitePolytopes), barycentric subdivision (barycentricSubdivision) yielding a finite Geometry.SimplicialComplex ℝ E, compact polyhedra (IsPolyhedron), closure of polyhedra under unions, intersections, products, affine images, and affine preimages, common refinements of triangulations, and compatible triangulations of finite families of subpolyhedra.

Main definitions #

Main results #

References #

A finite polytopal complex in E is a finite collection of nonempty compact polytopes that contains all nonempty faces of its cells and intersects any two cells in a common face.

The underlying topological space of a polytopal complex.

The polytopal complex consisting of all nonempty faces of a single polytope P.

Convert a finite simplicial complex into a polytopal complex of its simplices.

Refine a polytopal complex by slicing every cell along the affine hyperplane {x | ℓ x = 0}.

theorem Cslib.Polyhedra.PolytopalComplex.splitComplex_signs {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {C : PolytopalComplex E} {ℓ : E →ᵃ[ℝ] ℝ} {Q : Set E} (hQ : Q ∈ (C.splitComplex ℓ).cells) :
(∀ x ∈ Q, ℓ x ≤ 0) ∨ ∀ x ∈ Q, 0 ≤ ℓ x
theorem Cslib.Polyhedra.PolytopalComplex.splitList_signs {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (C : PolytopalComplex E) (ls : List (E →ᵃ[ℝ] ℝ)) {ℓ : E →ᵃ[ℝ] ℝ} (hℓ : ℓ ∈ ls) {Q : Set E} (hQ : Q ∈ (C.splitList ls).cells) :
(∀ x ∈ Q, ℓ x ≤ 0) ∨ ∀ x ∈ Q, 0 ≤ ℓ x
noncomputable def Cslib.Polyhedra.PolytopalComplex.ofFinitePolytopes {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ℱ : Set (Set E)} (hℱ : ℱ.Finite) (hpoly : ∀ P ∈ ℱ, IsPolytope P) :

Given a finite family ℱ of compact convex polytopes, construct a single polytopal complex whose space is ⋃ P ∈ ℱ, P, refining each member of ℱ cleanly along its bounding half-spaces.

theorem Cslib.Polyhedra.PolytopalComplex.space_ofFinitePolytopes {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ℱ : Set (Set E)} (hℱ : ℱ.Finite) (hpoly : ∀ P ∈ ℱ, IsPolytope P) :
(ofFinitePolytopes hℱ hpoly).space = ⋃ P ∈ ℱ, P
theorem Cslib.Polyhedra.PolytopalComplex.ofFinitePolytopes_cell_subset {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ℱ : Set (Set E)} (hℱ : ℱ.Finite) (hpoly : ∀ P ∈ ℱ, IsPolytope P) {Q : Set E} (hQ : Q ∈ (ofFinitePolytopes hℱ hpoly).cells) :
∃ P ∈ ℱ, Q ⊆ P
theorem Cslib.Polyhedra.PolytopalComplex.ofFinitePolytopes_inter_face_and_vertexCentroid {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ℱ : Set (Set E)} (hℱ : ℱ.Finite) (hpoly : ∀ P ∈ ℱ, IsPolytope P) {Q P : Set E} (hQ : Q ∈ (ofFinitePolytopes hℱ hpoly).cells) (hP : P ∈ ℱ) :
IsPolytopeFace Q (Q ∩ P) ∧ (vertexCentroid Q ∈ P → Q ⊆ P)

The barycentric subdivision of a polytopal complex C, realized as a mathlib Geometry.SimplicialComplex ℝ E.

A set P in E is a compact polyhedron if it is the underlying space of a finite simplicial complex (equivalently, a finite union of simplices or polytopes).

theorem Cslib.Polyhedra.isPolyhedron_iff_finite_union_polytopes {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {P : Set E} :
IsPolyhedron P ↔ ∃ (ℱ : Set (Set E)), ℱ.Finite ∧ (∀ Q ∈ ℱ, IsPolytope Q) ∧ P = ⋃ Q ∈ ℱ, Q
theorem Cslib.Polyhedra.IsPolyhedron.biUnion {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ι : Type u_3} {s : Set ι} (hs : s.Finite) {P : ι → Set E} (hP : ∀ i ∈ s, IsPolyhedron (P i)) :
IsPolyhedron (⋃ i ∈ s, P i)
theorem Cslib.Polyhedra.exists_common_refinement_of_finite_complexes {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ι : Type u_3} [Finite ι] [Nonempty ι] {P : Set E} (C : ι → PolytopalComplex E) (hsp : ∀ (i : ι), (C i).space = P) :
∃ (K : Geometry.SimplicialComplex ℝ E), K.faces.Finite ∧ K.space = P ∧ ∀ s ∈ K.faces, ∀ (i : ι), ∃ R ∈ (C i).cells, (convexHull ℝ) ↑s ⊆ R
theorem Cslib.Polyhedra.exists_common_refinement {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (C₁ C₂ : PolytopalComplex E) (hsp : C₁.space = C₂.space) :
∃ (K : Geometry.SimplicialComplex ℝ E), K.faces.Finite ∧ K.space = C₁.space ∧ ∀ s ∈ K.faces, (∃ R₁ ∈ C₁.cells, (convexHull ℝ) ↑s ⊆ R₁) ∧ ∃ R₂ ∈ C₂.cells, (convexHull ℝ) ↑s ⊆ R₂
theorem Cslib.Polyhedra.exists_common_triangulation_of_complexes {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (K₁ K₂ : Geometry.SimplicialComplex ℝ E) (hfin₁ : K₁.faces.Finite) (hfin₂ : K₂.faces.Finite) (hsp : K₁.space = K₂.space) :
∃ (K : Geometry.SimplicialComplex ℝ E), K.faces.Finite ∧ K.space = K₁.space ∧ ∀ s ∈ K.faces, (∃ t₁ ∈ K₁.faces, (convexHull ℝ) ↑s ⊆ (convexHull ℝ) ↑t₁) ∧ ∃ t₂ ∈ K₂.faces, (convexHull ℝ) ↑s ⊆ (convexHull ℝ) ↑t₂
theorem Cslib.Polyhedra.exists_triangulation_compatible_with_subpolyhedra {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ι : Type u_3} [Finite ι] {P : Set E} (hP : IsPolyhedron P) {Q : ι → Set E} (hQ : ∀ (i : ι), IsPolyhedron (Q i)) :
∃ (K : Geometry.SimplicialComplex ℝ E), K.faces.Finite ∧ K.space = P ∧ ∀ (i : ι), ∃ (Kᵢ : Geometry.SimplicialComplex ℝ E), Kᵢ.faces = {s : Finset E | s ∈ K.faces ∧ ↑s ⊆ Q i} ∧ Kᵢ.space = P ∩ Q i

Given a compact polyhedron P and a finite family of compact polyhedra Q i, there is a finite triangulation K of P that simultaneously induces a triangulation of each P ∩ Q i as a subcomplex (in particular of each Q i when Q i ⊆ P). Cited in issue #4325 notes as STOC 1056 Lemma B.1(1) (unverified against the primary manuscript).