Masking edges outside an induced subgraph preserves tree-width
ProvedWilliamsonShmoys.treewidth_masked_of_inducedgraph-theorytreewidth
Let be a simple graph on , let be a predicate on vertices, and let . Write for the graph on all vertices whose edges are the edges of with both ends in ; the vertices outside become isolated. If the induced subgraph has tree-width at most , then
This lemma lets an algorithm that needs the tree-width of its whole input graph run on by masking edges, without renumbering vertices. In Baker's shifting technique it turns a tree-width bound for the graph with one BFS level class removed into a bound for the masked instance on the same vertex set.
Formalization Note. is SimpleGraph.fromRel (fun u v => G.Adj u v ∧ P u ∧ P v), and tree-width is RobertsonSeymour1986.GM5.TreewidthLE.
Preamble
import Mathlib import Definitions.Def_RobertsonSeymour1986_GM5_TreewidthLE set_option autoImplicit false
Formal statement
theorem WilliamsonShmoys.treewidth_masked_of_induced
{n : ℕ} (G : SimpleGraph (Fin n)) (P : Fin n → Prop) (w : ℕ)
(h : RobertsonSeymour1986.GM5.TreewidthLE (G.induce {v | P v}) w) :
RobertsonSeymour1986.GM5.TreewidthLE
(SimpleGraph.fromRel (fun u v => G.Adj u v ∧ P u ∧ P v)) w := by sorrySource
Robertson–Seymour, Graph Minors V (1986), Sect. 1 (tree-decompositions); used for Baker's technique in Williamson–Shmoys, The Design of Approximation Algorithms, Sect. 10.2, pp. 270–271