diff --git a/Lightlike.lean b/Lightlike.lean index cef402c8..68bad1c0 100644 --- a/Lightlike.lean +++ b/Lightlike.lean @@ -1138,6 +1138,9 @@ import Lightlike.PL.Pachner import Lightlike.PL.PachnerMain import Lightlike.PL.PachnerMoves import Lightlike.PL.PachnerPL +import Lightlike.PL.MoveDimension +import Lightlike.PL.StellarBoundary +import Lightlike.PL.VertexRelabel import Lightlike.PL.Polygon import Lightlike.PL.PolygonInside import Lightlike.PL.PolygonTriangle @@ -1326,6 +1329,9 @@ import Lightlike.PL.Surface import Lightlike.PL.Tests import Lightlike.PL.Tests4 import Lightlike.PL.TestsPachner +import Lightlike.PL.TestsMoveDimension +import Lightlike.PL.TestsStellarBoundary +import Lightlike.PL.TestsVertexRelabel import Lightlike.PL.TestsNewman import Lightlike.PL.TestsPolygon import Lightlike.PL.TestsK33 diff --git a/Lightlike/PL/API-map.md b/Lightlike/PL/API-map.md index 8a3e114e..b4fcf4b5 100644 --- a/Lightlike/PL/API-map.md +++ b/Lightlike/PL/API-map.md @@ -27,7 +27,12 @@ only if they are stellar equivalent" and prove it without topology {3}. Newman's gives the version with PL homeomorphism in place of stellar equivalence: PL homeomorphic complexes are stellar equivalent [21]. Combined with the stellar version, closed combinatorial manifolds are PL homeomorphic exactly when they are related by bistellar moves, for complexes with the empty -face [22]. +face [22]. On a closed combinatorial `n`-manifold every bistellar move `κ(A, B)` has `#A + #B = n + 2`, +so it is a move of Lickorish's Definition 2.3 [72]. No complex is both a stellar ball and a stellar sphere, and +for a stellar `n`-manifold the faces whose link is a stellar ball, and the faces whose link is not a +stellar sphere, are both empty exactly when it is a closed combinatorial `n`-manifold [73]. Relabellings by maps +injective on the vertices preserve stellar equivalence and closed combinatorial manifolds, and +transport bistellar equivalence between complexes on different vertex types [74]. Towards Newman's theorem, the library slices a geometric complex by affine functionals into cells, each with a closed part, an open part and a chosen interior point [8]. For a slicing, the closed @@ -223,6 +228,14 @@ interior point, and of loops about points outside them [66]. The Jordan curve th 70. Lightlike/PL/Realisation.lean - `PL.SComplex.isGeom_real` 71. Lightlike/PL/Links.lean - `PL.SComplex.IsPLSphere.isClosedCombManifold`, `PL.SComplex.IsClosedCombManifold.link_face` +72. Lightlike/PL/MoveDimension.lean - `PL.SComplex.IsClosedCombManifold.card_add_card_of_isBistellar` +73. Lightlike/PL/StellarBoundary.lean - `PL.SComplex.IsStellarBall`, `PL.SComplex.IsStellarSphere`, + `PL.SComplex.not_isStellarBall_and_isStellarSphere`, `PL.SComplex.stellarBoundary`, + `PL.SComplex.stellarBoundary'`, `PL.SComplex.IsCombManifold.stellarBoundary_eq_empty_iff`, + `PL.SComplex.IsCombManifold.stellarBoundary'_eq_empty_iff` +74. Lightlike/PL/VertexRelabel.lean - `PL.SComplex.IsRelabelling`, `PL.SComplex.StellarEquivIn.image_iso`, + `PL.SComplex.StellarEquivIn.image₂`, `PL.SComplex.StellarEquiv.image`, + `PL.SComplex.IsClosedCombManifold.image`, `PL.SComplex.bistellarEquiv_iff_of_isRelabelling` ## References diff --git a/Lightlike/PL/Complex.lean b/Lightlike/PL/Complex.lean index 06bb1e37..ecc2d79d 100644 --- a/Lightlike/PL/Complex.lean +++ b/Lightlike/PL/Complex.lean @@ -54,7 +54,12 @@ open Finset namespace Lightlike.PL /-- 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. -/ +vertex sets closed under subsets. The empty set is a face of every non-void complex. + +Finiteness is needed: the quadrant `[0, ∞)²` cut into unit squares, every square split along its `/` diagonal, +versus every square split along its `\` diagonal, are PL homeomorphic, but no finite sequence of bistellar moves +and isomorphisms joins them. The boundary is essential: on the whole plane the two grids are mirror images, hence +isomorphic. -/ @[ext] structure SComplex (V : Type*) where /-- The faces, as finite vertex sets. -/ diff --git a/Lightlike/PL/MoveDimension.lean b/Lightlike/PL/MoveDimension.lean new file mode 100644 index 00000000..af1e76b2 --- /dev/null +++ b/Lightlike/PL/MoveDimension.lean @@ -0,0 +1,39 @@ +import Lightlike.PL.PachnerPL + +/-! +# The dimension of a bistellar move on a closed combinatorial manifold + +`IsBistellar K A B` asks only that `A` and `B` be nonempty, disjoint, that `lk(A, K) = ∂B` and that +`B` not be a face. On a closed combinatorial `n`-manifold the link of a nonempty face `A` is a sphere +on `n + 2 − #A` vertices (`IsClosedCombManifold.link_face`), and the boundary of the simplex `B` is +a sphere on `#B` vertices; stellar equivalent complexes have the same dimension +(`StellarEquivIn.maxCard_eq`). So `#A + #B = n + 2` +(`IsClosedCombManifold.card_add_card_of_isBistellar`): `A` is an `r`-simplex and `B` an +`(n − r)`-simplex, and on closed combinatorial manifolds the moves are exactly those of Lickorish's +Definition 2.3 (*Simplicial moves on complexes and manifolds*, 1999). +-/ + +open Finset + +namespace Lightlike.PL + +namespace SComplex + +variable {V : Type*} [DecidableEq V] + +/-- **The dimension of a bistellar move**: on a closed combinatorial `n`-manifold, a bistellar move +`κ(A, B)` has `#A + #B = n + 2`, i.e. `dim A + dim B = n`. -/ +theorem IsClosedCombManifold.card_add_card_of_isBistellar {n : ℕ} {K : SComplex V} + (hK : IsClosedCombManifold n K) {A B : Finset V} (h : IsBistellar K A B) : #A + #B = n + 2 := by + obtain ⟨C, hC, hLC⟩ := hK.link_face h.mem h.nonempty_left + rw [h.link_eq, lift_boundary] at hLC + have hA := hK.card_le h.mem + have hCne : C.Nonempty := card_pos.1 (by omega) + have hmc := hLC.maxCard_eq + rw [maxCard_boundary (h.nonempty_right.map), maxCard_boundary hCne, card_map] at hmc + have hB := card_pos.2 h.nonempty_right + omega + +end SComplex + +end Lightlike.PL diff --git a/Lightlike/PL/PachnerMain.lean b/Lightlike/PL/PachnerMain.lean index 88d5ab8e..87510df9 100644 --- a/Lightlike/PL/PachnerMain.lean +++ b/Lightlike/PL/PachnerMain.lean @@ -836,7 +836,12 @@ theorem StellarEquivIn.bistellarEquivIn [Infinite V] {n : ℕ} {K L : SComplex V iff related by bistellar moves** (no renamings of the vertices are needed). The closed combinatorial manifolds are the stellar ones of `Lightlike/PL/Manifold.lean` (Lickorish 1999, Definition 3.1). Lickorish's Theorem 5.9 (Newman, Pachner) has "PL homeomorphic" in place of -"stellar equivalent"; that form is `pachner_plHomeomorphic`, from this theorem and Newman's theorem. -/ +"stellar equivalent"; that form is `pachner_plHomeomorphic`, from this theorem and Newman's theorem. + +The complexes are finite (`SComplex`). Finiteness is needed: the quadrant `[0, ∞)²` cut into unit squares, every square split along its `/` diagonal, +versus every square split along its `\` diagonal, are PL homeomorphic, but no finite sequence of bistellar moves +and isomorphisms joins them. The boundary is essential: on the whole plane the two grids are mirror images, hence +isomorphic. -/ theorem pachner {n : ℕ} {K L : SComplex V} (hK : IsClosedCombManifold n K) : StellarEquiv K L ↔ BistellarEquiv K L := ⟨fun h => StellarEquivIn.bistellarEquivIn h (isMfdIn_false_iff.2 hK), diff --git a/Lightlike/PL/StellarBoundary.lean b/Lightlike/PL/StellarBoundary.lean new file mode 100644 index 00000000..b953394c --- /dev/null +++ b/Lightlike/PL/StellarBoundary.lean @@ -0,0 +1,135 @@ +import Lightlike.PL.Links +import Lightlike.PL.Euler + +/-! +# Balls, spheres and the boundary of a stellar manifold + +Following Lickorish (*Simplicial moves on complexes and manifolds*, 1999, Definition 3.1), a +**stellar ball** is a complex stellar equivalent to a simplex `Δᵐ` (`m ≥ 0`) and a **stellar sphere** +is a complex stellar equivalent to the boundary `∂Δᵐ⁺¹` of a simplex (`m ≥ −1`; the `(−1)`-sphere +`∂Δ⁰ = {∅}` is the link of a top face, as in Lickorish's Definition 2.3). Stellar equivalence is +measured after lifting to `V ⊕ ℕ`, as for `StellarEquiv`. + +* `not_isStellarBall_and_isStellarSphere`: **no complex is both a stellar ball and a stellar sphere**, + in any dimensions: the signed face count (an Euler characteristic, `signedCount`) is a stellar + invariant, `0` for a simplex and `−(−1)^{#A} ≠ 0` for the boundary of the simplex on `A`. +* `stellarBoundary K`: the nonempty faces of `K` whose link is a stellar ball (Lickorish, p. 305); + `stellarBoundary' K`: the nonempty faces whose link is not a stellar sphere. +* `IsCombManifold.stellarBoundary_eq_empty_iff`, `IsCombManifold.stellarBoundary'_eq_empty_iff`: for + a stellar `n`-manifold `K` (`IsCombManifold n K`, Definition 3.1), each boundary is empty exactly + when `K` is a closed combinatorial `n`-manifold. +-/ + +open Finset + +namespace Lightlike.PL + +namespace SComplex + +variable {V : Type*} [DecidableEq V] + +/-- `K` is a **stellar ball**: stellar equivalent (after lifting to `V ⊕ ℕ`) to a simplex on a +nonempty vertex set. -/ +def IsStellarBall (K : SComplex V) : Prop := + ∃ A : Finset (V ⊕ ℕ), A.Nonempty ∧ StellarEquivIn K.lift (simplex A) + +/-- `K` is a **stellar sphere**: stellar equivalent (after lifting to `V ⊕ ℕ`) to the boundary of a +simplex on a nonempty vertex set (the boundary of a single vertex is the `(−1)`-sphere `{∅}`). -/ +def IsStellarSphere (K : SComplex V) : Prop := + ∃ A : Finset (V ⊕ ℕ), A.Nonempty ∧ StellarEquivIn K.lift (boundary A) + +/-- **No complex is both a stellar ball and a stellar sphere**, in any dimensions: a stellar +equivalence preserves the signed face count, which is `0` on a simplex and `−(−1)^{#A} ≠ 0` on the +boundary of the simplex on `A`. -/ +theorem not_isStellarBall_and_isStellarSphere (K : SComplex V) : + ¬ (IsStellarBall K ∧ IsStellarSphere K) := by + rintro ⟨⟨A, hA, hKA⟩, ⟨B, hB, hKB⟩⟩ + have h := StellarEquivIn.signedCount_eq (StellarEquivIn.trans (StellarEquivIn.symm hKA) hKB) + rw [signedCount_simplex hA, signedCount_boundary hB] at h + rcases neg_one_pow_eq_or ℤ #B with h' | h' <;> rw [h'] at h <;> norm_num at h + +/-- A stellar `m`-ball in the sense of `IsPLBall` is a stellar ball. -/ +lemma IsPLBall.isStellarBall {m : ℕ} {K : SComplex V} (h : IsPLBall m K) : K.IsStellarBall := by + obtain ⟨A, hA, hKA⟩ := h + exact ⟨A, card_pos.1 (by omega), hKA⟩ + +/-- A stellar `m`-sphere in the sense of `IsPLSphere` is a stellar sphere. -/ +lemma IsPLSphere.isStellarSphere {m : ℕ} {K : SComplex V} (h : IsPLSphere m K) : K.IsStellarSphere := by + obtain ⟨A, hA, hKA⟩ := h + exact ⟨A, card_pos.1 (by omega), hKA⟩ + +open Classical in +/-- The **boundary** of `K` (Lickorish, p. 305): the nonempty faces of `K` whose link is a stellar +ball. -/ +noncomputable def stellarBoundary (K : SComplex V) : Finset (Finset V) := + K.faces.filter fun σ => σ.Nonempty ∧ (K.link σ).IsStellarBall + +open Classical in +/-- The nonempty faces of `K` whose link is **not a stellar sphere**. -/ +noncomputable def stellarBoundary' (K : SComplex V) : Finset (Finset V) := + K.faces.filter fun σ => σ.Nonempty ∧ ¬ (K.link σ).IsStellarSphere + +open Classical in +lemma mem_stellarBoundary {K : SComplex V} {σ : Finset V} : + σ ∈ K.stellarBoundary ↔ σ ∈ K ∧ σ.Nonempty ∧ (K.link σ).IsStellarBall := by + simp [stellarBoundary] + +open Classical in +lemma mem_stellarBoundary' {K : SComplex V} {σ : Finset V} : + σ ∈ K.stellarBoundary' ↔ σ ∈ K ∧ σ.Nonempty ∧ ¬ (K.link σ).IsStellarSphere := by + simp [stellarBoundary'] + +/-- On a closed combinatorial manifold every nonempty face has a stellar sphere as link. -/ +lemma IsClosedCombManifold.isStellarSphere_link {n : ℕ} {K : SComplex V} (h : IsClosedCombManifold n K) + {σ : Finset V} (hσ : σ ∈ K) (hne : σ.Nonempty) : (K.link σ).IsStellarSphere := by + obtain ⟨A, hA, hLA⟩ := h.link_face hσ hne + have := h.card_le hσ + exact ⟨A, card_pos.1 (by omega), hLA⟩ + +/-- The first boundary lies in the second: a ball is not a sphere. -/ +lemma stellarBoundary_subset (K : SComplex V) : K.stellarBoundary ⊆ K.stellarBoundary' := by + intro σ hσ + rw [mem_stellarBoundary] at hσ + rw [mem_stellarBoundary'] + exact ⟨hσ.1, hσ.2.1, fun hs => not_isStellarBall_and_isStellarSphere _ ⟨hσ.2.2, hs⟩⟩ + +/-- **The boundary of a stellar manifold is empty exactly when the manifold is closed** (balls as +links): for `IsCombManifold n K`, `stellarBoundary K = ∅ ↔ IsClosedCombManifold n K`. -/ +theorem IsCombManifold.stellarBoundary_eq_empty_iff {n : ℕ} {K : SComplex V} (hK : IsCombManifold n K) : + K.stellarBoundary = ∅ ↔ IsClosedCombManifold n K := by + constructor + · intro h0 + rw [isClosedCombManifold_iff] + intro v hv + rcases isCombManifold_iff.1 hK v hv with hs | ⟨A, hA, hLA⟩ + · exact hs + · rcases A.eq_empty_or_nonempty with rfl | hne + · refine ⟨{Sum.inr 0}, by simp [hA.symm], ?_⟩ + rwa [boundary_singleton] + · exfalso + have hm : {v} ∈ K.stellarBoundary := + mem_stellarBoundary.2 ⟨mem_verts.1 hv, singleton_nonempty v, ⟨A, hne, hLA⟩⟩ + rw [h0] at hm + exact notMem_empty _ hm + · intro hc + refine eq_empty_of_forall_notMem fun σ hσ => ?_ + have := stellarBoundary_subset K hσ + rw [mem_stellarBoundary'] at this + exact this.2.2 (hc.isStellarSphere_link this.1 this.2.1) + +/-- **The faces with a non-sphere link**: for a stellar `n`-manifold `K`, +`IsClosedCombManifold n K ↔ stellarBoundary' K = ∅`. -/ +theorem IsCombManifold.stellarBoundary'_eq_empty_iff {n : ℕ} {K : SComplex V} (hK : IsCombManifold n K) : + IsClosedCombManifold n K ↔ K.stellarBoundary' = ∅ := by + constructor + · intro hc + refine eq_empty_of_forall_notMem fun σ hσ => ?_ + rw [mem_stellarBoundary'] at hσ + exact hσ.2.2 (hc.isStellarSphere_link hσ.1 hσ.2.1) + · intro h0 + rw [← hK.stellarBoundary_eq_empty_iff] + exact subset_empty.1 (h0 ▸ stellarBoundary_subset K) + +end SComplex + +end Lightlike.PL diff --git a/Lightlike/PL/TestsMoveDimension.lean b/Lightlike/PL/TestsMoveDimension.lean new file mode 100644 index 00000000..c73a6c0b --- /dev/null +++ b/Lightlike/PL/TestsMoveDimension.lean @@ -0,0 +1,39 @@ +import Lightlike.PL.MoveDimension +import Lightlike.PL.TestsPachner + +/-! +# Trust checks for the dimension of a bistellar move + +* On the boundary of the tetrahedron (a closed combinatorial 2-manifold) the 1-3 move on the + triangle `012` with the new vertex `4` has `#A + #B = 3 + 1 = 4 = n + 2`, as + `IsClosedCombManifold.card_add_card_of_isBistellar` says (non-vacuity). +* Wrong input: on the closed segment `simplex {0, 1}`, which is not a closed combinatorial + manifold, the move subdividing the edge at the new vertex `2` exists and has `#A + #B = 3`, so the + manifold hypothesis is not idle: for `n = 0` it would predict `2`. +-/ + +open Finset + +namespace Lightlike.PL + +open SComplex + +/-- Non-vacuity: the theorem on the 1-3 move of the tetrahedron boundary. -/ +example : #({0, 1, 2} : Finset (Fin 6)) + #({4} : Finset (Fin 6)) = 2 + 2 := + (isClosedCombManifold_boundary (n := 2) (by decide +kernel)).card_add_card_of_isBistellar oct₁ + +/-- The edge subdivision of a closed segment: a bistellar move with `#A + #B = 3`. -/ +lemma segment_move : (simplex ({0, 1} : Finset (Fin 3))).IsBistellar {0, 1} {2} where + nonempty_left := by decide +kernel + nonempty_right := by decide +kernel + disjoint := by decide +kernel + link_eq := by apply SComplex.ext; decide +kernel + notMem := by decide +kernel + +/-- The closed segment is not a closed combinatorial `0`-manifold: the conclusion `#A + #B = 2` +fails for its edge subdivision. -/ +example : ¬ IsClosedCombManifold 0 (simplex ({0, 1} : Finset (Fin 3))) := fun h => by + have := h.card_add_card_of_isBistellar segment_move + simp at this + +end Lightlike.PL diff --git a/Lightlike/PL/TestsStellarBoundary.lean b/Lightlike/PL/TestsStellarBoundary.lean new file mode 100644 index 00000000..7a2e4b2c --- /dev/null +++ b/Lightlike/PL/TestsStellarBoundary.lean @@ -0,0 +1,55 @@ +import Lightlike.PL.StellarBoundary + +/-! +# Trust checks for stellar balls, spheres and the boundary + +* The triangle is a stellar ball and not a stellar sphere; its boundary is a stellar sphere and not + a stellar ball; `{∅}` (the `(−1)`-sphere) is a stellar sphere. +* The boundary of the tetrahedron (a closed combinatorial 2-manifold) has empty boundary. +* The triangle is a stellar 2-manifold whose boundary is not empty: the link of a vertex is an edge, + a ball, so it is not a closed combinatorial 2-manifold. +-/ + +open Finset + +namespace Lightlike.PL + +open SComplex + +lemma isStellarBall_triangle : (simplex ({0, 1, 2} : Finset (Fin 4))).IsStellarBall := + ⟨({0, 1, 2} : Finset (Fin 4)).map Function.Embedding.inl, by simp, by + rw [lift_simplex]⟩ + +example : ¬ (simplex ({0, 1, 2} : Finset (Fin 4))).IsStellarSphere := fun h => + not_isStellarBall_and_isStellarSphere _ ⟨isStellarBall_triangle, h⟩ + +lemma isStellarSphere_circle : (boundary ({0, 1, 2} : Finset (Fin 4))).IsStellarSphere := + ⟨({0, 1, 2} : Finset (Fin 4)).map Function.Embedding.inl, by simp, by + rw [lift_boundary]⟩ + +example : ¬ (boundary ({0, 1, 2} : Finset (Fin 4))).IsStellarBall := fun h => + not_isStellarBall_and_isStellarSphere _ ⟨h, isStellarSphere_circle⟩ + +/-- `{∅}` is the `(−1)`-sphere, the boundary of a single vertex. -/ +example : (simplex (∅ : Finset (Fin 4))).IsStellarSphere := + ⟨{Sum.inr 0}, by simp, by + rw [lift_simplex, map_empty, ← boundary_singleton (Sum.inr 0 : Fin 4 ⊕ ℕ)]⟩ + +/-- Non-vacuity: the boundary of the tetrahedron has empty boundary. -/ +example : (boundary ({0, 1, 2, 3} : Finset (Fin 4))).stellarBoundary = ∅ := by + have hc := isClosedCombManifold_boundary (n := 2) (A := ({0, 1, 2, 3} : Finset (Fin 4))) (by decide) + exact (hc.isCombManifold.stellarBoundary_eq_empty_iff).2 hc + +/-- The triangle is not closed: its boundary is not empty. -/ +example : (simplex ({0, 1, 2} : Finset (Fin 4))).stellarBoundary ≠ ∅ := by + intro h + have hm := isCombManifold_simplex (n := 2) (A := ({0, 1, 2} : Finset (Fin 4))) (by decide) + have hc := (hm.stellarBoundary_eq_empty_iff).1 h + have hlk : (simplex ({0, 1, 2} : Finset (Fin 4))).link {0} = simplex {1, 2} := by + apply SComplex.ext; decide +kernel + have hs := hc.isStellarSphere_link (σ := {0}) (by decide) (by decide) + rw [hlk] at hs + refine not_isStellarBall_and_isStellarSphere _ ⟨⟨({1, 2} : Finset (Fin 4)).map Function.Embedding.inl, by simp, ?_⟩, hs⟩ + rw [lift_simplex] + +end Lightlike.PL diff --git a/Lightlike/PL/TestsVertexRelabel.lean b/Lightlike/PL/TestsVertexRelabel.lean new file mode 100644 index 00000000..d13b5dc5 --- /dev/null +++ b/Lightlike/PL/TestsVertexRelabel.lean @@ -0,0 +1,71 @@ +import Lightlike.PL.VertexRelabel +import Lightlike.PL.TestsPachner + +/-! +# Trust checks for relabellings + +* The transport theorem relates complexes on different vertex types: the boundaries of the + triangles on `{0, 1, 2}` and on `{5, 6, 7}` in `ℕ`, two relabellings of the boundary of the + triangle on `Fin 4`, are bistellar equivalent (non-vacuity of + `bistellarEquiv_iff_of_isRelabelling`). +* A relabelling of a closed combinatorial 1-manifold is one (`IsClosedCombManifold.image`). +* Wrong input: the map sending every vertex to `0` is not injective on the vertices, and the image of + the boundary of the triangle under it is the single vertex `{0}`, which is not a closed + combinatorial 1-manifold: injectivity on the vertices cannot be dropped. +-/ + +open Finset + +namespace Lightlike.PL + +open SComplex + +/-- The boundary of the triangle on `Fin 4`. -/ +abbrev triangle4 : SComplex (Fin 4) := boundary {0, 1, 2} + +lemma isClosedCombManifold_triangle4 : IsClosedCombManifold 1 triangle4 := + isClosedCombManifold_boundary (by decide) + +lemma injOn_val : Set.InjOn (fun i : Fin 4 => (i : ℕ)) triangle4.verts := fun _ _ _ _ h => Fin.ext h + +lemma injOn_val5 : Set.InjOn (fun i : Fin 4 => (i : ℕ) + 5) triangle4.verts := fun _ _ _ _ h => + Fin.ext (by simpa using h) + +/-- Non-vacuity: two triangles on disjoint vertex sets of `ℕ` are bistellar equivalent, by transport +from `Fin 4`. -/ +example : BistellarEquiv (triangle4.image fun i => (i : ℕ)) (triangle4.image fun i => (i : ℕ) + 5) := + (bistellarEquiv_iff_of_isRelabelling ⟨_, injOn_val, rfl⟩ ⟨_, injOn_val5, rfl⟩ + isClosedCombManifold_triangle4).1 (BistellarEquivIn.refl _) + +example : IsClosedCombManifold 1 (triangle4.image fun i => (i : ℕ) + 5) := + isClosedCombManifold_triangle4.image injOn_val5 + +/-- Wrong input: a map that is not injective on the vertices collapses the triangle to a point, +which is not a closed combinatorial 1-manifold. -/ +example : ¬ IsClosedCombManifold 1 (triangle4.image fun _ => (0 : ℕ)) := by + intro h + rw [isClosedCombManifold_iff] at h + have hv : (0 : ℕ) ∈ (triangle4.image fun _ => (0 : ℕ)).verts := by + rw [verts_image]; exact Finset.mem_image.2 ⟨0, by rw [verts_boundary (by decide)]; decide, rfl⟩ + obtain ⟨A, hA, hLA⟩ := h 0 hv + have hlk : (triangle4.image fun _ => (0 : ℕ)).link {0} = simplex ∅ := by + refine ext_mem fun s => ?_ + rw [mem_link', mem_simplex, subset_empty] + constructor + · rintro ⟨hd, hs⟩ + obtain ⟨t, -, ht⟩ := SComplex.mem_image.1 hs + refine eq_empty_of_forall_notMem fun x hx => ?_ + have : x ∈ t.image fun _ => (0 : ℕ) := by rw [ht]; exact mem_union_right _ hx + obtain ⟨-, -, rfl⟩ := Finset.mem_image.1 this + exact disjoint_singleton_left.1 hd hx + · rintro rfl + refine ⟨disjoint_empty_right _, ?_⟩ + rw [union_empty] + exact SComplex.mem_image.2 ⟨{0}, by rw [mem_boundary]; decide, by simp⟩ + rw [hlk, lift_simplex, map_empty] at hLA + have := hLA.maxCard_eq + rw [maxCard_simplex, maxCard_boundary (card_pos.1 (by omega))] at this + simp at this + omega + +end Lightlike.PL diff --git a/Lightlike/PL/VertexRelabel.lean b/Lightlike/PL/VertexRelabel.lean new file mode 100644 index 00000000..915e7e05 --- /dev/null +++ b/Lightlike/PL/VertexRelabel.lean @@ -0,0 +1,209 @@ +import Lightlike.PL.ImageSB +import Lightlike.PL.PachnerPL + +/-! +# Relabelling the vertices by maps injective on the vertex set + +A **relabelling** of a complex `K` on `V` along `f : V → W` is the image `K.image f` for a map that +is injective on the vertices of `K` only (`Set.InjOn f K.verts`), not an embedding of the vertex +types; `IsRelabelling K C` says that `C` is such a relabelling of `K`. + +* `StellarEquivIn.image_iso`: two injective images of one complex inside an infinite vertex type + are stellar equivalent (they are isomorphic). +* `StellarEquiv.image`: relabellings carry stellar equivalent complexes to stellar equivalent + complexes, across vertex types. +* `IsClosedCombManifold.image`: a relabelling of a closed combinatorial `n`-manifold is one. +* `bistellarEquiv_iff_of_isRelabelling`: **transport of bistellar equivalence**: if `C`, `D` (on `W`) + are relabellings of `A`, `B` (on `V`) and `A` is a closed combinatorial `n`-manifold, then `A` and + `B` are bistellar equivalent exactly when `C` and `D` are. +-/ + +open Finset + +namespace Lightlike.PL + +namespace SComplex + +variable {V W : Type*} [DecidableEq V] [DecidableEq W] + +/-- `C` is a **relabelling** of `K`: the image of `K` under a map injective on the vertices of `K`. -/ +def IsRelabelling (K : SComplex V) (C : SComplex W) : Prop := + ∃ f : V → W, Set.InjOn f K.verts ∧ C = K.image f + +/-- Images only depend on the map on the vertices. -/ +lemma image_congr_verts {K : SComplex V} {f g : V → W} (h : ∀ x ∈ K.verts, f x = g x) : + K.image f = K.image g := by + refine ext_mem fun s => ?_ + simp only [mem_image] + refine exists_congr fun t => and_congr_right fun ht => ?_ + rw [Finset.image_congr fun x hx => h x (subset_verts ht hx)] + +/-- The lift of an image is the image of the lift. -/ +lemma lift_image (K : SComplex V) (f : V → W) : (K.image f).lift = K.lift.image (Sum.map f id) := by + unfold lift + refine ext_mem fun s => ?_ + simp only [mem_map, mem_image] + constructor + · rintro ⟨_, ⟨t, ht, rfl⟩, rfl⟩ + refine ⟨t.map Function.Embedding.inl, ⟨t, ht, rfl⟩, ?_⟩ + ext y; simp + · rintro ⟨_, ⟨t, ht, rfl⟩, rfl⟩ + refine ⟨t.image f, ⟨t, ht, rfl⟩, ?_⟩ + ext y; simp + +omit [DecidableEq W] in +/-- A relabelling of `K` lifts to a map injective on the vertices of the lift. -/ +lemma injOn_sumMap {K : SComplex V} {f : V → W} (hf : Set.InjOn f K.verts) : + Set.InjOn (Sum.map f (id : ℕ → ℕ)) (K.lift.verts : Set (V ⊕ ℕ)) := by + rw [verts_lift] + rintro _ hx _ hy he + simp only [coe_map, Function.Embedding.inl_apply, Set.mem_image, mem_coe] at hx hy + obtain ⟨x, hx, rfl⟩ := hx + obtain ⟨y, hy, rfl⟩ := hy + simp only [Sum.map_inl, Sum.inl.injEq] at he + rw [hf hx hy he] + +/-- **Isomorphic images are stellar equivalent**: two images of one complex under maps injective on +its vertices, inside an infinite vertex type. -/ +theorem StellarEquivIn.image_iso [Infinite W] [Nonempty V] (P : SComplex V) {φ ψ : V → W} + (hφ : Set.InjOn φ P.verts) (hψ : Set.InjOn ψ P.verts) : + StellarEquivIn (P.image φ) (P.image ψ) := by + classical + set θ : W → W := ψ ∘ Function.invFunOn φ P.verts with hθ + have hθφ : ∀ x ∈ P.verts, θ (φ x) = ψ x := fun x hx => by + simp only [hθ, Function.comp_apply, hφ.leftInvOn_invFunOn (mem_coe.2 hx)] + have hinj : Set.InjOn θ (P.image φ).verts := by + rw [verts_image] + intro a ha b hb hab + simp only [coe_image, Set.mem_image, mem_coe] at ha hb + obtain ⟨x, hx, rfl⟩ := ha + obtain ⟨y, hy, rfl⟩ := hb + rw [hθφ x hx, hθφ y hy] at hab + rw [hψ (mem_coe.2 hx) (mem_coe.2 hy) hab] + have himg : (P.image ψ).faces = (P.image φ).faces.image (Finset.image θ) := by + have := image_image_eq P φ θ + rw [image_congr_verts (f := θ ∘ φ) (g := ψ) (fun x hx => hθφ x hx)] at this + rw [← this]; rfl + obtain ⟨e, he⟩ := exists_perm_eq_of_iso hinj himg + rw [← he] + exact StellarEquivIn.map_perm _ e + +/-- **An inverse relabelling**: for `f` injective on the vertices of `P`, a map back that is +injective on the vertices of `P.image f` and undoes the relabelling. -/ +lemma exists_inv_relabel [Nonempty V] {P : SComplex V} {f : V → W} (hf : Set.InjOn f P.verts) : + ∃ g : W → V, Set.InjOn g (P.image f).verts ∧ (P.image f).image g = P := by + classical + set g : W → V := Function.invFunOn f P.verts with hg + have hgf : ∀ x ∈ P.verts, g (f x) = x := fun x hx => hf.leftInvOn_invFunOn (mem_coe.2 hx) + refine ⟨g, ?_, ?_⟩ + · rw [verts_image] + intro a ha b hb hab + simp only [coe_image, Set.mem_image, mem_coe] at ha hb + obtain ⟨x, hx, rfl⟩ := ha + obtain ⟨y, hy, rfl⟩ := hb + rw [hgf x hx, hgf y hy] at hab + rw [hab] + · rw [image_image_eq] + exact image_eq_self_of_fixed fun x hx => hgf x hx + +/-- **Relabellings preserve stellar equivalence inside an infinite type**: if `P` and `Q` are +stellar equivalent inside `V` and `φ`, `ψ` are injective on their vertices, then `P.image φ` and +`Q.image ψ` are stellar equivalent inside the infinite type `W`. -/ +theorem StellarEquivIn.image₂ [Infinite W] [Nonempty V] {P Q : SComplex V} (h : StellarEquivIn P Q) + {φ ψ : V → W} (hφ : Set.InjOn φ P.verts) (hψ : Set.InjOn ψ Q.verts) : + StellarEquivIn (P.image φ) (Q.image ψ) := by + classical + obtain ⟨φ', hφ', hφ'P⟩ := exists_inv_relabel hφ + have h' : StellarEquivIn ((P.image φ).image φ') Q := by rw [hφ'P]; exact h + obtain ⟨g', hg', hD⟩ := exists_rename hφ' h' Q.verts + exact hD.trans (StellarEquivIn.image_iso Q hg' hψ) + +/-- **Relabellings preserve stellar equivalence**, across vertex types: if `K` and `L` are stellar +equivalent and `f`, `g` are injective on the vertices of `K` and of `L`, then `K.image f` and +`L.image g` are stellar equivalent. -/ +theorem StellarEquiv.image {K L : SComplex V} (h : StellarEquiv K L) {f g : V → W} + (hf : Set.InjOn f K.verts) (hg : Set.InjOn g L.verts) : StellarEquiv (K.image f) (L.image g) := by + unfold StellarEquiv + rw [lift_image, lift_image] + exact StellarEquivIn.image₂ h (injOn_sumMap hf) (injOn_sumMap hg) + +/-- Under a map injective on the vertices, a vertex set of `K` is a face of the image exactly when it +is a face of `K`. -/ +lemma image_mem_image_iff {K : SComplex V} {f : V → W} (hf : Set.InjOn f K.verts) {t : Finset V} + (ht : (t : Set V) ⊆ K.verts) : t.image f ∈ K.image f ↔ t ∈ K := by + refine ⟨fun h => ?_, image_mem_image⟩ + obtain ⟨u, hu, he⟩ := mem_image.1 h + have hu' : (u : Set V) ⊆ K.verts := fun x hx => subset_verts hu hx + rw [← coe_inj, coe_image, coe_image, hf.image_eq_image_iff hu' ht, coe_inj] at he + rwa [he] at hu + +/-- **Links commute with relabellings**: the link of `f v` in `K.image f` is the image of the link +of `v`. -/ +lemma image_link_singleton {K : SComplex V} {f : V → W} (hf : Set.InjOn f K.verts) {v : V} + (hv : v ∈ K.verts) : (K.image f).link {f v} = (K.link {v}).image f := by + have sub : ∀ t ∈ K, (t : Set V) ⊆ K.verts := fun t ht x hx => subset_verts ht hx + refine ext_mem fun s => ?_ + rw [mem_link'] + constructor + · rintro ⟨hd, hs⟩ + obtain ⟨t, ht, rfl⟩ := mem_image.1 (down_mem hs subset_union_right) + have hvt : v ∉ t := fun h => disjoint_singleton_left.1 hd (Finset.mem_image_of_mem f h) + have hsub : (({v} ∪ t : Finset V) : Set V) ⊆ K.verts := by + rw [coe_union, coe_singleton] + exact Set.union_subset (Set.singleton_subset_iff.2 (mem_coe.2 hv)) (sub t ht) + rw [← image_singleton f v, ← image_union, image_mem_image_iff hf hsub] at hs + exact mem_image.2 ⟨t, mem_link'.2 ⟨disjoint_singleton_left.2 hvt, hs⟩, rfl⟩ + · intro hs + obtain ⟨t, ht, rfl⟩ := mem_image.1 hs + obtain ⟨hd, hvt⟩ := mem_link'.1 ht + refine ⟨disjoint_singleton_left.2 fun hm => ?_, ?_⟩ + · obtain ⟨y, hy, hyv⟩ := Finset.mem_image.1 hm + have hyK : y ∈ K.verts := subset_verts (down_mem hvt subset_union_right) hy + rw [hf (mem_coe.2 hyK) (mem_coe.2 hv) hyv] at hy + exact disjoint_singleton_left.1 hd hy + · rw [← image_singleton f v, ← image_union] + exact image_mem_image hvt + +/-- **Relabellings preserve closed combinatorial manifolds**: if `K` is a closed combinatorial +`n`-manifold and `f` is injective on the vertices of `K`, then `K.image f` is one. -/ +theorem IsClosedCombManifold.image {n : ℕ} {K : SComplex V} (hK : IsClosedCombManifold n K) {f : V → W} + (hf : Set.InjOn f K.verts) : IsClosedCombManifold n (K.image f) := by + rw [isClosedCombManifold_iff] at hK ⊢ + intro w hw + rw [verts_image, Finset.mem_image] at hw + obtain ⟨v, hv, rfl⟩ := hw + rw [image_link_singleton hf hv] + have hfl : Set.InjOn f (K.link {v}).verts := hf.mono fun x hx => by + have h1 := mem_verts.1 (mem_coe.1 hx) + exact subset_verts (mem_link'.1 h1).2 (mem_union_right _ (mem_singleton_self x)) + obtain ⟨g, hg, hgK⟩ := exists_inv_relabel (injOn_sumMap hfl) + rw [← lift_image] at hg hgK + obtain ⟨A, hA, hLA⟩ := hK v hv + have hsb : IsSB false n (((K.link {v}).image f).lift.image g) := by rw [hgK]; exact .inl ⟨A, hA, hLA⟩ + rcases isSB_of_image hg hsb with h | ⟨hb, -⟩ + · exact h + · exact absurd hb (by decide) + +/-- **Transport of bistellar equivalence along relabellings**: let `C` and `D` be relabellings of +`A` and `B` (by maps injective on their vertices, into another vertex type). If `A` is a closed +combinatorial `n`-manifold, then `A` and `B` are bistellar equivalent exactly when `C` and `D` are. -/ +theorem bistellarEquiv_iff_of_isRelabelling {n : ℕ} {A B : SComplex V} {C D : SComplex W} + (hAC : IsRelabelling A C) (hBD : IsRelabelling B D) (hA : IsClosedCombManifold n A) : + BistellarEquiv A B ↔ BistellarEquiv C D := by + obtain ⟨f, hf, rfl⟩ := hAC + obtain ⟨g, hg, rfl⟩ := hBD + have hC := hA.image hf + rw [← pachner hA, ← pachner hC] + refine ⟨fun h => h.image hf hg, fun h => ?_⟩ + have hf' := injOn_sumMap hf + have hg' := injOn_sumMap hg + obtain ⟨f', hf'i, hf'A⟩ := exists_inv_relabel hf' + obtain ⟨g', hg'i, hg'B⟩ := exists_inv_relabel hg' + unfold StellarEquiv at h ⊢ + rw [lift_image, lift_image] at h + have := StellarEquivIn.image₂ h hf'i hg'i + rwa [hf'A, hg'B] at this + +end SComplex + +end Lightlike.PL diff --git a/docs/cards/LL-0023-pachner.md b/docs/cards/LL-0023-pachner.md index 6a432507..e2b95252 100644 --- a/docs/cards/LL-0023-pachner.md +++ b/docs/cards/LL-0023-pachner.md @@ -3,7 +3,7 @@ | | | |---|---| | Result | `Lightlike.PL.SComplex.pachner`, entry LL-0023 (`main: true`, milestone PL2 item m1) | -| File | `Lightlike/PL/PachnerMain.lean`, line 840 (main at `eeba9873b`) | +| File | `Lightlike/PL/PachnerMain.lean`, line 845 | | Source | W. B. R. Lickorish, *Simplicial moves on complexes and manifolds*, Geometry & Topology Monographs 2 (1999), arXiv:math/9911256, Theorem 5.9 (p. 315) | | Card written | 27 Nov 2026, from the text of the paper (read) and the Lean files named below (read) | @@ -61,7 +61,7 @@ theorem pachner_plHomeomorphic {n : ℕ} {K L : SComplex V} (hK : IsClosedCombMa | `K.starAt A a` | faces of `K` not containing `A`, plus the cone from `a` over the faces `s` with `¬ A ⊆ s` and `A ∪ s ∈ K` | the stellar subdivision (A, a)K | | `StellarStep K L` | `L = K.starAt A a` with `A ∈ K` nonempty and `a ∉ K.verts` | one starring | | `StellarEquivIn K L` | `Relation.EqvGen StellarStep`: subdivisions and welds with new vertices in `V` | stellar equivalent (without the isomorphism steps) | -| `K.lift` | `K` with its vertices put into `V ⊕ ℕ` by `Sum.inl`: an unlimited supply of new vertices | none (Lickorish: "a is just a vertex not in K") | +| `K.lift` | `K` with its vertices put into `V ⊕ ℕ` by `Sum.inl`: an unlimited supply of new vertices (`SComplex.lift`, `Lightlike/PL/Complex.lean`, line 470) | none (Lickorish: "a is just a vertex not in K") | | `StellarEquiv K L` | `StellarEquivIn K.lift L.lift` | K ∼ L | | `IsBistellar K A B` | `A`, `B` nonempty, disjoint, `K.link A = boundary B`, `B ∉ K` | the hypotheses of Def 2.3 | | `K.bistellar A B h` | faces of `K` not containing `A`, plus `t ∪ B` for the proper subsets `t` of `A` | κ(A, B): remove A⋆∂B, insert ∂A⋆B | @@ -74,12 +74,13 @@ theorem pachner_plHomeomorphic {n : ℕ} {K L : SComplex V} (hK : IsClosedCombMa ## 4. Differences from the source 1. **Stellar equivalence in place of PL homeomorphism** (kind: REPRESENTATION, with the PL form proved separately). Lickorish's Theorem 4.5 says the two are the same for n-dimensional complexes; Lean has that as Newman's theorem (LL-0064, `StellarEquiv.of_plHomeomorphic`) and combines the two in `pachner_plHomeomorphic`. `pachner` is the stellar half only; it is what Lickorish's proof establishes after its first line. -2. **Manifold notion** (kind: REPRESENTATION). Lean's closed combinatorial manifold has every vertex link stellar equivalent to `∂Δⁿ`, i.e. a stellar sphere: Lickorish's Def 3.1 with ball links excluded. Lickorish's Theorem 5.9 uses Def 2.2 (PL balls and spheres) and "closed". PROXY: reading "closed" as "∂M = ∅", a vertex with ball link would lie in ∂M, and ∂M is a subcomplex (his remark on p. 305), so "closed" = "every vertex link is a sphere". The two readings of "sphere" agree by Theorem 4.5; Lean proves it as `isClosedCombManifold_iff_plHomeomorphic`. -3. **No isomorphism steps** (kind: REPRESENTATION). Def 5.6 and the definition of stellar equivalence list simplicial isomorphisms among the moves. Lean's `StellarEquiv` and `BistellarEquiv` have none; new vertices come from `V ⊕ ℕ`, and renamings are derived: `StellarEquiv.map_perm`, `IsClosedCombManifold.bistellarEquiv_map` (a closed combinatorial manifold is bistellar equivalent to its renaming by any `e : Equiv.Perm V`), and `IsClosedCombManifold.bistellarEquiv_of_iso`. +2. **Manifold notion** (kind: REPRESENTATION, now a proven theorem). Lean's closed combinatorial manifold has every vertex link stellar equivalent to `∂Δⁿ`, i.e. a stellar sphere: Lickorish's Def 3.1 with ball links excluded. Lickorish's Theorem 5.9 uses Def 2.2 (PL balls and spheres) and "closed". Proven (`Lightlike/PL/StellarBoundary.lean`): with stellar balls the complexes stellar equivalent to some `Δᵐ` and stellar spheres those stellar equivalent to some `∂Δᵐ⁺¹` (including the `(−1)`-sphere `{∅}`, the link of a top face), no complex is both (`not_isStellarBall_and_isStellarSphere`, from the signed face count, an Euler characteristic); and for a stellar `n`-manifold `K` (`IsCombManifold n K`, Def 3.1) the boundary `stellarBoundary K` (the nonempty faces whose link is a stellar ball, Lickorish p. 305) is empty iff `IsClosedCombManifold n K` iff `stellarBoundary' K` (the nonempty faces whose link is not a stellar sphere) is empty (`IsCombManifold.stellarBoundary_eq_empty_iff`, `IsCombManifold.stellarBoundary'_eq_empty_iff`). So "closed" in Lickorish's sense, "∂M = ∅", is the library's notion. The two readings of "sphere" agree by Theorem 4.5; Lean proves it as `isClosedCombManifold_iff_plHomeomorphic`. +3. **No isomorphism steps** (kind: REPRESENTATION, now proven theorems). Def 5.6 and the definition of stellar equivalence list simplicial isomorphisms among the moves. Lean's `StellarEquiv` and `BistellarEquiv` have none; new vertices come from `V ⊕ ℕ` (`SComplex.lift`), and isomorphisms are theorems. Within one vertex type: `StellarEquiv.map_perm`, `IsClosedCombManifold.bistellarEquiv_map` (a closed combinatorial manifold is bistellar equivalent to its renaming by any `e : Equiv.Perm V`) and `IsClosedCombManifold.bistellarEquiv_of_iso`. Across vertex types (`Lightlike/PL/VertexRelabel.lean`): a relabelling of `K` along `f : V → W` is `K.image f` for `f` injective on the vertices of `K` only (`IsRelabelling`); relabellings preserve stellar equivalence (`StellarEquiv.image`) and closed combinatorial manifolds (`IsClosedCombManifold.image`), and if `C`, `D` are relabellings of `A`, `B` with `A` a closed combinatorial `n`-manifold, then `BistellarEquiv A B ↔ BistellarEquiv C D` (`bistellarEquiv_iff_of_isRelabelling`). Lickorish's relation itself, the equivalence generated by bistellar moves and relabellings, is not defined in the library: with "PL homeomorphic" in the same chain the statement fails for the void complex, which is vacuously a closed combinatorial manifold and PL homeomorphic to `{∅}` but related to it by no move or relabelling; the hypotheses for that form are pending. 4. **Hypothesis only on `K`, and only for one direction.** `BistellarEquiv K L → StellarEquiv K L` holds for every `K`, `L` (`BistellarEquiv.stellarEquiv`). The other direction needs `hK`; that `L` is then also a closed combinatorial manifold is not assumed, it follows from stellar equivalence (`isMfdIn_iff_of_stellarEquivIn` in the proof). -5. **Dimension of the move** (kind: REPRESENTATION). Def 2.3 asks `A` to be an r-simplex and `B` an (n−r)-simplex. `IsBistellar` only asks both nonempty, so it is a wider relation than Def 2.3 on arbitrary complexes. PROXY: on a closed n-manifold the condition `link A = ∂B` fixes the dimension of `B`, so on the theorem's domain the two agree; the card does not prove this. The `←` direction of `pachner` holds for the wider relation (it does not use `hK`). +5. **Dimension of the move** (kind: REPRESENTATION, now a proven theorem). Def 2.3 asks `A` to be an r-simplex and `B` an (n−r)-simplex. `IsBistellar` only asks both nonempty, so it is a wider relation than Def 2.3 on arbitrary complexes. Proven: on a closed combinatorial `n`-manifold every bistellar move has `#A + #B = n + 2`, i.e. `dim A + dim B = n` (`IsClosedCombManifold.card_add_card_of_isBistellar`, `Lightlike/PL/MoveDimension.lean`), so on the theorem's domain the two agree. The `←` direction of `pachner` holds for the wider relation (it does not use `hK`). 6. **Complexes with no vertices.** `IsClosedCombManifold n K` holds vacuously for such `K`, so the theorem covers them without a case split; Lickorish's statement is about manifolds with vertices. 7. **Proof shape.** Not a difference of statement: the file's header says it follows Lickorish's induction (proof of Theorem 5.9) on the commutation of exchanges (`exch_comm`, `exchStmt`) down to `bistellarEquivIn_starAt`. +8. **Finite complexes.** Every `SComplex` is finite (its faces are a `Finset`), and finiteness is needed: the quadrant `[0, ∞)²` cut into unit squares, every square split along its `/` diagonal, versus every square split along its `\` diagonal, are PL homeomorphic, but no finite sequence of bistellar moves and isomorphisms joins them. The boundary is essential: on the whole plane the two grids are mirror images, hence isomorphic. ## 5. Why each hypothesis is needed @@ -91,6 +92,7 @@ theorem pachner_plHomeomorphic {n : ℕ} {K L : SComplex V} (hK : IsClosedCombMa ## 6. Trust checks - **Axioms.** MEASURED (27 Nov 2026, `lake env lean` on the seed build of `eeba9873b`): `#print axioms Lightlike.PL.SComplex.pachner` and `…pachner_plHomeomorphic` both give `[propext, Classical.choice, Quot.sound]`. The repository's axiom audit covers every constant of the library; `TestsPachner.lean` is imported by `Lightlike.lean`. +- **Axioms of the theorems for differences 2, 3, 5.** MEASURED (28 Nov 2026, `lake env lean`, `#print axioms`): `IsClosedCombManifold.card_add_card_of_isBistellar`, `not_isStellarBall_and_isStellarSphere`, `IsCombManifold.stellarBoundary_eq_empty_iff`, `IsCombManifold.stellarBoundary'_eq_empty_iff`, `StellarEquiv.image`, `IsClosedCombManifold.image` and `bistellarEquiv_iff_of_isRelabelling` each give `[propext, Classical.choice, Quot.sound]`. Their trust checks are in `TestsMoveDimension.lean`, `TestsStellarBoundary.lean` and `TestsVertexRelabel.lean`. - **Known values and wrong inputs** (`Lightlike/PL/TestsPachner.lean`, in the library build): `bistellarEquiv_octahedron` and the explicit four-move chain `bistellarChain_octahedron` (octahedron to the boundary of a tetrahedron; two 1–3 moves and two 2–2 flips, by `decide`); `not_bistellarEquiv_twoSpheres` and `not_bistellarEquiv_dim` (the boundary of a tetrahedron is not bistellar equivalent to two disjoint 2-spheres or to the boundary of a 4-simplex); `bistellarChain_rename` and `bistellarEquiv_map_octahedron` (renaming is a chain of bistellar moves, as `bistellarEquiv_map` predicts); `move3_S3`, `move4_K3` (the corollaries `pachner3`, `pachner4` on the tests of `PonzanoRegge/` and `FourD/`); `move3_cell16`, `move4_cross5` (independently built triangulations: the 16-cell and the 5-dimensional cross-polytope). - **Non-vacuity of the PL form.** `PachnerPL.lean` ends with an `example`: the boundary of a triangle and its subdivision at a new vertex are bistellar equivalent. - **Not done by this card.** The theorem is a main theorem of milestone PL2, not a comparator proof task, and the card did not re-run the build or the gate; the checks above are the file's own, listed as written in `TestsPachner.lean`'s header plus the measured axiom list. diff --git a/docs/related-work.md b/docs/related-work.md index 8429a585..21bcdf6e 100644 --- a/docs/related-work.md +++ b/docs/related-work.md @@ -15,6 +15,9 @@ reconstruction theorem); [grlab](https://github.com/BrandonMYates/grlab) (curvat and exact solutions of Einstein's equations); and [aqft-lean](https://github.com/Deicyde/aqft-lean) (algebraic quantum field theory, from pseudo-Riemannian geometry and Minkowski spacetime). +The library's simplicial complexes (`SComplex`, `Lightlike/PL/Complex.lean`) are independent of Mathlib's +simplicial complexes; upstreaming them would need a rework. + In the physics literature, the spin-foam and Regge parts follow two lines of work (IDs from the [catalog](RESULTS.md)). From covariant loop quantum gravity and its EPRL model ([Engle, Pereira, Rovelli and Livine](https://arxiv.org/abs/0711.0146); review: