The integral optimum is attained
ProvedPrimalDualOnline.SetCover.exists_optIntegralFor a set-cover instance there exists a real number that is the least achievable cover cost: some cover has cost exactly , and no cover has cost below . Coverability - a field of the instance - is what guarantees that at least one cover exists, so that the set of achievable costs is nonempty; finiteness of then makes that set finite, so a least element exists. Stated explicitly so that the comparison with the fractional optimum is not vacuous.
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.exists_optIntegral
{E S : Type*} [Fintype E] [Fintype S] [DecidableEq E] [DecidableEq S]
(I : SetCoverInstance E S) :
∃ v : ℝ, IsOptIntegral I.sets I.cost v := 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.exists_optIntegral
Binders, instances and the bundled argument. The statement quantifies over two implicitly given types and in arbitrary universes, and assumes four typeclass instances: is a finite type, is a finite type, equality on is decidable, and equality on is decidable. (The two decidability instances are what allow to be formed as a finite subset of by filtering; they restrict the types only to the extent of requiring a decision procedure for equality.) There is then one explicit argument , a bundled set-cover instance over and , which packages exactly four things:
- a family (finite subsets of ), i.e. for each ;
- a cost function ;
- a proof of nonnegativity of cost: for every ;
- a proof of coverability: for every there exists some with .
Fields 3 and 4 are therefore hypotheses of the statement, carried inside rather than written as separate assumptions. The conclusion mentions only fields 1 and 2.
The conclusion. There exists a real number which is the least element of the set of achievable integral cover costs
Expanded into its two component clauses, the assertion is that there is a with:
- (Membership / attainment.) There exists a finite subset such that every element belongs to for at least one , and
- (Lower bound.) For every finite subset with the property that every belongs to for some ,
1. Attainment vs. infimum vs. boundedness. The statement asserts attainment: a minimum. The membership clause says is itself the cost of an actual cover, and the lower-bound clause says no cover is cheaper. This is strictly more than asserting that an infimum exists, and strictly more than asserting that the set of cover costs is bounded below: the value is realized by a witness . It is not phrased as a greatest-lower-bound property, and it does not assert that the minimizing is unique.
2. Provenance and load-bearing status of the two side conditions.
- Nonnegativity of cost ( for all ) is present, as field 3 of the bundled argument , not as a loose hypothesis. Its role in this particular statement: the range of the quantifier in both clauses is the collection of finite subsets of , and since is a finite type there are only finitely many such subsets, so is a finite set of reals regardless of the signs of the . Dropping nonnegativity therefore does not make either clause unsatisfiable; with negative entries the least element would simply be a possibly negative number, attained at some cover that includes the cheap sets. In that sense the condition is not what makes this statement's two clauses hold.
- Every element lies in some set (coverability) is present, as field 4 of the bundled argument . It bears on the membership clause. If it were dropped and some had for every , then no finite could cover , so would be empty; the membership clause would then be unsatisfiable for every real , and the existence claim would fail. The lower-bound clause, by contrast, would become vacuously true for every (there being no cover to compare against). The one situation in which dropping coverability changes nothing is empty, where coverability is vacuous anyway.
3. (Not applicable; this item concerns the comparison statement.)
4. Hypotheses relative to the comparison statement. This statement's assumptions are exactly the four typeclass instances and the single bundled argument . It carries no hypothesis that the comparison statement lacks: the comparison statement has the identical prefix of binders and instances and the identical bundled argument, and then adds two real variables and two hypotheses about them. Nothing here is assumed about fractional covers, about a second value, or about the relationship between the two notions.
5. Degenerate cases silently included.
- empty. The covering condition is vacuous, so every finite — including — qualifies, and contains . Coverability (field 4) is vacuously satisfiable, so such instances exist for any and any nonnegative .
- empty. Coverability demands an for each , so a bundled instance with empty can exist only when is empty as well. In that case the only finite subset of is and .
- . Nonnegativity holds; every cover has cost , so and the asserted is , attained by any cover whatsoever.
- Individual zero-cost sets. Adding a set with to a cover leaves the cost unchanged, so the witness in the membership clause need not be minimal with respect to inclusion and need not be unique; the covering condition demands only that cover, never that every member of be needed.
- Unbounded entries. Not applicable here; the quantifier ranges over finite subsets of , with no numerical entries.
What is NOT asserted. Nothing about fractional covers, linear-programming relaxations, duals or packings. No uniqueness: the claim is a bare existential over , not a unique-existence claim, and no uniqueness of the attaining cover is claimed. No bound on the value — no upper bound, no lower bound such as , no relation to or to any other quantity. No claim that is inclusion-minimal, of minimum cardinality, or computable, and no algorithm, procedure or complexity claim. Nothing about greedy or primal-dual constructions, about , about frequencies, or about approximation ratios. No statement that the value is positive, rational, or nonzero.
Confirmed by the mission captain (proposal self-audit).