Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6, p. 54 — if c is feasible, w_j^(T+1)/(Tγ_T) → 0 almost surely

Proved
PooledRationing.MaxWeighted.lemma_6

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

almost-sure-convergencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1service-levelstochastic-approximation

Work in the setting of Theorem 3: Assumptions 1 and 3, ccc feasible, ∣f∣≤K|f|\le K∣f∣≤K on feasible allocations, Rj≥0R_j\ge0Rj​≥0, s≤Ds\le Ds≤D on P(c,D)P(c,D)P(c,D) for D≥0D\ge0D≥0, a selection w↦φww\mapsto\varphi_ww↦φw​ of optimal solutions of (16) that is jointly measurable in (w,D)(w,D)(w,D), independent demand samples D(1),D(2),…D^{(1)},D^{(2)},\dotsD(1),D(2),… with law FFF, and the step size γT=T−(1/2+ϵ)\gamma_T=T^{-(1/2+\epsilon)}γT​=T−(1/2+ϵ) with ϵ∈(0,1/2)\epsilon\in(0,1/2)ϵ∈(0,1/2). Let w(T+1)w^{(T+1)}w(T+1) be the last iterate (26) of Algorithm 1 run on D(1),…,D(T)D^{(1)},\dots,D^{(T)}D(1),…,D(T) with step γT\gamma_TγT​. Then for every customer j∈Nj\in Nj∈N,

lim sup⁡T→∞wj(T+1)TγT=0almost surely.\limsup_{T\to\infty}\frac{w^{(T+1)}_j}{T\gamma_T}=0\qquad\text{almost surely.}T→∞limsup​TγT​wj(T+1)​​=0almost surely.

The dual weights therefore grow more slowly than TγTT\gamma_TTγT​. Since wj(T+1)/γTw^{(T+1)}_j/\gamma_Twj(T+1)​/γT​ bounds the accumulated service shortfall of customer jjj, this gives the service half (28) of Theorem 3.

Formalization Note. The iterates are nonnegative, so "lim sup⁡=0\limsup=0limsup=0" is stated as convergence to 000. The page's w(T+1)w^{(T+1)}w(T+1) is the Lean iterate at index TTT. The lemma is stated inside the proof of Theorem 3 and uses its hypotheses, including the step size; it is posed with them. All horizons read one i.i.d. sequence, and the measurability and boundedness hypotheses are those of the other milestones.

Preamble
import Mathlib
import Definitions.Def_PooledRationing_AsymFeas_Setting
import Definitions.Def_PooledRationing_MaxWeighted_Algorithm
Formal statement
namespace PooledRationing.MaxWeighted

open MeasureTheory ProbabilityTheory Filter Topology

theorem lemma_6
    {n m : ℕ} (F : Measure (Fin n → ℝ)) [IsProbabilityMeasure F]
    (P : (Fin m → ℝ) → (Fin n → ℝ) → Set (PooledRationing.AsymFeas.Sol n m)) (c : Fin m → ℝ)
    (f : (Fin m → Fin n → ℝ) →ₗ[ℝ] ℝ) (R : Fin n → ℝ → ℝ → ℝ) (β : Fin n → ℝ)
    (hc : 0 ≤ c) (hβ : ∀ j, β j ∈ Set.Ioo 0 1)
    (hF2 : MemLp id 2 F) (hDnn : ∀ᵐ D ∂F, 0 ≤ D)
    (hRmono : ∀ j d, Monotone (fun s => R j s d))
    (hRusc : ∀ j d, UpperSemicontinuous (fun s => R j s d))
    (hPcpt : ∀ D, IsCompact (P c D))
    (hRnonneg : ∀ j s d, 0 ≤ R j s d)
    (hRmeas : ∀ j, Measurable (fun p : ℝ × ℝ => R j p.1 p.2))
    (B : ℝ) (hA3supp : ∀ᵐ D ∂F, ∀ j, |D j| ≤ B)
    (C : ℝ) (hA3R : ∀ j s d, s ≤ d → R j s d ≤ C)
    (hPs : ∀ D, 0 ≤ D → ∀ x ∈ P c D, ∀ j, x.1 j ≤ D j)
    (K : ℝ) (hf : ∀ᵐ D ∂F, ∀ x ∈ P c D, |f x.2| ≤ K)
    (hfeas : PooledRationing.AsymFeas.IsFeasible F R β P c)
    (sel : (Fin n → ℝ) → PooledRationing.AsymFeas.DetPolicy P c)
    (hsel : ∀ w, 0 ≤ w → ∀ D, IsMinOn (PooledRationing.AsymFeas.mwsObjective f R w D) (P c D) ((sel w).toFun D))
    (hsel_meas : Measurable (fun p : (Fin n → ℝ) × (Fin n → ℝ) => (sel p.1).toFun p.2))
    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (Dseq : ℕ → Ω → (Fin n → ℝ)) (hDmeas : ∀ t, Measurable (Dseq t))
    (hindep : iIndepFun Dseq μ) (hlaw : ∀ t, μ.map (Dseq t) = F)
    (ϵ : ℝ) (hϵ : ϵ ∈ Set.Ioo 0 (1 / 2)) :
    ∀ j, ∀ᵐ ω ∂μ, Tendsto (fun T : ℕ =>
        mwsIter sel β R (stepSize ϵ T) (fun k => Dseq k ω) T j / (T * stepSize ϵ T))
      atTop (𝓝 0) := by sorry

end PooledRationing.MaxWeighted
Source
Jiang, Wang & Zhang, Achieving High Individual Service-Levels without Safety Stock? Optimal Rationing Policy of Pooled Resources, SSRN 3385089 (version of 31 July 2021), p. 54, Lemma 6
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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