The fractional optimum is at most the integral optimum
ProvedPrimalDualOnline.SetCover.optFractional_le_optIntegralIf is the least achievable fractional cover cost and is the least achievable integral cover cost for a set-cover instance, then
The LP relaxation is a relaxation: every integral cover gives a fractional cover of the same cost via its indicator vector, so the fractional optimum can only be smaller. Both hypotheses are attainment statements, so each in particular asserts that the corresponding optimum exists; for an instance where either feasible set is empty the claim is vacuous. Nothing is asserted about the size of the integrality gap.
Instance-bundled hypotheses. The problem's two standing assumptions - every set cost is nonnegative, and every element lies in at least one available set - are not loose hypotheses of this statement. They are fields of the SetCoverInstance argument, so the statement cannot be instantiated at data violating either.
import Definitions.Def_PrimalDualOnline_SetCover import Mathlib.Tactic
open PrimalDualOnline.SetCover
theorem PrimalDualOnline.SetCover.optFractional_le_optIntegral
{E S : Type*} [Fintype E] [Fintype S] [DecidableEq E] [DecidableEq S]
(I : SetCoverInstance E S) (vf vi : ℝ)
(hf : IsOptFractional I.sets I.cost vf) (hi : IsOptIntegral I.sets I.cost vi) :
vf ≤ vi := by sorryRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-backs: attainment and comparison of optimal cover values
Throughout, the following notation is used for the objects the three statements refer to. and are two types (indices for elements and for sets, respectively), each carrying a finiteness assumption. For we write for the finite subset of named by the first field of the bundled argument, and for the real number named by its second field. For we write
the (finite) set of indices whose set contains .
A cover is a finite subset such that every satisfies for at least one ; its cost is , each member of counted once.
A fractional cover is an arbitrary real-valued function satisfying both
its cost is , summed over all of , not merely over the support of .
PrimalDualOnline.SetCover.optFractional_le_optIntegral
Binders, instances and hypotheses. Implicitly given types and in arbitrary universes; four typeclass instances ( finite, finite, equality on decidable, equality on decidable); one explicit bundled set-cover instance over and , carrying the family (finite subsets of ), the cost , a proof that for every , and a proof that every lies in for at least one . Then two explicit real variables and , universally quantified, and two explicit hypotheses about them, stated for the same and drawn from :
- : is the least element of the set of fractional cover costs, i.e. both
- there exists with for all , with for all , and with ; and
- for every satisfying for all and for all , one has .
- : is the least element of the set of integral cover costs, i.e. both
- there exists a finite such that every lies in for some , and ; and
- for every finite such that every lies in for some , one has .
The conclusion.
That is: for any two reals standing in those two least-element relations with respect to one and the same family and cost , the fractional value is less than or equal to the integral value. The inequality is non-strict, in that direction: fractional on the left, integral on the right.
1. Attainment vs. infimum vs. boundedness. This statement does not itself assert that any minimum is attained; attainment appears here only inside its hypotheses. Each of and is a least-element assumption, and each accordingly contains an attainment clause (a witness , respectively , realizing the value) alongside a lower-bound clause. The conclusion is a plain comparison of two given reals. So the logical shape is: if both minima are attained at the values and , then . Nothing asserts that such or exist; if for some instance no such pair existed, the statement would hold vacuously for that instance.
2. Provenance and load-bearing status of the two side conditions.
- Nonnegativity of cost is present, as field 3 of the bundled argument — not as a loose hypothesis, and not restated in or . As regards the conclusion it does no work: the hypothesis already supplies a lower-bound clause quantified over all feasible , and already supplies a witness cover, so the comparison follows from the hypotheses without reference to the signs of the . What dropping nonnegativity would change is the population of instances to which the statement applies: with some the fractional cost can be driven to along increasing (raising one coordinate preserves nonnegativity and every covering constraint), so the lower-bound clause of would be unsatisfiable and the hypothesis could hold for no at all. The implication would then be vacuous rather than false.
- Every element lies in some set (coverability) is present, as field 4 of the bundled argument . It likewise does no work in deriving the conclusion, since the membership clauses of and already assert that a feasible and a cover exist. If it were dropped and some were in no , then and its constraint is unsatisfiable, and no finite covers ; both membership clauses would fail, so neither nor could be satisfied, and the statement would again be vacuously true rather than false. In short: in this statement both bundled conditions bear on whether the hypotheses are satisfiable, not on the conclusion.
3. Can either extremal set be empty? Two readings, both addressed.
- The two value sets. Under the hypotheses, neither can be empty. The membership clause of places in the set of fractional cover costs, and the membership clause of places in the set of integral cover costs; a set with a least element is nonempty by definition. If one of them could be empty for a given instance, the corresponding hypothesis would be unsatisfiable and the statement would carry no content for that instance — it would be vacuously true, asserting nothing about and . (Coverability, as noted above, is the bundled condition that rules this out independently of the hypotheses, except in the vacuous case empty where both sets contain .)
- The extremal witnesses. The minimizing cover furnished by can be the empty subset of , but only when is empty: the covering condition on requires, for each , some with , which is impossible unless there is no . Likewise the minimizing furnished by can be the zero function only when is empty, since otherwise each forces . In that -empty case and , and the asserted inequality reads , which holds as an equality. So the empty-witness case does not contradict the conclusion; it is one of the cases in which the conclusion is an equality rather than a strict inequality. Separately, may be nonempty yet contain sets that contribute nothing (see item 5), since the covering condition never demands minimality.
4. Hypotheses relative to the two existence statements. All three statements share the identical prefix: the same two implicit types, the same four typeclass instances ( finite, finite, equality decidable on , equality decidable on ), and the same single explicit bundled set-cover instance with its four fields. Neither existence statement carries any hypothesis that this comparison statement lacks. This statement carries strictly more: two additional explicit real arguments , and two additional explicit hypotheses asserting that each is the least element of its respective value set. It does not assume the two existence theorems as such; it takes the two least elements as given data and hypotheses. Conversely, the existence statements assume nothing about any value, about the other notion of cover, or about a relationship between them.
5. Degenerate cases silently included.
- empty. Both feasibility notions become vacuous: every finite is a cover and every nonnegative is a fractional cover. With nonnegative costs the least values are (attained at ) and (attained at ), and the conclusion holds with equality. Coverability is vacuously satisfiable, so such bundled instances exist for any and any nonnegative .
- empty. Coverability requires some for each , so an instance with empty forces empty. Then the only finite subset of is and the only function is the empty function; both value sets are , so and the conclusion is .
- . Nonnegativity holds; every cover and every fractional cover has cost , so the hypotheses force and the asserted inequality is an equality. The statement's non-strict admits this.
- Individual zero-cost sets. Sets with may be added to a minimizing cover , or given arbitrary nonnegative mass , without changing either cost. Hence neither extremal witness is pinned down by the hypotheses, and need not be inclusion-minimal or of minimum cardinality. The values and are nonetheless each fixed by their hypothesis, since a subset of has at most one least element — though the statement asserts only the inequality between them, not this or any uniqueness.
- Unbounded entries of a fractional cover. The lower-bound clause of is quantified over all nonnegative meeting the covering constraints, with no upper bound on any , no , no integrality and no rationality; entries may be arbitrarily large reals. Such are therefore included in the comparison range of , and the set of fractional costs is in general unbounded above; this does not affect the conclusion, which concerns only the least elements. The attaining is likewise unconstrained in magnitude.
What is NOT asserted. The statement does not assert that or exists — only what follows if both are given. It does not assert equality, nor strictness, nor any gap or ratio bound in the other direction: there is no claim of the form for any , no integrality-gap bound, no claim about or any frequency- or logarithm-based factor. It does not claim that and are unique (that a set has at most one least element is not part of what is asserted), nor that either is nonnegative, nonzero, rational or finite in any sense beyond being real. It says nothing about the relationship between the attaining witnesses and — in particular nothing about rounding a fractional cover to a cover, nothing about indicator functions of covers, and nothing about supports. It makes no duality claim: nothing about dual packings, , weak duality or complementary slackness. And it makes no algorithmic, greedy, primal-dual, online or complexity claim.
Confirmed by the mission captain (proposal self-audit).