Paper
Bounded Twin-Width Refinement of Triangulations
10 pages · 9 marked passages · pdflatex · download PDF · lax-919488
-
Use the shorter stacks, their size estimate, and the lifted width-4 sequence.
-
Bounded twin-width refinement of triangulations
Every generalized triangulation of a -manifold with top-dimensional simplices has a refinement of whose dual multigraph has twin-width at most . For and , its size is . The proof constructs the refinement for any finite face pairing, so can be any space homeomorphic to its realization.
1 import Lax919488.PillowSubdivision 2 import Lax919488.RefinementSize 3 import Lax919488.RefinedDual 4 import Lax919488.MultigraphTwinWidth 5 … module docstring, 11 lines 17 18 namespace Lax919488.RefinementBounds 19 20 open FacePairings StackedPillows MultigraphTwinWidth 21 22 /-- Theorem 1 with the explicit refinement from equation (1). -/ 23 axiom bounded_twin_width_refinement {d n m : ℕ} (T : Diagram d (Fin n) (Fin m)) 24 {M : Type} [TopologicalSpace M] (h : T.IsPairing) (realizes : Nonempty (T.Realization ≃ₜ M)) : 25 let s := depth d n 26 let U := refine T s 27 let N := Fintype.card (Cell (Fin n) (Fin m) s) 28 U.IsPairing ∧ U.Refines T ∧ Nonempty (U.Realization ≃ₜ M) ∧ 29 N ≤ n + (d+1)*n*layers n ∧ 30 (1 ≤ d → 2 ≤ n → (N : ℝ) ≤ 7 * d * n * Real.logb 2 n) ∧ WidthAtMost U 4 31 32 end Lax919488.RefinementBounds 33 -
Twin-width of a dual multigraph
The initial black multiplicity between two cells counts the face gluings joining them, including loops. When two parts merge, each surviving part has a black edge to the new part if it had a black edge to both old parts. It has no edge if it had no edge to either. Every other case gives one red edge. Edges between surviving parts keep their multiplicities. The width is the maximum red degree, counting red edges with multiplicity.
A contraction sequence for the simple adjacency graph lifts to a sequence of the same width for the dual multigraph.
1 import Lax919488.FacePairings 2 import Lax228581.TwinWidth 3 … module docstring, 15 lines 19 20 namespace Lax919488.MultigraphTwinWidth 21 22 open FacePairings Lax228581.TwinWidth 23 24 noncomputable section 25 26 def edgeMultiplicity {d : ℕ} {V E : Type} [Fintype E] (T : Diagram d V E) (u v : V) : ℕ := by 27 classical 28 exact (Finset.univ.filter fun e => 29 ∃ b, (T.side e b).cell = u ∧ (T.side e (!b)).cell = v).card 30 31 structure Entry where 32 black : ℕ 33 red : ℕ 34 deriving DecidableEq 35 36 def combine (a b : Entry) : Entry := 37 if 0 < a.black ∧ 0 < b.black then ⟨1,0⟩ 38 else if a = ⟨0,0⟩ ∧ b = ⟨0,0⟩ then ⟨0,0⟩ else ⟨0,1⟩ 39 40 structure ContractionSequence {d : ℕ} {V E : Type} [Fintype V] [Fintype E] [DecidableEq V] 41 (T : Diagram d V E) (k : ℕ) where 42 steps : ℕ 43 parts : ℕ → Finset (Finset V) 44 edges : ℕ → Finset V → Finset V → Entry 45 symmetric : ∀ i A B, edges i A B = edges i B A 46 initial : parts 0 = singletonPartition V 47 initialEdges : ∀ u v, edges 0 {u} {v} = ⟨edgeMultiplicity T u v,0⟩ 48 final : (parts steps).card ≤ 1 49 merge : ∀ i < steps, ∃ A ∈ parts i, ∃ B ∈ parts i, A ≠ B ∧ 50 let rest := ((parts i).erase A).erase B 51 let C := A ∪ B 52 parts (i+1) = insert C rest ∧ edges (i+1) C C = ⟨0,0⟩ ∧ 53 (∀ D ∈ rest, edges (i+1) C D = combine (edges i A D) (edges i B D)) ∧ 54 ∀ D ∈ rest, ∀ F ∈ rest, edges (i+1) D F = edges i D F 55 width : ∀ i ≤ steps, ∀ A ∈ parts i, ∑ B ∈ parts i, (edges i A B).red ≤ k 56 57 def WidthAtMost {d : ℕ} {V E : Type} [Fintype V] [Fintype E] [DecidableEq V] 58 (T : Diagram d V E) (k : ℕ) : Prop := Nonempty (ContractionSequence T k) 59 60 axiom lift_sequence {d : ℕ} {V E : Type} [Fintype V] [Fintype E] [DecidableEq V] 61 (T : Diagram d V E) {k : ℕ} (h : HasTwinWidthAtMost T.dual k) : WidthAtMost T k 62 63 end 64 end Lax919488.MultigraphTwinWidth 65 -
Generalized triangulations and their dual graphs
Take finitely many copies of the standard -simplex. Each gluing identifies two distinct facet occurrences by a permutation of their vertices. A facet occurs in at most one gluing. Unpaired facets give boundary, and two facets of the same simplex may be paired. The realization carries the quotient topology. The dual multigraph has one vertex per simplex and one edge per gluing. Its adjacency relation on distinct vertices records the support of the black edges used in a contraction sequence.
1 import Mathlib.Analysis.Convex.StdSimplex 2 import Mathlib.Combinatorics.SimpleGraph.Basic 3 import Mathlib.Topology.Constructions.SumProd 4 … module docstring, 13 lines 18 19 namespace Lax919488.FacePairings 20 21 abbrev Corner (d : ℕ) := Fin (d+1) 22 abbrev Simplex (d : ℕ) := stdSimplex ℝ (Corner d) 23 24 /-- A side of a gluing. Its frame sends the reference facet opposite 0 25 to the chosen facet of the cell. -/ 26 structure Side (d : ℕ) (V : Type) where 27 cell : V 28 frame : Equiv.Perm (Corner d) 29 30 def Side.port {d : ℕ} {V : Type} (s : Side d V) := (s.cell, s.frame 0) 31 32 /-- The two sides of each gluing are indexed by false and true. -/ 33 structure Diagram (d : ℕ) (V E : Type) where 34 side : E → Bool → Side d V 35 36 def Diagram.IsPairing {d : ℕ} {V E : Type} (T : Diagram d V E) : Prop := 37 Function.Injective fun p : E × Bool => (T.side p.1 p.2).port 38 39 /-- Reindex the barycentric coordinates by a vertex permutation. -/ 40 def reindex {d : ℕ} (σ : Equiv.Perm (Corner d)) (x : Simplex d) : Simplex d := 41 ⟨fun i => x.val (σ.symm i), fun _ => x.property.1 _, (σ.symm.sum_comp _).trans x.property.2⟩ 42 43 inductive Diagram.Gluing {d : ℕ} {V E : Type} (T : Diagram d V E) : 44 (V × Simplex d) → (V × Simplex d) → Prop 45 | face (e : E) (x : Simplex d) (onFace : x.val 0 = 0) : 46 T.Gluing ((T.side e false).cell, reindex (T.side e false).frame x) 47 ((T.side e true).cell, reindex (T.side e true).frame x) 48 49 /-- The quotient of the disjoint union of closed geometric simplices. -/ 50 abbrev Diagram.Realization {d : ℕ} {V E : Type} (T : Diagram d V E) := Quot T.Gluing 51 52 instance {d : ℕ} {V E : Type} (T : Diagram d V E) : TopologicalSpace T.Realization := 53 letI : TopologicalSpace V := ⊥ 54 inferInstanceAs (TopologicalSpace (Quot T.Gluing)) 55 56 def Diagram.chart {d : ℕ} {V E : Type} (T : Diagram d V E) (v : V) (x : Simplex d) : 57 T.Realization := Quot.mk _ (v,x) 58 59 def Diagram.dual {d : ℕ} {V E : Type} (T : Diagram d V E) : SimpleGraph V where 60 Adj u v := u ≠ v ∧ ∃ e b, (T.side e b).cell = u ∧ (T.side e (!b)).cell = v 61 symm := by 62 constructor 63 rintro u v ⟨ne,e,b,hu,hv⟩ 64 exact ⟨ne.symm,e,!b,hv,by simpa using hu⟩ 65 loopless := ⟨fun _ h => h.1 rfl⟩ 66 67 /-- A homeomorphism of realizations under which every new characteristic 68 map embeds into a model simplex of the original triangulation. -/ 69 def Diagram.Refines {d : ℕ} {V E W F : Type} (U : Diagram d W F) (T : Diagram d V E) : Prop := 70 ∃ h : U.Realization ≃ₜ T.Realization, ∀ w, ∃ v, ∃ f : C(Simplex d, Simplex d), 71 Topology.IsClosedEmbedding f ∧ ∀ x, h (U.chart w x) = T.chart v (f x) 72 73 end Lax919488.FacePairings 74 -
Stacked pillow refinement
Insert pillows at each face gluing. Each pillow consists of two -simplices paired along the facets containing vertex . Their opposite facets attach to their two neighbors. Seam is the gluing after the first pillows. The two end seams use the frames of the old gluing. With the construction recovers the original face pairings.
1 import Lax919488.FacePairings 2 import Mathlib.Data.Nat.Log 3 … module docstring, 11 lines 15 16 namespace Lax919488.StackedPillows 17 18 open FacePairings 19 20 abbrev Cell (V E : Type) (s : ℕ) := V ⊕ (E × Fin (2*s)) 21 abbrev Joint (d : ℕ) (E : Type) (s : ℕ) := E × (Fin (s+1) ⊕ (Fin s × Fin d)) 22 23 def leftHalf {s : ℕ} (j : Fin s) : Fin (2*s) := ⟨2*j.val, by omega⟩ 24 def rightHalf {s : ℕ} (j : Fin s) : Fin (2*s) := ⟨2*j.val+1, by omega⟩ 25 26 def originalSide {d s : ℕ} {V E : Type} (a : Side d V) : Side d (Cell V E s) := 27 ⟨.inl a.cell, a.frame⟩ 28 29 def seam {d : ℕ} {V E : Type} (T : Diagram d V E) (s : ℕ) (e : E) (j : Fin (s+1)) : 30 Bool → Side d (Cell V E s) 31 | false => if h : j.val = 0 then originalSide (T.side e false) 32 else ⟨.inr (e,rightHalf ⟨j.val-1,by omega⟩), 1⟩ 33 | true => if h : j.val < s then ⟨.inr (e,leftHalf ⟨j.val,h⟩), 1⟩ 34 else originalSide (T.side e true) 35 36 def refine {d : ℕ} {V E : Type} (T : Diagram d V E) (s : ℕ) : 37 Diagram d (Cell V E s) (Joint d E s) where 38 side 39 | (e,.inl j), b => seam T s e j b 40 | (e,.inr (j,i)), b => 41 ⟨.inr (e, if b then rightHalf j else leftHalf j), Equiv.swap 0 i.succ⟩ 42 43 /-- The number of pillows in equation (1), truncated at zero. -/ 44 def layers (n : ℕ) := 2 * Nat.clog 2 n - 1 45 46 /-- A zero-dimensional triangulation needs no pillows. -/ 47 def depth (d n : ℕ) := if d = 0 then 0 else layers n 48 49 /-- The shorter stacks used for the leading constant in the abstract. -/ 50 def shortLayers (d n : ℕ) := if d ≤ 1 ∨ n ≤ 5 then 0 else Nat.clog 2 n 51 52 end Lax919488.StackedPillows 53 -
Realization of the stacked pillow refinement
In positive dimension, inserting any finite stack of pillows at every gluing preserves the quotient space. Under the homeomorphism, each new simplex embeds as a closed subset of an original model simplex. The empty stack works in every dimension.
1 import Lax919488.StackedPillows 2 … module docstring, 10 lines 13 14 namespace Lax919488.PillowSubdivision 15 16 open FacePairings StackedPillows 17 18 variable {d n m : ℕ} (T : Diagram d (Fin n) (Fin m)) 19 20 axiom pillow_refinement (s : ℕ) (hd : 0 < d ∨ s = 0) (h : T.IsPairing) : 21 (refine T s).IsPairing ∧ (refine T s).Refines T 22 23 end Lax919488.PillowSubdivision 24 -
Size of the refinement
With simplices and face gluings, inserting pillows at each gluing gives simplices. Counting facet occurrences gives . For and , the resulting bound in equation (2) is at most . With the shorter stacks the estimate improves to , with dual twin-width at most .
- lem✓
Lax919488.RefinementSize(1st statement) - lem✓
Lax919488.RefinementSize(2nd statement) - lem✓
Lax919488.RefinementSize(3rd statement) - lem✓
Lax919488.RefinementSize(4th statement)
1 import Lax919488.MultigraphTwinWidth 2 import Lax919488.StackedPillows 3 import Mathlib.Analysis.SpecialFunctions.Log.Base 4 … module docstring, 11 lines 16 17 namespace Lax919488.RefinementSize 18 19 open FacePairings StackedPillows MultigraphTwinWidth 20 21 variable {d n m : ℕ} (T : Diagram d (Fin n) (Fin m)) 22 23 axiom size_bound (s : ℕ) (h : T.IsPairing) : 24 Fintype.card (Cell (Fin n) (Fin m) s) = n + 2*s*m ∧ 25 n + 2*s*m ≤ n + (d+1)*n*s 26 27 axiom logarithmic_bound (d n : ℕ) (hd : 1 ≤ d) (hn : 2 ≤ n) : 28 ((n + (d+1)*n*layers n : ℕ) : ℝ) ≤ 7 * d * n * Real.logb 2 n 29 30 /-- Size bound from the abstract using the shorter stacks. -/ 31 axiom short_size (hd : 1 ≤ d) (hn : 2 ≤ n) (h : T.IsPairing) : 32 (Fintype.card (Cell (Fin n) (Fin m) (shortLayers d n)) : ℝ) ≤ 2 * d * n * Real.logb 2 n 33 34 /-- The leading constant in the abstract for the nondegenerate range. -/ 35 axiom two_d_refinement {d n m : ℕ} (T : Diagram d (Fin n) (Fin m)) 36 {M : Type} [TopologicalSpace M] (hd : 1 ≤ d) (hn : 2 ≤ n) 37 (h : T.IsPairing) (realizes : Nonempty (T.Realization ≃ₜ M)) : 38 let s := shortLayers d n 39 let U := refine T s 40 U.IsPairing ∧ U.Refines T ∧ Nonempty (U.Realization ≃ₜ M) ∧ 41 (Fintype.card (Cell (Fin n) (Fin m) s) : ℝ) ≤ 2 * d * n * Real.logb 2 n ∧ WidthAtMost U 4 42 43 end Lax919488.RefinementSize 44 - lem✓
-
Contraction sequence for the refined dual graph
Replace each dual edge by the path through its pillow simplices. The underlying simple graph has a contraction sequence of width at most when the stack has pillows. For or , the trivial refinement suffices. Zipping the two vertices of each pillow directly onto the tree gives the same bound with the shorter stacks.
1 import Lax919488.StackedPillows 2 import Lax228581.TwinWidth 3 … module docstring, 11 lines 15 16 namespace Lax919488.RefinedDual 17 18 open FacePairings StackedPillows 19 20 variable {d n m : ℕ} (T : Diagram d (Fin n) (Fin m)) 21 22 axiom dual_width (h : T.IsPairing) : 23 Lax228581.TwinWidth.HasTwinWidthAtMost (refine T (depth d n)).dual 4 24 25 /-- The same routing works with one pillow per level of the binary tree. -/ 26 axiom short_dual_width (h : T.IsPairing) : 27 Lax228581.TwinWidth.HasTwinWidthAtMost (refine T (shortLayers d n)).dual 4 28 29 end Lax919488.RefinedDual 30 -
no assumptions
Process the subdivided dual edges one at a time. Place the original vertices at leaves of a binary heap and move the interior vertices of each path up the source branch and down the target branch. At every intermediate partition a tree node has at most 3 tree neighbors and 1 extra neighbor on the current path. Finally contract the tree from the leaves inward.