Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Probability

1,641 missions · 714 completed

Missions

Open927Completed714All1641
Operations ResearchStochastic Systems·Captain: mikedeng1

The G/GI/N Queue in the Halfin–Whitt Regime 3: The Number in a Non-Idling G/GI/N System Satisfies the Infinite-Server System Equation (2.8)Research Paper

Motivation

A many-server queue has NNN identical servers, a stream of arriving customers, and a buffer in which customers wait when every server is busy. It models call centres, hospital wards and server farms, and the regime of practical interest is the Halfin–Whitt or quality-and-efficiency-driven regime, in which the number of servers NNN grows with the arrival rate λN\lambda_NλN​ so that N(1−λN/N)→β\sqrt N(1-\lambda_N/N)\to\betaN​(1−λN​/N)→β: servers are almost fully used, yet only a vanishing fraction of customers waits.

  • Halfin and Whitt (1981, Oper. Res. 29) identified the regime and proved a diffusion limit for exponential service times (GI/M/NGI/M/NGI/M/N).
  • Puhalskii and Reiman (2000, Adv. Appl. Probab. 32) treated phase-type service distributions (GI/PH/NGI/PH/NGI/PH/N).
  • Reed (2009, arXiv:0912.2837), the source of this mission, obtained the fluid and diffusion limits of the number in system for the G/GI/NG/GI/NG/GI/N queue with a general service-time distribution, assuming only a finite mean. Its approach rests on a sample-path identity, the system equation (2.8), which writes the number in system of the NNN-server queue through quantities of an infinite-server queue fed by the same arrivals.

This mission formalizes that identity and the proposition that yields it.

Setting

Fix one realisation of the queue (Reed, §2, p. 6).

  • There are NNN servers. At time 0−0-0− there are Q0Q_0Q0​ customers; the first min⁡(Q0,N)\min(Q_0,N)min(Q0​,N) are in service, with residual service times η~i\tilde\eta_iη~​i​, and the other (Q0−N)+(Q_0-N)^+(Q0​−N)+ wait.
  • Customers then arrive at times 0≤τ1≤τ2≤⋯0\le\tau_1\le\tau_2\le\cdots0≤τ1​≤τ2​≤⋯ (with τ0=0\tau_0=0τ0​=0); the arrival process is A(t)=#{i≥1:τi≤t}A(t)=\#\{i\ge1:\tau_i\le t\}A(t)=#{i≥1:τi​≤t}. Arrivals at time 000 are counted in A(0)A(0)A(0), so in general Q(0)≠Q0Q(0)\ne Q_0Q(0)=Q0​.
  • The iii-th customer to enter service after time 0−0-0− has service time ηi\eta_iηi​. Service is first come first served, so the first (Q0−N)+(Q_0-N)^+(Q0​−N)+ of these are the initial waiting customers and the iii-th arrival has service time η(Q0−N)++i\eta_{(Q_0-N)^++i}η(Q0​−N)++i​.
  • wi≥0w_i\ge0wi​≥0 is the waiting time of the iii-th arrival and w~i≥0\tilde w_i\ge0w~i​≥0 that of the initial customer N+iN+iN+i.
  • FFF is the service-time distribution, with tail G=1−FG=1-FG=1−F, and F0F_0F0​ the residual service-time distribution, with tail Fˉ0\bar F_0Fˉ0​; both are carried by [0,∞)[0,\infty)[0,∞).

The number in system is (2.2):

Q(t)=∑i=1min⁡(Q0,N)1{η~i>t}+∑i=1(Q0−N)+1{w~i+ηi>t}+∑i=1A(t)1{τi+wi+η(Q0−N)++i>t}.Q(t)=\sum_{i=1}^{\min(Q_0,N)}1\{\tilde\eta_i>t\}+\sum_{i=1}^{(Q_0-N)^+}1\{\tilde w_i+\eta_i>t\}+\sum_{i=1}^{A(t)}1\{\tau_i+w_i+\eta_{(Q_0-N)^++i}>t\}.Q(t)=i=1∑min(Q0​,N)​1{η~​i​>t}+i=1∑(Q0​−N)+​1{w~i​+ηi​>t}+i=1∑A(t)​1{τi​+wi​+η(Q0​−N)++i​>t}.

Centring each indicator at its (conditional) mean produces the terms

W0(t)=∑i=1min⁡(Q0,N)(1{η~i>t}−Fˉ0(t)),AG(t)=∫0tG(t−s) dA(s),I(t)=min⁡(Q0,N)Fˉ0(t)+(Q0−N)+G(t),W_0(t)=\sum_{i=1}^{\min(Q_0,N)}\big(1\{\tilde\eta_i>t\}-\bar F_0(t)\big),\qquad A_G(t)=\int_0^tG(t-s)\,dA(s),\qquad I(t)=\min(Q_0,N)\bar F_0(t)+(Q_0-N)^+G(t),W0​(t)=i=1∑min(Q0​,N)​(1{η~​i​>t}−Fˉ0​(t)),AG​(t)=∫0t​G(t−s)dA(s),I(t)=min(Q0​,N)Fˉ0​(t)+(Q0​−N)+G(t),

and M2(t)M_2(t)M2​(t), the analogous centred sum (2.5) over the customers who entered service after time 0−0-0−. AG(t)A_G(t)AG​(t) is the conditional mean number in a G/GI/∞G/GI/\inftyG/GI/∞ queue fed by the same arrivals.

A sample path is non-idling if for every t≥0t\ge0t≥0

(Q(t)−N)+=∑i=1(Q0−N)+1{t<w~i}+∑i=1A(t)1{τi≤t<τi+wi},(Q(t)-N)^+=\sum_{i=1}^{(Q_0-N)^+}1\{t<\tilde w_i\}+\sum_{i=1}^{A(t)}1\{\tau_i\le t<\tau_i+w_i\},(Q(t)−N)+=i=1∑(Q0​−N)+​1{t<w~i​}+i=1∑A(t)​1{τi​≤t<τi​+wi​},

that is, the customers waiting at time ttt are exactly those who have arrived and not yet entered service. This holds for every first-come-first-served NNN-server path that never idles a server while a customer waits; the paper uses it at the start of the proof of Proposition 2.1 (p. 8).

Formalization targets

Goal: the system equation (2.8), p. 9

For a non-idling sample path and every t≥0t\ge 0t≥0,

Q(t)=I(t)+W0(t)+M2(t)+AG(t)+∫0t(Q(t−s)−N)+ dF(s).Q(t)=I(t)+W_0(t)+M_2(t)+A_G(t)+\int_0^t\big(Q(t-s)-N\big)^+\,dF(s).Q(t)=I(t)+W0​(t)+M2​(t)+AG​(t)+∫0t​(Q(t−s)−N)+dF(s).

Milestones

  1. The first two equalities of the proof of Proposition 2.1 (p. 8): ∑i≤A(t)(G(t−τi−wi)−G(t−τi))=∑i≤A(t)∫0∞1{t−(τi+wi)<s≤t−τi} dF(s)\sum_{i\le A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)=\sum_{i\le A(t)}\int_0^\infty 1\{t-(\tau_i+w_i)<s\le t-\tau_i\}\,dF(s)∑i≤A(t)​(G(t−τi​−wi​)−G(t−τi​))=∑i≤A(t)​∫0∞​1{t−(τi​+wi​)<s≤t−τi​}dF(s).
  2. The "reverse argument" of the proof (p. 9): ∫0t∑i≤(Q0−N)+1{w~i>t−s} dF(s)=∑i≤(Q0−N)+(G(t−w~i)−G(t))\int_0^t\sum_{i\le(Q_0-N)^+}1\{\tilde w_i>t-s\}\,dF(s)=\sum_{i\le(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big)∫0t​∑i≤(Q0​−N)+​1{w~i​>t−s}dF(s)=∑i≤(Q0​−N)+​(G(t−w~i​)−G(t)).
  3. Proposition 2.1 (p. 8): for a non-idling path and t≥0t\ge0t≥0,
∑i=1A(t)(G(t−τi−wi)−G(t−τi))=∫0t(Q(t−s)−N)+ dF(s)−∑i=1(Q0−N)+(G(t−w~i)−G(t)).\sum_{i=1}^{A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)=\int_0^t(Q(t-s)-N)^+\,dF(s)-\sum_{i=1}^{(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big).i=1∑A(t)​(G(t−τi​−wi​)−G(t−τi​))=∫0t​(Q(t−s)−N)+dF(s)−i=1∑(Q0​−N)+​(G(t−w~i​)−G(t)).
  1. The decomposition (2.7) (p. 7): Q(t)=I(t)+W0(t)+M2(t)+AG(t)+∑i≤(Q0−N)+(G(t−w~i)−G(t))+∑i≤A(t)(G(t−τi−wi)−G(t−τi))Q(t)=I(t)+W_0(t)+M_2(t)+A_G(t)+\sum_{i\le(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big)+\sum_{i\le A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)Q(t)=I(t)+W0​(t)+M2​(t)+AG​(t)+∑i≤(Q0​−N)+​(G(t−w~i​)−G(t))+∑i≤A(t)​(G(t−τi​−wi​)−G(t−τi​)).

Significance

The result. Equation (2.8) is the paper's starting point for both of its limit theorems. Writing Q−N=x+∫0t(Q(t−s)−N)+dF(s)Q-N=x+\int_0^t(Q(t-s)-N)^+dF(s)Q−N=x+∫0t​(Q(t−s)−N)+dF(s) with x=I+W0+M2+AG−Nx=I+W_0+M_2+A_G-Nx=I+W0​+M2​+AG​−N shows that the number in system is the image of the infinite-server quantities under the regulator map of the paper's §3, the unique solution of z(t)=x(t)+∫0t(z(t−s)+a)+dB(s)z(t)=x(t)+\int_0^t(z(t-s)+a)^+dB(s)z(t)=x(t)+∫0t​(z(t−s)+a)+dB(s). The fluid limit (Theorem 4.1, p. 12) and the diffusion limit (Theorem 5.1, p. 23) then follow from limit theorems for the infinite-server terms and the continuity of that map. Without (2.8), the NNN-server queue has no closed equation in terms of quantities whose limits are known.

Formalizing it. The identity is proved in the paper on pp. 7–9; to our knowledge it has not been machine-checked. This mission produces a sample-path model of the G/GI/NG/GI/NG/GI/N queue (initial customers, arrivals, FCFS service order, waiting times) together with the decomposition of its number in system, reusable for other many-server results stated pathwise. The limit theorems 4.1 and 5.1 themselves are weak-convergence statements in the Skorohod space and are not part of this mission; the regulator map (Proposition 3.1) is the subject of a separate mission of this series.

Difficulty

The decomposition (2.7) is bookkeeping. The content is Proposition 2.1, which converts a sum over customers of tail differences into an integral, against FFF, of the number of waiting customers at earlier times. The step that needs care is the change of viewpoint from "customer iii's service time falls in a window of length wiw_iwi​" to "customer iii is waiting at time t−st-st−s", after which the sum over customers must be recognised, at each time t−st-st−s, as the waiting count of the non-idling identity, with the arrivals counted up to A(t−s)A(t-s)A(t−s) rather than A(t)A(t)A(t). A second point is the treatment of an atom of FFF at 000: the half-open windows (t−τi−wi, t−τi](t-\tau_i-w_i,\,t-\tau_i](t−τi​−wi​,t−τi​] and the closed integration range [0,t][0,t][0,t] must match, and G(x)=1G(x)=1G(x)=1 for x<0x<0x<0 is used whenever a customer is still waiting.

Formalization scope

  • Paths are data, not random. A sample path is a structure holding NNN, Q0Q_0Q0​ and the sequences η~,η,τ,w,w~:N→R\tilde\eta,\eta,\tau,w,\tilde w:\mathbb N\to\mathbb Rη~​,η,τ,w,w~:N→R, indexed from 111 as in the paper. The arrival times are primary and A(t)A(t)A(t) is their counting function; for a counting process with A(0−)=0A(0-)=0A(0−)=0 this is the same data as the paper's τi=inf⁡{t≥0:A(t)≥i}\tau_i=\inf\{t\ge0:A(t)\ge i\}τi​=inf{t≥0:A(t)≥i}. The encoding has infinitely many arrivals, finitely many in each bounded interval.
  • Distributions are probability measures μ\muμ (for FFF) and μ0\mu_0μ0​ (for F0F_0F0​) on R\mathbb RR with no mass on (−∞,0)(-\infty,0)(−∞,0), and G(x)=μ((x,∞))G(x)=\mu((x,\infty))G(x)=μ((x,∞)) for every real xxx. The paper's i.i.d. assumptions and the mean-111 assumption on FFF are not used by these pathwise identities and are omitted.
  • Integrals ∫0t⋅ dF(s)\int_0^t\cdot\,dF(s)∫0t​⋅dF(s) are over the closed interval [0,t][0,t][0,t], an atom of FFF at 000 included; AG(t)A_G(t)AG​(t), a Stieltjes integral against the counting measure of arrivals, is the finite sum ∑i≤A(t)G(t−τi)\sum_{i\le A(t)}G(t-\tau_i)∑i≤A(t)​G(t−τi​).
  • Non-idling is a hypothesis on the sample path, exactly the identity displayed above. No hypothesis mentions (2.8), Proposition 2.1 or an integral against FFF, and QQQ is not a free function: it is defined by (2.2). Integrability of s↦(Q(t−s)−N)+s\mapsto(Q(t-s)-N)^+s↦(Q(t−s)−N)+ is part of what must be proved, not assumed. The hypotheses are jointly satisfiable, so the goal is not vacuous.
  • Needed infrastructure: finite sums, set integrals of indicator functions against a finite measure on R\mathbb RR, and the identity G(a)−G(b)=μ((a,b])G(a)-G(b)=\mu((a,b])G(a)−G(b)=μ((a,b]). All of it is in Mathlib.

Related platform items: WhittEfficiency.IS.* (the M/G/∞M/G/\inftyM/G/∞ queue with Poisson arrivals, the infinite-server object behind AGA_GAG​) and PalmQueueing.Palm.swiss_army_formula (a pathwise queueing identity of Palm calculus) are the nearest queueing results; neither is the object of this mission.

Selected references

  • J. Reed, The G/GI/N queue in the Halfin–Whitt regime, Ann. Appl. Probab. 19(6), 2009, 2211–2269. arXiv:0912.2837v1. https://arxiv.org/abs/0912.2837 , https://doi.org/10.1214/09-AAP609
  • S. Halfin and W. Whitt, Heavy-traffic limits for queues with many exponential servers, Oper. Res. 29, 1981, 567–588. https://doi.org/10.1287/opre.29.3.567 (MR629195)
  • A. A. Puhalskii and M. I. Reiman, The multiclass GI/PH/N queue in the Halfin–Whitt regime, Adv. Appl. Probab. 32, 2000, 564–595. https://mathscinet.ams.org/mathscinet-getitem?mr=1778580
8 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Optimal Inventory Policies for Assembly Systems Under Random Demands 2: If an Item and Its Predecessors Have Negative Discounted Echelon Holding Cost, the Minimal Cost Is Unbounded BelowResearch Paper

Motivation

Assembly systems — components purchased from outside, assembled into subassemblies, and those into an end product facing random customer demand — are the standard model of material requirements planning under uncertainty. Rosling's paper (Oper. Res. 37(4), 1989) shows that, under a cost assumption, the optimal policies of such a system are those of an equivalent series system, so that the Clark–Scarf decomposition of serial systems (Clark and Scarf, 1960) applies to assembly systems.

The cost assumption of the main results requires every echelon holding cost to be positive. In §4 Rosling replaces it by a weaker Generalized Assumption (GA), which allows some echelon holding costs to be negative, and then argues with Theorem 4 that GA "covers all cases of practical interest for a long-run analysis". Part (i) of Theorem 4 is the first step of that argument: when GA(i) fails strictly for some item, the model is degenerate, because its minimal cost is −∞-\infty−∞. This mission formalizes that statement.

Setting

There are N≥1N \ge 1N≥1 items 1,…,N1, \dots, N1,…,N; item 111 is the end item. Every item i≥2i \ge 2i≥2 has exactly one immediate successor s(i)s(i)s(i) with 1≤s(i)<i1 \le s(i) < i1≤s(i)<i, and s(1)=0s(1) = 0s(1)=0, so the items form a tree rooted at the end item. Write A(i)A(i)A(i) for the set of all successors of iii, B(i)B(i)B(i) for the set of all its predecessors, and P(i)P(i)P(i) for its immediate predecessors. Item iii has a lead time li∈Nl_i \in \mathbb Nli​∈N, and its total lead time is M0=0M_0 = 0M0​=0, Mi=li+∑k∈A(i)lkM_i = l_i + \sum_{k\in A(i)} l_kMi​=li​+∑k∈A(i)​lk​; the items are indexed so that Mi−1≤MiM_{i-1} \le M_iMi−1​≤Mi​.

Time runs in periods t=1,2,…t = 1, 2, \dotst=1,2,…. The demands ξ1,ξ2,…\xi_1, \xi_2, \dotsξ1​,ξ2​,… for the end item are independent, identically distributed, nonnegative, with a density and a finite mean λ>0\lambda > 0λ>0. In period ttt a policy chooses the echelon inventory positions after ordering Y1t,…,YNtY_{1t}, \dots, Y_{Nt}Y1t​,…,YNt​ as functions of the demands already observed. The position before ordering is Xit=Yi,t−1−ξt−1X_{it} = Y_{i,t-1} - \xi_{t-1}Xit​=Yi,t−1​−ξt−1​, and the echelon stock on hand after arrivals is Xitl=Yi,t−li−∑r=t−lit−1ξrX^l_{it} = Y_{i,t-l_i} - \sum_{r=t-l_i}^{t-1}\xi_rXitl​=Yi,t−li​​−∑r=t−li​t−1​ξr​; positions referring to periods before 111 are read off given initial data x0x^0x0. Problem P asks for a policy satisfying

Xit≤Yit≤Xktlfor all k∈P(i) and all i,t(3)X_{it} \le Y_{it} \le X^l_{kt}\qquad\text{for all } k\in P(i) \text{ and all } i,t \tag{3}Xit​≤Yit​≤Xktl​for all k∈P(i) and all i,t(3)

that minimizes

E{∑t=1∞αt−1(∑i=1NαlihiYit+αl1(p+H1)∫Y1t∞(ξ−Y1t) φ1l+1(ξ) dξ)}+constant,(2)E\Big\{\sum_{t=1}^\infty \alpha^{t-1}\Big(\sum_{i=1}^N \alpha^{l_i} h_i Y_{it} + \alpha^{l_1}(p+H_1)\int_{Y_{1t}}^\infty(\xi - Y_{1t})\,\varphi_1^{l+1}(\xi)\,d\xi\Big)\Big\} + \text{constant}, \tag{2}E{t=1∑∞​αt−1(i=1∑N​αli​hi​Yit​+αl1​(p+H1​)∫Y1t​∞​(ξ−Y1t​)φ1l+1​(ξ)dξ)}+constant,(2)

where hih_ihi​ is the echelon holding cost of item iii, ppp the backlogging cost, H1H_1H1​ the installation holding cost of the end item, α\alphaα the discount factor and φ1l+1\varphi_1^{l+1}φ1l+1​ the density of the demand over l1+1l_1 + 1l1​+1 periods.

The quantity of interest is the discounted echelon holding cost of item iii and its predecessors,

hi α−Ms(i)+∑k∈B(i)hk α−Ms(k).h_i\,\alpha^{-M_{s(i)}} + \sum_{k\in B(i)} h_k\,\alpha^{-M_{s(k)}}.hi​α−Ms(i)​+k∈B(i)∑​hk​α−Ms(k)​.

GA(i) asks it to be positive for every item.

Formalization targets

Goal: Theorem 4(i), p. 574

If for some item iii

hi α−Ms(i)+∑k∈B(i)hk α−Ms(k)<0,h_i\,\alpha^{-M_{s(i)}} + \sum_{k\in B(i)} h_k\,\alpha^{-M_{s(k)}} < 0,hi​α−Ms(i)​+k∈B(i)∑​hk​α−Ms(k)​<0,

then the minimal cost of Problem P is unbounded below: for every real CCC there is a feasible policy whose cost is a real number less than CCC.

Milestones: the proof of Theorem 4(i), p. 578

  1. The one-more-unit policy is feasible. Ordering extra units of every item kkk of the subsystem {i}∪B(i)\{i\}\cup B(i){i}∪B(i) in period Mm−Mk+1M_m - M_k + 1Mm​−Mk​+1, where MmM_mMm​ is the greatest total lead time in the subsystem, and holding them forever, preserves (3).
  2. The total cost increase. For a non-end item iii and a policy of finite cost, δ\deltaδ extra units change the cost by exactly
δ αMm−Mi αli(hi+∑k∈B(i)hk α−(Ms(k)−Ms(i)))1−α.\delta\,\alpha^{M_m - M_i}\,\frac{\alpha^{l_i}\big(h_i + \sum_{k\in B(i)} h_k\,\alpha^{-(M_{s(k)} - M_{s(i)})}\big)}{1-\alpha}.δαMm​−Mi​1−ααli​(hi​+∑k∈B(i)​hk​α−(Ms(k)​−Ms(i)​))​.

Significance

Theorem 4(i) explains why the Generalized Assumption is the natural boundary of the theory: a strict violation of GA(i) makes Problem P meaningless, since no policy is optimal and the infimum is −∞-\infty−∞. Together with parts (ii) and (iii) of Theorem 4 it reduces every case of interest to systems satisfying GA, for which Rosling's series-system results apply. The quantity in the condition is the natural "net value of stockpiling" of a subsystem, and the same exchange — buy more of a subsystem early and hold it forever — is the basic perturbation behind many optimality arguments for multi-echelon systems.

The result is proved in the paper, in a few lines. To our knowledge neither Theorem 4 nor the assembly model of Problem P has been machine-checked. A formalization adds a precise statement of what "the minimal cost is unbounded below" means for a stochastic infinite-horizon problem with an extended-real cost, and the definitions of the assembly model — product tree, total lead times, echelon positions, history-dependent policies, constraint (3) and objective (2) — which other statements of the same paper need.

Difficulty

The algebra of the cost increase is a geometric series. The work lies elsewhere. First, the one-more-unit policy must be shown feasible for every item of the subsystem in every period, including the boundary items: the successor of iii, whose constraint loosens, and predecessors with zero lead time. Second, the cost of a policy is an expectation of an infinite discounted sum whose terms have no sign; the cost increase can only be added to a cost that is finite, and the argument needs a feasible policy of finite cost to start from, which the paper takes for granted. Third, for the end item i=1i = 1i=1 the extra units also change the expected backlog term of (2), which the printed display omits, so the end item needs a separate bound.

Formalization scope

  • Periods start at Lean index k=0k = 0k=0 with k=t−1k = t - 1k=t−1; the discount weight αt−1\alpha^{t-1}αt−1 is αk\alpha^kαk, and coordinate jjj of a demand path is ξj+1\xi_{j+1}ξj+1​. Items are natural numbers 1..N1..N1..N.
  • Demand is the product law (Measure.infinitePi) of a probability measure ν\nuν on R\mathbb RR with ν((−∞,0))=0\nu((-\infty,0)) = 0ν((−∞,0))=0, ν≪\nu \llν≪ Lebesgue, ν\nuν integrable and ∫x dν>0\int x\,d\nu > 0∫xdν>0.
  • Policies are history-dependent and measurable; feasibility (3) holds almost surely.
  • Initial data xi0(s)x^0_i(s)xi0​(s), s≥1s \ge 1s≥1, the echelon position of item iii at the start of period 1 ordered sss periods ago or earlier, are assumed well formed: nonincreasing in sss, and xi0(s)≤xk0(s+lk)x^0_i(s) \le x^0_k(s + l_k)xi0​(s)≤xk0​(s+lk​) for k∈P(i)k \in P(i)k∈P(i). The paper takes this for granted; it is what makes Problem P feasible.
  • Cost is (2) without its policy-independent constant, as an extended real E[∑(αt−1ct)+]−E[∑(αt−1ct)−]E[\sum(\alpha^{t-1}c_t)^+] - E[\sum(\alpha^{t-1}c_t)^-]E[∑(αt−1ct​)+]−E[∑(αt−1ct​)−].
  • Added restriction: 0<α<10 < \alpha < 10<α<1. The page allows α=1\alpha = 1α=1, where the average cost is minimized and is defined only through a limit recipe.
  • No sign condition is imposed on hih_ihi​, ppp or H1H_1H1​; neither the Assumption nor GA is a hypothesis.

In the extended reals, ⊤−⊤=⊥\top - \top = \bot⊤−⊤=⊥: a policy whose positive and negative cost parts are both infinite gets the value −∞-\infty−∞. The goal therefore asks for policies of real cost below every bound; a formalization that only exhibits a policy of cost ⊥\bot⊥ would be trivially true and is ruled out. Milestone 2 is stated for i≥2i \ge 2i≥2, where the backlog term is unchanged.

Needed infrastructure: lower Lebesgue integrals of discounted sums under the infinite product measure, linearity of the cost under a deterministic perturbation, and the finiteness of the cost of the "never order" policy (whose decisions decrease linearly in the accumulated demand). Contributions of general lemmas on discounted costs of history-dependent policies under infinitePi are welcome and reusable.

Selected references

  • K. Rosling, Optimal Inventory Policies for Assembly Systems under Random Demands, Operations Research 37(4):565–579, 1989. https://doi.org/10.1287/opre.37.4.565
  • A. J. Clark and H. Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Science 6(4):475–490, 1960. https://doi.org/10.1287/mnsc.6.4.475
  • A. Federgruen and P. Zipkin, Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model, Operations Research 32(4):818–836, 1984. https://doi.org/10.1287/opre.32.4.818
6 thms1 active userReviewed
Dynamic ProgrammingMachine LearningMarkov Chain+1·Captain: mikedeng1

An Analysis of Temporal-Difference Learning with Function Approximation 1: Linear TD(λ) Converges with Probability 1 to the Fixed Point of ΠT^(λ), with Error ≤ ‖ΠJ* − J*‖_D/(1 − α(1−λ)/(1−αλ))Research Paper

Motivation

Temporal-difference learning, TD(λ\lambdaλ), is the basic algorithm of reinforcement learning for estimating the expected discounted cost of a Markov chain from observed transitions (Sutton, 1988). On large or infinite state spaces it is run with a linear function approximator: the cost-to-go is represented as a weighted sum of KKK fixed basis functions, and the algorithm updates the weights. With a lookup table (one basis function per state) its convergence follows from general results on contraction mappings. With function approximation that argument breaks down. Before 1996 there were only results on convergence in the mean (Dayan, 1992), sketches restricted to linearly independent feature vectors ϕ(i)\phi(i)ϕ(i), and counterexamples in which related algorithms diverge.

Tsitsiklis and Van Roy (MIT report LIDS-P-2322, 1996; IEEE Trans. Automatic Control 42(5), 1997) proved that on-line TD(λ\lambdaλ) with linear function approximation converges with probability 1 on finite or countably infinite ergodic chains. They identified the limit as the fixed point of a projected Bellman-type operator ΠT(λ)\Pi T^{(\lambda)}ΠT(λ) and bounded its error. This analysis is the reference point for later results: finite-time bounds for linear TD, the off-policy divergence examples, and the gradient-TD family.

Timeline:

  • 1988: Sutton introduces TD(λ\lambdaλ) and proves convergence in the mean for TD(0) on absorbing chains with linearly independent features.
  • 1992: Dayan extends convergence in the mean to general λ\lambdaλ.
  • 1994: Jaakkola, Jordan and Singh, and Tsitsiklis, prove almost-sure convergence for lookup tables, using maximum-norm contraction.
  • 1996: Tsitsiklis and Van Roy prove almost-sure convergence with linear function approximation and the error bound below.

Setting

A Markov chain i0,i1,…i_0, i_1, \dotsi0​,i1​,… lives on a finite or countably infinite state space SSS, with transition matrix P=(pij)P = (p_{ij})P=(pij​). A transition from iii to jjj costs g(i,j)g(i,j)g(i,j), and α∈(0,1)\alpha \in (0,1)α∈(0,1) is a discount factor. The cost-to-go is

J∗(i)=E[∑t=0∞αtg(it,it+1) ∣ i0=i].J^*(i) = E\Big[\sum_{t=0}^\infty \alpha^t g(i_t,i_{t+1}) \,\Big|\, i_0 = i\Big].J∗(i)=E[t=0∑∞​αtg(it​,it+1​)​i0​=i].

Basis functions ϕ1,…,ϕK:S→R\phi_1,\dots,\phi_K : S \to \mathbb Rϕ1​,…,ϕK​:S→R give the feature vector ϕ(i)∈RK\phi(i) \in \mathbb R^Kϕ(i)∈RK and the approximation J~(i,r)=r′ϕ(i)\tilde J(i,r) = r'\phi(i)J~(i,r)=r′ϕ(i), written Φ′r\Phi' rΦ′r as a vector over SSS.

Starting from an arbitrary r0r_0r0​, TD(λ\lambdaλ) with λ∈[0,1]\lambda \in [0,1]λ∈[0,1] and step sizes γt\gamma_tγt​ forms the eligibility vector zt=∑k=0t(αλ)t−kϕ(ik)z_t = \sum_{k=0}^t (\alpha\lambda)^{t-k}\phi(i_k)zt​=∑k=0t​(αλ)t−kϕ(ik​) and the temporal difference dt=g(it,it+1)+αϕ(it+1)′rt−ϕ(it)′rtd_t = g(i_t,i_{t+1}) + \alpha\phi(i_{t+1})'r_t - \phi(i_t)'r_tdt​=g(it​,it+1​)+αϕ(it+1​)′rt​−ϕ(it​)′rt​, and updates rt+1=rt+γtdtztr_{t+1} = r_t + \gamma_t d_t z_trt+1​=rt​+γt​dt​zt​.

Let π\piπ be the invariant distribution, D=diag(π)D = \mathrm{diag}(\pi)D=diag(π), ∥J∥D2=∑iπ(i)J(i)2\|J\|_D^2 = \sum_i \pi(i)J(i)^2∥J∥D2​=∑i​π(i)J(i)2, and L2(S,D)={J:∥J∥D<∞}L_2(S,D) = \{J : \|J\|_D < \infty\}L2​(S,D)={J:∥J∥D​<∞}. Write Π=Φ′(ΦDΦ′)−1ΦD\Pi = \Phi'(\Phi D\Phi')^{-1}\Phi DΠ=Φ′(ΦDΦ′)−1ΦD for the DDD-orthogonal projection onto {Φ′r}\{\Phi'r\}{Φ′r}. The operator T(λ)T^{(\lambda)}T(λ) averages mmm-stage truncated costs:

(T(λ)J)(i)=(1−λ)∑m=0∞λmE[∑t=0mαtg(it,it+1)+αm+1J(im+1) ∣ i0=i],(T^{(\lambda)}J)(i) = (1-\lambda)\sum_{m=0}^\infty \lambda^m E\Big[\sum_{t=0}^m \alpha^t g(i_t,i_{t+1}) + \alpha^{m+1}J(i_{m+1}) \,\Big|\, i_0 = i\Big],(T(λ)J)(i)=(1−λ)m=0∑∞​λmE[t=0∑m​αtg(it​,it+1​)+αm+1J(im+1​)​i0​=i],

for λ<1\lambda < 1λ<1, and T(1)J=J∗T^{(1)}J = J^*T(1)J=J∗. The paper makes four assumptions:

  1. the chain has a unique invariant distribution with π(i)>0\pi(i) > 0π(i)>0, E0[g2]<∞E_0[g^2] < \inftyE0​[g2]<∞, and finite J∗J^*J∗;
  2. the ϕk\phi_kϕk​ are linearly independent with E0[ϕk2]<∞E_0[\phi_k^2] < \inftyE0​[ϕk2​]<∞;
  3. polynomial moment growth and summable mixing conditions, relative to coordinates σ(i)∈RN\sigma(i) \in \mathbb R^Nσ(i)∈RN of the states;
  4. nonnegative, nonincreasing step sizes with ∑γt=∞\sum\gamma_t = \infty∑γt​=∞ and ∑γt2<∞\sum\gamma_t^2 < \infty∑γt2​<∞.

Formalization targets

Goal: Theorem 1 (p. 11)

Under Assumptions 1–4: J∗∈L2(S,D)J^* \in L_2(S,D)J∗∈L2​(S,D); for every λ∈[0,1]\lambda \in [0,1]λ∈[0,1], TD(λ\lambdaλ) converges with probability 1, from every initial state and every r0r_0r0​, to a vector r∗r^*r∗; r∗r^*r∗ is the unique solution of

ΠT(λ)(Φ′r∗)=Φ′r∗;\Pi T^{(\lambda)}(\Phi' r^*) = \Phi' r^*;ΠT(λ)(Φ′r∗)=Φ′r∗;

and

∥Φ′r∗−J∗∥D≤∥ΠJ∗−J∗∥D1−α(1−λ)/(1−λα).\|\Phi' r^* - J^*\|_D \le \frac{\|\Pi J^* - J^*\|_D}{1 - \alpha(1-\lambda)/(1-\lambda\alpha)}.∥Φ′r∗−J∗∥D​≤1−α(1−λ)/(1−λα)∥ΠJ∗−J∗∥D​​.

Milestones

  • Lemma 1: ∥PJ∥D≤∥J∥D\|PJ\|_D \le \|J\|_D∥PJ∥D​≤∥J∥D​.
  • Lemma 2: J∗J^*J∗ is finite, lies in L2(S,D)L_2(S,D)L2​(S,D), and J∗=∑t(αP)tgˉJ^* = \sum_t(\alpha P)^t\bar gJ∗=∑t​(αP)tgˉ​.
  • Lemma 3: T(λ)T^{(\lambda)}T(λ) maps L2(S,D)L_2(S,D)L2​(S,D) into itself and has a closed-form series.
  • Lemma 4: T(λ)T^{(\lambda)}T(λ) is a ∥⋅∥D\|\cdot\|_D∥⋅∥D​-contraction with modulus α(1−λ)/(1−αλ)\alpha(1-\lambda)/(1-\alpha\lambda)α(1−λ)/(1−αλ).
  • Lemma 5: ΠT(λ)\Pi T^{(\lambda)}ΠT(λ) has a unique fixed point Φ′r∗\Phi'r^*Φ′r∗, with the error bound above.
  • Lemma 6: steady-state moments of ϕ\phiϕ and ztz_tzt​.
  • Lemma 7: the steady-state mean step is E0[s(r,Xt)]=ΦD(T(λ)(Φ′r)−Φ′r)E_0[s(r,X_t)] = \Phi D(T^{(\lambda)}(\Phi'r) - \Phi'r)E0​[s(r,Xt​)]=ΦD(T(λ)(Φ′r)−Φ′r).
  • Lemma 8: (r−r∗)′E0[s(r,Xt)]<0(r - r^*)'E_0[s(r,X_t)] < 0(r−r∗)′E0​[s(r,Xt​)]<0 for r≠r∗r \neq r^*r=r∗.
  • Theorem 2: a stochastic approximation theorem with Markov noise.
  • §6: A=E0[A(Xt)]A = E_0[A(X_t)]A=E0​[A(Xt​)] is negative definite and Ar∗+b=0Ar^* + b = 0Ar∗+b=0.

Significance

Theorem 1 says that TD(λ\lambdaλ), run on-line along a single trajectory, converges for every λ\lambdaλ, and that its limit has a precise meaning: the fixed point of the projected operator. The error bound shows that as λ→1\lambda \to 1λ→1 the limit approaches the best approximation ΠJ∗\Pi J^*ΠJ∗, and that for smaller λ\lambdaλ the error can grow by at most a factor (1−αλ)/(1−α)(1-\alpha\lambda)/(1-\alpha)(1−αλ)/(1−α). The analysis also explains the failures of related schemes: the projection and the contraction must use the same norm, ∥⋅∥D\|\cdot\|_D∥⋅∥D​, which holds only when states are sampled along the chain.

The result is proved on paper. To our knowledge no part of it has been machine-checked; it is not in Mathlib or on this platform. This mission produces:

  • a Lean model of countable-state Markov chains with costs, their path law, the weighted space L2(S,D)L_2(S,D)L2​(S,D) and the projection Π\PiΠ, which is reusable for later work on linear TD, LSTD and approximate policy evaluation;
  • the deterministic layer (Lemmas 1–5, 7, 8), which is self-contained functional analysis on L2(S,D)L_2(S,D)L2​(S,D);
  • Theorem 2, a stochastic approximation theorem with Markov noise, which the paper quotes from Benveniste, Métivier and Priouret (1987) without proof. A formal proof of it would be a library result in its own right.

Difficulty

The obvious approach treats TD(λ\lambdaλ) as a noisy version of the deterministic iteration rˉt+1=rˉt+γtΦD(T(λ)(Φ′rˉt)−Φ′rˉt)\bar r_{t+1} = \bar r_t + \gamma_t\Phi D(T^{(\lambda)}(\Phi'\bar r_t) - \Phi'\bar r_t)rˉt+1​=rˉt​+γt​ΦD(T(λ)(Φ′rˉt​)−Φ′rˉt​). It fails at the noise. The increments s(rt,Xt)s(r_t,X_t)s(rt​,Xt​) are driven by the Markov process Xt=(it,it+1,zt)X_t = (i_t,i_{t+1},z_t)Xt​=(it​,it+1​,zt​), not by independent samples. They are not martingale differences, and on an infinite state space they are unbounded. The standard ODE method with martingale-difference noise therefore does not apply, and the bias from Markov dependence must be controlled through the mixing and growth conditions of Assumption 3. The algorithm also starts with z−1=0z_{-1} = 0z−1​=0 rather than in steady state, so the steady-state identities of Lemmas 6–8 must be transferred to the actual trajectory. The contraction argument needs care for a different reason: Π\PiΠ is a nonexpansion of ∥⋅∥D\|\cdot\|_D∥⋅∥D​ only because DDD is the invariant distribution of the same chain that defines T(λ)T^{(\lambda)}T(λ).

Formalization scope

SSS is a countable type with the discrete σ\sigmaσ-algebra, PPP a Markov kernel (pij=P(i)({j})p_{ij} = P(i)(\{j\})pij​=P(i)({j}), PmP^mPm the kernel power), and the path law of the chain is Mathlib's Ionescu–Tulcea measure Kernel.trajMeasure. Standing conventions:

  • α∈(0,1)\alpha \in (0,1)α∈(0,1) and λ∈[0,1]\lambda \in [0,1]λ∈[0,1];
  • "with probability 1" is almost-sure convergence under the path law from each deterministic initial state;
  • J∗J^*J∗ and T(λ)T^{(\lambda)}T(λ) are defined by the page's path expectations, not by the series of Lemmas 2 and 3;
  • L2(S,D)L_2(S,D)L2​(S,D) membership is summability of π(i)J(i)2\pi(i)J(i)^2π(i)J(i)2;
  • Assumption 1(c) means absolute integrability of the discounted cost series;
  • vector norms are Euclidean and matrix norms Frobenius (equivalent to the induced norm and used only under existential constants);
  • (ΦDΦ′)−1(\Phi D\Phi')^{-1}(ΦDΦ′)−1 is Lean's matrix inverse, invertible under Assumptions 1(a) and 2;
  • the steady-state process of Lemmas 6–8 is any two-sided chain on a probability space with the stationary finite-dimensional distributions.

Lean's integral of a non-integrable function and sum of a non-summable series are 000. A trivializing formalization is excluded by stating every expectation and series with its integrability or summability: "well defined and finite" is always a conjunct or a hypothesis, never left to junk values.

The development needs the following:

  • Markov-chain path measures and stationary two-sided chains;
  • Bochner integrals of vector-valued functions;
  • the Cauchy–Schwarz inequality on L2(S,D)L_2(S,D)L2​(S,D);
  • a Markov-noise stochastic approximation theorem.

Contributions are welcome at every level: proofs of the deterministic lemmas, a construction of the stationary chain from π\piπ and PPP (showing that the steady-state hypotheses are satisfiable), and a proof of Theorem 2 or a stronger stochastic approximation result that implies it.

Selected references

  • J. N. Tsitsiklis and B. Van Roy, An Analysis of Temporal-Difference Learning with Function Approximation, MIT LIDS report LIDS-P-2322, 1996; IEEE Transactions on Automatic Control 42(5):674–690, 1997. https://doi.org/10.1109/9.580874
  • A. Benveniste, M. Métivier and P. Priouret, Adaptive Algorithms and Stochastic Approximations, Springer, 1990 (French original 1987). https://doi.org/10.1007/978-3-642-75894-2
  • R. S. Sutton, Learning to predict by the methods of temporal differences, Machine Learning 3:9–44, 1988. https://doi.org/10.1007/BF00115009
  • P. Dayan, The convergence of TD(λ) for general λ, Machine Learning 8:341–362, 1992. https://doi.org/10.1007/BF00992701
  • T. Jaakkola, M. I. Jordan and S. P. Singh, On the convergence of stochastic iterative dynamic programming algorithms, Neural Computation 6(6):1185–1201, 1994. https://doi.org/10.1162/neco.1994.6.6.1185
  • J. N. Tsitsiklis, Asynchronous stochastic approximation and Q-learning, Machine Learning 16:185–202, 1994. https://doi.org/10.1007/BF00993306
13 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Optimal Ordering and Rationing Policies in a Nonstationary Dynamic Inventory Model with n Demand Classes III: Under Full Backlogging, Class-j Rationing Levels Ignore Lower-Class Penalties and DemandsResearch Paper

Motivation

A single stock of one product often serves customers of different importance: emergency and routine orders for spare parts, contract and spot customers, high- and low-priority patients for a blood bank. When stock runs low, the question is not only how much to order but how much of the remaining stock to hand to the less important customers now, and how much to hold back for more important demand that may still arrive. Stock rationing policies answer this question with critical rationing levels: demand of a class is served only while the stock stays above that class's level.

Topkis (1968) studied this problem as a finite-horizon dynamic program with nnn demand classes, nonstationary costs and demands, and an arbitrary degree of backlogging. His Theorem 1 shows that, when each interval has either complete backlogging or none, a policy given by critical levels zˉt1≥⋯≥zˉtn\bar z_t^1 \ge \dots \ge \bar z_t^nzˉt1​≥⋯≥zˉtn​ is optimal. This mission concerns his Theorem 3, which treats the case of complete backlogging: the critical levels of a class do not depend on what happens in the classes below it.

Timeline. Veinott (1965) considered nnn demand classes but imposed the policy with all critical levels equal to 000. Topkis's 1966 report treated n=2n = 2n=2, partially duplicated independently by Evans (1968) and by Kaplan's 1966 report "Stock Rationing", in which, according to Topkis, the result of Theorem 3 was used implicitly. Topkis (1968) extended the analysis to nnn classes and stated Theorem 3 explicitly.

Setting

A period is divided into kkk intervals, indexed backwards: interval ttt is followed by t−1t - 1t−1 further intervals, and interval kkk is the first. There are nnn demand classes; class nnn is the most important. In interval ttt a random demand vector dt=(dt1,…,dtn)≥0d_t = (d_t^1, \dots, d_t^n) \ge 0dt​=(dt1​,…,dtn​)≥0 with law μt\mu_tμt​ and finite means arrives; demands in different intervals are independent. Given the stock zzz and the outstanding demand B=b+dtB = b + d_tB=b+dt​ (backlog bbb plus new demand), the decision is the vector uuu, 0≤u≤B0 \le u \le B0≤u≤B, of demand left unsatisfied; the stock drops to w=z−1⋅(B−u)≥0w = z - \mathbf 1 \cdot (B - u) \ge 0w=z−1⋅(B−u)≥0. A penalty pt⋅up_t \cdot upt​⋅u and a holding cost ht(w)h_t(w)ht​(w) are charged, and the backlog carried into the next interval is atua_t uat​u, with at=1a_t = 1at​=1 for complete backlogging. At the end of the period a salvage cost g0(z,b)=v1(z)+v2(z−1⋅b)g_0(z, b) = v_1(z) + v_2(z - \mathbf 1 \cdot b)g0​(z,b)=v1​(z)+v2​(z−1⋅b) is charged.

The standing assumptions are: hth_tht​ convex and continuous on [0,∞)[0,\infty)[0,∞); v1v_1v1​ convex and continuous on [0,∞)[0,\infty)[0,∞); v2v_2v2​ convex and continuous on R\mathbb RR with lim⁡w→−∞D+v2(w)>−∞\lim_{w \to -\infty} D^+ v_2(w) > -\inftylimw→−∞​D+v2​(w)>−∞; and 0≤pt1≤⋯≤ptn0 \le p_t^1 \le \dots \le p_t^n0≤pt1​≤⋯≤ptn​. The minimal expected cost satisfies the recursion (1):

ft(z,B)=inf⁡0≤u≤Bw=z−1⋅(B−u)≥0[pt⋅u+ht(w)+gt−1(w,atu)],gt(z,b)=E ft(z,b+dt).f_t(z, B) = \inf_{\substack{0 \le u \le B \\ w = z - \mathbf 1\cdot(B-u) \ge 0}} \big[p_t \cdot u + h_t(w) + g_{t-1}(w, a_t u)\big], \qquad g_t(z, b) = \mathbb E\, f_t(z, b + d_t).ft​(z,B)=0≤u≤Bw=z−1⋅(B−u)≥0​inf​[pt​⋅u+ht​(w)+gt−1​(w,at​u)],gt​(z,b)=Eft​(z,b+dt​).

With δj\delta_jδj​ the jjj-th unit vector, the critical rationing level zˉtj\bar z_t^jzˉtj​ is +∞+\infty+∞ if w↦ptjw+ht(w)+gt−1(w,atwδj)w \mapsto p_t^j w + h_t(w) + g_{t-1}(w, a_t w \delta_j)w↦ptj​w+ht​(w)+gt−1​(w,at​wδj​) is strictly decreasing on [0,∞)[0, \infty)[0,∞), and is the smallest minimizer of that function on [0,∞)[0,\infty)[0,∞) otherwise. D+D^+D+ denotes a right derivative.

Formalization targets

Goal: Theorem 3

Assume at+1=at=⋯=a1=1a_{t+1} = a_t = \dots = a_1 = 1at+1​=at​=⋯=a1​=1 and that the demands of different classes are independent in each interval. Fix a class jjj. Then for two instances of the model that differ only in the penalties pimp_i^mpim​ of the classes m≤j−1m \le j - 1m≤j−1 and in the demand distributions of the classes m≤jm \le jm≤j,

(a) the marginal quantities

Dz+gt(z,zδj)andDε+gt(w,ε(δj−δs)+b)∣ε=0(s>j, bs>0)D_z^+ g_t(z, z\delta_j) \quad\text{and}\quad D_\varepsilon^+ g_t\big(w, \varepsilon(\delta_j - \delta_s) + b\big)\big|_{\varepsilon = 0} \quad (s > j,\ b^s > 0)Dz+​gt​(z,zδj​)andDε+​gt​(w,ε(δj​−δs​)+b)​ε=0​(s>j, bs>0)

coincide, and

(b) the critical rationing levels zˉt+1j\bar z_{t+1}^jzˉt+1j​ coincide.

Milestones

  1. The claim in the proof of Theorem 3 (p. 173): for j<sj < sj<s and Bs>0B^s > 0Bs>0, Dε+gt(z,ε(δj−δs)+B)∣ε=0D_\varepsilon^+ g_t(z, \varepsilon(\delta_j - \delta_s) + B)|_{\varepsilon=0}Dε+​gt​(z,ε(δj​−δs​)+B)∣ε=0​ is independent of B1,…,BjB^1, \dots, B^jB1,…,Bj.
  2. Theorem 3 (a) on its own, from which the page derives (b).

Significance

The result. Theorem 3 reduces the size of the problem. Under complete backlogging, class 1 demand does not influence any critical rationing level, and the class-jjj critical levels can be found from a problem with only the n−j+1n - j + 1n−j+1 classes j,…,nj, \dots, nj,…,n, with a degenerate demand distribution for class jjj. Since computing the levels requires tabulating functions of several variables, which Topkis calls prohibitive for large nnn, this is the observation that makes the levels of the most important classes computable.

Formalizing it. The theorem is proved in the paper by a short sketch that points to two case formulas, (16) and (17), to Theorem 1 (c), and to an interchange of expectation and right derivative. A machine-checked proof would supply the induction, the case analysis and the interchange in full. No formalization of any part of Topkis's paper is known: the result is proved on paper, not formalized.

Difficulty

The obvious argument is an induction on ttt showing that gtg_tgt​ itself does not depend on the lower classes. It fails: gtg_tgt​ does depend on the penalties and demands of every class, since lower-class demand is still served and penalized. Only certain directional derivatives are invariant, and these derivatives depend on the critical levels of every class l≥jl \ge jl≥j and on the optimal rationing decision, which themselves change from one instance to the other unless the invariance is already known for the previous interval. The derivatives are one-sided, may be −∞-\infty−∞ at the boundary, and must be passed through an expectation.

Formalization scope

The Lean development, in namespace TopkisRation.Backlog, fixes these conventions:

  • classes are Fin n (class jjj of the paper is index j−1j-1j−1); intervals are natural numbers counted backwards; vectors are ordered pointwise;
  • ftf_tft​ is defined by the recursion (1), with sInf for the infimum and the Bochner integral for E\mathbb EE, and every statement restricts to z≥0z \ge 0z≥0, b≥0b \ge 0b≥0;
  • D+D^+D+ is an extended-real right derivative (a liminf of difference quotients); Dz+gt(z,zδj)D_z^+ g_t(z, z\delta_j)Dz+​gt​(z,zδj​) is the derivative along the ray in which the stock and the class-jjj backlog move together;
  • zˉtj\bar z_t^jzˉtj​ takes values in R∪{+∞}\mathbb R \cup \{+\infty\}R∪{+∞} and is specified by a predicate (smallest minimizer, or +∞+\infty+∞ for a strictly decreasing function), never by a real sInf;
  • the limit in (B) is read as "D+v2D^+ v_2D+v2​ is bounded below";
  • independence of the classes in interval iii is independence of the coordinate maps under μi\mu_iμi​.

"Does not depend on" is stated with two instances MMM, M′M'M′ that agree on every datum the conclusion uses except the freed ones: the same kkk, v1v_1v1​, v2v_2v2​, the same hih_ihi​ and the same pimp_i^mpim​ for m≥jm \ge jm≥j in intervals i≤t+1i \le t+1i≤t+1, and the same class-mmm marginal law for m>jm > jm>j in every interval. The penalty of class jjj itself is not freed. Data of intervals beyond t+1t+1t+1 and the ordering cost are unconstrained. Part (b) is stated for arbitrary critical levels of the two instances; existence of critical levels is part of the paper's §1 and is not assumed away, so (b) is not vacuous. The goal does not assume the p. 173 claim, the case formulas (16)–(17), or Theorem 1. Encoding "does not depend" as "is a function of the remaining data" is ruled out.

Needed infrastructure: one-sided derivatives of convex functions and their monotone limits, interchange of right derivative and expectation for convex integrands, and the convexity and rationing-policy results of §1 (Theorem 1, Lemma 2). These are reusable for the other missions of this series. Contributions welcome: proofs of the milestones, a formal version of (16)–(17), and the existence of critical levels.

Selected references

  • D. M. Topkis, Optimal ordering and rationing policies in a nonstationary dynamic inventory model with n demand classes, Management Science 15(3):160–176, 1968. https://doi.org/10.1287/mnsc.15.3.160
  • A. F. Veinott Jr., Optimal policy in a dynamic, single product, nonstationary inventory model with several demand classes, Operations Research 13(5):761–778, 1965. https://doi.org/10.1287/opre.13.5.761
  • R. V. Evans, Sales and restocking policies in a single item inventory system, Management Science 14(7):463–472, 1968. https://doi.org/10.1287/mnsc.14.7.463
  • A. Kaplan, Stock Rationing, report, December 1966 (reference [4] of Topkis 1968).
5 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

Primal-dual subgradient methods for convex problems 2: Stochastic Simple Averages Reach E[φ(x̄ₖ)] − φ* ≤ β̂ₖ₊₁(γd(x*) + L²/(2σγ))/(k+1)Research Paper

Motivation

Many decision problems under uncertainty take the form of minimizing an expected cost φ(x)=Eξf(x,ξ)\varphi(x) = \mathbb E_\xi f(x, \xi)φ(x)=Eξ​f(x,ξ) over a convex feasible set, where ξ\xiξ is a random parameter whose distribution can be sampled but not integrated in closed form. Evaluating φ\varphiφ even approximately can cost exponentially many evaluations of fff in the dimension of ξ\xiξ, so the classical deterministic notion of an approximate solution is unusable. A practical alternative, going back to Nemirovski and Yudin, asks for a random output xxx whose expected objective value is close to the optimum: E φ(x)−φ∗≤ϵ\mathbb E\,\varphi(x) - \varphi^* \le \epsilonEφ(x)−φ∗≤ϵ. Stochastic subgradient methods achieve this; Nesterov's paper Primal-dual subgradient methods for convex problems (Math. Program. 120 (2009)) shows that the same guarantee holds for a stochastic version of his method of simple dual averages, a scheme that aggregates all past subgradients in the dual space instead of taking projected steps with decreasing step sizes.

Dual averaging has since become a standard tool in stochastic and online convex optimization (regularized dual averaging, AdaGrad's primal-dual variant, distributed dual averaging). Section 6 of Nesterov's paper is the original statement of its expected-accuracy guarantee.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ and dual space E∗E^*E∗ with dual norm ∥s∥∗=max⁡{⟨s,x⟩:∥x∥≤1}\|s\|_* = \max\{\langle s, x\rangle : \|x\| \le 1\}∥s∥∗​=max{⟨s,x⟩:∥x∥≤1}. Let Q⊆EQ \subseteq EQ⊆E be closed and convex, and let ddd be a prox-function of QQQ: continuous on QQQ and strongly convex on QQQ with convexity parameter σ>0\sigma > 0σ>0,

d(αx+(1−α)y)≤αd(x)+(1−α)d(y)−12σα(1−α)∥x−y∥2,d(\alpha x + (1-\alpha)y) \le \alpha d(x) + (1-\alpha) d(y) - \tfrac12\sigma\alpha(1-\alpha)\|x-y\|^2,d(αx+(1−α)y)≤αd(x)+(1−α)d(y)−21​σα(1−α)∥x−y∥2,

with prox-center x0=arg⁡min⁡x∈Qd(x)x_0 = \arg\min_{x\in Q} d(x)x0​=argminx∈Q​d(x) and d(x0)=0d(x_0) = 0d(x0​)=0. For β>0\beta > 0β>0 and s∈E∗s \in E^*s∈E∗ the point πβ(s)=arg⁡min⁡x∈Q{−⟨s,x⟩+βd(x)}\pi_\beta(s) = \arg\min_{x \in Q}\{-\langle s, x\rangle + \beta d(x)\}πβ​(s)=argminx∈Q​{−⟨s,x⟩+βd(x)} is well defined. The scalar sequence β^\hat\betaβ^​ is given by β^0=β^1=1\hat\beta_0 = \hat\beta_1 = 1β^​0​=β^​1​=1 and β^i+1=β^i+1/β^i\hat\beta_{i+1} = \hat\beta_i + 1/\hat\beta_iβ^​i+1​=β^​i​+1/β^​i​ for i≥1i \ge 1i≥1.

The stochastic problem is given by a probability space (Ξ,μ)(\Xi, \mu)(Ξ,μ) and a cost f:Q×Ξ→Rf : Q \times \Xi \to \mathbb Rf:Q×Ξ→R with φ(x)=Eξf(x,ξ)\varphi(x) = \mathbb E_\xi f(x,\xi)φ(x)=Eξ​f(x,ξ) well defined on QQQ, and a minimizer x∗x^*x∗ of φ\varphiφ over QQQ with φ∗=φ(x∗)\varphi^* = \varphi(x^*)φ∗=φ(x∗). Assumption 1: each f(⋅,ξ)f(\cdot, \xi)f(⋅,ξ) is convex on QQQ. Assumption 2: a stochastic oracle returns a subgradient f′(x,ξ)f'(x, \xi)f′(x,ξ) of f(⋅,ξ)f(\cdot, \xi)f(⋅,ξ) at xxx, and ∥f′(x,ξ)∥∗≤L\|f'(x,\xi)\|_* \le L∥f′(x,ξ)∥∗​≤L for all x∈Qx \in Qx∈Q, ξ∈Ξ\xi \in \Xiξ∈Ξ.

The method of stochastic simple averages (SSA, (6.3)) fixes γ>0\gamma > 0γ>0, starts from x0x_0x0​ and s0=0s_0 = 0s0​=0, and for k≥0k \ge 0k≥0 draws a fresh independent sample ξk∼μ\xi_k \sim \muξk​∼μ and sets

sk+1=sk+f′(xk,ξk),xk+1=πγβ^k+1(−sk+1).s_{k+1} = s_k + f'(x_k, \xi_k), \qquad x_{k+1} = \pi_{\gamma\hat\beta_{k+1}}(-s_{k+1}).sk+1​=sk​+f′(xk​,ξk​),xk+1​=πγβ^​k+1​​(−sk+1​).

Its deterministic counterpart, the method of simple dual averages (SDA, (2.21)), is the same recursion with arbitrary answers gkg_kgk​ in place of f′(xk,ξk)f'(x_k, \xi_k)f′(xk​,ξk​). The quality of the points x0,…,xkx_0,\dots,x_kx0​,…,xk​ is measured by the gap δk(D)=max⁡{∑i=0k⟨gi,xi−x⟩:x∈Q, d(x)≤D}\delta_k(D) = \max\{\sum_{i=0}^k\langle g_i, x_i - x\rangle : x \in Q,\ d(x)\le D\}δk​(D)=max{∑i=0k​⟨gi​,xi​−x⟩:x∈Q, d(x)≤D}. Write ξk=(ξ0,…,ξk)\boldsymbol\xi_k = (\xi_0, \dots, \xi_k)ξk​=(ξ0​,…,ξk​) and Eξk\mathbb E_{\boldsymbol\xi_k}Eξk​​ for the expectation over these k+1k+1k+1 independent samples.

Formalization targets

Goal: Theorem 7 (p. 27)

For every k≥0k \ge 0k≥0,

Eξk(φ(1k+1∑i=0kxi))−φ∗≤β^k+1k+1(γ d(x∗)+L22σγ).\mathbb E_{\boldsymbol\xi_k}\Big(\varphi\Big(\frac{1}{k+1}\sum_{i=0}^k x_i\Big)\Big) - \varphi^* \le \frac{\hat\beta_{k+1}}{k+1}\Big(\gamma\, d(x^*) + \frac{L^2}{2\sigma\gamma}\Big).Eξk​​(φ(k+11​i=0∑k​xi​))−φ∗≤k+1β^​k+1​​(γd(x∗)+2σγL2​).

Milestones

  1. Theorem 2 (p. 11): for SDA with any answers gig_igi​ and Lk=max⁡i≤k∥gi∥∗L_k = \max_{i\le k}\|g_i\|_*Lk​=maxi≤k​∥gi​∥∗​, δk(D)≤β^k+1(γD+Lk2/(2σγ))\delta_k(D) \le \hat\beta_{k+1}(\gamma D + L_k^2/(2\sigma\gamma))δk​(D)≤β^​k+1​(γD+Lk2​/(2σγ)) for D≥0D \ge 0D≥0, and, if some x∗∈Qx^* \in Qx∗∈Q satisfies ⟨gi,xi−x∗⟩≥0\langle g_i, x_i - x^*\rangle \ge 0⟨gi​,xi​−x∗⟩≥0 for all iii, ∥xk−x∗∥2≤2σd(x∗)+Lk2/(σ2γ2)\|x_k - x^*\|^2 \le \frac2\sigma d(x^*) + L_k^2/(\sigma^2\gamma^2)∥xk​−x∗∥2≤σ2​d(x∗)+Lk2​/(σ2γ2).
  2. (6.5) (p. 26): along every sample path, 1k+1δ~k(D)≤β^k+1k+1(γD+L22σγ)\frac{1}{k+1}\tilde\delta_k(D) \le \frac{\hat\beta_{k+1}}{k+1}(\gamma D + \frac{L^2}{2\sigma\gamma})k+11​δ~k​(D)≤k+1β^​k+1​​(γD+2σγL2​).
  3. Display after (6.5) (p. 26): for D≥d(x∗)D \ge d(x^*)D≥d(x∗), the gap of a run dominates 1k+1∑i⟨f′(xi,ξi),xi−x∗⟩\frac1{k+1}\sum_i\langle f'(x_i,\xi_i), x_i - x^*\ranglek+11​∑i​⟨f′(xi​,ξi​),xi​−x∗⟩, which dominates 1k+1∑i[f(xi,ξi)−f(x∗,ξi)]\frac1{k+1}\sum_i[f(x_i,\xi_i) - f(x^*,\xi_i)]k+11​∑i​[f(xi​,ξi​)−f(x∗,ξi​)].
  4. (6.6) (p. 26): Eξk(1k+1δk(D))≥1k+1∑iEξkf(xi,ξi)−φ∗\mathbb E_{\boldsymbol\xi_k}(\frac1{k+1}\delta_k(D)) \ge \frac1{k+1}\sum_i\mathbb E_{\boldsymbol\xi_k} f(x_i,\xi_i) - \varphi^*Eξk​​(k+11​δk​(D))≥k+11​∑i​Eξk​​f(xi​,ξi​)−φ∗.
  5. p. 27, first display: Eξkf(xi,ξi)=Eξkφ(xi)\mathbb E_{\boldsymbol\xi_k} f(x_i,\xi_i) = \mathbb E_{\boldsymbol\xi_k}\varphi(x_i)Eξk​​f(xi​,ξi​)=Eξk​​φ(xi​) for i≤ki \le ki≤k.
  6. p. 27, display before Theorem 7: 1k+1∑iEφ(xi)≥Eφ(1k+1∑ixi)\frac1{k+1}\sum_i\mathbb E\varphi(x_i) \ge \mathbb E\varphi(\frac1{k+1}\sum_i x_i)k+11​∑i​Eφ(xi​)≥Eφ(k+11​∑i​xi​), together with the averaged identity.

Significance

Theorem 7 gives an explicit, non-asymptotic bound on the expected optimality gap of the averaged SSA point. Since β^k+1≈2k\hat\beta_{k+1} \approx \sqrt{2k}β^​k+1​≈2k​, the bound is O(1/k)O(1/\sqrt k)O(1/k​), the optimal rate for nonsmooth stochastic convex optimization with bounded subgradients. Two features distinguish it from the classical stochastic subgradient bound: it holds in an arbitrary norm with a non-Euclidean prox-function (for example the entropy on the simplex with the ℓ1\ell_1ℓ1​ norm), and the feasible set QQQ need not be bounded, since only d(x∗)d(x^*)d(x∗) enters. The constant is explicit and γ\gammaγ can be tuned to γ=L/2σd(x∗)\gamma = L/\sqrt{2\sigma d(x^*)}γ=L/2σd(x∗)​.

The result is proved in the paper; to our knowledge no machine-checked proof of Theorem 7 or of the dual averaging bounds of the paper exists. A formalization yields a reusable verified analysis of dual averaging in a general normed space, a template for expectation bounds over i.i.d. sample paths of an adaptive algorithm, and checked constants.

Difficulty

The pathwise part is a consequence of the deterministic Theorem 2, which itself rests on the general Dual Averaging bound (the companion mission's Theorem 1) and on the strong convexity estimates for πβ\pi_\betaπβ​. The probabilistic part looks routine on paper but is where formal arguments break: the iterate xix_ixi​ is a function of ξ0,…,ξi−1\xi_0, \dots, \xi_{i-1}ξ0​,…,ξi−1​, and the identity Ef(xi,ξi)=Eφ(xi)\mathbb E f(x_i, \xi_i) = \mathbb E\varphi(x_i)Ef(xi​,ξi​)=Eφ(xi​) requires measurability of the whole run and a Fubini argument on the product space. Measurability of the run in turn depends on continuity of the argmin map πβ\pi_\betaπβ​, and integrability of φ(xˉk)\varphi(\bar x_k)φ(xˉk​) and of the gap is not assumed but must be derived from the uniform bound LLL and the boundedness of the iterates. Pathwise bounds alone do not suffice: (6.5) controls the gap on each sample, not φ(xˉk)\varphi(\bar x_k)φ(xˉk​).

Formalization scope

Theorem numbers and page numbers refer to source.pdf, the author's revised CORE discussion-paper version (September 2005) of the Math. Program. article; printed pages equal PDF pages.

  • EEE is a finite-dimensional real normed space with an arbitrary norm; E∗E^*E∗ is StrongDual ℝ E with the operator norm, and ⟨s,x⟩\langle s, x\rangle⟨s,x⟩ is s x. Strong convexity is Mathlib's StrongConvexOn Q σ d, which is exactly (1.8); σ>0\sigma > 0σ>0.
  • π\piπ is a map ℝ → StrongDual ℝ E → E with the hypothesis that πβ(s)\pi_\beta(s)πβ​(s) lies in QQQ and minimizes −⟨s,x⟩+βd(x)-\langle s, x\rangle + \beta d(x)−⟨s,x⟩+βd(x) for every β>0\beta > 0β>0; no choice function is used.
  • β^\hat\betaβ^​ is defined by recursion with β^0=β^1=1\hat\beta_0 = \hat\beta_1 = 1β^​0​=β^​1​=1. The gap is a real supremum over FD={x∈Q:d(x)≤D}\mathcal F_D = \{x\in Q : d(x)\le D\}FD​={x∈Q:d(x)≤D}, used only for D≥0D \ge 0D≥0, where the set is nonempty and bounded.
  • Indices start at 0; x0x_0x0​ is the prox-center. The run is a function of a sample path ω:N→Ξ\omega : \mathbb N \to \Xiω:N→Ξ; Eξk\mathbb E_{\boldsymbol\xi_k}Eξk​​ is the integral against the product measure μ⊗(k+1)\mu^{\otimes(k+1)}μ⊗(k+1) on Ξk+1\Xi^{k+1}Ξk+1 (the law of k+1k+1k+1 i.i.d. copies of ξ\xiξ), with the finite sample padded to a sequence that the iterates never read.
  • fff and f′f'f′ are functions on E×ΞE \times \XiE×Ξ whose values off QQQ are irrelevant; the subgradient inequality is relative to QQQ. Integrability of f(x,⋅)f(x, \cdot)f(x,⋅) for x∈Qx \in Qx∈Q, and joint measurability of fff and f′f'f′, are explicit hypotheses. The paper uses measurability tacitly; without it a Lean integral of a non-measurable function is 000 and the goal could become false.
  • A statement for a fixed sample path, or with Eφ(xˉk)\mathbb E\varphi(\bar x_k)Eφ(xˉk​) replaced by a pathwise quantity, is a different and weaker theorem and does not count. Integrability of the run is not assumed: it is part of what must be proved.

A complete development needs the deterministic dual averaging analysis (Lemma 1, Lemma 2, Theorem 1 of the paper, restated here only through Theorem 2), measurability and continuity of πβ\pi_\betaπβ​, and Fubini on finite products of probability spaces. The dual averaging lemmas and the product-measure lemmas for adaptive sample paths are reusable beyond this mission. Proofs of any milestone, and supporting lemmas on measurability of the SSA run, are welcome.

Selected references

  • Yu. Nesterov, Primal-dual subgradient methods for convex problems, Mathematical Programming 120 (2009), 221–259. https://doi.org/10.1007/s10107-007-0149-x
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM J. Optim. 19 (2009), 1574–1609. https://doi.org/10.1137/070704277
  • L. Xiao, Dual averaging methods for regularized stochastic learning and online optimization, J. Mach. Learn. Res. 11 (2010), 2543–2596. https://jmlr.org/papers/v11/xiao10a.html
10 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Optimal Ordering and Rationing Policies in a Nonstationary Dynamic Inventory Model with n Demand Classes II: Without Backlogging, the Critical Rationing Levels Are Nondecreasing in tResearch Paper

Motivation

A firm that holds a single stock of one product often faces demand from several classes of customers that differ in importance: emergency and routine orders for spare parts, contract and spot customers, high- and low-priority users of a military supply system. When stock runs low it can pay to refuse a less important demand now in order to keep stock for a more important demand that may arrive later. Veinott (Operations Research 13 (1965), 761–778) studied a dynamic inventory model with several demand classes but required the specific policy that serves every class whenever stock is available. Topkis (Management Science 15 (1968), 160–176) treated the dynamic version, in which demands arrive over the intervals of a period between two procurements, and showed that the optimal rationing policy has a simple form described by one critical rationing level per class and interval.

This mission concerns how those critical levels move over time. The paper's Theorem 2 gives a condition under which, without backlogging, the levels are monotone in the interval index, so that rationing is at least as strict early in the period as late in it. It is the second of four missions on the paper; the first establishes the critical-level policy itself (Theorem 1).

Setting

A period is divided into kkk intervals, indexed backwards: interval ttt has t−1t-1t−1 intervals after it, so interval kkk is the first and interval 1 the last. There are nnn demand classes, class nnn the most important. At the start of interval ttt the demand vector dt=(dt1,…,dtn)d_t = (d_t^1,\dots,d_t^n)dt​=(dt1​,…,dtn​) is observed; demands of different intervals are independent, and each class has a finite mean. With backlog bbb and stock zzz, one decides the vector uuu of outstanding demand left unsatisfied, 0≤u≤B=b+dt0 \le u \le B = b + d_t0≤u≤B=b+dt​, using 1⋅(B−u)\mathbf 1\cdot(B-u)1⋅(B−u) units of stock, so the stock at the end of the interval is w=z−1⋅(B−u)≥0w = z - \mathbf 1\cdot(B-u) \ge 0w=z−1⋅(B−u)≥0. A fraction at≥0a_t \ge 0at​≥0 of the unsatisfied demand is carried as backlog atua_t uat​u into the next interval: at=1a_t = 1at​=1 is complete backlogging, at=0a_t = 0at​=0 none.

The costs are a penalty pt⋅up_t\cdot upt​⋅u with 0≤pt1≤⋯≤ptn0 \le p_t^1 \le \dots \le p_t^n0≤pt1​≤⋯≤ptn​ (Assumption (C)), a holding cost ht(w)h_t(w)ht​(w) continuous and convex on [0,∞)[0,\infty)[0,∞) (Assumption (A)), and a salvage cost v1(z)+v2(z−1⋅b)v_1(z) + v_2(z - \mathbf 1\cdot b)v1​(z)+v2​(z−1⋅b) at the end of the period, with v1v_1v1​, v2v_2v2​ convex and continuous and D+v2D^+v_2D+v2​ bounded below (Assumption (B)). Here D+D^+D+ denotes the right derivative. The optimal costs satisfy the recursion (1)

ft(z,B)=inf⁡0≤u≤B, w=z−1⋅(B−u)≥0[pt⋅u+ht(w)+gt−1(w,atu)],gt(z,b)=Eft(z,b+dt),f_t(z,B) = \inf_{0\le u\le B,\ w = z-\mathbf 1\cdot(B-u)\ge 0}\bigl[p_t\cdot u + h_t(w) + g_{t-1}(w, a_t u)\bigr],\qquad g_t(z,b) = \mathbb E f_t(z, b+d_t),ft​(z,B)=0≤u≤B, w=z−1⋅(B−u)≥0inf​[pt​⋅u+ht​(w)+gt−1​(w,at​u)],gt​(z,b)=Eft​(z,b+dt​),

with g0(z,b)=v1(z)+v2(z−1⋅b)g_0(z,b) = v_1(z) + v_2(z-\mathbf 1\cdot b)g0​(z,b)=v1​(z)+v2​(z−1⋅b).

With δj\delta_jδj​ the jjj-th unit vector, the critical rationing level zˉtj∈[0,∞]\bar z_t^j\in[0,\infty]zˉtj​∈[0,∞] is +∞+\infty+∞ if φtj(w)=ptjw+ht(w)+gt−1(w,atwδj)\varphi_t^j(w) = p_t^j w + h_t(w) + g_{t-1}(w, a_t w\delta_j)φtj​(w)=ptj​w+ht​(w)+gt−1​(w,at​wδj​) is strictly decreasing on [0,∞)[0,\infty)[0,∞), and the smallest minimizer of φtj\varphi_t^jφtj​ on [0,∞)[0,\infty)[0,∞) otherwise. Under the paper's Theorem 1 the rationing level policy uj=(B(j)−z+zˉtj)+∧Bju^j = (B^{(j)} - z + \bar z_t^j)^+\wedge B^juj=(B(j)−z+zˉtj​)+∧Bj, with B(j)=∑i≥jBiB^{(j)} = \sum_{i\ge j}B^iB(j)=∑i≥j​Bi, is optimal: class jjj is served from stock only while the stock stays at or above zˉtj\bar z_t^jzˉtj​.

Formalization targets

Goal: Theorem 2 (p. 170)

Let 1≤t1\le t1≤t, t+1≤kt+1\le kt+1≤k, at+1=at=0a_{t+1} = a_t = 0at+1​=at​=0, and ai∈{0,1}a_i\in\{0,1\}ai​∈{0,1} for i≤ti\le ti≤t. If

pt+1j+lim⁡z→∞D+ht+1(z)≤ptj,thenzˉtj≤zˉt+1j.p_{t+1}^j + \lim_{z\to\infty}D^+h_{t+1}(z) \le p_t^j, \qquad\text{then}\qquad \bar z_t^j \le \bar z_{t+1}^j .pt+1j​+z→∞lim​D+ht+1​(z)≤ptj​,thenzˉtj​≤zˉt+1j​.

Milestones

  1. Lemma 5 (p. 168). For b≤bˉb\le\bar bb≤bˉ: Dz+gt(z,bˉ)≤Dz+gt(z,b)D_z^+g_t(z,\bar b)\le D_z^+g_t(z,b)Dz+​gt​(z,bˉ)≤Dz+​gt​(z,b).
  2. Lemma 6 (p. 168). For z≤zˉz\le\bar zz≤zˉ and y≥0y\ge 0y≥0: gt(zˉ,b)−gt(z,b)≤gt(zˉ+1⋅y,b+y)−gt(z+1⋅y,b+y)g_t(\bar z,b)-g_t(z,b)\le g_t(\bar z+\mathbf 1\cdot y,b+y)-g_t(z+\mathbf 1\cdot y,b+y)gt​(zˉ,b)−gt​(z,b)≤gt​(zˉ+1⋅y,b+y)−gt​(z+1⋅y,b+y).
  3. (12) (p. 170). If b=0b=0b=0 or at=1a_t=1at​=1, for small ε>0\varepsilon>0ε>0 and every d≥0d\ge0d≥0, the difference quotients of ft(⋅,b+d)f_t(\cdot,b+d)ft​(⋅,b+d), ft(⋅,b)f_t(\cdot,b)ft​(⋅,b) and ht+gt−1(⋅,b)h_t+g_{t-1}(\cdot,b)ht​+gt−1​(⋅,b) at zzz are ordered.
  4. Lemma 7 (p. 169). If at=1a_t = 1at​=1 or b=0b = 0b=0: Dz+gt(z,b)≤D+ht(z)+Dz+gt−1(z,b)D_z^+g_t(z,b)\le D^+h_t(z)+D_z^+g_{t-1}(z,b)Dz+​gt​(z,b)≤D+ht​(z)+Dz+​gt−1​(z,b).

Significance

The result says that, in intervals without backlogging, the stock reserved against a class is never larger late in the period than early in it, provided the class's penalty in the earlier interval plus the eventual marginal holding cost does not exceed its penalty in the later interval. Together with Theorem 1 it reduces the dynamic rationing problem to a family of one-dimensional critical numbers with a known order in both the class and the time index. The paper's example on p. 170 shows that the analogous monotonicity fails with backlogging, so the hypothesis at+1=at=0a_{t+1} = a_t = 0at+1​=at​=0 is essential.

The paper's proofs are complete but informal: they interchange expectation and right-derivative limits, and rest on Lemma 2 (convexity and attainment) and Theorem 1 (c). No part of this paper has been machine-checked. This mission produces formal statements of Theorem 2 and the three lemmas it rests on; contributions that formalize the known proofs, or that settle whether the extra hypothesis on earlier backlogging fractions (below) can be dropped, are equally in scope.

Difficulty

The central difficulty is Lemma 7, the comparison of the marginal value of stock in two consecutive intervals. The value functions are defined through an infimum and an expectation, so they are convex but not differentiable, and the minimizer in (1) changes regime each time the stock crosses a critical level; differentiating (1) directly is not available. Right derivatives may also be −∞-\infty−∞ at z=0z = 0z=0, and statements about them have to survive an interchange of expectation and a one-sided limit. The lemma depends on the optimal policy of Theorem 1, which is the subject of the first mission of this series. The claim of Lemma 7 is false when at=0a_t = 0at​=0 and b≠0b\ne0b=0 (p. 168), so no argument can ignore the case split.

Formalization scope

  • Classes are Fin n (paper class jjj is index j−1j-1j−1); intervals are natural numbers counted backwards; vectors are Fin n → ℝ with the pointwise order.
  • ftf_tft​ and gtg_tgt​ are defined by the recursion (1) with sInf and the Bochner integral, and every statement restricts to z≥0z\ge0z≥0, b≥0b\ge0b≥0, where the paper's Lemma 2 (proved in the first mission of the series) makes the infimum finite and attained and the integrand integrable.
  • D+D^+D+ is an extended-real liminf of right difference quotients, never a real derivWithin, which would return 000 where the right derivative is −∞-\infty−∞. Sums of right derivatives are taken in EReal.
  • The standing assumptions (A), (B), (C), at≥0a_t\ge0at​≥0, and probability laws on [0,∞)n[0,\infty)^n[0,∞)n with finite means are bundled in Model.Standing; (B)'s limit condition is read as "D+v2D^+v_2D+v2​ is bounded below".
  • Critical levels are values in WithTop ℝ satisfying the defining predicate (strictly decreasing ⇒ +∞+\infty+∞, otherwise the smallest minimizer); the theorem holds for any such choice. Their existence is a milestone of the first mission; a sanity check exhibits a model in which all hypotheses of Theorem 2 hold with zˉtj=zˉt+1j=0\bar z_t^j = \bar z_{t+1}^j = 0zˉtj​=zˉt+1j​=0.
  • The penalty hypothesis is stated for all z≥0z\ge0z≥0 instead of as a limit; these agree because D+ht+1D^+h_{t+1}D+ht+1​ is nondecreasing.
  • Disclosed addition: Theorem 2 is stated with ai∈{0,1}a_i\in\{0,1\}ai​∈{0,1} for all i≤ti\le ti≤t, the hypothesis of Lemma 7 that its proof uses; the printed statement names only at+1=at=0a_{t+1}=a_t=0at+1​=at​=0. The hypothesis on aia_iai​ in Lemmas 5–7 is required only for i≤ti\le ti≤t.
  • A formalization in which the goal assumes Lemma 7's inequality, or any property of D+gtD^+g_tD+gt​, would be trivial and is excluded: those facts appear only as milestones.

Selected references

  • D. M. Topkis, Optimal ordering and rationing policies in a nonstationary dynamic inventory model with n demand classes, Management Science 15(3) (1968), 160–176. https://doi.org/10.1287/mnsc.15.3.160
  • A. F. Veinott, Jr., Optimal policy in a dynamic, single product, nonstationary inventory model with several demand classes, Operations Research 13(5) (1965), 761–778. https://doi.org/10.1287/opre.13.5.761
7 thms1 active userReviewed
Markov ChainStochastic Systems·Captain: mikedeng1

Random Walks in a Random Environment 2: lim X_n/n = (1 − Eσ)/(1 + Eσ) if Eσ < 1, −(1 − E(σ⁻¹))/(1 + E(σ⁻¹)) if E(σ⁻¹) < 1, and 0 OtherwiseResearch Paper

Motivation

A random walk in a random environment is a walk whose step probabilities are sampled once at each site and then reused whenever the walk returns there. Repeated visits therefore reveal the same local bias instead of drawing a fresh probability. This makes the walk different from an ordinary random walk with a single averaged step probability. Solomon's 1975 paper asks how the random environment changes the long-run direction and speed of a one-dimensional nearest-neighbor walk. Its Section 1 gives the speed law and the associated limits for first passage times. These results distinguish escape at a nonzero linear rate from escape or recurrence at zero linear rate. Solomon (1975)

The question matters whenever a particle repeatedly crosses the same heterogeneous medium. Averaging the local right-step probabilities predicts the drift of a homogeneous comparison walk, but it does not generally predict the speed in the sampled medium. Sites with a small right-step probability can hold up the walk through repeated excursions. The formula in Theorem (1.16) quantifies this effect using a moment of the ratio of left-step to right-step probability. Solomon (1975), pp. 7–8

Setting

An environment is a sequence α=(αz)z∈Z\alpha=(\alpha_z)_{z\in\mathbb Z}α=(αz​)z∈Z​ of numbers in [0,1][0,1][0,1]. In a fixed environment, a walk at site zzz moves to z+1z+1z+1 with probability αz\alpha_zαz​ and to z−1z-1z−1 with probability βz=1−αz\beta_z=1-\alpha_zβz​=1−αz​. It starts at X0=0X_0=0X0​=0. For the random environment, the variables αz\alpha_zαz​ are independent and identically distributed. First the environment is sampled; then the walk moves according to the fixed probabilities at its sites. The probability law that averages over both choices is the annealed law PPP. The mission's model records this law through every finite path cylinder, jointly with every measurable event concerning the environment. Solomon (1975), pp. 1–2

Write σz=βz/αz\sigma_z=\beta_z/\alpha_zσz​=βz​/αz​ for the ratio of leftward to rightward probability. At the endpoints, σz=∞\sigma_z=\inftyσz​=∞ when αz=0\alpha_z=0αz​=0 and σz=0\sigma_z=0σz​=0 when αz=1\alpha_z=1αz​=1. Let e=Eσ0e=E\sigma_0e=Eσ0​ and e−=E(σ0−1)e_-=E(\sigma_0^{-1})e−​=E(σ0−1​); either may be infinite. For an integer site z≠0z\ne0z=0, the passage time TzT_zTz​ is the first positive time at which XXX visits zzz, with Tz=∞T_z=\inftyTz​=∞ if the site is never reached; put T0=0T_0=0T0​=0. The positive ladder times are τn=Tn−Tn−1\tau_n=T_n-T_{n-1}τn​=Tn​−Tn−1​ where the passage times are finite. Their joint sequence, rather than individual identically distributed variables alone, is relevant to the speed law. Solomon (1975), pp. 5–7

Formalization targets

The goal is the complete three-case statement of Theorem (1.16). All limits below hold almost surely. If e<1e<1e<1, then

Tnn⟶1+e1−e,Xnn⟶1−e1+e.\frac{T_n}{n}\longrightarrow\frac{1+e}{1-e},\qquad \frac{X_n}{n}\longrightarrow\frac{1-e}{1+e}.nTn​​⟶1−e1+e​,nXn​​⟶1+e1−e​.

If e−<1e_-<1e−​<1, the symmetric limits are

T−nn⟶1+e−1−e−,Xnn⟶−1−e−1+e−.\frac{T_{-n}}{n}\longrightarrow\frac{1+e_-}{1-e_-},\qquad \frac{X_n}{n}\longrightarrow-\frac{1-e_-}{1+e_-}.nT−n​​⟶1−e−​1+e−​​,nXn​​⟶−1+e−​1−e−​​.

In the remaining case, e−1≤1≤e−e^{-1}\le1\le e_-e−1≤1≤e−​, both normalized passage times tend to infinity and Xn/nX_n/nXn​/n tends to zero. The reciprocal inequality is understood in the extended nonnegative reals, including e=∞e=\inftye=∞. The milestone list follows the paper's supporting statements: a transience observation, a fixed-environment mean passage-time identity, a separated-block independence lemma, stationarity and ergodicity of ladder times, and the annealed mean ladder-time formula. Solomon (1975), pp. 3, 5–7

Significance

The theorem gives a numerical asymptotic speed in either direction when the corresponding ratio has mean below one. It also identifies a zero-speed regime through explicit conditions on the two reciprocal moments. The passage-time clauses say more than the final speed alone: they describe the time required to reach distant positive and negative sites and distinguish a finite linear time scale from an infinite one. The same section compares the speed with that of a homogeneous walk obtained by replacing every local probability with Eα0E\alpha_0Eα0​; the random environment can slow the walk. Solomon (1975), pp. 7–8

Solomon proved these results in 1975. This mission asks for machine-checked proofs of the known statements and a reusable Lean description of the annealed nearest-neighbor model. The fixed-environment chain, first passage times, and the shift law of a sequence of ladder times are useful interfaces for further formal work on random media. No proof of these draft statements is claimed by the mission proposal. Solomon (1975)

Difficulty

The direct attempt to apply an ordinary law of large numbers to the step increments Xn−Xn−1X_n-X_{n-1}Xn​−Xn−1​ does not fit the model: those increments are not strictly stationary in a nonconstant environment. The walk revisits previously sampled site probabilities, so a later increment depends on the path's history through the sites it has encountered. The paper points out this obstruction before introducing ladder times. An additional issue is that a passage time need not be finite, and the means eee and e−e_-e−​ may also be infinite. Any argument that converts these quantities to ordinary real numbers too early loses the zero-speed cases. Solomon (1975), pp. 5, 7

Formalization scope

Lean represents sites by Z\mathbb ZZ and time indices by N\mathbb NN. A probability space carries the jointly sampled environment and path. The environment lies in [0,1][0,1][0,1] pointwise and is independent and identically distributed across all integer sites. The path law is fixed by its joint finite-dimensional cylinder probabilities, which express the annealed construction from the paper. In particular, the path cannot be chosen independently of the environment merely because its one-step marginal probabilities look right. This rules out a trivializing model that forgets the dependence between the sampled medium and the walk.

The ratios σz\sigma_zσz​, their reciprocal and their expectations take values in R≥0∪{∞}\mathbb R_{\ge0}\cup\{\infty\}R≥0​∪{∞}. Passage times take values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, and normalized passage-time limits are expressed in extended nonnegative reals. The position ratio Xn/nX_n/nXn​/n has a real limit. The theorem permits both endpoint probabilities, αz=0\alpha_z=0αz​=0 and αz=1\alpha_z=1αz​=1, and imposes no nondegeneracy assumption. Each convergence statement is almost sure. The ergodicity milestone concerns the full joint law of the sequence (τn)n≥1(\tau_n)_{n\ge1}(τn​)n≥1​ under the left shift; shift preservation supplies strict stationarity. Solomon (1975), pp. 1–2, 5–7

A complete development needs measure-theoretic probability, the fixed-environment chain and annealed cylinder law, extended-valued integration and first passage times, and ergodic theory for the ladder-time shift. The model and passage-time interfaces can be reused in later one-dimensional random-environment results. Contributions proving the listed milestones, sharpening their interfaces without changing their meaning, or supplying general probability lemmas used by the known proof are within scope.

Selected references

  • Fred Solomon, Random Walks in a Random Environment, The Annals of Probability 3(1):1–31, 1975. DOI: 10.1214/aop/1176996444
8 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

Consistent Nonparametric Regression I: Conditions (1)–(5) on a Sequence of Weights Are Sufficient for Consistency, and Consistency Forces Them Back (Theorem 1)Research Paper

Motivation

Nonparametric regression estimates the conditional mean E(Y∣X=x)E(Y\mid X=x)E(Y∣X=x) of a real response YYY given a predictor X∈RdX\in\mathbb R^dX∈Rd without assuming that it belongs to a finite-dimensional family. Most practical estimators of this kind are local averages: kernel estimators (Nadaraya 1964, Watson 1964), nearest-neighbor rules (Cover and Hart 1967), and their many variants all predict at a point XXX by a weighted average ∑iWni(X)Yi\sum_i W_{ni}(X)Y_i∑i​Wni​(X)Yi​ of the observed responses, with weights that depend only on the predictors.

C. J. Stone's 1977 paper in the Annals of Statistics (DOI 10.1214/aos/1176343886) asked when such a rule is consistent: when it converges to the true regression function in LrL^rLr for every joint distribution of (X,Y)(X,Y)(X,Y) with E∣Y∣r<∞E|Y|^r<\inftyE∣Y∣r<∞, without smoothness or moment assumptions beyond that. Its Theorem 1 answers the question in terms of five conditions on the weights alone. The result is the standard starting point for distribution-free regression theory; it is the first theorem of the monograph of Györfi, Kohler, Krzyżak and Walk (2002), where it is called Stone's theorem, and it underlies the universal consistency of nearest-neighbor, kernel and partitioning estimates.

Setting

Let μ\muμ be a probability measure on Rd\mathbb R^dRd and let X,X1,X2,…X, X_1, X_2,\dotsX,X1​,X2​,… be independent with law μ\muμ. A sequence of weights {Wn}\{W_n\}{Wn​} assigns to each n≥1n\ge1n≥1 and each point (x,x1,…,xn)(x,x_1,\dots,x_n)(x,x1​,…,xn​) real numbers

Wni(x)=Wni(x,x1,…,xn),1≤i≤n.W_{ni}(x) = W_{ni}(x, x_1,\dots,x_n),\qquad 1\le i\le n .Wni​(x)=Wni​(x,x1​,…,xn​),1≤i≤n.

The weights are nonnegative if every Wni≥0W_{ni}\ge0Wni​≥0 and probability weights if in addition ∑iWni(x)=1\sum_i W_{ni}(x)=1∑i​Wni​(x)=1.

When (X,Y),(X1,Y1),(X2,Y2),…(X,Y),(X_1,Y_1),(X_2,Y_2),\dots(X,Y),(X1​,Y1​),(X2​,Y2​),… are i.i.d. with YYY real valued, the estimate of E(Y∣X)E(Y\mid X)E(Y∣X) is

E^n(Y∣X)=∑i=1nWni(X) Yi.\hat E_n(Y\mid X) = \sum_{i=1}^n W_{ni}(X)\,Y_i .E^n​(Y∣X)=i=1∑n​Wni​(X)Yi​.

The sequence {Wn}\{W_n\}{Wn​} is consistent if, for every such joint distribution with XXX-marginal μ\muμ and every r≥1r\ge1r≥1 with E∣Y∣r<∞E|Y|^r<\inftyE∣Y∣r<∞,

lim⁡n→∞E∣E^n(Y∣X)−E(Y∣X)∣r=0.\lim_{n\to\infty} E\big|\hat E_n(Y\mid X) - E(Y\mid X)\big|^r = 0 .n→∞lim​E​E^n​(Y∣X)−E(Y∣X)​r=0.

The five conditions of Theorem 1 are:

  1. there is a C≥1C\ge1C≥1 with E∑i∣Wni(X)∣f(Xi)≤C Ef(X)E\sum_i|W_{ni}(X)|f(X_i)\le C\,Ef(X)E∑i​∣Wni​(X)∣f(Xi​)≤CEf(X) for every nonnegative Borel fff and every n≥1n\ge1n≥1;
  2. there is a D≥1D\ge1D≥1 with P(∑i∣Wni(X)∣≤D)=1P\big(\sum_i|W_{ni}(X)|\le D\big)=1P(∑i​∣Wni​(X)∣≤D)=1 for every n≥1n\ge1n≥1;
  3. ∑i∣Wni(X)∣ I{∥Xi−X∥>a}→0\sum_i|W_{ni}(X)|\,I_{\{\|X_i-X\|>a\}}\to0∑i​∣Wni​(X)∣I{∥Xi​−X∥>a}​→0 in probability for every a>0a>0a>0;
  4. ∑iWni(X)→1\sum_i W_{ni}(X)\to1∑i​Wni​(X)→1 in probability;
  5. max⁡i∣Wni(X)∣→0\max_i|W_{ni}(X)|\to0maxi​∣Wni​(X)∣→0 in probability.

Formalization targets

Goal: Theorem 1 (p. 598)

(1)–(5) ⟹ {Wn} consistent,\text{(1)–(5)}\ \Longrightarrow\ \{W_n\}\text{ consistent},(1)–(5) ⟹ {Wn​} consistent,

and conversely, if {Wn}\{W_n\}{Wn​} is consistent, then (4) and (5) hold; if moreover Wn≥0W_n\ge0Wn​≥0 for all n≥1n\ge1n≥1, then (3) holds; and if Wn≥0W_n\ge0Wn​≥0 and (2) holds, then (1) holds. The goal is the full theorem, both directions, as one statement.

Milestones (§10, pp. 607–610)

  • Proposition 1: under (1)–(3), E∑i∣Wni(X)∣∣f(Xi)−f(X)∣r→0E\sum_i|W_{ni}(X)||f(X_i)-f(X)|^r\to0E∑i​∣Wni​(X)∣∣f(Xi​)−f(X)∣r→0 whenever r≥1r\ge1r≥1 and E∣f(X)∣r<∞E|f(X)|^r<\inftyE∣f(X)∣r<∞.
  • Propositions 2 and 3: for nonnegative weights (respectively for Wni2W_{ni}^2Wni2​), bounds on lim inf⁡\liminfliminf and lim sup⁡\limsuplimsup of E∑iWni(X)f(Xi)E\sum_i W_{ni}(X)f(X_i)E∑i​Wni​(X)f(Xi​) in terms of constants Mn≤∑iWni(X)≤NnM_n\le\sum_i W_{ni}(X)\le N_nMn​≤∑i​Wni​(X)≤Nn​ holding with probability tending to one.
  • Proposition 5: under (1)–(4), ∑iWni(X)f(Xi)→f(X)\sum_i W_{ni}(X)f(X_i)\to f(X)∑i​Wni​(X)f(Xi​)→f(X) in LrL^rLr.
  • Proposition 6: nonnegative weights that reproduce every bounded continuous fff in probability satisfy (3).
  • Proposition 7: if lim sup⁡nE∑iWni(X)f(Xi)<∞\limsup_n E\sum_i W_{ni}(X)f(X_i)<\inftylimsupn​E∑i​Wni​(X)f(Xi​)<∞ for every integrable nonnegative fff, a single pair (n0,C)(n_0, C)(n0​,C) works for all fff.
  • Proposition 8: if ∑iWni(X)Yi→0\sum_i W_{ni}(X)Y_i\to0∑i​Wni​(X)Yi​→0 in probability for independent standard normal YiY_iYi​, then ∑iWni2(X)→0\sum_i W^2_{ni}(X)\to0∑i​Wni2​(X)→0 in probability.

Significance

The result. Theorem 1 reduces a statement about all joint distributions of (X,Y)(X,Y)(X,Y) to properties of the weights under the law of XXX alone. For probability weights, conditions (2) and (4) hold automatically, and (1), (3), (5) become necessary and sufficient (Corollary 1). This is how Stone proves that nearest-neighbor weights with suitably vanishing coefficients are universally consistent (Theorem 2 of the paper), and how consistency transfers to estimators of conditional quantiles and to approximate Bayes rules in classification and decision problems (Sections 7–8). Condition (1), the only condition that is not a convergence statement, is the one that later work on kernel and partitioning estimates had to verify by geometric covering arguments.

Formalizing it. The theorem is proved in the paper and in textbooks; it has no machine-checked proof that we know of. A formalization produces a reusable criterion: any later development of local-averaging estimators can discharge consistency by checking five conditions about the predictor distribution. The supporting propositions are of independent use: Proposition 1 is an LrL^rLr approximation lemma for weighted empirical averages, and Proposition 7 is a uniform-boundedness principle for sequences of positive operators on L1(μ)L^1(\mu)L1(μ).

Difficulty

The sufficiency half combines three ingredients that have to fit together at the level of measure theory: approximation of an arbitrary LrL^rLr function by continuous functions with compact support, uniformly over nnn through condition (1); a variance computation for the noise term that conditions on the predictors; and a truncation argument to pass from bounded responses and r=2r=2r=2 to all r≥1r\ge1r≥1. The natural first idea, to apply a weak law of large numbers to ∑iWni(X)Yi\sum_i W_{ni}(X)Y_i∑i​Wni​(X)Yi​, fails because the weights are dependent on all of X,X1,…,XnX, X_1,\dots,X_nX,X1​,…,Xn​ and are not identically distributed.

The necessity half needs separate arguments for each condition: a test-function argument with bounded continuous fff for (3), a contradiction argument summing a sequence of functions fνf_\nufν​ for (1), and a Gaussian anti-concentration argument for (5), which is where the auxiliary normal variables of the paper enter.

Formalization scope

  • Data. The i.i.d. sequence X,X1,X2,…X, X_1, X_2,\dotsX,X1​,X2​,… is the coordinate process of the product measure μ⊗N\mu^{\otimes\mathbb N}μ⊗N on (Rd)N(\mathbb R^d)^{\mathbb N}(Rd)N, coordinate 000 being XXX. "Whenever (X,Y),(X1,Y1),…(X,Y),(X_1,Y_1),\dots(X,Y),(X1​,Y1​),… are i.i.d." is encoded by quantifying over every Markov kernel κ\kappaκ from Rd\mathbb R^dRd to R\mathbb RR (the conditional law of YYY given XXX); the pairs are the coordinates of (μ⊗κ)⊗N(\mu\otimes\kappa)^{\otimes\mathbb N}(μ⊗κ)⊗N and E(Y∣X=x)=∫y κ(x,dy)E(Y\mid X=x)=\int y\,\kappa(x,dy)E(Y∣X=x)=∫yκ(x,dy). Every joint law with XXX-marginal μ\muμ arises in this way.
  • Standing assumptions. The paper's assumption (p. 596) that independent standard normal variables are available on the probability space is supplied by the kernel κ≡N(0,1)\kappa\equiv N(0,1)κ≡N(0,1). The weights are assumed jointly Borel in (x,x1,…,xn)(x,x_1,\dots,x_n)(x,x1​,…,xn​); the paper treats Wni(X)W_{ni}(X)Wni​(X) as random variables without saying so.
  • Conventions. Expectations of nonnegative quantities (in (1), in E∣Y∣rE|Y|^rE∣Y∣r, in the LrL^rLr distances and in Propositions 1–3, 5, 7) are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and the lim inf⁡\liminfliminf/lim sup⁡\limsuplimsup of Propositions 2, 3, 7 are in [0,∞][0,\infty][0,∞], so no infinite expectation is silently read as 000. Convergence in probability is Mathlib's TendstoInMeasure. Sample indices are 000-based. Conditions on individual nnn are stated for n≥1n\ge1n≥1.
  • Correction of the print. The definition of consistency on p. 597 prints "r>1r>1r>1"; the proof of Theorem 1 (p. 611, (13)) and the rest of the paper work with every r≥1r\ge1r≥1, which is the formalized reading.
  • Not a trivialization. The goal quantifies over every conditional law κ\kappaκ and every real r≥1r\ge1r≥1; a version for bounded YYY or for r=2r=2r=2 only would be weaker than the theorem, and the converse parts conclude the conditions (1), (3), (4), (5) themselves.
  • Infrastructure. A complete development needs products of probability measures and their coordinate processes, Lusin-type density of compactly supported continuous functions in Lr(μ)L^r(\mu)Lr(μ), conditional variance computations given finitely many coordinates, and the Gaussian tail bound. These pieces are reusable well beyond this mission. Proofs of individual propositions, and of either direction of Theorem 1 separately, are welcome contributions.

Selected references

  • C. J. Stone, Consistent nonparametric regression, Ann. Statist. 5(4), 595–645, 1977. https://doi.org/10.1214/aos/1176343886
  • L. Györfi, M. Kohler, A. Krzyżak, H. Walk, A Distribution-Free Theory of Nonparametric Regression, Springer, 2002. https://doi.org/10.1007/b97848
  • T. M. Cover, P. E. Hart, Nearest neighbor pattern classification, IEEE Trans. Inform. Theory 13(1), 21–27, 1967. https://doi.org/10.1109/TIT.1967.1053964
  • E. A. Nadaraya, On estimating regression, Theory Probab. Appl. 9(1), 141–142, 1964. https://doi.org/10.1137/1109020
  • G. S. Watson, Smooth regression analysis, Sankhyā Ser. A 26(4), 359–372, 1964. https://www.jstor.org/stable/25049340
9 thms1 active userReviewed
Algorithmic Game TheoryAnalysisOperations Research·Captain: mikedeng1

Values of Large Games II: Oceanic Games 2: Oceanic Values Are Limits of Values of Finite Weighted Majority GamesResearch Paper

Motivation

Weighted voting models assign a coalition a win when its combined vote reaches a quota. The Shapley value measures a player's contribution by averaging the change it makes when added to every possible predecessor coalition. This is straightforward to define for a finite list of voters, but a voting body may contain a few major holders and a very large population of individually small holders. A calculation made for a finite approximation should then have a stable meaning as the small holdings are divided more finely. Milnor and Shapley's oceanic game gives that question a precise form and asks whether its major-player values agree with the limits of finite weighted majority games. Milnor and Shapley, RAND RM-2649 (1961).

The question matters whenever a finite voting model is used to represent a diffuse electorate or ownership base. Without a continuity result, the measured power of a major voter could depend on how an otherwise identical mass of minor votes was artificially split. The memo's Theorem 1 establishes the required stability under an explicit small-weight condition. The result is a known theorem from the 1961 memorandum; the task here is its Lean formalization, including the mathematical objects that make its statement meaningful.

Setting

Fix a finite set M={1,…,m}M=\{1,\ldots,m\}M={1,…,m} of major players, with nonnegative weights wiw_iwi​. The ocean is a continuum of individually insignificant voters represented by the unit interval I=[0,1]I=[0,1]I=[0,1], with total weight α>0\alpha>0α>0. A coalition's vote is its major-player weight plus α\alphaα times the Lebesgue measure of its oceanic part. It wins when that vote reaches a quota c≥0c\ge0c≥0. The formal development uses Fin m for MMM and real weights; the underlying voting rule is the one in §2 of the memorandum. Milnor and Shapley, §2.

To assign a value to a major player, insert each major player independently and uniformly into the ordered ocean. A position vector x=(x1,…,xm)x=(x_1,\ldots,x_m)x=(x1​,…,xm​) lies in the cube ImI^mIm. Write P(t)={j∈M:xj<t}P(t)=\{j\in M:x_j<t\}P(t)={j∈M:xj​<t} and w(S)=∑j∈Swjw(S)=\sum_{j\in S}w_jw(S)=∑j∈S​wj​. Major player iii is pivotal when the predecessor weight is below the quota and adding iii reaches it, in the memo's weak-boundary form

w(P(xi))+αxi≤c≤w(P(xi))+wi+αxi.w(P(x_i))+\alpha x_i\le c\le w(P(x_i))+w_i+\alpha x_i.w(P(xi​))+αxi​≤c≤w(P(xi​))+wi​+αxi​.

The oceanic major-player value ϕi\phi_iϕi​ is the probability of this event. Since the insertion positions are uniform, it is also the mmm-dimensional Lebesgue volume of the corresponding set Ai⊆ImA_i\subseteq I^mAi​⊆Im. Equalities at boundary positions have zero volume. Milnor and Shapley, (2.3)–(2.4), pp. 4–5.

At stage ℓ\ellℓ, the finite approximation has the same mmm major players, followed by nℓn_\ellnℓ​ minor players with nonnegative weights aj,ℓa_{j,\ell}aj,ℓ​. Its quota and major weights are cℓc_\ellcℓ​ and wi,ℓw_{i,\ell}wi,ℓ​. A coalition has value one if its weight is at least cℓc_\ellcℓ​, and zero otherwise. The finite-game value ϕi,ℓ\phi_{i,\ell}ϕi,ℓ​ is the Shapley value of that coalition function. The published Shapley-value definition is reused for this general finite-game object; only the quota game and its oceanic limit are defined for this mission. Milnor and Shapley, Appendix (A.1), (A.4).

Formalization targets

Theorem 1: continuity of major-player values

The principal target says that if quotas and major weights converge, the total minor weight tends to α\alphaα, and every minor weight becomes small, then each major-player value converges:

cℓ→c,wi,ℓ→wi,∑jaj,ℓ→α>0,max⁡jaj,ℓ→0⟹ϕi,ℓ→ϕi.c_\ell\to c,\quad w_{i,\ell}\to w_i,\quad \sum_j a_{j,\ell}\to\alpha>0,\quad \max_j a_{j,\ell}\to0 \quad\Longrightarrow\quad \phi_{i,\ell}\to\phi_i.cℓ​→c,wi,ℓ​→wi​,j∑​aj,ℓ​→α>0,jmax​aj,ℓ​→0⟹ϕi,ℓ​→ϕi​.

This is Theorem 1, equations (3.1)–(3.2), of the memorandum. Its conclusion refers to the pivotal-probability definition of ϕi\phi_iϕi​ above. Milnor and Shapley, Theorem 1, p. 6.

Supporting statements

The milestone list follows three statements present in the source: equation (3.4) partitions AiA_iAi​ by the predecessor set SSS; equations (3.5)–(3.6) give the volume of each part as a one-variable integral with clamped endpoints; and Appendix (A.1)–(A.3) states the finite-game limit as a sum of those integrals. Their shared expression is

Li(c,w,α)=∑S⊆M∖{i}∫[0,1]∩[(c−w(S)−wi)/α,(c−w(S))/α]t∣S∣(1−t)m−∣S∣−1 dt.L_i(c,w,\alpha)=\sum_{S\subseteq M\setminus\{i\}}\int_{[0,1]\cap[(c-w(S)-w_i)/\alpha,(c-w(S))/\alpha]} t^{|S|}(1-t)^{m-|S|-1}\,dt.Li​(c,w,α)=S⊆M∖{i}∑​∫[0,1]∩[(c−w(S)−wi​)/α,(c−w(S))/α]​t∣S∣(1−t)m−∣S∣−1dt.

The appendix's limit statement concerns LiL_iLi​; Theorem 1 concerns ϕi\phi_iϕi​. Both are separate targets in the formalization. Milnor and Shapley, §3 and Appendix.

Significance

The theorem makes the major-player value independent of a particular fine division of the minor vote, provided the total minor weight and the other parameters converge as stated. The same oceanic game can therefore stand for many finite approximating sequences. The integral expression also gives a precise comparison point between finite Shapley values and the geometric definition by pivotal volume. Milnor and Shapley, §1 and Theorem 1.

The mathematical result is proved in the cited memorandum, and its appendix recapitulates a limit theorem from the preceding work in the series. The formalization work is to state and prove these known claims over Lean's finite index types, Lebesgue measure, integrals, and limits. Reusable components include the quota-game characteristic function and the interface between a finite Shapley value and a changing number of minor players. The mission does not claim that the historical theorem is open, nor that these target statements already have machine-checked proofs.

Difficulty

The number of minor players changes with ℓ\ellℓ, so the finite Shapley sum does not have a fixed set of coalitions. Merely taking a limit term by term in that sum does not justify its limit: the number and weights of the terms also change. The condition that the largest minor weight tends to zero controls a triangular family of games, while the oceanic definition is a measure of a geometric pivotal event. Matching the two descriptions requires care at the quota boundaries and at intervals that may be empty. These are the central issues represented by the appendix milestone and by equations (3.4)–(3.6). Milnor and Shapley, §3 and Appendix.

Formalization scope

The Lean model uses Fin m for major players and Fin (n l) for minor players at stage lll, concatenated with majors first. It uses a real-valued quota characteristic function, the published finite Shapley-value definition, and product Lebesgue volume on the cube [0,1]m[0,1]^m[0,1]m for uniform insertion positions. The predecessor relation is strict, xj<xix_j<x_ixj​<xi​, exactly as in §2; the complementary cell relation is weak. The pivotal inequalities follow (2.4), and the oceanic value is defined from their volume. Defining it as LiL_iLi​ would make the comparison demanded by Theorem 1 empty, so that equality remains a theorem-level obligation.

The source defines oceanic games with c≥0c\ge0c≥0, wi≥0w_i\ge0wi​≥0, and α>0\alpha>0α>0. The finite approximants are read as weighted majority games with nonnegative weights; that condition is explicit in Lean. No sign condition is imposed on the stage quotas cℓc_\ellcℓ​, since (3.2) states none (only the limit satisfies c≥0c\ge0c≥0). The statement does not impose the footnote's upper bound c≤w(M)+αc\le w(M)+\alphac≤w(M)+α because Theorem 1 only concerns major-player values, which are zero in a null game. An empty minor list is permitted at an early stage. Rather than taking the maximum of an empty list, Lean says that for each ε>0\varepsilon>0ε>0, all minor weights are eventually at most ε\varepsilonε; with nonnegative weights this is the paper's vanishing-maximum condition. A positive limiting ocean weight also excludes an eventually empty minor population.

The integral in (A.3) is a set integral over the stated intersection of closed intervals, so an empty intersection contributes zero. For (3.5), the endpoints are clamped to [0,1][0,1][0,1]. The condition S⊆M∖{i}S\subseteq M\setminus\{i\}S⊆M∖{i} ensures m−∣S∣−1m-|S|-1m−∣S∣−1 is nonnegative before it is represented as a natural-number exponent. Contributions that strengthen the measure-theoretic partition, the cell-volume computation, or the varying-population finite limit are within scope; a proof may use other intermediate lemmas while keeping the sourced target statements unchanged.

Selected references

  • John W. Milnor and Lloyd S. Shapley, Values of Large Games, II: Oceanic Games, RAND Research Memorandum RM-2649, 1961. RAND publication page.
  • Lloyd S. Shapley and Norman Shapiro, Values of Large Games, I: A Limit Theorem, RAND Research Memorandum RM-2648, 1960. RAND publication page.
8 thms1 active userReviewed
Convex OptimizationOperations Research·Captain: mikedeng1

Stochastic Convex Programming: Basic Duality 2: With a Bounded Second-Stage Set the Intrinsic First-Stage Problem Coincides with the One Induced by P and Recourse Is AttainedResearch Paper

Motivation

Two-stage stochastic programming with recourse models a decision taken in two steps: a first-stage decision x1x_1x1​ is fixed before a random outcome sss is observed, and a recourse decision x2(s)x_2(s)x2​(s) is taken afterwards, once sss is known. The model goes back to Dantzig (1955) and Beale (1955) and is the basic template of stochastic optimization in operations research: capacity planning before demand is known, production before prices are revealed, reservoir management before inflows are observed.

When the outcome space is not finite, the recourse is a function x2(⋅)x_2(\cdot)x2​(⋅), and the problem must specify the class of functions it ranges over. Rockafellar and Wets (Pacific J. Math. 62 (1976) 173–195) develop the duality theory of the convex case with recourse functions that are measurable and essentially bounded (L∞\mathcal L^\inftyL∞), the setting in which the dual multipliers and their interpretation as prices become available. Their §3 asks whether that restriction loses anything: whether minimizing over L∞\mathcal L^\inftyL∞ recourses gives the same first-stage problem as minimizing, scenario by scenario, the best attainable second-stage cost.

Setting

Let (S,Σ,σ)(S,\Sigma,\sigma)(S,Σ,σ) be a probability space. The data are closed convex nonempty sets C1⊆Rn1C_1\subseteq\mathbb R^{n_1}C1​⊆Rn1​, C2⊆Rn2C_2\subseteq\mathbb R^{n_2}C2​⊆Rn2​, finite convex functions f10,f1if_{10},f_{1i}f10​,f1i​ on Rn1\mathbb R^{n_1}Rn1​ (i=1,…,m1i=1,\dots,m_1i=1,…,m1​), and functions f20(s,x1,x2)f_{20}(s,x_1,x_2)f20​(s,x1​,x2​), f2i(s,x1,x2)f_{2i}(s,x_1,x_2)f2i​(s,x1​,x2​) (i=1,…,m2i=1,\dots,m_2i=1,…,m2​), finite and jointly convex in (x1,x2)(x_1,x_2)(x1​,x2​) for each sss, and measurable in sss for each (x1,x2)(x_1,x_2)(x1​,x2​), summable for i=0i=0i=0 and bounded for i≥1i\ge1i≥1. These are the paper's standing assumptions.

With X=Rn1×Ln2∞X=\mathbb R^{n_1}\times\mathcal L^\infty_{n_2}X=Rn1​×Ln2​∞​, the essential objective of the problem P\mathbf PP is

f(x1,x2)=F1(x1,0)+∫SF2(s,x1,x2(s),0) σ(ds),f(x_1,x_2)=F_1(x_1,0)+\int_S F_2\big(s,x_1,x_2(s),0\big)\,\sigma(ds),f(x1​,x2​)=F1​(x1​,0)+∫S​F2​(s,x1​,x2​(s),0)σ(ds),

where F1(x1,u1)=f10(x1)F_1(x_1,u_1)=f_{10}(x_1)F1​(x1​,u1​)=f10​(x1​) if x1∈C1x_1\in C_1x1​∈C1​ and f1i(x1)≤u1if_{1i}(x_1)\le u_{1i}f1i​(x1​)≤u1i​ for all iii, and +∞+\infty+∞ otherwise, and F2(s,x1,x2,u2)=f20(s,x1,x2)F_2(s,x_1,x_2,u_2)=f_{20}(s,x_1,x_2)F2​(s,x1​,x2​,u2​)=f20​(s,x1​,x2​) if x2∈C2x_2\in C_2x2​∈C2​ and f2i(s,x1,x2)≤u2if_{2i}(s,x_1,x_2)\le u_{2i}f2i​(s,x1​,x2​)≤u2i​ for all iii, and +∞+\infty+∞ otherwise. Integrals of extended-real functions follow the paper's convention (2.4): the ordinary integral (real or −∞-\infty−∞) when the integrand is majorized by a summable function, and +∞+\infty+∞ otherwise.

Two first-stage problems are compared:

  • the first-stage problem induced by P\mathbf PP minimizes J(x1)=inf⁡x2∈Ln2∞f(x1,x2)J(x_1)=\inf_{x_2\in\mathcal L^\infty_{n_2}}f(x_1,x_2)J(x1​)=infx2​∈Ln2​∞​​f(x1​,x2​);
  • the intrinsic first-stage problem Q\mathbf QQ minimizes j(x1)=F1(x1,0)+∫Sq(s,x1) σ(ds)j(x_1)=F_1(x_1,0)+\int_S q(s,x_1)\,\sigma(ds)j(x1​)=F1​(x1​,0)+∫S​q(s,x1​)σ(ds), where q(s,x1)=inf⁡x2∈Rn2F2(s,x1,x2,0)q(s,x_1)=\inf_{x_2\in\mathbb R^{n_2}}F_2(s,x_1,x_2,0)q(s,x1​)=infx2​∈Rn2​​F2​(s,x1​,x2​,0) is the optimal recourse cost in scenario sss.

The hypothesis of the general result uses ρ(s,x1)=inf⁡{∣x2∣∣F2(s,x1,x2,0)<+∞}\rho(s,x_1)=\inf\{|x_2|\mid F_2(s,x_1,x_2,0)<+\infty\}ρ(s,x1​)=inf{∣x2​∣∣F2​(s,x1​,x2​,0)<+∞}, the Euclidean distance from the origin to the feasible recourses (+∞+\infty+∞ if there are none), and calls x1x_1x1​ intrinsically feasible when j(x1)<+∞j(x_1)<+\inftyj(x1​)<+∞. A normal convex integrand hhh on S×RnS\times\mathbb R^nS×Rn is lower semicontinuous, convex and proper in zzz for each sss, with a measurability condition given by a sequence of measurable functions dense in each dom⁡h(s,⋅)\operatorname{dom}h(s,\cdot)domh(s,⋅).

Formalization targets

Goal: Theorem 2 (p. 187)

If C2C_2C2​ is bounded, then for every x1∈Rn1x_1\in\mathbb R^{n_1}x1​∈Rn1​

j(x1)=J(x1)=inf⁡x2∈Ln2∞f(x1,x2),inf⁡Q=inf⁡P,j(x_1)=J(x_1)=\inf_{x_2\in\mathcal L^\infty_{n_2}}f(x_1,x_2),\qquad \inf\mathbf Q=\inf\mathbf P,j(x1​)=J(x1​)=x2​∈Ln2​∞​inf​f(x1​,x2​),infQ=infP,

the two first-stage problems have the same minimizers, and the infimum over x2∈Ln2∞x_2\in\mathcal L^\infty_{n_2}x2​∈Ln2​∞​ is attained for each x1x_1x1​.

Theorem 1 (p. 186)

If ρ(⋅,x1)\rho(\cdot,x_1)ρ(⋅,x1​) is essentially bounded for every intrinsically feasible x1x_1x1​, then j(x1)=J(x1)j(x_1)=J(x_1)j(x1​)=J(x1​) for all x1x_1x1​, inf⁡Q=inf⁡P\inf\mathbf Q=\inf\mathbf PinfQ=infP, and the minimizers coincide. Boundedness of C2C_2C2​ is a special case of this hypothesis.

Milestones

  • (2.1): F(x,u)=F1(x1,u1)+∫SF2(s,x1,x2(s),u2(s)) σ(ds)F(x,u)=F_1(x_1,u_1)+\int_S F_2(s,x_1,x_2(s),u_2(s))\,\sigma(ds)F(x,u)=F1​(x1​,u1​)+∫S​F2​(s,x1​,x2​(s),u2​(s))σ(ds) (p. 180);
  • Proposition 1: for a normal convex integrand, inf⁡z∈Lnp∫Sh(s,z(s)) σ(ds)=∫Sinf⁡zh(s,z) σ(ds)\inf_{z\in\mathcal L^p_n}\int_S h(s,z(s))\,\sigma(ds)=\int_S\inf_z h(s,z)\,\sigma(ds)infz∈Lnp​​∫S​h(s,z(s))σ(ds)=∫S​infz​h(s,z)σ(ds) whenever the left side is not +∞+\infty+∞ (p. 181);
  • Proposition 2: F2F_2F2​ is a normal convex integrand (p. 182);
  • Proposition 4: q(⋅,x1)q(\cdot,x_1)q(⋅,x1​) is measurable (p. 185);
  • (3.5)–(3.6): j≤fj\le fj≤f, hence inf⁡Q≤inf⁡P\inf\mathbf Q\le\inf\mathbf PinfQ≤infP (p. 186);
  • the feasible-recourse multifunction (3.10) is measurable, ρ\rhoρ is measurable, and the nearest feasible point is a measurable selection (p. 187);
  • Theorem 1 (p. 186);
  • with C2C_2C2​ bounded, the argmin multifunction of F2(s,x1,⋅,0)F_2(s,x_1,\cdot,0)F2​(s,x1​,⋅,0) is nonempty, compact, measurable and has a measurable selection (p. 188).

The Corollary of Theorem 2 (p. 188), that x1x_1x1​ minimizes Q\mathbf QQ iff some (x1,x2)(x_1,x_2)(x1​,x2​) minimizes P\mathbf PP, is included as a further statement.

Significance

The theorem justifies the modelling choice behind the paper's duality theory: when the second-stage constraint set is bounded, restricting recourse to essentially bounded measurable functions changes neither the optimal value nor the optimal first-stage decisions, and an optimal recourse function exists for every first stage. The duality theory of the companion mission (Theorem 3 of the same paper) is developed in that L∞\mathcal L^\inftyL∞ setting, so the two results together describe the problem completely in the bounded case. Proposition 1, the interchange of infimum and integral for normal integrands, is a basic tool of stochastic programming and of the calculus of variations, used well beyond this paper.

The results are proved in the 1976 paper, relying on Rockafellar's earlier work on normal integrands and measurable selections. None of them has a machine-checked proof. Mathlib has the Lebesgue and Bochner integrals, Lp\mathcal L^pLp spaces and the measurable-selection prerequisites in partial form; it has no normal integrands, no extended-real integral convention of this kind, and no interchange theorem. A formal development produces those as reusable components.

Difficulty

The inequality j≤Jj\le Jj≤J is immediate. The reverse inequality requires, from the pointwise infima q(s,x1)q(s,x_1)q(s,x1​), a single recourse function x2(⋅)x_2(\cdot)x2​(⋅) that is measurable, essentially bounded and nearly optimal in almost every scenario. Choosing a near-minimizer separately for each sss gives no measurability at all: the content is a measurable choice, and that needs the normality of F2F_2F2​ and the measurability of the multifunctions of feasible and of optimal recourses. Essential boundedness is a second, independent obstacle: without a bound on ρ\rhoρ every feasible recourse may be unbounded, and the infimum over L∞\mathcal L^\inftyL∞ can then exceed jjj. Attainment in Theorem 2 needs, in addition, compactness of the argmin sets, which comes from the boundedness of C2C_2C2​ and lower semicontinuity.

Formalization scope

Rn\mathbb R^nRn is Fin n → ℝ; indices i=1,…,mi=1,\dots,mi=1,…,m are Fin m; Ln∞\mathcal L^\infty_nLn∞​ and Lnp\mathcal L^p_nLnp​ are Mathlib's Lp (Fin n → ℝ) p σ, so recourse functions are almost-everywhere classes and the second-stage constraints hold almost surely. σ\sigmaσ is a probability measure in every theorem. All extended-real quantities (FFF, F1F_1F1​, F2F_2F2​, fff, JJJ, qqq, jjj, ρ\rhoρ, inf⁡P\inf\mathbf PinfP, inf⁡Q\inf\mathbf QinfQ) take values in EReal, and every infimum is the complete-lattice infimum, so an empty infimum is +∞+\infty+∞. The integral convention (2.4) is the published definition DupacovaWets.Consistency.expect: +∞+\infty+∞ when the positive part has infinite integral (for a measurable function, exactly when it has no summable majorant), and otherwise the difference of the lower Lebesgue integrals of the positive and negative parts. ∣⋅∣|\cdot|∣⋅∣ in ρ\rhoρ is the Euclidean length, not the sup norm. "Gives the minimum" is "has value ≤\le≤ the value at every point". Measurability of a multifunction is the published definition DupacovaWets.Consistency.IsMeasurableMultifunction ({s∣Γ(s)∩K≠∅}\{s\mid\Gamma(s)\cap K\ne\emptyset\}{s∣Γ(s)∩K=∅} measurable for every closed KKK). The standing assumptions are fields of the structure Problem.

The integral of an extended-real function must not be replaced by a Bochner integral of its real part, which would turn ±∞\pm\infty±∞ values into 000 and make jjj meaningless; and the infima must not be real sInf, which returns 000 on unbounded sets.

Reusable beyond this mission: the notion of a normal convex integrand on a finite-dimensional space, and Proposition 1. Contributions of measurable-selection infrastructure (Kuratowski–Ryll-Nardzewski type theorems, measurability of distance functions of closed-valued multifunctions) are welcome as supporting lemmas. The mission "Stochastic Convex Programming: Basic Duality 1" formalizes the duality theorem of the same paper on the same model.

Selected references

  • R. T. Rockafellar and R. J.-B. Wets, Stochastic convex programming: basic duality, Pacific Journal of Mathematics 62(1) (1976) 173–195. https://doi.org/10.2140/pjm.1976.62.173
  • R. T. Rockafellar, Measurable dependence of convex sets and functions on parameters, Journal of Mathematical Analysis and Applications 28 (1969) 4–25. https://doi.org/10.1016/0022-247X(69)90104-8
  • R. T. Rockafellar, Integrals which are convex functionals, Pacific Journal of Mathematics 24(3) (1968) 525–539. https://doi.org/10.2140/pjm.1968.24.525
  • G. B. Dantzig, Linear programming under uncertainty, Management Science 1(3–4) (1955) 197–206. https://doi.org/10.1287/mnsc.1.3-4.197
15 thms1 active userReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

Stochastic Inequalities on Partially Ordered Spaces 3: Ornstein's d̄-Distance of Stationary Real Processes Equals ∫ω⁰dP + ∫ω⁰dQ − 2 sup{∫ω⁰dR : R ≺ P, R ≺ Q}Research Paper

Motivation

Two stationary random sequences can have identical distributions at each individual time while differing in their dependence across time. Comparing only their one-time marginals therefore misses a feature relevant to stochastic-process comparison. Ornstein's dˉ\bar ddˉ measures the cost of matching two whole stationary processes: it minimizes the expected discrepancy at one time over joint laws that are themselves stationary. Kamae, Krengel, and O'Brien use stochastic order to replace that optimization over pairs of processes with an optimization over a single common lower process in Theorem 8 of their 1977 paper. This mission formalizes that identity and the stationary coupling results supporting it.

Setting

A two-sided path with values in a space EEE is a sequence ω=(ωn)n∈Z\omega=(\omega^n)_{n\in\mathbb Z}ω=(ωn)n∈Z​. The shift TTT sends ω\omegaω to the path whose coordinate nnn is ωn+1\omega^{n+1}ωn+1. A probability law PPP on paths is stationary, written P∈STP\in\mathcal S_TP∈ST​, when P∘T−1=PP\circ T^{-1}=PP∘T−1=P. A law ν\nuν on pairs of paths is jointly stationary, written ν∈SS\nu\in\mathcal S_Sν∈SS​, when it is invariant under S(ω1,ω2)=(Tω1,Tω2)S(\omega_1,\omega_2)=(T\omega_1,T\omega_2)S(ω1​,ω2​)=(Tω1​,Tω2​). Its first and second marginals are denoted ν1\nu_1ν1​ and ν2\nu_2ν2​. These are the objects defined at the start of Section 8.

When EEE has a partial order, paths are ordered coordinatewise: ω1≤ω2\omega_1\leq\omega_2ω1​≤ω2​ means ω1n≤ω2n\omega_1^n\leq\omega_2^nω1n​≤ω2n​ for every integer nnn. For probability laws on any such space, write P≺QP\prec QP≺Q if ∫f dP≤∫f dQ\int f\,dP\leq\int f\,dQ∫fdP≤∫fdQ for every bounded, measurable, increasing real function fff. Thus stochastic order compares laws through all bounded increasing observations, including observations that depend on several time coordinates. The paper introduces this order on a partially ordered Polish space whose order graph is closed and whose measurable sets are Borel sets in Section 1.

For real-valued paths, ω0\omega^0ω0 is the value at time zero. If the time-zero values under stationary laws PPP and QQQ are integrable, define Ornstein's distance by

dˉ(P,Q)=inf⁡ν∈SSν1=P,ν2=Q∫∣ω10−ω20∣ ν(dω1,dω2).\bar d(P,Q)=\inf_{\substack{\nu\in\mathcal S_S\\\nu_1=P,\,\nu_2=Q}} \int |\omega_1^0-\omega_2^0|\,\nu(d\omega_1,d\omega_2).dˉ(P,Q)=ν∈SS​ν1​=P,ν2​=Q​inf​∫∣ω10​−ω20​∣ν(dω1​,dω2​).

The stationary constraint on ν\nuν is part of the definition. It asks for a matching of the full processes, even though the cost is evaluated at one coordinate. The paper notes that this formula is equivalent to Ornstein's original definition for the processes considered here on p. 910.

Formalization targets

The ordered special case is Lemma 3: if P≺QP\prec QP≺Q, then

dˉ(P,Q)=∫ω0 Q(dω)−∫ω0 P(dω).\bar d(P,Q)=\int\omega^0\,Q(d\omega)-\int\omega^0\,P(d\omega).dˉ(P,Q)=∫ω0Q(dω)−∫ω0P(dω).

The main target is Theorem 8, equation (18). For stationary real process laws P,QP,QP,Q with finite first moments at time zero,

dˉ(P,Q)=∫ω0 P(dω)+∫ω0 Q(dω)−2sup⁡R∈STR≺P,R≺Q∫ω0 R(dω).\bar d(P,Q)= \int\omega^0\,P(d\omega)+\int\omega^0\,Q(d\omega) -2\sup_{\substack{R\in\mathcal S_T\\R\prec P,\,R\prec Q}} \int\omega^0\,R(d\omega).dˉ(P,Q)=∫ω0P(dω)+∫ω0Q(dω)−2R∈ST​R≺P,R≺Q​sup​∫ω0R(dω).

The supremum ranges over stationary laws of whole paths, ordered on the full coordinatewise path space. The milestone list includes Theorem 7's stationary monotone coupling, Lemmas 2 and 3, and three claims made inside the proof of Theorem 8: the triangle inequality dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q)\bar d(P,Q)\le\bar d(P,R)+\bar d(R,Q)dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q), which the paper asserts without proof ("since dˉ\bar ddˉ is a distance"), the attainment of the infimum defining dˉ\bar ddˉ, and the fact that the law of the coordinatewise minimum of an optimal stationary coupling lies below both PPP and QQQ. These are the statements from the paper that delimit the target.

Significance

The identity expresses a distance defined through stationary joint distributions using only stationary laws below both inputs in stochastic order. It therefore links a coupling cost to an order-theoretic optimization. In the ordered case, Lemma 3 evaluates the distance directly from the difference of means. The authors point out that the general formula replaces an infimum over laws on a product path space by a supremum over laws on one path space on p. 911.

The 1977 results are proved on paper; these mission statements are open Lean proof targets. A completed formalization would supply reusable definitions for stationary path laws, stationary couplings, stochastic order on path spaces, and dˉ\bar ddˉ, together with checked statements about their interaction. It would also make the closed-order and first-moment conditions explicit at every point where a subsequent result uses them. The separate mission for Theorem 1 contains the general coupling characterization that the paper invokes in Theorem 7.

Difficulty

The cost in dˉ\bar ddˉ inspects only time zero, but admissibility of a coupling involves every time coordinate at once. An arbitrary coupling of the time-zero marginals need not extend to a stationary coupling of the two processes. The stationary-coupling existence statement must preserve both full path marginals and the coordinatewise order. On the optimization side, taking an infimum in the real numbers is justified only after the coupling class is shown nonempty and its costs are finite; attaining the infimum requires more than those two facts. These are the obstacles made explicit by Theorem 7 and the proof of Theorem 8.

Formalization scope

The Lean path space is Z→E\mathbb Z\to EZ→E, with Mathlib's product topology, Borel measurable structure, and coordinatewise order. The shift sends coordinate nnn to the old coordinate n+1n+1n+1. For Theorem 7, EEE carries the paper's standing assumptions: it is Polish, its order is a closed partial order, and its measurable structure is Borel. Measurability of quantified functions is explicit, following the paper's convention that sets and functions under discussion are measurable. Theorem 8 and its Section 8 milestones specialize to E=RE=\mathbb RE=R.

The real-valued definition of dˉ\bar ddˉ takes the infimum over jointly stationary probability couplings with the specified full path marginals. Under the target's finite-first-moment hypotheses, the product coupling makes this class nonempty, every displayed cost is integrable, and costs are bounded below by zero. The goal states the supremum with an explicit finite least upper bound. It considers common lower laws with an integrable time-zero coordinate: such laws give the finite values intended by the paper, and this restriction does not remove the optimal value. These choices exclude totalized integrals and default real infima or suprema from supplying a spurious identity. Theorem 7's support condition is concentration on the closed set of ordered path pairs.

Reusable contributions include general facts about stationary measures on countable products, measurable coordinatewise order and meet maps, and stationary coupling compactness. The target specifically requires the order to test bounded increasing functions on the full path space; replacing it with a comparison of time-zero marginals would give a different claim. Likewise, dropping the joint stationarity constraint from the definition of dˉ\bar ddˉ would turn it into the Kantorovich (Wasserstein-1) distance of the time-zero marginals, a different and in general smaller quantity; the formalization keeps that constraint. The source is the published Annals of Probability version; throughout this mission printed page === PDF page +898+898+898.

Selected references

  • T. Kamae, U. Krengel, and G. L. O'Brien, Stochastic Inequalities on Partially Ordered Spaces, The Annals of Probability 5(6), 899–912, 1977. DOI: 10.1214/aop/1176995659.
13 thms1 active userReviewed
Markov ChainStochastic Systems·Captain: mikedeng1

The Two-Parameter Poisson–Dirichlet Distribution Derived from a Stable Subordinator 6: n·Y_n → (1 − α)/α Almost Surely under PD(α, θ)Research Paper

Motivation

In a population divided into many species, a ranked frequency VnV_nVn​ is the fraction belonging to the nnnth most common species. The Poisson–Dirichlet distribution is a model for such random ranked frequencies. It also arises from ranked jumps of a stable subordinator, which gives the model its connection to random interval partitions. Pitman and Yor's 1997 paper develops both descriptions and studies quantities derived from the ranked sequence. Its §7.3 asks how much of the remaining total mass belongs to the nnnth ranked component when nnn is large. This is the chain factor YnY_nYn​, the quantity studied here. These interpretations and the result are in Pitman and Yor (1997).

For 0<α<10<\alpha<10<α<1, the paper first analyzes the tail ratio Σn\Sigma_nΣn​ under PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) through Proposition 11 and its Laplace transform. Proposition 14 relates PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) to that base law by a local-time density. The limiting behavior in Proposition 44 combines those two themes. The paper states both an almost-sure limit and a Gaussian fluctuation limit, but the variance printed for the latter conflicts with the variance of Σ1\Sigma_1Σ1​ displayed immediately before it. The mission retains the paper's almost-sure assertion as its goal and records the corrected fluctuation assertion separately. Pitman and Yor (1997), pp. 863–865, 890–891.

Setting

Choose 0≤α<10\le\alpha<10≤α<1 and θ>−α\theta> -\alphaθ>−α. Let Y~1,Y~2,…\tilde Y_1,\tilde Y_2,\ldotsY~1​,Y~2​,… be independent random variables, where Y~n\tilde Y_nY~n​ has the beta distribution with parameters (1−α,θ+nα)(1-\alpha,\theta+n\alpha)(1−α,θ+nα). Its density on (0,1)(0,1)(0,1) is Γ(a+b)xa−1(1−x)b−1/(Γ(a)Γ(b))\Gamma(a+b)x^{a-1}(1-x)^{b-1}/(\Gamma(a)\Gamma(b))Γ(a+b)xa−1(1−x)b−1/(Γ(a)Γ(b)) for parameters a,b>0a,b>0a,b>0. Form the stick-breaking lengths

V~1=Y~1,V~n=(1−Y~1)⋯(1−Y~n−1)Y~n(n≥2).\tilde V_1=\tilde Y_1,\qquad \tilde V_n=(1-\tilde Y_1)\cdots(1-\tilde Y_{n-1})\tilde Y_n\quad(n\ge2).V~1​=Y~1​,V~n​=(1−Y~1​)⋯(1−Y~n−1​)Y~n​(n≥2).

Sort these lengths in decreasing order, retaining multiplicities. The law of the resulting sequence V1≥V2≥⋯V_1\ge V_2\ge\cdotsV1​≥V2​≥⋯ is PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ), exactly Definition 1 of the paper. Pitman and Yor (1997), p. 857.

For that ranked sequence, define the tail ratio and chain factor

Σn=Vn+1+Vn+2+⋯Vn,Yn=VnVn+Vn+1+⋯=11+Σn.\Sigma_n=\frac{V_{n+1}+V_{n+2}+\cdots}{V_n},\qquad Y_n=\frac{V_n}{V_n+V_{n+1}+\cdots}=\frac{1}{1+\Sigma_n}.Σn​=Vn​Vn+1​+Vn+2​+⋯​,Yn​=Vn​+Vn+1​+⋯Vn​​=1+Σn​1​.

The distinction between YnY_nYn​ and the original independent factors Y~n\tilde Y_nY~n​ matters: the former is computed after ranking and is generally dependent across indices. The paper also uses the function ψα(λ)=1+α∫01(1−e−λx)x−α−1 dx\psi_\alpha(\lambda)=1+\alpha\int_0^1(1-e^{-\lambda x})x^{-\alpha-1}\,dxψα​(λ)=1+α∫01​(1−e−λx)x−α−1dx for λ≥0\lambda\ge0λ≥0. It appears in the Laplace transform of Σn\Sigma_nΣn​. Pitman and Yor (1997), pp. 863–865, 890.

Formalization targets

The central target is Proposition 44, display (150): for 0<α<10<\alpha<10<α<1 and θ>−α\theta> -\alphaθ>−α,

nYn⟶1−ααalmost surely under PD(α,θ).nY_n\longrightarrow\frac{1-\alpha}{\alpha}\quad\text{almost surely under }\mathrm{PD}(\alpha,\theta).nYn​⟶α1−α​almost surely under PD(α,θ).

The milestones state the distribution and Laplace transform of Σn\Sigma_nΣn​ from Proposition 11(ii), its mean α/(1−α)\alpha/(1-\alpha)α/(1−α), the almost-sure limit of Σn/n\Sigma_n/nΣn​/n under PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0), and Proposition 14's change-of-measure formula. The Gaussian companion records the central limit theorem for Σn/n\Sigma_n/nΣn​/n and the corrected version of Proposition 44's display (151):

n(nYn−1−αα)⟹N ⁣(0,(1−α)2α3(2−α)).\sqrt n\left(nY_n-\frac{1-\alpha}{\alpha}\right) \Longrightarrow N\!\left(0,\frac{(1-\alpha)^2}{\alpha^3(2-\alpha)}\right).n​(nYn​−α1−α​)⟹N(0,α3(2−α)(1−α)2​).

The printed variance in (151) is α−2(2−α)−2\alpha^{-2}(2-\alpha)^{-2}α−2(2−α)−2. It differs from the variance forced by the preceding Σn\Sigma_nΣn​ central limit theorem: Var⁡(Σ1)=α/((2−α)(1−α)2)\operatorname{Var}(\Sigma_1)=\alpha/((2-\alpha)(1-\alpha)^2)Var(Σ1​)=α/((2−α)(1−α)2) and the derivative of x↦1/xx\mapsto1/xx↦1/x at α/(1−α)\alpha/(1-\alpha)α/(1−α) give (1−α)2/(α3(2−α))(1-\alpha)^2/(\alpha^3(2-\alpha))(1−α)2/(α3(2−α)). At α=1/2\alpha=1/2α=1/2, the corrected and printed values are 4/34/34/3 and 16/916/916/9. The verbatim milestone text preserves the paper's wording; the companion theorem discloses the correction. Pitman and Yor (1997), pp. 890–891.

Significance

Display (150) identifies the almost-sure scale of the ranked chain factor: YnY_nYn​ behaves like a deterministic constant divided by nnn. This makes the order of magnitude precise for every permitted θ\thetaθ, despite the dependence among ranked components. The companion fluctuation statement gives a distributional scale around that limit and exposes a numerical inconsistency in the printed version. Neither conclusion is simply a statement about the independent beta factors Y~n\tilde Y_nY~n​; the paper compares the two sequences precisely because they have different limiting distributions. Pitman and Yor (1997), p. 891.

The result is proved in the paper, while its statements and their supporting definitions still need a machine-checked development. A completed formalization would make the ranked-frequency law, the tail-ratio limit, and the local-time change of measure available as separately reusable results. It would also settle the corrected variance at the level of a precise probability-law statement rather than silently adopting the paper's printed constant.

Difficulty

The tempting shortcut is to use Proposition 11(ii), which says that each Σn\Sigma_nΣn​ has the law of a sum of nnn independent copies of Σ1\Sigma_1Σ1​, and invoke a strong law. That information concerns each one-dimensional law separately; it does not exhibit the whole sequence (Σn)(\Sigma_n)(Σn​) as partial sums of a single independent sequence. Almost-sure convergence is a statement about their joint coupling, so the shortcut leaves a gap. The Gaussian conclusion raises a different issue: its limit must survive the change from PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) to PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ), and its variance must be consistent with the displayed variance of Σ1\Sigma_1Σ1​. These are the two substantive tasks beyond the calculation of the Laplace transform. Pitman and Yor (1997), pp. 864, 890–891.

Formalization scope

Lean represents a random ranked sequence as V:Ω→(N→R)V:\Omega\to(\mathbb N\to\mathbb R)V:Ω→(N→R) on a probability space. Its index kkk means the paper's n=k+1n=k+1n=k+1. Thus the goal uses (k+1)Yk+1(k+1)Y_{k+1}(k+1)Yk+1​, and the tail-ratio milestones use Σk+1/(k+1)\Sigma_{k+1}/(k+1)Σk+1​/(k+1). The paper's Definition 1 is represented by independent beta coordinate laws followed by a decreasing ranking. The ranking counts multiplicity using extended cardinality, so an infinite set of terms above a threshold cannot acquire a finite fallback count. The law of the ranked sequence is expressed through measurable preimages. This avoids treating a nonmeasurable ranking map as a zero measure through Measure.map.

All targets retain 0<α<10<\alpha<10<α<1; the θ\thetaθ targets also retain θ>−α\theta> -\alphaθ>−α. The beta law and integrals use these parameter ranges. Real expectations state integrability or square integrability where needed, preventing a nonintegrable Bochner integral or variance from supplying a fallback zero. The nonnegative change-of-measure identity uses extended nonnegative integrals, and its local time LLL is identified by the almost-sure limit nVnαnV_n^\alphanVnα​ rather than by an arbitrary extra weight or a limit operator with a default value. The Gaussian variances are positive on this parameter range, despite being represented by nonnegative real parameters in Mathlib. The formalization must use the actual tail ratio of the PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) sequence, not an independently assigned factor process.

The reusable infrastructure includes the ranked-value operation, the stick-breaking law, convolution powers, the tail-ratio and chain-factor definitions, and the bridge between PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) and PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ). Contributions that establish these interfaces or prove the displayed mean, strong law, and central limit assertions directly against them are within scope. Pitman and Yor (1997), Definition 1, Propositions 11, 14, 44.

Selected references

  • J. Pitman and M. Yor, The two-parameter Poisson–Dirichlet distribution derived from a stable subordinator, Annals of Probability 25(2):855–900, 1997. DOI: 10.1214/aop/1024404422.
8 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

Monte Carlo Bounding Techniques for Determining Solution Quality in Stochastic Programs: The Expected Sample-Average Optimal Value Is a Lower Bound on z* That Improves with Sample SizeResearch Paper

Motivation

Most stochastic programs that arise in practice, such as two-stage stochastic linear programs with recourse, have far too many scenarios to be solved exactly. The standard remedy is sample-average approximation: draw nnn independent observations of the random data, replace the expectation by the sample mean, and solve the resulting deterministic problem. A candidate solution x^\hat xx^ found this way, or by any heuristic, comes with no guarantee. To judge it one needs a bound on its optimality gap Ef(x^,ξ~)−z∗Ef(\hat x,\tilde\xi)-z^*Ef(x^,ξ~​)−z∗, and estimating Ef(x^,ξ~)Ef(\hat x,\tilde\xi)Ef(x^,ξ~​) is routine; what is missing is a lower bound on the unknown optimal value z∗z^*z∗.

Mak, Morton and Wood (Oper. Res. Lett. 24 (1999)) show that the optimal value of the sample-average problem supplies exactly this: its expectation never exceeds z∗z^*z∗, and it can only move closer to z∗z^*z∗ as the sample size grows. The result requires almost no structure of the problem, and it underlies the batch-means confidence intervals on the optimality gap used throughout the stochastic programming literature, including the single- and two-replication procedures of Bayraksan and Morton (2006).

Timeline.

  • 1960: Madansky's wait-and-see bound z∗≥Emin⁡x∈Xf(x,ξ~)z^*\ge E\min_{x\in X}f(x,\tilde\xi)z∗≥Eminx∈X​f(x,ξ~​) (Management Sci. 6), the case n=1n=1n=1 of the result.
  • 1998: Norkin, Pflug and Ruszczyński use stochastic lower bounds of this kind inside a branch-and-bound method (Math. Programming 83); the paper notes that they verified the monotonicity independently.
  • 1999: Mak, Morton and Wood prove Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗ (Theorem 1) for arbitrary XXX and Ezn∗≤Ezn+1∗Ez_n^*\le Ez_{n+1}^*Ezn∗​≤Ezn+1∗​ (Theorem 2), and build confidence intervals on the optimality gap from them.

Setting

Let ξ~\tilde\xiξ~​ be a random vector with distribution μ\muμ on a measurable space Ξ\XiΞ, let X⊆RdX\subseteq\mathbb R^dX⊆Rd be a deterministic feasible set, and let f:Rd×Ξ→Rf:\mathbb R^d\times\Xi\to\mathbb Rf:Rd×Ξ→R. The stochastic program is

SPz∗=min⁡x∈XEf(x,ξ~),x∗∈arg⁡min⁡x∈XEf(x,ξ~).\mathrm{SP}\qquad z^*=\min_{x\in X}Ef(x,\tilde\xi),\qquad x^*\in\arg\min_{x\in X}Ef(x,\tilde\xi).SPz∗=x∈Xmin​Ef(x,ξ~​),x∗∈argx∈Xmin​Ef(x,ξ~​).

Let ξ~1,ξ~2,…\tilde\xi^1,\tilde\xi^2,\dotsξ~​1,ξ~​2,… be independent and identically distributed (i.i.d.) from the distribution of ξ~\tilde\xiξ~​, defined on a probability space (Ω,P)(\Omega,P)(Ω,P). The sample-average problem of size n≥1n\ge1n≥1 is

SPnzn∗=min⁡x∈X1n∑i=1nf(x,ξ~i),xn∗∈arg⁡min⁡x∈X1n∑i=1nf(x,ξ~i).\mathrm{SP}_n\qquad z_n^*=\min_{x\in X}\frac1n\sum_{i=1}^n f(x,\tilde\xi^i),\qquad x_n^*\in\arg\min_{x\in X}\frac1n\sum_{i=1}^n f(x,\tilde\xi^i).SPn​zn∗​=x∈Xmin​n1​i=1∑n​f(x,ξ~​i),xn∗​∈argx∈Xmin​n1​i=1∑n​f(x,ξ~​i).

Its optimal value zn∗z_n^*zn∗​ is a random variable. All the zm∗z_m^*zm∗​ are built on the same sequence: zn∗z_n^*zn∗​ uses its first nnn terms and zn+1∗z_{n+1}^*zn+1∗​ its first n+1n+1n+1. Throughout, Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​) is assumed to exist for every x∈Xx\in Xx∈X.

For the proof structure the mission also uses the leave-one-out values

zn,(i)∗=min⁡x∈X1n∑j=1j≠in+1f(x,ξ~j),i=1,…,n+1,z_{n,(i)}^*=\min_{x\in X}\frac1n\sum_{\substack{j=1\\j\ne i}}^{n+1}f(x,\tilde\xi^j),\qquad i=1,\dots,n+1,zn,(i)∗​=x∈Xmin​n1​j=1j=i​∑n+1​f(x,ξ~​j),i=1,…,n+1,

the sample-average optimal values of the n+1n+1n+1 subsamples of size nnn of the first n+1n+1n+1 observations.

Formalization targets

Goal: the lower bound improves with the sample size

Ezn∗ ≤ Ezn+1∗ ≤ z∗(n≥1),Ez_n^*\ \le\ Ez_{n+1}^*\ \le\ z^*\qquad(n\ge1),Ezn∗​ ≤ Ezn+1∗​ ≤ z∗(n≥1),

stated in the Introduction (p. 48) as the paper's main claim, with no assumption on XXX or on f(⋅,ξ~)f(\cdot,\tilde\xi)f(⋅,ξ~​) beyond the existence of the relevant expectations and of optimal solutions.

Milestones

  1. Theorem 1 (p. 49): Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗.
  2. Proof of Theorem 2 (p. 50), pathwise: 1n+1∑i=1n+1zn,(i)∗≤zn+1∗\frac1{n+1}\sum_{i=1}^{n+1}z_{n,(i)}^*\le z_{n+1}^*n+11​∑i=1n+1​zn,(i)∗​≤zn+1∗​.
  3. Proof of Theorem 2 (p. 50): Ezn,(i)∗=Ezn∗E z_{n,(i)}^*=Ez_n^*Ezn,(i)∗​=Ezn∗​ for every iii.
  4. Theorem 2 (p. 50): Ezn+1∗≥Ezn∗Ez_{n+1}^*\ge Ez_n^*Ezn+1∗​≥Ezn∗​.

Companion statements

  • The remark after Theorem 1 (p. 49): Emin⁡x∈XF(x,⋅)≤z∗E\min_{x\in X}\mathcal F(x,\cdot)\le z^*Eminx∈X​F(x,⋅)≤z∗ for any unbiased estimator F(x,⋅)\mathcal F(x,\cdot)F(x,⋅) of Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​).
  • The wait-and-see bound (p. 50), z∗≥Emin⁡x∈Xf(x,ξ~)z^*\ge E\min_{x\in X}f(x,\tilde\xi)z∗≥Eminx∈X​f(x,ξ~​).
  • Display (9) (p. 52): for x^∈X\hat x\in Xx^∈X and Gn=1n∑if(x^,ξ~i)−zn∗G_n=\frac1n\sum_i f(\hat x,\tilde\xi^i)-z_n^*Gn​=n1​∑i​f(x^,ξ~​i)−zn∗​, Gn≥0G_n\ge0Gn​≥0 and EGn≥Ef(x^,ξ~)−z∗EG_n\ge Ef(\hat x,\tilde\xi)-z^*EGn​≥Ef(x^,ξ~​)−z∗.

Significance

Theorem 1 turns any sampling-based solver into a source of statistical lower bounds on z∗z^*z∗: averaging independent replications of zn∗z_n^*zn∗​ gives a confidence interval for a lower bound, and display (9) combines it with an upper-bound estimator into an estimator of the optimality gap that is nonnegative by construction. Theorem 2 justifies increasing the sample size: the bias z∗−Ezn∗z^*-Ez_n^*z∗−Ezn∗​ is nonincreasing in nnn. Both results are used, often without proof, in the analysis of sample-average approximation and of the gap-estimation procedures built on it.

The results are proved, in this paper and in textbooks (e.g. Shapiro, Dentcheva and Ruszczyński, Lectures on Stochastic Programming). To our knowledge none of them is machine-checked. On Prove2Me, a special case of Theorem 1 under continuity, compactness and a square-integrable envelope is posed but unproved (SolutionQuality.SRP.display1_negative_bias), and the wait-and-see inequality is proved for finitely many scenarios in an extended-real model (StochasticProg.ValueOfInfo.prop1_ws_le_rp_le_eev). This mission states the general versions, for arbitrary feasible sets and integrable costs, on a measure-theoretic i.i.d. model.

Difficulty

Theorem 1 is short on paper; in a formal setting its difficulty is bookkeeping: minima over arbitrary sets and expectations of possibly non-integrable functions both need explicit hypotheses to mean what the paper means. Theorem 2 is harder. The natural first attempt compares zn∗z_n^*zn∗​ and zn+1∗z_{n+1}^*zn+1∗​ on the same sample path, but no pathwise inequality holds in either direction: one extra observation can raise or lower the sample-average optimum. The monotonicity holds only in expectation, so any argument must use the joint law of the infinite i.i.d. sequence, including the law of its subsequences, and measurability of zn∗z_n^*zn∗​ as a function of the sample path.

Formalization scope

The model is the published definition file SolutionQuality.SRP.Setting: decisions lie in EuclideanSpace ℝ (Fin d), μ\muμ is a probability measure on Ξ\XiΞ, the sample is an i.i.d. sequence ξ : ℕ → Ω → Ξ (the paper's ξ~i\tilde\xi^iξ~​i is ξ (i-1)), and z∗z^*z∗, zn∗z_n^*zn∗​, GnG_nGn​ and the optimality gap are its optValue, saaValue, gapEstimate and optGap. The mission adds skipIndex, the leave-one-out value looValue and the path law pathLaw.

Committed conventions:

  • XXX is an arbitrary set: no convexity, closedness or compactness, and f(⋅,ξ)f(\cdot,\xi)f(⋅,ξ) has no continuity (p. 49: "X need not be convex …").
  • Minima are conditionally complete infima (sInf), and expectations are Bochner integrals. Both take the value 000 on bad inputs, so every statement carries the hypotheses that keep them genuine:
    • integrability of f(x,⋅)f(x,\cdot)f(x,⋅) for x∈Xx\in Xx∈X (the first-moment half of the paper's standing assumption; the second moments are not used and are omitted);
    • attainment of z∗z^*z∗ (the paper's x∗∈arg⁡min⁡x^*\in\arg\minx∗∈argmin);
    • almost-sure attainment of every SPm\mathrm{SP}_mSPm​ (the paper's xm∗∈arg⁡min⁡x_m^*\in\arg\minxm∗​∈argmin), stated for the law of the sample path, or almost-sure boundedness below where that suffices;
    • integrability of zn∗z_n^*zn∗​ and zn+1∗z_{n+1}^*zn+1∗​ ("Ezn∗Ez_n^*Ezn∗​ exists");
    • measurability of zn∗z_n^*zn∗​ as a function of the sample path ("zn∗z_n^*zn∗​ is a random variable"), for Theorem 2 only. It holds, e.g., for countable XXX or for f(⋅,ξ)f(\cdot,\xi)f(⋅,ξ) continuous on XXX; it fails for arbitrary XXX and fff, which is why it is assumed.
  • n≥1n\ge1n≥1 throughout, since the empty sample mean is 000.

These hypotheses are disclosed in each statement and are satisfiable: a sanity instance with XXX a singleton satisfies all of them. A formalization that dropped the integrability of zn∗z_n^*zn∗​, or that allowed z0∗z_0^*z0∗​, would make the goal false or vacuous, and one that assumed continuity and compactness would restate the special case already on the platform; neither is in scope.

A complete development needs: the expectation of a sample mean under an i.i.d. law; the identification of the law of fun j => ξ (skipIndex i j) · with Measure.infinitePi (fun _ => μ) (Mathlib's iIndepFun_iff_map_fun_eq_infinitePi_map); and the averaging identity behind the leave-one-out decomposition. The reindexing lemma for i.i.d. sequences is reusable well beyond this mission. Proofs of the milestones, and alternative arguments for Theorem 2, are welcome.

Selected references

  • W.-K. Mak, D. P. Morton, R. K. Wood, Monte Carlo bounding techniques for determining solution quality in stochastic programs, Operations Research Letters 24 (1999) 47–56. https://doi.org/10.1016/S0167-6377(98)00054-6
  • A. Madansky, Inequalities for stochastic linear programming problems, Management Science 6 (1960) 197–204. https://doi.org/10.1287/mnsc.6.2.197
  • V. I. Norkin, G. Ch. Pflug, A. Ruszczyński, A branch and bound method for stochastic global optimization, Mathematical Programming 83 (1998) 425–450. https://doi.org/10.1007/BF02680569
  • G. Bayraksan, D. P. Morton, Assessing solution quality in stochastic programs, Mathematical Programming 108 (2006) 495–514. https://doi.org/10.1007/s10107-006-0720-x
  • A. Shapiro, D. Dentcheva, A. Ruszczyński, Lectures on Stochastic Programming: Modeling and Theory, SIAM, 2009. https://doi.org/10.1137/1.9780898718751
7 thms1 active userReviewed
Control TheoryConvex Optimization·Captain: mikedeng1

Convex Duality in Constrained Portfolio Optimization II: The Dual Problem Attains Its Infimum, So an Optimal Constrained Portfolio–Consumption Pair Exists for Every Initial CapitalResearch Paper

Motivation

Portfolio decisions in continuous time must respect both market uncertainty and investment restrictions. A ban on short sales, for example, restricts the vector of wealth fractions a trader may hold at every instant. The corresponding optimal consumption and investment problem is harder than its unrestricted counterpart because a candidate portfolio obtained from the usual pricing equations may violate the constraint. Cvitanić and Karatzas introduced auxiliary markets indexed by a process and used a dual optimization problem to establish existence of an optimal constrained policy in their 1992 paper. This mission formalizes the paper's existence theorem, Theorem 13.1, together with the results in Sections 12–13 that specify its dual target.

Setting

Fix a finite horizon T>0T>0T>0 and a complete probability space carrying a standard ddd-dimensional Brownian motion WWW. Information at time ttt is the probability augmentation of the filtration generated by WWW up to ttt. A bond earns short rate rtr_trt​; ddd stocks have appreciation vector btb_tbt​ and volatility matrix σt\sigma_tσt​. The market assumptions require progressively measurable coefficients, a uniform lower bound on rrr, uniform nondegeneracy of σσT\sigma\sigma^{\mathsf T}σσT, finite expected interest-rate integral, and finite energy of the market price of risk θ=σ−1(b−r1)\theta=\sigma^{-1}(b-r\mathbf1)θ=σ−1(b−r1) §2.

A portfolio πt\pi_tπt​ specifies fractions of wealth held in the stocks, while ct≥0c_t\geq0ct​≥0 is consumption and XtX_tXt​ is wealth. The feasible portfolios lie in a fixed nonempty closed convex set K⊆RdK\subseteq\mathbb R^dK⊆Rd. Its support function is δK(v)=sup⁡π∈K(−π⋅v)\delta_K(v)=\sup_{\pi\in K}(-\pi\cdot v)δK​(v)=supπ∈K​(−π⋅v), which may equal +∞+\infty+∞. The process ν\nuν indexing an auxiliary market belongs to D\mathcal DD when it has finite expected quadratic energy and finite expected integrated support value. Its deflator HνH_\nuHν​ combines an interest-rate discount with a Brownian exponential. The class D′\mathcal D'D′ consists of those ν∈D\nu\in\mathcal Dν∈D for which the budget map Xν(y)\mathcal X_\nu(y)Xν​(y) is finite for every y>0y>0y>0 §§4, 8.

The running utility U1(t,c)U_1(t,c)U1​(t,c) and terminal utility U2(XT)U_2(X_T)U2​(XT​) are strictly increasing and strictly concave for positive arguments. An admissible constrained policy has nonnegative wealth, finite expected negative utility, and πt∈K\pi_t\in Kπt​∈K for Lebesgue-time times probability almost every (t,ω)(t,\omega)(t,ω). The primal value V(x)V(x)V(x) is the supremum of its expected utility over all such policies with initial capital x>0x>0x>0. The dual value V~(y)\widetilde V(y)V(y) is the infimum, over ν∈D\nu\in\mathcal Dν∈D, of expected conjugate utility evaluated at yHνyH_\nuyHν​ §§5–6, 12.

Formalization targets

Dual attainment

The first conclusion of Theorem 13.1 is the paper's condition (12.9):

∀y>0∃λy∈D′V~(y)=J~(y;λy).\forall y>0\quad\exists\lambda_y\in\mathcal D'\quad\widetilde V(y)=\widetilde J(y;\lambda_y).∀y>0∃λy​∈D′V(y)=J(y;λy​).

Thus the infimum is attained by a drift with a finite budget map. It is a conclusion of this mission, even though earlier Section 12 results assume it. The milestones include weak duality (12.8), the dual representation of Proposition 12.1, the capital-matching result of Proposition 12.2, and the analytic properties of the extended dual functional in Proposition 13.2 pp. 792–795.

An optimal constrained policy for every capital

The theorem's second conclusion is

∀x>0∃(π^,c^,X^)∈A′(x)∀(π,c,X)∈A′(x),J(π,c,X)≤J(π^,c^,X^).\forall x>0\quad\exists (\widehat\pi,\widehat c,\widehat X)\in\mathcal A'(x)\quad\forall(\pi,c,X)\in\mathcal A'(x),\quad J(\pi,c,X)\leq J(\widehat\pi,\widehat c,\widehat X).∀x>0∃(π,c,X)∈A′(x)∀(π,c,X)∈A′(x),J(π,c,X)≤J(π,c,X).

Here A′(x)\mathcal A'(x)A′(x) is the constrained admissible class. Theorem 12.4 establishes this conclusion when dual attainment is assumed; Theorem 13.1 provides that assumption under the paper's stated utility and dual-finiteness conditions p. 794.

Significance

The result supplies an optimizer, rather than only a bound on the best attainable utility. It also identifies a minimizing auxiliary market for every positive dual parameter, making the dual description usable at a specified initial capital. The dual representation links the primal value to a convex function that can be studied without choosing a constrained policy first §§12–13.

The theorem is proved in the paper; the remaining work here is a machine-checked development of its definitions, hypotheses, and existence argument. The mission also produces reusable definitions of an almost-surely square-integrable Brownian integral relation, extended-real utility expectations, an extended support function, and constrained wealth classes. The Brownian state space and predictable step-sum substrate credit the published Ethier–Kurtz formalizations. The paper refers some analytic steps to earlier works instead of reproducing full proofs, including Lemma 12.3 and a final finiteness argument pp. 793–796.

Difficulty

Weak duality alone only bounds the constrained value from above. It does not supply a minimizer of J~(y;ν)\widetilde J(y;\nu)J(y;ν), and an arbitrary minimizing auxiliary process need not belong to D′\mathcal D'D′. The dual functional must retain meaningful infinite values on the full finite-energy process space H\mathcal HH; replacing them with total-operation defaults can turn the needed coercivity and lower-semicontinuity statements into different claims. Even after dual attainment, the minimizing parameter for a prescribed capital must match the budget map Xλy(y)\mathcal X_{\lambda_y}(y)Xλy​​(y) §§12–13. These are the precise gaps between a numerical bound and the asserted optimal policy.

Formalization scope

Lean uses Rd\mathbb R^dRd with its Euclidean norm, a finite positive horizon, a complete probability measure, and the augmented Brownian filtration. Processes are functions of time and sample point; ℓ⊗P\ell\otimes Pℓ⊗P almost-everywhere restrictions on portfolios and auxiliary drifts are distinct from pathwise PPP-almost-sure statements. A policy is represented by a triple (π,c,X)(\pi,c,X)(π,c,X) whose wealth process satisfies the integral equation, matching the paper's pair together with its unique wealth solution. The integral operator is bound to the local Itô construction by predictable step approximations; it is not a free function. Integrands must be in its almost-sure square-integrable domain.

Support values, utility at zero, expected utility, and value functions use extended reals. The extension U(0)U(0)U(0) is the right limit U(0+)U(0+)U(0+); an extended-real supremum defines conjugate utility where zero arguments arise. The inverse marginal is a positive-argument inverse of U′U'U′. The minimization in V~\widetilde VV ranges over D\mathcal DD, while (12.9) asks for a minimizer in D′\mathcal D'D′. Its witnesses λy\lambda_yλy​ remain explicit choices in statements involving Xλy\mathcal X_{\lambda_y}Xλy​​; no default-valued inverse Yν\mathcal Y_\nuYν​ is introduced. The functional J~y\widetilde J_yJy​ of (13.3) is defined on H\mathcal HH, uses the paper's formula on G\mathcal GG, and is +∞+\infty+∞ off G\mathcal GG. On D\mathcal DD it agrees almost everywhere with the original dual objective, an equality requiring a formal lemma. Assumption 6.2 and conditions (5.8), (8.25), (12.2), (12.3), and (12.11) are explicit. Their quantifiers cover both utilities and every time in [0,T][0,T][0,T] where stated. The mission rules out a vacuous dual-attainment hypothesis, a zero default for an unbounded support supremum, and an unconstrained stochastic-integral operator. Contributions proving the source milestones and the analytic lemmas they need are in scope.

Selected references

  • Jakša Cvitanić and Ioannis Karatzas, Convex Duality in Constrained Portfolio Optimization, The Annals of Applied Probability 2(4), 1992, 767–818. DOI: 10.1214/aoap/1177005576.
15 thms1 active userReviewed
Information TheoryTheoretical Computer Science·Captain: mikedeng1

Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data 1: Every [n, k, 2t+1] Code Gives an Average-Case Hamming Fuzzy Extractor with ℓ = m + kf − nf − 2 log(1/ε) + 2Research Paper

Motivation

Cryptographic keys must be uniformly random and reproducible exactly. Many secrets people actually possess are neither: a biometric reading (an iris code, a fingerprint template), a long passphrase recalled with typos, or the correlated bits two parties obtain from a quantum channel are noisy, so two readings of the same secret differ in a few positions, and they are not uniform. Fuzzy extractors, introduced by Dodis, Ostrovsky, Reyzin and Smith (arXiv:cs/0602007; SIAM J. Comput. 38(1), 2008), turn such a secret into a nearly uniform key that can be regenerated from any sufficiently close reading, using public helper data that does not compromise the key.

The construction for the Hamming metric is the one most used in practice and in later work on biometric key derivation and physically unclonable functions. Its history is short. Juels and Wattenberg's fuzzy commitment (CCS 1999) shifted an error-correcting code onto the secret but was analysed only for uniform inputs. The syndrome of a linear code had been used for information reconciliation in quantum key agreement (Bennett, Bessette, Brassard, Salvail and Smolin, J. Cryptology 1992). Dodis et al. defined secure sketches and fuzzy extractors for arbitrary entropy distributions, introduced average min-entropy to handle side information, and proved the bound formalized here. This mission is the first of four drawn from that paper.

Setting

All logarithms are base 2. A random variable is identified with its law. For a random variable AAA, the min-entropy is H∞(A)=−log⁡max⁡aPr⁡[A=a]\mathbf H_\infty(A) = -\log \max_a \Pr[A=a]H∞​(A)=−logmaxa​Pr[A=a]. For a pair (A,B)(A,B)(A,B), the average min-entropy of AAA given BBB is

H~∞(A∣B)=−log⁡Eb←B[max⁡aPr⁡[A=a∣B=b]],\tilde{\mathbf H}_\infty(A\mid B) = -\log \mathbb E_{b\leftarrow B}\big[\max_a \Pr[A=a\mid B=b]\big],H~∞​(A∣B)=−logEb←B​[amax​Pr[A=a∣B=b]],

the adversary's chance of guessing AAA after seeing BBB, on a log scale. The statistical distance is SD(A,B)=12∑v∣Pr⁡(A=v)−Pr⁡(B=v)∣\mathbf{SD}(A,B)=\tfrac12\sum_v|\Pr(A=v)-\Pr(B=v)|SD(A,B)=21​∑v​∣Pr(A=v)−Pr(B=v)∣, and UℓU_\ellUℓ​ is uniform on {0,1}ℓ\{0,1\}^\ell{0,1}ℓ.

The space is M=Fn\mathcal M=\mathcal F^nM=Fn, where F\mathcal FF is a finite additive group with FFF elements, f=log⁡Ff=\log Ff=logF, and dis(w,w′)\mathrm{dis}(w,w')dis(w,w′) is the Hamming distance, the number of positions where www and w′w'w′ differ. A code C⊆FnC\subseteq\mathcal F^nC⊆Fn with KKK codewords is an [n,k,2t+1]F[n,k,2t+1]_{\mathcal F}[n,k,2t+1]F​ code if distinct codewords are at distance at least 2t+12t+12t+1; its dimension is k=log⁡FKk=\log_F Kk=logF​K, so kf=log⁡Kkf=\log Kkf=logK.

A secure sketch (SS,Rec)(\mathsf{SS},\mathsf{Rec})(SS,Rec) is a pair of randomized procedures with Rec(w′,SS(w))=w\mathsf{Rec}(w',\mathsf{SS}(w))=wRec(w′,SS(w))=w whenever dis(w,w′)≤t\mathrm{dis}(w,w')\le tdis(w,w′)≤t. It is an average-case (M,m,m~,t)(\mathcal M,m,\tilde m,t)(M,m,m~,t)-secure sketch if H~∞(W∣(SS(W),I))≥m~\tilde{\mathbf H}_\infty(W\mid(\mathsf{SS}(W),I))\ge\tilde mH~∞​(W∣(SS(W),I))≥m~ for every pair (W,I)(W,I)(W,I) with H~∞(W∣I)≥m\tilde{\mathbf H}_\infty(W\mid I)\ge mH~∞​(W∣I)≥m. A fuzzy extractor (Gen,Rep)(\mathsf{Gen},\mathsf{Rep})(Gen,Rep) has Gen(w)=(R,P)\mathsf{Gen}(w)=(R,P)Gen(w)=(R,P) with R∈{0,1}ℓR\in\{0,1\}^\ellR∈{0,1}ℓ, and Rep(w′,P)=R\mathsf{Rep}(w',P)=RRep(w′,P)=R whenever dis(w,w′)≤t\mathrm{dis}(w,w')\le tdis(w,w′)≤t. It is an average-case (M,m,ℓ,t,ε)(\mathcal M,m,\ell,t,\varepsilon)(M,m,ℓ,t,ε)-fuzzy extractor if

SD((R,P,I),(Uℓ,P,I))≤εwheneverH~∞(W∣I)≥m.\mathbf{SD}\big((R,P,I),(U_\ell,P,I)\big)\le\varepsilon \quad\text{whenever}\quad \tilde{\mathbf H}_\infty(W\mid I)\ge m .SD((R,P,I),(Uℓ​,P,I))≤εwheneverH~∞​(W∣I)≥m.

A family {Hx}x∈X\{H_x\}_{x\in X}{Hx​}x∈X​ of functions into {0,1}ℓ\{0,1\}^\ell{0,1}ℓ is universal if Pr⁡x[Hx(a)=Hx(b)]=2−ℓ\Pr_{x}[H_x(a)=H_x(b)]=2^{-\ell}Prx​[Hx​(a)=Hx​(b)]=2−ℓ for all a≠ba\ne ba=b.

Formalization targets

Goal: Theorem 5.2 (p. 17)

For every [n,k,2t+1]F[n,k,2t+1]_{\mathcal F}[n,k,2t+1]F​ code, every mmm, every ε>0\varepsilon>0ε>0 and every natural number

ℓ  ≤  m+kf−nf−2log⁡(1/ε)+2,\ell\;\le\;m+kf-nf-2\log(1/\varepsilon)+2,ℓ≤m+kf−nf−2log(1/ε)+2,

there is an average-case (Fn,m,ℓ,t,ε)(\mathcal F^n,m,\ell,t,\varepsilon)(Fn,m,ℓ,t,ε)-fuzzy extractor.

The sketch branch

  • Lemma 2.2(b): publishing a value with at most 2λ2^\lambda2λ possibilities lowers average min-entropy by at most λ\lambdaλ.
  • Lemma 3.1: a correct sketch with at most 2λ2^\lambda2λ outputs is an average-case secure sketch with entropy loss λ\lambdaλ.
  • Lemma 4.5: the sketch for transitive metric spaces (Construction 1) loses at most log⁡∣Π∣−log⁡Γ−log⁡K\log|\Pi|-\log\Gamma-\log Klog∣Π∣−logΓ−logK.
  • §5, p. 17: at most one word within distance ttt of w′w'w′ has a given syndrome.
  • Theorem 5.1: the code-offset sketch is an average-case (Fn,m,m−(n−k)f,t)(\mathcal F^n,m,m-(n-k)f,t)(Fn,m,m−(n−k)f,t)-secure sketch; for a linear code, the syndrome sketch is deterministic, n−kn-kn−k symbols long, with the same loss.

The extractor branch

  • Lemma 2.1 and Lemma 2.4: the leftover hash lemma and its average-case generalization, SD((HX(W),X,I),(Uℓ,X,I))≤122−H~∞(W∣I)2ℓ\mathbf{SD}\big((H_X(W),X,I),(U_\ell,X,I)\big)\le\frac12\sqrt{2^{-\tilde{\mathbf H}_\infty(W\mid I)}2^\ell}SD((HX​(W),X,I),(Uℓ​,X,I))≤21​2−H~∞​(W∣I)2ℓ​.
  • Lemma 4.1 (average-case form): an average-case sketch plus an average-case strong extractor gives an average-case fuzzy extractor.
  • Lemma 4.3 (average-case form): with universal hashing, any ℓ≤m~−2log⁡(1/ε)+2\ell\le\tilde m-2\log(1/\varepsilon)+2ℓ≤m~−2log(1/ε)+2 is achievable.

Significance

Theorem 5.2 says that the only costs of tolerating ttt Hamming errors are the redundancy of the code, (n−k)f(n-k)f(n−k)f bits, and the 2log⁡(1/ε)2\log(1/\varepsilon)2log(1/ε) bits that any extractor loses. Appendix C of the paper shows the redundancy term cannot be avoided for uniform inputs, so for optimal codes the construction is optimal there. The average-case form matters for composition: it remains valid when the adversary holds side information correlated with the secret, which is the situation of every protocol that uses the key afterwards or reuses the reading.

Formalizing it produces machine-checked versions of the leftover hash lemma in its average-case form, the basic calculus of average min-entropy, and the code-offset and syndrome sketches. These are the standard tools of information-theoretic cryptography, used well beyond fuzzy extraction (privacy amplification, randomness extraction, information reconciliation). All results are proved in the paper; as far as is known, none of them has a formal proof in Lean or on this platform.

Difficulty

The obvious route bounds the leakage of the sketch with min-entropy and then applies an extractor to WWW conditioned on each sketch value. That fails: conditioned on a particular sketch value, WWW may have far less min-entropy than average, so a worst-case extractor has nothing to work with on some values, and paying for those bad values costs an extra error term (Corollary 4.2). The average-case notions exist to avoid this loss, and the chain must be kept average-case at every step. In Lean the work is in the probability bookkeeping: computing laws of pairs and triples formed by independent coin flips, rearranging them, and bounding sums of maxima over possibly infinite auxiliary types, together with the leftover hash lemma itself, which Mathlib does not provide.

Formalization scope

Random variables are their laws, Mathlib PMFs; pairs are joint laws and randomized procedures are kernels whose coins are independent of everything else. Average min-entropy is written in the equivalent joint form −log⁡∑bmax⁡aPr⁡[A=a∧B=b]-\log\sum_b\max_a\Pr[A=a\wedge B=b]−log∑b​maxa​Pr[A=a∧B=b], which needs no conditioning on null events. The auxiliary variable III ranges over every type, not only finite ones. Logarithms are Real.logb 2; {0,1}ℓ\{0,1\}^\ell{0,1}ℓ is Fin ℓ → Bool; Fn\mathcal F^nFn is Fin n → F with Mathlib's hammingDist.

Explicit choices:

  • Efficiency is dropped. Every "efficient" and polynomial-time clause (Definitions 1–5, Lemma 4.5, Theorems 5.1 and 5.2) is omitted; there is no complexity substrate, and no vacuous predicate stands in for it.
  • ℓ\ellℓ is a natural number with ℓ≤m+kf−nf−2log⁡(1/ε)+2\ell\le m+kf-nf-2\log(1/\varepsilon)+2ℓ≤m+kf−nf−2log(1/ε)+2 as a real inequality; the printed ℓ\ellℓ is a real expression.
  • ε>0\varepsilon>0ε>0 is stated wherever log⁡(1/ε)\log(1/\varepsilon)log(1/ε) appears.
  • "Min-entropy mmm" means H∞(W)≥m\mathbf H_\infty(W)\ge mH∞​(W)≥m; minimum distance 2t+12t+12t+1 means at least 2t+12t+12t+1; kf=log⁡Kkf=\log Kkf=logK, so non-linear codes are covered.
  • F\mathcal FF is any finite additive commutative group (the paper's additive cyclic group is a special case); the syndrome is any linear map onto Fn−k\mathcal F^{n-k}Fn−k with kernel CCC.
  • Extractor domains are arbitrary finite sets with arbitrary finite nonempty seed sets, instead of {0,1}n\{0,1\}^n{0,1}n and {0,1}r\{0,1\}^r{0,1}r.
  • Γ\GammaΓ in Lemma 4.5 is read as "for each www and bbb there are at least Γ≥1\Gamma\ge1Γ≥1 permutations with π(w)=b\pi(w)=bπ(w)=b"; symmetry of the distance is an explicit hypothesis there.
  • Theorem 5.1 is stated for the code-offset and syndrome constructions themselves, not as a bare existence claim.

A trivializing formalization is ruled out: the security clause quantifies over every auxiliary type and every joint law meeting the entropy bound, ε\varepsilonε and ℓ\ellℓ are constrained exactly as in the paper, and the universal hash family is constructed inside the goal (a supporting item states that universal families exist), never assumed.

Contributions welcome: proofs of any milestone; general lemmas on PMF marginals, statistical distance and average min-entropy, which are reusable across all four missions of this paper and in other information-theoretic cryptography; and the leftover hash lemma as a standalone result.

Selected references

  • Y. Dodis, R. Ostrovsky, L. Reyzin, A. Smith, Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data, SIAM J. Comput. 38(1):97–139, 2008. arXiv:cs/0602007v4. https://arxiv.org/abs/cs/0602007 , https://doi.org/10.1137/060651380
  • A. Juels, M. Wattenberg, A Fuzzy Commitment Scheme, ACM CCS 1999. https://doi.org/10.1145/319709.319714
  • J. L. Carter, M. N. Wegman, Universal Classes of Hash Functions, J. Comput. System Sci. 18(2):143–154, 1979. https://doi.org/10.1016/0022-0000(79)90044-8
  • J. Håstad, R. Impagliazzo, L. Levin, M. Luby, A Pseudorandom Generator from any One-way Function, SIAM J. Comput. 28(4):1364–1396, 1999. https://doi.org/10.1137/S0097539793244708
  • C. H. Bennett, F. Bessette, G. Brassard, L. Salvail, J. Smolin, Experimental Quantum Cryptography, J. Cryptology 5(1):3–28, 1992. https://doi.org/10.1007/BF00191318
12 thms1 active userReviewed
Markov ChainStochastic Systems·Captain: mikedeng1

On the Generalized “Birth-and-Death” Process 3: Given the Mean Growth n̄_t, the Rates λ = (n̄′/n̄)⁺, μ = (n̄′/n̄)⁻ Uniquely Minimize Var(n_t) for All tResearch Paper

Motivation

In a birth-and-death population model, an expected population curve does not determine the amount of random variation. Births and deaths can occur frequently while nearly canceling in the mean, or one of the two rates can vanish while giving the same mean. This distinction matters when a prescribed growth curve is used to model a population: two processes can agree on their expected size at every time and differ substantially in their uncertainty. In §6 of Kendall's 1948 paper, the question is posed directly: among time-varying birth and death rates giving a fixed mean curve, which choice minimizes the variance of the population size?

Kendall cites Arley's observation for constant rates with the same positive net growth. His §6 moves from that special case to an arbitrary prescribed mean curve and identifies a unique minimum-fluctuation rate pair. The paper also gives a logistic-growth example, connecting the stochastic rate choice to a familiar deterministic population law. The historical result is proved in the paper; this mission concerns its Lean formalization, including the exact time-dependent variance comparison and uniqueness claim.

Setting

The process starts with one ancestor. At time ttt, each member gives birth at rate λ(t)\lambda(t)λ(t) and dies at rate μ(t)\mu(t)μ(t); the rates are nonnegative. Let ntn_tnt​ be the population size and nˉt\bar n_tnˉt​ its expectation. Kendall works with the population probabilities and their generating function rather than constructing sample paths. This mission likewise uses his explicit formulas for the mean and variance, so that the comparison has a precise real-valued expression.

Define the integrated net death rate and the fluctuation by

ρλ,μ(t)=∫0t(μ(τ)−λ(τ)) dτ,Vλ,μ(t)=e−2ρλ,μ(t)∫0teρλ,μ(τ)(λ(τ)+μ(τ)) dτ.\rho_{\lambda,\mu}(t)=\int_0^t\bigl(\mu(\tau)-\lambda(\tau)\bigr)\,d\tau, \qquad V_{\lambda,\mu}(t)=e^{-2\rho_{\lambda,\mu}(t)} \int_0^t e^{\rho_{\lambda,\mu}(\tau)} \bigl(\lambda(\tau)+\mu(\tau)\bigr)\,d\tau.ρλ,μ​(t)=∫0t​(μ(τ)−λ(τ))dτ,Vλ,μ​(t)=e−2ρλ,μ​(t)∫0t​eρλ,μ​(τ)(λ(τ)+μ(τ))dτ.

Kendall's equations (13) and (14c) identify nˉt=e−ρλ,μ(t)\bar n_t=e^{-\rho_{\lambda,\mu}(t)}nˉt​=e−ρλ,μ​(t) and Vλ,μ(t)=Var⁡(nt)V_{\lambda,\mu}(t)=\operatorname{Var}(n_t)Vλ,μ​(t)=Var(nt​) for the one-ancestor process. A pair (λ,μ)(\lambda,\mu)(λ,μ) is admissible here when both rates are continuous and nonnegative on [0,∞)[0,\infty)[0,∞). It has mean nˉ\bar nnˉ when e−ρλ,μ(t)=nˉte^{-\rho_{\lambda,\mu}(t)}=\bar n_te−ρλ,μ​(t)=nˉt​ for every t≥0t\ge0t≥0. In particular, the initial value is nˉ0=1\bar n_0=1nˉ0​=1. These definitions let the mission quantify over every admissible rate pair with the prescribed mean.

For a positive continuously differentiable mean curve, write g(t)=nˉt′/nˉtg(t)=\bar n_t'/\bar n_tg(t)=nˉt′​/nˉt​. The minimum-fluctuation rates are λ∗(t)=max⁡{g(t),0}\lambda_*(t)=\max\{g(t),0\}λ∗​(t)=max{g(t),0} and μ∗(t)=max⁡{−g(t),0}\mu_*(t)=\max\{-g(t),0\}μ∗​(t)=max{−g(t),0}. When the mean decreases, only deaths occur; when it increases, only births occur; when it is locally constant, both rates are zero. This is Kendall's equation (56), expressed without first naming intervals of monotonicity.

Formalization targets

The goal is the simultaneous variance bound

Vλ∗,μ∗(t)≤Vλ,μ(t)for every t≥0 and every admissible (λ,μ) with mean nˉ.V_{\lambda_*,\mu_*}(t)\le V_{\lambda,\mu}(t) \quad\text{for every }t\ge0 \text{ and every admissible }(\lambda,\mu)\text{ with mean }\bar n.Vλ∗​,μ∗​​(t)≤Vλ,μ​(t)for every t≥0 and every admissible (λ,μ) with mean nˉ.

The statement also establishes that (λ∗,μ∗)(\lambda_*,\mu_*)(λ∗​,μ∗​) is admissible and has the required mean. Its uniqueness clause says that if one admissible pair has the same variance as the candidate at every nonnegative time, then its two rates equal the candidate rates at every nonnegative time. Equality at only one selected time does not express Kendall's claim. The formal milestones record the fixed rate difference (55), the integral decomposition displayed in §6, and the nonnegative excess in variance that precedes (56). A companion statement covers the logistic example (58)–(60): for a>1a>1a>1 and b>0b>0b>0, nˉt=a/(1+(a−1)e−bt)\bar n_t=a/(1+(a-1)e^{-bt})nˉt​=a/(1+(a−1)e−bt) has minimum-fluctuation death rate zero and birth rate b(1−nˉt/a)b(1-\bar n_t/a)b(1−nˉt​/a).

Significance

The result distinguishes mean growth from population risk. Fixing λ−μ\lambda-\muλ−μ fixes the mean curve, but it leaves room for births and deaths that offset one another. Kendall's theorem determines the lowest variance compatible with the given curve and specifies the rate pair attaining it. The uniqueness statement identifies a model, rather than only a numerical lower bound. His logistic example shows the choice concretely: positive logistic growth is realized by a purely reproductive process in the minimum-fluctuation model.

The paper already derives these formulas. A complete formalization would connect the exact variance expression to a universal optimization claim over continuous nonnegative rate functions, and it would verify that equality throughout time identifies the rates. The definitions of the integrated rate, mean condition and variance functional can also support the other results in Kendall's paper. This proposal uses a local copy of ρ\rhoρ because the geometric-solution mission is being drafted in parallel and its definition has not been published for import.

Difficulty

The constraint imposed by a given mean fixes the difference λ−μ\lambda-\muλ−μ but not either rate separately. The variance is an integral over the full past, multiplied by a term involving that same integrated difference. Consequently, a pointwise observation about the current sum λ(t)+μ(t)\lambda(t)+\mu(t)λ(t)+μ(t) does not by itself state the required comparison of variances over every time horizon. The equality case is also global: a single time's variance cannot generally identify the rates at all earlier times. The formal result must keep the shared mean condition, the variance integral and the quantifiers over both rate pairs and all nonnegative times aligned.

Formalization scope

The Lean development represents rates and the prescribed mean as functions R→R\mathbb R\to\mathbb RR→R. Every stochastic claim is restricted to t≥0t\ge0t≥0; the integrals are oriented interval integrals from zero. Both rates are continuous on all of R\mathbb RR and nonnegative on nonnegative time. The mean is C1C^1C1, positive on all of R\mathbb RR, and equals one at zero. Extending the regularity and positivity assumptions to negative time makes the total functions defining ggg, λ∗\lambda_*λ∗​ and μ∗\mu_*μ∗​ continuous without changing any comparison on [0,∞)[0,\infty)[0,∞). These are explicit convenience assumptions beyond Kendall's wording. No denominator is used without the positivity assumption.

Kendall presents (56) after assuming that positive time splits into decreasing, increasing and constant intervals of nˉ\bar nnˉ. The goal uses positive and negative parts of ggg and therefore covers any positive C1C^1C1 curve, including one without such a partition. On each of Kendall's three types of interval the formula agrees with his stated rates. The variance functional is exactly the last expression in (14c); its identification with the variance of the geometric population law is treated in the companion geometric-solution mission. The local statements do not construct a Markov process. The minimum is taken over all admissible continuous nonnegative rate pairs with the prescribed mean, not merely over the two candidate functions or over pointwise values of λ+μ\lambda+\muλ+μ.

The development needs real differentiation, continuity, exponentials and interval integrals from Mathlib. Contributions that relate the explicit functional to the population law, prove the comparison and its equality case, or extend the regularity regime while preserving Kendall's claim are within scope. The logistic example provides a concrete instance of the general result.

Selected references

  • D. G. Kendall, On the generalized “birth-and-death” process, Annals of Mathematical Statistics 19(1), 1–15, 1948. DOI: 10.1214/aoms/1177730285.
6 thms1 active userReviewed
CombinatoricsComplexity TheoryTheoretical Computer Science·Captain: mikedeng1

Software Protection and Simulation on Oblivious RAMs: Every Oblivious Simulation of t Steps Makes max{|y|, Ω(t log t)} AccessesResearch Paper

Motivation

Programs often reveal information through the memory locations they touch, even when the contents of those locations are hidden. An oblivious RAM simulation aims to conceal this access pattern. Goldreich and Ostrovsky studied the cost of doing so for arbitrary RAM programs and showed that the access sequence itself imposes a lower bound on simulation overhead. Their 1996 paper gives an upper-bound construction as well as the lower-bound theorem targeted here. The issue matters when a storage observer can see which addresses are accessed but must learn nothing about the program's private requests.

Theorem 6.1 of the paper states that simulating ttt steps requires at least the initial memory size and, asymptotically, a multiple of tlog⁡tt\log ttlogt accesses. Its proof introduces a simpler ball-and-cell game that grants the player more information and freedom than the RAM simulation. The mission formalizes that game and its lower bound. This makes the combinatorial content of the published argument a precise theorem about randomized behavior and visible observations. The paper's earlier Theorem 1.2.2 on p. 437 is labeled informal and has a different explicit bound; the target here is Theorem 6.1 on pp. 469–470.

Setting

There are mmm numbered balls and mmm numbered cells. Cell iii initially contains ball iii, and a player's hand is empty. Each cell can hold at most one ball and the hand can hold at most bbb balls. In one access, the player names a cell and secretly takes its ball into a nonfull hand, places one held ball into an empty cell, or leaves the cell unchanged. Taking from an empty cell and placing into an occupied cell are illegal. The observer sees the named cell at each access but not the hidden operation. A run of qqq accesses is written a=((v1,h1),…,(vq,hq))a=((v_1,h_1),\ldots,(v_q,h_q))a=((v1​,h1​),…,(vq​,hq​)), and its visible sequence is V(a)=(v1,…,vq)V(a)=(v_1,\ldots,v_q)V(a)=(v1​,…,vq​).

A request sequence r=(r1,…,rt)r=(r_1,\ldots,r_t)r=(r1​,…,rt​) names a ball for each of ttt rounds. A run satisfies rrr if it is legal and there are indices 1≤j1≤⋯≤jt=q1\le j_1\le\cdots\le j_t=q1≤j1​≤⋯≤jt​=q such that ball rir_iri​ is in the player's hand after the first jij_iji​ accesses. Equal indices are permitted: several rounds may finish after the same access. The player may know the entire request sequence in advance. That assumption is part of the paper's game, and the paper notes that its lower bound does not require an online player.

A randomized player assigns each request sequence a probability distribution over finite runs. It is correct if every run with positive probability satisfies its requests. It is oblivious if the distribution of V(a)V(a)V(a) is identical for every pair of request sequences of length ttt. Thus the observer cannot infer the requested balls from the accessed cells, even statistically. These conditions quantify over all request sequences, not a selected input or a single deterministic access pattern.

Formalization targets

Theorem 6.1: access lower bound

For every correct oblivious player and every run in the support of its response, the mission targets

q≥m(t≥1),q≥cbtlog⁡t(m=t, t≥Tb),q\ge m\quad(t\ge1),\qquad q\ge c_b t\log t\quad(m=t,\ t\ge T_b),q≥m(t≥1),q≥cb​tlogt(m=t, t≥Tb​),

where cb>0c_b>0cb​>0 and TbT_bTb​ depend only on the fixed hand size bbb. This is the paper's max⁡{m,Ω(tlog⁡t)}\max\{m,\Omega(t\log t)\}max{m,Ω(tlogt)} form, with mmm representing the number ∣y∣|y|∣y∣ of initially occupied memory words. It asserts a bound on every possible run, rather than only on average access count. No numerical constant is prescribed by the paper.

Intermediate counting targets

The milestones record the first-round mmm bound, the at-most-(b+2)q(b+2)^q(b+2)q count of legal hidden action sequences compatible with a visible sequence, and the implication from obliviousness that one visible sequence can serve every request sequence. They then state the corrected finite counting bounds

∣{r:a⊨r}∣≤multichoose⁡(q,t)bt,mt≤(b+2)qmultichoose⁡(q,t)bt.|\{r:a\models r\}|\le\operatorname{multichoose}(q,t)b^t, \qquad m^t\le(b+2)^q\operatorname{multichoose}(q,t)b^t.∣{r:a⊨r}∣≤multichoose(q,t)bt,mt≤(b+2)qmultichoose(q,t)bt.

These preserve the paper's non-strict round ends. The milestone source text records the published formulas, while the formal statements and descriptions identify the corrections.

Significance

The result limits how cheaply a simulator can hide a program's memory access pattern when the observer sees addresses. In the game, a player is even allowed to remember the entire ball placement without cost, know the future requests, and randomize its actions. A lower bound under these permissive conditions applies to the more constrained access-pattern problem that motivated the game, subject to the paper's reduction from simulation to the game. The mmm term also accounts for the initially occupied memory, independently of the asymptotic term.

The theorem is a published mathematical result, but the mission's Lean declarations are statements with proof holes until solvers supply machine-checked proofs. Formalizing the game creates reusable definitions for legal hidden operations, request satisfaction, randomized players, and visible distributions. Formalizing the corrected counting targets also makes explicit a discrepancy in the printed proof rather than silently relying on an invalid intermediate inequality.

Difficulty

The main difficulty is accounting for requests when several rounds end at the same access. The paper's observation that a fixed qqq-access run serves at most bqb^qbq request sequences is false under its own non-strict indices. A run that fetches every ball it can hold may answer many later rounds without making another access. Likewise, the alternative binomial count in footnote 29 assumes distinct completion points and fails when t>qt>qt>q. The final asymptotic result still has a valid corrected counting target, but a proof cannot quote the published intermediate formulas literally. Randomized behavior adds another precise requirement: equality of visible distributions must support conclusions about runs with positive probability for each request sequence.

Formalization scope

The Lean carrier is the paper's ball-and-cell game from §6, rather than the interactive RAM machine model of §2. The game relaxes the simulation by giving the player free memory of ball locations and advance knowledge of requests. Balls, cells, and rounds use finite types Fin m and Fin t; these are zero-based encodings of the paper's [m][m][m] and round labels. Action steps are counted from one, with the initial state at step zero. PMF represents the player's discrete probability distributions, and equality of PMF.map visible represents observer independence. Every positive-probability run must be legal and satisfy its requests. The visible and hidden sequences have the same finite length qqq.

The two printed estimates bqb^qbq and bq(b+2)q>mtb^q(b+2)^q>m^tbq(b+2)q>mt are false: with m=b=q=2m=b=q=2m=b=q=2 and t=7t=7t=7, taking both balls in two accesses satisfies all 27=1282^7=12827=128 request sequences, while the printed product is 646464. Footnote 29's (qt)bt\binom qt b^t(tq​)bt also vanishes in this example. The formal milestones use Nat.multichoose q t to accommodate repeated round ends; at q=t=0q=t=0q=t=0 its value is defined directly, so no negative binomial upper index is used. The logarithm in the goal is the natural logarithm, and a threshold TbT_bTb​ handles small ttt.

Correctness and legality are part of the player type, so an unrestricted sequence of cell names cannot satisfy the mission by bypassing the hand and cell rules. Obliviousness uses equality of full distributions, and the goal quantifies over every supported run. The required development includes finite-state transition reasoning, finite combinatorial counts, PMF support and mapping, and real logarithm estimates. These components, especially the game interface and support lemmas, can be reused by later access-pattern formalizations.

Selected references

  • Oded Goldreich and Rafail Ostrovsky, Software protection and simulation on oblivious RAMs, Journal of the ACM 43(3):431–473, 1996. DOI: 10.1145/233551.233553. Theorem 6.1 and its proof are on pp. 469–470; the informal Theorem 1.2.2 is on p. 437.
7 thms1 active userReviewed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Inapproximability of Edge-Disjoint Paths and Low Congestion Routing on Undirected Graphs: A Random Hypergraph Instance Gives the Flow Relaxation an Integrality Gap of β₁/(4c) at Congestion c − 1Research Paper

Motivation

In the edge-disjoint paths problem (EDP) one is given an undirected graph and a list of source–sink pairs, and asks how many pairs can be connected simultaneously by paths that share no edge. Its relaxation EDP with congestion (EDPwC) allows every edge to carry up to a fixed number of paths. Both are central problems of network routing and of approximation algorithms, and the standard algorithmic tool for them is the multicommodity flow relaxation: a linear program that may split each pair's unit of demand fractionally over many paths. Rounding this LP is how most approximation algorithms for routing work, so the ratio between its optimum and the best integral routing, the integrality gap, bounds what any LP-based algorithm can achieve.

Without congestion the gap of this relaxation can be as large as Ω(V)\Omega(\sqrt V)Ω(V​) (Chekuri–Khanna–Shepherd 2006), and the question is how much a small congestion helps. Andrews, Chuzhoy, Guruswami, Khanna, Talwar and Zhang (Combinatorica 2010) proved hardness of approximation for EDPwC (their Theorems 1 and 2) and, independently and unconditionally, that the gap of the relaxation remains (log⁡V)Ω(1/c)(\log V)^{\Omega(1/c)}(logV)Ω(1/c) even when the integral solution may use congestion c−1c-1c−1 (their Theorem 5). In particular, for every fixed integer iii the gap between (1/i)(1/i)(1/i)-integral and fractional multicommodity flow in undirected graphs is superconstant. This mission formalizes Theorem 5 for EDPwC.

Setting

Fix integers n≥1n\ge1n≥1 and c≥2c\ge2c≥2. Write log⁡\loglog for log⁡2\log_2log2​ and ln⁡\lnln for the natural logarithm, and set

β1=14(log⁡n150(log⁡log⁡n)2)1/c,β2=6(2β1)c−1ln⁡β1.\beta_1=\frac14\Big(\frac{\log n}{150(\log\log n)^2}\Big)^{1/c},\qquad \beta_2=6(2\beta_1)^{c-1}\ln\beta_1 .β1​=41​(150(loglogn)2logn​)1/c,β2​=6(2β1​)c−1lnβ1​.

A random ccc-uniform hypergraph HHH on the vertex set {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} has m=⌊β2n⌋m=\lfloor\beta_2 n\rfloorm=⌊β2​n⌋ hyperedges h0,…,hm−1h_0,\dots,h_{m-1}h0​,…,hm−1​, chosen independently, each uniformly among the ccc-element subsets of the vertices.

From HHH one builds a graph G=G(H)G=G(H)G=G(H). For every hyperedge hih_ihi​ it has two vertices ℓi,ri\ell_i,r_iℓi​,ri​ joined by a special edge; for every vertex vvv of HHH it has a source s(v)s(v)s(v) and a sink t(v)t(v)t(v). If vvv lies in the hyperedges hi1,…,hikh_{i_1},\dots,h_{i_k}hi1​​,…,hik​​ with i1<⋯<iki_1<\dots<i_ki1​<⋯<ik​, the regular edges (s(v),ℓi1)(s(v),\ell_{i_1})(s(v),ℓi1​​), (rij,ℓij+1)(r_{i_j},\ell_{i_{j+1}})(rij​​,ℓij+1​​) for 1≤j<k1\le j<k1≤j<k, and (rik,t(v))(r_{i_k},t(v))(rik​​,t(v)) are added. The canonical path of vvv is P(v)=(s(v),ℓi1,ri1,…,ℓik,rik,t(v))P(v)=(s(v),\ell_{i_1},r_{i_1},\dots,\ell_{i_k},r_{i_k},t(v))P(v)=(s(v),ℓi1​​,ri1​​,…,ℓik​​,rik​​,t(v)); it crosses the special edge of every hyperedge containing vvv. The EDP instance has one pair (s(v),t(v))(s(v),t(v))(s(v),t(v)) for each vvv.

A feasible fractional solution puts flow f(P)∈[0,1]f(P)\in[0,1]f(P)∈[0,1] on s(v)s(v)s(v)–t(v)t(v)t(v) paths PPP, with routed amount xv=∑Pf(P)≤1x_v=\sum_P f(P)\le1xv​=∑P​f(P)≤1 for each pair and at most one unit of flow through each edge; its value is ∑vxv\sum_v x_v∑v​xv​. An integral routing with congestion at most c−1c-1c−1 connects a set of pairs, each by one path, so that every edge lies on at most c−1c-1c−1 of these paths; its value is the number of connected pairs.

The analysis uses three events of HHH: E1\mathcal E_1E1​, that some set of n/β1n/\beta_1n/β1​ vertices contains no hyperedge; E2\mathcal E_2E2​, that more than n/β1n/\beta_1n/β1​ vertices lie in more than 10β2c10\beta_2c10β2​c hyperedges; and E3(g)\mathcal E_3(g)E3​(g), that the graph G′G'G′ obtained from GGG by contracting every special edge has more than (6β2c2)g+1(6\beta_2c^2)^{g+1}(6β2​c2)g+1 cycles of length at most ggg.

Formalization targets

Goal: Theorem 5 for EDPwC, in the explicit form of Section 2

There are absolute constants α>0\alpha>0α>0 and N0N_0N0​ such that for all n≥N0n\ge N_0n≥N0​ and all integers ccc with 2≤c≤αlog⁡log⁡n/log⁡log⁡log⁡n2\le c\le\alpha\log\log n/\log\log\log n2≤c≤αloglogn/logloglogn some hypergraph HHH as above satisfies

∃ fractional solution of G(H) of value ncandevery congestion-(c−1) routing of G(H) routes ≤4nβ1 pairs,\exists\ \text{fractional solution of } G(H)\ \text{of value } \frac nc\qquad\text{and}\qquad \text{every congestion-}(c-1)\text{ routing of } G(H)\ \text{routes}\ \le\frac{4n}{\beta_1}\ \text{pairs},∃ fractional solution of G(H) of value cn​andevery congestion-(c−1) routing of G(H) routes ≤β1​4n​ pairs,

so the integrality gap is at least β1/(4c)\beta_1/(4c)β1​/(4c). The paper's Theorem 5 states this as Ω(1c(log⁡V/(log⁡log⁡V)2)1/(c+1))\Omega\big(\frac1{c}(\log V/(\log\log V)^2)^{1/(c+1)}\big)Ω(c1​(logV/(loglogV)2)1/(c+1)) for congestion ccc and VVV vertices; the goal keeps the paper's own Section 2 parameters, which fix the instance and leave the constants α,N0\alpha,N_0α,N0​ open.

Milestones

Lemma 6, Lemma 7 and Lemma 8 (Pr⁡[E1],Pr⁡[E2],Pr⁡[E3(g)]≤14\Pr[\mathcal E_1],\Pr[\mathcal E_2],\Pr[\mathcal E_3(g)]\le\frac14Pr[E1​],Pr[E2​],Pr[E3​(g)]≤41​); the joint good event of Section 2.4; the fractional solution of value n/cn/cn/c; and the three bounds of the gap analysis, ∣P1∣≤n/β1|\mathcal P_1|\le n/\beta_1∣P1​∣≤n/β1​ (canonical paths), ∣P2∣≤n/β1|\mathcal P_2|\le n/\beta_1∣P2​∣≤n/β1​ (long non-canonical paths), ∣P3∣≤n/β1+2gc(6β2c2)2g+2|\mathcal P_3|\le n/\beta_1+2gc(6\beta_2c^2)^{2g+2}∣P3​∣≤n/β1​+2gc(6β2​c2)2g+2 (short non-canonical paths), combined into ∣P′∣≤4n/β1|\mathcal P'|\le4n/\beta_1∣P′∣≤4n/β1​.

Significance

The result shows that the multicommodity flow relaxation cannot certify a constant-factor approximation for undirected EDPwC with any constant congestion: against integral solutions of congestion c−1c-1c−1 its gap is at least (log⁡V)Ω(1/c)(\log V)^{\Omega(1/c)}(logV)Ω(1/c). Any algorithm that compares its output with this LP inherits the bound. It complements the paper's hardness results, which hold only under a complexity assumption. The instance is a short explicit construction from a random hypergraph, so the theorem is also a statement in probabilistic combinatorics: random sparse uniform hypergraphs are, with constant probability, simultaneously "covering" (no large hyperedge-free set), of bounded degree, and nearly free of short cycles.

The result is proved in the paper; to our knowledge it has no machine-checked proof. The mission produces one: a formal model of the path LP and of congestion-bounded integral routings on simple graphs, reusable for other routing gaps; a formal random-hypergraph model with first-moment and Chernoff-type estimates; and the deterministic gap analysis. Variants with better constants, or the stronger statement that at least a quarter of all hypergraphs work, are welcome as additional results.

Difficulty

The fractional side and the bound on canonical routings are short. The difficulty lies in two places. First, Lemma 8 bounds the expected number of short cycles of G′G'G′; the adjacency of G′G'G′ depends on all hyperedges at once (consecutiveness along each vertex's sequence), and the obvious estimate through the intersection graph of HHH fails, because many hyperedges through a common vertex form a clique there. What keeps the count small is the order structure of each vertex's hyperedge sequence, which the intersection graph forgets. Second, the bound on short non-canonical paths requires turning two distinct routing paths of a pair into a short cycle of the contracted graph and charging it with the congestion constraint. Finally, the closing estimate 2gc(6β2c2)2g+2≤n/β12gc(6\beta_2c^2)^{2g+2}\le n/\beta_12gc(6β2​c2)2g+2≤n/β1​ holds only for large nnn in the stated range of ccc, and the printed chain for it is not literally correct, so the asymptotics have to be done afresh.

Formalization scope

Vertices of HHH are Fin n, hyperedges are indexed by Fin m with m=⌊β2n⌋m=\lfloor\beta_2n\rfloorm=⌊β2​n⌋, and HHH is an element of Fin m → {s : Finset (Fin n) // s.card = c}; probabilities are normalized counts over this finite set (uniform measure, which is independence of the hyperedges). The conventions are:

  • log⁡=log⁡2\log=\log_2log=log2​ and ln⁡\lnln is natural; β1\beta_1β1​ uses a real 1/c1/c1/c-th power.
  • The paper's integers β2n\beta_2nβ2​n, n/β1n/\beta_1n/β1​ (bad-set size) and g=3β1β2c2g=3\beta_1\beta_2c^2g=3β1​β2​c2 are ⌊β2n⌋\lfloor\beta_2n\rfloor⌊β2​n⌋, ⌈n/β1⌉\lceil n/\beta_1\rceil⌈n/β1​⌉ and ⌈3β1β2c2⌉\lceil3\beta_1\beta_2c^2\rceil⌈3β1​β2​c2⌉; the thresholds n/β1n/\beta_1n/β1​, 4n/β14n/\beta_14n/β1​, 10β2c10\beta_2c10β2​c, (6β2c2)g+1(6\beta_2c^2)^{g+1}(6β2​c2)g+1 stay real.
  • "For sufficiently large nnn" and c≤O(log⁡log⁡n/log⁡log⁡log⁡n)c\le O(\log\log n/\log\log\log n)c≤O(loglogn/logloglogn) become absolute constants N0N_0N0​ and α\alphaα, quantified before nnn and ccc. Lemma 8 and the deterministic bounds carry instead the explicit inequalities on β1,β2\beta_1,\beta_2β1​,β2​ their arguments use.
  • G(H)G(H)G(H) is a simple graph (coinciding regular edges are one edge). A vertex in no hyperedge gets the edge (s(v),t(v))(s(v),t(v))(s(v),t(v)), the k=0k=0k=0 case of its canonical path; the page leaves this case out.
  • KgK_gKg​ counts cycles of G′G'G′, each once as an edge set; the paper's definition says "in GGG", its proof and use say G′G'G′.
  • Routing paths are paths (no repeated vertex); lengths count edges of G(H)G(H)G(H); canonicity is equality of vertex sequences.

The goal cannot be met by an unrelated graph: the instance must be G(H)G(H)G(H) for a hypergraph with exactly ⌊β2n⌋\lfloor\beta_2n\rfloor⌊β2​n⌋ hyperedges of size ccc on nnn vertices, the fractional solution must respect xv≤1x_v\le1xv​≤1 and capacity 111, and the integral bound is over all routings of congestion c−1c-1c−1.

Not in scope: the ANFwC half of Theorem 5, the remark on a superconstant gap at c=Θ(log⁡log⁡V/(log⁡log⁡log⁡V)2)c=\Theta(\log\log V/(\log\log\log V)^2)c=Θ(loglogV/(logloglogV)2), and the hardness results of Sections 3–5 (Theorems 1 and 2, Corollaries 3 and 4).

A complete development needs Chernoff and Markov bounds for counting measures, binomial-coefficient estimates, cycle extraction from two distinct paths in a simple graph, and the asymptotic estimates for β1,β2\beta_1,\beta_2β1​,β2​. The routing and LP definitions and the cycle-extraction lemma are reusable beyond this mission.

Selected references

  • M. Andrews, J. Chuzhoy, V. Guruswami, S. Khanna, K. Talwar, L. Zhang, Inapproximability of Edge-Disjoint Paths and Low Congestion Routing on Undirected Graphs, Combinatorica 30(5), 485–520, 2010. https://doi.org/10.1007/s00493-010-2455-9
  • C. Chekuri, S. Khanna, F. B. Shepherd, An O(n)O(\sqrt n)O(n​) approximation and integrality gap for disjoint paths and unsplittable flow, Theory of Computing 2, 137–146, 2006. https://doi.org/10.4086/toc.2006.v002a007
12 thms1 active userReviewed
Operations ResearchStatistics·Captain: mikedeng1

Simulation Output Analysis Using Standardized Time Series 2: Every STS Interval Has liminf n^{1/2} E Lₙ ≥ 2σΦ⁻¹(1 − δ/2)Research Paper

Why expected interval length matters

A simulation run often estimates a steady-state mean without producing independent observations. A confidence interval must account for dependence in the output, and the relevant variance constant may be unknown. Standardized time series (STS) methods use the shape of an integrated output path to cancel that constant rather than estimating it separately. The resulting interval can be computed from one run, but its length can vary substantially with the chosen standardizing functional. Glynn and Iglehart introduced a common functional framework for these methods and asked how short their expected intervals can be as the run grows. Their 1990 paper identifies a universal lower bound.

The comparison is operational. A shorter confidence interval conveys a more precise estimate at the same nominal coverage. The authors also compare STS with procedures that consistently estimate the variance constant. They state that the lower bound is attained by the latter procedures and approached, but not attained, by STS intervals. The present mission isolates the bound for STS itself, Corollary 4.16. It does not make the claim that a particular STS rule attains it. This distinction follows the paper's introduction and §4.

The stochastic setting

Let Y(t)Y(t)Y(t) be a real simulation output process for t≥0t\ge0t≥0. Its integrated average path at run length nnn is Y‾n(t)=n−1∫0ntY(s) ds\overline Y_n(t)=n^{-1}\int_0^{nt}Y(s)\,dsYn​(t)=n−1∫0nt​Y(s)ds for 0≤t≤10\le t\le10≤t≤1. The unknown steady-state mean is μ\muμ. The paper assumes a functional central limit theorem in the space C[0,1]C[0,1]C[0,1] of continuous real paths:

Xn(t):=n(Y‾n(t)−μt) ⇒ σB(t),σ>0,X_n(t):=\sqrt n\bigl(\overline Y_n(t)-\mu t\bigr) \ \Rightarrow\ \sigma B(t),\qquad \sigma>0,Xn​(t):=n​(Yn​(t)−μt) ⇒ σB(t),σ>0,

where BBB is standard Brownian motion. Convergence is weak convergence of random continuous paths in the uniform topology. This is Assumption (2.1), rather than a claim that every output process satisfies it. The paper lists several classes of processes for which such a theorem is available under further conditions (§2, pp. 2–3).

An STS scale functional g:C[0,1]→Rg:C[0,1]\to\mathbb Rg:C[0,1]→R belongs to M\mathcal MM when it is measurable, positively homogeneous, unchanged by subtracting any multiple of the identity path k(t)=tk(t)=tk(t)=t, positive at BBB almost surely, and continuous at BBB almost surely. The last two conditions ensure that the Brownian ratio is a meaningful distributional limit. The paper also describes these functionals through the bridge map (Γx)(t)=x(t)−tx(1)(\Gamma x)(t)=x(t)-t x(1)(Γx)(t)=x(t)−tx(1): a member of M\mathcal MM can be written as b∘Γb\circ\Gammab∘Γ for a suitable bbb. Thus the scale is determined by a Brownian bridge while the endpoint B(1)B(1)B(1) is independent of it (Propositions 2.7–2.8).

Define H(x)=P{B(1)/g(B)≤x}H(x)=P\{B(1)/g(B)\le x\}H(x)=P{B(1)/g(B)≤x}. For a confidence level 1−δ1-\delta1−δ, choose endpoints α,β\alpha,\betaα,β with H(β)−H(α)=1−δH(\beta)-H(\alpha)=1-\deltaH(β)−H(α)=1−δ. The STS confidence interval from equation (2.10) has endpoints Y‾n(1)−g(Y‾n)β\overline Y_n(1)-g(\overline Y_n)\betaYn​(1)−g(Yn​)β and Y‾n(1)−g(Y‾n)α\overline Y_n(1)-g(\overline Y_n)\alphaYn​(1)−g(Yn​)α. Its length is Ln=g(Y‾n)(β−α)L_n=g(\overline Y_n)(\beta-\alpha)Ln​=g(Yn​)(β−α). Here δ\deltaδ lies strictly between zero and one; the endpoint equation is part of the construction, not an arbitrary choice.

Formalization target

The goal is Corollary 4.16 for every nonnegative g∈Mg\in\mathcal Mg∈M under Assumption (2.1). Write Φ\PhiΦ for the standard normal distribution function and p=Φ−1(1−δ/2)p=\Phi^{-1}(1-\delta/2)p=Φ−1(1−δ/2). Then

lim inf⁡n→∞n E[Ln] ≥ 2σp=2σΦ−1(1−δ/2).\liminf_{n\to\infty}\sqrt n\,E[L_n] \ \ge\ 2\sigma p =2\sigma\Phi^{-1}(1-\delta/2).n→∞liminf​n​E[Ln​] ≥ 2σp=2σΦ−1(1−δ/2).

The expectation and liminf admit +∞+\infty+∞. The statement does not impose an integrability assumption that would remove that case. It quantifies over every admissible STS functional and every interval whose endpoints have the specified Brownian confidence mass (Corollary 4.16, p. 12).

Three substantial targets precede the corollary. Proposition 4.1(a) relates scaled expected length to σE[g(B)](β−α)\sigma E[g(B)](\beta-\alpha)σE[g(B)](β−α). Proposition 4.3 says a symmetric choice of α,β\alpha,\betaα,β minimizes β−α\beta-\alphaβ−α. Theorem 4.8 gives E[g(B)]Φg−1(1−δ/2)≥Φ−1(1−δ/2)E[g(B)]\Phi^{-1}_g(1-\delta/2)\ge\Phi^{-1}(1-\delta/2)E[g(B)]Φg−1​(1−δ/2)≥Φ−1(1−δ/2), where Φg−1\Phi^{-1}_gΦg−1​ denotes the quantile of HHH. The milestone list also includes the cited Brownian independence, mixture distribution, scale invariance, and continuous mapping statements that put these targets in context.

What the bound establishes

The corollary supplies a benchmark for the asymptotic expected length of any interval in this STS class. A proposed standardizing functional cannot beat the normal-quantile constant while retaining the stated functional limit and confidence construction. It also identifies the quantity against which the paper's other interval procedures can be compared. The bound applies uniformly to the class M\mathcal MM, not to a chosen batch size or a particular form of ggg (Glynn–Iglehart 1990, §4).

The mathematical result has been proved in the source paper. This mission supplies formal statements and their shared definitions as proof targets; it does not claim that their Lean proofs already exist. A complete development would formalize the known arguments for the milestones and corollary, including the Brownian path representation, weak convergence, quantile properties, and expectation inequalities. Those components could be reused in other work on simulation output analysis and ratios of weakly convergent processes.

Where the formal proof is demanding

Weak convergence alone does not imply convergence of expectations. In particular, a continuous mapping limit for g(Xn)g(X_n)g(Xn​) cannot simply be integrated as an ordinary finite real expectation when the family is not uniformly integrable. Proposition 4.1(a) asks only for a lower bound, and its statement must still account for E[g(B)]=+∞E[g(B)]=+\inftyE[g(B)]=+∞. This is why the goal is expressed with a liminf and extended nonnegative expectations rather than a real-valued limit. A separate difficulty is that the interval width depends jointly on a distributional scale and a choice of two quantiles. Bounding either one in isolation does not state the corollary.

Formalization scope and conventions

Paths are Mathlib's C([0,1],R)C([0,1],\mathbb R)C([0,1],R) with its uniform metric and Borel sigma algebra. A standard Brownian motion is a measurable random continuous path agreeing with an R≥0\mathbb R_{\ge0}R≥0​-indexed real Brownian motion on [0,1][0,1][0,1]. The paper's discontinuity set D(g)D(g)D(g) is the set where ggg is not continuous. Assumption (2.1) includes joint measurability of YYY and finite-interval pathwise integrability so that each integrated average is defined. The path Y‾n\overline Y_nYn​ is supplied together with its defining integral equation, which determines it pointwise. Its values are not free parameters.

Indices nnn are natural numbers. At n=0n=0n=0, the average uses Lean's total division and is zero; this initial value does not affect an asymptotic statement. The positive Brownian scale σ\sigmaσ is finite. The parameters satisfy 0<δ<10<\delta<10<δ<1, and H(β)−H(α)=1−δH(\beta)-H(\alpha)=1-\deltaH(β)−H(α)=1−δ. The normal and STS quantiles appear as real parameters pinned by their distribution-function equations, avoiding an unbounded or empty real infimum. Expected nonnegative lengths and scales are integrals valued in R≥0∪{+∞}\mathbb R_{\ge0}\cup\{+\infty\}R≥0​∪{+∞}. The class N\mathcal NN explicitly requires measurability of bbb, the standing convention needed for its equality with M\mathcal MM.

The corollary retains the entire class M\mathcal MM and Assumption (2.1), with g≥0g\ge0g≥0 on all continuous paths. It cannot be replaced by a statement about a single easy functional or by assuming the bound on an auxiliary criterion. Useful contributions include the Brownian bridge independence theorem, the normal scale-mixture identity, distribution-function regularity, and the asymptotic expectation result.

Selected references

  • P. W. Glynn and D. L. Iglehart, Simulation output analysis using standardized time series, Mathematics of Operations Research 15(1):1–16, 1990. DOI: 10.1287/moor.15.1.1.
11 thms1 active userReviewed
Machine LearningOptimizationStatistics·Captain: mikedeng1

Learning Models with Uniform Performance via Distributionally Robust Optimization 1: The Plug-In Cressie–Read Robust Risk Concentrates at Rate n^(−1/(k*∨2))·√(t + log n) (Theorem 2)Research Paper

Motivation

A model trained to minimize its average loss EP0[ℓ(θ;X)]\mathbb E_{P_0}[\ell(\theta;X)]EP0​​[ℓ(θ;X)] can perform poorly on subpopulations that are rare under the training distribution P0P_0P0​. Distributionally robust optimization replaces the average loss by its worst case over all distributions QQQ close to P0P_0P0​ in an fff-divergence, which upweights the tail of the loss and controls performance on every subpopulation of sufficient size. Duchi and Namkoong (arXiv:1810.08750, Ann. Statist. 49 (2021), DOI 10.1214/20-AOS2004) study this objective for the Cressie–Read family of divergences, which interpolates between the χ2\chi^2χ2-divergence and the KL-divergence and links the robust risk to Lk∗L^{k_*}Lk∗​-norms of the loss.

In practice P0P_0P0​ is unknown and the robust risk is computed on the empirical distribution P^n\widehat P_nPn​ of a sample. Whether this plug-in estimate is close to the population robust risk, and at what rate, is the question this mission formalizes. Earlier work on the same estimator (Namkoong and Duchi 2017; Duchi, Glynn and Namkoong 2021) let the radius shrink as ρ/n\rho/nρ/n; here the radius ρ>0\rho>0ρ>0 is fixed, so the robust risk is a genuinely different functional of P0P_0P0​ from the mean.

Setting

Let (X,A)(\mathcal X,\mathcal A)(X,A) be a measurable space, P0P_0P0​ a probability measure on it, Θ\ThetaΘ a parameter set and ℓ:Θ×X→R\ell:\Theta\times\mathcal X\to\mathbb Rℓ:Θ×X→R a loss. Fix k∈(1,∞)k\in(1,\infty)k∈(1,∞), write k∗=k/(k−1)k_*=k/(k-1)k∗​=k/(k−1), and fix a radius ρ>0\rho>0ρ>0.

The Cressie–Read function is fk(t)=tk−kt+k−1k(k−1)f_k(t)=\frac{t^k-kt+k-1}{k(k-1)}fk​(t)=k(k−1)tk−kt+k−1​ for t≥0t\ge0t≥0 and fk(t)=+∞f_k(t)=+\inftyfk​(t)=+∞ for t<0t<0t<0. It is convex, nonnegative and vanishes at t=1t=1t=1. The Cressie–Read divergence of Q≪PQ\ll PQ≪P from PPP is Dfk(Q∥P)=EP[fk(dQ/dP)]D_{f_k}(Q\|P)=\mathbb E_P[f_k(dQ/dP)]Dfk​​(Q∥P)=EP​[fk​(dQ/dP)].

The robust risk at θ\thetaθ under PPP is

Rk(θ;P)=sup⁡Q≪P{EQ[ℓ(θ;X)]:Dfk(Q∥P)≤ρ}=sup⁡{EP[L ℓ(θ;X)]:L≥0, EP[L]=1, EP[fk(L)]≤ρ},\mathcal R_k(\theta;P)=\sup_{Q\ll P}\big\{\mathbb E_Q[\ell(\theta;X)]:D_{f_k}(Q\|P)\le\rho\big\} =\sup\big\{\mathbb E_P[L\,\ell(\theta;X)] : L\ge0,\ \mathbb E_P[L]=1,\ \mathbb E_P[f_k(L)]\le\rho\big\},Rk​(θ;P)=Q≪Psup​{EQ​[ℓ(θ;X)]:Dfk​​(Q∥P)≤ρ}=sup{EP​[Lℓ(θ;X)]:L≥0, EP​[L]=1, EP​[fk​(L)]≤ρ},

the second form writing L=dQ/dPL=dQ/dPL=dQ/dP for the likelihood ratio. Let X1,…,XnX_1,\dots,X_nX1​,…,Xn​ be i.i.d. with law P0P_0P0​ and P^n=1n∑i=1nδXi\widehat P_n=\frac1n\sum_{i=1}^n\delta_{X_i}Pn​=n1​∑i=1n​δXi​​ their empirical measure. With ck(ρ)=(1+k(k−1)ρ)1/kc_k(\rho)=(1+k(k-1)\rho)^{1/k}ck​(ρ)=(1+k(k−1)ρ)1/k and Z=ℓ(θ;⋅)Z=\ell(\theta;\cdot)Z=ℓ(θ;⋅), the dual objective is

gk(η;P)=ck(ρ) EP[(Z−η)+k∗]1/k∗+η,η∈R.g_k(\eta;P)=c_k(\rho)\,\mathbb E_P\big[(Z-\eta)_+^{k_*}\big]^{1/k_*}+\eta ,\qquad\eta\in\mathbb R .gk​(η;P)=ck​(ρ)EP​[(Z−η)+k∗​​]1/k∗​+η,η∈R.

The Lean development uses the same names: cressieRead, robustRisk, empiricalMeasure, dualObjective, kstar, ck, in the namespace UniformDRO.Concentration.

Formalization targets

Goal: Theorem 2 (p. 20)

Assume ℓ(θ;x)∈[0,M]\ell(\theta;x)\in[0,M]ℓ(θ;x)∈[0,M] for all θ,x\theta,xθ,x, with M≥1M\ge1M≥1. For a fixed θ∈Θ\theta\in\Thetaθ∈Θ and t>0t>0t>0, whenever n≥k∨3n\ge k\vee3n≥k∨3, with probability at least 1−2e−t1-2e^{-t}1−2e−t,

∣Rk(θ;P^n)−Rk(θ;P0)∣≤10 n−1k∗∨2 ck(ρ)2M(ck(ρ)ck(ρ)−1∨2)(1k+t+2log⁡n).\big|\mathcal R_k(\theta;\widehat P_n)-\mathcal R_k(\theta;P_0)\big|\le10\,n^{-\frac1{k_*\vee2}}\,c_k(\rho)^2M\Big(\frac{c_k(\rho)}{c_k(\rho)-1}\vee2\Big)\Big(\frac1k+\sqrt{t+2\log n}\Big).​Rk​(θ;Pn​)−Rk​(θ;P0​)​≤10n−k∗​∨21​ck​(ρ)2M(ck​(ρ)−1ck​(ρ)​∨2)(k1​+t+2logn​).

The goal is stated exactly as printed, constants included.

Milestones (Appendices A.1 and C.1)

  1. Lemma 3 (p. 33): the conjugate fk∗(s)=1k((k−1)s+1)+k∗−1kf_k^*(s)=\frac1k((k-1)s+1)_+^{k_*}-\frac1kfk∗​(s)=k1​((k−1)s+1)+k∗​​−k1​.
  2. Lemma 1 (p. 6): the duality Rk(Z;P)=inf⁡ηgk(η;P)\mathcal R_k(Z;P)=\inf_{\eta}g_k(\eta;P)Rk​(Z;P)=infη​gk​(η;P).
  3. Lemma 6 (p. 38): two-sided concentration of convex Lipschitz functions of bounded independent variables, referenced from an existing platform statement.
  4. Lemma 7 (p. 38): y↦(1n∑i∣yi∣k∗)1/k∗y\mapsto(\frac1n\sum_i|y_i|^{k_*})^{1/k_*}y↦(n1​∑i​∣yi​∣k∗​)1/k∗​ is n−1/(2∨k∗)n^{-1/(2\vee k_*)}n−1/(2∨k∗​)-Lipschitz in ∥⋅∥2\|\cdot\|_2∥⋅∥2​.
  5. (28) (p. 39): for fixed η\etaη, gk(η;P^n)g_k(\eta;\widehat P_n)gk​(η;Pn​) is within 2t ck(ckck−1∨2)Mn−1/(k∗∨2)\sqrt{2t}\,c_k(\frac{c_k}{c_k-1}\vee2)Mn^{-1/(k_*\vee2)}2t​ck​(ck​−1ck​​∨2)Mn−1/(k∗​∨2) of its mean with probability 1−2e−t1-2e^{-t}1−2e−t.
  6. Lemma 8 (p. 39): the bias bound E[(1n∑i∣Yi∣k∗)1/k∗]≥E[∣Y∣k∗]1/k∗−2k C n−1/(k∗∨2)\mathbb E[(\frac1n\sum_i|Y_i|^{k_*})^{1/k_*}]\ge\mathbb E[|Y|^{k_*}]^{1/k_*}-\frac2k\,C\,n^{-1/(k_*\vee2)}E[(n1​∑i​∣Yi​∣k∗​)1/k∗​]≥E[∣Y∣k∗​]1/k∗​−k2​Cn−1/(k∗​∨2) (corrected, see below).
  7. (30) (p. 39): for fixed η\etaη, ∣gk(η;P^n)−gk(η;P0)∣≤ϵt|g_k(\eta;\widehat P_n)-g_k(\eta;P_0)|\le\epsilon_t∣gk​(η;Pn​)−gk​(η;P0​)∣≤ϵt​ with probability 1−2e−t1-2e^{-t}1−2e−t (corrected).
  8. Lemma 9 (p. 39): for Z∈[0,M]Z\in[0,M]Z∈[0,M] the infimum over η\etaη may be restricted to [−Mck−1,M][-\frac{M}{c_k-1},M][−ck​−1M​,M].
  9. Union bound (p. 40): ∣Rk(Z;P^n)−Rk(Z;P0)∣≤(2ck+3)ϵt,n|\mathcal R_k(Z;\widehat P_n)-\mathcal R_k(Z;P_0)|\le(2c_k+3)\epsilon_{t,n}∣Rk​(Z;Pn​)−Rk​(Z;P0​)∣≤(2ck​+3)ϵt,n​ with probability 1−2exp⁡(−t+log⁡(ckck−1Mϵt,n))1-2\exp(-t+\log(\frac{c_k}{c_k-1}\frac{M}{\epsilon_{t,n}}))1−2exp(−t+log(ck​−1ck​​ϵt,n​M​)).

Significance

The result. Theorem 2 shows that the plug-in robust risk is a consistent estimator of the population robust risk for a fixed divergence radius, at rate n−1/(k∗∨2)n^{-1/(k_*\vee2)}n−1/(k∗​∨2) up to a log⁡n\sqrt{\log n}logn​ factor; Theorem 3 of the same paper shows this rate cannot be improved in general. Through a covering argument it yields uniform bounds over a model class (Corollaries 1–2, p. 20) and hence guarantees for the plug-in minimizer θ^n\widehat\theta_nθn​: the robust risk of the learned model is close to the best achievable robust risk. The rate degrades as k↓1k\downarrow1k↓1, quantifying the statistical price of protecting against larger distribution shifts.

Formalizing it. The result is proved on paper; no machine-checked version exists. A formal proof requires a measure-theoretic duality theorem for fff-divergence balls (Lemma 1), convex concentration for product measures (Lemma 6, posed on the platform and not yet proved), and a moment bias bound (Lemma 8). Formalization already exposed two slips in the printed proof, both corrected in the milestones without changing Theorem 2.

Difficulty

The robust risk is a supremum over an infinite-dimensional set of likelihood ratios, so concentration cannot be read off any single empirical average. The argument goes through the dual: Lemma 1 reduces the robust risk to a one-dimensional infimum of gkg_kgk​, which is a Lipschitz function of the data only for η\etaη in a bounded interval (Lemma 9), and only up to a bias, because gk(η;P^n)g_k(\eta;\widehat P_n)gk​(η;Pn​) is a nonlinear (norm-like) function of an empirical mean. Neither half is routine: the duality for general PPP requires the closed form of fk∗f_k^*fk∗​ and an attained infimum over λ≥0\lambda\ge0λ≥0, and the bias bound (Lemma 8) needs a careful case split at k∗=2k_*=2k∗​=2. The naive approach — concentrating EP^n[L Z]\mathbb E_{\widehat P_n}[L\,Z]EPn​​[LZ] for a fixed LLL — fails because the optimal LLL depends on the sample.

Formalization scope

  • The robust risk is defined in the likelihood-ratio form (3): a real supremum over measurable L≥0L\ge0L≥0 with EP[L]=1\mathbb E_P[L]=1EP​[L]=1, EP[LZ]\mathbb E_P[LZ]EP​[LZ] integrable, and the divergence constraint written as a lower Lebesgue integral of fk(L)≥0f_k(L)\ge0fk​(L)≥0, so ratios of infinite divergence are excluded. Every statement about it assumes a bounded loss (or Z∈Lk∗(P)Z\in L^{k_*}(P)Z∈Lk∗​(P) in Lemma 1), which makes the value set nonempty and bounded above. The published conjugate PhiDivRobust.Counterpart.conj is reused for Lemma 3.
  • The sample is a point of Xn\mathcal X^nXn under the product measure P0⊗nP_0^{\otimes n}P0⊗n​; P^n=1n∑iδXi\widehat P_n=\frac1n\sum_i\delta_{X_i}Pn​=n1​∑i​δXi​​; failure events are bounded in outer measure. Real powers are Real.rpow; Euclidean distances on Rn\mathbb R^nRn are written out as ∑i(yi−yi′)2\sqrt{\sum_i(y_i-y_i')^2}∑i​(yi​−yi′​)2​, since the default norm on Fin n → ℝ is the sup norm.
  • Standing assumptions of Section 4 (p. 19), carried as hypotheses: k∈(1,∞)k\in(1,\infty)k∈(1,∞), ℓ∈[0,M]\ell\in[0,M]ℓ∈[0,M] with M≥1M\ge1M≥1. Added and disclosed: measurability of the loss, n≥1n\ge1n≥1 where the page leaves it implicit, EP∣Z∣k∗<∞\mathbb E_P|Z|^{k_*}<\inftyEP​∣Z∣k∗​<∞ in Lemma 1 (otherwise both sides are +∞+\infty+∞), and integrability of ∣Y∣2k∗|Y|^{2k_*}∣Y∣2k∗​ in Lemma 8.
  • Corrections of the print. Lemma 8's term 2kC n−1/(k∗∨2)\frac2k\sqrt C\,n^{-1/(k_*\vee2)}k2​C​n−1/(k∗​∨2) is false (the hypothesis makes CCC scale like YYY; a three-point counterexample is in the statement) and is posed with CCC in place of C\sqrt CC​, written 2k∗−1k∗C2\frac{k_*-1}{k_*}C2k∗​k∗​−1​C. Display (30)'s probability 1−2e−2t1-2e^{-2t}1−2e−2t is posed as 1−2e−t1-2e^{-t}1−2e−t, which is what (28) and a deterministic bias bound give. Theorem 2 is posed as printed; neither correction affects it.
  • A trivializing formalization is ruled out: the robust risk is not a junk sSup (the loss is bounded, so the value set is nonempty and bounded), the divergence constraint cannot be met by non-integrable ratios, and the goal mentions only Rk\mathcal R_kRk​, nnn, kkk, ρ\rhoρ, MMM and ttt, not the proof's auxiliary objects.
  • Reusable beyond this mission: Lemma 1 (Cressie–Read duality), Lemma 7, Lemma 8, and the convex concentration inequality. Proofs of any milestone, and of Lemma 6 on its own platform page, are welcome.

Selected references

  • J. C. Duchi and H. Namkoong, Learning Models with Uniform Performance via Distributionally Robust Optimization, Ann. Statist. 49(3), 2021. arXiv:1810.08750v6. https://arxiv.org/abs/1810.08750 — https://doi.org/10.1214/20-AOS2004
  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg and G. Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Science 59(2), 2013. https://doi.org/10.1287/mnsc.1120.1641
  • S. Boucheron, G. Lugosi and P. Massart, Concentration Inequalities: A Nonasymptotic Theory of Independence, Oxford University Press, 2013. https://doi.org/10.1093/acprof:oso/9780199535255.001.0001
  • H. Namkoong and J. C. Duchi, Variance-based Regularization with Convex Objectives, NeurIPS 2017. https://arxiv.org/abs/1610.02581
  • J. C. Duchi, P. W. Glynn and H. Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, Math. Oper. Res. 46(3), 2021. https://arxiv.org/abs/1610.03425
12 thms1 active userReviewed
Bandit AlgorithmsMachine LearningOperations Research·Captain: mikedeng1

MNL-Bandit: A Dynamic Learning Approach to Assortment Selection II: Under a K-Cardinality Constraint Every Policy Has Regret at Least C√(NT/K)Research Paper

Motivation

A retailer with a large catalogue but a limited display (a web page, a shelf, a search result) must decide which assortment of products to show each arriving customer. Customers choose among the displayed products or leave without buying, and the retailer does not know their preferences in advance; it learns them only from the purchases it observes. This is the MNL-Bandit problem of Agrawal, Avadhanula, Goyal and Zeevi (arXiv:1706.03880v2; Operations Research 67(5), 2019), in which customer choices follow the multinomial logit model, the workhorse of revenue management and marketing.

The same paper gives an epoch-based upper-confidence-bound policy whose regret is at most of order NTlog⁡NT\sqrt{NT\log NT}NTlogNT​ (its Theorem 1). This mission formalizes the matching lower bound, the paper's Theorem 2: under a constraint that at most KKK products be displayed, no policy can have regret smaller than order NT/K\sqrt{NT/K}NT/K​ on every instance. Lower bounds of this kind are what certify that an algorithm is near-optimal rather than merely good.

Timeline. The square-root lower bound for NNN-armed bandits goes back to Auer, Cesa-Bianchi, Freund and Schapire (2002), presented in the survey of Bubeck and Cesa-Bianchi (arXiv:1204.5721, 2012). Rusmevichientong, Shen and Shmoys (2010) and Sauré and Zeevi (2013) minimized regret under MNL choice with explore-then-exploit policies, obtaining O(N2log⁡2T)O(N^2\log^2T)O(N2log2T) and O(Nlog⁡T)O(N\log T)O(NlogT) bounds for instances whose best and second-best assortments are well separated. Agrawal et al. (2017–2019) proved the instance-independent Ω(NT/K)\Omega(\sqrt{NT/K})Ω(NT/K​) lower bound formalized here; Chen and Wang (2017) later obtained Ω(NT)\Omega(\sqrt{NT})Ω(NT​) when K<N/4K<N/4K<N/4.

Setting

There are nnn products. An instance consists of a no-purchase weight v0>0v_0>0v0​>0, attraction parameters v1,…,vnv_1,\dots,v_nv1​,…,vn​ with 0≤vi≤v00\le v_i\le v_00≤vi​≤v0​, and revenues ri∈[0,1]r_i\in[0,1]ri​∈[0,1]. At each period t=1,…,Tt=1,\dots,Tt=1,…,T the seller offers an assortment St⊆{1,…,n}S_t\subseteq\{1,\dots,n\}St​⊆{1,…,n} and observes a choice ct∈St∪{0}c_t\in S_t\cup\{0\}ct​∈St​∪{0}, where 000 means no purchase. Under the multinomial logit (MNL) model,

pi(S)=viv0+∑j∈Svj(i∈S∪{0}),pi(S)=0 otherwise,p_i(S)=\frac{v_i}{v_0+\sum_{j\in S}v_j}\quad(i\in S\cup\{0\}),\qquad p_i(S)=0\ \text{otherwise},pi​(S)=v0​+∑j∈S​vj​vi​​(i∈S∪{0}),pi​(S)=0 otherwise,

and choices are independent across periods given the offered sets. The expected revenue of SSS is R(S,v)=∑i∈Srivi/(v0+∑j∈Svj)R(S,v)=\sum_{i\in S}r_iv_i/(v_0+\sum_{j\in S}v_j)R(S,v)=∑i∈S​ri​vi​/(v0​+∑j∈S​vj​).

A policy chooses StS_tSt​ from the past assortments and choices, possibly at random. It satisfies the KKK-cardinality constraint if ∣St∣≤K|S_t|\le K∣St​∣≤K always. Its regret over TTT periods is

Regπ(T,v)=Eπ(∑t=1TR(S∗,v)−R(St,v)),\mathrm{Reg}_\pi(T,v)=\mathbb E_\pi\Big(\sum_{t=1}^{T}R(S^*,v)-R(S_t,v)\Big),Regπ​(T,v)=Eπ​(t=1∑T​R(S∗,v)−R(St​,v)),

where S∗S^*S∗ maximizes R(⋅,v)R(\cdot,v)R(⋅,v) over assortments of at most KKK products.

A randomized instance is a probability distribution over instances with common known revenues and a common no-purchase weight; the regret against it is averaged over the hidden attraction parameters, the choices and the policy's randomization.

Formalization targets

Goal: Theorem 2 (p. 14)

There is an absolute constant C>0C>0C>0 such that for all n≥2n\ge2n≥2, 1≤K≤n1\le K\le n1≤K≤n and T≥nT\ge nT≥n there is a finitely supported randomized instance, chosen before the policy, such that every policy π\piπ respecting the KKK-cardinality constraint satisfies

Ev[Regπ(T,v)]≥CnTK.\mathbb E_{v}\big[\mathrm{Reg}_\pi(T,v)\big]\ge C\sqrt{\frac{nT}{K}} .Ev​[Regπ​(T,v)]≥CKnT​​.

The constant is not fixed; any positive value suffices.

Milestones

The paper proves Theorem 2 in two cases.

  1. Lemma E.1 (p. 57): the Bernoulli divergence bound kl(α,α+ϵ)≤4ϵ2/α\mathrm{kl}(\alpha,\alpha+\epsilon)\le 4\epsilon^2/\alphakl(α,α+ϵ)≤4ϵ2/α in the direction used by Lemma E.2.
  2. Lemma E.2 (p. 57): for a guessing algorithm on N≥12N\ge12N≥12 coins and t≤Nα/(60ϵ2)t\le N\alpha/(60\epsilon^2)t≤Nα/(60ϵ2), at least N/3N/3N/3 hiding places jjj of the biased coin have Pj(at=j)≤1/2\mathcal P_j(a_t=j)\le 1/2Pj​(at​=j)≤1/2.
  3. Lemma 5.1 (p. 15): on the Bernoulli instance IMABI_{\mathrm{MAB}}IMAB​ with ϵ=1100Nα/T\epsilon=\frac1{100}\sqrt{N\alpha/T}ϵ=1001​Nα/T​, every online algorithm has expected regret at least ϵT/6\epsilon T/6ϵT/6.
  4. Lemma E.4 (p. 60): one period of MNL feedback on the instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​, where ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​, has divergence at most 4ϵ24\epsilon^24ϵ2.
  5. Lemma E.5 (p. 61): over TTT periods the two choice laws of that instance have divergence at most 4Tϵ24T\epsilon^24Tϵ2.

Items 1–3 serve the case K<nK<nK<n, which the paper reduces to a multi-armed bandit through the instance IMNLI_{\mathrm{MNL}}IMNL​ of Definition 5.2 (NKNKNK products in NNN groups of KKK, one hidden group with larger attraction). Items 4–5 serve the case K=nK=nK=n through the two-point instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​ of Definition E.1.

Significance

The theorem shows that the T\sqrt{T}T​ growth of regret in assortment learning cannot be improved, and that the dependence on the number of products is polynomial: when the display size KKK is fixed, the UCB policy of the same paper is optimal up to logarithmic factors (Remark 4). It separates what learning under the MNL model costs from what the combinatorics of the assortment adds, and the reduction it uses, simulating an assortment algorithm inside a bandit algorithm, is reusable for other choice-model bandits.

The result is proved in the paper, with its proof in Appendix E. To our knowledge neither the theorem nor its lemmas have been machine-checked. A formal proof has to repair several printed slips: Lemma 5.1's hypotheses do not exclude α\alphaα close to 111, where the bound fails; the proof of Lemma E.2 uses a form of Pinsker's inequality with a wrong constant; Lemma E.1 states one direction of the divergence and computes the other; and the constants of the K=NK=NK=N case do not match. The formal statements here carry the corrected hypotheses, each disclosed in its note.

Difficulty

The obvious argument fails at the reduction. The bandit lower bound is a statement about algorithms that pull one arm per round, while an assortment policy offers KKK products at once and sees a choice among them. Transferring the bound requires simulating MNL feedback from Bernoulli coins (Algorithm 2 of the paper), whose loop has a random length, and then relating the regret of the simulated assortment algorithm over a random number of calls to the bandit regret over TTT pulls. The paper does this in expectation, and the constants have to be tracked through the random horizon.

A second difficulty is that the lower bound must hold for every policy, including randomized ones, against a single randomized instance fixed in advance. Bounding the regret of each deterministic policy separately is not enough unless the instance does not depend on the policy, which the statement requires. The change-of-measure steps (Lemmas E.2 and E.5) need a chain rule for the divergence between laws of adaptively generated histories.

Formalization scope

Products, periods and arms are 0-based (Fin n); a choice is Option (Fin n) with none the no-purchase alternative. Histories have finite length TTT, laws of histories are explicit products of policy weights and MNL (or Bernoulli) probabilities, and every expectation is a finite sum, so no measurability or integrability side conditions arise. The no-purchase weight v0v_0v0​ is explicit (Definition 5.2 has v0=Kv_0=Kv0​=K). R(S∗,v)R(S^*,v)R(S∗,v) is a maximum over the finite, nonempty family {S:∣S∣≤K}\{S:|S|\le K\}{S:∣S∣≤K}.

Policies are behavioural: at every history they give a probability vector over assortments, which by Kuhn's theorem covers the paper's admissible policies with external randomization. The randomized instance is a finite list of instances with nonnegative weights summing to one; every support point has the same revenues and no-purchase weight, which are known to the seller. The quantifiers are in the paper's order: the constant first, then n,K,Tn,K,Tn,K,T, then the randomized instance, then every policy. A formalization with the policy quantified before the instance, with C=0C=0C=0 allowed, with varying known revenues across hidden support points, or with only deterministic policies, would be weaker and is ruled out.

Hypotheses added to the printed statements: n≥2n\ge2n≥2 and K≥1K\ge1K≥1 in Theorem 2 (the claim fails for n=1n=1n=1 and K=0K=0K=0); 0<α0<\alpha0<α, 0<ϵ0<\epsilon0<ϵ, α+ϵ≤3/4\alpha+\epsilon\le3/4α+ϵ≤3/4 in Lemma E.1; 0<α0<\alpha0<α, 0<ϵ0<\epsilon0<ϵ, 2α+ϵ≤12\alpha+\epsilon\le12α+ϵ≤1 in Lemma E.2; 0<α0<\alpha0<α, 2α+ϵ≤12\alpha+\epsilon\le12α+ϵ≤1, T≥1T\ge1T≥1 in Lemma 5.1. Lemmas E.4 and E.5 use Definition E.1's ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​, with T≥1T\ge1T≥1 and n≥2n\ge2n≥2 so the instance is defined. Lemma E.5 is stated, as in its proof, for deterministic policies.

The development reuses three published definitions: the MNL revenue ChoiceCDLP.MNL.mnlObjective, the Bernoulli divergence RegretBandits.Stochastic.klBern, and the discrete Kullback–Leibler divergence FoundationsRL.GeneralDM.klDivDiscrete (valued in [0,∞][0,\infty][0,∞]). Proved platform results useful to solvers include Pinsker's inequality (BanditAlgorithm.pinsker_inequality_total_variation), the Bernoulli bound d(p,q)≤(q−p)2/(p(2−p−q))d(p,q)\le(q-p)^2/(p(2-p-q))d(p,q)≤(q−p)2/(p(2−p−q)) (BanditAlgorithm.bernoulli_relative_entropy_le_sq_div_of_add_le_one) and a divergence decomposition for bandits. A chain rule for the divergence of finite adaptive histories, and a formal version of the simulation of Algorithm 2, would be reusable beyond this mission; both are welcome as supporting lemmas.

Selected references

  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5):1453–1485, 2019; preprint arXiv:1706.03880v2. https://arxiv.org/abs/1706.03880 — DOI https://doi.org/10.1287/opre.2018.1832
  • S. Bubeck, N. Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Foundations and Trends in Machine Learning 5(1), 2012. https://arxiv.org/abs/1204.5721
  • P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The Nonstochastic Multiarmed Bandit Problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
  • D. Sauré, A. Zeevi, Optimal Dynamic Assortment Planning with Demand Learning, Manufacturing & Service Operations Management 15(3), 2013. https://doi.org/10.1287/msom.2013.0429
  • X. Chen, Y. Wang, A Note on a Tight Lower Bound for MNL-Bandit Assortment Selection Models, arXiv:1709.06109, 2017. https://arxiv.org/abs/1709.06109
12 thms1 active userReviewed
Algorithmic Game TheoryMarkov Chain·Captain: mikedeng1

The Evolution of Conventions I: In a Weakly Acyclic Game, Adaptive Play with k ≤ m/(L_Γ + 2) Converges Almost Surely to a ConventionResearch Paper

Motivation

A convention is a pattern of behaviour that is customary because everyone expects everyone else to follow it: driving on the right, or which party yields at a narrow bridge. Peyton Young's The Evolution of Conventions (Econometrica 61 (1993) 57–84) asks how such a pattern can emerge from decentralized play. The players have limited memory and limited information, and nobody coordinates them. The paper's model, adaptive play, is now a standard dynamic of learning in games. It is the starting point of the stochastic-stability theory of equilibrium selection (Foster and Young 1990; Kandori, Mailath and Rob 1993), which builds on the perturbation theory of Freidlin and Wentzell (1984).

This mission covers the first half of the paper: §3 (the model) and §4 (convergence when the players make no mistakes). Before mistakes can be added and stochastically stable conventions selected, the unperturbed process must be shown to settle at all. Theorem 1 gives the condition under which it does.

Setting

Let Γ\GammaΓ be a game with finitely many players iii, a finite nonempty strategy set SiS_iSi​ for each player, and payoffs ui(s)u_i(s)ui​(s) for strategy tuples s∈∏jSjs \in \prod_j S_js∈∏j​Sj​. Write (x,s−i)(x, s_{-i})(x,s−i​) for sss with player iii's strategy replaced by xxx.

  • A play is a strategy tuple. Fix a memory mmm and a sample size kkk with 1≤k≤m1 \le k \le m1≤k≤m. The state h∈H=(∏jSj)mh \in H = (\prod_j S_j)^mh∈H=(∏j​Sj​)m is the sequence of the last mmm plays, oldest first.
  • A successor of hhh is obtained by deleting the oldest play and appending a new one.
  • A sample is a set of kkk positions of hhh. Player iii's best reply to a sample KKK maximizes the total payoff ∑t∈Kui(x,(ht)−i)\sum_{t \in K} u_i(x, (h_t)_{-i})∑t∈K​ui​(x,(ht​)−i​) against the sampled plays.
  • A best-reply distribution gives, for each iii and hhh, a probability distribution pi(⋅∣h)p_i(\cdot \mid h)pi​(⋅∣h) on SiS_iSi​ that is positive exactly on the strategies that are best replies to some sample of size kkk. The sampling law itself is arbitrary.
  • Adaptive play P0P^0P0 is the Markov chain on HHH that moves from hhh to the successor with new play sss with probability ∏ipi(si∣h)\prod_i p_i(s_i \mid h)∏i​pi​(si​∣h).
  • A strict Nash equilibrium is a tuple sss from which every unilateral deviation is strictly worse. A convention is a state (s,s,…,s)(s, s, \dots, s)(s,s,…,s) with sss a strict Nash equilibrium.
  • The best-reply graph has an edge s→(x,s−i)s \to (x, s_{-i})s→(x,s−i​) whenever x≠six \ne s_ix=si​ is a best reply of iii to s−is_{-i}s−i​. Γ\GammaΓ is weakly acyclic if from every sss a directed path leads to a sink. L(s)L(s)L(s) is the length of a shortest such path from sss to a strict Nash equilibrium, and LΓ=max⁡sL(s)L_\Gamma = \max_s L(s)LΓ​=maxs​L(s).

Formalization targets

Goal: Theorem 1 (p. 64)

If Γ\GammaΓ is weakly acyclic and k≤m/(LΓ+2)k \le m/(L_\Gamma + 2)k≤m/(LΓ​+2), then for every best-reply distribution and every initial state hhh,

lim⁡t→∞∑h′ a convention((P0)t)hh′=1.\lim_{t\to\infty} \sum_{h' \text{ a convention}} \big((P^0)^t\big)_{hh'} = 1 .t→∞lim​h′ a convention∑​((P0)t)hh′​=1.

Milestones

  1. Absorbing states (§4, p. 62): Phh0=1P^0_{hh} = 1Phh0​=1 if and only if hhh is a convention.
  2. Sinks (§4, p. 64): the sinks of the best-reply graph are exactly the strict Nash equilibria. Hence weak acyclicity means that one-player-at-a-time best replies can reach a strict equilibrium from every tuple.
  3. A run of best replies (proof of Theorem 1, p. 64): if m≥2k−1m \ge 2k-1m≥2k−1, then with positive probability kkk consecutive identical best replies to the last kkk plays are appended.
  4. Uniform bound (proof of Theorem 1, p. 65): there is q>0q > 0q>0 such that from every state a convention is reached within M=kLΓ+mM = kL_\Gamma + mM=kLΓ​+m periods with probability at least qqq.
  5. Geometric tail (proof of Theorem 1, p. 64): such a uniform bound makes the probability of no convention after rMrMrM periods at most (1−q)r(1-q)^r(1−q)r.
  6. Example 2 (pp. 65–66, off the goal's path): in a Battle-of-the-Sexes game with complete sampling k=mk = mk=m, a perfectly miscoordinated history stays miscoordinated forever.

Significance

Theorem 1 identifies a class of games, the weakly acyclic ones, in which boundedly rational players who best-reply to small random samples of the past almost surely lock in to a strict pure equilibrium. The paper's examples of weakly acyclic games (p. 63) are pure coordination games and games with common interests in which no two strategy tuples are payoff equivalent. Absorption is in behaviour, not just in empirical frequencies. Example 2 shows that this fails for fictitious-play-like complete sampling, so the sampling ratio k/mk/mk/m is a real ingredient. The absorbing states identified in the first milestone are the states among which the stochastic-stability analysis of the paper's later sections selects.

The result is proved in the paper. To the best of our knowledge no machine-checked version exists. The mission asks for a formal proof of Theorem 1 and its milestones for an arbitrary best-reply distribution. That generality is the paper's own: non-uniform sampling is explicitly allowed. A formal proof also pins down the memory bookkeeping in the paper's proof (look-backs of 2k−12k-12k−1, 3k−13k-13k−1 and kr+2k−1kr + 2k - 1kr+2k−1 periods), which the text checks only in words.

Difficulty

Adaptive play is a finite Markov chain. The obvious route through the generic theory of absorbing chains requires showing that a convention is reachable from every state, and that is where the argument becomes delicate. A best-reply path in the game cannot be followed directly: each player only sees a random sample, and the players who are not moving must keep playing their old strategies. The proof gets around this by having the non-moving players keep sampling older parts of the history, so those parts must still be in memory. This is what forces the bound k≤m/(LΓ+2)k \le m/(L_\Gamma+2)k≤m/(LΓ​+2). A uniform, state-independent constant is then needed to turn reachability into almost-sure convergence.

Formalization scope

Players form a finite type ι, strategies a family of finite nonempty types S i, and payoffs u : ι → (∀ i, S i) → ℝ. A state is Fin m → ∀ i, S i with position 0 the oldest play. A best-reply distribution is any p : ∀ i, H → S i → ℝ with the stated support. All statements quantify over every such p. Adaptive play is a Matrix H H ℝ, and "converges almost surely to a convention" is stated through matrix powers. That is equivalent to almost-sure absorption because conventions are absorbing. The condition k≤m/(LΓ+2)k \le m/(L_\Gamma+2)k≤m/(LΓ​+2) is k(LΓ+2)≤mk(L_\Gamma+2) \le mk(LΓ​+2)≤m in ℕ. L(s)L(s)L(s) is an sInf on ℕ that is never empty under weak acyclicity.

The display (1) on p. 62 reads "the right-most element of hhh". The formalization uses the right-most element of the successor h′h'h′, the only reading under which the rule is meaningful.

The goal cannot be satisfied trivially. The sampling law is not fixed, the conclusion is a limit equal to 111 from every initial state (not "with positive probability" or "along some path"), and the hypotheses are jointly satisfiable, for example by a 2×22\times22×2 coordination game with uniform sampling. A best reply to a sample uses the joint empirical distribution of the sampled plays, not independent marginals.

A complete development needs elementary Markov-chain facts about matrix powers and absorbing sets, plus combinatorics of shifted histories. These parts are reusable for any finite-memory learning dynamic. Proofs of individual milestones are welcome independently.

Related platform work: stochastic fictitious play in potential games (StochFictPlay.*, Hofbauer–Sandholm 2002) and calibrated learning to correlated equilibrium (CalibratedCE.*, Foster–Vohra 1997) formalize other learning dynamics. The perturbed process and the selection of risk-dominant conventions are the subject of the sibling missions The Evolution of Conventions II and III.

Selected references

  • H. P. Young, The Evolution of Conventions, Econometrica 61(1), 1993, 57–84. https://doi.org/10.2307/2951778
  • D. Foster and H. P. Young, Stochastic Evolutionary Game Dynamics, Theoretical Population Biology 38, 1990, 219–232. https://doi.org/10.1016/0040-5809(90)90011-J
  • M. Kandori, G. J. Mailath and R. Rob, Learning, Mutation, and Long Run Equilibria in Games, Econometrica 61(1), 1993, 29–56. https://doi.org/10.2307/2951777
  • M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems, Springer, 1984. https://doi.org/10.1007/978-1-4684-0176-9
  • J. C. Harsanyi and R. Selten, A General Theory of Equilibrium Selection in Games, MIT Press, 1988.
  • J. Hofbauer and W. H. Sandholm, On the Global Convergence of Stochastic Fictitious Play, Econometrica 70(6), 2002, 2265–2294. https://doi.org/10.1111/1468-0262.00376
  • D. P. Foster and R. V. Vohra, Calibrated Learning and Correlated Equilibrium, Games and Economic Behavior 21, 1997, 40–55. https://doi.org/10.1006/game.1997.0595
22 thms1 active userReviewed
Graph TheoryMarkov Chain·Captain: mikedeng1

The Evolution of Conventions II: The Stochastically Stable States of a Regular Perturbation of a Finite Markov Chain Are the Recurrent Classes of Minimum Stochastic PotentialResearch Paper

Motivation

Many models in economics, biology and computer science are finite Markov chains that have several absorbing states or recurrent classes, so their long-run behaviour depends on where they start. Adding a small amount of noise (mistakes, mutations, experimentation) makes the chain irreducible, and the noisy chain then has a unique stationary distribution. As the noise vanishes, that distribution concentrates on some of the original recurrent classes. The stochastically stable states are the ones that keep positive weight in the limit; they are the states the system spends nearly all its time in when the noise is small but nonzero.

H. Peyton Young's The Evolution of Conventions (Econometrica, 1993) proved a general finite-state characterization of these states, which he used to select among the equilibria of coordination games under adaptive play. The characterization rests on the theory of small random perturbations of Freidlin and Wentzell (1984), developed for diffusions, and on a combinatorial lemma of theirs expressing stationary distributions through spanning trees. Kandori, Mailath and Rob (1993) characterized the limit distribution by spanning trees on the whole state space for their model of learning with mutations; Young's Lemma 1 generalizes their Theorem 1 (p. 78), and his Lemma 2 reduces the computation to the much smaller graph of recurrent classes. Foster and Young (1990) introduced stochastic stability for evolutionary dynamics, and the equilibria it selects in 2×22\times 22×2 games coincide with the risk-dominant equilibria of Harsanyi and Selten (1988).

Setting

Let XXX be a finite set and P0P^0P0 the transition matrix of a Markov chain on XXX. A state yyy is reachable from xxx if (P0)xyn>0(P^0)^n_{xy} > 0(P0)xyn​>0 for some n≥0n \ge 0n≥0; xxx is recurrent if every state reachable from xxx can reach xxx back; the recurrent communication classes X1,…,XJX_1, \dots, X_JX1​,…,XJ​ are the communication classes of recurrent states.

A family (Pε)ε∈(0,a](P^\varepsilon)_{\varepsilon \in (0,a]}(Pε)ε∈(0,a]​ of Markov chains on XXX is a regular perturbation of P0P^0P0 if for all x,yx, yx,y:

  • (6) PεP^\varepsilonPε is aperiodic and irreducible for every ε∈(0,a]\varepsilon \in (0,a]ε∈(0,a];
  • (7) Pxyε→Pxy0P^\varepsilon_{xy} \to P^0_{xy}Pxyε​→Pxy0​ as ε→0\varepsilon \to 0ε→0;
  • (8) if Pxyε>0P^\varepsilon_{xy} > 0Pxyε​>0 for some ε\varepsilonε, there is r≥0r \ge 0r≥0 with 0<lim⁡ε→0ε−rPxyε<∞0 < \lim_{\varepsilon \to 0} \varepsilon^{-r} P^\varepsilon_{xy} < \infty0<limε→0​ε−rPxyε​<∞.

The exponent r=r(x,y)r = r(x,y)r=r(x,y) is the resistance of the transition x→yx \to yx→y. The graph GGG has vertex set XXX and an edge (x,y)(x,y)(x,y) when Pxyε>0P^\varepsilon_{xy} > 0Pxyε​>0 for all small ε\varepsilonε, weighted by r(x,y)r(x,y)r(x,y).

For z∈Xz \in Xz∈X, a zzz-tree is a spanning tree of edges of GGG in which every x≠zx \ne zx=z has a unique directed path to zzz. The potential of zzz is

γ(z)=min⁡T∈Tz∑(x,y)∈Tr(x,y).(9)\gamma(z) = \min_{T \in \mathcal T_z} \sum_{(x,y) \in T} r(x,y). \tag{9}γ(z)=T∈Tz​min​(x,y)∈T∑​r(x,y).(9)

For classes i≠ji \ne ji=j, rijr_{ij}rij​ is the least resistance of a path in GGG from XiX_iXi​ to XjX_jXj​. On the complete directed graph G\mathcal GG with vertices 1,…,J1, \dots, J1,…,J and edge weights rijr_{ij}rij​, the stochastic potential γj\gamma_jγj​ of XjX_jXj​ is the least total weight of a jjj-tree in G\mathcal GG.

Formalization targets

Goal: Theorem 4 (p. 78)

If με\mu^\varepsilonμε is the stationary distribution of PεP^\varepsilonPε for ε∈(0,a]\varepsilon \in (0,a]ε∈(0,a], then με→μ0\mu^\varepsilon \to \mu^0με→μ0 as ε→0\varepsilon \to 0ε→0, where μ0\mu^0μ0 is a stationary distribution of P0P^0P0, and

μx0>0  ⟺  x∈Xj for some j with γj=min⁡iγi.\mu^0_x > 0 \iff x \in X_j \text{ for some } j \text{ with } \gamma_j = \min_i \gamma_i .μx0​>0⟺x∈Xj​ for some j with γj​=imin​γi​.

Milestones, in the order of the paper's proof

  1. Resistance (p. 77). The exponent in (8) is unique; a transition positive for some ε\varepsilonε is an edge of GGG; and the edges of zero resistance are exactly the transitions with Pxy0>0P^0_{xy} > 0Pxy0​>0.
  2. Markov chain tree formula (p. 79). For an aperiodic irreducible chain P′P'P′, μz′=pz′/∑xpx′\mu'_z = p'_z / \sum_x p'_xμz′​=pz′​/∑x​px′​ with pz′=∑T∈Tz∏(x,y)∈TPxy′p'_z = \sum_{T \in \mathcal T_z} \prod_{(x,y)\in T} P'_{xy}pz′​=∑T∈Tz​​∏(x,y)∈T​Pxy′​ is the unique stationary distribution.
  3. Lemma 1 (p. 78). με→μ0\mu^\varepsilon \to \mu^0με→μ0, μ0\mu^0μ0 is stationary for P0P^0P0, and μx0>0\mu^0_x > 0μx0​>0 iff γ(x)≤γ(y)\gamma(x) \le \gamma(y)γ(x)≤γ(y) for all yyy.
  4. (p. 80) A stationary distribution of a finite chain vanishes on non-recurrent states.
  5. (p. 80) All states of a recurrent class of P0P^0P0 have the same potential.
  6. Lemma 2 (p. 80). γ(x)=γj\gamma(x) = \gamma_jγ(x)=γj​ for every x∈Xjx \in X_jx∈Xj​.

Significance

Theorem 4 turns a limit of stationary distributions into a finite optimization: compute least-resistance paths between the recurrent classes, then a minimum-weight arborescence on the reduced graph. The answer depends only on the orders of magnitude of the perturbations, not on their exact values, which is what makes the result usable when the noise model is known only qualitatively. It underlies the equilibrium-selection results of the same paper (risk dominance in 2×22\times 22×2 coordination games, Theorem 3) and much of the later stochastic evolutionary game theory literature.

The result is proved in the paper, with the tree formula imported from Freidlin and Wentzell. As far as is known, none of it is formalized: Mathlib has irreducible and primitive nonnegative matrices but neither the Markov chain tree formula, aperiodicity, recurrent classes of a finite chain, nor minimum arborescences. A complete development would produce these as reusable components.

Difficulty

The first idea is to take the limit in μεPε=με\mu^\varepsilon P^\varepsilon = \mu^\varepsilonμεPε=με: compactness and (7) give that every limit point of με\mu^\varepsilonμε is stationary for P0P^0P0, but P0P^0P0 has many stationary distributions, so this neither proves convergence nor identifies the support. Both come from the tree formula, which makes μzε\mu^\varepsilon_zμzε​ a ratio of sums of products whose orders of magnitude are read off from the resistances; the absence of cancellation (all terms are nonnegative) is essential. The second difficulty is Lemma 2: an optimal xxx-tree on the whole state space must be transformed, by the paper's tree surgery on junctions (pp. 80–83), into something comparable with a jjj-tree on the class graph without increasing its resistance. The easy inequality γ(xj)≤γj\gamma(x_j) \le \gamma_jγ(xj​)≤γj​ glues optimal paths and zero-resistance trees together; the reverse inequality is where the work lies.

Formalization scope

States form a Fintype X with decidable equality; chains are real matrices Matrix X X ℝ, row stochasticity is Matrix.rowStochastic, irreducibility is Mathlib's Matrix.IsIrreducible, and aperiodicity (every state has period 1) is defined in the mission. The family PεP^\varepsilonPε is a function ℝ → Matrix X X ℝ constrained only on (0,a](0, a](0,a]; all limits are one-sided (ε→0+\varepsilon \to 0^+ε→0+), ε−r\varepsilon^{-r}ε−r is the real power, and "0<lim⁡<∞0 < \lim < \infty0<lim<∞" is a real limit c>0c > 0c>0. Distributions are row vectors and stationarity is μA=μ\mu A = \muμA=μ. Trees are parent maps with edges pointing toward the root. Potentials, class resistances and stochastic potentials are infima in EReal, where an empty infimum is +∞+\infty+∞; under the hypotheses all of them are finite.

The goal quantifies over every regular perturbation, not a parametric family such as (1−ε)P0+εQ(1-\varepsilon)P^0 + \varepsilon Q(1−ε)P0+εQ, and over every family of stationary distributions of the PεP^\varepsilonPε (unique by (6)). The recurrent classes are computed from P0P^0P0, not supplied as data, and γj\gamma_jγj​ is computed on the class graph with weights rijr_{ij}rij​; defining γj\gamma_jγj​ as γ(x)\gamma(x)γ(x) for some x∈Xjx \in X_jx∈Xj​ would make Lemma 2 definitional and is ruled out.

Contributions welcome: the Markov chain tree formula and the uniqueness of stationary distributions for irreducible finite chains (both reusable well beyond this mission), recurrence and the support of stationary distributions, and the arborescence surgery of Lemma 2.

Selected references

  • H. P. Young, The Evolution of Conventions, Econometrica 61(1), 1993, 57–84. https://doi.org/10.2307/2951778
  • M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems, Springer, 1984 (Ch. 6, Lemma 3.1). https://doi.org/10.1007/978-1-4684-0176-9
  • M. Kandori, G. J. Mailath and R. Rob, Learning, Mutation, and Long Run Equilibria in Games, Econometrica 61(1), 1993, 29–56. https://doi.org/10.2307/2951777
  • D. P. Foster and H. P. Young, Stochastic Evolutionary Game Dynamics, Theoretical Population Biology 38, 1990, 219–232. https://doi.org/10.1016/0040-5809(90)90011-J
  • J. C. Harsanyi and R. Selten, A General Theory of Equilibrium Selection in Games, MIT Press, 1988. https://mitpress.mit.edu/9780262582384/
  • Related missions on learning dynamics: StochFictPlay.* (Hofbauer and Sandholm 2002, stochastic fictitious play) and CalibratedCE.* (calibrated learning and correlated equilibrium).
11 thms1 active userReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

Poisson Arrivals See Time Averages: Under Lack of Anticipation, the Fraction of Time in B Converges a.s. iff the Fraction of Arrivals Finding B Does, to the Same LimitResearch Paper

Why arrival averages and time averages agree

Queueing analysis constantly moves between two kinds of long-run averages: the fraction of time a system spends in some set of states, and the fraction of arriving customers who find it there. Waiting-time formulas for the M/G/1 queue, blocking probabilities in loss systems and many decomposition arguments rest on the claim that, when arrivals form a Poisson process, the two coincide. This property is known as PASTA, Poisson Arrivals See Time Averages. It is used throughout queueing theory, inventory theory and the analysis of communication networks, usually without proof.

Before 1982 the property had been proved under strong extra structure:

  • Strauch (1970) proved an instantaneous version, at a fixed time point, which does not by itself give limit theorems.
  • Wolff (1970) proved a limit theorem for a stationary observed process, using particular properties of its interaction with the Poisson stream.
  • Stidham (1972) proved a limit theorem for regenerative processes, under restrictions on how regeneration points relate to the arrivals.
  • Wolff (1982), the source of this mission, proved the limit theorem with no stationarity, regeneration or ergodicity at all. The only link assumed between system and arrivals is that the system does not anticipate future arrivals. The proof uses Watanabe's (1964) martingale characterization of the Poisson process.
  • Melamed and Whitt (1990) recast the result as one instance of a general "arrivals see time averages" (ASTA) principle for arbitrary point processes.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space. On it live a process N={N(t),t≥0}N=\{N(t),t\ge0\}N={N(t),t≥0}, the state of a system, with values in an arbitrary measurable space, and a Poisson process A={A(t),t≥0}A=\{A(t),t\ge0\}A={A(t),t≥0} at rate λ>0\lambda>0λ>0, counting customer arrivals in (0,t](0,t](0,t]. The interaction between AAA and NNN is unspecified: arrivals may change the state.

Fix a set BBB of states with {N(t)∈B}∈F\{N(t)\in B\}\in\mathcal F{N(t)∈B}∈F for every t≥0t\ge0t≥0, and define

U(t)=1{N(t)∈B},V(t)=t−1∫0tU(s) ds,Y(t)=∫0tU(s) dA(s),Z(t)=Y(t)A(t).U(t)=\mathbf 1\{N(t)\in B\},\qquad V(t)=t^{-1}\int_0^tU(s)\,ds,\qquad Y(t)=\int_0^tU(s)\,dA(s),\qquad Z(t)=\frac{Y(t)}{A(t)}.U(t)=1{N(t)∈B},V(t)=t−1∫0t​U(s)ds,Y(t)=∫0t​U(s)dA(s),Z(t)=A(t)Y(t)​.

V(t)V(t)V(t) is the fraction of time in [0,t][0,t][0,t] that NNN is in BBB. Y(t)Y(t)Y(t) is the number of arrivals up to ttt who find NNN in BBB, and Z(t)Z(t)Z(t) is the fraction of arrivals who do.

The paths of UUU are assumed left continuous with right-hand limits w.p. 1, so that an arrival is not counted as already present at its own arrival epoch. UUU is assumed jointly measurable in (ω,t)∈Ω×[0,∞)(\omega,t)\in\Omega\times[0,\infty)(ω,t)∈Ω×[0,∞). The single structural assumption is the Lack of Anticipation Assumption (LAA):

for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} and {U(s),0≤s≤t}\{U(s),0\le s\le t\}{U(s),0≤s≤t} are independent.

The paper's proof of (6) uses this independence for every event of Ft\mathcal F_tFt​, the σ-field generated by {A(s),U(s);0≤s≤t}\{A(s),U(s);0\le s\le t\}{A(s),U(s);0≤s≤t}. The mission therefore states Theorems 1–2, (6), Lemma 1, (10) and Lemma 2 under lack of anticipation with respect to Ft\mathcal F_tFt​: for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} is independent of Ft\mathcal F_tFt​. This implies the printed LAA. The printed LAA together with independent increments does not give (6) or Lemma 1, because pairwise independence of the future from the past of AAA and from the past of UUU is not independence from their joint past.

Formalization targets

Goal: Theorem 1 (p. 225)

Under lack of anticipation (with respect to Ft\mathcal F_tFt​, see above), for every random variable V(∞)V(\infty)V(∞),

V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.V(t)\to V(\infty)\ \text{w.p. 1}\quad\Longleftrightarrow\quad Z(t)\to V(\infty)\ \text{w.p. 1},\qquad t\to\infty.V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.

The limit may be random, and the theorem asserts nothing about whether either average converges. It asserts only that the two converge together, to the same limit.

Milestones

The proof in §2 passes through the following statements, which form the milestone list:

  1. (2), (3): E{Y(t)}=λtE{V(t)}=λE{∫0tU(s) ds}E\{Y(t)\}=\lambda tE\{V(t)\}=\lambda E\{\int_0^tU(s)\,ds\}E{Y(t)}=λtE{V(t)}=λE{∫0t​U(s)ds}.
  2. (6): E{Y(t+h)−Y(t)∣Ft}=λE{∫tt+hU(s) ds∣Ft}E\{Y(t+h)-Y(t)\mid\mathcal F_t\}=\lambda E\{\int_t^{t+h}U(s)\,ds\mid\mathcal F_t\}E{Y(t+h)−Y(t)∣Ft​}=λE{∫tt+h​U(s)ds∣Ft​}.
  3. Lemma 1: R(t)=Y(t)−λtV(t)R(t)=Y(t)-\lambda tV(t)R(t)=Y(t)−λtV(t) is a martingale.
  4. (7): the second-moment bound E{R2(t)}≤λt+2λ2t2E\{R^2(t)\}\le\lambda t+2\lambda^2t^2E{R2(t)}≤λt+2λ2t2.
  5. (10): the grid strong law R(nh)/n→0R(nh)/n\to0R(nh)/n→0 w.p. 1.
  6. (11): the pathwise interpolation bound between grid points.
  7. Lemma 2: R(t)/t→0R(t)/t\to0R(t)/t→0 w.p. 1.
  8. The strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ for the Poisson process.

Companion: Theorem 2 (p. 228)

For a Poisson process with bounded, integrable rate λ(t)\lambda(t)λ(t) and Λ(t)/t→λˉ∈(0,∞)\Lambda(t)/t\to\bar\lambda\in(0,\infty)Λ(t)/t→λˉ∈(0,∞), where Λ(t)=∫0tλ(s) ds\Lambda(t)=\int_0^t\lambda(s)\,dsΛ(t)=∫0t​λ(s)ds, the same equivalence holds with V(t)V(t)V(t) replaced by the rate-weighted average Vˉ(t)=Λ(t)−1∫0tU(s)λ(s) ds\bar V(t)=\Lambda(t)^{-1}\int_0^tU(s)\lambda(s)\,dsVˉ(t)=Λ(t)−1∫0t​U(s)λ(s)ds. Display (12), E{Y(t)}=∫0tE{U(s)}λ(s) dsE\{Y(t)\}=\int_0^tE\{U(s)\}\lambda(s)\,dsE{Y(t)}=∫0t​E{U(s)}λ(s)ds, is its analogue of (3).

Significance

Theorem 1 justifies replacing customer averages by time averages, and conversely, in any model where arrivals are Poisson and the system does not anticipate them. Examples are queue-length distributions seen by arrivals in M/G/c systems, blocking probabilities in Erlang loss models, and state probabilities at arrival epochs in networks with Poisson external input. It needs no ergodic theory of the observed process: convergence of one average has to be established separately, by whatever means suit the model, and the theorem transfers it to the other. Lemma 2 also implies versions of PASTA under weaker modes of convergence (Remark 6).

The result has been proved for four decades and is textbook material. What this mission adds is a machine-checked proof. No formalization of Theorem 1 in a proof assistant is known. A complete development would also contain machine-checked versions of several standard facts not yet available in Mathlib:

  • the strong law for the Poisson process;
  • a strong law for square-integrable martingale differences;
  • Stieltjes integration against a counting path.

Difficulty

The naive argument conditions on the arrival epochs and claims that each arrival "samples" the state at a uniformly random time. This fails because arrivals influence the state: after an arrival, a queue-length process is no longer independent of the arrival stream. LAA only says that the future increments of AAA are independent of the past of UUU. The difficulty is to turn this one-sided independence into an almost-sure statement about long-run averages, along every path and at all times rather than only at fixed ones.

On the technical side, the expected-value identity (3) needs a limit of grid sums. That limit relies on left continuity: without it, U(t)=1{A jumps at t}U(t)=\mathbf 1\{A \text{ jumps at } t\}U(t)=1{A jumps at t} satisfies LAA with V≡0V\equiv0V≡0 but Z≡1Z\equiv1Z≡1. The passage from expectations to a strong law needs a martingale structure and a second-moment bound, and the interpolation between grid times needs a pathwise argument.

Formalization scope

  • Time and paths. Time is R\mathbb RR, and every hypothesis concerns t≥0t\ge0t≥0 only. Processes are maps R→Ω→(⋅)\mathbb R\to\Omega\to(\cdot)R→Ω→(⋅). A Poisson process with intensity function λ(⋅)\lambda(\cdot)λ(⋅) is a counting process A:R→Ω→NA:\mathbb R\to\Omega\to\mathbb NA:R→Ω→N with A(0)=0A(0)=0A(0)=0, every path non-decreasing and right-continuous, Poisson-distributed increments with mean ∫stλ\int_s^t\lambda∫st​λ, and independent increments over any finite increasing sequence of times. The constant-rate case is Theorem 1's setting.
  • The averages. Y(t)Y(t)Y(t) is encoded as ∑k=1A(t)U(Tk)\sum_{k=1}^{A(t)}U(T_k)∑k=1A(t)​U(Tk​) over the arrival epochs Tk=inf⁡{s≥0:A(s)≥k}T_k=\inf\{s\ge0:A(s)\ge k\}Tk​=inf{s≥0:A(s)≥k}, which is the Lebesgue–Stieltjes integral ∫(0,t]U dA\int_{(0,t]}U\,dA∫(0,t]​UdA with multiplicities. Z(t)=0Z(t)=0Z(t)=0 when A(t)=0A(t)=0A(t)=0, and V(0)=0V(0)=0V(0)=0; limits do not see these values.
  • The standing hypotheses. These are carried as binders of the goal: measurability of {N(t)∈B}\{N(t)\in B\}{N(t)∈B} for t≥0t\ge0t≥0, path regularity w.p. 1 (left continuity at t>0t>0t>0, right limits at t≥0t\ge0t≥0), joint measurability on Ω×[0,∞)\Omega\times[0,\infty)Ω×[0,∞), and lack of anticipation as independence of the σ-field of future increments of AAA from Ft\mathcal F_tFt​. The milestones (2), (3), (7) and (11) need less: (2) and (3) are stated under the printed LAA, and (7) and (11) under no independence assumption at all.
  • The limit and the expectations. V(∞)V(\infty)V(∞) is an arbitrary function Ω→R\Omega\to\mathbb RΩ→R, shared by both sides of the equivalence. Expectations in the milestones come with integrability conclusions, or are lower integrals in [0,∞][0,\infty][0,∞], so that no identity holds through Lean's junk value 000 for non-integrable functions.
  • Ruled out. A formalization in which V(∞)V(\infty)V(∞) is quantified separately on each side, which loses "to the same limit". A goal that assumes Lemma 2, (3) or the strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ as a hypothesis. A definition of YYY that counts distinct jump times and not arrivals.

Welcome contributions:

  • a reusable Poisson-process library: the strong law, square moments, independence of increments from a past σ-field;
  • a martingale strong law of Feller's type;
  • Stieltjes sums against counting paths.

All of these are useful well beyond this mission.

Selected references

  • R. W. Wolff, Poisson Arrivals See Time Averages, Operations Research 30(2):223–231, 1982. https://doi.org/10.1287/opre.30.2.223
  • S. Watanabe, On discontinuous additive functionals and Lévy measures of a Markov process, Japanese Journal of Mathematics 34:53–70, 1964. https://doi.org/10.4099/jjm1924.34.0_53
  • B. Melamed and W. Whitt, On arrivals that see time averages, Operations Research 38(1):156–172, 1990. https://doi.org/10.1287/opre.38.1.156
  • P. Brémaud and J. Jacod, Processus ponctuels et martingales: résultats récents sur la modélisation et le filtrage, Advances in Applied Probability 9(2):362–416, 1977. https://doi.org/10.2307/1426091
  • S. Stidham, Regenerative processes in the theory of queues, with applications to the alternating-priority queue, Advances in Applied Probability 4(3):542–577, 1972.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
11 thms1 active userReviewed
Operations ResearchReinforcement LearningStochastic Systems·Captain: mikedeng1

Asynchronous Stochastic Approximation and Q-Learning 2: Asynchronous Stochastic Approximation with Outdated Information Converges with Probability 1 Under a Weighted Maximum Norm ContractionResearch Paper

Motivation

Many iterative algorithms update only part of a vector at a time. In a parallel implementation, one processor may read a value written several rounds earlier by another processor. Random observations also perturb each update. John N. Tsitsiklis's 1994 paper gives conditions under which such an asynchronous stochastic iteration still converges. The paper develops the result to analyze Q-learning, where state-action values are revised from sampled costs and successor states. Its general theorem also applies to iterative fixed-point calculations beyond that application.

The central issue is that a processor can choose which component to update after seeing the past, and its input can be stale. A convergence theorem that presumes a fixed update schedule or current data would miss both features. The paper's Assumptions 1–3 describe when delays, sampling noise, and random step sizes remain compatible with almost-sure convergence. Assumption 5 gives a weighted maximum norm contraction for the iteration map. Theorem 3 combines these conditions into the target of this mission.

Setting

Fix a positive integer nnn and write x(t)∈Rnx(t)\in\mathbb R^nx(t)∈Rn for the vector after round t≥0t\ge0t≥0. Let F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn be the map whose fixed point the iteration seeks. For component iii, the step size αi(t)\alpha_i(t)αi​(t) lies in [0,1][0,1][0,1], the noise is wi(t)w_i(t)wi​(t), and τji(t)≤t\tau^i_j(t)\le tτji​(t)≤t is the time from which component jjj was read. Thus xi(t)x^i(t)xi(t) has coordinates xj(τji(t))x_j(\tau^i_j(t))xj​(τji​(t)). With αi(t)=0\alpha_i(t)=0αi​(t)=0 when component iii is idle, all rounds obey the single update equation

xi(t+1)=xi(t)+αi(t)(Fi(xi(t))−xi(t)+wi(t)).x_i(t+1)=x_i(t)+\alpha_i(t)\bigl(F_i(x^i(t))-x_i(t)+w_i(t)\bigr).xi​(t+1)=xi​(t)+αi​(t)(Fi​(xi(t))−xi​(t)+wi​(t)).

All quantities live on a probability space with law P\mathsf PP. The increasing filtration F(t)\mathcal F(t)F(t) represents information available when the step sizes and delays are selected, before the round's noise is observed. Assumption 1 says every timestamp τji(t)\tau^i_j(t)τji​(t) tends to infinity almost surely: no fixed old value remains in use forever. Assumption 2 makes the initial state, chosen step sizes, delays, and noise measurable at the specified times; the noise has conditional mean zero, and its conditional second moment is bounded by a deterministic affine function of the largest squared iterate seen so far. Assumption 3 requires, for each component, divergent total step size and a square-summable step-size sequence, with a deterministic bound on all squared partial sums.

For a vector vvv with strictly positive coordinates, the weighted maximum norm is ∥z∥v=max⁡i∣zi∣/vi\|z\|_v=\max_i |z_i|/v_i∥z∥v​=maxi​∣zi​∣/vi​. Assumption 5 provides x∗∈Rnx^*\in\mathbb R^nx∗∈Rn and β∈[0,1)\beta\in[0,1)β∈[0,1) such that ∥F(x)−x∗∥v≤β∥x−x∗∥v\|F(x)-x^*\|_v\le\beta\|x-x^*\|_v∥F(x)−x∗∥v​≤β∥x−x∗∥v​ for every xxx. Assumption 6, used in the boundedness milestone, requires the related growth bound ∥F(x)∥v≤β∥x∥v+D\|F(x)\|_v\le\beta\|x\|_v+D∥F(x)∥v​≤β∥x∥v​+D for some real DDD. The weighted norm permits different component scales.

Formalization targets

Boundedness under a weighted growth bound

Theorem 1 is the main intermediate target. Under Assumptions 1, 2, 3, and 6, it asserts

P ⁣(∃M∈R  ∀t,i, ∣xi(t)∣≤M)=1.\mathsf P\!\left(\exists M\in\mathbb R\;\forall t,i,\ |x_i(t)|\le M\right)=1.P(∃M∈R∀t,i, ∣xi​(t)∣≤M)=1.

The bound MMM may depend on the sample path. Lemmas 1–3 of the paper are milestones in its analysis: a scalar noisy recursion converges, its tails become uniformly small, and the pathwise bounds in the contradiction step hold.

Almost-sure convergence under a weighted contraction

The goal is Theorem 3, under Assumptions 1, 2, 3, and 5:

P ⁣(lim⁡t→∞x(t)=x∗)=1.\mathsf P\!\left(\lim_{t\to\infty}x(t)=x^*\right)=1.P(t→∞lim​x(t)=x∗)=1.

This theorem does not assume bounded iterates or Assumption 6 separately. Its proof uses Theorem 1 after deriving the needed growth bound from the contraction condition. Lemma 8 is the remaining milestone, comparing the coordinate iterates to an auxiliary deterministic recursion and a noise tail.

Significance

The result gives a fixed-point convergence guarantee when coordinates update at different times, delays can vary, and update choices can depend on past observations. In the paper's Q-learning application, these features describe exploratory sampling and possible parallel computation with old state-action values. For discounted problems, the associated Q-learning map contracts in the maximum norm, so Theorem 3 supplies the convergence step once the stochastic assumptions are checked (Tsitsiklis 1994, §7).

The mathematical results were proved in 1994; this mission asks for machine-checked proofs of their formal statements. Its reusable output would include a model of asynchronous noisy iteration, a scalar martingale-noise convergence lemma with random conditional variance bounds, and a precise interface between weighted contractions and pathwise convergence. The goal and milestone theorem files are currently statements with proof holes, while the definition file compiles without one.

Difficulty

A coordinate's next value depends on a vector assembled from observations at several earlier times. A direct estimate against the current error therefore does not close: the stale coordinates can reflect larger past errors. The noise condition is also tied to the largest iterate seen so far, so a deterministic global variance bound is unavailable before boundedness has been established. These two dependencies make the ordinary synchronous contraction argument insufficient. The scalar noise result and the pathwise comparison lemmas isolate the conditions needed for the boundedness and convergence statements.

Formalization scope

Vectors are functions Fin n → ℝ, with n>0n>0n>0; the source labels coordinates 1,…,n1,\ldots,n1,…,n, while Fin n starts at zero. Function order is componentwise. The model sets αi(t)=0\alpha_i(t)=0αi​(t)=0 on idle rounds and uses the paper's unified update equation. It does not store the sets of update times separately. The delay values on idle rounds are left arbitrary because they do not affect the update; the source chooses the current time there. All step sizes lie in [0,1][0,1][0,1], and all delays are at most the current time, on every sample path.

The probability law is a probability measure. The filtration consists of increasing sub-σ-algebras. The iterate sequence is explicitly assumed adapted in the main theorems, matching the paper's use of x(t)x(t)x(t) and its running maximum as F(t)\mathcal F(t)F(t)-measurable random variables. Conditional moment assumptions use integral inequalities over measurable sets, allowing generalized conditional expectations when the noise need not have a finite unconditional second moment. The conditional upper bound is required nonnegative almost surely, as the original inequality entails. Divergence and square summability use partial sums, so a non-summable series cannot receive a default value.

The maximum norm is the finite supremum of coordinate absolute values, and the weighted norm divides by the strictly positive coordinates of vvv. Almost-sure boundedness means a path-dependent finite bound on every coordinate and time. Pathwise Lemmas 3 and 8 are stated on a retained sample path, with the auxiliary quantities and hypotheses established at their locations in the paper; Lemma 8 uses the proof's translated and rescaled coordinates. These conventions rule out an empty coordinate type, junk integrals, and a vacuous boundedness claim. Contributions to the stated lemmas, their probabilistic infrastructure, and the final convergence proof are within scope.

Selected references

  • John N. Tsitsiklis, Asynchronous Stochastic Approximation and Q-Learning, Machine Learning 16 (1994), 185–202. DOI: 10.1023/A:1022689125041.
7 thms1 active userReviewed
PreviousPage 33 of 38Next

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