How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
A maximal matching gives a 2-approximate minimum vertex cover
Statement
For every finite simple graph, greedily construct any maximal matching and return the set of its endpoints. The procedure is deterministic polynomial time after fixing a tie rule; is a vertex cover and . This includes an edgeless graph, for which both sides are zero.
Facts & Assumptions
Given: A finite simple graph with its vertices and edges listed in a fixed order, and the minimum cardinality of a vertex cover of .
A finite simple graph has , so every edge has two distinct endpoints and is an unordered two-element set of vertices. (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets)
A matching is a set of edges no two of which share an endpoint; a vertex is -saturated when it is an endpoint of an edge of ; a maximal matching is one contained in no strictly larger matching. (Matchings, saturated vertices, maximal and maximum matchings, perfect matchings and )
A vertex cover of is a set meeting every edge of ; the decision problem VERTEX COVER asks for a cover of size at most , and minimizing its size is the associated minimization problem. (Clique, independent set, and vertex cover decision problems)
A polynomial-time -approximation for a minimization problem returns, on every instance, a feasible solution of value at most times the optimum; no division by the optimum is involved. (Optimization problems and approximation ratios)
Proof
Consider the following deterministic procedure: list the edges of in the fixed order, start with , and scan the list once, adding the current edge to when neither of its endpoints is already -saturated; at the end return and the set of all endpoints of edges of . Each step inspects two saturation marks and possibly sets two of them, so the procedure runs in time polynomial in the encoded size of , and the fixed edge order is its tie rule.
One has . Let be a vertex cover with . Each edge of has at least one endpoint in ; assign to it such an endpoint explicitly: the smaller of its two endpoints in the fixed vertex order if that endpoint lies in , and otherwise its other endpoint. Distinct edges of are vertex-disjoint, so distinct edges receive distinct vertices of ; the assignment is therefore an injection of into , and .
Since is a matching, its edges are pairwise disjoint, so the endpoints of its edges are distinct vertices and . Every vertex of is -saturated by construction.
The matching is maximal. Indeed, suppose an edge of had both endpoints not in , that is, both -exposed at the end of the scan. A vertex once marked saturated is never unmarked, so both endpoints were still exposed when was scanned; the procedure would then have added to , a contradiction. Hence no edge can be added to , and is maximal.
If has no edges, the scan adds nothing, so and ; the empty set is a vertex cover and no nonempty set is needed, so , and both sides of the displayed bound are zero.
The set is a vertex cover: if some edge of had both endpoints outside , then would be a matching strictly larger than , contradicting maximality. Hence every edge meets , so is a vertex cover and .
Combining steps 2.1, 3.1 and 1.2, and is a vertex cover computed by the deterministic polynomial-time procedure of step 1.1. By [F4] the procedure is a -approximation for the minimum vertex cover problem.
For every finite simple graph, a maximal matching is produced in deterministic polynomial time after the tie rule of step 1.1 is fixed, its endpoint set is a vertex cover with , and the edgeless case is covered by step 2.3.
Depends on
Used by
Dependency tree · two levels
6 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Ghaffari, Advanced Algorithms, Lecture 1: Approximation Algorithms I, §§1, 2.1, 2.2.2, PDF pp. 1–5 (standard reference, not scraped)