Approximation Algorithms for Combinatorial Problems V: The Overlap-Ratio Greedy C2 Is Within 1 + ln k of the Least-Overlap Cover on EC(k)Research Paper
Motivation
David S. Johnson's 1974 paper Approximation Algorithms for Combinatorial Problems (J. Comput. System Sci. 9 (1974) 256–278) was one of the first systematic worst-case analyses of polynomial-time heuristics for NP-complete optimization problems. Its Section 5 proves the harmonic bound for the greedy algorithm on minimum-cardinality set cover, a result that still underlies the standard approximation guarantee.
Section 6, the subject of this mission, asks what happens when the cost of a cover is its total size rather than its number of sets. This problem, SET COVERING II (EC), is the optimization version of the EXACT COVER recognition problem of Karp's list (Karp 1972): a family has a disjoint subcover exactly when the optimum equals the number of covered points. Johnson shows that the change of measure breaks the cardinality greedy but that a greedy rule based on an overlap ratio recovers essentially the same guarantee. The same accounting (paying for each newly covered point) later became the standard analysis of greedy weighted set cover (Chvátal 1979).
Setting
An input is a finite family of finite sets. Its covered set is . A subcover is a subfamily with , and its measure is
The optimum is the least measure of a subcover; since every subcover has measure at least , an optimal subcover is one with the least possible overlapping. The subproblem EC admits only families in which every set has at most points.
Algorithm C2 keeps a subfamily SUB (initially empty), the unused sets LEFT (initially ) and the uncovered points UNCOV (initially ). While UNCOV is nonempty it chooses LEFT minimizing
the number of already-covered points of per newly covered point, and moves from LEFT to SUB, removing its points from UNCOV. When several sets tie, any of them may be chosen; a subcover is choosable by C2 if some sequence of admissible choices returns it.
The overlap of a chosen set is at the moment it is chosen, and the cumulative overlap of a run returning is the sum of these overlaps.
Formalization targets
Goal: Theorem 6 (p. 271)
For all and ,
and for all sufficiently large , . In the size-free form used here, for every :
- every subcover choosable by C2 on an input of EC satisfies ;
- ;
- some input of EC with has a choosable subcover with .
Milestones (proof of Theorem 6, pp. 271–272)
- the measure of the output is ;
- if C2 may choose a set with , then ;
- with and , the next chosen set has ;
- on EC, ;
- the analytic inequality ;
- the lower-bound input (Fig. 1 of the paper with every set of filled out to exactly points) on which C2 may pay times the optimum.
Significance
The result. The measure penalizes overlap, and the paper notes (without proof, p. 270) that an algorithm returning an optimal cover for the cardinality measure can be a factor from optimal for this one. Theorem 6 shows that the ratio rule C2 is within of the least-overlap cover, and the lower bound shows that no analysis of C2 can beat . The two bounds differ by less than for every . The theorem was an early instance of a logarithmic guarantee for a weighted covering problem, where each set's cost is its size.
Formalizing it. The theorem has been proved since 1974; no machine-checked proof is known to exist. The mission produces a formal model of the EC problem and of C2 as a nondeterministic process, the overlap identity, and the discrete form of the paper's area-under-a-curve estimate. The last is the part the paper argues informally, through a step function and an integral.
Difficulty
The cardinality argument for C1 counts the sets chosen; here the sets have different sizes, so it does not apply. The overlap C2 pays per newly covered point is not bounded by a constant: early choices can be free and late ones cost up to per point, and the bound on the cumulative overlap must hold against the whole run, for every sequence of tie-breaks.
In a formal proof the integral must be replaced by a sum. Covered points arrive in blocks (one block per chosen set), the charge is constant on a block but the bound depends on the covered fraction at the start of the block, and the sum has to be compared with a logarithm. The terms and that the paper drops using must be controlled as well, and the relation must itself be proved from optimality. The lower bound needs an explicit run of C2 through ties on an input with points, checking at every stage that the intended set is a ratio minimizer.
Formalization scope
- Inputs. A family is
p : ℕwithS : Fin p → Finset α(0-based, repetitions allowed; a repeated set counts twice in the measure if both copies are chosen, which C2 never does). Subcovers and SUB, LEFT are index sets. is a minimum over the finite, nonempty set of subcovers (Finset.inf'), never a junk value. - Algorithm. C2 is a step relation on states (SUB, LEFT, UNCOV). The choice at Step 3 is existential over all minimizers, so every result quantifies over every choosable output (the paper's WORST). is when ; the formal rule requires the chosen set to meet UNCOV and compares ratios by cross-multiplication, with no division.
- Overlap. The cumulative overlap depends on the run, not on the output alone, so it is carried by an inductive run relation
RunOV. - No problem size. The paper's maximizes over inputs of size at most in an unspecified encoding. Upper bounds are stated for every input and every choosable output; the lower bound exhibits one input and one choosable output. Given monotonicity of in , these are equivalent to the paper's claims. Ratios are stated multiplicatively, so does not create a vacuous bound.
- Numbers. Measures are natural numbers cast to ; is
Real.log; is Mathlib'sharmonic k. - Ruled out. A deterministic tie-break would prove a weaker upper bound and could not realize the lower-bound run, and a ratio with would make disjoint-from-UNCOV sets the most attractive choice. The formalization uses neither.
The overlap identity and the discrete integral comparison are reusable for any greedy covering analysis that charges cost per newly covered point. Contributions welcome include proofs of the milestones, the invariants of the C2 run relation (SUB and LEFT partition the indices; UNCOV SUB), and the explicit lower-bound run.
Selected references
- D. S. Johnson, Approximation algorithms for combinatorial problems, J. Comput. System Sci. 9 (1974), 256–278. https://doi.org/10.1016/S0022-0000(74)80044-9
- R. M. Karp, Reducibility among combinatorial problems, in Complexity of Computer Computations, Plenum, 1972, 85–103. https://doi.org/10.1007/978-1-4684-2001-2_9
- V. Chvátal, A greedy heuristic for the set-covering problem, Math. Oper. Res. 4 (1979), 233–235. https://doi.org/10.1287/moor.4.3.233