The indicator of a cover is a fractional cover (assisting theorem)
ProvedPrimalDualOnline.SetCover.indicator_isFractionalCoverA generalized assisting theorem, not a source-facing statement. If covers every element, then its indicator vector - weight on the sets in and elsewhere - is a fractional cover: it is nonnegative, and for every element the total weight on the sets containing is the number of sets in containing , which is at least precisely because covers .
It deliberately does not take a SetCoverInstance. There is no cost function in the statement, so there is nothing for cost-nonnegativity to constrain; and the hypothesis that the given covers is strictly stronger than coverability of the family, so bundling the weaker fact alongside it would be redundant. This is the embedding of integral solutions into the LP relaxation.
import Definitions.Def_PrimalDualOnline_SetCover import Mathlib.Tactic
open PrimalDualOnline.SetCover
theorem PrimalDualOnline.SetCover.indicator_isFractionalCover
{E S : Type*} [Fintype E] [Fintype S] [DecidableEq E] [DecidableEq S]
(sets : S → Finset E) (C : Finset S) (hC : IsCover sets C) :
IsFractionalCover sets (indicator C) := by sorryRead-back
What the Lean code literally says, in plain math · claude-opus-5
Notation shared by all four statements
Throughout, and are arbitrary types carrying the instance assumptions that each is a finite type (, finite) and that equality is decidable on each of them ( and both have decidable equality; the decidability on is what permits the constructions and below to be written at all). Elements of are thought of as points and elements of as indices.
A family of sets is a function , written , assigning to each index a finite subset . A cost function is , written ; its values are arbitrary real numbers unless a hypothesis restricts them.
The auxiliary notions used below are, spelled out:
- , the (finite) set of indices whose set contains the point .
- Coverable for : for every point there exists an index with . Equivalently, for every .
- NonnegCost for : for every .
- is a cover (for a finite ): for every there exists with .
- Cover cost: , a finite sum over the members of .
- is a fractional cover (for ): both
- Fractional cost: , a finite sum over all of .
- Indicator: , if and otherwise.
3. indicator_isFractionalCover
Binders and hypotheses. Fix finite types with decidable equality on each (decidability on is needed both to form and to define the indicator). Explicit arguments: a family and a finite subset . The only hypothesis is:
- is a cover: for every there exists with .
There is no cost function among the arguments, and consequently no nonnegativity-of-cost hypothesis. There is no coverability hypothesis on either (coverability is not assumed; the cover hypothesis on is a separate, stronger-looking condition on the given ).
Conclusion. The real-valued function given by
is a fractional cover, i.e. both of the following hold:
- for every ;
- for every ,
that is, the number of indices that simultaneously lie in and satisfy — the cardinality , viewed as a real number — is at least .
Degenerate cases silently included.
- If is empty, the cover hypothesis is vacuously true for every finite , including ; the second conclusion clause is then also vacuous, and only the nonnegativity clause carries content. In particular the statement is asserted for in that case.
- If is nonempty, the cover hypothesis forces to be nonempty and forces for each .
- If is empty, then , and the hypothesis is satisfiable only when is empty as well.
- may contain redundant indices, indices with , or all of ; the conclusion is asserted for every such satisfying the hypothesis.
What is NOT asserted. The inequality in clause 2 is only : it is not claimed that the sum equals , nor that a point is covered by exactly one member of , nor any upper bound on . Nothing is said about cost: no comparison of with anything, no optimality or near-optimality of among fractional covers, no relation to the optimal values of statements 1 and 2. No converse is asserted — it is not claimed that a -valued fractional cover arises from a cover, nor that being a fractional cover implies is a cover. No minimality of and no existence of any cover is asserted; the given is supplied by the caller.
Confirmed by the mission captain (proposal self-audit).