Theorem 3, p. 17 — the Max-Weighted-Service policy is almost surely asymptotically optimal
ProvedPooledRationing.MaxWeighted.theorem_3A firm serves customers from pooled resources at a fixed capacity level . Demand has law (nonnegative, with a bounded second moment); after demand is seen the firm picks fulfilments and allocations , pays a linear cost , and customer receives service , with target . Assume:
- Assumption 1: each is non-decreasing and upper semicontinuous in , and each is compact;
- Assumption 3: the support of is bounded, and whenever ;
- the capacity level is feasible, i.e. some randomized policy meets every target (11a).
Let be the Max-Weighted-Service policy: for each and each demand , is an optimal solution of (16), , ties broken arbitrarily. Let be independent samples from , and for each horizon run Algorithm 1 on : and
Then, almost surely,
and
where is a fresh copy of the demand, independent of the samples, so each expectation is taken with the iterate fixed, and is the optimal value of (11).
So the randomized policy that adopts for an iterate drawn uniformly from is asymptotically optimal and asymptotically meets every individual service target, without solving the infinite-dimensional problem (11).
Formalization Note. (27) and (28) are stated in the equivalent form "for every , eventually in " (, resp. ), with one null set for both inequalities and all . The theorem holds for every tie-breaking selection ; the selection is assumed jointly measurable in so the iterates are random variables. All horizons read the first entries of one i.i.d. sequence (the paper does not couple the runs for different ). Indices are 0-based: the Lean sum over is the page's . Added hypotheses, none on the page: and jointly measurable (the page has ), on for , and on feasible allocations, which the paper's proof of Lemma 6 assumes implicitly and which keeps a genuine infimum.
Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.
import Mathlib import Definitions.Def_PooledRationing_AsymFeas_Setting import Definitions.Def_PooledRationing_MaxWeighted_Algorithm
namespace PooledRationing.MaxWeighted
open MeasureTheory ProbabilityTheory Filter Topology
theorem theorem_3
{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)) :
∀ᵐ ω ∂μ,
(∀ ε > 0, ∀ᶠ T : ℕ in atTop,
(1 / (T : ℝ)) * ∑ t ∈ Finset.range T,
PooledRationing.AsymFeas.detCost F f (sel (mwsIter sel β R (stepSize ϵ T) (fun k => Dseq k ω) t))
≤ PooledRationing.AsymFeas.obj11 F f R β P c + ε) ∧
(∀ j, ∀ ε > 0, ∀ᶠ T : ℕ in atTop,
β j - ε ≤ (1 / (T : ℝ)) * ∑ t ∈ Finset.range T,
PooledRationing.AsymFeas.detService F R (sel (mwsIter sel β R (stepSize ϵ T) (fun k => Dseq k ω) t)) j) := by sorry
end PooledRationing.MaxWeighted
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.