Combinatorial reduction from Vertex Cover to unit-weight Steiner tree #
This module formalizes the standard combinatorial reduction from Vertex Cover to the unit-weight graph Steiner tree problem (in the tradition of Karp's NP-completeness reduction [Kar72]).
Given a finite simple graph G on V, construct the unit-weight graph vcReductionGraph G on
VCVertex G (isomorphic to V ⊕ G.edgeFinset ⊕ Unit):
orig vfor each original vertexv : V,edge efor each edgee ∈ G.edgeFinset,root, a single designated root vertex.
The edges of vcReductionGraph G connect root to orig v for every v : V, and connect
edge e to orig v whenever v ∈ (e : Sym2 V). The terminal set consists of root and all
edge vertices edge e.
Main results #
exists_isVertexCover_iff_exists_isSteinerSubgraph:Ghas a vertex cover of cardinality at mostkif and only ifvcReductionGraph Ghas a Steiner subgraph connectingRwith at most|E(G)| + kedges.vertexCoverNum_le_iff_graphSteinerOpt_le: equivalence phrased directly in terms of Mathlib'sSimpleGraph.vertexCoverNumandSteinerTree.graphSteinerOptwith unit edge weights.
Scope and limitations #
This module proves the combinatorial equivalence between Vertex Cover and unit-weight Steiner tree instances. It does not formalize bit-string encodings or a Turing-machine polynomial-time Karp-reduction certificate (tracked separately within #2904).
References #
Vertex set of the unit-weight Steiner tree reduction from Vertex Cover on G: original
vertices orig v, edge-gadget terminals edge e, and a single root terminal root.
- orig {V : Type u_1} [Fintype V] {G : SimpleGraph V} [DecidableRel G.Adj] (v : V) : VCVertex G
An original vertex of
G(Steiner candidate). - edge {V : Type u_1} [Fintype V] {G : SimpleGraph V} [DecidableRel G.Adj] (e : ↥G.edgeFinset) : VCVertex G
An edge-subdivision vertex corresponding to an edge of
G(terminal). - root {V : Type u_1} [Fintype V] {G : SimpleGraph V} [DecidableRel G.Adj] : VCVertex G
The designated root vertex (terminal).
Instances For
Adjacency relation of the Vertex Cover → Steiner tree reduction graph H(G): root is
adjacent to every orig v, and each edge e is adjacent to orig v for both endpoints
v ∈ (e : Sym2 V).
Instances For
The unit-weight reduction graph H(G) for Vertex Cover → Steiner tree.
Predicate characterizing a terminal list R enumerating {root} ∪ {edge e | e ∈ E(G)}.
Every finite graph has a terminal list enumerating {root} ∪ E(G).
vcReductionGraph G is preconnected: every orig v is adjacent to root, and every edge e
is adjacent to its endpoints in V.
Forward direction: a vertex cover S of G produces a Steiner subgraph of vcReductionGraph G
of size |E(G)| + |S|.
Backward direction: a Steiner subgraph F of vcReductionGraph G yields a vertex cover S
of G with |E(G)| + |S| ≤ |F|.
Exact combinatorial equivalence for Vertex Cover → unit-weight Steiner tree:
G has a vertex cover of size ≤ k if and only if vcReductionGraph G has a Steiner subgraph
connecting R = {root} ∪ E(G) of cardinality ≤ |E(G)| + k.
Optimum equivalence: G.vertexCoverNum ≤ k if and only if the unit-weight graph Steiner
optimum of vcReductionGraph G on R = {root} ∪ E(G) is at most |E(G)| + k.