Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.2 — the affine solution (4.7) is feasible

Proved
BudgetedAffine.Disjoint.lemma_4_2

by mikedeng1 · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

affine-policiesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

In the setting of Lemma 4.1 (optimal (x∗,y∗)(x^*,y^*)(x∗,y∗) with value OPT\mathrm{OPT}OPT, an online covering algorithm A\mathcal AA for B~\tilde BB~ with ratio ρ\rhoρ, a run a1,…,aLa_1,\dots,a_La1​,…,aL​ of Algorithm 1), let I=⋃ℓIℓ\mathcal I=\bigcup_\ell\mathcal I_\ellI=⋃ℓ​Iℓ​ be the threshold set of Sec. 4.2, let viv_ivi​ be an optimal solution of z(ei)z(e_i)z(ei​) for each i∈Ii\in\mathcal Ii∈I, and let (xSta,ySta)(x_{Sta},y_{Sta})(xSta​,ySta​) be an optimal solution of the static problem (4.6). Then the affine solution (4.7)

x=xSta,y(h)=∑i∈Iαihivi+yStax=x_{Sta},\qquad y(h)=\sum_{i\in\mathcal I}\alpha_ih_iv_i+y_{Sta}x=xSta​,y(h)=i∈I∑​αi​hi​vi​+ySta​

is feasible for the adjustable problem (1.1) over the disjoint constrained budgeted set: x∈Xx\in\mathcal Xx∈X and, for every h∈Uh\in\mathcal Uh∈U, y(h)≥0y(h)\ge0y(h)≥0 and Ax+By(h)≥hAx+By(h)\ge hAx+By(h)≥h.

Together with Lemmas 4.3 and 4.4 this shows that the affine policy's cost bounds zAff(U)z_{Aff}(\mathcal U)zAff​(U).

Formalization Note The policy is the explicit affine map h↦Ph+yStah\mapsto Ph+y_{Sta}h↦Ph+ySta​, with PPP the matrix whose column iii is αivi\alpha_iv_iαi​vi​ for i∈Ii\in\mathcal Ii∈I and 000 otherwise. Optimal covers viv_ivi​ are assumed only for i∈Ii\in\mathcal Ii∈I, the only ones the construction uses (for i∉Ii\notin\mathcal Ii∈/I an optimal cover need not exist). The hypothesis cTx≥0c^Tx\ge0cTx≥0 on X\mathcal XX is the mission's standing added hypothesis.

Preamble
import Mathlib
import Definitions.Def_BudgetedAffine_Disjoint_Model
import Definitions.Def_BudgetedAffine_Disjoint_OnlineCover
import Definitions.Def_BudgetedAffine_Disjoint_Construction
Formal statement
namespace BudgetedAffine.Disjoint

open Matrix

/-- Lemma 4.2: the affine solution (4.7), `x = x_Sta`, `y(h) = P h + y_Sta` with
`P h = y_Lin(h)` and `I = ⋃_ℓ I_ℓ` built from a run of Algorithm 1, is feasible for (1.1) over the
disjoint constrained budgeted set. -/
theorem lemma_4_2 {m n L : ℕ} (A B : Matrix (Fin m) (Fin n) ℝ) (c d : Fin n → ℝ)
    (X : Set (Fin n → ℝ)) (S : Fin L → Finset (Fin m)) (w : Fin L → Fin m → ℝ)
    (hB : ∀ i j, 0 ≤ B i j) (hc : 0 ≤ c) (hd : 0 ≤ d) (hX : BudgetedAffine.Budget.IsPolyhedral X)
    (hcX : ∀ x ∈ X, 0 ≤ c ⬝ᵥ x) (hS : IsPartition S) (hw : ∀ ℓ i, 0 ≤ w ℓ i ∧ w ℓ i ≤ 1)
    (xs : Fin n → ℝ) (ys : (Fin m → ℝ) → Fin n → ℝ)
    (hopt : BudgetedAffine.Budget.IsOptimalAR A B c d X (disjointBudgetSet S w) xs ys)
    (OPT : ℝ) (hOPT : BudgetedAffine.Budget.zAR A B c d X (disjointBudgetSet S w) = (OPT : EReal))
    (ρ : ℝ) (hρ : 0 ≤ ρ) (alg : OnlineCover (Btil A B xs) d ρ)
    (σ : Fin L ≃ Fin L) (a : Fin L → Finset (Fin m))
    (ha : IsGreedyRun alg w (hatS S A xs) σ a)
    (v : Fin m → Fin n → ℝ)
    (hv : ∀ i ∈ Iset A B d S w xs σ (nuInc alg a), BudgetedAffine.Budget.IsCoverOpt B d (Pi.single i 1) (v i))
    (xSta ySta : Fin n → ℝ)
    (hSta : BudgetedAffine.Budget.IsStaticOpt A B c d X
      (BudgetedAffine.Budget.staRhs (Iset A B d S w xs σ (nuInc alg a)) (BudgetedAffine.Budget.alpha A xs)) xSta ySta) :
    BudgetedAffine.Budget.Feasible A B X (disjointBudgetSet S w) xSta
      (fun h => BudgetedAffine.Budget.linMatrix (Iset A B d S w xs σ (nuInc alg a)) (BudgetedAffine.Budget.alpha A xs) v *ᵥ h + ySta) := by sorry

end BudgetedAffine.Disjoint
Source
El Housni, Goyal, On the Optimality of Affine Policies for Budgeted Uncertainty Sets, arXiv:1807.00163v2, Lemma 4.2, p. 18
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me