Paper
A constant approximation gap for Independent Set at twin-width four
7 pages · 39 marked passages · pdflatex · download PDF · lax-956329
-
A constant approximation gap at twin-width 4
There is a constant for which distinguishing from is NP-hard on subcubic graphs (Theorem 1). Both sides of the reduction carry a valid -sequence and a positive threshold.
1 import Lax956329.Instances 2 import Mathlib.Data.Real.Basic 3 … module docstring, 10 lines 14 15 namespace Lax956329.GapHardness 16 17 open Instances 18 19 axiom subcubic_gap : ∃ ε : ℝ, 0 < ε ∧ ε < 1 ∧ Hard 20 (fun I => DegreeLE I.graph 3 ∧ I.graph.indepNum = I.k) 21 (fun I => DegreeLE I.graph 3 ∧ (I.graph.indepNum : ℝ) ≤ (1 - ε) * I.k) 22 23 end Lax956329.GapHardness 24 -
For accuracy , choose . Run the solution algorithm and test whether its output has at least selected vertices. The comparison machine scans the returned threshold and membership bits in polynomial time.
-
no assumptions
Take the Fourier transform on the modular square. The two translations bound the mass at high frequencies. On the low nonzero frequencies, two opposite shears send each sector disjointly into the other sector. Summing the two energy estimates and applying Parseval gives the uniform constant 1000 for the four forward generators.
-
A constant constraint gap on a hierarchy of congruence classes
The permutations of a square grid preserve congruence modulo each partial product of a list of radices. A block has at most children. Each directed port carries a binary constraint on an alphabet of size . Satisfiability reduces in polynomial time to distinguishing perfect satisfaction from violation of at least a fixed fraction of all directed ports (Lemma 2).
1 import Lax956329.Instances 2 import Lax429075.Satisfiability 3 import Mathlib.Algebra.BigOperators.Group.Finset.Basic 4 … module docstring, 11 lines 16 17 namespace Lax956329.Hierarchy 18 19 open Instances Lax434930.PolynomialTime 20 21 abbrev Owner (m : ℕ) := Fin m × Fin m 22 abbrev Label := Fin 8 23 abbrev Port := Fin 20 24 25 def Congruent {m : ℕ} (d : ℕ) (x y : Owner m) : Prop := 26 x.1.val % d = y.1.val % d ∧ x.2.val % d = y.2.val % d 27 28 structure System (b : ℕ) where 29 m : ℕ 30 positive : 0 < m 31 radices : List ℕ 32 product_eq : radices.prod = m 33 branching : ∀ r ∈ radices, 1 ≤ r ∧ r * r ≤ b 34 move : Port → Equiv.Perm (Owner m) 35 preserves : ∀ i j x y, Congruent (radices.take j).prod (move i x) (move i y) ↔ 36 Congruent (radices.take j).prod x y 37 accept : Port → Owner m → Label → Label → Bool 38 reverse : Equiv.Perm Port 39 involution : ∀ i, reverse (reverse i) = i 40 inverse_move : ∀ i, move (reverse i) = (move i).symm 41 reverse_test : ∀ i x c d, accept (reverse i) (move i x) d c = accept i x c d 42 43 variable {b : ℕ} 44 45 def System.order (S : System b) := S.m * S.m 46 47 def System.satisfied (S : System b) : Prop := 48 ∃ σ : Owner S.m → Label, ∀ i x, S.accept i x (σ x) (σ (S.move i x)) = true 49 50 def System.failed (S : System b) (σ : Owner S.m → Label) : ℕ := 51 ∑ i : Port, (Finset.univ.filter fun x => S.accept i x (σ x) (σ (S.move i x)) = false).card 52 53 /-- Every assignment fails at least one port in , counting reverse copies. -/ 54 def System.hasGap (S : System b) (t : ℕ) : Prop := 55 ∀ σ, 20 * S.order ≤ t * S.failed σ 56 57 /-- The explicit radix list, reverse-port table, endpoint coordinates and truth tables. -/ 58 def System.bits (S : System b) : Word := 59 numeral S.m ++ Lax429075.Encoding.encodeList numeral S.radices ++ 60 (List.finRange 20).flatMap fun i => numeral (S.reverse i).val ++ 61 (List.finRange S.m).flatMap fun x => (List.finRange S.m).flatMap fun y => 62 let v := (x, y) 63 let w := S.move i v 64 numeral w.1.val ++ numeral w.2.val ++ 65 (List.finRange 8).flatMap fun c => (List.finRange 8).map fun d => S.accept i v c d 66 67 /-- The grid initialization tests the disjunction in each clause, also for general CNF. 68 Malformed words may be sent to a fixed unsatisfiable formula. -/ 69 axiom gap_reduction : 70 ∃ b t : ℕ, 0 < t ∧ ∃ f : Word → Word, Poly f ∧ ∀ x, ∃ S : System b, 71 f x = S.bits ∧ (x ∈ Lax429075.Satisfiability.SAT → S.satisfied) ∧ 72 (x ∉ Lax429075.Satisfiability.SAT → S.hasGap t) 73 74 end Lax956329.Hierarchy 75 -
no assumptions
Use the first two label bits for the row truth value and the partial disjunction of a column. Every genuine clause begins at false and must end at true. Horizontal equalities recover a global truth assignment, and the vertical tests recover its successive partial disjunctions.
-
Compile the SAT verifier into a valid Tseitin formula on every input, including malformed words. A second machine reads its unary literal indices, enumerates the power-of-two grid, and writes the congruence radices and each entry in all 20 permutation and predicate tables.
-
no assumptions
Regard each directed port as a dart of a regular constraint graph. Apply the registered stopped-walk powering bound and choose its stopping rate for the requested gain. Each walk's endpoint is the composition of a fixed word of input permutations. Numbering the walks and their opinion labels gives the same test count, perfect completeness and quantitative lower bound.
-
no assumptions
Changing the relation costs at least half a block. With the relation fixed, at least one accepted label differs from its nearest decoding. The triangle inequality and nearest decoding cost at least a quarter of that block.
-
no assumptions
Use one fixed accepting set for all pairs and relations. A tag divides each input table into a shared label block and the hardwired relation block. The registered tester reads 22 bits using addresses fixed by this accepting set. Acceptance above puts both decoded label blocks within of their correct codewords and identifies the relation by its distance.
-
Instantiate one universal tester per powered dart. A shared read belongs to its endpoint and a private read to the starting owner. Realize each 22-read verdict using a fixed family of binary flag chains. Each rejected random string yields a failed binary constraint in its own family, and each rejected decoded dart rejects at least of its random strings.
-
no assumptions
For each pattern, the successive flags record whether the reads have differed from it so far. Honest flags satisfy every edge for an accepted read vector. For the pattern equal to the actual vector, induction keeps all flags false and the last edge requires the verdict to accept.
-
Pad the occurrences of each variable to a square and all of the squares to one larger square. This creates at most 32 types per original test. Use the uniform matching for the test and the local moves for equality. The failed tests after plurality rounding are bounded by the matching failures plus the changed endpoint labels, each controlled by local expansion.
-
no assumptions
A nonplurality class and the plurality class are disjoint, so the smaller one satisfies the expansion hypothesis. Sum the boundary estimates, grouping failed directed ports by the color at their source.
-
no assumptions
Separate each new coordinate into its low type digit and its old owner. Congruence modulo the new product is equality of types together with the old owner congruence. The matching conjugates a fixed endpoint pairing by the two port walks, including at loops. Add the four forward affine generators and the identity, then append the inverse table.
-
Use the affine Poincaré inequality to fix the local rounding loss and the spectral bound of every host. Choose the powering gain to compensate for the tester, the padding, and both endpoint roles. A single polynomial-time machine reads the stopped walks and writes the new radix and all 20 tables.
-
Start with the verified CNF grid and apply the single affine-host round one more time than the binary logarithm of its port count. The new first radix is constant. After this many rounds the modulus, the radix encoding, and every intermediate port table have polynomial length. A bounded polynomial-time iteration writes the last table on every input word.
-
Induct on the rounds, keeping the smaller of the cutoff and the initial one-port gap times . Perfect completeness propagates through every round. At the last round the power of dominates the initial port count.
-
Constant subdivisions of towers of covers
Fix a base graph of maximum degree at most and a bound on the number of sheets in one cover. A single even subdivision length works for every height of tower and every subgraph of its top. Given the tower and subgraph explicitly, a polynomial-time algorithm writes the subdivision and a -sequence (Lemma 3).
- lem✓
Lax956329.CoverTowers(1st statement) - lem✓
Lax956329.CoverTowers(2nd statement) - lem✓
Lax956329.CoverTowers(3rd statement) - lem✓
Lax956329.CoverTowers(4th statement)
1 import Lax956329.Subdivision 2 import Lax956329.PermutationCovers 3 import Lax956329.SupportSequence 4 … module docstring, 10 lines 15 16 namespace Lax956329.CoverTowers 17 18 open Instances Lax434930.PolynomialTime 19 20 /-- A uniform finite cover, expressed by the neighbor bijection at every vertex. -/ 21 structure Cover (b : ℕ) (upper lower : Graph) where 22 sheets : ℕ 23 positive : 0 < sheets 24 bounded : sheets ≤ b 25 proj : Fin upper.n → Fin lower.n 26 covering : PermutationCovers.IsCover upper.graph lower.graph proj sheets 27 28 inductive Tower (b : ℕ) (base : Graph) : Graph → Type 29 | root : Tower b base base 30 | step {upper lower : Graph} : Tower b base lower → Cover b upper lower → Tower b base upper 31 32 noncomputable def Tower.bits {b : ℕ} {base top : Graph} : Tower b base top → Word 33 | .root => false :: base.bits 34 | .step (upper := upper) t c => true :: (t.bits ++ upper.bits ++ numeral c.sheets ++ 35 (List.finRange upper.n).flatMap fun i => numeral (c.proj i).val) 36 37 structure Piece (b : ℕ) (base : Graph) where 38 top : Graph 39 tower : Tower b base top 40 K : Graph 41 inclusion : K.graph →g top.graph 42 injective : Function.Injective inclusion 43 44 noncomputable def Piece.bits {b : ℕ} {base : Graph} (Q : Piece b base) (k : ℕ) : Word := 45 numeral k ++ Q.tower.bits ++ Q.K.bits ++ 46 (List.finRange Q.K.n).flatMap fun i => numeral (Q.inclusion i).val 47 48 /-- A subgraph of the top inherits every degree bound of the base. -/ 49 axiom degree {base : Graph} {b d : ℕ} (h : DegreeLE base.graph d) (Q : Piece b base) : 50 DegreeLE Q.K.graph d 51 52 /-- The same even subdivision length gives a support-degree bound at every tower height. -/ 53 axiom support (base : Graph) (degree : DegreeLE base.graph 4) (b : ℕ) : 54 ∃ l : ℕ, 0 < l ∧ ∀ Q : Piece b base, 55 letI := Fintype.ofFinite (Subdivision.Vertex Q.K l) 56 letI := Classical.decEq (Subdivision.Vertex Q.K l) 57 SupportSequence.Bounded (Subdivision.graph Q.K l) 4 58 59 /-- Read the explicit tower and write the threshold and numbered subdivision graph. -/ 60 axiom subdivision (base : Graph) (b l : ℕ) : ∃ f : Word → Word, Poly f ∧ 61 ∀ (Q : Piece b base) (k : ℕ), ∃ G : Graph, 62 f (Q.bits k) = numeral k ++ G.bits ∧ Nonempty (G.graph ≃g Subdivision.graph Q.K l) 63 64 /-- The threshold is copied through the construction. The output is a numbered 65 copy of the subdivision, equipped with its contraction sequence. -/ 66 axiom sequence (base : Graph) (degree : DegreeLE base.graph 4) (b : ℕ) : 67 ∃ l : ℕ, 0 < l ∧ ∃ f : Word → Word, Poly f ∧ 68 ∀ (Q : Piece b base) (k : ℕ), 0 < k → ∃ I : Instance, 69 f (Q.bits k) = I.bits ∧ I.k = k ∧ Nonempty (I.graph ≃g Subdivision.graph Q.K l) 70 71 end Lax956329.CoverTowers 72 - lem✓
-
Rank the lifts over each vertex by their upper vertex numbers. Along each edge, install the endpoint matching with isolated transpositions. Each ordered cover lifts a width-4 support sequence from the preceding level. The explicit choice of subdivision length works at every height. Restrict the result at the top to the designated subgraph.
-
Order the base vertices by phase, breaking ties by their finite numbering. Pass j moves sheet j into the prefix of each fiber. After the last pass, the inverse images of the base sequence finish the contraction.
-
For an explicitly ordered cover, compute the phase and sheet prefix seen by each upper vertex at each scheduled time. Follow the lower equivalence matrices after all fibers have collapsed. Compress the resulting schedule and write every adjacency and partition bit.
-
Neighbors of a sheet prefix across a matching
In one pass of a cover contraction, the sheets of each fiber are partitioned into one prefix and the remaining singletons. Across an identity matching a prefix has at most neighbors, or at most if the opposite prefix is already as large. An isolated transposition gives at most neighbors. These are the local bounds and in Lemma 3.
- lem✓
Lax956329.SheetPrefixes(1st statement) - lem✓
Lax956329.SheetPrefixes(2nd statement) - lem✓
Lax956329.SheetPrefixes(3rd statement)
1 import Mathlib.Logic.Equiv.Basic 2 import Mathlib.Data.Finset.Image 3 import Mathlib.Data.Finset.Card 4 … module docstring, 11 lines 16 17 namespace Lax956329.SheetPrefixes 18 19 /-- Part zero is the prefix. Singleton sheet has positive part label . -/ 20 def part (q i : ℕ) : ℕ := if i < q then 0 else i+1 21 22 def neighbors (π : Equiv.Perm ℕ) (p q : ℕ) : Finset ℕ := 23 (Finset.range p).image fun i => part q (π i) 24 25 axiom identity (p q : ℕ) (h : p ≤ q+1) : 26 (neighbors (Equiv.refl ℕ) p q).card ≤ 2 27 28 axiom updated (p q : ℕ) (h : p ≤ q) : 29 (neighbors (Equiv.refl ℕ) p q).card ≤ 1 30 31 axiom transposition (p q i j : ℕ) (h : p ≤ q+1) : 32 (neighbors (Equiv.swap i j) p q).card ≤ 3 33 34 end Lax956329.SheetPrefixes 35 - lem✓
-
A singleton sends one sheet along each incident matching. For the prefix at an original vertex, every adjacent prefix is at least as large. An ordinary internal position sees at most two parts per side. A transposition endpoint sees at most three parts across the swap and one across its other edge.
-
no assumptions
Read the vertex map and pull back the host equivalence matrices. Two vertices witness every genuine merge. Count those stages in polynomial time and emit one matrix for each successive count.
-
no assumptions
Pull each host block back along the injection. Empty blocks disappear. Each host merge then induces either a single merge or an unchanged partition, and every neighboring pair of surviving blocks comes from a host edge.
-
no assumptions
Attach a leaf to each vertex of a path. Place the original vertices at those leaves. Route each subdivided edge along the path from its first endpoint's position to its second. Zip the routes into the path one internal vertex at a time. A processed position touches its two neighboring positions, its pendant leaf and at most the next unprocessed vertex. The leaves then merge into the path, which contracts from one end.
-
no assumptions
The reader skips each explicitly encoded adjacency matrix and projection array to reach the designated subgraph. It numbers the original vertices first, then the internal vertices in lexicographic edge order and path order. It writes the threshold and every entry of the resulting adjacency matrix.
-
Choose the subdivision length before reading the tower. For each level, rank the sheets by vertex number, install the endpoint permutations along subdivided edges, and write the ordered fiber passes. The intermediate partition words have polynomial length in the explicit input. The final pass restricts the result to the designated subgraph and copies the threshold.
-
Independent sets as consistent partial assignments
At each owner keep the labels that pass its loops and make them a clique. A failed test between two different owners forbids its pair of labels. If owners have no selected label, any completion of the partial assignment fails at most directed ports. Thus a constraint gap costs at least vertices in the independence number.
1 import Lax956329.Hierarchy 2 … module docstring, 11 lines 14 15 namespace Lax956329.ConflictGraph 16 17 open Hierarchy 18 variable {b : ℕ} (S : System b) 19 20 abbrev Vertex := {p : Owner S.m × Label // ∀ i, S.move i p.1 = p.1 → 21 S.accept i p.1 p.2 p.2 = true} 22 23 def rejects (u v : Vertex S) : Prop := 24 ∃ i, S.move i u.val.1 = v.val.1 ∧ S.accept i u.val.1 u.val.2 v.val.2 = false 25 26 def graph : SimpleGraph (Vertex S) := 27 SimpleGraph.fromRel fun u v => u.val.1 = v.val.1 ∨ rejects S u v 28 29 axiom completeness (h : S.satisfied) : (graph S).indepNum = S.order 30 31 axiom soundness (t : ℕ) (h : S.hasGap t) : 32 2 * t * (graph S).indepNum + S.order ≤ 2 * t * S.order 33 34 end Lax956329.ConflictGraph 35 -
no assumptions
Pair adjacent positions on either side of a missing even-indexed port. A deficient path contributes at most vertices. For the lower bound select all ports above a maximum independent set and all odd indices elsewhere.
-
Embedding the port paths in a subcubic tower
Each label path reserves clique ports and directed ports. The full host has a path for every label, including the labels removed by loop tests. Replacing owners by successively coarser congruence classes gives a tower above a fixed subcubic base. Keeping one edge per conflict embeds the path replacement as an ordinary subgraph of the top.
1 import Lax956329.ConflictGraph 2 import Lax956329.PortPaths 3 import Lax956329.CoverTowers 4 … module docstring, 11 lines 16 17 namespace Lax956329.PortConstruction 18 19 open Instances Hierarchy CoverTowers Lax434930.PolynomialTime 20 21 /-- A path has ports and vertices. -/ 22 abbrev h : ℕ := 326 23 24 noncomputable def threshold {b : ℕ} (S : System b) (K : Graph) (l : ℕ) : ℕ := 25 l * Nat.card (Subdivision.Edge K) + h * Nat.card (ConflictGraph.Vertex S) + S.order 26 27 /-- The template is independent of the input. Each level projects the two 28 owner coordinates to their preceding residue classes. -/ 29 axiom embedding (b : ℕ) : ∃ base : Graph, DegreeLE base.graph 3 ∧ ∀ S : System b, 30 ∃ (Q : Piece b base) (port : ConflictGraph.Vertex S → ConflictGraph.Vertex S → Fin (h+1)), 31 Nonempty (Q.K.graph ≃g PortPaths.graph (ConflictGraph.graph S) h port) 32 33 /-- The port assignment, its subgraph embedding, and the binary output of the 34 construction all refer to the same graph . -/ 35 axiom layout (b : ℕ) : ∃ base : Graph, DegreeLE base.graph 3 ∧ 36 ∀ l : ℕ, ∃ f : Word → Word, Poly f ∧ ∀ S : System b, 37 ∃ (Q : Piece b base) (port : ConflictGraph.Vertex S → ConflictGraph.Vertex S → Fin (h + 1)), 38 f S.bits = Q.bits (threshold S Q.K l) ∧ 39 Nonempty (Q.K.graph ≃g PortPaths.graph (ConflictGraph.graph S) h port) 40 41 end Lax956329.PortConstruction 42 -
no assumptions
Use one path in the template for each of the 8 labels. Each reserved port carries at most one edge. Reducing both owner coordinates modulo the previous radix product has exactly the square of the new radix as its number of sheets. The least port carrying each oriented conflict specifies its embedding.
-
no assumptions
The machine reads each permutation endpoint and its predicate from the explicit system. Counting valid labels in order numbers the surviving paths. Each level uses the two residue coordinates to compute its matchings and the covering map. The machine writes those levels, the selected edges, their inclusion, and the threshold obtained by counting the edges of the selected graph.
-
no assumptions
Choose any child to evaluate a move on a parent. Preservation of the parent partition makes the choice immaterial and gives an inverse. A base neighbor fixes the target type, hence its unique lifted owner is the indicated move.
-
no assumptions
A path loses one internal vertex if both old endpoints are selected. Erasing the smaller endpoint of each such edge leaves an independent old set. In the opposite direction alternate along each path from the end allowed by a maximum independent set of the old graph.
-
Compose the Cook–Levin reduction, the hierarchical constraint reduction, the port embedding, and the algorithm for subdivided covers. Equations (3) and (4) and the even-subdivision identity turn the constraint loss into a loss of independent vertices. The computed threshold is at most , with depending only on the fixed gadgets.
-
Choose a fixed exponent with . Taking the lexicographic power raises the threshold and the independence number to their -th powers and supplies the lifted contraction sequence.
-
Lexicographic powers with a supplied contraction sequence
Two tuples in the lexicographic power are adjacent when their entries at the first differing coordinate are adjacent. Independence numbers multiply. For each fixed exponent the power, the powered threshold, and a -sequence can be written in polynomial time. Inside each fiber one first runs a copy of the sequence for the inner factor, then runs the sequence for the outer factor.
1 import Lax956329.Instances 2 … module docstring, 11 lines 14 15 namespace Lax956329.LexicographicPower 16 17 open Instances Lax434930.PolynomialTime 18 19 def product {V W : Type} (G : SimpleGraph V) (H : SimpleGraph W) : SimpleGraph (V × W) where 20 Adj x y := G.Adj x.1 y.1 ∨ (x.1 = y.1 ∧ H.Adj x.2 y.2) 21 symm := ⟨fun _ _ h => h.elim (fun a => Or.inl a.symm) (fun ⟨a, b⟩ => Or.inr ⟨a.symm, b.symm⟩)⟩ 22 loopless := ⟨fun x h => h.elim (G.loopless.irrefl x.1) (fun h => H.loopless.irrefl x.2 h.2)⟩ 23 24 def Vertex (V : Type) : ℕ → Type 25 | 0 => Unit 26 | p + 1 => V × Vertex V p 27 28 def graph {V : Type} (G : SimpleGraph V) : (p : ℕ) → SimpleGraph (Vertex V p) 29 | 0 => ⊥ 30 | p + 1 => product G (graph G p) 31 32 axiom independence {V : Type} [Fintype V] (G : SimpleGraph V) (p : ℕ) : 33 (graph G p).indepNum = G.indepNum ^ p 34 35 axiom construct (p : ℕ) : ∃ f : Word → Word, Poly f ∧ ∀ I : Instance, ∃ J : Instance, 36 f I.bits = J.bits ∧ J.k = I.k ^ p ∧ Nonempty (J.graph ≃g graph I.graph p) 37 38 end Lax956329.LexicographicPower 39 -
no assumptions
Number each pair in row-major order. During the inner contractions, two vertices share a block precisely when their outer coordinates agree and their inner coordinates share a block at the local clock. After the last fiber collapses, the outer matrix determines every entry. Unary arithmetic and bounded table enumeration write all these matrices and the powered threshold in polynomial time.