Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The fractional optimum is attained

Proved
PrimalDualOnline.SetCover.exists_optFractional

by moutei · Sep 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmscombinatoricsprimal-dualset-cover

For a set-cover instance there exists a real number vvv that is the least achievable fractional cover cost: some fractional cover has cost exactly vvv, and no fractional cover has cost below vvv.

This is an attainment statement, not a boundedness statement: it asserts that the infimum over the covering polytope is achieved by an actual feasible point. Both instance fields are load-bearing. Without coverability some element lies in no set, its covering constraint reads 1≤01 \le 01≤0, and the feasible set is empty, so no least element exists. Without nonnegative costs a set of negative cost can have its weight scaled up without bound while feasibility is preserved, driving the objective to −∞-\infty−∞, and again no least element exists.

This is the hardest supporting item in the mission. Unlike the integral case, where finiteness of SSS makes the set of achievable costs finite, the feasible region here is a continuum and attainment needs a genuine compactness or vertex argument.

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.

Preamble
import Definitions.Def_PrimalDualOnline_SetCover
import Mathlib.Tactic
Formal statement
open PrimalDualOnline.SetCover

theorem PrimalDualOnline.SetCover.exists_optFractional
    {E S : Type*} [Fintype E] [Fintype S] [DecidableEq E] [DecidableEq S]
    (I : SetCoverInstance E S) :
    ∃ v : ℝ, IsOptFractional I.sets I.cost v := by sorry
Source
Niv Buchbinder, Designing Competitive Online Algorithms via a Primal-Dual Approach, PhD thesis, Tel Aviv University, 2008, https://www.tau.ac.il/~nivb/download/phd-thsis.pdf, Section 2.2, program (P) on p. 10 (attainment is implicit in the source's reference to the optimal fractional solution)
Read-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. EEE and SSS are two types (indices for elements and for sets, respectively), each carrying a finiteness assumption. For s∈Ss \in Ss∈S we write As⊆EA_s \subseteq EAs​⊆E for the finite subset of EEE named by the first field of the bundled argument, and c(s)∈Rc(s) \in \mathbb{R}c(s)∈R for the real number named by its second field. For e∈Ee \in Ee∈E we write

cont(e)  =  { s∈S  :  e∈As },\mathrm{cont}(e) \;=\; \{\, s \in S \;:\; e \in A_s \,\},cont(e)={s∈S:e∈As​},

the (finite) set of indices whose set contains eee.

A cover is a finite subset C⊆SC \subseteq SC⊆S such that every e∈Ee \in Ee∈E satisfies e∈Ase \in A_se∈As​ for at least one s∈Cs \in Cs∈C; its cost is ∑s∈Cc(s)\sum_{s \in C} c(s)∑s∈C​c(s), each member of CCC counted once.

A fractional cover is an arbitrary real-valued function x:S→Rx : S \to \mathbb{R}x:S→R satisfying both

x(s)≥0  for every s∈S,∑s∈cont(e)x(s) ≥ 1  for every e∈E;x(s) \ge 0 \ \ \text{for every } s \in S, \qquad \sum_{s \in \mathrm{cont}(e)} x(s) \ \ge\ 1 \ \ \text{for every } e \in E;x(s)≥0  for every s∈S,s∈cont(e)∑​x(s) ≥ 1  for every e∈E;

its cost is ∑s∈Sc(s) x(s)\sum_{s \in S} c(s)\, x(s)∑s∈S​c(s)x(s), summed over all of SSS, not merely over the support of xxx.


PrimalDualOnline.SetCover.exists_optFractional

Binders, instances and the bundled argument. Identical to the previous statement: implicitly given types EEE and SSS in arbitrary universes; four instances (EEE finite, SSS finite, equality on EEE decidable, equality on SSS decidable — the last two being what permit cont(e)\mathrm{cont}(e)cont(e) to be formed); and one explicit bundled set-cover instance III carrying the family AAA, the cost ccc, a proof that 0≤c(s)0 \le c(s)0≤c(s) for every s∈Ss \in Ss∈S, and a proof that every e∈Ee \in Ee∈E lies in AsA_sAs​ for at least one s∈Ss \in Ss∈S.

The conclusion. There exists a real number vvv which is the least element of the set of achievable fractional cover costs

Vfrac  =  { w∈R  :  some fractional cover x satisfies ∑s∈Sc(s) x(s)=w }.V_{\mathrm{frac}} \;=\; \Bigl\{\, w \in \mathbb{R} \;:\; \text{some fractional cover } x \text{ satisfies } \textstyle\sum_{s \in S} c(s)\,x(s) = w \,\Bigr\}.Vfrac​={w∈R:some fractional cover x satisfies ∑s∈S​c(s)x(s)=w}.

Expanded into its two component clauses, the assertion is that there is a v∈Rv \in \mathbb{R}v∈R with:

  • (Membership / attainment.) There exists a function x0:S→Rx_0 : S \to \mathbb{R}x0​:S→R such that x0(s)≥0x_0(s) \ge 0x0​(s)≥0 for every s∈Ss \in Ss∈S, and ∑s∈cont(e)x0(s)≥1\sum_{s \in \mathrm{cont}(e)} x_0(s) \ge 1∑s∈cont(e)​x0​(s)≥1 for every e∈Ee \in Ee∈E, and
∑s∈Sc(s) x0(s)  =  v.\sum_{s \in S} c(s)\, x_0(s) \;=\; v .s∈S∑​c(s)x0​(s)=v.
  • (Lower bound.) For every function x:S→Rx : S \to \mathbb{R}x:S→R with x(s)≥0x(s) \ge 0x(s)≥0 for all s∈Ss \in Ss∈S and ∑s∈cont(e)x(s)≥1\sum_{s \in \mathrm{cont}(e)} x(s) \ge 1∑s∈cont(e)​x(s)≥1 for all e∈Ee \in Ee∈E,
v  ≤  ∑s∈Sc(s) x(s).v \;\le\; \sum_{s \in S} c(s)\, x(s).v≤s∈S∑​c(s)x(s).

1. Attainment vs. infimum vs. boundedness. Again attainment: a minimum, not an infimum and not mere boundedness below. The membership clause requires an actual feasible x0x_0x0​ whose cost equals vvv exactly; the lower-bound clause requires that no feasible xxx costs less. Note that here the quantifier ranges over an infinite domain — all real-valued functions on SSS satisfying the two feasibility constraints — so the attainment content is substantive in a way the finite-subset case is not. The statement does not say the minimum is the infimum of a sequence, does not say the feasible region is compact, and does not say the minimum is approached without being reached.

2. Provenance and load-bearing status of the two side conditions.

  • Nonnegativity of cost is present, as field 3 of the bundled argument III. It bears on the lower-bound clause. Concretely, if it were dropped and some s0∈Ss_0 \in Ss0​∈S had c(s0)<0c(s_0) < 0c(s0​)<0, then from any feasible xxx one obtains further feasible points by increasing the single coordinate x(s0)x(s_0)x(s0​) by an arbitrary amount t>0t > 0t>0: raising a coordinate preserves x≥0x \ge 0x≥0 and can only increase each constrained sum ∑s∈cont(e)x(s)\sum_{s \in \mathrm{cont}(e)} x(s)∑s∈cont(e)​x(s), so all constraints continue to hold, while the cost changes by c(s0) t→−∞c(s_0)\,t \to -\inftyc(s0​)t→−∞. Then VfracV_{\mathrm{frac}}Vfrac​ would have no lower bound at all, and the lower-bound clause would be unsatisfiable for every real vvv — so the existential would fail. (The membership clause would be unaffected.) This is the clause where the condition does work that it does not do in the integral statement.
  • Every element lies in some set (coverability) is present, as field 4 of the bundled argument III. It bears on the membership clause. If it were dropped and some e0∈Ee_0 \in Ee0​∈E had e0∉Ase_0 \notin A_se0​∈/As​ for every sss, then cont(e0)=∅\mathrm{cont}(e_0) = \emptysetcont(e0​)=∅ and its constraint reads 0=∑s∈∅x(s)≥10 = \sum_{s \in \emptyset} x(s) \ge 10=∑s∈∅​x(s)≥1, which no xxx satisfies; there would be no feasible xxx at all, VfracV_{\mathrm{frac}}Vfrac​ would be empty, and the membership clause would be unsatisfiable for every vvv, while the lower-bound clause would hold vacuously for every vvv. As before, the exception is EEE empty, where coverability is vacuous.

3. (Not applicable; this item concerns the comparison statement.)

4. Hypotheses relative to the comparison statement. Exactly the same prefix as the integral existence statement — four instances, one bundled argument — and therefore no hypothesis beyond what the comparison statement assumes; the comparison statement adds two reals and two hypotheses on top of this same prefix. In particular this statement does not assume the existence of a least integral value, and says nothing about covers, indicators or integrality.

5. Degenerate cases silently included.

  • EEE empty. The second feasibility constraint is vacuous, so every nonnegative xxx is a fractional cover, including x≡0x \equiv 0x≡0, whose cost is 000; VfracV_{\mathrm{frac}}Vfrac​ then contains 000 and, since every summand c(s)x(s)c(s)x(s)c(s)x(s) is a product of nonnegatives, contains nothing below 000.
  • SSS empty. As before, coverability then forces EEE empty. There is exactly one function S→RS \to \mathbb{R}S→R, the empty function, it is feasible, and its cost is the empty sum 000; so Vfrac={0}V_{\mathrm{frac}} = \{0\}Vfrac​={0}.
  • c≡0c \equiv 0c≡0. Nonnegativity holds; every feasible xxx has cost 000, so Vfrac⊆{0}V_{\mathrm{frac}} \subseteq \{0\}Vfrac​⊆{0} and the asserted vvv is 000, attained by any feasible xxx at all.
  • Individual zero-cost sets. A coordinate sss with c(s)=0c(s) = 0c(s)=0 contributes 000 to the cost whatever the value of x(s)x(s)x(s), so the attaining x0x_0x0​ of the membership clause is not pinned down: it may place arbitrary nonnegative mass on such coordinates. No uniqueness of x0x_0x0​ is claimed.
  • Unbounded entries of a fractional cover. The feasibility conditions impose only x(s)≥0x(s) \ge 0x(s)≥0 and ∑s∈cont(e)x(s)≥1\sum_{s \in \mathrm{cont}(e)} x(s) \ge 1∑s∈cont(e)​x(s)≥1. There is no upper bound on any entry: no x(s)≤1x(s) \le 1x(s)≤1, no normalization, no integrality, no rationality, no bound on ∑sx(s)\sum_s x(s)∑s​x(s). Entries may be arbitrarily large, so VfracV_{\mathrm{frac}}Vfrac​ is in general unbounded above; the assertion concerns only its least element. The domain is all of S→RS \to \mathbb{R}S→R, so entries are arbitrary reals subject only to those constraints.

What is NOT asserted. No relation to the integral optimum — this statement is silent about covers and about any gap or ratio between fractional and integral values. No uniqueness: a bare existential over vvv, not unique existence, and the attaining x0x_0x0​ is not claimed unique. No structural claim about x0x_0x0​: it is not claimed to be 000-111 valued, rational, supported on few coordinates, or extremal/vertex-like. No duality claim: nothing about dual packings, about ∑ey(e)\sum_{e} y(e)∑e​y(e), or about weak or strong duality. No bound on vvv — not v≥0v \ge 0v≥0, not v≤∑sc(s)v \le \sum_{s} c(s)v≤∑s​c(s), nothing. No claim that the feasible region is nonempty, bounded, or compact beyond what the membership clause states, and no claim that the minimum is computable or that any algorithm finds it.


Human review
  • Endorsed by Shuze Chen · Sep 17, 2026

  • Endorsed by moutei · Sep 17, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me