Solver graph of the union instance is isomorphic to the union of masked copies
ProvedWilliamsonShmoys.union_graph_isobakergraph-theory
The graph that the solver sees on is isomorphic to the disjoint union of the masked copies of , via the standard bijection (finProdFinEquiv).
Let , let be the graph of an edge table on , and let be a level function. Let and be numeric encodings with and . Let be the graph on generated by
Let be the graph on with iff , and . Then for all
With treewidth_of_equiv_hom this transfers the tree-width bound for (Baker's hypothesis) to the solver's input graph. It also transfers independence and optimality of the solver's output back to .
Formalization Note. finProdFinEquiv (c, v) = v + n * c; and are built with SimpleGraph.fromRel.
Preamble
import Mathlib set_option autoImplicit false open Classical
Formal statement
theorem WilliamsonShmoys.union_graph_iso {n k : ℕ} (hn : 0 < n) (edge : Fin n → Fin n → Bool) (lvl : Fin n → ℕ)
(mk : ℕ → ℕ) (eb : ℕ → ℕ → ℕ) (hmk : ∀ v : Fin n, mk v.val = lvl v % k)
(heb : ∀ v w : Fin n, (1 ≤ eb v.val w.val ↔ edge v w = true)) :
∀ a b : Fin k × Fin n,
(SimpleGraph.fromRel (fun x y : Fin (k * n) => decide (x.val / n = y.val / n ∧ mk (x.val % n) ≠ x.val / n ∧
mk (y.val % n) ≠ x.val / n ∧ 1 ≤ eb (x.val % n) (y.val % n)) = true)).Adj
(finProdFinEquiv a) (finProdFinEquiv b) ↔
(SimpleGraph.fromRel (fun (x y : Fin k × Fin n) => x.1 = y.1 ∧
(SimpleGraph.fromRel (fun u v => edge u v = true)).Adj x.2 y.2 ∧
lvl x.2 % k ≠ x.1.val ∧ lvl y.2 % k ≠ x.1.val)).Adj a b := by sorrySource
Williamson–Shmoys, The Design of Approximation Algorithms, Sect. 10.2 (shifting technique)