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 · 709 completed

Missions

Open932Completed709All1641
Algorithmic Game TheoryAnalysisOperations Research·Captain: mikedeng1

Values of Large Games II: Oceanic Games 1: Closed-Form Values of Interior Oceanic GamesResearch Paper

Motivation

Weighted voting bodies often combine a few large blocs with a mass of small, unorganized voters: shareholders' meetings with a handful of large holders and a dispersed float, legislatures with party blocs and independents. The Shapley value measures each participant's voting power as the probability of being pivotal — the one whose arrival first turns a losing coalition into a winning one — when participants arrive in a uniformly random order. For many small voters this computation becomes a combinatorial problem whose size grows with the number of voters.

Milnor and Shapley (RAND RM-2649, 1961; revised as Mathematics of Operations Research 3(4), 1978) replaced the small voters by a continuum, the ocean, and obtained explicit formulas for the power of the large voters. The memorandum is the second of a RAND series on values of large games; the first (L. S. Shapley and N. Z. Shapiro, Values of Large Games, I: A Limit Theorem, RM-2648, 1960) proves the limit theorem for finite games with many small players on which the oceanic model rests. This mission formalizes the part of the memorandum that leads to explicit closed forms for the values of interior oceanic games (§2, §4, §5).

Setting

There are mmm major players M={1,…,m}M = \{1, \dots, m\}M={1,…,m} with weights w1,…,wm≥0w_1, \dots, w_m \ge 0w1​,…,wm​≥0, and w(S)=∑j∈Swjw(S) = \sum_{j \in S} w_jw(S)=∑j∈S​wj​. The ocean is the interval I=[0,1]I = [0,1]I=[0,1] with Lebesgue measure, carrying total weight α>0\alpha > 0α>0. In the oceanic game [c;w1,…,wm;α][c; w_1, \dots, w_m; \alpha][c;w1​,…,wm​;α] with quota ccc, a coalition wins when the weight of its major players plus α\alphaα times its share of the ocean is at least ccc.

The random order is modelled by a uniform random point x=(x1,…,xm)x = (x_1, \dots, x_m)x=(x1​,…,xm​) of the cube ImI^mIm: major player jjj is inserted into the ocean at position xjx_jxj​, and P(t)={j:xj<t}P(t) = \{ j : x_j < t \}P(t)={j:xj​<t} is the set of major players placed before position ttt. Player iii is pivotal when

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

and the value φi\varphi_iφi​ of player iii is the probability of (2.4), i.e. the volume of the set Ai⊆ImA_i \subseteq I^mAi​⊆Im where it holds. The combined value of the ocean is Φ=1−∑iφi\Phi = 1 - \sum_{i} \varphi_iΦ=1−∑i​φi​ (2.5).

With the quota yyy as a variable, Γ(y)=[y;w1,…,wm;α]\Gamma(y) = [y; w_1, \dots, w_m; \alpha]Γ(y)=[y;w1​,…,wm​;α] has values φi(y)\varphi_i(y)φi​(y), Φ(y)\Phi(y)Φ(y), and the pivot location F(y)=inf⁡{t≥0:w(P(t))+αt≥y}F(y) = \inf\{t \ge 0 : w(P(t)) + \alpha t \ge y\}F(y)=inf{t≥0:w(P(t))+αt≥y} is a random, nondecreasing, piecewise linear function of yyy with expectation E{F(y)}E\{F(y)\}E{F(y)}. Adding a major player m+1m+1m+1 of weight wm+1w_{m+1}wm+1​ gives the game Γ+\Gamma^+Γ+.

The game is interior when

w(M)≤c≤α,w(M) \le c \le \alpha,w(M)≤c≤α,

that is, the ocean alone wins and the major players together lose. With wˉj=α−wj\bar w_j = \alpha - w_jwˉj​=α−wj​, define π(S)=∏j∈Swjα∏j∈M−Swˉjα\pi(S) = \prod_{j \in S} \tfrac{w_j}{\alpha} \prod_{j \in M - S} \tfrac{\bar w_j}{\alpha}π(S)=∏j∈S​αwj​​∏j∈M−S​αwˉj​​ for S⊆MS \subseteq MS⊆M, the analogous product πi(S)\pi_i(S)πi​(S) over M−{i}M - \{i\}M−{i} for S⊆M−{i}S \subseteq M - \{i\}S⊆M−{i}, and the integers a0=1a_0 = 1a0​=1, an=1−nan−1a_n = 1 - n a_{n-1}an​=1−nan−1​, i.e. 1,0,1,−2,9,−44,…1, 0, 1, -2, 9, -44, \dots1,0,1,−2,9,−44,…

Formalization targets

Goal: Theorem 6 (p. 20)

In an interior game, with s=∣S∣s = |S|s=∣S∣,

φi=wiα∑S⊆M−{i}as πi(S),Φ=∑S⊆Mas π(S).\varphi_i = \frac{w_i}{\alpha} \sum_{S \subseteq M - \{i\}} a_s \, \pi_i(S), \qquad \Phi = \sum_{S \subseteq M} a_s \, \pi(S).φi​=αwi​​S⊆M−{i}∑​as​πi​(S),Φ=S⊆M∑​as​π(S).

Both identities are part of the goal. The values do not depend on ccc within the interior range.

Milestones

  1. §2, p. 5: the pivot sets A1,…,AmA_1, \dots, A_mA1​,…,Am​ overlap only in measure zero.
  2. (4.3): φi(y)=Prob⁡{F(y)=xi}\varphi_i(y) = \operatorname{Prob}\{F(y) = x_i\}φi​(y)=Prob{F(y)=xi​} for 0≤y≤w(M)+α0 \le y \le w(M) + \alpha0≤y≤w(M)+α.
  3. (4.4)–(4.5): for 0<y<w(M)+α0 < y < w(M) + \alpha0<y<w(M)+α, FFF is differentiable at yyy almost surely, ∑iφi(y)=Prob⁡{F′(y)=0}\sum_i \varphi_i(y) = \operatorname{Prob}\{F'(y) = 0\}∑i​φi​(y)=Prob{F′(y)=0} and Φ(y)=Prob⁡{F′(y)=1/α}\Phi(y) = \operatorname{Prob}\{F'(y) = 1/\alpha\}Φ(y)=Prob{F′(y)=1/α}.
  4. Theorem 2, (4.7): Φ(y)=α ddyE{F(y)}\Phi(y) = \alpha \, \frac{d}{dy} E\{F(y)\}Φ(y)=αdyd​E{F(y)}.
  5. Lemma, (4.12)–(4.13): φm+1+(z)=1α∫t1t2Φ(y) dy\varphi^+_{m+1}(z) = \frac{1}{\alpha} \int_{t_1}^{t_2} \Phi(y)\, dyφm+1+​(z)=α1​∫t1​t2​​Φ(y)dy with t1=max⁡(z−wm+1,0)t_1 = \max(z - w_{m+1}, 0)t1​=max(z−wm+1​,0), t2=min⁡(z,w(M)+α)t_2 = \min(z, w(M) + \alpha)t2​=min(z,w(M)+α).
  6. Theorem 5, (5.4): if [c;w1,…,wm;α][c; w_1, \dots, w_m; \alpha][c;w1​,…,wm​;α] and [d;w1,…,wm+1;α][d; w_1, \dots, w_{m+1}; \alpha][d;w1​,…,wm+1​;α] are both interior, φm+1+=1αΦwm+1\varphi^+_{m+1} = \frac{1}{\alpha} \Phi w_{m+1}φm+1+​=α1​Φwm+1​.
  7. Proof of Theorem 6, p. 21: the right-hand sides above add up to 1, an identity valid for all real wjw_jwj​ and α≠0\alpha \ne 0α=0.

Further items, not milestones: the Corollary (5.5), Theorem 3 (averaged over all quotas, each value equals the player's share of the total weight), Theorem 4 (small players behave like ocean), and (5.8) with its footnote (∣an∣|a_n|∣an​∣ is the nearest integer to n!/en!/en!/e and counts derangements).

Significance

Theorem 6 turns the voting power of the large blocs, a priori a probability over a continuum of orderings, into a finite multilinear polynomial in the ratios wj/αw_j/\alphawj​/α. Table 1 of the memorandum lists the cases m≤3m \le 3m≤3, and the theorem gives every mmm. Its coefficients are signed derangement numbers. The Corollary (5.5) states that a major player's value per vote equals the ocean's value per vote in the game without that player.

The memorandum's arguments are short and partly heuristic: "E commutes with the derivative", the disjointness of the pivot sets is "obvious", and the induction for Theorem 6 relies on the symmetry of the value in the major players, which is never stated. A formalization makes each of these steps precise, including the measure-zero exceptions and the quota ranges. To our knowledge none of these results has a machine-checked proof; Mathlib has the Lebesgue measure on cubes, interval integrals and derangement numbers, but no game-theoretic value with a continuum of players.

Difficulty

The values are volumes of regions of ImI^mIm cut out by inequalities whose shape depends on the order of the coordinates, so a direct computation splits into m!m!m! order cells, with the quota ccc entering each. The paper's route avoids this by passing through the random function FFF, Theorem 2 and the Lemma; that route needs differentiation under the integral sign for a function that is only piecewise linear in yyy, with kinks at random locations, and an exact bookkeeping of the interval of integration when the quota approaches the ends of [0,w(M)+α][0, w(M) + \alpha][0,w(M)+α]. Theorem 6 is then an induction on mmm that uses Theorem 5 for every player in turn, so it also needs the invariance of φi\varphi_iφi​ under a relabelling of the major players.

Formalization scope

  • Major players are Fin m (m=0m = 0m=0 is allowed; then Φ=1\Phi = 1Φ=1). The probability of an event is the Lebesgue volume of its intersection with [0,1]m[0,1]^m[0,1]m; no probability space is built.
  • P(t)P(t)P(t) uses the strict inequality xj<tx_j < txj​<t, as printed.
  • φi\varphi_iφi​ is defined as the volume of the pivot set (2.4), for every real quota. Φ\PhiΦ is defined by (2.5), as the paper allows ("We might equally well take (2.5) as the definition of Φ\PhiΦ"). Neither is defined through the formulas of Theorem 6 or through FFF; defining them that way would make the goal an unfolding, and is ruled out.
  • The paper writes (4.2) as a minimum F(y)=min⁡{x∣w(P(x))+αx≥y}F(y) = \min\{x \mid w(P(x)) + \alpha x \ge y\}F(y)=min{x∣w(P(x))+αx≥y}, which need not be attained; FFF is the infimum over t≥0t \ge 0t≥0, the value shown in its Fig. 3.
  • The standing assumptions wj≥0w_j \ge 0wj​≥0 and α>0\alpha > 0α>0 (§2) are explicit hypotheses. The p. 5 footnote's 0≤c≤w(M)+α0 \le c \le w(M)+\alpha0≤c≤w(M)+α applies to the pivot-set milestone. Other quota ranges are explicit: 0≤y≤w(M)+α0 \le y \le w(M) + \alpha0≤y≤w(M)+α for (4.3) and Theorem 2 (one-sided derivatives at the ends), the open interval for (4.4)–(4.5) (two-sided derivatives, stated with HasDerivAt), and 0≤z≤w(M)+wm+1+α0 \le z \le w(M) + w_{m+1} + \alpha0≤z≤w(M)+wm+1​+α for the Lemma, as on p. 14.
  • The added player is appended with Fin.snoc as index Fin.last m.
  • Corollary (5.5) assumes wi>0w_i > 0wi​>0, since it divides by wiw_iwi​. Theorem 4, stated in the paper "in the general oceanic game", is false at quota 000 and when the limit game has no winning coalition; it is stated for 0<c≤w(M−{i})+α0 < c \le w(M - \{i\}) + \alpha0<c≤w(M−{i})+α.
  • The identity of milestone 7 is pure algebra and is stated for all real weights and α≠0\alpha \ne 0α=0.

A complete development needs: measurability of the pivot sets and of FFF in xxx, the structure of FFF as a piecewise linear function of yyy, differentiation of E{F}E\{F\}E{F}, and invariance of the values under permutations of the major players. The pivot-set and FFF infrastructure is reusable for the companion mission on limits of finite weighted majority games. Contributions of any of the milestones, of the symmetry lemma, and of the non-milestone items are welcome.

Selected references

  • J. W. Milnor and L. S. Shapley, Values of Large Games, II: Oceanic Games, The RAND Corporation, Research Memorandum RM-2649, February 1961. https://www.rand.org/pubs/research_memoranda/RM2649.html
  • J. W. Milnor and L. S. Shapley, Values of Large Games II: Oceanic Games, Mathematics of Operations Research 3(4):290–307, 1978. https://doi.org/10.1287/moor.3.4.290
  • L. S. Shapley, A Value for n-Person Games, in Contributions to the Theory of Games II, Annals of Mathematics Studies 28, Princeton University Press, 1953, 307–317. https://doi.org/10.1515/9781400881970-018
  • L. S. Shapley and N. Z. Shapiro, Values of Large Games, I: A Limit Theorem, The RAND Corporation, Research Memorandum RM-2648, November 1960.
  • R. J. Aumann and L. S. Shapley, Values of Non-Atomic Games, Princeton University Press, 1974. https://doi.org/10.1515/9781400867080
9 thms2 active usersReviewed
🏆Completed
Machine LearningOperations ResearchTheoretical Computer Science·Captain: mikedeng1

The Weighted Majority Algorithm 6: Under the Weak Independence Condition, the Randomized Master WMR Has E(m) ≤ E(ln(w_init/w_fin))/(1−β)Research Paper

Motivation

Prediction with expert advice asks a learner to predict a binary label in each of a sequence of trials, having seen the predictions of a pool of nnn prediction algorithms (the experts), and to make not many more mistakes than the best of them, with no probabilistic assumption on how the instances and labels are generated. Littlestone and Warmuth's Weighted Majority Algorithm (Littlestone, Warmuth 1994) maintains a weight for each pool member, predicts by a weighted vote, and shrinks the weights of members that err. Its mistake bounds are the origin of the multiplicative-weights method used throughout online learning, game theory and optimization (Arora, Hazan, Kale 2012).

A deterministic master with binary predictions can be forced to err in every trial in which the weight is split evenly, which costs it a factor of about two against the best expert. Section 6 of the paper introduces a randomized master, WMR, which predicts 111 with probability equal to the weighted average prediction of the pool. Theorem 6.1 bounds its expected number of mistakes under a precisely stated condition on how its randomization interacts with the choice of instances and labels.

Timeline:

  • 1989: Littlestone and Warmuth's technical report and FOCS paper introduce the Weighted Majority Algorithm and its randomized variant.
  • 1991: Maass independently analyses the case β=0\beta = 0β=0 with binary pool predictions and a lazy update ([Maa91], cited in the paper).
  • 1994: the journal version states the weak independence condition and proves Theorem 6.1 (p. 240).
  • 1997: Freund and Schapire's Hedge algorithm recasts the randomized master as a distribution over experts in a decision-theoretic setting (Freund, Schapire 1997).

Setting

A pool of nnn algorithms is run for ttt trials on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P). In trial jjj the pool member iii predicts xi(j)∈[0,1]x_i^{(j)} \in [0,1]xi(j)​∈[0,1], the label is ρ(j)∈{0,1}\rho^{(j)} \in \{0,1\}ρ(j)∈{0,1}, and the master predicts λ(j)∈{0,1}\lambda^{(j)} \in \{0,1\}λ(j)∈{0,1}. All of these are random variables; deterministic sequences are a special case. Write x(j)=(x1(j),…,xn(j))x^{(j)} = (x_1^{(j)}, \dots, x_n^{(j)})x(j)=(x1(j)​,…,xn(j)​).

Each member carries a weight. The initial weights wi(1)w_i^{(1)}wi(1)​ are positive, and the update step (5.1) multiplies the weight of member iii in trial jjj by a factor FFF that depends on β\betaβ, xi(j)x_i^{(j)}xi(j)​ and ρ(j)\rho^{(j)}ρ(j):

wi(j+1)=F wi(j),β∣xi(j)−ρ(j)∣≤F≤1−(1−β) ∣xi(j)−ρ(j)∣,w_i^{(j+1)} = F\,w_i^{(j)}, \qquad \beta^{|x_i^{(j)}-\rho^{(j)}|} \le F \le 1-(1-\beta)\,|x_i^{(j)}-\rho^{(j)}|,wi(j+1)​=Fwi(j)​,β∣xi(j)​−ρ(j)∣≤F≤1−(1−β)∣xi(j)​−ρ(j)∣,

where 0≤β<10 \le \beta < 10≤β<1 and 00=10^0 = 100=1. WMR updates in every trial. Let s(j)=∑iwi(j)s^{(j)} = \sum_i w_i^{(j)}s(j)=∑i​wi(j)​, so s(1)=winits^{(1)} = w_{\mathrm{init}}s(1)=winit​ and s(t+1)=wfins^{(t+1)} = w_{\mathrm{fin}}s(t+1)=wfin​, and let

γ(j)=∑i=1nwi(j)xi(j)s(j)\gamma^{(j)} = \frac{\sum_{i=1}^n w_i^{(j)} x_i^{(j)}}{s^{(j)}}γ(j)=s(j)∑i=1n​wi(j)​xi(j)​​

be the weighted average prediction. WMR predicts 111 with probability γ(j)\gamma^{(j)}γ(j). Its number of mistakes is m=∑j=1t∣λ(j)−ρ(j)∣m = \sum_{j=1}^t |\lambda^{(j)} - \rho^{(j)}|m=∑j=1t​∣λ(j)−ρ(j)∣.

The weak independence condition (p. 238) requires, for j=1,…,tj = 1, \dots, tj=1,…,t,

E(λ(j) ∣ (x(1),ρ(1)),…,(x(j),ρ(j)))=γ(j)almost surely.\mathbf E\big(\lambda^{(j)} \,\big|\, (x^{(1)},\rho^{(1)}), \dots, (x^{(j)},\rho^{(j)})\big) = \gamma^{(j)} \quad \text{almost surely}.E(λ(j)​(x(1),ρ(1)),…,(x(j),ρ(j)))=γ(j)almost surely.

The conditioning includes the current predictions of the pool and the current label. It allows instances and labels to depend on the master's past predictions, and it holds, for instance, when WMR draws one uniform number r∈[0,1]r \in [0,1]r∈[0,1] and predicts 111 whenever γ(j)≥r\gamma^{(j)} \ge rγ(j)≥r, provided the instances and labels are generated independently of rrr.

Formalization targets

Goal: Theorem 6.1

Under the weak independence condition, and with wfin>0w_{\mathrm{fin}} > 0wfin​>0 almost surely,

E(m)≤E(ln⁡(winit/wfin))1−β.\mathbf E(m) \le \frac{\mathbf E\big(\ln(w_{\mathrm{init}}/w_{\mathrm{fin}})\big)}{1-\beta}.E(m)≤1−βE(ln(winit​/wfin​))​.

The statement fixes neither the pool, nor the update factors within (5.1), nor the distribution of instances and labels.

Milestone: expected mistakes equal expected loss of the weighted average

The step of the proof on p. 240: under the weak independence condition, E(∣λ(j)−ρ(j)∣∣Fj)=∣γ(j)−ρ(j)∣\mathbf E(|\lambda^{(j)}-\rho^{(j)}| \mid \mathcal F_j) = |\gamma^{(j)}-\rho^{(j)}|E(∣λ(j)−ρ(j)∣∣Fj​)=∣γ(j)−ρ(j)∣ almost surely, and hence

E(m)=E(∑j=1t∣γ(j)−ρ(j)∣).\mathbf E(m) = \mathbf E\Big(\sum_{j=1}^t |\gamma^{(j)}-\rho^{(j)}|\Big).E(m)=E(j=1∑t​∣γ(j)−ρ(j)∣).

Significance

Theorem 6.1 gives the randomized master the same bound that Theorem 5.2 gives the deterministic master WMC, whose predictions are allowed to lie in [0,1][0,1][0,1]. With equal initial weights, ln⁡(winit/wfin)≤ln⁡n+miln⁡(1/β)\ln(w_{\mathrm{init}}/w_{\mathrm{fin}}) \le \ln n + m_i \ln(1/\beta)ln(winit​/wfin​)≤lnn+mi​ln(1/β) for every pool member iii with total loss mim_imi​, and the bound yields Corollary 6.1 (p. 241): E(m)≤(ln⁡n+E(mi)ln⁡(1/β))/(1−β)\mathbf E(m) \le (\ln n + \mathbf E(m_i)\ln(1/\beta))/(1-\beta)E(m)≤(lnn+E(mi​)ln(1/β))/(1−β). For β\betaβ close to 111 this is better by nearly a factor of two than the bound for the deterministic binary master WMG. The weak independence condition is also what makes the bound valid against labels that adapt to the master's past predictions, which is the setting of later regret analyses.

The result is proved in the paper; this mission produces a machine-checked version. The platform has proofs of the randomized weighted majority bound in the form of Hazan's Lemma 1.4 and of Mohri et al.'s Theorem 8.4, but both state an expectation over the algorithm's internal distribution with deterministic data, unit weights and one fixed update rule. Neither covers random instances and labels, the conditional-expectation condition, or the whole class of updates (5.1).

Difficulty

The pathwise part of the argument is the loss bound for the weighted average (Lemma 5.3, posed in the companion mission on WMC). The new difficulty is probabilistic. The predictions, labels and weights are random and may depend on each other across trials, so the mistake indicator ∣λ(j)−ρ(j)∣|\lambda^{(j)}-\rho^{(j)}|∣λ(j)−ρ(j)∣ cannot be replaced by ∣γ(j)−ρ(j)∣|\gamma^{(j)}-\rho^{(j)}|∣γ(j)−ρ(j)∣ pointwise. The replacement holds only after conditioning on the σ\sigmaσ-algebra Fj\mathcal F_jFj​, and requires that ρ(j)\rho^{(j)}ρ(j) is Fj\mathcal F_jFj​-measurable and binary, so that the indicator is affine in λ(j)\lambda^{(j)}λ(j). A reading that conditions on less (dropping the current label) or uses unconditional expectations does not support this step when the label depends on earlier randomness.

A second difficulty is that E(ln⁡(winit/wfin))\mathbf E(\ln(w_{\mathrm{init}}/w_{\mathrm{fin}}))E(ln(winit​/wfin​)) may be infinite: the weights can become arbitrarily small with positive probability.

Formalization scope

The pool is Fin n; trials are indexed from 000 to t−1t-1t−1, so totalWeight … 0 is winitw_{\mathrm{init}}winit​ and totalWeight … t is wfinw_{\mathrm{fin}}wfin​. The probability space is a measure P with IsProbabilityMeasure P. Predictions, labels and master predictions are real-valued measurable random variables; pool predictions lie in [0,1][0,1][0,1] and labels and master predictions in {0,1}\{0,1\}{0,1} on every sample path. Initial weights are deterministic and positive. The update factor of member iii in trial jjj is a measurable function Fj,i(x,r)F_{j,i}(x, r)Fj,i​(x,r) of the member's prediction and the label, satisfying (5.1) on every sample path; the weights are computed from it, so they are random variables determined by the predictions and labels. Fj\mathcal F_jFj​ is the supremum of the σ\sigmaσ-algebras generated by the pairs (x(k),ρ(k))(x^{(k)}, \rho^{(k)})(x(k),ρ(k)), k≤jk \le jk≤j, and the weak independence condition is stated with Mathlib's conditional expectation P[λ j | 𝓕 j].

Expectations in the goal are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], so the right-hand side may be +∞+\infty+∞ and no integrability of the logarithm is assumed. The hypothesis wfin>0w_{\mathrm{fin}} > 0wfin​>0 almost surely excludes the case where the paper's bound is infinite and Lean's ln⁡0=0\ln 0 = 0ln0=0 would make the literal statement false. A formalization that replaces the conditional expectation by the unconditional one, takes the logarithm's Bochner integral (which is 000 when the logarithm is not integrable), or restricts to deterministic instances and labels does not state Theorem 6.1.

A complete development needs the pathwise loss bound of Lemma 5.3 for this weight model, the pull-out property of conditional expectations for bounded measurable factors, and the exchange of expectation and finite sums. The weight model and the filtration are reusable for Theorem 6.3 and for the lazy variant of the Appendix. Proofs of the milestone and of the goal are welcome, as are formalizations of Corollary 6.1.

Selected references

  • N. Littlestone, M. K. Warmuth, The Weighted Majority Algorithm, Information and Computation 108(2), 212–261, 1994. https://doi.org/10.1006/inco.1994.1009
  • Y. Freund, R. E. Schapire, A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting, Journal of Computer and System Sciences 55(1), 119–139, 1997. https://doi.org/10.1006/jcss.1997.1504
  • S. Arora, E. Hazan, S. Kale, The Multiplicative Weights Update Method: a Meta-Algorithm and Applications, Theory of Computing 8, 121–164, 2012. https://doi.org/10.4086/toc.2012.v008a006
  • N. Cesa-Bianchi, G. Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006. https://doi.org/10.1017/CBO9780511546921
3 thms2 active usersReviewed
🏆Completed
Group Theory·Captain: dbenbenn

Erschler–Zheng: growth of periodic Grigorchuk groupsResearch Paper

This mission formalizes A. Erschler and T. Zheng, Growth of periodic Grigorchuk groups, Invent. Math. 219 (2020) 1069–1155 (doi:10.1007/s00222-019-00922-0). Page and result numbers are those of arXiv:1802.09077v2.

Motivation

The growth function vΓ,S(n)v_{\Gamma,S}(n)vΓ,S​(n) of a group Γ\GammaΓ generated by a finite set SSS counts the elements of word length at most nnn. A group has polynomial growth, exponential growth, or intermediate growth, strictly between the two. Grigorchuk's groups GωG_\omegaGω​ were the first groups of intermediate growth, and for forty years the precise asymptotics of their growth was open, even for the most studied of them, the first Grigorchuk group G012G_{\mathbf{012}}G012​. Erschler and Zheng determine its growth exponent:

lim⁡n→∞log⁡log⁡vG,S(n)log⁡n=α0,\lim_{n\to\infty}\frac{\log\log v_{G,S}(n)}{\log n} = \alpha_0,n→∞lim​lognloglogvG,S​(n)​=α0​,

where α0=log⁡2/log⁡λ0≈0.7674\alpha_0 = \log 2/\log\lambda_0 \approx 0.7674α0​=log2/logλ0​≈0.7674 and λ0\lambda_0λ0​ is the positive root of X3−X2−2X−4X^3 - X^2 - 2X - 4X3−X2−2X−4. The upper bound was known; the new lower bound comes from random walks.

Timeline.

  • 1980: Grigorchuk introduces the first Grigorchuk group, a finitely generated infinite periodic group (doi:10.1007/BF01078416).
  • 1983: Kaimanovich and Vershik relate the Poisson boundary of a random walk to its asymptotic entropy (doi:10.1214/aop/1176993497); with Derriennic's work (Astérisque 74, 1980) this is the entropy criterion the lower bound rests on.
  • 1984: Grigorchuk defines the family GωG_\omegaGω​, proves intermediate growth, and shows exp⁡(cn1/2)≤vG,S(n)≤exp⁡(Cnlog⁡3231)\exp(cn^{1/2}) \le v_{G,S}(n) \le \exp(Cn^{\log_{32}31})exp(cn1/2)≤vG,S​(n)≤exp(Cnlog32​31) for G012G_{\mathbf{012}}G012​ (doi:10.1070/IM1985v025n02ABEH001281).
  • 1997: Leonov raises the lower exponent to 0.5040.5040.504 (Mat. Stud. 8 (1997) 192–197; no DOI).
  • 1998: Bartholdi proves vG,S(n)≤exp⁡(Cnα0)v_{G,S}(n) \le \exp(Cn^{\alpha_0})vG,S​(n)≤exp(Cnα0​) (doi:10.1155/S1073792898000622); Muchnik and Pak prove upper bounds of this kind for more general ω\omegaω in 2001 (doi:10.1142/S0218196701000450).
  • 2001: Bartholdi raises the lower exponent to 0.51570.51570.5157 (doi:10.1142/S0218196701000395); Brieussel's thesis (2008) reaches 0.52070.52070.5207.
  • 2020: Erschler and Zheng prove vG,S(n)≥exp⁡(cϵnα0−ϵ)v_{G,S}(n) \ge \exp(c_\epsilon n^{\alpha_0 - \epsilon})vG,S​(n)≥exp(cϵ​nα0​−ϵ), matching Bartholdi's upper bound.

Setting

T\mathsf TT is the rooted binary tree, its vertices the finite words over {0,1}\{0, 1\}{0,1} and its boundary ∂T\partial\mathsf T∂T the infinite rays; automorphisms act on the right, x↦x⋅gx \mapsto x \cdot gx↦x⋅g. For a string ω=ω0ω1…∈{0,1,2}N\omega = \omega_0\omega_1\ldots \in \{\mathbf 0, \mathbf 1, \mathbf 2\}^{\mathbb N}ω=ω0​ω1​…∈{0,1,2}N, the Grigorchuk group GωG_\omegaGω​ is generated by certain automorphisms of T\mathsf TT, S={a,bω,cω,dω}S = \{a, b_\omega, c_\omega, d_\omega\}S={a,bω​,cω​,dω​}. The automorphism aaa changes the first letter of a word, swapping the two subtrees of the root, while bω,cω,dωb_\omega, c_\omega, d_\omegabω​,cω​,dω​ are defined as follows. They fix 1∞1^\infty1∞, and on a word 1k0v1^k0v1k0v each of them either changes the first letter of vvv or does nothing, depending on the letter ωk\omega_kωk​ of the string: if ωk=0\omega_k = \mathbf 0ωk​=0, then bωb_\omegabω​ and cωc_\omegacω​ change it and dωd_\omegadω​ does nothing; if ωk=1\omega_k = \mathbf 1ωk​=1, then bωb_\omegabω​ and dωd_\omegadω​ change it and cωc_\omegacω​ does nothing; if ωk=2\omega_k = \mathbf 2ωk​=2, then cωc_\omegacω​ and dωd_\omegadω​ change it and bωb_\omegabω​ does nothing. The string ω=(012)∞\omega = (\mathbf{012})^\inftyω=(012)∞ gives the first Grigorchuk group.

Assumption Fr(D)\mathrm{Fr}(D)Fr(D) asks that every block ωkD…ωkD+D−1\omega_{kD}\ldots\omega_{kD+D-1}ωkD​…ωkD+D−1​ contain 201\mathbf{201}201 or 211\mathbf{211}211; it implies that GωG_\omegaGω​ is periodic. LnωL^\omega_nLnω​ is the sum of the entries of Mω0⋯Mωn−1M_{\omega_0}\cdots M_{\omega_{n-1}}Mω0​​⋯Mωn−1​​ for three explicit 3×33\times 33×3 matrices: the lengths of the words the substitutions of §2 produce.

A measure on a group is a function μ≥0\mu \ge 0μ≥0 of total mass 1. A function fff is μ\muμ-harmonic if f(x)=∑yf(xy)μ(y)f(x) = \sum_y f(xy)\mu(y)f(x)=∑y​f(xy)μ(y), the entropy is H(μ)=−∑gμ(g)log⁡μ(g)H(\mu) = -\sum_g \mu(g)\log\mu(g)H(μ)=−∑g​μ(g)logμ(g), and the Poisson boundary of (Γ,μ)(\Gamma, \mu)(Γ,μ) is non-trivial when some bounded μ\muμ-harmonic function is not constant.

Formalization targets

Goal: Theorem 8.3 (pp. 58), with the exponent the proof gives

For every ϵ>0\epsilon > 0ϵ>0 there is C>0C > 0C>0 such that for every ω\omegaω satisfying Fr(D)\mathrm{Fr}(D)Fr(D) there is a non-degenerate symmetric probability μ\muμ on GωG_\omegaGω​ of finite entropy and non-trivial Poisson boundary with, writing lSl_SlS​ for the word length,

μ{g:lS(g)>Lnω}≤C 2−(1−ϵ)n(n≥1),\mu\{g : l_S(g) > L^\omega_n\} \le C\,2^{-(1-\epsilon)n} \quad (n \ge 1),μ{g:lS​(g)>Lnω​}≤C2−(1−ϵ)n(n≥1),

and hence, for some c>0c > 0c>0 depending on ω\omegaω,

vGω,S(Lnω)≥exp⁡(c 2(1−ϵ)n)(n≥1).v_{G_\omega,S}(L^\omega_n) \ge \exp\bigl(c\,2^{(1-\epsilon)n}\bigr) \quad (n \ge 1).vGω​,S​(Lnω​)≥exp(c2(1−ϵ)n)(n≥1).

The printed theorem has nnn in place of 2n2^n2n; that version is weaker and does not give the exponent.

The abstract's headline, that the volume exponent of the first Grigorchuk group is α0\alpha_0α0​, is the last milestone, ErschlerZheng.hasVolumeExponent_firstString_alpha0: Theorem A combined with Bartholdi's upper bound.

Milestones

  • §2: the entropy criterion and the Shannon theorem for random walks (Kaimanovich–Vershik, external), the Avez entropy, and Lemma 2.1: a finite-entropy measure with non-trivial boundary forces vΓ,S(nϕ(ϱn))≥ecnv_{\Gamma,S}(n\phi(\varrho_n)) \ge e^{cn}vΓ,S​(nϕ(ϱn​))≥ecn for all large nnn.
  • §3: germs of the action on ∂T\partial\mathsf T∂T, the groupoid H(Ho)\mathcal H(H_o)H(Ho​), Fact 3.5, and Proposition 3.3: if the walk's germ at 1∞1^\infty1∞ stabilizes modulo a proper subgroup, the Poisson boundary is non-trivial.
  • §§2.4–2.5, 5, 7.1: the groups GωG_\omegaGω​ and their substitutions, the Schreier graph of 1∞1^\infty1∞ and its Gray-code distance, cube independence, Facts 7.3–7.6 and Lemma 7.5.
  • §7.2–7.6: the conjugated elements g~jv\tilde g^v_jg~​jv​ and the measures μβ\mu_\betaμβ​ (Lemmas 7.7, 7.9), kernel and Green-function bounds (Propositions 7.11, 7.12, 7.18, 7.19, Lemmas 7.15–7.17, 7.21), and Theorem 7.13: μβ\mu_\betaμβ​ has non-trivial Poisson boundary.
  • §8: Lemma 8.1, Corollary 8.2, the goal, and after it Theorem A and the exponent of G012G_{\mathbf{012}}G012​, with Bartholdi's upper bound as an external milestone.

Significance

The result. It answers the growth question for G012G_{\mathbf{012}}G012​: the exponent is α0\alpha_0α0​. It gives near-optimal lower bounds for every GωG_\omegaGω​ with ω\omegaω satisfying Fr(D)\mathrm{Fr}(D)Fr(D), and its measures are the first examples on these groups of random walks with non-trivial Poisson boundary and power-law tails. The method, building a measure with non-trivial boundary and controlled tail and reading off a volume bound from entropy, applies beyond Grigorchuk groups.

Formalizing it. No machine-checked proof of these results exists; Mathlib has neither Grigorchuk groups nor Poisson boundaries. On this platform the mission builds on the published bundle of the first Grigorchuk group, Garrido_Grigorchuk, from the Garrido Amenable Groups III mission, and on Chou's word balls, Chou_Growth. The general Markov-chain inputs (Cheeger, Faber–Krahn and Nash inequalities, and off-diagonal heat-kernel bounds) are separate standalone theorems.

Difficulty

Lower bounds by anti-contraction of word lengths (Grigorchuk, Leonov, Bartholdi, Brieussel) stall well below α0\alpha_0α0​. The entropy route needs a measure with non-trivial Poisson boundary, but on a group of subexponential growth every finitely supported symmetric measure has trivial boundary. The measure must therefore have heavy tails, and the lower bound it gives is only as good as its tail decay. The difficulty is to make the tails as light as α0\alpha_0α0​ allows while keeping the boundary non-trivial. That needs a non-homogeneous random walk on the Schreier graph of 1∞1^\infty1∞ to be transient enough to fix the germ at 1∞1^\infty1∞, and heat-kernel bounds for jump processes that are not translation invariant.

Formalization scope

Tree automorphisms are permutations of finite words (Garrido.BinaryTreeAut), acting on rays on the right by x⋅g=g−1(x)x \cdot g = g^{-1}(x)x⋅g=g−1(x), so that x⋅(gh)=(x⋅g)⋅hx \cdot (gh) = (x \cdot g) \cdot hx⋅(gh)=(x⋅g)⋅h. A measure is a function G→RG \to \mathbb RG→R summed with tsum; it is symmetric when μ(g−1)=μ(g)\mu(g^{-1}) = \mu(g)μ(g−1)=μ(g), and non-degenerate when its support generates GGG as a semigroup. The Poisson boundary is non-trivial (HasNontrivialPoissonBoundary) when some bounded harmonic function is not constant on the submonoid generated by the support of μ\muμ; for the non-degenerate measures of the goal this is the criterion of p. 2 (ErschlerZheng.hasNontrivialPoissonBoundary_iff_exists_bounded_isHarmonic_ne_of_isNondegenerate). Growth is evaluated at real radii. The definitions are in the bundles ErschlerZheng_Walks, ErschlerZheng_Germs, ErschlerZheng_Grigorchuk and ErschlerZheng_Construction.

Where a statement departs from the print, its milestone description says so: under Correction when the printed claim is false or undefined ((2.3), the substitutions on p. 15, Fact 3.5, the Gray code on p. 34, Fact 7.3, (012)∞∈Fr(3)(\mathbf{012})^\infty \in \mathrm{Fr}(3)(012)∞∈Fr(3) on p. 59, Lemmas 7.9, 7.17 and 7.21, Propositions 7.12 and 7.18, and the uniform digits on p. 55), and under Formalization note when it reads the print or strengthens it (Lemma 2.1, Proposition 7.19, Corollary 8.2, and the constants λ0\lambda_0λ0​ and α0\alpha_0α0​). The goal is Theorem 8.3 with the 2n2^n2n its proof gives, as above.

The goal is not trivial: its measure must be a non-degenerate symmetric probability on GωG_\omegaGω​, and the growth bound is about the generating set SSS itself.

Reusable beyond this mission: Grigorchuk groups GωG_\omegaGω​ for every ω\omegaω with their substitutions, germ groupoids of group actions, entropy and the Poisson boundary of random walks.

What is left out. Theorems B and C, Corollary 8.4 and the other applications in §8 to general ω\omegaω, which need the upper bounds of Bartholdi and Erschler (doi:10.5802/aif.2902); the side results of §§4–6 on the first Grigorchuk group (Theorem 5.7 and the critical constant of recurrence); the illustrative Examples 2.4 and 7.10; and the remarks and questions of §9. They are planned for a sequel mission.

Selected references

  • A. Erschler, T. Zheng, Growth of periodic Grigorchuk groups, Invent. Math. 219 (2020) 1069–1155. doi:10.1007/s00222-019-00922-0; arXiv:1802.09077
  • R. I. Grigorchuk, Burnside's problem on periodic groups, Funct. Anal. Appl. 14 (1980) 41–43. doi:10.1007/BF01078416
  • R. I. Grigorchuk, Degrees of growth of finitely generated groups, and the theory of invariant means, Math. USSR-Izv. 25 (1985) 259–300. doi:10.1070/IM1985v025n02ABEH001281
  • V. A. Kaimanovich, A. M. Vershik, Random walks on discrete groups: boundary and entropy, Ann. Probab. 11 (1983) 457–490. doi:10.1214/aop/1176993497
  • Y. Derriennic, Quelques applications du théorème ergodique sous-additif, Astérisque 74 (1980) 183–201. numdam
  • L. Bartholdi, The growth of Grigorchuk's torsion group, Internat. Math. Res. Notices 1998, no. 20, 1049–1054. doi:10.1155/S1073792898000622
  • R. Muchnik, I. Pak, On growth of Grigorchuk groups, Internat. J. Algebra Comput. 11 (2001) 1–17. doi:10.1142/S0218196701000450
  • L. Bartholdi, Lower bounds on the growth of a group acting on the binary rooted tree, Internat. J. Algebra Comput. 11 (2001) 73–88. doi:10.1142/S0218196701000395
  • M. T. Barlow, A. Grigor'yan, T. Kumagai, Heat kernel upper bounds for jump processes and the first exit time, J. Reine Angew. Math. 626 (2009) 135–157. doi:10.1515/CRELLE.2009.005
  • L. Bartholdi, A. Erschler, Groups of given intermediate word growth, Ann. Inst. Fourier 64 (2014) 2003–2036. doi:10.5802/aif.2902
67 thms2 active usersReviewed
OptimizationStatistics·Captain: mikedeng1

A Stochastic Approximation Method: If M Is Nondecreasing, M(θ) = α and M′(θ) > 0, the Robbins–Monro Iterates with Steps of Type 1/n Converge to θ in Mean SquareResearch Paper

Motivation

Many problems in statistics and engineering ask for the level θ\thetaθ at which an unknown function takes a prescribed value α\alphaα: the dose at which a fraction α\alphaα of subjects respond, the setting at which a noisy device reaches a target output, the α\alphaα-quantile of a distribution that can only be probed by yes/no experiments. When the function can only be observed through noisy measurements, classical root-finding does not apply. Robbins and Monro (Ann. Math. Statist. 22 (1951) 400–407) proposed a recursive procedure that uses one noisy observation per step and proved that it converges in mean square. The paper started the field of stochastic approximation, which today underlies stochastic gradient descent, temporal-difference learning and adaptive control.

Timeline. Robbins and Monro (1951) prove mean-square convergence for bounded responses under conditions (5′) or (33)–(35). Kiefer and Wolfowitz (1952) adapt the scheme to finding a maximum. Blum (1954) proves almost-sure convergence under weaker moment conditions. Dvoretzky (1956) gives a general convergence theorem covering both schemes. Later work (Robbins and Siegmund, 1971; Ljung, 1977; Kushner and Clark, 1978; Benaïm, 1999) develops the supermartingale and ODE methods.

Setting

To each real level xxx corresponds a random response Y(x)Y(x)Y(x) with distribution function H(y∣x)H(y \mid x)H(y∣x), and the regression function is

M(x)=∫−∞∞y dH(y∣x).M(x) = \int_{-\infty}^{\infty} y \, dH(y \mid x).M(x)=∫−∞∞​ydH(y∣x).

The responses are bounded: there is C>0C > 0C>0 with Pr⁡[∣Y(x)∣≤C]=1\Pr[|Y(x)| \le C] = 1Pr[∣Y(x)∣≤C]=1 for all xxx (condition (4)). Fix constants α,θ\alpha, \thetaα,θ and positive step sizes ana_nan​. The Robbins–Monro process starts at an arbitrary constant x1x_1x1​ and sets

xn+1−xn=an(α−yn),Pr⁡[yn≤y∣xn]=H(y∣xn),x_{n+1} - x_n = a_n(\alpha - y_n), \qquad \Pr[y_n \le y \mid x_n] = H(y \mid x_n),xn+1​−xn​=an​(α−yn​),Pr[yn​≤y∣xn​]=H(y∣xn​),

so yny_nyn​ is a fresh response observed at the current level xnx_nxn​. The quantity of interest is the mean squared error bn=E(xn−θ)2b_n = E(x_n - \theta)^2bn​=E(xn​−θ)2.

A sequence {an}\{a_n\}{an​} is of type 1/n1/n1/n if

∑n=1∞an2<∞(6),∑n=2∞ana1+⋯+an−1=∞(26);\sum_{n=1}^{\infty} a_n^2 < \infty \quad (6), \qquad \sum_{n=2}^{\infty} \frac{a_n}{a_1 + \cdots + a_{n-1}} = \infty \quad (26);n=1∑∞​an2​<∞(6),n=2∑∞​a1​+⋯+an−1​an​​=∞(26);

an=1/na_n = 1/nan​=1/n is the standard example. The proof also uses dn=E[(xn−θ)(M(xn)−α)]d_n = E[(x_n-\theta)(M(x_n)-\alpha)]dn​=E[(xn​−θ)(M(xn​)−α)], en=E[∫(y−α)2 dH(y∣xn)]e_n = E[\int (y-\alpha)^2\,dH(y\mid x_n)]en​=E[∫(y−α)2dH(y∣xn​)] and An=∣x1−θ∣+[C+∣α∣](a1+⋯+an−1)A_n = |x_1 - \theta| + [C+|\alpha|](a_1 + \cdots + a_{n-1})An​=∣x1​−θ∣+[C+∣α∣](a1​+⋯+an−1​).

Formalization targets

Goal: Theorem 2 (p. 405)

If {an}\{a_n\}{an​} is of type 1/n1/n1/n, (4) holds, and MMM is nondecreasing with M(θ)=αM(\theta) = \alphaM(θ)=α and M′(θ)>0M'(\theta) > 0M′(θ)>0, then, whatever x1x_1x1​,

lim⁡n→∞E(xn−θ)2=0.\lim_{n \to \infty} E(x_n - \theta)^2 = 0.n→∞lim​E(xn​−θ)2=0.

Milestones

  1. The one-step identity (14): bn+1−bn=an2en−2andnb_{n+1} - b_n = a_n^2 e_n - 2a_n d_nbn+1​−bn​=an2​en​−2an​dn​.
  2. The signs and bound after (14): dn≥0d_n \ge 0dn​≥0 and 0≤en≤[C+∣α∣]20 \le e_n \le [C+|\alpha|]^20≤en​≤[C+∣α∣]2.
  3. (17)–(18): ∑an2en\sum a_n^2e_n∑an2​en​ and ∑andn\sum a_n d_n∑an​dn​ converge, and b=lim⁡bn=b1+∑an2en−2∑andnb = \lim b_n = b_1 + \sum a_n^2e_n - 2\sum a_nd_nb=limbn​=b1​+∑an2​en​−2∑an​dn​ exists with b≥0b \ge 0b≥0.
  4. Lemma 1: if dn≥knbnd_n \ge k_n b_ndn​≥kn​bn​ with kn≥0k_n \ge 0kn​≥0 and ∑ankn=∞\sum a_n k_n = \infty∑an​kn​=∞, then b=0b = 0b=0.
  5. (22): Pr⁡[∣xn−θ∣≤An]=1\Pr[|x_n - \theta| \le A_n] = 1Pr[∣xn​−θ∣≤An​]=1.
  6. (24): dn≥kˉnbnd_n \ge \bar k_n b_ndn​≥kˉn​bn​, where kˉn\bar k_nkˉn​ is the infimum of (M(x)−α)/(x−θ)(M(x)-\alpha)/(x-\theta)(M(x)−α)/(x−θ) over 0<∣x−θ∣≤An0 < |x-\theta| \le A_n0<∣x−θ∣≤An​.
  7. (27): (26) implies ∑an=∞\sum a_n = \infty∑an​=∞.
  8. Lemma 2: if kˉn≥K/An\bar k_n \ge K/A_nkˉn​≥K/An​ for some K>0K > 0K>0 and large nnn, and (26) holds, then b=0b = 0b=0.
  9. (42): under (33)–(35), (M(x)−α)/(x−θ)≥δM′(θ)/2An(M(x)-\alpha)/(x-\theta) \ge \delta M'(\theta)/2A_n(M(x)−α)/(x−θ)≥δM′(θ)/2An​ on 0<∣x−θ∣≤An0 < |x-\theta| \le A_n0<∣x−θ∣≤An​.

Companion results

Theorem 1 (p. 404: the same conclusion under (5′), M(x)≤α−δM(x) \le \alpha - \deltaM(x)≤α−δ for x<θx < \thetax<θ and M(x)≥α+δM(x) \ge \alpha + \deltaM(x)≥α+δ for x>θx > \thetax>θ); convergence in probability under the hypotheses of Theorem 2 (p. 401); the quantile estimator of §4, (48); and (30), that c′/n≤an≤c′′/nc'/n \le a_n \le c''/nc′/n≤an​≤c′′/n gives a sequence of type 1/n1/n1/n.

Significance

Theorem 2 is the first convergence theorem for a recursive root-finding procedure under noise. It shows that a procedure using no knowledge of MMM or of the noise distribution, beyond a monotone crossing and a positive slope at the root, is consistent. Section 4 turns it into a distribution-free consistent estimator of a quantile from response/nonresponse data, the up-and-down designs of bioassay and sensitivity testing. Its step-size conditions, ∑an2<∞\sum a_n^2 < \infty∑an2​<∞ with a divergence condition, remain the standard conditions for stochastic gradient methods.

The theorem has been proved since 1951 and strengthened many times. As far as is known it has no machine-checked proof, and Mathlib has no stochastic approximation theory. Formalizing it requires conditional laws given by Markov kernels, integration against a composition of a measure with a kernel, and deterministic series arguments. A finished formalization would be a base for formalizing the almost-sure theorems (Blum, Robbins–Siegmund) and the ODE method.

Difficulty

The obvious argument fails at one step. Monotonicity of MMM and a positive derivative at θ\thetaθ do not give a uniform positive lower bound on the slope (M(x)−α)/(x−θ)(M(x)-\alpha)/(x-\theta)(M(x)−α)/(x−θ): away from θ\thetaθ the slope can decay to 000, for example when MMM is bounded, as (4) forces. So the drift towards θ\thetaθ is not uniformly strong, and the newcomer's first idea, a uniform contraction bn+1≤(1−c an)bn+O(an2)b_{n+1} \le (1 - c\,a_n) b_n + O(a_n^2)bn+1​≤(1−can​)bn​+O(an2​), is not available under (33)–(35). This is why the theorem needs the divergence condition (26), which is stronger than ∑an=∞\sum a_n = \infty∑an​=∞, and not only (6). On the formal side, the expectations come from integrating against the joint law of (xn,yn)(x_n, y_n)(xn​,yn​), and they need integrability bounds before any identity can be used.

Formalization scope

Everything is in the namespace RobbinsMonroSA.Conv, over a probability space (Ω,P)(\Omega, P)(Ω,P) with IsProbabilityMeasure P. Indices are 0-based: Lean's x 0, a 0 are the paper's x1x_1x1​, a1a_1a1​, and Lean's bigA … n is the paper's An+1A_{n+1}An+1​. The committed conventions are:

  • HHH is a Kernel ℝ ℝ with IsMarkovKernel H (each H(⋅∣x)H(\cdot\mid x)H(⋅∣x) is a probability law, measurable in xxx).
  • (4) is 0 < C ∧ ∀ x, H x [-C, C] = 1. It is a hypothesis of every item that mentions an expectation, and it is what keeps the Bochner integrals defining bnb_nbn​, dnd_ndn​, ene_nen​ and MMM from defaulting to 000.
  • (8) is the joint-law equation: the law of (xn,yn)(x_n, y_n)(xn​,yn​) is the law of xnx_nxn​ composed with HHH. (7) holds surely, and xnx_nxn​, yny_nyn​ are measurable. No Markov property or filtration beyond (8) is assumed.
  • Every "=∞= \infty=∞" for a series ((19), (26), (27)) is divergence of partial sums to +∞+\infty+∞. "b=0b = 0b=0" is bn→0b_n \to 0bn​→0.
  • M′(θ)>0M'(\theta) > 0M′(θ)>0 is HasDerivAt M M' θ with 0 < M'.
  • The infimum kˉn\bar k_nkˉn​ of (23) is never formed. (24) and (25) are stated with lower bounds on (M(z)−α)/(z−θ)(M(z)-\alpha)/(z-\theta)(M(z)−α)/(z−θ) over 0<∣z−θ∣≤An0<|z-\theta|\le A_n0<∣z−θ∣≤An​. This avoids the junk value 000 that Lean's real infimum gives on the empty range (An=0A_n = 0An​=0), where the paper's infimum is +∞+\infty+∞.

The standing assumptions of §3, (4), (5) and (6), are hypotheses of Lemma 1, Lemma 2 and the displays of §3 whose proofs use them. In Theorems 1 and 2, (5) follows from (5′) or from (33)–(34), and (6) is part of "type 1/n1/n1/n".

The goal cannot be trivialized. It mentions neither dnd_ndn​, ene_nen​, AnA_nAn​ nor any constant, and the process must satisfy (8) for every nnn. Without (8), yny_nyn​ would be arbitrary and the statement false; with yn=M(xn)y_n = M(x_n)yn​=M(xn​) it would be deterministic.

Contributions welcome: proofs of the milestones, reusable lemmas on integrating against μ ⊗ₘ κ, and a proof that an=1/na_n = 1/nan​=1/n satisfies (26).

Selected references

  • H. Robbins and S. Monro, A stochastic approximation method, Ann. Math. Statist. 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
  • J. Kiefer and J. Wolfowitz, Stochastic estimation of the maximum of a regression function, Ann. Math. Statist. 23 (1952), 462–466. https://doi.org/10.1214/aoms/1177729392
  • J. R. Blum, Approximation methods which converge with probability one, Ann. Math. Statist. 25 (1954), 382–386. https://doi.org/10.1214/aoms/1177728794
  • A. Dvoretzky, On stochastic approximation, Proc. Third Berkeley Symp. Math. Statist. Prob. 1 (1956), 39–55. https://projecteuclid.org/euclid.bsmsp/1200501645
  • H. Robbins and D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics (1971), 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
  • M. Benaïm, Dynamics of stochastic approximation algorithms, Séminaire de Probabilités XXXIII, LNM 1709 (1999), 1–68. https://doi.org/10.1007/BFb0096509
11 thms2 active usersReviewed
Statistics·Captain: mikedeng1

The Tight Constant in the Dvoretzky–Kiefer–Wolfowitz Inequality I: P(√n sup(F − F̂ₙ) > λ) ≤ exp(−2λ²) for λ ≥ min(√(log 2/2), 1.0841 n^(−1/6))Research Paper

Motivation

The Kolmogorov–Smirnov statistics measure how far the empirical distribution of a sample lies from a hypothesised distribution. They are the standard goodness-of-fit test for continuous data, and their tail probabilities are the basic tool for confidence bands around a distribution function. A test is only usable at a fixed sample size if those tail probabilities are controlled for every nnn, not just in the limit.

Timeline.

  • 1933–1944. Kolmogorov and Smirnov introduce the statistics, prove that their laws do not depend on the continuous distribution, and find the limit laws, e.g. lim⁡nP(Dn−>λ)=exp⁡(−2λ2)\lim_n P(D_n^->\lambda)=\exp(-2\lambda^2)limn​P(Dn−​>λ)=exp(−2λ2). Smirnov (1944) also gives the exact law of the one-sided statistic and the expansion P(Dn−>λ)=exp⁡(−2λ2)(1−2λ3n+O(n−1))P(D_n^->\lambda)=\exp(-2\lambda^2)\bigl(1-\frac{2\lambda}{3\sqrt n}+O(n^{-1})\bigr)P(Dn−​>λ)=exp(−2λ2)(1−3n​2λ​+O(n−1)).
  • 1956. Dvoretzky, Kiefer and Wolfowitz prove P(Dn−>λ)≤Cexp⁡(−2λ2)P(D_n^->\lambda)\le C\exp(-2\lambda^2)P(Dn−​>λ)≤Cexp(−2λ2) for every nnn, with an unspecified constant CCC (Ann. Math. Statist. 27).
  • 1958. Birnbaum and McCarty conjecture that C=1C=1C=1 is admissible.
  • 1979–1985. Explicit constants: C≤306C\le306C≤306 (Devroye and Wise), C≤29C\le29C≤29 (Shorack and Wellner), C≤22C\le2\sqrt2C≤22​ (Hu).
  • 1990. Massart proves the conjecture under a mild lower bound on λ\lambdaλ, and deduces the two-sided bound with the optimal constant 222 (Ann. Probab. 18).

Setting

Let x1,…,xnx_1,\dots,x_nx1​,…,xn​ (n≥1n\ge1n≥1) be independent, identically distributed real random variables with a continuous distribution function FFF. The empirical distribution function is

F^n(x)=1n∑i=1n1(xi≤x),\hat F_n(x)=\frac1n\sum_{i=1}^n\mathbb 1_{(x_i\le x)},F^n​(x)=n1​i=1∑n​1(xi​≤x)​,

and the centred, normalised empirical process is Zn=n(F^n−F)Z_n=\sqrt n(\hat F_n-F)Zn​=n​(F^n​−F). The statistics are

Dn+=sup⁡x∈RZn(x),Dn−=sup⁡x∈R(−Zn(x)),Dn=sup⁡x∈R∣Zn(x)∣.D_n^+=\sup_{x\in\mathbb R}Z_n(x),\qquad D_n^-=\sup_{x\in\mathbb R}\bigl(-Z_n(x)\bigr),\qquad D_n=\sup_{x\in\mathbb R}|Z_n(x)|.Dn+​=x∈Rsup​Zn​(x),Dn−​=x∈Rsup​(−Zn​(x)),Dn​=x∈Rsup​∣Zn​(x)∣.

In Lean the sample is X : Fin n → Ω → ℝ, independent (iIndepFun X P) with common law μ (HasLaw (X i) μ P), FFF is cdf μ, and the statistics are Dplus μ X, Dminus μ X, Dtwo μ X. The parameter λ\lambdaλ is written l.

The proof works with Smirnov's point probabilities pλ,n(j)=λn (j+λn)j−1(n−j−λn)n−jn−n(nj)p_{\lambda,n}(j)=\lambda\sqrt n\,(j+\lambda\sqrt n)^{j-1}(n-j-\lambda\sqrt n)^{n-j}n^{-n}\binom njpλ,n​(j)=λn​(j+λn​)j−1(n−j−λn​)n−jn−n(jn​), whose sum over 0≤j<n−λn0\le j<n-\lambda\sqrt n0≤j<n−λn​ is P(Dn−>λ)P(D_n^->\lambda)P(Dn−​>λ), with Csáki's density fλ(s)=λ2πs−3/2(1−s)−1/2exp⁡(−λ22s(1−s))f_\lambda(s)=\frac{\lambda}{\sqrt{2\pi}}s^{-3/2}(1-s)^{-1/2}\exp\bigl(-\frac{\lambda^2}{2s(1-s)}\bigr)fλ​(s)=2π​λ​s−3/2(1−s)−1/2exp(−2s(1−s)λ2​) of the first passage of a Brownian bridge at level λ\lambdaλ, and with the ratio Cλ,n=exp⁡(2λ2)P(Dn−>λ)C_{\lambda,n}=\exp(2\lambda^2)P(D_n^->\lambda)Cλ,n​=exp(2λ2)P(Dn−​>λ).

Formalization targets

Goal: Theorem 1

For every n≥1n\ge1n≥1 and every λ≥log⁡(2)/2∧γn−1/6\lambda\ge\sqrt{\log(2)/2}\wedge\gamma n^{-1/6}λ≥log(2)/2​∧γn−1/6, with γ=1.0841\gamma=1.0841γ=1.0841,

P(Dn−>λ)≤exp⁡(−2λ2).P(D_n^->\lambda)\le\exp(-2\lambda^2).P(Dn−​>λ)≤exp(−2λ2).

Here ∧\wedge∧ is the minimum. The constant 111 in front of the exponential is the point of the theorem; the threshold on λ\lambdaλ is the paper's.

Milestones

The milestones follow the proof in the paper's order of attack:

  1. the reduction to the uniform law, and Smirnov's exact formula (2.3);
  2. the identity ∫01fλ=exp⁡(−2λ2)\int_0^1f_\lambda=\exp(-2\lambda^2)∫01​fλ​=exp(−2λ2) (2.4);
  3. the local comparison of pλ,n(j)p_{\lambda,n}(j)pλ,n​(j) with fλf_\lambdafλ​: (2.7), Lemma 2, Claims 1–3, and Proposition 1;
  4. the midpoint bound for log-convex integrands (Lemma 3) and the closed forms of Lemma 4;
  5. the nonasymptotic expansion (2.11), the negativity of its right side ηn\eta_nηn​, and with them Theorem 1 for n≥39n\ge39n≥39, λ≤n/2\lambda\le\sqrt n/2λ≤n​/2;
  6. Proposition 2 on the slope of Cλ,nC_{\lambda,n}Cλ,n​, the crude bounds (2.13)–(2.14), and the finite grid check (2.15) for n≤38n\le38n≤38.

Companions

The equality in law of Dn+D_n^+Dn+​ and Dn−D_n^-Dn−​, Comment 1 ((1.4) whenever exp⁡(−2λ2)≤1/2\exp(-2\lambda^2)\le1/2exp(−2λ2)≤1/2), the reduction P(Dn>λ)≤2P(Dn−>λ)P(D_n>\lambda)\le2P(D_n^->\lambda)P(Dn​>λ)≤2P(Dn−​>λ), and Corollary 1:

P(Dn>λ)≤2exp⁡(−2λ2)(λ>0).P(D_n>\lambda)\le2\exp(-2\lambda^2)\qquad(\lambda>0).P(Dn​>λ)≤2exp(−2λ2)(λ>0).

Significance

The result. Theorem 1 and Corollary 1 give non-asymptotic Kolmogorov–Smirnov bands with the asymptotic constants, 111 and 222, which cannot be improved because of the limit laws. Corollary 1 is the form in which the DKW inequality is quoted throughout statistics and learning theory: confidence bands for distribution functions, sample-size calculations for quantile estimation, and as a building block in bandit and empirical-risk analyses. Comment 1 says that the one-sided test is never anti-conservative at levels up to 50%, whatever the sample size.

Formalizing it. The result is proved on paper but not machine-checked. A formal development would give a verified, constant-explicit DKW inequality that downstream statistical results can import as a black box instead of carrying an unspecified CCC. The milestones also produce reusable pieces: Smirnov's exact law of the one-sided statistic, the Brownian-bridge first-passage integral, and a family of explicit elementary inequalities. The proof uses computer-checked numerics ((2.15), Lemma 2, η39\eta_{39}η39​); turning those into checked certificates is part of the work.

Difficulty

The obvious route is to compare the exact sum (2.3) term by term with the integral (2.4). The local comparison P(τn=t)≤1nfλ(t−ε/3)P(\tau_n=t)\le\frac1nf_\lambda(t-\varepsilon/3)P(τn​=t)≤n1​fλ​(t−ε/3) is only nearly true: a corrective factor is needed, and it is largest on the tail, where the crossing time ttt is close to ε=λ/n\varepsilon=\lambda/\sqrt nε=λ/n​. Controlling that factor uniformly in jjj while keeping the leading constant exactly 111 is what forces the delicate constants (θ=0.4833\theta=0.4833θ=0.4833, β=0.826\beta=0.826β=0.826, μ=0.4345\mu=0.4345μ=0.4345, γ=1.0841\gamma=1.0841γ=1.0841). For small nnn the analytic bounds are too weak, and the proof closes the gap with a Lipschitz bound on λ↦Cλ,n\lambda\mapsto C_{\lambda,n}λ↦Cλ,n​ plus a finite numerical check over a grid; neither half suffices alone.

Formalization scope

Conventions:

  • n≥1n\ge1n≥1; the sample is indexed by Fin n; FFF is cdf μ with Continuous (cdf μ) assumed, as in Theorem 1.
  • Probabilities are measures of events in [0,∞][0,\infty][0,∞] and are compared with ENNReal.ofReal of the bound. Each supremum defining a statistic is of a function with values in [−1,1][-1,1][−1,1], hence a genuine real supremum.
  • pλ,n(j)p_{\lambda,n}(j)pλ,n​(j) uses an integer power at j−1j-1j−1, so that pλ,n(0)=(1−ε)np_{\lambda,n}(0)=(1-\varepsilon)^npλ,n​(0)=(1−ε)n. Cλ,nC_{\lambda,n}Cλ,n​ is defined from the exact formula (2.3); it equals exp⁡(2λ2)P(Dn−>λ)\exp(2\lambda^2)P(D_n^->\lambda)exp(2λ2)P(Dn−​>λ) by the (2.3) milestone, so the analytic milestones carry no probability.
  • Statements that the page gives through derivatives of Cλ,nC_{\lambda,n}Cλ,n​ (Proposition 2(i), (iii)) are stated as monotonicity and as an increment bound, because Cλ,nC_{\lambda,n}Cλ,n​ has kinks.

Additions and corrections relative to the page, each disclosed in its item: the printed slips in (2.1) (range of jjj), (2.8) (swapped numerators) and Proposition 2(i) ("≥0\ge0≥0" for nonincreasing) are corrected; Claim 2 carries the hypothesis ε≤3s′\varepsilon\le3s'ε≤3s′, without which the corrected claim is false; Lemma 3 uses strict inequalities δ<s<1−δ\delta<s<1-\deltaδ<s<1−δ; Comment 1 makes the implicit λ>0\lambda>0λ>0 explicit; (2.14) carries Proposition 2's standing range n≥2n\ge2n≥2, 0<λ<n0<\lambda<\sqrt n0<λ<n​.

The goal does not mention pλ,np_{\lambda,n}pλ,n​, fλf_\lambdafλ​, Cλ,nC_{\lambda,n}Cλ,n​, the case split at n=39n=39n=39, or the computer check; a formalization of the goal through those objects, or with the threshold read as a maximum instead of a minimum, would be a different and weaker statement.

Infrastructure a complete development needs: the empirical process of an i.i.d. sample and its reduction to the uniform law by the probability integral transform; Smirnov's exact one-sided law (a ballot-type combinatorial identity); Gaussian-type integrals on ]0,1[]0,1[]0,1[; elementary but delicate real inequalities; and certified interval arithmetic for the numerical steps. The first two are reusable for any work on empirical processes. Contributions on any milestone are welcome, in particular formal proofs of (2.3), of the numerical steps, and of the companions.

Selected references

  • P. Massart, The tight constant in the Dvoretzky–Kiefer–Wolfowitz inequality, Ann. Probab. 18(3):1269–1283, 1990. https://doi.org/10.1214/aop/1176990746
  • A. Dvoretzky, J. Kiefer, J. Wolfowitz, Asymptotic minimax character of the sample distribution function and of the classical multinomial estimator, Ann. Math. Statist. 27:642–669, 1956. https://doi.org/10.1214/aoms/1177728174
  • Z. W. Birnbaum, R. C. McCarty, A distribution-free upper confidence bound for P(Y<X), based on independent samples of X and Y, Ann. Math. Statist. 29:558–562, 1958.
  • N. V. Smirnov, Approximate laws of distribution of random variables from empirical data, Uspekhi Mat. Nauk 10:179–206, 1944.
  • E. Csáki, Investigations concerning the empirical distribution function, Magyar Tud. Akad. Mat. Fiz. Oszt. Közl. 23:239–327, 1974; English translation in Selected Transl. Math. Statist. Probab. 15:229–317, 1981.
  • G. R. Shorack, J. A. Wellner, Empirical Processes with Applications to Statistics, Wiley, 1986.
23 thms2 active usersReviewed
🏆Completed
Statistics·Captain: mikedeng1

The Tight Constant in the Dvoretzky–Kiefer–Wolfowitz Inequality II: Binomial Tail Bound P(S − np > nε) ≤ exp(−nε²/(2(p + ε/3)(q − ε/3))) for 0 < ε ≤ qResearch Paper

Motivation

Exponential bounds for the tails of the binomial distribution are among the most frequently used tools in probability, statistics and the analysis of algorithms: they control the number of successes in independent trials, the deviation of an empirical frequency from its mean, and, through counting arguments, the empirical distribution function itself. The two classical bounds are Hoeffding's inequality, which ignores the variance, and Bernstein's inequality, which uses the variance pqpqpq but loses accuracy for large deviations. Both are recorded in Shorack and Wellner, Empirical Processes with Applications to Statistics (1986), p. 440.

In his 1990 paper establishing the tight constant 222 in the Dvoretzky–Kiefer–Wolfowitz inequality, P. Massart obtained, as a by-product of the proof, a binomial tail bound that implies both classical inequalities and, in his words, "does not seem to be known" (Massart 1990, p. 1271). Its ingredient, a lower bound for the Cramér transform of the Bernoulli law (Lemma 1), is also used in the proof of the main DKW result. This mission formalizes that by-product: Theorem 2, Lemma 1 and the Cramér–Chernoff bound (Comment 3) through which they are combined.

Setting

Fix an integer n≥0n \ge 0n≥0 and a success probability p∈[0,1]p \in [0,1]p∈[0,1], and write q=1−pq = 1 - pq=1−p. A random variable SSS has the binomial distribution B(n,p)\mathcal B(n,p)B(n,p) if it counts the successes in nnn independent trials, each succeeding with probability ppp: P(S=k)=(nk)pkqn−kP(S = k) = \binom nk p^k q^{n-k}P(S=k)=(kn​)pkqn−k for k=0,…,nk = 0,\dots,nk=0,…,n. Its mean is npnpnp. The quantity of interest is the upper tail P(S−np>nε)P(S - np > n\varepsilon)P(S−np>nε) for a deviation ε\varepsilonε with 0<ε≤q0 < \varepsilon \le q0<ε≤q (for ε>q\varepsilon > qε>q the event is empty).

Two auxiliary functions appear in Lemma 1. For 0<ε≤q<10 < \varepsilon \le q < 10<ε≤q<1 (so that p>0p > 0p>0),

h(p,ε)=(p+ε)log⁡p+εp+(q−ε)log⁡q−εq,h(p,\varepsilon) = (p+\varepsilon)\log\frac{p+\varepsilon}{p} + (q-\varepsilon)\log\frac{q-\varepsilon}{q},h(p,ε)=(p+ε)logpp+ε​+(q−ε)logqq−ε​,

which is the Cramér transform of the Bernoulli law with parameter ppp at the point p+εp + \varepsilonp+ε, i.e. the relative entropy between the Bernoulli laws with parameters p+εp+\varepsilonp+ε and ppp. For t≥0t \ge 0t≥0,

φ(t)=t−t22(1+2t/3)−log⁡(1+t).\varphi(t) = t - \frac{t^2}{2(1 + 2t/3)} - \log(1+t).φ(t)=t−2(1+2t/3)t2​−log(1+t).

In the Lean development these are MassartDKW.Binom.h and MassartDKW.Binom.phi.

Formalization targets

Goal: Theorem 2 (p. 1271)

If SSS has the binomial distribution B(n,p)\mathcal B(n,p)B(n,p) and q=1−pq = 1 - pq=1−p, then for every ε\varepsilonε with 0<ε≤q0 < \varepsilon \le q0<ε≤q,

P(S−np>nε)≤exp⁡ ⁣(−nε22(p+ε/3)(q−ε/3)).P(S - np > n\varepsilon) \le \exp\!\left(-\frac{n\varepsilon^2}{2(p+\varepsilon/3)(q-\varepsilon/3)}\right).P(S−np>nε)≤exp(−2(p+ε/3)(q−ε/3)nε2​).

Milestones

  1. Lemma 1(i) (p. 1272): φ\varphiφ is positive, increasing and convex on [0,∞)[0,\infty)[0,∞), with φ(t)/t→1/4\varphi(t)/t \to 1/4φ(t)/t→1/4 as t→∞t \to \inftyt→∞.
  2. Lemma 1(ii) (p. 1272): for 0<ε≤q=1−p<10 < \varepsilon \le q = 1 - p < 10<ε≤q=1−p<1 and t=ε/(q−ε)t = \varepsilon/(q-\varepsilon)t=ε/(q−ε),
h(p,ε)≥ε22(p+ε/3)(q−ε/3)+εφ(t)t.h(p,\varepsilon) \ge \frac{\varepsilon^2}{2(p+\varepsilon/3)(q-\varepsilon/3)} + \frac{\varepsilon\varphi(t)}{t}.h(p,ε)≥2(p+ε/3)(q−ε/3)ε2​+tεφ(t)​.
  1. Comment 3 (p. 1273): for S∼B(n,p)S \sim \mathcal B(n,p)S∼B(n,p), P(S−np>nε)≤exp⁡(−n h(p,ε))P(S - np > n\varepsilon) \le \exp(-n\,h(p,\varepsilon))P(S−np>nε)≤exp(−nh(p,ε)).

Significance

The result. Theorem 2 has the shape of Bernstein's inequality with the variance proxy pq+ε/3pq + \varepsilon/3pq+ε/3 replaced by the smaller (p+ε/3)(q−ε/3)(p+\varepsilon/3)(q-\varepsilon/3)(p+ε/3)(q−ε/3); the second factor shrinks as ε\varepsilonε approaches qqq, so the bound is sharper in the large-deviation range, and it implies both Bernstein's and Hoeffding's inequalities for binomial tails. Lemma 1(ii) is a quantitative lower bound on the Bernoulli relative entropy, with an explicit nonnegative correction term εφ(t)/t\varepsilon\varphi(t)/tεφ(t)/t, which is reusable wherever Chernoff bounds for Bernoulli sums are converted into closed-form exponents. In the paper, the same lemma is a step of the proof of the tight Dvoretzky–Kiefer–Wolfowitz inequality.

Formalizing it. The result is proved on the page, by a short calculus argument for Lemma 1 and the classical Cramér–Chernoff computation for Comment 3. To our knowledge none of the three statements has a machine-checked proof. The work this mission asks for is formalizing that known proof: the analysis of φ\varphiφ (signs of derivatives, the limit at infinity), the inequality between hhh and the explicit quadratic term, the exponential-moment computation for the binomial law in Mathlib's measure-theoretic setting, and the bookkeeping of the boundary cases ε=q\varepsilon = qε=q, p=0p = 0p=0 and n=0n = 0n=0.

Difficulty

The obvious route to Theorem 2 is to bound the binomial moment generating function and optimize; this reproduces Comment 3, and the exponent it gives is the transcendental function h(p,ε)h(p,\varepsilon)h(p,ε), not the rational expression in the theorem. The step that needs care is the comparison of hhh with ε2/[2(p+ε/3)(q−ε/3)]\varepsilon^2/[2(p+\varepsilon/3)(q-\varepsilon/3)]ε2/[2(p+ε/3)(q−ε/3)] uniformly in 0<ε≤q0 < \varepsilon \le q0<ε≤q: a second-order Taylor expansion of hhh in ε\varepsilonε gives only the local behaviour near ε=0\varepsilon = 0ε=0, and a bound proved by Taylor expansion alone does not survive up to ε=q\varepsilon = qε=q, where the second logarithm of hhh degenerates and t=ε/(q−ε)t = \varepsilon/(q-\varepsilon)t=ε/(q−ε) blows up. The endpoint ε=q\varepsilon = qε=q therefore has to be treated as a limit.

Formalization scope

The binomial law is Mathlib's ProbabilityTheory.binomial n p : Measure ℕ with p : unitInterval; SSS is an N\mathbb NN-valued map on a probability space (Ω,P)(\Omega, P)(Ω,P) with HasLaw S (binomial n p) P. Probabilities are values of the measure in [0,∞][0,\infty][0,∞], compared with real bounds through ENNReal.ofReal. The event is the strict upper tail {(n:R)ε<S−np}\{(n:\mathbb R)\varepsilon < S - np\}{(n:R)ε<S−np}. The goal assumes only 0<ε≤1−p0 < \varepsilon \le 1 - p0<ε≤1−p, as on the page: n=0n = 0n=0 and p=0p = 0p=0 are allowed, and the denominator 2(p+ε/3)(q−ε/3)2(p+\varepsilon/3)(q-\varepsilon/3)2(p+ε/3)(q−ε/3) is positive on the whole range.

Conventions and added hypotheses (qqq is written out as 1−p1 - p1−p throughout):

  • Lean's log⁡0=0\log 0 = 0log0=0 and x/0=0x/0 = 0x/0=0: hhh is only meaningful for p>0p > 0p>0, so Lemma 1(ii) and Comment 3 assume 0<p0 < p0<p (the page's q<1q < 1q<1). The goal does not.
  • Lemma 1(ii) is stated in two cases. For ε<q\varepsilon < qε<q, t=ε/(q−ε)t = \varepsilon/(q-\varepsilon)t=ε/(q−ε) is a real number. For ε=q\varepsilon = qε=q, t=∞t = \inftyt=∞ and the correction term is its limit ε/4\varepsilon/4ε/4; reading t=ε/0=0t = \varepsilon/0 = 0t=ε/0=0 in Lean would give a weaker statement, which is ruled out.
  • "Positive" in Lemma 1(i) is stated for t>0t > 0t>0, since φ(0)=0\varphi(0) = 0φ(0)=0; "increasing" is strict monotonicity on [0,∞)[0,\infty)[0,∞).

A formalization that states the goal with the exponent n h(p,ε)n\,h(p,\varepsilon)nh(p,ε), or assumes Lemma 1 or Comment 3 as hypotheses, or restricts to ε<q\varepsilon < qε<q, is not this theorem: the goal carries the explicit constants and the full range 0<ε≤q0 < \varepsilon \le q0<ε≤q.

Needed infrastructure: elementary real analysis of log⁡\loglog (derivatives, monotonicity from derivative sign, limits at infinity), the moment generating function of the binomial law (or of a sum of independent Bernoulli variables) and Markov's inequality. The bound on the Bernoulli relative entropy and the binomial Chernoff bound are reusable beyond this mission. Contributions welcome: proofs of the three milestones, and helper lemmas computing E[eθS]=(q+peθ)n\mathbb E[e^{\theta S}] = (q + pe^\theta)^nE[eθS]=(q+peθ)n for Mathlib's binomial.

Selected references

  • P. Massart, The tight constant in the Dvoretzky–Kiefer–Wolfowitz inequality, Annals of Probability 18(3):1269–1283, 1990. https://doi.org/10.1214/aop/1176990746
  • G. R. Shorack and J. A. Wellner, Empirical Processes with Applications to Statistics, Wiley, 1986 (p. 440: Hoeffding's and Bernstein's inequalities for binomial tails). https://doi.org/10.1137/1.9780898719017
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, Journal of the American Statistical Association 58:13–30, 1963. https://doi.org/10.1080/01621459.1963.10500830
5 thms2 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: mikedeng1

The Theory of Queues with a Single Server: The Waiting-Time Distribution Has a Proper Limit iff E(u) < 0 or u = 0 Almost SurelyResearch Paper

Motivation

The single-server queue with general independent interarrival and service times (the GI/G/1 queue) is the basic model of congestion in operations research: customers arrive at a service facility, wait if the server is busy, are served in order of arrival, and leave. The first question about any such system is whether it settles down. If customers keep arriving faster than they can be served, waiting times grow without bound; otherwise one expects an equilibrium distribution of waiting time that capacity planning, staffing and performance analysis can be based on.

D. V. Lindley's 1952 paper Lindley 1952 answered this question for the GI/G/1 queue in complete generality. It introduced the recursion for successive waiting times that now carries his name, connected the queue with a random walk, and proved that an equilibrium exists exactly when the mean service time is smaller than the mean interarrival time, with the degenerate deterministic case as the only exception. The paper is the starting point of the random-walk approach to queueing theory and of the later work of Kiefer and Wolfowitz, Spitzer, Loynes and Kingman.

Setting

Customers arrive in order at a single server; customer rrr is served after all its predecessors. On a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) let

  • tr≥0t_r \ge 0tr​≥0 be the interarrival time between customers rrr and r+1r+1r+1,
  • sr≥0s_r \ge 0sr​≥0 be the service time of customer rrr.

Assumption 1: the trt_rtr​ are independent and identically distributed with finite mean E(tr)\mathscr{E}(t_r)E(tr​). Assumption 2: the srs_rsr​ are independent and identically distributed with finite mean E(sr)\mathscr{E}(s_r)E(sr​), and the families {sr}\{s_r\}{sr​} and {tr}\{t_r\}{tr​} are independent of each other.

Put ur=sr−tru_r = s_r - t_rur​=sr​−tr​; the uru_rur​ are i.i.d. and integrable, and E(u)=E(s)−E(t)\mathscr{E}(u) = \mathscr{E}(s) - \mathscr{E}(t)E(u)=E(s)−E(t) denotes their common mean. The waiting time wrw_rwr​ of customer rrr (time from arrival to start of service) satisfies Lindley's recursion

w1=0,wr+1=max⁡(wr+ur, 0).w_1 = 0, \qquad w_{r+1} = \max(w_r + u_r,\ 0).w1​=0,wr+1​=max(wr​+ur​, 0).

Write Fr(x)=p(wr≤x)F_r(x) = p(w_r \le x)Fr​(x)=p(wr​≤x) for the waiting-time distribution function, GGG for the law of uru_rur​, and Un=u1+⋯+unU_n = u_1 + \dots + u_nUn​=u1​+⋯+un​ for the associated random walk. Lindley shows that Fr(x)F_r(x)Fr​(x) converges for every xxx to

F(x)=p(Us≤x for all s≥1)(x≥0),F(x)=0(x<0).F(x) = p(U_s \le x \text{ for all } s \ge 1) \quad (x \ge 0), \qquad F(x) = 0 \quad (x < 0).F(x)=p(Us​≤x for all s≥1)(x≥0),F(x)=0(x<0).

Formalization targets

Goal: Lindley's theorem (§4, p. 281)

  1. The waiting-time distribution FrF_rFr​ converges to a proper (non-degenerate) limit distribution if and only if
E(u)<0oru=0 almost surely.\mathscr{E}(u) < 0 \quad \text{or} \quad u = 0 \text{ almost surely.}E(u)<0oru=0 almost surely.
  1. If E(u)≥0\mathscr{E}(u) \ge 0E(u)≥0 and uuu is not almost surely 000, then p(wr≤x)→0p(w_r \le x) \to 0p(wr​≤x)→0 for every xxx.

Milestones, in the order of the paper

  • Eq. (2), the one-step convolution Fr+1(x)=∫u≤xFr(x−u) dG(u)F_{r+1}(x) = \int_{u \le x} F_r(x-u)\,dG(u)Fr+1​(x)=∫u≤x​Fr​(x−u)dG(u) for x≥0x \ge 0x≥0 (an existing platform statement, referenced).
  • Eq. (3), the duality with the random walk: Fr+1(x)=p(Us≤x for all s≤r)F_{r+1}(x) = p(U_s \le x \text{ for all } s \le r)Fr+1​(x)=p(Us​≤x for all s≤r) for x≥0x \ge 0x≥0.
  • The limit: Fr(x)→F(x)F_r(x) \to F(x)Fr​(x)→F(x) for every xxx.
  • Eqs. (4)–(5), Lindley's integral equation F(x)=∫u≤xF(x−u) dG(u)F(x) = \int_{u \le x} F(x-u)\,dG(u)F(x)=∫u≤x​F(x−u)dG(u) for x≥0x \ge 0x≥0.
  • Case (i): E(u)>0⇒F≡0\mathscr{E}(u) > 0 \Rightarrow F \equiv 0E(u)>0⇒F≡0. Case (ii): E(u)<0⇒F(x)→1\mathscr{E}(u) < 0 \Rightarrow F(x) \to 1E(u)<0⇒F(x)→1 as x→∞x \to \inftyx→∞.
  • Eq. (8), the theorem of Chung and Fuchs quoted by Lindley: a mean-zero, non-lattice random walk comes within ϵ\epsilonϵ of every point infinitely often.
  • Case (iii): E(u)=0\mathscr{E}(u) = 0E(u)=0, u≢0⇒F≡0u \not\equiv 0 \Rightarrow F \equiv 0u≡0⇒F≡0.
  • Companion: for E(u)<0\mathscr{E}(u) < 0E(u)<0, exactly one distribution on [0,∞)[0,\infty)[0,∞) solves the integral equation.

Significance

The theorem is the stability criterion ρ=E(s)/E(t)<1\rho = \mathscr{E}(s)/\mathscr{E}(t) < 1ρ=E(s)/E(t)<1 for the GI/G/1 queue, and its proof identifies the equilibrium waiting time with the supremum of a random walk with negative drift. Every later result on the equilibrium waiting time (Pollaczek–Khinchine for M/G/1, Kingman's bounds, the Wiener–Hopf factorization, heavy-traffic limits) presupposes this existence statement. The critical case ρ=1\rho = 1ρ=1 is the part that goes beyond the law of large numbers: there is no equilibrium even though the queue has no drift.

The result has been proved since 1952 and appears in every queueing textbook. No machine-checked proof of it is known to exist. The platform already has related open statements in other frameworks: a law-level one-step identity and the stationary-delay equation from Gross et al. (QueueingFundamentals.GG1), and Loynes' theorem in a stationary ergodic Palm framework (PalmQueueing.Loynes.loynes_stability). None of them states convergence of the customer-indexed waiting-time distributions, and none treats the critical case. This mission produces the customer-indexed model, the random-walk duality, and the complete iff, including the Chung–Fuchs recurrence theorem for one-dimensional random walks, which is of independent use.

Difficulty

Cases (i) and (ii) follow from the strong law of large numbers, which Mathlib provides. The obstacle is the critical case E(u)=0\mathscr{E}(u) = 0E(u)=0: the strong law only gives Un/n→0U_n/n \to 0Un​/n→0, which says nothing about whether sup⁡nUn\sup_n U_nsupn​Un​ is finite. One needs the recurrence of mean-zero random walks (Chung–Fuchs), which is not in Mathlib. A second, smaller difficulty is eq. (3): it is an identity of probabilities, not of events, since the waiting time is built from sums taken in the reverse order of the walk's partial sums. Finally, the iff needs a careful passage from pointwise limits of distribution functions to convergence to a probability measure.

Formalization scope

All objects live in one definitions file, LindleyQueue.Stability.Model. The input is a structure Input Ω P holding measurable sequences s t : ℕ → Ω → ℝ with iIndepFun for each family, identical distribution, integrability, independence of the two families as random elements of RN\mathbb R^{\mathbb N}RN, and nonnegativity. Theorems assume IsProbabilityMeasure P. Committed conventions:

  • Indexing from 0: w 0 is the paper's w1w_1w1​, F r is Fr+1F_{r+1}Fr+1​, U n =∑i<n= \sum_{i<n}=∑i<n​ u i is the paper's UnU_nUn​.
  • Non-degenerate means proper: the limit is a probability measure ν\nuν on R\mathbb RR, and convergence is Fr(x)→ν((−∞,x])F_r(x) \to \nu((-\infty,x])Fr​(x)→ν((−∞,x]) at every xxx with ν{x}=0\nu\{x\} = 0ν{x}=0. When u=0u = 0u=0 a.s. the limit is the point mass at 000, and the theorem counts it as convergent.
  • "Certainly" means almost surely, for u1u_1u1​; all uru_rur​ share its law.
  • E(u)\mathscr{E}(u)E(u) is the Bochner integral of the integrable u 0; GGG is the push-forward law of u 0, and Stieltjes integrals ∫u≤x⋯dG(u)\int_{u \le x} \cdots dG(u)∫u≤x​⋯dG(u) are integrals over Set.Iic x.
  • F(x)F(x)F(x) is defined with the case split x≥0x \ge 0x≥0 / x<0x < 0x<0; eqs. (3), (4) are stated for x≥0x \ge 0x≥0, as on the page.
  • Eq. (8) is stated for an arbitrary i.i.d. integrable mean-zero sequence (only the non-lattice half).

Trivializing formalizations are ruled out: the goal is about the queue's FrF_rFr​, not the random walk's absorption probabilities; the limit must be a probability distribution, since "converges to some function" is already the limit milestone; and "u=0u = 0u=0" is almost-sure, not pointwise. A verification file builds an Input with sr=tr=1s_r = t_r = 1sr​=tr​=1, so the hypotheses are satisfiable.

Needed infrastructure: exchangeability of finite i.i.d. vectors, continuity of measure along decreasing events, the strong law (in Mathlib), recurrence of one-dimensional random walks, and convergence of distribution functions. The Chung–Fuchs theorem and the random-walk duality are reusable well beyond queueing; contributions of either are welcome.

Selected references

  • D. V. Lindley, The theory of queues with a single server, Mathematical Proceedings of the Cambridge Philosophical Society 48(2), 277–289, 1952. https://doi.org/10.1017/S0305004100027638
  • K. L. Chung and W. H. J. Fuchs, On the distribution of values of sums of random variables, Memoirs of the American Mathematical Society 6, 1951. https://doi.org/10.1090/memo/0006
  • R. M. Loynes, The stability of a queue with non-independent inter-arrival and service times, Mathematical Proceedings of the Cambridge Philosophical Society 58(3), 497–520, 1962. https://doi.org/10.1017/S0305004100036781
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003, Ch. III and X. https://doi.org/10.1007/b97236
11 thms2 active usersReviewed
Captain: mikedeng1

Stochastic Inequalities on Partially Ordered Spaces 2: For a Nondecreasing Sequence in a Partially Ordered Polish Space, Tightness, Weak Convergence and Convergence in Probability Are EquivalentResearch Paper

Motivation

Monotone sequences of random elements arise wherever a quantity can only grow: cumulative work or queue contents under a monotone recursion, the iterates of a monotone operator applied to a random initial state, or the successive approximations produced by coupling constructions in which each stage dominates the previous one. When the values live in a partially ordered space rather than on the real line (vectors with the coordinatewise order, functions with the pointwise order, measures with a stochastic order), the classical fact that a bounded nondecreasing real sequence converges no longer applies directly, and one needs a statement about which modes of convergence are automatic.

Kamae, Krengel and O'Brien answer this in Section 6 of Stochastic Inequalities on Partially Ordered Spaces (Ann. Probab. 5 (1977) 899–912). Their Theorem 6 shows that, for a nondecreasing sequence in a partially ordered Polish space, three modes of convergence that are in general strictly ordered by strength (tightness of the laws, weak convergence of the laws, convergence in probability) coincide, and it identifies exactly when almost sure convergence joins them. The paper announces an application of Theorem 6 to a new pointwise ergodic theorem in a forthcoming paper of Krengel. This mission formalizes Theorem 6 and its proof steps; the source is the published Annals of Probability version, and printed page numbers equal PDF page numbers plus 898.

Setting

Let EEE be a Polish space with metric ddd: a complete separable metric space. It carries a closed partial ordering ≤\le≤, meaning a partial order whose graph {(x,y)∈E×E:x≤y}\{(x,y)\in E\times E : x\le y\}{(x,y)∈E×E:x≤y} is a closed subset of E×EE\times EE×E, and its Borel σ\sigmaσ-algebra. These are the paper's standing assumptions (Sec. 1, p. 899).

Let (Ω,F,μ)(\Omega,\mathcal F,\mu)(Ω,F,μ) be a probability space and X1,X2,⋯:Ω→EX_1,X_2,\dots:\Omega\to EX1​,X2​,⋯:Ω→E measurable maps (random variables) that are nondecreasing: X1(ω)≤X2(ω)≤⋯X_1(\omega)\le X_2(\omega)\le\cdotsX1​(ω)≤X2​(ω)≤⋯ for every ω\omegaω. Write Pi=μ∘Xi−1P_i=\mu\circ X_i^{-1}Pi​=μ∘Xi−1​ for the distribution of XiX_iXi​. The four modes of convergence are:

  1. (i) tightness: for every ε>0\varepsilon>0ε>0 there is a compact K⊆EK\subseteq EK⊆E with Pi(K)≥1−εP_i(K)\ge1-\varepsilonPi​(K)≥1−ε for all iii;
  2. (ii) weak convergence: there is a probability measure PPP on EEE with ∫f dPi→∫f dP\int f\,dP_i\to\int f\,dP∫fdPi​→∫fdP for every bounded continuous f:E→Rf:E\to\mathbb Rf:E→R;
  3. (iii) convergence in probability: there is a random variable YYY with μ{d(Xi,Y)≥ε}→0\mu\{d(X_i,Y)\ge\varepsilon\}\to0μ{d(Xi​,Y)≥ε}→0 for all ε>0\varepsilon>0ε>0;
  4. (iv) almost sure convergence: Xi(ω)X_i(\omega)Xi​(ω) converges for μ\muμ-almost every ω\omegaω.

The space EEE satisfies condition (17) if for all sequences with xn≤yn≤xn+1x_n\le y_n\le x_{n+1}xn​≤yn​≤xn+1​ for every nnn, xn→zx_n\to zxn​→z implies yn→zy_n\to zyn​→z. In Lean this is Regular17 E, and the modes are LawsTight, LawsConvergeWeakly, ConvergesInProbability and ConvergesAS.

Formalization targets

Goal: Theorem 6 (p. 908)

For every probability space and every nondecreasing sequence X1≤X2≤⋯X_1\le X_2\le\cdotsX1​≤X2​≤⋯ of random variables in EEE,

(i)  ⟺  (ii)  ⟺  (iii),\text{(i)}\iff\text{(ii)}\iff\text{(iii)},(i)⟺(ii)⟺(iii),

and

(17)  ⟺  (for every probability space and every nondecreasing (Xi): (iv)  ⟺  (iii)).\text{(17)}\iff\Bigl(\text{for every probability space and every nondecreasing }(X_i):\ \text{(iv)}\iff\text{(iii)}\Bigr).(17)⟺(for every probability space and every nondecreasing (Xi​): (iv)⟺(iii)).

Milestones

  1. (i) ⇒ (iii) (proof of Theorem 6, p. 908): a nondecreasing sequence with tight laws converges in probability.
  2. (iii) and (17) ⇒ (iv) (pp. 908–909): under (17), a nondecreasing sequence converging in probability to YYY converges to YYY almost surely.
  3. Failure of (17) ⇒ counterexample (p. 909): if (17) fails, some nondecreasing sequence converges in probability to a constant but not almost surely.
  4. The Remarks' example (p. 909): E={(1−1n,0)}∪{(1,0)}∪{(n,1)}⊆R2E=\{(1-\tfrac1n,0)\}\cup\{(1,0)\}\cup\{(n,1)\}\subseteq\mathbb R^2E={(1−n1​,0)}∪{(1,0)}∪{(n,1)}⊆R2 with the linear ordering xn<yn<xn+1<zx_n<y_n<x_{n+1}<zxn​<yn​<xn+1​<z is a Polish space with a closed ordering in which (17) fails.

Significance

The result. Without monotonicity, tightness gives only weakly convergent subsequences (Prokhorov), and weak convergence of laws says nothing about the random variables themselves. Theorem 6 says that order removes both gaps: tightness of the marginal laws of a monotone sequence already produces a limiting random variable, in probability. Its second part gives an intrinsic, checkable criterion on the ordered space, condition (17), for upgrading this to almost sure convergence, and the Remarks show the criterion is not automatic. Coordinatewise-ordered Rd\mathbb R^dRd satisfies (17), so there all four modes coincide for monotone sequences.

Formalizing it. The theorem is proved in the paper and, to our knowledge, has no machine-checked proof. Mathlib has tightness, Prokhorov's theorem in one direction, weak convergence of probability measures and convergence in measure, but no results relating these modes for order-monotone sequences. The mission produces a formal proof of all four implications and of the characterisation by (17), together with a formally verified example of an ordered Polish space violating (17).

Difficulty

The obvious argument for (i) ⇒ (iii) imitates the real line: on each ω\omegaω the sequence is monotone and lies in a compact set "most of the time", so it should converge. Two things fail. First, the sequence need not stay in one compact set: tightness controls each PiP_iPi​ separately, and a fixed ω\omegaω may leave KKK infinitely often; only the subsequence of visits to KKK is relatively compact. Second, there is no supremum available in a general partial order, so the real-line argument for the existence of a limit has no analogue, and without the closedness of the order the statement is false. Turning the pointwise statement into convergence in probability then requires a uniformity argument across ω\omegaω. For the second part, the natural attempt to pass from a subsequence converging almost surely to the whole sequence fails without (17), which is the content of the counterexample.

Formalization scope

The space EEE carries [MetricSpace E] [CompleteSpace E] [SecondCountableTopology E] [MeasurableSpace E] [BorelSpace E] [PartialOrder E] [OrderClosedTopology E]. Second countability is equivalent to separability for metric spaces, and OrderClosedTopology is exactly a closed partial ordering. The closed order cannot be dropped: (i) ⇒ (iii) fails without it. Conventions committed to:

  • Monotonicity X1≤X2≤⋯X_1\le X_2\le\cdotsX1​≤X2​≤⋯ holds for every ω\omegaω, as printed; an almost sure version is equivalent after modification on a null set.
  • Weak convergence is to a ProbabilityMeasure, stated through integrals of bounded continuous functions (equivalent to Mathlib's topology on probability measures for measurable XiX_iXi​).
  • Convergence in probability is TendstoInMeasure to a measurable limit; the a.s. limit in (iv) need not be measurable.
  • Sequences are indexed from 000; the paper's index nnn is Lean's n−1n-1n−1.
  • In the second part of the goal the quantifier over probability spaces ranges over Type; "(iv) is also equivalent" is encoded as (iv) ⇔ (iii). The quantifier over all probability spaces and all nondecreasing sequences is essential: for one fixed sequence the "only if" direction is false, and fixing Ω\OmegaΩ would make the statement about one space rather than about EEE.
  • The p. 909 proof step says "take any probability space" with suitable events CiC_iCi​; such events do not exist on every probability space, so milestone 3 asserts the existence of a probability space. This is a disclosed imprecision of the printed text and does not change the theorem.
  • In the Remarks' example the space is a type synonym of the subtype of R×R\mathbb R\times\mathbb RR×R, with the linear order pulled back along an injective rank (not the coordinatewise order). Mathlib's metric on R×R\mathbb R\times\mathbb RR×R is the maximum metric; it induces the same topology and uniformity as the Euclidean metric, which is all the example uses. Completeness, separability and closedness of the order are part of the milestone's conclusion, not assumed.

A trivializing formalization is ruled out: no hypothesis forces the sequence to be constant, the modes are not defined in terms of each other, and the second part quantifies over every probability space and sequence.

Reusable infrastructure: the four modes of convergence for random elements of a metric space, and the identification of limits through closed orders. Contributions welcome: proofs of the standard implications (iv) ⇒ (iii) ⇒ (ii) ⇒ (i) in Polish spaces, the milestone proofs, and a proof that coordinatewise Rd\mathbb R^dRd satisfies (17).

Selected references

  • T. Kamae, U. Krengel, G. L. O'Brien, Stochastic Inequalities on Partially Ordered Spaces, The Annals of Probability 5(6), 899–912, 1977. https://doi.org/10.1214/aop/1176995659
  • L. Nachbin, Topology and Order, Van Nostrand, 1965 (local convexity of ordered spaces, cited in the Remarks).
  • P. Billingsley, Convergence of Probability Measures, 2nd ed., Wiley, 1999 (tightness and weak convergence). https://doi.org/10.1002/9780470316962
8 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryFunctional Analysis·Captain: mikedeng1

Existence of Correlated Equilibria II: A Game with Finite Strategy Sets and Continuous Payoffs Has a Countably Additive Correlated Equilibrium, However Many PlayersResearch Paper

Motivation

A correlated equilibrium describes a recommendation scheme for a game: a common random device selects a profile of actions, tells each player only their own recommended action, and no player gains in expectation by replacing that recommendation with another action. This makes sense even when there are infinitely many players. The finite-player existence theorem, however, does not settle what happens to a probability distribution on the product of infinitely many strategy sets, or whether that distribution is countably additive. Hart and Schmeidler proved that continuous payoffs and finite individual strategy sets suffice, with no countability assumption on the player set. Their Theorem 2(ii) is the target here.

The distinction between correlation and independent play is material. Peleg's 1969 paper studied equilibrium points with infinitely many players. Hart and Schmeidler reproduce a discontinuous binary-action example with no Nash equilibrium yet a countably additive correlated equilibrium, then change its payoffs to obtain a game with no countably additive correlated equilibrium. Those examples explain why the measure class and payoff regularity in the theorem need to be stated precisely. The modified example is an additional target of this mission. The main existence theorem is already proved in the 1989 paper; the mission asks for a machine-checked formalization of that known result and its selected proof steps.

Setting

Let NNN be a nonempty set of players, possibly uncountable. Player i∈Ni\in Ni∈N has a nonempty finite set SiS^iSi of pure strategies. A strategy profile is a tuple s∈S=∏i∈NSis\in S=\prod_{i\in N}S^is∈S=∏i∈N​Si. A game specifies a real payoff hi(s)h^i(s)hi(s) for every player and profile. Each SiS^iSi has the discrete topology; SSS has the product topology. Write Σ0\Sigma_0Σ0​ for the product σ-algebra, generated by cylinder events that inspect finitely many coordinates. It can be strictly smaller than the Borel σ-algebra of SSS when NNN is uncountable.

For ri,ti∈Sir^i,t^i\in S^iri,ti∈Si, write (s−i,ti)(s^{-i},t^i)(s−i,ti) for the profile obtained by replacing only the iiith coordinate of sss by tit^iti. A countably additive probability measure ppp on (S,Σ0)(S,\Sigma_0)(S,Σ0​) is a correlated equilibrium when every recommendation rir^iri gives a nonnegative expected advantage over switching to tit^iti:

∫{s:si=ri}[hi(s)−hi(s−i,ti)] dp(s)≥0.\int_{\{s:s^i=r^i\}}\left[h^i(s)-h^i(s^{-i},t^i)\right]\,dp(s)\ge 0.∫{s:si=ri}​[hi(s)−hi(s−i,ti)]dp(s)≥0.

The inequality is weighted by the probability of receiving rir^iri; it remains meaningful when that probability is zero. The integrand must be integrable on this cylinder. In the theorem, continuity and compactness provide the boundedness and measurability needed for the integral. For the separate discontinuous example, integrability is checked as part of the equilibrium condition.

Formalization targets

Theorem 2(ii): countably additive existence

For arbitrary nonempty NNN, finite nonempty SiS^iSi, and continuous payoffs hi:S→Rh^i:S\to\mathbb Rhi:S→R, the goal is

∃p∈Pσ(S,Σ0)∀i∈N ∀ri,ti∈Si,∫{s:si=ri}[hi(s)−hi(s−i,ti)] dp(s)≥0.\exists p\in\mathcal P_{\sigma}(S,\Sigma_0)\quad \forall i\in N\ \forall r^i,t^i\in S^i, \quad \int_{\{s:s^i=r^i\}}[h^i(s)-h^i(s^{-i},t^i)]\,dp(s)\ge0.∃p∈Pσ​(S,Σ0​)∀i∈N ∀ri,ti∈Si,∫{s:si=ri}​[hi(s)−hi(s−i,ti)]dp(s)≥0.

Here Pσ\mathcal P_{\sigma}Pσ​ denotes countably additive probability measures. The supporting targets follow the source's proof: every finite-restriction game has an equilibrium, a family of such equilibrium measures has a cluster point when tested against continuous real functions, and that cluster point satisfies the incentive inequalities. The cluster statement tests finite collections of functions, which is what a neighborhood in the weak topology requires.

Example 2: the continuity boundary

Players i=1,2,…i=1,2,\ldotsi=1,2,… choose si∈{0,1}s^i\in\{0,1\}si∈{0,1}. Let Case 1 mean that only finitely many players choose 111. The payoff is si/i2s^i/i^2si/i2 in Case 1 and −si-s^i−si otherwise. The additional target states

∄ a countably additive correlated equilibrium on (S,Σ0).\nexists\text{ a countably additive correlated equilibrium on }(S,\Sigma_0).∄ a countably additive correlated equilibrium on (S,Σ0​).

Theorem 2(i), which asserts existence for bounded measurable payoffs using a finitely additive probability on a larger algebra, is outside this proposal. It is a different conclusion requiring finitely additive integration.

Significance

Theorem 2(ii) gives an equilibrium distribution that is an ordinary countably additive probability measure, while allowing arbitrarily many players. It lets the same incentive test be applied to each player's observable recommendation event, without replacing the product σ-algebra by a larger space of events. Example 2 shows the statement changes when continuity is dropped: bounded measurable binary payoffs alone do not guarantee a countably additive equilibrium. Both claims are established in the source paper.

Formalizing the result produces reusable interfaces for probability measures on products of finite strategy spaces, finite-support equilibrium distributions, and weak tests by continuous functions. The local Lean files compile as statements; the goal and milestone theorems remain open for machine-checked proofs. Platform work on finite Nash and correlated equilibria, including AGT.nash_existence, AGT.IsCorrelatedEquilibrium, Aumann1987.*, and CalibratedCE.*, supplies related vocabulary but uses finite-player or different distribution conventions. None of those declarations is used as a substitute for this theorem about an arbitrary player set.

Difficulty

Finite strategy sets do not make the full profile space finite when the player set is infinite. A direct finite-game argument therefore supplies only finite restrictions, and an arbitrary limit of their distributions may lose either countable additivity or the incentive inequalities if the topology and σ-algebra are handled carelessly. Continuity is what makes the payoff-difference tests compatible with the weak topology on measures. The paper's discontinuous Example 2 rules out the tempting extension from continuous to merely bounded measurable payoffs.

Formalization scope

Profiles have Lean type ∀ i, S i; payoffs have type ι → (∀ i, S i) → ℝ. The theorem assumes [Nonempty ι], a finite nonempty strategy type for each player, discrete topologies and discrete measurable structures on the factors, and continuity of every payoff on the product. It does not assume Countable ι. The default Pi measurable structure is Σ0\Sigma_0Σ0​. Measures are Mathlib's countably additive Measure, with IsProbabilityMeasure. IsCorrelatedEq includes IntegrableOn explicitly, because an undefined Bochner integral otherwise evaluates to zero in Lean and could make the equilibrium condition empty.

An f-set has a nonempty finite strategy subset at every coordinate and differs from a singleton at only finitely many coordinates. Finite weighted profiles represent its equilibrium measure; this avoids treating a profile singleton as measurable in an uncountable product. For the cluster-point statements, f-sets contain a fixed anchor profile s^\hat ss^. The paper orders all f-sets by inclusion and calls them a net, but that index set is not directed: two singleton products can disagree at infinitely many coordinates. Anchored f-sets are directed and admit every finite coordinate demand used in the argument. This repair is explicit in the milestone statements and audit notes. Neither the goal nor the equilibrium definition depends on the chosen anchor.

The development needs product topology and σ-algebra facts, finite-game correlated-equilibrium existence, compactness for probability measures tested by continuous functions, and finite-sum-to-integral connections. Contributions proving these steps or the main theorem are in scope. The finitely additive conclusion of Theorem 2(i), Peleg's first example, and the paper's noncountably additive example measure are not formalized here. A sorry-free check supplies a concrete two-player coordination game and a correlated equilibrium, demonstrating that the main hypotheses are satisfiable.

Selected references

  • Sergiu Hart and David Schmeidler, Existence of Correlated Equilibria, Mathematics of Operations Research 14 (1989), 18–25. DOI: 10.1287/moor.14.1.18.
  • Bezalel Peleg, Equilibrium Points for Games with Infinitely Many Players, Journal of the London Mathematical Society s1-44 (1969), 292–294. DOI: 10.1112/jlms/s1-44.1.292.
7 thms2 active usersReviewed
Operations ResearchStatistics·Captain: mikedeng1

The Data-Driven Newsvendor Problem: New Bounds and Insights I: The SAA Order Is ε-Optimal with Probability at Least 1 − 2exp(−Nε²min(b,h)/((18 + 8ε)(b + h)))Research Paper

Motivation

The newsvendor problem is the basic model of stocking under uncertain demand: an order quantity is fixed before a random demand is observed, and every unit short or left over is penalized. Its solution is a quantile of the demand distribution. In practice that distribution is unknown and only a sample of past demands is available. The standard remedy, sample average approximation (SAA), replaces the expectation by the empirical average over the sample and orders the corresponding sample quantile. The practical question is how many observations make the SAA order nearly as good as the true optimum, without assuming anything about the demand distribution.

Levi, Roundy and Shmoys (Math. Oper. Res. 32(4), 2007) gave the first distribution-free answer, using Hoeffding's inequality. Levi, Perakis and Uichanco (Oper. Res. 63(6), 2015) improved it with Bernstein's inequality. The improvement matters most when the service level is high, which is the typical case in inventory practice. This mission formalizes that improved bound, Theorem 2 of the 2015 paper.

Setting

A retailer orders q∈Rq\in\mathbb Rq∈R units before a real demand DDD with law μ\muμ and cdf F(q)=Pr⁡(D≤q)F(q)=\Pr(D\le q)F(q)=Pr(D≤q) is realized. Unmet demand costs b>0b>0b>0 per unit (underage cost) and unsold stock costs h>0h>0h>0 per unit (overage cost). The expected cost is

C(q)=E[b(D−q)++h(q−D)+],C(q)=\mathbb E\big[b(D-q)^+ + h(q-D)^+\big],C(q)=E[b(D−q)++h(q−D)+],

which is finite when E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞. The critical quantile is q∗=inf⁡{q:F(q)≥b/(b+h)}q^*=\inf\{q:F(q)\ge b/(b+h)\}q∗=inf{q:F(q)≥b/(b+h)}, and it minimizes CCC.

An order qqq is ϵ\epsilonϵ-optimal when its relative regret (C(q)−C(q∗))/C(q∗)(C(q)-C(q^*))/C(q^*)(C(q)−C(q∗))/C(q∗) is at most ϵ\epsilonϵ, i.e. C(q)≤(1+ϵ)C(q∗)C(q)\le(1+\epsilon)C(q^*)C(q)≤(1+ϵ)C(q∗). The set of such orders is SϵS_\epsilonSϵ​. The function CCC is convex with one-sided derivatives

∂+C(q)=−b+(b+h)F(q),∂−C(q)=−b+(b+h)Pr⁡(D<q).\partial_+C(q)=-b+(b+h)F(q),\qquad \partial_-C(q)=-b+(b+h)\Pr(D<q).∂+​C(q)=−b+(b+h)F(q),∂−​C(q)=−b+(b+h)Pr(D<q).

The LRS interval is

SϵLRS={q:∂−C(q)≤ϵ3min⁡(b,h) and ∂+C(q)≥−ϵ3min⁡(b,h)}.S^{LRS}_\epsilon=\Big\{q:\partial_-C(q)\le\tfrac\epsilon3\min(b,h)\ \text{and}\ \partial_+C(q)\ge-\tfrac\epsilon3\min(b,h)\Big\}.SϵLRS​={q:∂−​C(q)≤3ϵ​min(b,h) and ∂+​C(q)≥−3ϵ​min(b,h)}.

Given an i.i.d. sample D1,…,DND^1,\dots,D^ND1,…,DN from μ\muμ, the empirical cdf is F^N(q)=1N∑k1[Dk≤q]\hat F_N(q)=\frac1N\sum_k\mathbf 1[D^k\le q]F^N​(q)=N1​∑k​1[Dk≤q], and the SAA solution is the sample quantile

Q^N=inf⁡{q:F^N(q)≥b/(b+h)}.\hat Q_N=\inf\{q:\hat F_N(q)\ge b/(b+h)\}.Q^​N​=inf{q:F^N​(q)≥b/(b+h)}.

It is a random variable through the sample.

Formalization targets

Goal: Theorem 2 (improved LRS bound)

For every demand law with E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞, every N≥1N\ge1N≥1 and every 0<ϵ≤10<\epsilon\le10<ϵ≤1,

Pr⁡(Q^N∉Sϵ)≤2exp⁡(−Nϵ218+8ϵ⋅min⁡{b,h}b+h).\Pr\big(\hat Q_N\notin S_\epsilon\big)\le 2\exp\Big(-\frac{N\epsilon^2}{18+8\epsilon}\cdot\frac{\min\{b,h\}}{b+h}\Big).Pr(Q^​N​∈/Sϵ​)≤2exp(−18+8ϵNϵ2​⋅b+hmin{b,h}​).

Milestones, in the order of the paper's proof

  1. (§2, p. 7) CCC is convex, and its one-sided derivatives are the two formulas above.
  2. (Theorem EC.1) Bernstein's inequality for i.i.d. bounded variables: Pr⁡(1N∑iXi−EX1≥t)≤exp⁡(−Nt2/(2σ2+2tc/3))\Pr\big(\frac1N\sum_iX^i-\mathbb E X^1\ge t\big)\le\exp\big(-Nt^2/(2\sigma^2+2tc/3)\big)Pr(N1​∑i​Xi−EX1≥t)≤exp(−Nt2/(2σ2+2tc/3)).
  3. (Proposition EC.1) For every γ>0\gamma>0γ>0, Pr⁡(∂−C(Q^N)≤γ and ∂+C(Q^N)≥−γ)≥1−2exp⁡(−3Nγ2/(6bh+8γ(b+h)))\Pr\big(\partial_-C(\hat Q_N)\le\gamma\text{ and }\partial_+C(\hat Q_N)\ge-\gamma\big)\ge1-2\exp\big(-3N\gamma^2/(6bh+8\gamma(b+h))\big)Pr(∂−​C(Q^​N​)≤γ and ∂+​C(Q^​N​)≥−γ)≥1−2exp(−3Nγ2/(6bh+8γ(b+h))).
  4. (Display (3)) For 0<ϵ≤10<\epsilon\le10<ϵ≤1, SϵLRS⊆SϵS^{LRS}_\epsilon\subseteq S_\epsilonSϵLRS​⊆Sϵ​.

Significance

The earlier LRS bound has the exponent −29Nϵ2(min⁡{b,h}/(b+h))2-\frac29N\epsilon^2\big(\min\{b,h\}/(b+h)\big)^2−92​Nϵ2(min{b,h}/(b+h))2. Theorem 2 replaces the square by the first power. When the critical ratio b/(b+h)b/(b+h)b/(b+h) approaches 111 (high service levels), min⁡{b,h}/(b+h)\min\{b,h\}/(b+h)min{b,h}/(b+h) is small, and the required sample size drops accordingly. Raising the service level from 95% to 99% multiplies the sample size the LRS bound requires by 25, but the sample size Theorem 2 requires only by 5 (p. 9). The bound holds for every demand distribution, with no density, continuity or support assumption.

The milestones are reusable on their own. One is the one-sided derivative formula for the expected newsvendor cost. Another is Bernstein's inequality for i.i.d. bounded variables, which Mathlib does not have; it has Hoeffding's inequality. The third is a distribution-free concentration statement for sample quantiles. The result is proved in the paper. To our knowledge none of these statements is formalized; this mission produces machine-checked versions.

Difficulty

A Hoeffding-type argument yields only the squared dependence on min⁡{b,h}/(b+h)\min\{b,h\}/(b+h)min{b,h}/(b+h). The improvement needs the variance F(1−F)F(1-F)F(1−F) of the indicator 1[D≤q]\mathbf 1[D\le q]1[D≤q], which is small near extreme quantiles. Bernstein's inequality applies at a fixed point qqq. The sample quantile, however, is random, and FFF can jump. The event that Q^N\hat Q_NQ^​N​ falls left of the target quantile therefore has to be reduced to deviations of F^N\hat F_NF^N​ at deterministic points, with care at atoms of DDD, where ∂+C\partial_+C∂+​C and ∂−C\partial_-C∂−​C differ. The final step from the derivatives to the relative regret requires convexity of CCC and a lower bound on C(q∗)C(q^*)C(q∗) that holds for every distribution.

Formalization scope

  • Model. The demand law is a probability measure μ on ℝ, with no sign restriction (the page's q≥0q\ge0q≥0 plays no role here). FFF is Mathlib's cdf μ, and Pr⁡(D<q)\Pr(D<q)Pr(D<q) is μ (Set.Iio q). The realized cost is the published InventoryControl.newsboyLoss h b q d, and CCC is a Bochner integral. Every statement that evaluates CCC assumes Integrable id μ (E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞). This is the standing assumption under which CCC is an expectation. It also rules out the trivializing formalization in which a non-integrable cost integrates to 000 and every order is ϵ\epsilonϵ-optimal.
  • Quantiles. q∗q^*q∗ and Q^N\hat Q_NQ^​N​ are infima (sInf) of sets that are nonempty and bounded below under the hypotheses, never argmins or choice functions. The sample is x : Fin N → ℝ under the product measure Measure.pi (fun _ => μ), with N≥1N\ge1N≥1; the indices are 0-based.
  • Probabilities. "With probability at least 1−p1-p1−p" is stated as an upper bound ppp on the outer measure of the failure set.
  • ϵ\epsilonϵ-optimality is the multiplicative form C(q)≤(1+ϵ)C(q∗)C(q)\le(1+\epsilon)C(q^*)C(q)≤(1+ϵ)C(q∗), which avoids dividing by C(q∗)C(q^*)C(q∗).
  • Pinned hypotheses.
    • The goal and milestone 4 are stated for 0<ϵ≤10<\epsilon\le10<ϵ≤1. The paper says "for any ϵ>0\epsilon>0ϵ>0", but both statements fail for large ϵ\epsilonϵ. Take b=h=1b=h=1b=h=1, N=1N=1N=1 and D∈{0,M}D\in\{0,M\}D∈{0,M} with Pr⁡(D=M)=0.005\Pr(D=M)=0.005Pr(D=M)=0.005. Then q∗=0q^*=0q∗=0, and the order MMM has relative regret 198198198, yet at ϵ=150\epsilon=150ϵ=150 the bound promises a failure probability of about 1.9⋅10−41.9\cdot10^{-4}1.9⋅10−4.
    • In Theorem EC.1, the centred bound ∣X1−EX1∣≤c|X^1-\mathbb EX^1|\le c∣X1−EX1∣≤c is added to the printed ∣X1∣≤c|X^1|\le c∣X1∣≤c. It holds for the indicators to which the paper applies the inequality.

A complete development needs the following:

  • the one-sided derivatives of a convex integral functional;
  • Bernstein's inequality for product measures;
  • the quantile-to-cdf reduction for the empirical and the true cdf;
  • the convexity estimate behind (3).

The Bernstein inequality and the sample-quantile concentration are useful beyond this mission. Contributions to any milestone are welcome.

Selected references

  • R. Levi, G. Perakis, J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, Operations Research 63(6), 2015. https://doi.org/10.1287/opre.2015.1422. Statements are cited from the authors' accepted manuscript (MIT DSpace), body pp. 7–9 and e-companion pp. ec5–ec6.
  • R. Levi, R. O. Roundy, D. B. Shmoys, Provably Near-Optimal Sampling-Based Policies for Stochastic Inventory Control Models, Mathematics of Operations Research 32(4), 2007. https://doi.org/10.1287/moor.1070.0272
  • S. N. Bernstein, Theory of Probability, Moscow, 1927.
  • P. H. Zipkin, Foundations of Inventory Management, McGraw-Hill, 2000.
7 thms2 active usersReviewed
CombinatoricsOperations Research·Captain: mikedeng1

Subadditive Ergodic Theory 6: The Ulam–Hammersley Constant of the Longest Increasing Subsequence Satisfies (8/π)^{1/2} ≤ c ≤ δ^{1/2} + δ^{−1/2}Research Paper

Motivation

Ulam asked, in the early 1960s, how long the longest increasing subsequence of a random permutation typically is. The question is a test case for a whole class of problems in combinatorial probability: a quantity defined by an optimisation over exponentially many configurations (here, all subsequences) whose typical size has to be found without enumerating them. The same structure appears in last-passage percolation, in the patience-sorting card game, in sequence comparison, and in scheduling problems where the longest chain of a random partial order determines a makespan.

J. F. C. Kingman's IMS Special Invited Paper Subadditive ergodic theory (Ann. Probab. 1 (1973), 883–899) presents Ulam's problem in §2.4 as an application of the subadditive ergodic theorem, following J. M. Hammersley, and then proves explicit bounds on the limiting constant. This mission formalizes those bounds.

Timeline.

  • Ulam (1961) raised the question and conjectured, from simulations, that the typical length grows like a constant times n\sqrt nn​.
  • Erdős and Szekeres (1935) had already shown deterministically that every permutation of nnn elements has an increasing or a decreasing subsequence of length at least n\sqrt nn​.
  • Hammersley (A few seedlings of research, Proc. Sixth Berkeley Symp. 1 (1972), 345–394) proved, by embedding the permutation in a planar Poisson process and applying a subadditivity argument, that n−1/2n^{-1/2}n−1/2 times the length converges in probability to a constant ccc, and showed 12π≤c≤e\tfrac12\pi\le c\le e21​π≤c≤e.
  • Kingman (1973), the paper of this mission, refined the bounds to (8/π)1/2≤c≤δ1/2+δ−1/2(8/\pi)^{1/2}\le c\le\delta^{1/2}+\delta^{-1/2}(8/π)1/2≤c≤δ1/2+δ−1/2, that is 1.59<c<2.491.59<c<2.491.59<c<2.49.
  • Logan and Shepp (1977) and Vershik and Kerov (1977) later identified the constant exactly. That later work is not part of this mission.

Setting

Let Sn\mathcal S_nSn​ be the group of permutations of {1,2,…,n}\{1,2,\dots,n\}{1,2,…,n}. For σ∈Sn\sigma\in\mathcal S_nσ∈Sn​, a sequence of positions 1≤i1<i2<⋯<ik≤n1\le i_1<i_2<\dots<i_k\le n1≤i1​<i2​<⋯<ik​≤n is ascending if σ(i1)<σ(i2)<⋯<σ(ik)\sigma(i_1)<\sigma(i_2)<\dots<\sigma(i_k)σ(i1​)<σ(i2​)<⋯<σ(ik​). The length of the longest ascending sequence, l(σ)l(\sigma)l(σ), is the largest such kkk.

The uniform distribution on Sn\mathcal S_nSn​ gives each of the n!n!n! permutations probability 1/n!1/n!1/n!, so an event A⊆SnA\subseteq\mathcal S_nA⊆Sn​ has probability P{A}=∣A∣/n!P\{A\}=|A|/n!P{A}=∣A∣/n!. Let πn\pi_nπn​ denote a permutation drawn from this distribution. The sequence n−1/2 l(πn)n^{-1/2}\,l(\pi_n)n−1/2l(πn​) converges in probability to a real number ccc if, for every ε>0\varepsilon>0ε>0,

P{∣n−1/2 l(πn)−c∣>ε}→0(n→∞).P\{|n^{-1/2}\,l(\pi_n)-c|>\varepsilon\}\to0\qquad(n\to\infty).P{∣n−1/2l(πn​)−c∣>ε}→0(n→∞).

For integers k≥1k\ge1k≥1, νk(σ)\nu_k(\sigma)νk​(σ) denotes the number of ascending sequences of length kkk in σ\sigmaσ. For 0<α<b0<\alpha<b0<α<b write

E(α,b)=2α+(b−α)log⁡(b−α)−αlog⁡α−blog⁡b,E(\alpha,b)=2\alpha+(b-\alpha)\log(b-\alpha)-\alpha\log\alpha-b\log b ,E(α,b)=2α+(b−α)log(b−α)−αlogα−blogb,

the exponent appearing in Kingman's condition (2.4.8). (The paper calls the second variable β\betaβ; in Lean it is bbb, because β\betaβ also names the constant below.)

Formalization targets

Goal: Theorem 8

Let ccc be the limit in probability of n−1/2l(πn)n^{-1/2}l(\pi_n)n−1/2l(πn​). Let δ\deltaδ be the unique positive root of log⁡(1+δ)=2δ/(1+δ)\log(1+\delta)=2\delta/(1+\delta)log(1+δ)=2δ/(1+δ), and β=δ1/2+δ−1/2\beta=\delta^{1/2}+\delta^{-1/2}β=δ1/2+δ−1/2. Then

(8π)1/2≤c≤β(2.4.4)\Big(\frac8\pi\Big)^{1/2}\le c\le\beta \tag{2.4.4}(π8​)1/2≤c≤β(2.4.4)

and hence

1.59<c<2.49.(2.4.5)1.59<c<2.49. \tag{2.4.5}1.59<c<2.49.(2.4.5)

Numerically δ≈3.9216\delta\approx3.9216δ≈3.9216 and β≈2.4853\beta\approx2.4853β≈2.4853. The goal states (2.4.4) and (2.4.5) as printed, together with the existence and uniqueness of δ\deltaδ.

Milestones

  1. Theorem 7 (Hammersley). There is an absolute constant ccc such that n−1/2l(πn)→cn^{-1/2}l(\pi_n)\to cn−1/2l(πn​)→c in probability.
  2. The double integral of the lower-bound argument: ∫0∞ ⁣∫0∞x e−12(x+y)2 dx dy=(π/8)1/2\int_0^\infty\!\int_0^\infty x\,e^{-\frac12(x+y)^2}\,dx\,dy=(\pi/8)^{1/2}∫0∞​∫0∞​xe−21​(x+y)2dxdy=(π/8)1/2.
  3. First moment of ν\nuν: for k≥1k\ge1k≥1, E(νk)=(nk)(k!)−1E(\nu_k)=\binom nk(k!)^{-1}E(νk​)=(kn​)(k!)−1.
  4. Subsequence count: if l(σ)≥kl(\sigma)\ge kl(σ)≥k then νk(σ)≥(l(σ)k)\nu_k(\sigma)\ge\binom{l(\sigma)}kνk​(σ)≥(kl(σ)​).
  5. (2.4.7): for 1≤k≤r1\le k\le r1≤k≤r, P{l(π)≥r}≤(nk)[k!(rk)]−1P\{l(\pi)\ge r\}\le\binom nk\big[k!\binom rk\big]^{-1}P{l(π)≥r}≤(kn​)[k!(kr​)]−1.
  6. (2.4.8): if 0<α<b0<\alpha<b0<α<b and E(α,b)<0E(\alpha,b)<0E(α,b)<0, then P{l(π)≥b n1/2}→0P\{l(\pi)\ge b\,n^{1/2}\}\to0P{l(π)≥bn1/2}→0.
  7. The optimisation: inf⁡{b>0:∃α∈(0,b), E(α,b)<0}=δ1/2+δ−1/2\inf\{b>0:\exists\alpha\in(0,b),\ E(\alpha,b)<0\}=\delta^{1/2}+\delta^{-1/2}inf{b>0:∃α∈(0,b), E(α,b)<0}=δ1/2+δ−1/2.

Significance

The result. Theorem 8 was, at the time, the sharpest rigorous information about Ulam's constant. Its upper bound comes from a first-moment computation that applies to any random structure in which long increasing chains can be counted; the same calculation bounds the longest chain in random partial orders and the height of random kkk-dimensional orders. The lower bound shows that a greedy path through a Poisson process already achieves a positive fraction of the optimum, an argument reused for last-passage percolation models.

Formalizing it. All results here are proved in the literature; none is open. To the best of our knowledge none of them has been machine-checked. A complete development produces: an exact non-asymptotic tail bound on the longest increasing subsequence ((2.4.7)), useful on its own; a Stirling-type asymptotic for products of binomial coefficients at scale n\sqrt nn​; and, through Theorem 7, a formal existence proof of the Ulam constant. Theorem 7 is the substantial piece: the paper's proof is a sketch through a continuous-parameter subadditive ergodic theorem and a planar Poisson process.

Difficulty

The upper bound needs care with asymptotics: (2.4.7) holds for each nnn, but the passage to (2.4.8) uses Stirling's formula with kkk and rrr integers tending to infinity at rate n\sqrt nn​, and the infimum in milestone 7 is not attained (the admissible set is open), so the argument must produce, for every b>βb>\betab>β, a suitable α\alphaα.

The lower bound is where the obvious approach fails. A first-moment or counting argument gives only upper bounds on lll; a lower bound requires exhibiting long ascending sequences. The paper's argument does this with a greedy path in a planar Poisson process, which is not a statement about uniform permutations and needs the Poissonization of Theorem 7 to transfer back. Proving c≥(8/π)1/2c\ge(8/\pi)^{1/2}c≥(8/π)1/2 directly from the counting definition of lll is not available. Both bounds also need the existence of ccc, which is Theorem 7.

Formalization scope

  • Sn\mathcal S_nSn​ is Equiv.Perm (Fin n); the permutation is named σ\sigmaσ in Lean because π\piπ is Real.pi.
  • l(σ)l(\sigma)l(σ) is the largest cardinality of a finite set of positions on which σ\sigmaσ is strictly increasing; νk(σ)\nu_k(\sigma)νk​(σ) is the number of such sets with exactly kkk elements.
  • Probabilities under the uniform law are proportions ∣A∣/n!|A|/n!∣A∣/n!. Convergence in probability depends only on the law of each πn\pi_nπn​ (the paper notes this on p. 895), so no common probability space is introduced. Time is n∈Nn\in\mathbb Nn∈N, and at n=0n=0n=0 Lean reads l/0l/\sqrt0l/0​ as 000, which does not affect a limit.
  • The constant of Theorem 8 enters as a hypothesis: the goal is stated for every real ccc to which n−1/2l(πn)n^{-1/2}l(\pi_n)n−1/2l(πn​) converges in probability. Such a limit is unique, and Theorem 7 shows it exists. No sign or bound on ccc is assumed. The goal and milestone 7 assert that the positive root δ\deltaδ exists and is unique, so the upper bound cannot hold vacuously for want of a root.
  • The double integral is stated as a value only; the claim that it is the mean of i.i.d. increments of a Poisson greedy path is not formalized.

Needed infrastructure: counting arguments on Finset.powersetCard; Stirling's formula (Mathlib has Stirling.tendsto_stirlingSeq_sqrt_pi); elementary calculus for the root δ\deltaδ; Gaussian-type integrals on the quadrant. Theorem 7 additionally needs Poisson point processes in the plane, which Mathlib lacks, or another route to the existence of the limit. Contributions of that infrastructure are welcome and reusable well beyond this mission. The counting bounds (milestones 3–5) are independent of Theorem 7 and are a natural first target.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Annals of Probability 1(6) (1973), 883–899. https://doi.org/10.1214/aop/1176996798
  • J. M. Hammersley, A few seedlings of research, Proc. Sixth Berkeley Symposium on Mathematical Statistics and Probability, Vol. 1 (1972), 345–394. https://projecteuclid.org/euclid.bsmsp/1200514101
  • S. M. Ulam, Monte Carlo calculations in problems of mathematical physics, in Modern Mathematics for the Engineer, Second Series, McGraw-Hill (1961), 261–281.
  • P. Erdős and G. Szekeres, A combinatorial problem in geometry, Compositio Mathematica 2 (1935), 463–470. http://www.numdam.org/item/CM_1935__2__463_0/
9 thms2 active usersReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Subadditive Ergodic Theory 3: A Separable Continuous-Parameter Subadditive Process with E(Ω_I) < ∞ Has x₀ₜ/t → ξ with Probability One and in Mean, E(ξ) = γResearch Paper

Motivation

Many random growth models attach a cost, distance, or accumulated quantity to each time interval. If the quantity over a long interval is at most the sum over two adjacent intervals, it is subadditive. A stable rate over long intervals is useful even when the underlying random system does not have a simple independent-increment description. Kingman's 1973 account places percolation and products of random matrices among the applications of this framework. Its basic theorem treats integer time; the present mission concerns the change to every nonnegative real time. Kingman, §1.1 and §1.4.

The change matters because observing a process at integer times can miss arbitrarily large behavior between observations. Kingman gives a smooth stationary-increment example in Theorem 3 where no prescribed increasing bound eventually controls the values at all real times. Theorem 4 gives a condition that does control this local behavior. These two results together explain why the continuous-time statement needs more than a formal change of index type. Kingman, Theorems 3–4.

Setting

Work on a probability space (S,F,P)(S,\mathcal F,P)(S,F,P). A continuous-parameter subadditive process is a family of real random variables xstx_{st}xst​ indexed by 0≤s<t0\le s<t0≤s<t. It satisfies xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ whenever 0≤s<t<u0\le s<t<u0≤s<t<u. Its stationarity says that, for every real shift τ≥0\tau\ge0τ≥0, the complete shifted family (xs+τ,t+τ)s<t(x_{s+\tau,t+\tau})_{s<t}(xs+τ,t+τ​)s<t​ has the same joint distribution as (xst)s<t(x_{st})_{s<t}(xst​)s<t​. Finally, the mean gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) exists as a finite real number for each t>0t>0t>0 and obeys gt≥−Atg_t\ge-Atgt​≥−At for one constant AAA. These are the continuous-time versions of Kingman's conditions S₁, S₂, and S₃. Equality of the law of each individual coordinate would be too weak for S₂. Kingman, pp. 883–884, 887.

For an interval I⊆[0,∞)I\subseteq[0,\infty)I⊆[0,∞), the oscillation is ΩI=sup⁡s<t, s,t∈I∣xst∣\Omega_I=\sup_{s<t,\,s,t\in I}|x_{st}|ΩI​=sups<t,s,t∈I​∣xst​∣. A process has the local oscillation condition when E(ΩI)<∞E(\Omega_I)<\inftyE(ΩI​)<∞ for one nondegenerate interval III. In §1.4 the paper states that this condition then holds on every bounded interval. The quantity γ=inf⁡t>0gt/t\gamma=\inf_{t>0}g_t/tγ=inft>0​gt​/t is the mean growth rate. Kingman, (1.4.1), (1.4.6)–(1.4.7).

The paper also requires separability. Here this means that, outside one probability-zero set, the value at every admissible pair of times can be approached along a sequence from a fixed countable dense set of pairs. It is a condition on how the uncountable family is observed, and it permits discontinuous sample paths. Kingman cites the standard separability convention without defining it in §1.4; the mission makes the convention explicit. Kingman, Theorem 4 and following discussion.

Formalization targets

Theorem 4: convergence at all real times

For a separable process satisfying S₁–S₃ and the local oscillation condition, the target is an integrable real random variable ξ\xiξ such that

x0tt⟶ξalmost surely and in L1(P)(t→∞, t∈R),E(ξ)=γ=inf⁡u>0guu.\frac{x_{0t}}{t}\longrightarrow\xi\quad\text{almost surely and in }L^1(P) \quad(t\to\infty,\ t\in\mathbb R), \qquad E(\xi)=\gamma=\inf_{u>0}\frac{g_u}{u}.tx0t​​⟶ξalmost surely and in L1(P)(t→∞, t∈R),E(ξ)=γ=u>0inf​ugu​​.

The time variable ranges over all real values tending to infinity. The integer-time assertion (1.4.8) is a separate milestone, not the goal. Other milestones identify the deterministic mean rate, extend the oscillation condition to bounded intervals, record the bounds at times between consecutive integers, and state the vanishing of normalized unit-interval oscillation. Each comes from a sentence or display in §1.4. Kingman, Theorem 4 and proof.

Significance

Theorem 4 gives a long-run rate for a broad stationary subadditive family without assuming that its trajectories are continuous or differentiable. Its mean statement identifies the expectation of the random limit with a deterministic infimum of normalized expectations. The paper notes that the usual continuous-time ergodic theorem for additive integral processes is a corollary, because such processes satisfy its oscillation condition. The condition is therefore compatible with familiar additive models while also covering discontinuous subadditive ones. Kingman, p. 890.

The theorem and its argument are known from the paper; this mission asks for a machine-checked development of the stated result. A completed development would provide reusable formal interfaces for joint-law stationarity of an uncountable family, separability, extended-valued oscillations, and almost-sure plus L1L^1L1 limits. The proposed theorem statements compile as open goals; compiling them does not prove them. Kingman, §1.4.

Difficulty

An integer-time subadditive theorem controls x0n/nx_{0n}/nx0n​/n only on its discrete skeleton. It cannot by itself rule out large values of x0t/tx_{0t}/tx0t​/t for times between consecutive integers; Theorem 3 shows that such behavior can occur even with smooth stationary sample paths and finite expectations. A continuous-time result must control local variation as the observation window moves to large times. The uncountable supremum in ΩI\Omega_IΩI​ also needs a genuine extended value and a measurability convention. Kingman, Theorems 3–4.

The paper's displayed assertion (1.4.1), that gt/tg_t/tgt​/t converges as real t→∞t\to\inftyt→∞ under S₁–S₃ alone, needs qualification: a discontinuous additive function can make a deterministic subadditive mean with no such limit. The corresponding milestone includes the finite-oscillation condition assumed by Theorem 4. This correction is disclosed in the theorem's formalization note. Kingman, (1.4.1), (1.4.7).

Formalization scope

Lean indexes the family by R→R→S→R\mathbb R\to\mathbb R\to S\to\mathbb RR→R→S→R and uses only 0≤s<t0\le s<t0≤s<t; values at other pairs carry no meaning. Each valid coordinate is measurable. S₁ is pointwise in the sample point, while S₂ is equality of the probability laws of the complete path before and after every nonnegative real shift. S₃ states integrability of x0tx_{0t}x0t​ for every t>0t>0t>0 and one linear lower bound on its mean. The sample-space type is called SSS so that ΩI\Omega_IΩI​ denotes oscillation without ambiguity.

Oscillation is valued in the extended nonnegative reals. Thus an unbounded supremum is infinite, and the expected-oscillation condition cannot hold because of a default real-supremum value. Separability is the countable graph-approximation condition outside one measurable null set. The premise is finiteness on one closed interval [a,b][a,b][a,b] with 0≤a<b0\le a<b0≤a<b; the propagation milestone covers bounded intervals with either choice of endpoints. The limit in Theorem 4 uses the filter at infinity on real time. Its almost-sure convergence and convergence in mean are separate clauses, and ξ\xiξ is integrable. No continuity of paths, ergodicity, or independence is assumed.

A complete proof may build on Mathlib's measure theory, filters, Borel–Cantelli lemmas, and real analysis. The process and oscillation definitions, along with the finite-oscillation and skeleton statements, are reusable beyond this particular theorem. Contributions that establish these interfaces and the named intermediate statements are within scope. A statement limited to integer times, a marginal-only version of stationarity, or a real supremum that returns a default value on an unbounded set would not express this target.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, The Annals of Probability 1(6):883–899, 1973. DOI: 10.1214/aop/1176996798.
7 thms2 active usersReviewed
🏆Completed
Dynamical SystemsStochastic Systems·Captain: mikedeng1

Subadditive Ergodic Theory 2: For Every Increasing Γ There Is a C^∞ Process with Stationary Increments and P{|y_t| ≤ Γ(t) for All Large t} = 0Research Paper

Motivation

Kingman's subadditive ergodic theorem (Theorem 1 of Kingman 1973, first proved in Kingman 1968) says that for a discrete-parameter subadditive process x=(xst)x=(x_{st})x=(xst​) the ratio x0t/tx_{0t}/tx0t​/t converges with probability one and in mean. Applications in first-passage percolation, products of random matrices and longest increasing subsequences often come with a continuous time parameter, so it is natural to ask whether the theorem holds with ttt ranging over [0,∞)[0,\infty)[0,∞).

Section 1.4 of the 1973 paper answers this question. Under separability alone, a continuous-parameter version would contain, as its additive special case, the claim that every separable process (yt; t≥0)(y_t;\,t\ge0)(yt​;t≥0) with stationary increments and finite expectations has a finite limit lim⁡t→∞yt/t\lim_{t\to\infty}y_t/tlimt→∞​yt​/t with probability one. Kingman remarks that no such theorem appears in the literature, "for the excellent reason that the conclusion is false, and in a very strong sense" (p. 888). Theorem 3 makes that sentence precise. It is the reason the continuous-parameter theorem of the paper (Theorem 4) carries an extra integrability hypothesis on the oscillation ΩI=sup⁡s<t, s,t∈I∣xst∣\Omega_I=\sup_{s<t,\,s,t\in I}|x_{st}|ΩI​=sups<t,s,t∈I​∣xst​∣.

Setting

A real-time process is a family (yt; t≥0)(y_t;\,t\ge0)(yt​;t≥0) of real random variables on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P). Its joint law is the law of the path t↦ytt\mapsto y_tt↦yt​ on R[0,∞)\mathbb R^{[0,\infty)}R[0,∞) with the product σ\sigmaσ-algebra, that is, the collection of all finite-dimensional distributions.

  • (yt)(y_t)(yt​) is stationary if for every τ≥0\tau\ge0τ≥0 the shifted process (yt+τ)t≥0(y_{t+\tau})_{t\ge0}(yt+τ​)t≥0​ has the same joint law as (yt)t≥0(y_t)_{t\ge0}(yt​)t≥0​.
  • (yt)(y_t)(yt​) has stationary increments if for every τ≥0\tau\ge0τ≥0 the process (yt+τ−yτ)t≥0(y_{t+\tau}-y_\tau)_{t\ge0}(yt+τ​−yτ​)t≥0​ has the same joint law as (yt−y0)t≥0(y_t-y_0)_{t\ge0}(yt​−y0​)t≥0​.
  • (yt)(y_t)(yt​) has finite expectations if E∣yt∣<∞E|y_t|<\inftyE∣yt​∣<∞ for every t≥0t\ge0t≥0.
  • The sample function at ω∈Ω\omega\in\Omegaω∈Ω is t↦yt(ω)t\mapsto y_t(\omega)t↦yt​(ω). It has derivatives of all orders if it is C∞C^\inftyC∞ on [0,∞)[0,\infty)[0,∞).

A growth bound is a function Γ:(0,∞)→(0,∞)\Gamma:(0,\infty)\to(0,\infty)Γ:(0,∞)→(0,∞) that is increasing (non-decreasing). The event "∣yt∣≤Γ(t)|y_t|\le\Gamma(t)∣yt​∣≤Γ(t) for all sufficiently large ttt" is the set of ω\omegaω for which some TTT exists with ∣yt(ω)∣≤Γ(t)|y_t(\omega)|\le\Gamma(t)∣yt​(ω)∣≤Γ(t) for every real t≥Tt\ge Tt≥T.

In the Lean development these notions are IsStationary, HasStationaryIncrements, Integrable (y t) P and ContDiffOn ℝ ∞ (fun t => y t ω) (Set.Ici 0), all in the namespace KingmanSubadditive.StationaryIncrements.

Formalization targets

Goal: Theorem 3 (p. 888)

For every positive non-decreasing Γ\GammaΓ on (0,∞)(0,\infty)(0,∞) there are a probability space and a process (yt; t≥0)(y_t;\,t\ge0)(yt​;t≥0) with stationary increments, finite expectations and C∞C^\inftyC∞ sample functions such that

P{∣yt∣≤Γ(t) for all sufficiently large t}=0.(1.4.4)P\{|y_t|\le\Gamma(t)\ \text{for all sufficiently large }t\}=0. \tag{1.4.4}P{∣yt​∣≤Γ(t) for all sufficiently large t}=0.(1.4.4)

The quantifiers are "for every Γ\GammaΓ there exists yyy". Because Γ\GammaΓ may grow arbitrarily fast, no normalization yt/a(t)y_t/a(t)yt​/a(t) with a deterministic aaa can converge to a finite limit almost surely.

Milestones

The milestones are the four steps of Kingman's proof, stated for the explicit process yt=Yt+ηy_t=Y_{t+\eta}yt​=Yt+η​ of (1.4.5) built from a bump function ψ\psiψ, a uniform η\etaη and independent integer-valued ν0,ν1,…\nu_0,\nu_1,\dotsν0​,ν1​,… with a law mΓm_\GammamΓ​ that depends on Γ\GammaΓ:

  1. (yt)(y_t)(yt​) is stationary, hence has stationary increments, and its sample functions are C∞C^\inftyC∞ (p. 888).
  2. E(∣yt∣)=E(y0)=∫01ψ(u) du<∞E(|y_t|)=E(y_0)=\int_0^1\psi(u)\,du<\inftyE(∣yt​∣)=E(y0​)=∫01​ψ(u)du<∞ (p. 888).
  3. ∑n≥1P{νn>Γ(n+12)}≥∑n≥1∑r≥n1r(r+1)=∞\sum_{n\ge1}P\{\nu_n>\Gamma(n+\tfrac12)\}\ge\sum_{n\ge1}\sum_{r\ge n}\frac1{r(r+1)}=\infty∑n≥1​P{νn​>Γ(n+21​)}≥∑n≥1​∑r≥n​r(r+1)1​=∞ (p. 889).
  4. P{∣yt∣≤Γ(t) eventually}≤P{∣y(n+12νn−1−η)∣≤Γ(n+12νn−1−η) eventually}≤P{νn≤Γ(n+12) eventually}=0P\{|y_t|\le\Gamma(t)\text{ eventually}\}\le P\{|y(n+\tfrac12\nu_n^{-1}-\eta)|\le\Gamma(n+\tfrac12\nu_n^{-1}-\eta)\text{ eventually}\}\le P\{\nu_n\le\Gamma(n+\tfrac12)\text{ eventually}\}=0P{∣yt​∣≤Γ(t) eventually}≤P{∣y(n+21​νn−1​−η)∣≤Γ(n+21​νn−1​−η) eventually}≤P{νn​≤Γ(n+21​) eventually}=0 (p. 889).

Significance

The result. Theorem 3 rules out any continuous-parameter subadditive ergodic theorem whose only hypotheses are separability, stationarity of the increments and finite means, and in fact any such theorem whose hypotheses are met by smooth stationary processes with finite means. The obstruction does not come from irregular paths: the counterexample is as regular as a path can be short of analyticity. Any continuous-time ergodic theorem therefore needs a hypothesis that controls the behaviour of the process inside unit intervals, such as E(ΩI)<∞E(\Omega_I)<\inftyE(ΩI​)<∞ in Theorem 4, or the integrability of ∫I∣y′∣\int_I|y'|∫I​∣y′∣ in the classical continuous-parameter ergodic theorem. The result also separates two kinds of time. Along the integers, a stationary-increment process with finite mean is an additive discrete process, so yn/ny_n/nyn​/n converges almost surely; Theorem 3 shows that the real-time path can still escape any envelope between the integers.

Formalizing it. The theorem is classical and its proof is complete in the paper. To our knowledge it has no machine-checked proof. A formalization requires the existence of a probability space carrying a uniform variable and an independent i.i.d. sequence with a prescribed law on the integers, the joint-law notion of stationarity for real-time processes, a stationarity argument for a randomly shifted process, an expectation computation with a change of variables, and the second Borel–Cantelli lemma. The definitions of stationarity and stationary increments for real-time processes on [0,∞)[0,\infty)[0,∞) are reusable beyond this mission.

Difficulty

The natural first attempt is a process with linear or polynomial growth, such as yt=Zty_t=Ztyt​=Zt with a heavy-tailed integrable ZZZ. Every such attempt fails against a Γ\GammaΓ that grows faster, so the process must depend on Γ\GammaΓ. A process that is large on a whole interval of length one cannot have finite mean when Γ\GammaΓ grows fast. The difficulty is to have excursions that are taller than any prescribed envelope infinitely often, and still keep finite expectation, stationarity in real time and smoothness. In the formal proof, the stationarity step is where most of the work sits: the shifted path must be identified in law with the original one for every real shift τ\tauτ, not only for integer shifts.

Formalization scope

  • The process is y : ℝ → Ω → ℝ, with values at t<0t<0t<0 ignored; Ω\OmegaΩ lives in Type. Every yty_tyt​ with t≥0t\ge0t≥0 is measurable, and both stationarity definitions include almost-everywhere measurability, so Measure.map never takes its junk value.
  • Joint laws are push-forwards to Set.Ici (0:ℝ) → ℝ with the product σ\sigmaσ-algebra. Stationary increments compare the laws of (yt+τ−yτ)t(y_{t+\tau}-y_\tau)_t(yt+τ​−yτ​)t​ and (yt−y0)t(y_t-y_0)_t(yt​−y0​)t​ for every real τ≥0\tau\ge0τ≥0.
  • "Increasing" is non-decreasing on (0,∞)(0,\infty)(0,∞) (MonotoneOn Γ (Set.Ioi 0)), which gives the stronger theorem. Γ\GammaΓ is a total function on R\mathbb RR; its values at t≤0t\le0t≤0 are irrelevant.
  • "Derivatives of all orders" is ContDiffOn ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) on [0,∞)[0,\infty)[0,∞) for every ω\omegaω. This is C∞C^\inftyC∞, not the analytic order.
  • In (1.4.4) "sufficiently large ttt" ranges over real ttt. The event need not be measurable a priori; PPP of a set is its outer measure.
  • A statement with a fixed Γ\GammaΓ, with ∃Γ\exists\Gamma∃Γ, with "for some large ttt", or with ttt restricted to the integers would be trivial or false and is not the theorem. The integer skeleton is precisely what does not fail.
  • For the milestones, the random ingredients are hypotheses: any η,ν0,ν1,…\eta,\nu_0,\nu_1,\dotsη,ν0​,ν1​,… that are independent, with η\etaη uniform on (0,1)(0,1)(0,1) and each νr\nu_rνr​ of law mΓm_\GammamΓ​. The existence of such a family is part of the goal's proof.

Contributions welcome: proofs of the milestones, a general lemma that a uniformly shifted process built from an i.i.d. sequence of unit blocks is stationary in real time, and a proof of the goal.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, The Annals of Probability 1(6):883–899, 1973. https://doi.org/10.1214/aop/1176996798
  • J. F. C. Kingman, The ergodic theory of subadditive stochastic processes, Journal of the Royal Statistical Society, Series B 30(3):499–510, 1968. https://doi.org/10.1111/j.2517-6161.1968.tb00749.x
7 thms2 active usersReviewed
CombinatoricsMarkov ChainStochastic Systems·Captain: mikedeng1

On the Generalized “Birth-and-Death” Process 2: For Constant Rates λ₀ ≤ μ₀ the Cumulative Population M_∞ Has Law Q_M = ((λ₀+μ₀)/2λ₀)(2M)! x^M/(2^{2M}(M!)²(2M−1))Research Paper

Motivation

A birth-and-death process describes a population in which each individual independently gives birth and dies at given rates. Kendall's 1948 paper (doi:10.1214/aoms/1177730285) solved the process with arbitrary time-dependent rates and, in its §4, introduced a second random variable alongside the population size: the cumulative population MtM_tMt​, the number of individuals that have ever been alive up to time ttt. Kendall gives two readings. If ntn_tnt​ is the number of current cases of a disease, MtM_tMt​ is the total number of cases recorded so far, and for an epidemic that is almost certain to die out, M∞M_\inftyM∞​ measures its overall severity. If ntn_tnt​ is the viable count of a bacterial population, MtM_tMt​ is the total count, in which living and dead organisms are not distinguished.

The question of this mission is the exact distribution of M∞M_\inftyM∞​ for the simplest transient process, with constant rates. Kendall answers it in §5 by solving a first-order partial differential equation for the joint generating function of (nt,Mt)(n_t, M_t)(nt​,Mt​). The resulting law involves central binomial coefficients, the same numbers that count the total progeny of a critical binary branching process.

Setting

Let λ0>0\lambda_0 > 0λ0​>0 and μ0>0\mu_0 > 0μ0​>0 be constants. In the simple birth-and-death process with these rates, a population of size nnn moves to n+1n + 1n+1 at rate λ0n\lambda_0 nλ0​n and to n−1n - 1n−1 at rate μ0n\mu_0 nμ0​n. It starts from one ancestor, n0=1n_0 = 1n0​=1. The cumulative population MtM_tMt​ starts at M0=n0=1M_0 = n_0 = 1M0​=n0​=1 and shares all the positive jumps of ntn_tnt​, so it never decreases. The process is transient (dies out with probability one) when λ0≤μ0\lambda_0 \le \mu_0λ0​≤μ0​.

Write Pn,M(t)P_{n,M}(t)Pn,M​(t) for the joint law of (nt,Mt)(n_t, M_t)(nt​,Mt​) and

ψ(z,w,t)=∑n=0∞∑M=0∞Pn,M(t) znwM\psi(z, w, t) = \sum_{n=0}^\infty\sum_{M=0}^\infty P_{n,M}(t)\,z^n w^Mψ(z,w,t)=n=0∑∞​M=0∑∞​Pn,M​(t)znwM

for its generating function (30). Kendall shows that ψ\psiψ satisfies

∂ψ∂t={λ0wz2−(λ0+μ0)z+μ0}∂ψ∂z,ψ(z,w,0)=zw,(31–32)\frac{\partial\psi}{\partial t} = \{\lambda_0 w z^2 - (\lambda_0 + \mu_0) z + \mu_0\}\frac{\partial\psi}{\partial z}, \qquad \psi(z, w, 0) = zw, \tag{31–32}∂t∂ψ​={λ0​wz2−(λ0​+μ0​)z+μ0​}∂z∂ψ​,ψ(z,w,0)=zw,(31–32)

and solves it with the roots α<β\alpha < \betaα<β of the quadratic (49), λ0wz2−(λ0+μ0)z+μ0=0\lambda_0 w z^2 - (\lambda_0 + \mu_0) z + \mu_0 = 0λ0​wz2−(λ0​+μ0​)z+μ0​=0:

ψ(z,w,t)=w α(β−z)+β(z−α)e−λ0w(β−α)t(β−z)+(z−α)e−λ0w(β−α)t.(50)\psi(z, w, t) = w\,\frac{\alpha(\beta - z) + \beta(z - \alpha)e^{-\lambda_0 w(\beta - \alpha)t}}{(\beta - z) + (z - \alpha)e^{-\lambda_0 w(\beta - \alpha)t}}. \tag{50}ψ(z,w,t)=w(β−z)+(z−α)e−λ0​w(β−α)tα(β−z)+β(z−α)e−λ0​w(β−α)t​.(50)

Setting z=1z = 1z=1 forgets ntn_tnt​, so ψ(1,w,t)\psi(1, w, t)ψ(1,w,t) generates the law of MtM_tMt​. Finally

x=4λ0μ0(λ0+μ0)2,QM=λ0+μ02λ0 (2M)!22M(M!)2 xM2M−1(M=1,2,3,… ).(52–53)x = \frac{4\lambda_0\mu_0}{(\lambda_0 + \mu_0)^2}, \qquad Q_M = \frac{\lambda_0 + \mu_0}{2\lambda_0}\,\frac{(2M)!}{2^{2M}(M!)^2}\,\frac{x^M}{2M - 1}\quad(M = 1, 2, 3, \dots). \tag{52–53}x=(λ0​+μ0​)24λ0​μ0​​,QM​=2λ0​λ0​+μ0​​22M(M!)2(2M)!​2M−1xM​(M=1,2,3,…).(52–53)

The Lean names are disc, alpha, beta, psi, x, Q and SolvesPDE, in the namespace KendallBD.Cumul.

Formalization targets

Goal: the law of the cumulative population (§5, (50)–(53), p. 11)

For 0<λ0≤μ00 < \lambda_0 \le \mu_00<λ0​≤μ0​:

  1. for every w∈(0,1)w \in (0, 1)w∈(0,1), ψ\psiψ of (50) satisfies (31) at every z∈[0,1]z \in [0, 1]z∈[0,1], t≥0t \ge 0t≥0, and ψ(z,w,0)=zw\psi(z, w, 0) = zwψ(z,w,0)=zw;
  2. for every w∈(0,1)w \in (0, 1)w∈(0,1),
lim⁡t→∞ψ(1,w,t)=∑M≥1QMwM;\lim_{t\to\infty}\psi(1, w, t) = \sum_{M \ge 1} Q_M w^M;t→∞lim​ψ(1,w,t)=M≥1∑​QM​wM;
  1. QM≥0Q_M \ge 0QM​≥0 and ∑M≥1QM=1\sum_{M\ge1} Q_M = 1∑M≥1​QM​=1.

Milestones (pp. 10–11)

  • (49): for 0<w<10 < w < 10<w<1 the roots satisfy 0<α<1<β0 < \alpha < 1 < \beta0<α<1<β.
  • (50): ψ\psiψ solves (31) with the boundary condition (32).
  • (51): ψ(1,w,∞)=wα=[λ0+μ0−(λ0+μ0)2−4λ0μ0w]/(2λ0)\psi(1, w, \infty) = w\alpha = [\lambda_0 + \mu_0 - \sqrt{(\lambda_0 + \mu_0)^2 - 4\lambda_0\mu_0 w}]/(2\lambda_0)ψ(1,w,∞)=wα=[λ0​+μ0​−(λ0​+μ0​)2−4λ0​μ0​w​]/(2λ0​).

Companions

  • (54): (Q1,Q2,Q3,Q4)=μ0λ0+μ0(1,14x,18x2,564x3)(Q_1, Q_2, Q_3, Q_4) = \frac{\mu_0}{\lambda_0 + \mu_0}(1, \frac14 x, \frac18 x^2, \frac{5}{64}x^3)(Q1​,Q2​,Q3​,Q4​)=λ0​+μ0​μ0​​(1,41​x,81​x2,645​x3).
  • (48): for λ0<μ0\lambda_0 < \mu_0λ0​<μ0​ the law has mean μ0/(μ0−λ0)\mu_0/(\mu_0 - \lambda_0)μ0​/(μ0​−λ0​) and variance λ0μ0(λ0+μ0)/(μ0−λ0)3\lambda_0\mu_0(\lambda_0 + \mu_0)/(\mu_0 - \lambda_0)^3λ0​μ0​(λ0​+μ0​)/(μ0​−λ0​)3.
  • The balanced case λ0=μ0\lambda_0 = \mu_0λ0​=μ0​: x=1x = 1x=1, QMQ_MQM​ decays like M−3/2M^{-3/2}M−3/2, and the mean of M∞M_\inftyM∞​ is infinite.

Significance

The result. The law (52) gives the full distribution of the total size of a transient linear birth-and-death population, not only its moments: the probability Q1=μ0/(λ0+μ0)Q_1 = \mu_0/(\lambda_0 + \mu_0)Q1​=μ0​/(λ0​+μ0​) that the ancestor dies childless, the tail behaviour, and the dichotomy between the subcritical case (finite mean μ0/(μ0−λ0)\mu_0/(\mu_0 - \lambda_0)μ0​/(μ0​−λ0​), geometric-type tail with ratio x<1x < 1x<1) and the critical case (heavy M−3/2M^{-3/2}M−3/2 tail, infinite mean). In the epidemic reading this is the distribution of the final size of a minor outbreak; it is also the total-progeny law of the embedded binary Galton–Watson tree (Harris 1963).

Formalizing it. The result is classical and proved, but it is not formalized anywhere known to this mission. A formal proof would combine three separate pieces: the explicit solution of a first-order PDE by characteristics, checked as a classical solution on the region where a probability generating function lives; a limit t→∞t \to \inftyt→∞ that selects one root of a quadratic; and the binomial series of 1−1−y1 - \sqrt{1 - y}1−1−y​ together with its boundary value at y=1y = 1y=1. The companions make the moments (48), which §4 derives by a separate route, a consequence of the law.

Difficulty

Checking that (50) satisfies (31) is calculus once the derivatives exist. The obstacles are elsewhere. First, the roots must be ordered as 0<α<1<β0 < \alpha < 1 < \beta0<α<1<β, which fails at w=1w = 1w=1 when λ0<μ0\lambda_0 < \mu_0λ0​<μ0​ (the roots are then 111 and μ0/λ0\mu_0/\lambda_0μ0​/λ0​): every statement about α\alphaα, β\betaβ, ψ\psiψ has to be made for 0<w<10 < w < 10<w<1, and the law is identified from the power series on that interval. Second, the normalization ∑QM=1\sum Q_M = 1∑QM​=1 is a statement at the boundary y=xw=xy = xw = xy=xw=x of the series for 1−1−y1 - \sqrt{1 - y}1−1−y​; at λ0=μ0\lambda_0 = \mu_0λ0​=μ0​ this is y=1y = 1y=1, the edge of the disc of convergence, where convergence of the series is not automatic and where the value 1−x=(μ0−λ0)/(λ0+μ0)\sqrt{1 - x} = (\mu_0 - \lambda_0)/(\lambda_0 + \mu_0)1−x​=(μ0​−λ0​)/(λ0​+μ0​) uses λ0≤μ0\lambda_0 \le \mu_0λ0​≤μ0​. For λ0>μ0\lambda_0 > \mu_0λ0​>μ0​ the same series sums to μ0/λ0<1\mu_0/\lambda_0 < 1μ0​/λ0​<1, so the hypothesis is essential. Third, the asymptotic M−3/2M^{-3/2}M−3/2 in the balanced case needs the asymptotics of central binomial coefficients.

Formalization scope

All objects are real functions; the process and the joint law Pn,M(t)P_{n,M}(t)Pn,M​(t) are not constructed, exactly as in the paper. "The law of M∞M_\inftyM∞​" is read, as on p. 11, as the coefficients of the generating function lim⁡t→∞ψ(1,w,t)\lim_{t\to\infty}\psi(1, w, t)limt→∞​ψ(1,w,t), and ψ\psiψ is tied to the process through the equation (31) and the boundary condition (32). The committed conventions are:

  • constant rates 0<λ0≤μ00 < \lambda_0 \le \mu_00<λ0​≤μ0​ (strict λ0<μ0\lambda_0 < \mu_0λ0​<μ0​ for the moment companion, λ0=μ0\lambda_0 = \mu_0λ0​=μ0​ for the balanced companion);
  • α\alphaα and β\betaβ are given by the quadratic formula, α\alphaα with the minus sign, Real.sqrt the nonnegative root;
  • statements about α\alphaα, β\betaβ, ψ\psiψ hold for w∈(0,1)w \in (0, 1)w∈(0,1); (31) is asserted for z∈[0,1]z \in [0, 1]z∈[0,1], t≥0t \ge 0t≥0, and the boundary condition for every real zzz;
  • (31) is SolvesPDE: both partial derivatives exist as HasDerivAt facts and satisfy the equation, never an equation between deriv values;
  • Q0=0Q_0 = 0Q0​=0 (since M∞≥M0=1M_\infty \ge M_0 = 1M∞​≥M0​=1), and QMQ_MQM​ keeps the printed shape (2M)!/(22M(M!)2)(2M)!/(2^{2M}(M!)^2)(2M)!/(22M(M!)2) with 2M−12M - 12M−1 in the reals;
  • "infinite mean" is non-summability of ∑MQM\sum M Q_M∑MQM​; the variance is stated through the second moment.

A goal that only asserted the power series identity 1−1−y=∑M≥1(2M)!22M(M!)2(2M−1)yM1 - \sqrt{1 - y} = \sum_{M\ge1}\frac{(2M)!}{2^{2M}(M!)^2(2M-1)}y^M1−1−y​=∑M≥1​22M(M!)2(2M−1)(2M)!​yM would be a different and easier theorem with no birth-and-death content; the goal therefore ties QMQ_MQM​ to ψ\psiψ of (50) and ψ\psiψ to the equation (31)–(32).

A complete development needs the binomial series for 1−y\sqrt{1 - y}1−y​ with real coefficients (Mathlib has Nat.centralBinom and general binomial series, and the platform has the generating function of the central binomial coefficients as a proof tool), the boundary behaviour of a power series with nonnegative coefficients, and Stirling-type asymptotics of (2MM)4−M\binom{2M}{M}4^{-M}(M2M​)4−M. These are reusable well beyond this mission. Contributions proving any milestone or companion, or the series lemma on its own, are welcome.

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
  • T. E. Harris, The Theory of Branching Processes, Springer, 1963. doi:10.1007/978-3-642-51866-9
5 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+2·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems IX: Discounted Semi-Markov Decision Processes — the Value Vector Is the Smallest Superharmonic VectorTextbook

Why semi-Markov control matters

A decision maker may choose an action whenever a system changes state, even though the time until the next change is random. Maintenance and replacement decisions are examples: a repair choice changes both the next operating state and the length of time before another choice is available. A discrete-time Markov decision model gives every decision epoch the same duration. A semi-Markov decision process allows the holding time to depend on the current state, action, and next state. Kallenberg's Chapter 7 develops discounted and average-reward versions of this finite-state model, including a characterization of optimal discounted value through inequalities and a linear program (Kallenberg 1983, Chapter 7).

The mission focuses on the discounted part of that chapter. The result is known: Kallenberg proves it as Theorem 7.2.1. The formalization task is to state and eventually prove the result for the same policy class and the same general holding-time distributions. Those details matter because a stationary-policy-only version would omit the comparison that the theorem makes with all admissible policies.

Model and notation

Let EEE be a nonempty finite state set. Each i∈Ei\in Ei∈E has a finite nonempty set A(i)A(i)A(i) of available actions. If action a∈A(i)a\in A(i)a∈A(i) is chosen, the next state is jjj with probability piaj≥0p_{iaj}\geq0piaj​≥0, with ∑jpiaj=1\sum_jp_{iaj}=1∑j​piaj​=1. Conditional on jjj, the nonnegative time until that transition has distribution FiajF_{iaj}Fiaj​. The action earns a lump reward riar_{ia}ria​ immediately and a reward rate sias_{ia}sia​ during the ensuing sojourn. Neither the holding-time laws nor the reward rates are required to be identical across transitions (Kallenberg 1983, pp. 210–212).

Fix a positive continuous discount rate λ\lambdaλ. The factor applied after elapsed time ttt is e−λte^{-\lambda t}e−λt. Assumption 7.2.1 requires the Laplace–Stieltjes transform of each conditional holding-time law to satisfy

Liaj(λ):=∫0∞e−λt dFiaj(t)<1(i,j∈E, a∈A(i)).L_{iaj}(\lambda):=\int_0^\infty e^{-\lambda t}\,dF_{iaj}(t)<1 \qquad(i,j\in E,\ a\in A(i)).Liaj​(λ):=∫0∞​e−λtdFiaj​(t)<1(i,j∈E, a∈A(i)).

The assumption is strict for every triple; it does not require a particular parametric family. Define the one-epoch expected discounted reward and discounted transition entry by

ria∗=∑jpiaj∫0∞(ria+sia∫0te−λu du)dFiaj(t),piaj∗=piajLiaj(λ).r^*_{ia}=\sum_jp_{iaj}\int_0^\infty \left(r_{ia}+s_{ia}\int_0^t e^{-\lambda u}\,du\right)dF_{iaj}(t), \qquad p^*_{iaj}=p_{iaj}L_{iaj}(\lambda).ria∗​=j∑​piaj​∫0∞​(ria​+sia​∫0t​e−λudu)dFiaj​(t),piaj∗​=piaj​Liaj​(λ).

A policy RRR is a sequence of randomized decisions. At each epoch its choice may depend on every previously observed state and chosen action and the current state. It does not observe previous sojourn times when choosing. Let viλ(R)v_i^\lambda(R)viλ​(R) be the expected sum of discounted lump and rate rewards from initial state iii, as in equation (7.2.1). The DRD value vector is viλ=sup⁡Rviλ(R)v_i^\lambda=\sup_R v_i^\lambda(R)viλ​=supR​viλ​(R), with the supremum over this full policy class. A real vector www is DRD-superharmonic when

wi≥ria∗+∑jpiaj∗wj(i∈E, a∈A(i)).w_i\geq r^*_{ia}+\sum_jp^*_{iaj}w_j \qquad(i\in E,\ a\in A(i)).wi​≥ria∗​+j∑​piaj∗​wj​(i∈E, a∈A(i)).

These are Kallenberg's Definitions 7.2.1 and 7.2.2 (p. 214).

Formalization targets

Goal: the smallest superharmonic vector

Theorem 7.2.1 states that the value vector itself satisfies the superharmonic inequalities and lies below every other vector satisfying them:

vλ is DRD-superharmonic,w is DRD-superharmonic⟹viλ≤wi(i∈E).v^\lambda\text{ is DRD-superharmonic},\qquad w\text{ is DRD-superharmonic}\Longrightarrow v_i^\lambda\leq w_i\quad(i\in E).vλ is DRD-superharmonic,w is DRD-superharmonic⟹viλ​≤wi​(i∈E).

This is the mission goal. Its content includes both clauses: merely showing that every superharmonic vector bounds policy rewards would leave out the assertion that the value is superharmonic.

Supporting results

Lemma 7.2.1 expresses viλ(R)v_i^\lambda(R)viλ​(R) as a sum of expected discounted state-action occupancies. Theorem 7.2.2 says that a feasible action choice attaining equality in the value equation at every state yields an optimal pure stationary policy. Theorem 7.2.3 says that positive support in an optimal solution of the dual linear program (7.2.11) yields such a policy. Their statements and exact conditions are the mission's milestones (Kallenberg 1983, pp. 212, 216–217).

What the results provide

The goal turns a supremum over possibly history-dependent randomized policies into a finite system of inequalities indexed by available state-action pairs. The next two results explain how equality in those inequalities and an optimal linear-programming solution identify a pure stationary policy with the same value. Thus the finite programs are statements about the original semi-Markov process rather than a separate discounted matrix model (Kallenberg 1983, pp. 214–217).

Kallenberg supplies paper proofs. This mission supplies Lean statements and a shared model interface; the proposed theorem items still require machine-checked proofs. The model's arbitrary conditional holding-time measures, its distinction between the current reward and future discounted value, and its history-dependent policy class are reusable for other finite semi-Markov arguments. The average-reward section of Chapter 7 is outside this mission.

Main difficulty

The straightforward finite-state discounted equation concerns expected one-step rewards. The source value, however, is defined from rewards earned at random physical times, and a policy can react to its entire discrete history. Identifying these two descriptions requires accounting for the joint state, action, and elapsed-time law without giving the policy access to past holding times. Holding times may equal zero with positive probability; the strict transform assumption excludes a degenerate law concentrated entirely at zero, but it does not make each holding time strictly positive. A second issue is real-valuedness: all-policy suprema and integrals must represent the finite quantities in the source rather than Lean's default values on ill-posed inputs.

Formalization scope

Lean uses finite types for states and actions, with a nonempty available-action finset for each state. Conditional sojourn laws are probability measures on R\mathbb RR with no mass on negative times. This includes arbitrary distributions on [0,∞)[0,\infty)[0,∞) and permits an atom at zero. The model stores stochastic transition rows, lump rewards, and rate rewards. The discounted layer stores λ>0\lambda>0λ>0 and the source's strict per-triple transform inequality. The expected one-epoch reward uses a Lebesgue integral against each sojourn law.

Policy decision rules read a list of past state-action pairs and the current state. Finite-horizon value recursively integrates the original epoch reward and its holding-time discount; policy value is its limit. The coordinatewise supremum ranges over all such policies. The occupation sum of Lemma 7.2.1 is a separate theorem, not the definition of policy value. A proof must establish convergence and boundedness from Assumption 7.2.1 so that Lean's total limit, integral, and real-supremum operations have their intended meanings.

The dual program sums only over actions available in each state and uses strictly positive weights βj\beta_jβj​, equality flow constraints, and nonnegative variables as printed. Its pure stationary selector must choose an available action with positive dual mass in every state. Contributions establishing the occupation identity, value bounds, Bellman inequalities, or dual decoding all fit the mission.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983, Chapter 7, pp. 210–227. Publisher repository.
6 thms2 active usersReviewed
AnalysisHarmonic Analysis·Captain: mikedeng1

Distribution Function Inequalities for Martingales 1: The Square Function and the Martingale Have Equivalent L^p Norms for 1 < p < ∞Research Paper

Why the square function of a martingale matters

A martingale f=(f1,f2,… )f = (f_1, f_2, \dots)f=(f1​,f2​,…) is a sum fn=d1+⋯+dnf_n = d_1 + \cdots + d_nfn​=d1​+⋯+dn​ of increments that are uncorrelated with the past. For sums of independent random variables, sizes are compared through the sum of squares of the summands; for martingales the corresponding object is the square function

S(f)=(∑k=1∞dk2)1/2.S(f) = \Bigl(\sum_{k=1}^\infty d_k^2\Bigr)^{1/2}.S(f)=(k=1∑∞​dk2​)1/2.

Comparing the size of fff with the size of S(f)S(f)S(f) is one of the basic tools of probability and of harmonic analysis: it underlies Khintchine-type inequalities, the LpL^pLp theory of martingale transforms, the Littlewood–Paley theory of dyadic and Fourier series, and the Burkholder–Davis–Gundy inequalities used throughout stochastic calculus.

Timeline. Paley (1932) proved LpL^pLp bounds for the square function of Walsh–Paley series, the dyadic model case. Marcinkiewicz and Zygmund (1937–38) proved the analogous inequalities for sums of independent mean-zero random variables. Burkholder (1966, Ann. Math. Statist. 37) proved them for general martingales, 1<p<∞1 < p < \infty1<p<∞, together with the weak-type (1,1)(1,1)(1,1) bound for S(f)S(f)S(f). Burkholder and Gundy (1970) extended the comparison to functions Φ\PhiΦ of moderate growth by distribution function ("good-λ\lambdaλ") inequalities, and Davis (1970) settled p=1p = 1p=1 for f∗=sup⁡n∣fn∣f^* = \sup_n |f_n|f∗=supn​∣fn​∣. The 1973 Wald lectures formalized here re-derive the 1<p<∞1 < p < \infty1<p<∞ inequality from one elementary stopping-time identity (Lemma 2.1), with explicit constants.

Setting

Let (Ω,A,P)(\Omega, \mathcal A, P)(Ω,A,P) be a probability space and A0⊆A1⊆⋯\mathcal A_0 \subseteq \mathcal A_1 \subseteq \cdotsA0​⊆A1​⊆⋯ sub-σ\sigmaσ-fields of A\mathcal AA. A martingale relative to A1,A2,…\mathcal A_1, \mathcal A_2, \dotsA1​,A2​,… is a sequence of integrable random variables fnf_nfn​, with fnf_nfn​ An\mathcal A_nAn​-measurable and E(fn+1∣An)=fnE(f_{n+1} \mid \mathcal A_n) = f_nE(fn+1​∣An​)=fn​; a submartingale has ≥\ge≥ in place of ===.

With the convention f0=0f_0 = 0f0​=0, the difference sequence is dk=fk−fk−1d_k = f_k - f_{k-1}dk​=fk​−fk−1​ (so d1=f1d_1 = f_1d1​=f1​). Write

  • Sn(f)=(∑k=1ndk2)1/2S_n(f) = (\sum_{k=1}^n d_k^2)^{1/2}Sn​(f)=(∑k=1n​dk2​)1/2 and S(f)=sup⁡nSn(f)∈[0,∞]S(f) = \sup_n S_n(f) \in [0, \infty]S(f)=supn​Sn​(f)∈[0,∞];
  • fn∗=max⁡1≤k≤n∣fk∣f_n^* = \max_{1\le k\le n} |f_k|fn∗​=max1≤k≤n​∣fk​∣ and f∗=sup⁡n∣fn∣f^* = \sup_n |f_n|f∗=supn​∣fn​∣;
  • ∥Y∥p=(E∣Y∣p)1/p\|Y\|_p = (E|Y|^p)^{1/p}∥Y∥p​=(E∣Y∣p)1/p for a random variable YYY, and ∥f∥p=sup⁡n≥1∥fn∥p\|f\|_p = \sup_{n\ge1} \|f_n\|_p∥f∥p​=supn≥1​∥fn​∥p​ for the process. The process is LpL^pLp-bounded when ∥f∥p<∞\|f\|_p < \infty∥f∥p​<∞.

For λ>0\lambda > 0λ>0 the exit time μ=inf⁡{n≥1:∣fn∣>λ}\mu = \inf\{n \ge 1 : |f_n| > \lambda\}μ=inf{n≥1:∣fn​∣>λ} (with inf⁡∅=∞\inf\emptyset = \inftyinf∅=∞) is a stopping time; fμf_\mufμ​, fμ−1f_{\mu-1}fμ−1​, Sμ−1(f)S_{\mu-1}(f)Sμ−1​(f) denote evaluation at the random index, with f∞=lim⁡nfnf_\infty = \lim_n f_nf∞​=limn​fn​ and S∞(f)=S(f)S_\infty(f) = S(f)S∞​(f)=S(f).

In Lean these are dseq, sqFnN, sqFn, maxFnN, lpNormE, pNorm, exitTime, valAt and sqFnAt in the namespace BurkholderDFI.SquareFnLp.

Formalization targets

Goal: Theorem 3.2

For each 1<p<∞1 < p < \infty1<p<∞ there are positive constants cp,Cpc_p, C_pcp​,Cp​, depending only on ppp, such that every martingale satisfies

cp∥S(f)∥p≤∥f∥p≤Cp∥S(f)∥p.c_p \|S(f)\|_p \le \|f\|_p \le C_p \|S(f)\|_p .cp​∥S(f)∥p​≤∥f∥p​≤Cp​∥S(f)∥p​.

The goal asserts only existence of the constants, so that it does not depend on the particular numbers the paper's proof produces.

Milestones

In attack order:

  1. Doob's maximal inequality (1.1): λP(fn∗>λ)≤∫{fn∗>λ}∣fn∣≤∥f∥1\lambda P(f_n^* > \lambda) \le \int_{\{f_n^*>\lambda\}} |f_n| \le \|f\|_1λP(fn∗​>λ)≤∫{fn∗​>λ}​∣fn​∣≤∥f∥1​.
  2. Doob's facts (§1): an L1L^1L1-bounded martingale or nonnegative submartingale converges a.e., and ∥fμ∥1≤∥f∥1\|f_\mu\|_1 \le \|f\|_1∥fμ​∥1​≤∥f∥1​ for every stopping time μ\muμ.
  3. The classical extrapolation (1.2)–(1.3): λP(Y>βλ)≤α∫{Y>λ}X\lambda P(Y > \beta\lambda) \le \alpha\int_{\{Y>\lambda\}} XλP(Y>βλ)≤α∫{Y>λ}​X for all λ>0\lambda > 0λ>0 implies ∥Y∥p≤αβpq∥X∥p\|Y\|_p \le \alpha\beta^p q \|X\|_p∥Y∥p​≤αβpq∥X∥p​.
  4. Lemma 2.1: ∥Sμ−1(f)∥22+∥fμ−1∥22≤2Efμfμ−1≤2λ∥f∥1\|S_{\mu-1}(f)\|_2^2 + \|f_{\mu-1}\|_2^2 \le 2E f_\mu f_{\mu-1} \le 2\lambda\|f\|_1∥Sμ−1​(f)∥22​+∥fμ−1​∥22​≤2Efμ​fμ−1​≤2λ∥f∥1​, with equality on the left for martingales.
  5. Theorem 3.1: λP(S(f)>λ)≤3∥f∥1\lambda P(S(f) > \lambda) \le 3\|f\|_1λP(S(f)>λ)≤3∥f∥1​.
  6. Lemma 3.1, (3.4) and (3.5): for nonnegative submartingales, ∥Sn(f)∥p≤9p1/2q∥fn∥p\|S_n(f)\|_p \le 9p^{1/2}q\|f_n\|_p∥Sn​(f)∥p​≤9p1/2q∥fn​∥p​.
  7. (3.7): for martingales, ∥Sn(f)∥p≤18p1/2q∥fn∥p\|S_n(f)\|_p \le 18 p^{1/2} q \|f_n\|_p∥Sn​(f)∥p​≤18p1/2q∥fn​∥p​.
  8. The duality bound: ∥fn∥p≤18q1/2p∥Sn(f)∥p\|f_n\|_p \le 18 q^{1/2} p \|S_n(f)\|_p∥fn​∥p​≤18q1/2p∥Sn​(f)∥p​.

Here qqq is the conjugate exponent, p−1+q−1=1p^{-1} + q^{-1} = 1p−1+q−1=1.

Significance

The result. Theorem 3.2 says that a martingale is bounded in LpL^pLp exactly when its square function lies in LpL^pLp, with comparable norms. It reduces questions about fff, whose increments interact, to questions about ∑dk2\sum d_k^2∑dk2​, a sum of nonnegative terms. Immediate consequences include the LpL^pLp boundedness of martingale transforms ∑vkdk\sum v_k d_k∑vk​dk​ with ∣vk∣≤1|v_k| \le 1∣vk​∣≤1 (unconditionality of martingale differences in LpL^pLp), Marcinkiewicz–Zygmund and Khintchine inequalities, and, by passing through dyadic martingales, Littlewood–Paley inequalities. Theorem 3.1 is the endpoint estimate: at p=1p = 1p=1 the strong inequality fails, and weak type (1,1)(1,1)(1,1) is what survives.

The formalization. The theorem is classical and proved; the remaining work is to machine-check it. Mathlib at the pinned revision contains no square function inequality for martingales (no occurrence of Burkholder's inequality or of a martingale square function in Mathlib/Probability); it has Doob's maximal inequality for nonnegative submartingales, optional stopping, and a.e. convergence of L1L^1L1-bounded submartingales. The mission would add the stopping-time identity of Lemma 2.1, the weak-type bound with constant 3, the explicit LpL^pLp constants 18p1/2q18 p^{1/2} q18p1/2q and 18q1/2p18 q^{1/2} p18q1/2p, and the general extrapolation lemma (1.3), each reusable on its own.

Difficulty

The obvious route, expanding ESn(f)2=Efn2E S_n(f)^2 = E f_n^2ESn​(f)2=Efn2​ by orthogonality, works only at p=2p = 2p=2. For p≠2p \ne 2p=2 no such identity exists, and interpolation from p=2p = 2p=2 needs an endpoint estimate that is itself the hard part: S(f)S(f)S(f) is not bounded on L1L^1L1. The paper obtains the endpoint from Lemma 2.1, whose content is an exact computation at the random time μ\muμ; turning it into rigorous Lean requires handling evaluation at μ=∞\mu = \inftyμ=∞ (where the a.e. limit f∞f_\inftyf∞​ enters), passage to the limit n→∞n \to \inftyn→∞ in stopped identities with only L1L^1L1 control, and integrability of the products fμfμ−1f_\mu f_{\mu-1}fμ​fμ−1​. The upper bound is not a formal consequence of the lower one at the same exponent: it requires passing to the conjugate exponent qqq.

Formalization scope

  • Processes are f : ℕ → Ω → ℝ; martingales and submartingales are Mathlib's Martingale f ℱ P / Submartingale f ℱ P for a filtration ℱ : Filtration ℕ _ with ℱ k =Ak= \mathcal A_k=Ak​. The paper's f0=0f_0 = 0f0​=0 is built into every definition, which never reads Lean's f 0. Mathlib additionally relates f 0 to f1f_1f1​; this is no restriction, since any martingale relative to A1,A2,…\mathcal A_1, \mathcal A_2, \dotsA1​,A2​,… extends by f0:=E(f1∣A0)f_0 := E(f_1 \mid \mathcal A_0)f0​:=E(f1​∣A0​).
  • "Nonnegative submartingale" means fn≥0f_n \ge 0fn​≥0 almost everywhere for n≥1n \ge 1n≥1.
  • S(f)S(f)S(f), f∗f^*f∗, ∥⋅∥p\|\cdot\|_p∥⋅∥p​ and ∥f∥p\|f\|_p∥f∥p​ take values in [0,∞][0, \infty][0,∞]. Neither ∥f∥p\|f\|_p∥f∥p​ nor ∥S(f)∥p\|S(f)\|_p∥S(f)∥p​ is assumed finite in Theorem 3.2, which therefore also asserts that one is infinite exactly when the other is. In Theorem 3.1, ∥f∥1=∞\|f\|_1 = \infty∥f∥1​=∞ makes the bound trivial, matching the paper's "we may assume that fff is L1L^1L1-bounded".
  • The constants of Theorem 3.2 are quantified before the probability space, the filtration and the martingale. A formalization in which cp,Cpc_p, C_pcp​,Cp​ may depend on fff (for instance Cp=∥f∥p/∥S(f)∥pC_p = \|f\|_p / \|S(f)\|_pCp​=∥f∥p​/∥S(f)∥p​) would be trivially true and is excluded by this quantifier order; so is assuming finiteness of either side.
  • The a.e. limit f∞f_\inftyf∞​ is a parameter of Lemma 2.1 together with the hypothesis that fn→f∞f_n \to f_\inftyfn​→f∞​ a.e.; Doob's §1 facts assert that such a limit exists.
  • Probability spaces live in Type (universe 0).
  • The asymptotic remark after Theorem 3.2 (cp−1=O(p1/2q)c_p^{-1} = O(p^{1/2}q)cp−1​=O(p1/2q), Cp=O(q1/2p)C_p = O(q^{1/2}p)Cp​=O(q1/2p)) is not formalized; the explicit constants it summarizes are milestones 7 and 8.

Infrastructure that a complete development needs and that is reusable beyond this mission: evaluation of a process at an N∪{∞}\mathbb N \cup \{\infty\}N∪{∞}-valued stopping time, the layer-cake formula ∥Y∥pp=∫0∞pλp−1P(Y>λ) dλ\|Y\|_p^p = \int_0^\infty p\lambda^{p-1} P(Y > \lambda)\, d\lambda∥Y∥pp​=∫0∞​pλp−1P(Y>λ)dλ for [0,∞][0,\infty][0,∞]-valued YYY, and conditional-expectation martingales E(g∣Ak)E(g \mid \mathcal A_k)E(g∣Ak​) with their difference sequences. Proofs of any milestone, in any order, are welcome.

Selected references

  • D. L. Burkholder, Distribution function inequalities for martingales, Ann. Probability 1 (1973), 19–42. https://doi.org/10.1214/aop/1176997023
  • D. L. Burkholder, Martingale transforms, Ann. Math. Statist. 37 (1966), 1494–1504. https://doi.org/10.1214/aoms/1177699141
  • D. L. Burkholder and R. F. Gundy, Extrapolation and interpolation of quasi-linear operators on martingales, Acta Math. 124 (1970), 249–304. https://doi.org/10.1007/BF02394573
  • B. Davis, On the integrability of the martingale square function, Israel J. Math. 8 (1970), 187–190. https://doi.org/10.1007/BF02771313
  • J. L. Doob, Stochastic Processes, Wiley, New York, 1953.
  • R. E. A. C. Paley, A remarkable series of orthogonal functions (I), Proc. London Math. Soc. (2) 34 (1932), 241–264. https://doi.org/10.1112/plms/s2-34.1.241
11 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Scheduling Deteriorating Jobs on a Single Processor II: If E(X_j)/α_j and α_j/[c_j(1+α_j)] Both Increase in j, the Order 1, …, N Minimizes the Weighted Expected Completion Time (Proposition 2)Research Paper

Why deteriorating jobs need a scheduling rule

On one processor, the completion time of a job normally depends on how much work precedes it. In the model of Browne and Yechiali (1990), waiting also changes the job's own processing requirement: a job that starts later takes longer. The sequence therefore changes both when each job starts and how long subsequent jobs must wait. This matters when the goal is a weighted completion cost, because a delay to one job can raise the completion costs of many others.

The paper gives an expected-makespan ordering for this linear deterioration model and, in Proposition 2, a sufficient condition under which the original job order minimizes weighted expected completion cost. The latter is the target of this mission. Related platform work on Delayed SWPT and the AvgCompletionSched family treats weighted completion scheduling without this job-specific linear deterioration. Their additive processing-time models do not supply the completion-time object used here.

Jobs, schedules, and cost

There are NNN jobs, all available at time zero, processed one at a time on a single machine without idle time or preemption. A schedule π\piπ is a permutation of the jobs: π(k)\pi(k)π(k) is the job processed in position kkk. The paper labels positions and jobs from 111 to NNN; the Lean development labels them from 000 to N−1N-1N−1. The identity schedule π0\pi_0π0​ processes jobs in label order.

For job iii, XiX_iXi​ is its random initial processing requirement, αi\alpha_iαi​ its deterministic growth rate, and cic_ici​ its waiting cost rate. If the job starts at time ttt, its actual processing time is Yi(t)=Xi+αitY_i(t)=X_i+\alpha_i tYi​(t)=Xi​+αi​t. Deterioration stops once processing starts. Write Sk(π)S_k(\pi)Sk​(π) for the time at which the first kkk scheduled jobs have all finished. The model sets S0(π)=0S_0(\pi)=0S0​(π)=0 and

Sk+1(π)=Sk(π)+Xπ(k+1)+απ(k+1)Sk(π)S_{k+1}(\pi)=S_k(\pi)+X_{\pi(k+1)}+\alpha_{\pi(k+1)}S_k(\pi)Sk+1​(π)=Sk​(π)+Xπ(k+1)​+απ(k+1)​Sk​(π)

in the paper's one-based position notation. Thus the completion time of the job in position kkk is Sk(π)S_k(\pi)Sk​(π). Its cost is its own rate cπ(k)c_{\pi(k)}cπ(k)​ times that completion time, giving

C(π)=∑k=1Ncπ(k)Sk(π).C(\pi)=\sum_{k=1}^{N}c_{\pi(k)}S_k(\pi).C(π)=k=1∑N​cπ(k)​Sk​(π).

All of these are random quantities until an expectation is taken. Equation (2) of the paper writes SkS_kSk​ as a sum of the initial requirements multiplied by the later growth factors. Equation (8) substitutes that expression into C(π0)C(\pi_0)C(π0​). Both equations are included as milestones, stated along an arbitrary schedule by relabelling the jobs. The third milestone is the exact change in CCC from swapping two adjacent jobs. These three statements are pathwise identities, so their mathematical content does not depend on a probability distribution.

Formalization targets

The principal target is Proposition 2: if both sequences of job-indexed ratios are strictly increasing,

E(X1)α1<⋯<E(XN)αN,α1c1(1+α1)<⋯<αNcN(1+αN),\frac{E(X_1)}{\alpha_1}<\cdots<\frac{E(X_N)}{\alpha_N}, \qquad \frac{\alpha_1}{c_1(1+\alpha_1)} <\cdots< \frac{\alpha_N}{c_N(1+\alpha_N)},α1​E(X1​)​<⋯<αN​E(XN​)​,c1​(1+α1​)α1​​<⋯<cN​(1+αN​)αN​​,

then, for every permutation σ\sigmaσ,

E[C(π0)]≤E[C(σ)].E[C(\pi_0)]\le E[C(\sigma)].E[C(π0​)]≤E[C(σ)].

The first ratio compares an initial expected requirement with its growth rate. The second couples growth and the cost rate. The conclusion is global optimality over the paper's whole class of nonpreemptive, non-idling permutations. It does not assert that the identity order is the unique minimizer; strict input ratios do not by themselves justify a uniqueness claim.

The attack path records exactly the supporting statements printed in the paper: the closed completion-time formula (2), the weighted cost formula (8), and the unnumbered adjacent-interchange identity after (8). The milestone quotations preserve the paper's printed display, while the Lean statements use an arbitrary permutation where relabelling permits it. The interchange display has a multiplication dot before its second bracket; expansion for two jobs shows that the term is added. The formal statement records that correction, and the source quotation retains the printed symbol.

What the result establishes

The proposition identifies a directly checkable pair of ordering conditions under which the natural job-label order solves a weighted stochastic scheduling problem. A condition involving only E(Xi)/αiE(X_i)/\alpha_iE(Xi​)/αi​, enough for the paper's expected-makespan target, does not determine this weighted objective. The cost rates introduce another ordering requirement. The result gives a sufficient rule, not a characterization of every optimal schedule or of every parameter choice.

The mathematical result was published in 1990; this mission asks for its machine-checked formalization. A complete development will connect the processing-time recursion, the pathwise cost identities, and the expected optimality statement in Lean. The recursion and cost definitions can be reused for other finite single-machine problems in which a job's processing time depends on its start time. The milestone identities are also useful independently of the final sufficient condition, including for studying other choices of weights and ordering indices.

Where the argument is difficult

Sorting by expected initial requirement alone cannot settle the problem, because processing a job changes later start times and hence later processing times. Even sorting by the expected-makespan index leaves the cost rates unaccounted for. The value of an adjacent swap depends on the elapsed time before the pair and on the completion costs of jobs after the pair. It is not enough to compare the two jobs' own completion costs in isolation.

The source states the sufficient condition after its interchange display but does not present a full proof of the global claim. Closing the Lean goal requires connecting local comparisons to every schedule and handling the expected value of the recursively defined cost. The identities are finite, but their indices change between zero-based Lean positions and the paper's one-based display, especially at the first position and at an empty suffix.

Formalization scope

Jobs are Fin N\mathrm{Fin}\,NFinN, and a policy is an equivalence permutation with π(k)\pi(k)π(k) equal to the job in position kkk. Completion time is defined by the processing rule Yi(t)=Xi+αitY_i(t)=X_i+\alpha_i tYi​(t)=Xi​+αi​t, not by the closed form (2). At positions beyond the NNN jobs it stays constant, and theorems about the closed form restrict kkk to 0≤k≤N0\le k\le N0≤k≤N. The total cost is defined from job-weighted completion times, not from equation (8). This keeps both identities substantive.

The proposition uses a probability space and the Bochner integral of the real-valued cost. Every XiX_iXi​ is integrable, so its expectation and the finite linear combinations appearing in the cost are meaningful. Initial requirements are nonnegative at every outcome, reflecting the paper's standing positive-processing convention; strict positivity is unnecessary for the claim. Growth rates and cost rates are strictly positive. Those two assumptions make the printed ratios well-defined and support the ordering rule. The paper's common independence convention is not required for these expectations and is not assumed.

The two strict orderings are over the labels of jobs in π0\pi_0π0​, not positions of an arbitrary schedule. The conclusion compares π0\pi_0π0​ with every permutation, not only with schedules obtained by one adjacent swap. The N=0N=0N=0 and N=1N=1N=1 cases are allowed: the order conditions have no pair to compare, and there is only one permutation. Solvers may contribute the finite-sum, interchange, and integrability facts needed to link the milestones to Proposition 2. The pathwise identities require no probability assumptions and can support later variants.

Selected references

  • Browne, Sid, and Uri Yechiali, Scheduling Deteriorating Jobs on a Single Processor, Operations Research 38(3), 495–498 (1990). DOI: 10.1287/opre.38.3.495.
6 thms2 active usersReviewed
Control TheoryStochastic Systems·Captain: mikedeng1

Backward-Forward Stochastic Differential Equations 1: A Backward Equation Driven by a Bounded-Variation Integrator Has a Unique Adapted Solution in L¹(μ) Under Integrability AloneResearch Paper

Motivation

Backward stochastic differential equations (BSDEs) prescribe a process by its terminal value rather than its initial value: the unknown VVV must be adapted to the information flow, yet must reach a given random variable YYY at the horizon TTT. They arise in mathematical finance (pricing and hedging, where YYY is a contingent claim), in stochastic control (adjoint equations of the stochastic maximum principle) and in economics, where the stochastic differential utility of Duffie and Epstein (1992) defines the utility of a consumption stream as the solution of a backward equation.

Timeline:

  • 1990. Pardoux and Peng prove existence and uniqueness of adapted solutions for Lipschitz BSDEs driven by a Brownian motion, with square-integrable data (doi:10.1016/0167-6911(90)90082-6).
  • 1992. Duffie and Epstein introduce stochastic differential utility and state a conjecture on the well-posedness of the defining backward equation under LpL^pLp integrability (doi:10.2307/2951600).
  • 1993. Antonelli treats the backward equation with a general bounded-variation integrator AAA in place of dtdtdt, under integrability alone, and answers the Duffie–Epstein question for p=1p=1p=1 (doi:10.1214/aoap/1177005363). This mission formalizes that result, §2 of the paper.

Setting

Let (Ω,F,(Ft)0≤t≤T,P)(\Omega,\mathcal F,(\mathcal F_t)_{0\le t\le T},P)(Ω,F,(Ft​)0≤t≤T​,P) be a complete filtered probability space satisfying the usual hypotheses: the filtration is right-continuous and F0\mathcal F_0F0​ contains every PPP-null set. Let AAA be an adapted process with right-continuous paths of bounded variation, A0=0A_0=0A0​=0, whose total variation process ∣A∣t|A|_t∣A∣t​ satisfies ∣A∣T≤β|A|_T\le\beta∣A∣T​≤β for a constant β>0\beta>0β>0. Integrals ∫sthr dAr\int_s^t h_r\,dA_r∫st​hr​dAr​ are pathwise Lebesgue–Stieltjes integrals over (s,t](s,t](s,t].

The Doléans–Dade measure μ\muμ of ∣A∣|A|∣A∣ is the finite measure on [0,T]×Ω[0,T]\times\Omega[0,T]×Ω with

∫X dμ=E(∫0TXs ∣dAs∣),\int X\,d\mu=E\Big(\int_0^T X_s\,|dA_s|\Big),∫Xdμ=E(∫0T​Xs​∣dAs​∣),

and L1(μ)L^1(\mu)L1(μ) is the space of jointly measurable processes VVV with ∥V∥L1(μ)=E(∫0T∣Vt∣ ∣dAt∣)<+∞\|V\|_{L^1(\mu)}=E\big(\int_0^T|V_t|\,|dA_t|\big)<+\infty∥V∥L1(μ)​=E(∫0T​∣Vt​∣∣dAt​∣)<+∞.

The data are a driver gs(ω,u)g_s(\omega,u)gs​(ω,u), jointly measurable, and a terminal value YYY, subject to hypotheses 1–4:

  1. ∣gs(u)−gs(v)∣≤k∣u−v∣|g_s(u)-g_s(v)|\le k|u-v|∣gs​(u)−gs​(v)∣≤k∣u−v∣ for some k>0k>0k>0, all u,vu,vu,v and all s∈[0,T]s\in[0,T]s∈[0,T];
  2. gs(⋅,u)g_s(\cdot,u)gs​(⋅,u) is Fs\mathcal F_sFs​-measurable;
  3. E(∫0T∣gs(0)∣ ∣dAs∣)<+∞E\big(\int_0^T|g_s(0)|\,|dA_s|\big)<+\inftyE(∫0T​∣gs​(0)∣∣dAs​∣)<+∞;
  4. Y∈L1(P)Y\in L^1(P)Y∈L1(P) is FT\mathcal F_TFT​-measurable.

The backward equation is the fixed-point problem for

G(V)t=E(∫tTgs(Vs) dAs+Y ∣ Ft).(2.1)G(V)_t=E\Big(\int_t^T g_s(V_s)\,dA_s+Y\ \Big|\ \mathcal F_t\Big).\tag{2.1}G(V)t​=E(∫tT​gs​(Vs​)dAs​+Y ​ Ft​).(2.1)

When At=tA_t=tAt​=t this is the Duffie–Epstein equation Vt=E(∫tTgs(Vs) ds+Y∣Ft)V_t=E\big(\int_t^T g_s(V_s)\,ds+Y\mid\mathcal F_t\big)Vt​=E(∫tT​gs​(Vs​)ds+Y∣Ft​).

Formalization targets

Goal: Theorem 2.4

Under hypotheses 1–4 there is a progressively measurable process V∈L1(μ)V\in L^1(\mu)V∈L1(μ) with càdlàg paths such that

E(∫0T∣G(V)t−Vt∣ ∣dAt∣)=0,E\Big(\int_0^T|G(V)_t-V_t|\,|dA_t|\Big)=0,E(∫0T​∣G(V)t​−Vt​∣∣dAt​∣)=0,

VVV is a semimartingale through the decomposition

Vt=E(∫0Tgs(Vs) dAs+Y ∣ Ft)−∫0tgs(Vs) dAs,(2.9)V_t=E\Big(\int_0^T g_s(V_s)\,dA_s+Y\ \Big|\ \mathcal F_t\Big)-\int_0^t g_s(V_s)\,dA_s,\tag{2.9}Vt​=E(∫0T​gs​(Vs​)dAs​+Y ​ Ft​)−∫0t​gs​(Vs​)dAs​,(2.9)

and any two solutions in L1(μ)L^1(\mu)L1(μ) agree μ\muμ-almost everywhere.

Milestones

In the order of the paper's argument:

  1. Remark 2.2, (2.6): E(H∫[0,∞)a(s) dCs)=E(∫[0,∞)Hs a(s) dCs)E\big(H\int_{[0,\infty)}a(s)\,dC_s\big)=E\big(\int_{[0,\infty)}H_s\,a(s)\,dC_s\big)E(H∫[0,∞)​a(s)dCs​)=E(∫[0,∞)​Hs​a(s)dCs​) for an adapted increasing càdlàg CCC and a càdlàg version HtH_tHt​ of E(H∣Ft)E(H\mid\mathcal F_t)E(H∣Ft​), for HHH positive or in L1L^1L1.
  2. Lemma 2.3: GGG maps L1(μ)L^1(\mu)L1(μ) into L1(μ)L^1(\mu)L1(μ).
  3. The relation ∑i=0n(−1)iAt((n−i)−)At(i)=0\sum_{i=0}^n(-1)^iA_t^{((n-i)-)}A_t^{(i)}=0∑i=0n​(−1)iAt((n−i)−)​At(i)​=0 between the iterated integrals A(n)=((A⋅A)⋯ )⋅AA^{(n)}=((A\cdot A)\cdots)\cdot AA(n)=((A⋅A)⋯)⋅A and A(n−)=((A−⋅A)−⋯ )⋅AA^{(n-)}=((A_-\cdot A)_-\cdots)\cdot AA(n−)=((A−​⋅A)−​⋯)⋅A.
  4. (2.7): ∣G(n)(U)t−G(n)(V)t∣≤knE(∫tT(As−−At)[n−1]∣Us−Vs∣ dAs∣Ft)|G^{(n)}(U)_t-G^{(n)}(V)_t|\le k^nE\big(\int_t^T(A_{s-}-A_t)^{[n-1]}|U_s-V_s|\,dA_s\mid\mathcal F_t\big)∣G(n)(U)t​−G(n)(V)t​∣≤knE(∫tT​(As−​−At​)[n−1]∣Us​−Vs​∣dAs​∣Ft​).
  5. (2.8): E∫0T∣G(n)(U)t−G(n)(V)t∣ dAt≤knE∫0TAt−(n−)∣Ut−Vt∣ dAtE\int_0^T|G^{(n)}(U)_t-G^{(n)}(V)_t|\,dA_t\le k^nE\int_0^TA^{(n-)}_{t-}|U_t-V_t|\,dA_tE∫0T​∣G(n)(U)t​−G(n)(V)t​∣dAt​≤knE∫0T​At−(n−)​∣Ut​−Vt​∣dAt​.
  6. At(n−)≤Atn/n!A^{(n-)}_t\le A_t^n/n!At(n−)​≤Atn​/n!.
  7. The iterate bound ∥G(n)(U)−G(n)(V)∥L1(μ)≤kn(βn/n!)∥U−V∥L1(μ)\|G^{(n)}(U)-G^{(n)}(V)\|_{L^1(\mu)}\le k^n(\beta^n/n!)\|U-V\|_{L^1(\mu)}∥G(n)(U)−G(n)(V)∥L1(μ)​≤kn(βn/n!)∥U−V∥L1(μ)​.

Milestones 3–7 live inside the proof, after its reduction to nondecreasing AAA.

Significance

The result. Theorem 2.4 gives well-posedness of a backward equation with no square-integrability and no Brownian structure: the filtration is arbitrary (subject to the usual hypotheses), the integrator may jump, and only first moments are required. In the case At=tA_t=tAt​=t it settles the p=1p=1p=1 case of the Duffie–Epstein conjecture, so stochastic differential utility is well defined for integrable consumption data. The same fixed-point scheme, with the Doléans measure of a dominating process, is the basis of the coupled backward–forward result of §3 of the paper (a separate mission of this series).

Formalizing it. The theorem is proved in the literature but, as far as is known, has no machine-checked proof; Mathlib has conditional expectations, filtrations, martingales and Stieltjes measures, but no càdlàg process theory, no optional projection and no Doléans measure. A complete development produces these pieces. Its milestones also make precise points the paper leaves implicit: G is defined only up to versions, and the iterate bound is printed with GGG in place of G(n)G^{(n)}G(n).

Difficulty

The obvious approach is to show that GGG itself is a contraction on L1(μ)L^1(\mu)L1(μ). It is not in general: the one-step bound is kβk\betakβ, and nothing makes kβ<1k\beta<1kβ<1. The argument must instead control the nnn-th iterate. This needs exchanging a conditional expectation with a Stieltjes integral against a random measure, which is the optional projection identity (2.6). It also needs iterated integrals against an integrator with jumps, where the continuous-case identity A(n)=An/n!A^{(n)}=A^n/n!A(n)=An/n! fails and only the inequality A(n−)≤An/n!A^{(n-)}\le A^n/n!A(n−)≤An/n! survives. A second difficulty is measure-theoretic: G(V)tG(V)_tG(V)t​ is defined only almost surely for each fixed ttt, and the L1(μ)L^1(\mu)L1(μ) norm sees the whole path. A version must be chosen with càdlàg paths before the equation even makes sense in L1(μ)L^1(\mu)L1(μ).

Formalization scope

  • Time is R≥0\mathbb R_{\ge0}R≥0​ with a horizon T>0T>0T>0; only [0,T][0,T][0,T] matters. Integrals ∫st\int_s^t∫st​ are over (s,t](s,t](s,t].
  • The integrator is a structure BVIntegrator carrying AAA with its Jordan decomposition A=A+−A−A=A^+-A^-A=A+−A− as data, tied to Mathlib's eVariationOn so that A++A−=∣A∣A^++A^-=|A|A++A−=∣A∣. ∣dA∣=dA++dA−|dA|=dA^++dA^-∣dA∣=dA++dA− are Stieltjes measures of the paths.
  • L1(μ)L^1(\mu)L1(μ) norms are lower integrals in [0,∞][0,\infty][0,∞]; membership is joint measurability plus a finite norm.
  • G(V)G(V)G(V) is never a Lean function. Statements quantify over versions: jointly measurable processes WWW, càdlàg on [0,T][0,T][0,T], with Wt=E(ξt∣Ft)W_t=E(\xi_t\mid\mathcal F_t)Wt​=E(ξt​∣Ft​) a.s. for each ttt, where every ξt=∫tTgs(Vs) dAs+Y\xi_t=\int_t^Tg_s(V_s)\,dA_s+Yξt​=∫tT​gs​(Vs​)dAs​+Y is required to be integrable. Picard iterates are chains of such versions.
  • Explicit choices relative to the page: the usual hypotheses and right-continuous integrators (Protter's conventions, p. 778); integrability of every conditional-expectation argument; càdlàg versions; AAA nondecreasing in milestones 3–7, as in the proof; in (2.6), C0≥0C_0\ge0C0​≥0 with C0−=0C_{0-}=0C0−​=0, an [0,∞][0,\infty][0,∞]-valued version of E(H∣Ft)E(H\mid\mathcal F_t)E(H∣Ft​) in the positive case, and in the L1L^1L1 case finiteness of E(∣H∣∫a dC)E(|H|\int a\,dC)E(∣H∣∫adC); "semimartingale" expressed by the decomposition (2.9), with the martingale property stated for Mmin⁡(t,T)M_{\min(t,T)}Mmin(t,T)​; G(n)G^{(n)}G(n) in place of the printed GGG in the iterate bound.
  • A formalization that lets G(V)G(V)G(V) be a conditional expectation of a non-integrable argument (Mathlib returns 000), or that states only existence or only uniqueness, is trivial and is ruled out: both halves are in the goal, and every version carries the integrability of its argument.
  • Reusable infrastructure: optional projection for increasing integrators, càdlàg versions of martingales, iterated Stieltjes integrals and their factorial bounds. Contributions to any of these are welcome, as are proofs of the special case At=tA_t=tAt​=t.

Selected references

  • F. Antonelli, Backward-forward stochastic differential equations, Ann. Appl. Probab. 3(3) (1993) 777–793. doi:10.1214/aoap/1177005363
  • D. Duffie and L. G. Epstein, Stochastic differential utility, Econometrica 60(2) (1992) 353–394. doi:10.2307/2951600
  • E. Pardoux and S. Peng, Adapted solution of a backward stochastic differential equation, Systems Control Lett. 14(1) (1990) 55–61. doi:10.1016/0167-6911(90)90082-6
  • C. Dellacherie and P.-A. Meyer, Probabilities and Potential B, North-Holland, 1982 (Theorem VI.57).
  • P. Protter, Stochastic Integration and Differential Equations, Springer, 1990. doi:10.1007/978-3-662-02619-9
10 thms2 active usersReviewed
Operations ResearchStatistics·Captain: mikedeng1

Residual Life Time at Great Age 1: Every Nondegenerate Limit Law of the Normed Residual Life Time Is of Type Π, Π_γ, Γ_α or Γ_{γ,α}Research Paper

Motivation

A component with a random lifetime XXX that has survived to age ttt still has a random residual life time X−tX - tX−t. Reliability engineering, actuarial science and the statistics of exceedances over high thresholds all ask how the conditional law of X−tX - tX−t given X>tX > tX>t behaves when the age ttt is large. If XXX is exponential, the residual life has the same law at every age (lack of memory). In general it changes with ttt, and the natural question, as in the limit theory of sample maxima, is which laws can arise as limits once the residual life is suitably rescaled and shifted.

A. A. Balkema and L. de Haan answered this question in Residual Life Time at Great Age (The Annals of Probability 2, 1974). The answer — a short list of limit types — later underlies the peaks-over-threshold method of extreme value statistics, where the continuous limit laws reappear as the generalized Pareto family (Pickands, 1975). This mission formalizes the classification theorem of the paper, Theorem 1, together with the steps of its proof in §1.

Setting

Let XXX be a real random variable with distribution function FFF and distribution tail R(x)=1−F(x)=P{X>x}R(x) = 1 - F(x) = P\{X > x\}R(x)=1−F(x)=P{X>x}. Throughout, R(x)>0R(x) > 0R(x)>0 for every xxx (equivalently F(x)<1F(x) < 1F(x)<1 for all xxx), so that the conditioning event {X>t}\{X > t\}{X>t} never has probability zero. The residual life distribution function at age ttt is

Ft(x)=P{X−t≤x∣X>t},(1)F_t(x) = P\{X - t \le x \mid X > t\}, \tag{1}Ft​(x)=P{X−t≤x∣X>t},(1)

which vanishes for x<0x < 0x<0.

A family of distribution functions HtH_tHt​ converges weakly to GGG as t→∞t \to \inftyt→∞ if Ht(x)→G(x)H_t(x) \to G(x)Ht​(x)→G(x) at every continuity point xxx of GGG. A distribution function GGG is nondegenerate if it is not the distribution function of a point mass. GGG is of type KKK if G(x)=K(ax+b)G(x) = K(ax + b)G(x)=K(ax+b) for all xxx, with a>0a > 0a>0 and bbb real.

The limit laws are the following distribution functions, all equal to 000 for x<0x < 0x<0; for x≥0x \ge 0x≥0,

Π(x)=1−e−x,Γα(x)=1−(1+x)−α,\Pi(x) = 1 - e^{-x}, \qquad \Gamma_\alpha(x) = 1 - (1+x)^{-\alpha},Π(x)=1−e−x,Γα​(x)=1−(1+x)−α, Πγ(x)=1−exp⁡(−γ [1+x]),Γγ,α(x)=1−exp⁡(−γ [1+αlog⁡(1+x)]),\Pi_\gamma(x) = 1 - \exp\big(-\gamma\,[1 + x]\big), \qquad \Gamma_{\gamma,\alpha}(x) = 1 - \exp\big(-\gamma\,[1 + \alpha\log(1+x)]\big),Πγ​(x)=1−exp(−γ[1+x]),Γγ,α​(x)=1−exp(−γ[1+αlog(1+x)]),

with α,γ>0\alpha, \gamma > 0α,γ>0 and [a][a][a] the integer part of aaa. The first two are continuous; the last two are discrete, with jumps where 1+x1 + x1+x, respectively 1+αlog⁡(1+x)1 + \alpha\log(1+x)1+αlog(1+x), crosses an integer.

The lemmas of §1 use a second normalization, which shifts XXX instead of X−tX - tX−t:

P(X−b(t)a(t)>x  ∣  X>t)=min⁡(1,R(b(t)+xa(t))R(t))→S(x)weakly,(2–3)P\Big(\frac{X - b(t)}{a(t)} > x \;\Big|\; X > t\Big) = \min\Big(1, \frac{R(b(t) + x a(t))}{R(t)}\Big) \to S(x) \quad \text{weakly}, \tag{2–3}P(a(t)X−b(t)​>x​X>t)=min(1,R(t)R(b(t)+xa(t))​)→S(x)weakly,(2–3)

where 1−S1 - S1−S is a nondegenerate distribution function. The two normalizations differ by b(t)↦b(t)+tb(t) \mapsto b(t) + tb(t)↦b(t)+t.

Formalization targets

Goal: Theorem 1 (p. 796)

If F(x)<1F(x) < 1F(x)<1 for all xxx, a(t)>0a(t) > 0a(t)>0, and

Ft(b(t)+xa(t))→G(x)weakly as t→∞F_t\big(b(t) + x a(t)\big) \to G(x) \quad \text{weakly as } t \to \inftyFt​(b(t)+xa(t))→G(x)weakly as t→∞

for a nondegenerate distribution function GGG, then GGG is of type Π\PiΠ, Πγ\Pi_\gammaΠγ​, Γα\Gamma_\alphaΓα​ or Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​ for some α,γ>0\alpha, \gamma > 0α,γ>0.

Milestones (§1, pp. 794–797)

  1. Lemma 1. Under (2), for each continuity point yyy of SSS with 0<S(y)<10 < S(y) < 10<S(y)<1 there are A(y)≥1A(y) \ge 1A(y)≥1 and B(y)B(y)B(y) with
S(x) S(y)=S(B(y)+xA(y))whenever S(x)<1.(4)S(x)\,S(y) = S\big(B(y) + xA(y)\big) \quad \text{whenever } S(x) < 1. \tag{4}S(x)S(y)=S(B(y)+xA(y))whenever S(x)<1.(4)
  1. Corollary. S(x)>0S(x) > 0S(x)>0 for all xxx.
  2. Lemma 2. An unbounded non-increasing HHH on (x0,∞)(x_0, \infty)(x0​,∞) that agrees with SSS where S<1S < 1S<1 and solves H(x)H(y)=H(B(y)+xA(y))H(x)H(y) = H(B(y) + xA(y))H(x)H(y)=H(B(y)+xA(y)) agrees with SSS where H<1H < 1H<1.
  3. Case 1 of the proof: if A(y)=1A(y) = 1A(y)=1 for every yyy in the set YYY of continuity points with S(y)<1S(y) < 1S(y)<1, then 1−S1 - S1−S is of type Π\PiΠ or Πγ\Pi_\gammaΠγ​.
  4. The commutation identity of Case 2: B(y1)+A(y1)B(y2)=B(y2)+A(y2)B(y1)B(y_1) + A(y_1)B(y_2) = B(y_2) + A(y_2)B(y_1)B(y1​)+A(y1​)B(y2​)=B(y2​)+A(y2​)B(y1​) for y1,y2∈Yy_1, y_2 \in Yy1​,y2​∈Y.
  5. Case 2 of the proof: if A(y)>1A(y) > 1A(y)>1 for some y∈Yy \in Yy∈Y, then 1−S1 - S1−S is of type Γα\Gamma_\alphaΓα​ or Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​.
  6. The closing display: each of the four laws G=1−SG = 1 - SG=1−S reproduces itself, min⁡(1,S(B(t)+xA(t))/S(t))=S(x)\min\big(1, S(B(t) + xA(t))/S(t)\big) = S(x)min(1,S(B(t)+xA(t))/S(t))=S(x) for every t>0t > 0t>0 and suitable A(t)>0A(t) > 0A(t)>0, B(t)B(t)B(t); so all four types occur as limits.

Significance

Theorem 1 is to residual lives what the extremal types theorem of Fisher–Tippett and Gnedenko is to maxima: it reduces the asymptotic analysis of the residual life to a four-type list, and with it the question of domains of attraction (§§2–3 of the paper) becomes well posed. The continuous types Π\PiΠ and Γα\Gamma_\alphaΓα​ are, after a change of parameters, the exponential and Pareto members of the generalized Pareto family used to model exceedances over high thresholds; the discrete types Πγ\Pi_\gammaΠγ​ and Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​ show that once a shift is allowed, lattice-like tails produce limits with atoms, a phenomenon that the scale-only Theorem 2 excludes.

The theorem has been proved since 1974. It is not formalized in any proof assistant known to us, and Mathlib has neither weak convergence of distribution functions in the form used here, nor types, nor the residual-life limit laws. A formal development provides these objects, the functional equation (4) and its solution on a half line, and a checked proof that the four-type list is exactly right — including the discrete types, which are easy to lose in an informal treatment.

Difficulty

The obvious approach is to pass to the limit in the identity relating the residual lives at ages ttt and b(t)b(t)b(t), obtaining a Cauchy-type functional equation for SSS, and to solve it. Two features block a direct application of the classical solution. First, the limit is a minimum with 111, so convergence carries no information on the half line where S=1S = 1S=1: equation (4) holds only where S(x)<1S(x) < 1S(x)<1, and it does not determine SSS by itself (the paper exhibits S0(x)=e−xS_0(x) = e^{-x}S0​(x)=e−x for x≥1x \ge 1x≥1, S0=1S_0 = 1S0​=1 for x<1x < 1x<1, which satisfies (4) with A=1A = 1A=1, B(y)=yB(y) = yB(y)=y, yet 1−S01 - S_01−S0​ is of no limit type); Lemma 2 is needed to recover SSS where S=1S = 1S=1. Second, the solutions of the shifted equation φ(x)+φ(y)=φ(B(y)+x)\varphi(x) + \varphi(y) = \varphi(B(y) + x)φ(x)+φ(y)=φ(B(y)+x) for a monotone φ\varphiφ are not only linear: a periodic perturbation is possible, and its analysis produces the discrete laws through the integer part. A proof that assumes continuity of SSS misses Πγ\Pi_\gammaΠγ​ and Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​.

Formalization scope

The law of XXX is a probability measure μ\muμ on R\mathbb RR; R(x)=μ((x,∞))R(x) = \mu((x,\infty))R(x)=μ((x,∞)) and Ft(x)=μ((t,t+x])/μ((t,∞))F_t(x) = \mu((t, t+x])/\mu((t,\infty))Ft​(x)=μ((t,t+x])/μ((t,∞)), with probabilities taken as real numbers. Every statement assumes μ((x,∞))>0\mu((x,\infty)) > 0μ((x,∞))>0 for all xxx, the paper's standing assumption; Lean's division by zero would otherwise make the conditional laws meaningless. The normalizations satisfy a(t)>0a(t) > 0a(t)>0 for all ttt (only large ttt matter). A limit distribution function is the distribution function of a probability measure ν\nuν on R\mathbb RR, so no mass escapes to ±∞\pm\infty±∞; nondegenerate means ν\nuν is not a point mass; the limit tail is S(x)=ν((x,∞))S(x) = \nu((x,\infty))S(x)=ν((x,∞)), which is right-continuous. Weak convergence is convergence at the continuity points of the limit and nowhere else. The integer part is Int.floor. Each limit law is defined to be 000 for x<0x < 0x<0.

Theorem 1 is stated in the normalization (1) of the theorem, the lemmas and cases in the normalization (2) of §1, as printed. Theorem 1 names its fourth family Γα,γ\Gamma_{\alpha,\gamma}Γα,γ​; it is the introduction's Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​. In Lemma 2 the left endpoint x0x_0x0​ may be −∞-\infty−∞ (Case 1 applies the lemma on the whole line), and the condition that B(y)+xA(y)B(y) + xA(y)B(y)+xA(y) lies in (x0,∞)(x_0, \infty)(x0​,∞) for x>x0x > x_0x>x0​ is written out, since (8) presupposes it. "A pair (A(y),B(y))(A(y), B(y))(A(y),B(y)) in Lemma 1" and "A(y)=1A(y) = 1A(y)=1", "A(y)>1A(y) > 1A(y)>1" are stated through pairs satisfying (4); the proof of Lemma 1 shows the pair is unique. The commutation identity is posed without the Case 2 assumption, which its derivation does not use. No hypothesis of the paper is dropped and none is added beyond these readings.

The statement is not trivialized by dropping nondegeneracy (a point-mass limit is always attainable), by requiring convergence at every xxx (which would exclude the discrete types), or by defining the limit laws without the integer part (which would turn the discrete types into continuous ones); the formalization does none of these.

A complete development needs: the residual-life distribution function and the normed tail, weak convergence of distribution functions, types, the four limit laws; then monotone solutions of Cauchy-type functional equations on half lines, with their periodic perturbations. The functional-equation results and the closing-display computations are reusable beyond this mission, for instance for the scale-only Theorem 2 and for the domain-of-attraction results of §§2–3. Proofs of any milestone, of alternative routes to Theorem 1, and of the closing display for each family separately are welcome.

Selected references

  • A. A. Balkema, L. de Haan, Residual Life Time at Great Age, The Annals of Probability 2 (1974), no. 5, 792–804. https://doi.org/10.1214/aop/1176996548 (the source of every statement of this mission: the published article).
  • B. Gnedenko, Sur la distribution limite du terme maximum d'une série aléatoire, Annals of Mathematics 44 (1943), 423–453. https://doi.org/10.2307/1968974
  • J. Pickands III, Statistical Inference Using Extreme Order Statistics, The Annals of Statistics 3 (1975), 119–131. https://doi.org/10.1214/aos/1176343003
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, Wiley, 1966.
10 thms2 active usersReviewed
🏆Completed
Operations ResearchStatistics·Captain: mikedeng1

Residual Life Time at Great Age 4: α₁ ≤ tF′(t)/(1 − F(t)) ≤ α₂ for t ≥ t₀ Sandwiches P{(X − t)/t ≤ x | X > t} Between Γ_{α₁}(x) and Γ_{α₂}(x)Research Paper

Motivation

The residual life time of a lifetime XXX at age ttt is the remaining life X−tX - tX−t given survival past ttt. Its distribution at great age is a basic object in reliability, insurance and the statistics of extremes: excess-of-loss reinsurance prices the part of a claim above a retention level, and peaks-over-threshold methods fit a model to the observations exceeding a high level. Balkema and de Haan (Residual Life Time at Great Age, Ann. Probab. 2 (1974), 792–804, doi:10.1214/aop/1176996548) determined every possible limit law of the suitably normed residual life time as t→∞t \to \inftyt→∞ and the domains of attraction of these laws; Pickands (1975) obtained the continuous part of the same picture, which is the probabilistic basis of the generalized Pareto approximation used in practice.

Limit theorems describe the behaviour only as t→∞t \to \inftyt→∞. Section 4 of the paper gives approximation results for finite ttt. In extreme-value theory, von Mises (1936) gave a sufficient condition for attraction to the Fréchet law Φα\Phi_\alphaΦα​: tF′(t)/(1−F(t))→αtF'(t)/(1 - F(t)) \to \alphatF′(t)/(1−F(t))→α. Theorem 6 of the paper is a non-asymptotic, two-sided counterpart for the residual life time: two-sided bounds on the scaled hazard rate give two-sided bounds on the residual life distribution at every age past a threshold. This mission formalizes Theorem 6 (p. 801).

Setting

Let XXX be a real random variable with law μ\muμ and distribution function F(x)=P{X≤x}F(x) = P\{X \le x\}F(x)=P{X≤x}. For an age ttt with P{X>t}>0P\{X > t\} > 0P{X>t}>0, the residual life distribution function is

Ft(x)=P{X−t≤x∣X>t}=μ((t,t+x])μ((t,∞)),x∈R,F_t(x) = P\{X - t \le x \mid X > t\} = \frac{\mu((t, t + x])}{\mu((t, \infty))}, \qquad x \in \mathbb R,Ft​(x)=P{X−t≤x∣X>t}=μ((t,∞))μ((t,t+x])​,x∈R,

which is 000 for x<0x < 0x<0. For t>0t > 0t>0 the residual life scaled by the age has distribution function P{(X−t)/t≤x∣X>t}=Ft(xt)P\{(X - t)/t \le x \mid X > t\} = F_t(xt)P{(X−t)/t≤x∣X>t}=Ft​(xt).

For α>0\alpha > 0α>0 the Pareto-type law Γα\Gamma_\alphaΓα​ is

Γα(x)=1−(1+x)−α(x≥0),Γα(x)=0(x<0).\Gamma_\alpha(x) = 1 - (1 + x)^{-\alpha} \quad (x \ge 0), \qquad \Gamma_\alpha(x) = 0 \quad (x < 0).Γα​(x)=1−(1+x)−α(x≥0),Γα​(x)=0(x<0).

It is the law of Y−1Y - 1Y−1 when P{Y>y}=y−αP\{Y > y\} = y^{-\alpha}P{Y>y}=y−α for y≥1y \ge 1y≥1. FFF has a positive density F′F'F′ for t≥t0t \ge t_0t≥t0​ if FFF is differentiable at every t≥t0t \ge t_0t≥t0​ with derivative F′(t)>0F'(t) > 0F′(t)>0. The quantity F′(t)/(1−F(t))F'(t)/(1 - F(t))F′(t)/(1−F(t)) is the hazard rate of XXX at ttt, and tF′(t)/(1−F(t))tF'(t)/(1 - F(t))tF′(t)/(1−F(t)) is the hazard rate scaled by the age.

Formalization targets

Goal: Theorem 6 (p. 801)

Let FFF have a positive density F′F'F′ for t≥t0t \ge t_0t≥t0​, and let α1,α2>0\alpha_1, \alpha_2 > 0α1​,α2​>0 satisfy α1≤tF′(t)/(1−F(t))≤α2\alpha_1 \le tF'(t)/(1 - F(t)) \le \alpha_2α1​≤tF′(t)/(1−F(t))≤α2​ for t≥t0t \ge t_0t≥t0​. Then for all t≥t0t \ge t_0t≥t0​ and all real xxx,

Γα1(x)  ≤  P{X−tt≤x  ∣  X>t}  ≤  Γα2(x).\Gamma_{\alpha_1}(x) \;\le\; P\Big\{\frac{X - t}{t} \le x \;\Big|\; X > t\Big\} \;\le\; \Gamma_{\alpha_2}(x).Γα1​​(x)≤P{tX−t​≤x​X>t}≤Γα2​​(x).

The smaller constant gives the lower bound: a smaller scaled hazard rate means a heavier tail and hence a larger chance that the remaining life is long. For a Pareto tail 1−F(t)=Ct−α1 - F(t) = Ct^{-\alpha}1−F(t)=Ct−α one may take α1=α2=α\alpha_1 = \alpha_2 = \alphaα1​=α2​=α, and both inequalities are equalities.

Milestone: the integrated hazard bounds (proof of Theorem 6, p. 801)

For t≥t0t \ge t_0t≥t0​ and x>0x > 0x>0,

α1∫t(1+x)tduu≤∫t(1+x)tF′(u)1−F(u) du≤α2∫t(1+x)tduu.\alpha_1 \int_t^{(1+x)t} \frac{du}{u} \le \int_t^{(1+x)t} \frac{F'(u)}{1 - F(u)}\,du \le \alpha_2 \int_t^{(1+x)t} \frac{du}{u}.α1​∫t(1+x)t​udu​≤∫t(1+x)t​1−F(u)F′(u)​du≤α2​∫t(1+x)t​udu​.

Significance

The theorem turns a pointwise condition on the hazard rate, which can be checked on a density, into a bound on the whole conditional distribution of the residual life, valid at every age t≥t0t \ge t_0t≥t0​ rather than only in the limit. If moreover tF′(t)/(1−F(t))→αtF'(t)/(1 - F(t)) \to \alphatF′(t)/(1−F(t))→α, then α1,α2\alpha_1, \alpha_2α1​,α2​ can be taken arbitrarily close to α\alphaα for large t0t_0t0​, which recovers the convergence P{(X−t)/t≤x∣X>t}→Γα(x)P\{(X - t)/t \le x \mid X > t\} \to \Gamma_\alpha(x)P{(X−t)/t≤x∣X>t}→Γα​(x) with an explicit error at finite ages. Such bounds are what a practitioner fitting a Pareto tail above a threshold needs to quantify the approximation.

The result is classical and its proof is short; it is not open. As far as is known, no machine-checked version exists, and Mathlib has no theory of residual life distributions or of the limit laws of Balkema and de Haan. A formal proof would provide reusable pieces: the identity between the integrated hazard rate and −log⁡(1−F)-\log(1 - F)−log(1−F) for a distribution function with a density, and the comparison of a residual life distribution with a Pareto law. The other missions of this series formalize the paper's limit theorems, for which this mission's objects (the residual life distribution and Γα\Gamma_\alphaΓα​) are shared.

Difficulty

The mathematics is elementary; the work lies in the regularity bookkeeping that the printed proof leaves implicit. The density is only assumed to exist pointwise, so the fundamental theorem of calculus must be applied to −log⁡(1−F)-\log(1 - F)−log(1−F) with a derivative that is not assumed continuous, and its integrability on [t,(1+x)t][t, (1+x)t][t,(1+x)t] has to come from the hazard bounds themselves. That 1−F1 - F1−F stays positive, that t0>0t_0 > 0t0​>0, and that the case x≤0x \le 0x≤0 is trivial all have to be derived from the hypotheses rather than assumed. Finally, the conditional probability must be identified with 1−R((1+x)t)/R(t)1 - R((1+x)t)/R(t)1−R((1+x)t)/R(t), where R=1−FR = 1 - FR=1−F, through the measure of intervals.

Formalization scope

The law of XXX is a probability measure μ\muμ on R\mathbb RR, and FFF is Mathlib's ProbabilityTheory.cdf μ. The probability P{(X−t)/t≤x∣X>t}P\{(X - t)/t \le x \mid X > t\}P{(X−t)/t≤x∣X>t} is residualLife μ t (x * t) =μ((t,t+xt])/μ((t,∞))= \mu((t, t + xt])/\mu((t, \infty))=μ((t,t+xt])/μ((t,∞)). Γα\Gamma_\alphaΓα​ is a real function defined by cases, with Real.rpow for the power. The density is an explicit function fff with FFF having derivative f(t)>0f(t) > 0f(t)>0 at every t≥t0t \ge t_0t≥t0​, the derivative taken within [t0,∞)[t_0, \infty)[t0​,∞). This is a right derivative at t0t_0t0​ and the ordinary derivative for t>t0t > t_0t>t0​. It is the weakest reading of "positive density F′F'F′ for t≥t0t \ge t_0t≥t0​", and it admits the exact Pareto law with t0=1t_0 = 1t0​=1, whose distribution function has no two-sided derivative at 111. The bounds are stated for t⋅f(t)/(1−F(t))t \cdot f(t)/(1 - F(t))t⋅f(t)/(1−F(t)) with Lean's real division.

No hypothesis is added to the printed theorem, and no printed slip was found. The conditions t0>0t_0 > 0t0​>0 and F(t)<1F(t) < 1F(t)<1 follow from the hypotheses: for t≤0t \le 0t≤0 the ratio is not ≥α1>0\ge \alpha_1 > 0≥α1​>0, and a positive derivative on [t0,∞)[t_0, \infty)[t0​,∞) makes FFF strictly increasing there. Lean's convention a/0=0a/0 = 0a/0=0 therefore never acts at the ages concerned. The conclusion is stated for all real xxx, as printed; for x≤0x \le 0x≤0 all three quantities are 000. The milestone does not assume the hazard rate integrable: it is bounded and measurable on [t,(1+x)t][t, (1+x)t][t,(1+x)t], and a non-integrable integrand would make the inequality false rather than trivially true. A formalization that dropped the density hypothesis, replaced F′F'F′ by deriv without differentiability, or let the bounds hold only on a set not containing every t≥t0t \ge t_0t≥t0​ would not be this theorem; all three are excluded by the statement.

A proof needs the fundamental theorem of calculus for derivatives within a half-line (in Mathlib), the identity ∫t(1+x)tdu/u=log⁡(1+x)\int_t^{(1+x)t} du/u = \log(1+x)∫t(1+x)t​du/u=log(1+x), and the chain rule for log⁡(1−F)\log(1 - F)log(1−F). Proofs of the milestone and the goal are welcome, as are sorry-free lemmas showing that Γα\Gamma_\alphaΓα​ is a distribution function and that the Pareto law satisfies the hypotheses with α1=α2\alpha_1 = \alpha_2α1​=α2​.

Selected references

  • A. A. Balkema, L. de Haan, Residual Life Time at Great Age, The Annals of Probability 2 (1974), no. 5, 792–804. https://doi.org/10.1214/aop/1176996548
  • J. Pickands III, Statistical Inference Using Extreme Order Statistics, The Annals of Statistics 3 (1975), no. 1, 119–131. https://doi.org/10.1214/aos/1176343003
  • R. von Mises, La distribution de la plus grande de n valeurs, Revue Mathématique de l'Union Interbalkanique 1 (1936), 141–160.
  • L. de Haan, A. Ferreira, Extreme Value Theory: An Introduction, Springer, 2006. https://doi.org/10.1007/0-387-34471-3
4 thms2 active usersReviewed
🏆Completed
Graph TheoryOperations Research·Captain: mikedeng1

Expected Critical Path Lengths in PERT Networks: With Bundle-Independent Arc Lengths, the Mean-Length Estimate g, Fulkerson's Recursion f and the Expected Critical Path Length e Satisfy g ≤ f ≤ eResearch Paper

Motivation

PERT (Program Evaluation and Review Technique) and the critical path method model a project as a directed acyclic network whose arcs are jobs and whose nodes are events; the duration of the project is the length of a longest path from the origin to the terminal. When job durations are random, the quantity a planner wants is the expected duration. Computing it exactly requires solving one longest-path problem for every joint outcome of the job durations: with mmm jobs each taking two values, 2m2^m2m deterministic problems. Classical PERT practice replaced every random duration by its mean and reported the longest path for the mean durations. That figure is known to be optimistically biased.

D. R. Fulkerson, Expected Critical Path Lengths in PERT Networks (RAND Memorandum RM-3075-PR, 1962; Operations Research 10(6):808–817, 1962, doi:10.1287/opre.10.6.808), proposed a second estimate, computed node by node with work exponential only in the size of a single node's bundle of incoming arcs, and proved that it lies between the classical mean-length figure and the true expectation.

Setting

A project network has events 0,1,…,n0,1,\dots,n0,1,…,n with n≥1n\ge1n≥1, origin 000 and terminal nnn. Its arcs are ordered pairs (i,j)(i,j)(i,j) with i<ji<ji<j, at most one per pair, and every event lies on a directed path from the origin to the terminal. Fulkerson numbers his nodes 1,…,n1,\dots,n1,…,n; his node iii is event i−1i-1i−1 here. The bundle BjB_jBj​ of an event jjj is the set of arcs entering jjj, and pred⁡(j)\operatorname{pred}(j)pred(j) the set of their tails; the origin's bundle is empty.

For arc lengths ttt, let ℓi(t)\ell_i(t)ℓi​(t) be the length of a longest (critical) path from the origin to iii; equivalently ℓ0=0\ell_0=0ℓ0​=0 and ℓj=max⁡i∈pred⁡(j)(ℓi+tij)\ell_j=\max_{i\in\operatorname{pred}(j)}(\ell_i+t_{ij})ℓj​=maxi∈pred(j)​(ℓi​+tij​).

The lengths of the arcs of each bundle BjB_jBj​ form a random vector with a finite distribution: a finite set SjS_jSj​ of bundle vectors vvv, where viv_ivi​ is the length of arc (i,j)(i,j)(i,j), with probabilities pj(v)≥0p_j(v)\ge 0pj​(v)≥0 summing to 111. Arcs within a bundle may be correlated; distinct bundles are independent, so an assignment ω=(ωj)j\omega=(\omega_j)_jω=(ωj​)j​ of one bundle vector per event has probability p(ω)=∏jpj(ωj)p(\omega)=\prod_j p_j(\omega_j)p(ω)=∏j​pj​(ωj​). Three numbers are attached to each event iii:

  1. the expected critical path length ei=∑ωp(ω) ℓi(t(ω))e_i=\sum_\omega p(\omega)\,\ell_i(t(\omega))ei​=∑ω​p(ω)ℓi​(t(ω));
  2. the mean-length estimate gi=ℓi(tˉ)g_i=\ell_i(\bar t)gi​=ℓi​(tˉ), where tˉij=∑v∈Sjpj(v) vi\bar t_{ij}=\sum_{v\in S_j}p_j(v)\,v_itˉij​=∑v∈Sj​​pj​(v)vi​ is the expected length of arc (i,j)(i,j)(i,j);
  3. Fulkerson's numbers f0=0f_0=0f0​=0 and, for j≠0j\neq0j=0,
fj=∑v∈Sjpj(v) max⁡i∈pred⁡(j)(fi+vi).f_j=\sum_{v\in S_j}p_j(v)\,\max_{i\in\operatorname{pred}(j)}\bigl(f_i+v_i\bigr).fj​=v∈Sj​∑​pj​(v)i∈pred(j)max​(fi​+vi​).

Formalization targets

Goal: (4.4)

gi  ≤  fi  ≤  eifor every event i.g_i\;\le\;f_i\;\le\;e_i\qquad\text{for every event } i .gi​≤fi​≤ei​for every event i.

Milestones

In the order of Fulkerson's induction (pp. 10–12):

  1. the recursion for ℓ\ellℓ computes the greatest path length (§3, (3.6), and the display on p. 11);
  2. ℓi(t)\ell_i(t)ℓi​(t) depends only on the arcs of the bundles B0,…,BiB_0,\dots,B_iB0​,…,Bi​ (p. 6);
  3. (4.8): max⁡i∈pred⁡(j)(fi+tˉij)≤fj\max_{i\in\operatorname{pred}(j)}(f_i+\bar t_{ij})\le f_jmaxi∈pred(j)​(fi​+tˉij​)≤fj​;
  4. (4.5)/(4.9): if gk≤fkg_k\le f_kgk​≤fk​ for all k<jk<jk<j, then gj≤fjg_j\le f_jgj​≤fj​;
  5. (4.13): ∑v∈Sjpj(v)max⁡i∈pred⁡(j)(ei+vi)≤ej\sum_{v\in S_j}p_j(v)\max_{i\in\operatorname{pred}(j)}(e_i+v_i)\le e_j∑v∈Sj​​pj​(v)maxi∈pred(j)​(ei​+vi​)≤ej​;
  6. (4.10)/(4.14): if fk≤ekf_k\le e_kfk​≤ek​ for all k<jk<jk<j, then fj≤ejf_j\le e_jfj​≤ej​.

Companion statements

  • gi≤eig_i\le e_igi​≤ei​ under an arbitrary joint distribution of all arc lengths (remark, p. 12).
  • Fig. 4.2: with correlated bundles, e3=g3=1e_3=g_3=1e3​=g3​=1 but f3=5/4f_3=5/4f3​=5/4, so (4.4) fails without bundle independence.
  • (4.17): an independent example with g3=f3=1<e3=5/4g_3=f_3=1<e_3=5/4g3​=f3​=1<e3​=5/4.
  • Fig. 4.1: explicit values g4=3/2g_4=3/2g4​=3/2, f2=1/2f_2=1/2f2​=1/2, f3=9/8f_3=9/8f3​=9/8, f4=55/32f_4=55/32f4​=55/32, and fi=eif_i=e_ifi​=ei​.

Significance

The chain (4.4) says that the classical PERT estimate ggg never overstates the expected project duration, and that the numbers fff are a lower bound at least as tight. The fff computation visits each node once and sums over the support of that node's bundle only, so its cost grows exponentially with bundle size rather than with network size, while the exact expectation eee requires the whole product space. The Fig. 4.2 example shows that the bundle-independence hypothesis cannot be dropped for the upper inequality, while the lower inequality g≤eg\le eg≤e survives arbitrary dependence.

The result has a complete published proof. This mission seeks a machine-checked proof of (4.4) for finite distributions, with the longest-path characterisation of the earliest-event-time recursion and the locality of critical path lengths as reusable lemmas, and machine-checkable versions of the paper's numerical examples, including the counterexample showing the role of independence.

Difficulty

The left inequality compares an average of maxima with a maximum of averages. The right inequality requires more: fjf_jfj​ averages over the bundle entering jjj, while eje_jej​ averages over assignments to every bundle. Taking expectations in ℓj=max⁡i(ℓi+tij)\ell_j=\max_i(\ell_i+t_{ij})ℓj​=maxi​(ℓi​+tij​) yields ej≥max⁡i(ei+tˉij)e_j\ge\max_i(e_i+\bar t_{ij})ej​≥maxi​(ei​+tˉij​), which gives the weaker bound g≤eg\le eg≤e. Fig. 4.2 shows that f≤ef\le ef≤e can fail when the bundles are dependent. In Lean, eee is a sum over a dependent product of finite supports (Fintype.piFinset); its interaction with the local recurrence for fff is the central technical difficulty.

Formalization scope

  • Network: the published CriticalPath.Events.ProjectNetwork (Kelley–Walker 1959): events Fin (n + 1), arcs a Finset of ordered pairs with strictly increasing labels, origin preceding and terminal following every event. This requires n≥1n\ge1n≥1. Fulkerson's numbering condition "i≤ji\le ji≤j" on p. 3 is read as the strict i<ji<ji<j (arcs join distinct nodes of an acyclic network). There is one arc per ordered pair, Fulkerson's own convention in (3.13).
  • Critical path length: the published CriticalPath.Events.earliest, a recursion with Finset.sup' over the nonempty set of incoming arcs. This is the paper's convention that terms of missing arcs are ignored. Nothing uses a default value of 000 or −∞-\infty−∞.
  • Distributions: finite, given as data (a support Finset and a weight function per bundle) plus a predicate IsProb (nonnegative weights on the support, summing to 111, for every event including the origin). Bundle vectors are functions on all events, and coordinates outside pred⁡(j)\operatorname{pred}(j)pred(j) are never read.
  • Arc lengths are arbitrary reals. §3 assumes nonnegative lengths, but its footnote on p. 4 states that nonnegativity "is not essential in this or the following section"; the statements are given in this more general form.
  • No trivialization: eie_iei​ is the sum over every assignment of bundle vectors, weighted by the product probability (3.5). It is not defined by a recursion, and the goal assumes none of the milestones. fff at node jjj uses only the distribution of the bundle of jjj.

Infrastructure that a full development needs, and that is reusable elsewhere, includes the longest-path characterisation of the earliest-event-time recursion, the locality lemma, and the factorisation of sums over Fintype.piFinset along one coordinate. Proofs of any milestone or companion are welcome. Out of scope here: §5 (computational examples) and the general-network analogues of §6.

Selected references

  • D. R. Fulkerson, Expected Critical Path Lengths in PERT Networks, RAND Memorandum RM-3075-PR, March 1962; published in Operations Research 10(6):808–817, 1962. doi:10.1287/opre.10.6.808
  • J. E. Kelley Jr. and M. R. Walker, Critical-Path Planning and Scheduling, Proceedings of the Eastern Joint Computer Conference, 1959, pp. 160–173. doi:10.1145/1460299.1460318
  • D. G. Malcolm, J. H. Roseboom, C. E. Clark and W. Fazar, Application of a Technique for Research and Development Program Evaluation, Operations Research 7(5):646–669, 1959. doi:10.1287/opre.7.5.646
11 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimal TransportStatistics·Captain: mikedeng1

Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations III: Asymptotic Consistency of Wasserstein Robust SolutionsResearch Paper

Motivation

Many decisions in operations research and machine learning minimize an expected cost EP[h(x,ξ)]\mathbb E^{P}[h(x,\xi)]EP[h(x,ξ)] whose distribution PPP is unknown and is seen only through NNN independent samples. The sample-average approximation replaces PPP by the empirical distribution and is known to produce decisions with poor out-of-sample performance when NNN is small. Distributionally robust optimization instead minimizes the worst-case expected cost over a set of distributions that are plausible given the data. Mohajerin Esfahani and Kuhn (arXiv:1505.05116v3, published in Mathematical Programming 171, 2018) take this set to be a ball in the Wasserstein metric around the empirical distribution, and show that such balls deliver both finite-sample certificates and asymptotic consistency. This mission formalizes the statistical half of that paper: Section 3 and Appendix A.

A data-driven method should, at a minimum, be consistent: as the sample grows, its optimal value and decisions should approach those of the true problem. For Wasserstein balls this requires a measure concentration inequality for empirical distributions in the Wasserstein metric, which was supplied by Fournier and Guillin (PTRF 2015). The paper combines that inequality with the Kantorovich–Rubinstein duality and the Borel–Cantelli lemma.

Setting

Let EEE be Rm\mathbb R^mRm with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ and its Borel σ\sigmaσ-algebra. A decision xxx ranges over a feasible set X⊆RnX\subseteq\mathbb R^nX⊆Rn; the random vector ξ\xiξ has distribution PPP, supported on the uncertainty set Ξ⊆E\Xi\subseteq EΞ⊆E; the loss is h:Rn×E→Rh:\mathbb R^n\times E\to\mathbb Rh:Rn×E→R. The true problem (1) has optimal value

J⋆=inf⁡x∈XEP[h(x,ξ)].J^\star=\inf_{x\in X}\mathbb E^P[h(x,\xi)].J⋆=x∈Xinf​EP[h(x,ξ)].

The Wasserstein distance between distributions Q1,Q2Q_1,Q_2Q1​,Q2​ with finite first moment is

dW(Q1,Q2)=inf⁡{∫∥ξ1−ξ2∥ Π(dξ1,dξ2): Π a coupling of Q1 and Q2}.d_W(Q_1,Q_2)=\inf\Big\{\int\|\xi_1-\xi_2\|\,\Pi(d\xi_1,d\xi_2):\ \Pi\text{ a coupling of }Q_1\text{ and }Q_2\Big\}.dW​(Q1​,Q2​)=inf{∫∥ξ1​−ξ2​∥Π(dξ1​,dξ2​): Π a coupling of Q1​ and Q2​}.

Given samples ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​ drawn independently from PPP (joint law PNP^NPN, and P∞P^\inftyP∞ for the infinite sequence), the empirical distribution is P^N=1N∑i=1Nδξ^i\widehat P_N=\frac1N\sum_{i=1}^N\delta_{\hat\xi_i}PN​=N1​∑i=1N​δξ^​i​​, and the Wasserstein ball Bε(P^N)\mathbb B_\varepsilon(\widehat P_N)Bε​(PN​) is the set of distributions QQQ on Ξ\XiΞ with dW(P^N,Q)≤εd_W(\widehat P_N,Q)\le\varepsilondW​(PN​,Q)≤ε. The distributionally robust program (5) has optimal value

J^N=inf⁡x∈X sup⁡Q∈Bε(P^N)EQ[h(x,ξ)],\widehat J_N=\inf_{x\in X}\ \sup_{Q\in\mathbb B_\varepsilon(\widehat P_N)}\mathbb E^Q[h(x,\xi)],JN​=x∈Xinf​ Q∈Bε​(PN​)sup​EQ[h(x,ξ)],

and an optimizer of it is written x^N\widehat x_NxN​.

The light-tail condition (Assumption 3.3) asks for an exponent a>1a>1a>1 with A=EP[exp⁡(∥ξ∥a)]<∞A=\mathbb E^P[\exp(\|\xi\|^a)]<\inftyA=EP[exp(∥ξ∥a)]<∞. Under it, and for m≠2m\ne2m=2, Theorem 3.4 (Fournier–Guillin) gives constants c1,c2>0c_1,c_2>0c1​,c2​>0 with

PN{dW(P,P^N)≥ε}≤{c1e−c2Nεmax⁡{m,2},ε≤1,c1e−c2Nεa,ε>1,(7)P^N\{d_W(P,\widehat P_N)\ge\varepsilon\}\le\begin{cases}c_1e^{-c_2N\varepsilon^{\max\{m,2\}}},&\varepsilon\le1,\\ c_1e^{-c_2N\varepsilon^{a}},&\varepsilon>1,\end{cases}\tag{7}PN{dW​(P,PN​)≥ε}≤{c1​e−c2​Nεmax{m,2},c1​e−c2​Nεa,​ε≤1,ε>1,​(7)

for all N≥1N\ge1N≥1, ε>0\varepsilon>0ε>0. Solving the right-hand side =β=\beta=β for ε\varepsilonε gives the radius

εN(β)=(log⁡(c1β−1)c2N)1/max⁡{m,2} if N≥log⁡(c1β−1)c2,(log⁡(c1β−1)c2N)1/a otherwise.(8)\varepsilon_N(\beta)=\Big(\frac{\log(c_1\beta^{-1})}{c_2N}\Big)^{1/\max\{m,2\}}\text{ if }N\ge\frac{\log(c_1\beta^{-1})}{c_2},\qquad\Big(\frac{\log(c_1\beta^{-1})}{c_2N}\Big)^{1/a}\text{ otherwise}.\tag{8}εN​(β)=(c2​Nlog(c1​β−1)​)1/max{m,2} if N≥c2​log(c1​β−1)​,(c2​Nlog(c1​β−1)​)1/a otherwise.(8)

Formalization targets

Goal: Theorem 3.6 (asymptotic consistency)

Let βN∈(0,1)\beta_N\in(0,1)βN​∈(0,1) with ∑NβN<∞\sum_N\beta_N<\infty∑N​βN​<∞ and εN(βN)→0\varepsilon_N(\beta_N)\to0εN​(βN​)→0, and use the radius εN(βN)\varepsilon_N(\beta_N)εN​(βN​) in (5).

(i) If h(x,⋅)h(x,\cdot)h(x,⋅) is upper semicontinuous on Ξ\XiΞ and ∣h(x,ξ)∣≤L(1+∥ξ∥)|h(x,\xi)|\le L(1+\|\xi\|)∣h(x,ξ)∣≤L(1+∥ξ∥) on X×ΞX\times\XiX×Ξ, then P∞P^\inftyP∞-almost surely

J^N≥J⋆ for all large NandJ^N→J⋆.\widehat J_N\ge J^\star\ \text{for all large }N\quad\text{and}\quad\widehat J_N\to J^\star.JN​≥J⋆ for all large NandJN​→J⋆.

(ii) If moreover XXX is closed and h(⋅,ξ)h(\cdot,\xi)h(⋅,ξ) is lower semicontinuous on XXX, then P∞P^\inftyP∞-almost surely every accumulation point of (x^N)(\widehat x_N)(xN​) is an optimal solution of (1).

Milestones

  1. Theorem 3.5 (finite sample guarantee). For fixed N≥1N\ge1N≥1 and β∈(0,1)\beta\in(0,1)β∈(0,1), with radius εN(β)\varepsilon_N(\beta)εN​(β),
PN{EP[h(x^N,ξ)]>J^N}≤β.P^N\big\{\mathbb E^P[h(\widehat x_N,\xi)]>\widehat J_N\big\}\le\beta.PN{EP[h(xN​,ξ)]>JN​}≤β.
  1. Lemma A.1. An upper semicontinuous hhh on Ξ\XiΞ with h(ξ)≤L(1+∥ξ∥)h(\xi)\le L(1+\|\xi\|)h(ξ)≤L(1+∥ξ∥) is the pointwise limit on Ξ\XiΞ of a non-increasing sequence of Lipschitz functions.
  2. Lemma 3.7 (convergence of distributions). Any data-dependent Q^N∈BεN(βN)(P^N)\widehat Q_N\in\mathbb B_{\varepsilon_N(\beta_N)}(\widehat P_N)Q​N​∈BεN​(βN​)​(PN​) satisfies
P∞{lim⁡N→∞dW(P,Q^N)=0}=1.P^\infty\Big\{\lim_{N\to\infty}d_W(P,\widehat Q_N)=0\Big\}=1.P∞{N→∞lim​dW​(P,Q​N​)=0}=1.

Theorem 3.2 (Kantorovich–Rubinstein duality, dW(Q1,Q2)=sup⁡{∫f dQ1−∫f dQ2: f 1-Lipschitz}d_W(Q_1,Q_2)=\sup\{\int f\,dQ_1-\int f\,dQ_2:\ f\ 1\text{-Lipschitz}\}dW​(Q1​,Q2​)=sup{∫fdQ1​−∫fdQ2​: f 1-Lipschitz}), which the proof of (i) uses, enters as a reference item: the open platform theorem WassersteinDRO.Duality.kantorovich_rubinstein, stated on the whole space for all Borel probability measures. It is not a milestone, because that statement is more general than the paper's version on M(Ξ)\mathcal M(\Xi)M(Ξ) (the two agree for distributions in M(Ξ)\mathcal M(\Xi)M(Ξ) by extending Lipschitz functions from Ξ\XiΞ to the whole space).

A companion item, Example 1 (1), records that upper semicontinuity cannot be dropped in (i): for Ξ=[0,1]\Xi=[0,1]Ξ=[0,1], P=δ0P=\delta_0P=δ0​ and h=1(0,1](ξ)h=\mathbb 1_{(0,1]}(\xi)h=1(0,1]​(ξ) one has J⋆=0J^\star=0J⋆=0 but J^N≥1\widehat J_N\ge1JN​≥1 for every radius ε>0\varepsilon>0ε>0.

Significance

Theorem 3.5 makes the robust optimal value an upper confidence bound on the out-of-sample cost of the robust decision. Theorem 3.6 shows that this protection does not cost consistency: with radii shrinking at a rate governed by summable confidence levels, such as βN=e−N\beta_N=e^{-\sqrt N}βN​=e−N​, both the certificate and the decisions converge to their true counterparts. Together they are the statistical justification for the Wasserstein ambiguity sets that the rest of the paper reformulates as finite convex programs, and they are cited as the reference consistency results for Wasserstein distributionally robust optimization.

All results here are proved in the paper. None of them, nor the Fournier–Guillin inequality, is formalized on Prove2Me or in Mathlib to our knowledge. The mission adds machine-checked versions of the finite-sample and consistency statements, a monotone Lipschitz approximation lemma for semicontinuous functions with linear growth (useful wherever Lipschitz duality has to be extended to semicontinuous integrands), and a convergence lemma for measures in shrinking Wasserstein balls.

Difficulty

The obvious argument for (i) bounds the worst-case expectation by the true expectation plus a Lipschitz constant times the radius. That fails, because hhh is only upper semicontinuous in ξ\xiξ, not Lipschitz, and has no Lipschitz constant to multiply. The expectations of a merely semicontinuous loss must be controlled uniformly over every distribution in the ball, including data-dependent worst-case distributions, and the almost-sure convergence of the empirical distribution alone does not give this. Example 1 of the paper shows that each regularity hypothesis is needed. On the formal side, the Wasserstein distance is an infimum over couplings on a Polish space; even its triangle inequality (gluing of couplings) and the Kantorovich–Rubinstein duality are substantial.

Formalization scope

EEE is a finite-dimensional real normed space with its Borel σ\sigmaσ-algebra (BorelSpace), and mmm is its dimension; decisions live in EuclideanSpace ℝ (Fin n). The definitions dWd_WdW​ (type p=1p=1p=1), P^N\widehat P_NPN​, Bε(P^N)\mathbb B_\varepsilon(\widehat P_N)Bε​(PN​), EQ\mathbb E^QEQ and the worst-case expectation are the published WassersteinDRO.Duality definitions. The optimal values J⋆J^\starJ⋆ and J^N\widehat J_NJN​ are extended reals. Standing conventions and pinned hypotheses:

  • "Supported on Ξ\XiΞ" is P(Ξc)=0P(\Xi^c)=0P(Ξc)=0; Ξ\XiΞ is neither closed nor convex in general. The samples lie in Ξ\XiΞ almost surely, and optimizers and ball selections are required only for samples in Ξ\XiΞ.
  • The constants c1,c2>0c_1,c_2>0c1​,c2​>0 enter as any constants for which (7) holds, which is how (8) is defined from Theorem 3.4. The theorem of Fournier and Guillin is not part of this mission, and m≠2m\ne2m=2 is assumed because (7) and (8) are printed only for m≠2m\ne2m=2.
  • The loss is real-valued. In Theorem 3.5 it is assumed PPP-integrable on XXX, because the worst-case expectation counts only distributions under which the loss is integrable. In Theorem 3.6 the linear growth bound makes this automatic.
  • Probabilities "at least 1−β1-\beta1−β" are stated as bounds on the outer measure of the failure event, and "P∞P^\inftyP∞-almost surely" as an almost-everywhere statement for the product measure on sequences.
  • The paper's "J^N↓J⋆\widehat J_N\downarrow J^\starJN​↓J⋆" is stated as eventual domination J^N≥J⋆\widehat J_N\ge J^\starJN​≥J⋆ plus convergence, which is what its proof establishes; monotonicity in NNN is not claimed.

A statement in which (7) could not hold for any constants would make the goal vacuous. The concentration inequality is satisfiable (for instance by a Dirac distribution with any constants), and εN(β)\varepsilon_N(\beta)εN​(β) is defined by the paper's formula, not chosen freely.

Welcome contributions: the triangle inequality and Kantorovich–Rubinstein duality for dWd_WdW​, the Borel–Cantelli step for product measures, Lemma A.1, and the Fatou argument of (ii).

Selected references

  • P. Mohajerin Esfahani and D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171 (2018); source version arXiv:1505.05116v3. https://arxiv.org/abs/1505.05116v3
  • N. Fournier and A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162 (2015). https://doi.org/10.1007/s00440-014-0583-7
  • L. V. Kantorovich and G. S. Rubinstein, On a space of totally additive functions, Vestnik Leningrad. Univ. 13 (1958).
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • D. Bertsimas, V. Gupta and N. Kallus, Robust sample average approximation, Mathematical Programming 171 (2018). https://arxiv.org/abs/1408.4445
12 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationOperations Research·Captain: mikedeng1

On the Convergence of Stochastic Dual Dynamic Programming and Related Methods: DOASA Reaches an Optimal Policy in Finitely Many Iterations Almost SurelyResearch Paper

Motivation

Stochastic dual dynamic programming (SDDP), introduced by Pereira and Pinto in 1991, is the standard method for multistage stochastic linear programs with many stages, such as hydro-thermal scheduling and long-term energy planning. It approximates each stage's expected future cost from below by the maximum of finitely many linear functions (cuts), built from LP dual solutions at sampled states, and alternates a forward simulation pass with a backward cut-generation pass. Practitioners stop the method when a simulated upper bound is close to the lower bound C1kC^k_1C1k​. Whether this procedure converges at all is the question of this mission.

Timeline:

  • 1991: Pereira and Pinto publish SDDP, with no convergence proof.
  • 1999: Chen and Powell prove almost-sure convergence for CUPPS; Linowsky and Philpott (2005) extend the argument to SDDP, AND and ReSa. Both proofs rely on an unstated independence assumption between sampled outcomes and convergent subsequences of iterates.
  • 2008: Philpott and Guan (Oper. Res. Lett. 36(4), 450–455) give a proof based on the finiteness of the set of distinct cut coefficients, for a class they call DOASA (Dynamic Outer Approximation Sampling Algorithms).
  • Later work (Shapiro 2011; Girardeau, Leclère and Philpott 2015) extends convergence to convex nonlinear and continuous settings.

Setting

There are T≥2T\ge2T≥2 stages. Stage ttt has a decision xt≥0x_t\ge0xt​≥0 in Rnt\mathbb R^{n_t}Rnt​, costs ctc_tct​, a matrix AtA_tAt​ and, for t≤T−1t\le T-1t≤T−1, a matrix BtB_tBt​ coupling xtx_txt​ to the next stage. At stage 111 the constraint is A1x1=b1A_1x_1=b_1A1​x1​=b1​. For 2≤t≤T2\le t\le T2≤t≤T the right-hand side is random: Atxt=ωt−Bt−1xt−1A_tx_t=\omega_t-B_{t-1}x_{t-1}At​xt​=ωt​−Bt−1​xt−1​, where ωt\omega_tωt​ takes values ωt1,…,ωtqt\omega_{t1},\dots,\omega_{tq_t}ωt1​,…,ωtqt​​ with probabilities pti>0p_{ti}>0pti​>0, independently across stages. The expected cost-to-go is defined backwards from QT+1≡0\mathcal Q_{T+1}\equiv0QT+1​≡0:

Qt(xt−1,ωti)=min⁡{ct⊤xt+Qt+1(xt):Atxt=ωti−Bt−1xt−1, xt≥0},Qt=∑iptiQt(⋅,ωti),Q_t(x_{t-1},\omega_{ti})=\min\{c_t^\top x_t+\mathcal Q_{t+1}(x_t):A_tx_t=\omega_{ti}-B_{t-1}x_{t-1},\ x_t\ge0\},\qquad \mathcal Q_t=\sum_i p_{ti}Q_t(\cdot,\omega_{ti}),Qt​(xt−1​,ωti​)=min{ct⊤​xt​+Qt+1​(xt​):At​xt​=ωti​−Bt−1​xt−1​, xt​≥0},Qt​=i∑​pti​Qt​(⋅,ωti​),

and Q1=min⁡{c1⊤x1+Q2(x1):A1x1=b1,x1≥0}Q_1=\min\{c_1^\top x_1+\mathcal Q_2(x_1):A_1x_1=b_1,x_1\ge0\}Q1​=min{c1⊤​x1​+Q2​(x1​):A1​x1​=b1​,x1​≥0} is the problem [LP1]. Assumption (A4) says every stage problem met along the way has a nonempty, bounded feasible region.

The approximate problem [APtk_t^ktk​] replaces Qt+1\mathcal Q_{t+1}Qt+1​ by max⁡j{αt+1,j−(βt+1j)⊤xt}\max_j\{\alpha_{t+1,j}-(\beta^j_{t+1})^\top x_t\}maxj​{αt+1,j​−(βt+1j​)⊤xt​} over the cuts generated before iteration kkk; its value is CtkC^k_tCtk​. A scenario fixes one outcome per stage 2,…,T−12,\dots,T-12,…,T−1. Each DOASA iteration (i) samples one forward scenario ωk\omega^kωk and solves [APtk_t^ktk​] along it, giving states xtkx^k_txtk​; (ii) for t=T,…,2t=T,\dots,2t=T,…,2 runs the Cut Calculation Algorithm (CCA): it solves [APtk_t^ktk​] at xt−1kx^k_{t-1}xt−1k​ for the outcomes in a backward sample Ωtk\Omega^k_tΩtk​, stores optimal extreme-point dual solutions (π,ρ)(\pi,\rho)(π,ρ) in a collection Dt\mathcal D_tDt​, picks for every outcome the best stored dual, and averages them into a new cut on θt\theta_tθt​. DOASA-N instead traverses a fixed list of NNN scenarios in every iteration.

Formalization targets

Goal: Theorem 4 under the joint sampling property J

If, with probability 1, every scenario prefix is followed by the forward pass jointly with each outcome being in the backward sample infinitely often (property J), then with probability 1 every DOASA run has an iteration KKK after which the cuts no longer change, the policy xˉ\bar xxˉ they induce is optimal for [LP1], and

C1K=Q1.C^K_1=Q_1 .C1K​=Q1​.

Milestones

  • Monotonicity (p. 4): Ctk+1≥CtkC^{k+1}_t\ge C^k_tCtk+1​≥Ctk​ and C1k+1≥C1kC^{k+1}_1\ge C^k_1C1k+1​≥C1k​.
  • Lower bound (p. 4): every cut is valid, so Ctk≤QtC^k_t\le Q_tCtk​≤Qt​ and C1k≤Q1C^k_1\le Q_1C1k​≤Q1​.
  • Lemma 1 (p. 6): the set Gtk\mathcal G^k_tGtk​ of distinct generated cuts is bounded in size and eventually constant.
  • Lemma 2 (p. 10): DOASA-N stops changing after finitely many iterations, with lim⁡kC1k≤Q1\lim_kC^k_1\le Q_1limk​C1k​≤Q1​.
  • Lemma 3 (p. 10): DOASA-N over all scenarios, with backward sampling infinitely often per scenario, converges almost surely to an optimal policy.

Significance

The theorem justifies SDDP, AND, ReSa and CUPPS as exact methods: on a finite scenario tree, sampling-based cutting-plane schemes reach an optimal policy and a tight lower bound after finitely many iterations, almost surely. The finiteness argument (Lemma 1) is the template for later finite-convergence proofs of SDDP variants.

The paper's proofs are informal. No part of this development is machine-checked, and the printed statement of Theorem 4 is false (see below), so a formal proof also settles exactly which sampling hypothesis is enough. The finite-cut lemma and the cut-validity milestone are reusable for any Benders-type multistage method.

Difficulty

The obvious argument goes: cut sets stabilize (Lemma 1), and every scenario and every outcome is sampled infinitely often, so the limiting cuts must be exact. The last step fails. A cut at a state is exact only if, for every outcome, a dual that is optimal at that state has been collected. Sampling the forward scenario and the backward outcomes infinitely often, but separately, does not ensure this. Lemma 1 itself is also delicate: the dual vectors ρ\rhoρ grow in dimension with kkk, so the collection of extreme-point duals can be infinite even though the cut coefficients take finitely many values. The algorithm's choices (extreme-point duals, ties among best duals) must be handled for every run, not for a convenient one.

Formalization scope

Stages are numbered 1,…,T1,\dots,T1,…,T with variable dimensions per stage. B t is the paper's BtB_tBt​, the matrix multiplying xtx_txt​ in stage t+1t+1t+1. Value functions are real infima, used only on reachable states. Iterations are numbered from 000 in Lean. Explicit choices, each recorded in the item statements:

  • The J correction. The paper states Theorem 4 under FPSP and BPSP. These do not suffice. In a three-stage instance whose last-stage backward sample is {c}\{c\}{c} after forward outcome aaa and {d}\{d\}{d} after bbb, alternating, both properties hold but the cuts stabilize at a suboptimal policy with C1kC^k_1C1k​ below Q1Q_1Q1​. The goal is stated under J, which implies FPSP and BPSP and holds for the schemes the paper names. Lemma 3's BPSP is read per scenario of DOASA-N.
  • Initial cut. The paper's trivial cut θt+1≥−∞\theta_{t+1}\ge-\inftyθt+1​≥−∞ makes [APt1_t^1t1​] unbounded; it is replaced by a finite cut θt+1≥Lt\theta_{t+1}\ge L_tθt+1​≥Lt​ assumed valid on reachable states. Stage TTT uses the exact cut θT+1≥0\theta_{T+1}\ge0θT+1​≥0.
  • (A4) is required on reachable states only.
  • The LP solver is a deterministic oracle on cut sets returning optimal solutions of [APt_tt​], so repeated cuts do not change forward solutions.
  • Duals. Collected duals are optimal extreme points of the dual region; best duals are chosen with arbitrary tie-breaks. No cut is added while the dual collection is empty. Dual multipliers ρ\rhoρ are sequences padded with zeros.
  • Runs are relations covering DOASA and DOASA-N (batched forward scenarios). The conclusions hold for every run consistent with the samples, inside the almost-sure quantifier.

A trivializing encoding, in which cuts are arbitrary valid hyperplanes, duals are taken for all outcomes, or the sampling hypotheses directly assume exactness of the cuts, is ruled out: the run relation transcribes CCA steps 1–3 as printed.

A complete development needs LP weak and strong duality (published on the platform as LinearOptimization.lp_weak_duality and LinearOptimization.lp_strong_duality, in their own encoding), finiteness of the set of extreme points of a polyhedron, and the almost-sure intersection of finitely many events (Mathlib). Contributions to any milestone, to the proof that J holds for independent sampling, and to the counterexample showing FPSP and BPSP are insufficient are welcome.

Selected references

  • A. B. Philpott, Z. Guan, On the convergence of stochastic dual dynamic programming and related methods, Oper. Res. Lett. 36(4) (2008) 450–455. https://doi.org/10.1016/j.orl.2008.01.013 (cited from the authors' manuscript v24, 2008-02-25)
  • M. V. F. Pereira, L. M. V. G. Pinto, Multi-stage stochastic optimization applied to energy planning, Math. Program. 52 (1991) 359–375. https://doi.org/10.1007/BF01582895
  • Z.-L. Chen, W. B. Powell, Convergent cutting-plane and partial-sampling algorithm for multistage stochastic linear programs with recourse, J. Optim. Theory Appl. 102 (1999) 497–524. https://doi.org/10.1023/A:1022641805263
  • A. Shapiro, Analysis of stochastic dual dynamic programming method, European J. Oper. Res. 209 (2011) 63–72. https://doi.org/10.1016/j.ejor.2010.08.007
  • P. Girardeau, V. Leclère, A. B. Philpott, On the convergence of decomposition methods for multistage stochastic convex programs, Math. Oper. Res. 40(1) (2015) 130–145. https://doi.org/10.1287/moor.2014.0664
10 thms2 active usersReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 2: Geometric Convergence Rate of the Random Directions Algorithm to UniformResearch Paper

Motivation

Generating points uniformly distributed over a bounded region S⊆RnS\subseteq\mathbb R^nS⊆Rn is a basic subroutine in Monte Carlo integration, in estimating the volume of a region, in randomized search for optimization, and in identifying redundant constraints of mathematical programs. When SSS is given only implicitly, for instance by a system of inequalities, the classical methods break down in high dimension: transformation methods need a tractable description of SSS, and rejection from an enclosing box or ball accepts a fraction of proposals that decays exponentially with nnn.

Smith (Oper. Res. 32(6), 1984) studied a family of Markov chain methods, mixing algorithms, that avoid rejection altogether. The best known member is the Random Directions Algorithm, now called hit-and-run: from the current point, pick a direction uniformly at random and move to a uniformly random point of SSS on the line through the current point in that direction. Boneh and Golan (1979) proposed it for constraint identification and conjectured, without proof, that it generates uniform points; Smith (1980, 1984) proved asymptotic uniformity, and Section 3 of the 1984 paper gives an explicit geometric convergence rate. This mission targets that rate, Theorem 3.

Later work, in particular Lovász (Math. Program. 86, 1999) and Lovász and Vempala (SIAM J. Comput. 35, 2006), proved polynomial mixing bounds for hit-and-run on convex bodies. Smith's bound is exponential in nnn, but it holds for every open bounded region, convex or not, and from every starting point.

Setting

Write VVV for nnn-dimensional Lebesgue measure (content) on Rn\mathbb R^nRn and ∥⋅∥\|\cdot\|∥⋅∥ for the Euclidean norm. Let S⊆RnS\subseteq\mathbb R^nS⊆Rn be open, bounded and nonempty.

  • The uniform distribution over SSS is λ(A)=V(A∩S)/V(S)\lambda(A)=V(A\cap S)/V(S)λ(A)=V(A∩S)/V(S).
  • For x∈Sx\in Sx∈S and a unit vector ddd, the line set is L=S∩{x+td:t∈R}L=S\cap\{x+td:t\in\mathbb R\}L=S∩{x+td:t∈R}, and its length is ℓ(x,d)=Leb1{t:x+td∈S}\ell(x,d)=\mathrm{Leb}_1\{t: x+td\in S\}ℓ(x,d)=Leb1​{t:x+td∈S}. For convex SSS this is the chord length; in general LLL may consist of many segments.
  • One step of the Random Directions Algorithm from x∈Sx\in Sx∈S: draw ddd uniformly on the unit sphere {d:∥d∥=1}\{d:\|d\|=1\}{d:∥d∥=1}, then draw Xi+1X_{i+1}Xi+1​ uniformly on LLL. The transition kernel is
P(A∣x)=∫Leb1{t:x+td∈S∩A}ℓ(x,d) σ(dd),P(A\mid x)=\int \frac{\mathrm{Leb}_1\{t:x+td\in S\cap A\}}{\ell(x,d)}\,\sigma(\mathrm dd),P(A∣x)=∫ℓ(x,d)Leb1​{t:x+td∈S∩A}​σ(dd),

with σ\sigmaσ the normalized surface measure of the sphere, and Pm(A∣x)=P(Xm∈A∣X0=x)P^m(A\mid x)=P(X_m\in A\mid X_0=x)Pm(A∣x)=P(Xm​∈A∣X0​=x) is its mmm-step iterate.

  • R⋆R^\starR⋆ is the radius of the smallest ball containing SSS, Vn(r)V_n(r)Vn​(r) the volume of a ball of radius rrr, and
γ=V(S)Vn(R⋆)∈(0,1]\gamma=\frac{V(S)}{V_n(R^\star)}\in(0,1]γ=Vn​(R⋆)V(S)​∈(0,1]

the fraction of its smallest enclosing ball that SSS fills.

  • Sn(r)=nVn(1)rn−1S_n(r)=nV_n(1)r^{n-1}Sn​(r)=nVn​(1)rn−1 is the surface area of a sphere of radius rrr, and d=diam⁡Sd=\operatorname{diam}Sd=diamS.

Formalization targets

Goal: Theorem 3 (p. 1304)

For n≥2n\ge2n≥2, every x∈Sx\in Sx∈S, every measurable A⊆SA\subseteq SA⊆S and every m≥1m\ge1m≥1,

∣P(Xm∈A∣X0=x)−λ(A)∣<(1−γn 2n−1)m−1.\bigl|P(X_m\in A\mid X_0=x)-\lambda(A)\bigr|<\Bigl(1-\frac{\gamma}{n\,2^{n-1}}\Bigr)^{m-1}.​P(Xm​∈A∣X0​=x)−λ(A)​<(1−n2n−1γ​)m−1.

The constant is the paper's. The bound is uniform in the starting point and in AAA, and it depends on SSS only through nnn and γ\gammaγ.

Milestones (the steps of the paper's proof, in order)

  1. Lemma 1 for this algorithm: λ\lambdaλ is stationary, λ(A)=∫SP(A∣x) λ(dx)\lambda(A)=\int_S P(A\mid x)\,\lambda(\mathrm dx)λ(A)=∫S​P(A∣x)λ(dx).
  2. Doob's Case (b) bound: for a chain with stationary law π\piπ and a minorization P(A∣x)≥δ φ(A∩C)P(A\mid x)\ge\delta\,\varphi(A\cap C)P(A∣x)≥δφ(A∩C) on a closed set CCC that carries π\piπ, ∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1|P^m(A\mid x)-\pi(A)|\le(1-\delta\varphi(C))^{m-1}∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1.
  3. Density formula: P(A∣x)=∫Af(y∣x) dyP(A\mid x)=\int_A f(y\mid x)\,\mathrm dyP(A∣x)=∫A​f(y∣x)dy with f(y∣x)=2/(Sn(∥y−x∥) ℓ(x,y))f(y\mid x)=2/\bigl(S_n(\|y-x\|)\,\ell(x,y)\bigr)f(y∣x)=2/(Sn​(∥y−x∥)ℓ(x,y)).
  4. Density lower bound: f(y∣x)>δ=2/(d Sn(d))f(y\mid x)>\delta=2/(d\,S_n(d))f(y∣x)>δ=2/(dSn​(d)) for all distinct x,y∈Sx,y\in Sx,y∈S when n≥2n\ge2n≥2.
  5. Constant comparison: δ V(S)≥γ/(n2n−1)\delta\,V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1).

Significance

The result. Theorems 1 and 2 of the paper (the companion mission) establish only that the chain converges to λ\lambdaλ. Theorem 3 makes this quantitative: the deviation from uniformity decays geometrically, at a rate computable from the dimension and the shape ratio γ\gammaγ alone. It shows which features of a region govern convergence, it gives a stopping rule with a guarantee, and it holds for non-convex regions, which the later polynomial-time analyses of hit-and-run do not cover. The paper notes the bound is of practical use only in low dimension; its value lies in being explicit and fully general.

Formalizing it. The theorem is proved in the paper, but parts of the proof are heuristic: the density is derived by a limit over small cubes, and the step from δ\deltaδ to γ\gammaγ uses a claim about circumscribed spheres that is false as stated (see below). A machine-checked proof would produce, as reusable components, a general-state-space Doeblin bound (no such theorem currently exists on the platform; the existing Doeblin results are finite-state), a measure-theoretic definition of hit-and-run as a Markov kernel, and the polar-coordinates computation of its density. None of these has, to our knowledge, been formalized.

Difficulty

The obvious argument is: the density is bounded below on SSS, so Doeblin's condition holds, so the chain converges geometrically. Each step hides work. The density is not given by the algorithm but must be derived: the algorithm draws a direction and a scalar, and the change of variables from (direction, signed distance) to the endpoint is two-to-one and carries the Jacobian ∥y−x∥n−1\|y-x\|^{n-1}∥y−x∥n−1, which is where SnS_nSn​ and the factor 2 come from. The Doeblin step needs a stationary law and the fact that the chain started in SSS never leaves SSS. For non-convex SSS, the paper's "diameter along the ray" must be replaced by the measure of the line set, and the maximal chord does not bound the distance ∥y−x∥\|y-x\|∥y−x∥; the diameter of SSS is needed instead. Finally, the paper's assertion that the ball of radius d/2d/2d/2 circumscribes SSS fails already for an equilateral triangle, so the final comparison must go through the smallest enclosing ball's radius R⋆≥d/2R^\star\ge d/2R⋆≥d/2.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure. The region is a set S with IsOpen S and Bornology.IsBounded S; boundedness is the paper's standing assumption ("bounded regions").
  • The transition law is a Mathlib ProbabilityTheory.Kernel built operationally from the algorithm: the uniform law on the line set, integrated against the normalized surface measure of the unit sphere (Mathlib's Measure.toSphere, divided by its total mass nVn(1)nV_n(1)nVn​(1)). Off SSS the kernel is the identity, which the chain started in SSS never uses. The mmm-step law is the published MarkovChainCLT.iterKernel.
  • λ\lambdaλ is Lebesgue measure restricted to SSS divided by V(S)V(S)V(S). γ\gammaγ uses the infimum of radii of closed balls containing SSS; the ball is not a free parameter. δ=2/(d Sn(d))\delta=2/(d\,S_n(d))δ=2/(dSn​(d)) is defined from d=diam⁡Sd=\operatorname{diam}Sd=diamS, not assumed.
  • Deviations from the printed statement. (i) The goal assumes n≥2n\ge2n≥2: for n=1n=1n=1 the strict inequality is false (on an interval X1X_1X1​ is already uniform and γ=1\gamma=1γ=1, so both sides vanish for m≥2m\ge2m≥2). (ii) The density uses the line-set length ℓ(x,y)\ell(x,y)ℓ(x,y) instead of "the diameter of SSS along the ray", which coincides for convex SSS. (iii) The paper's d=max⁡x,yd(x,y)d=\max_{x,y}d(x,y)d=maxx,y​d(x,y) is taken as diam⁡S\operatorname{diam}SdiamS. (iv) The Doob step is stated with a kernel-form minorization rather than a lower bound on the density of the absolutely continuous part, which it is implied by, and with CCC a closed set carrying the stationary law, which is what C=SC=SC=S means inside Rn\mathbb R^nRn. (v) The final comparison is stated as δV(S)≥γ/(n2n−1)\delta V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1), the true inequality behind the paper's false circumscribed-sphere claim. No statement weakens the paper's constant.
  • Ruled out. The kernel is not defined through the density formula (which would make milestone 3 definitional and remove the algorithm from the goal), and neither stationarity nor a minorization is a hypothesis of the goal: Theorem 3 assumes only conditions on nnn, SSS, xxx, AAA and mmm.
  • Contributions welcome: the general Doeblin bound, the polar-coordinates density computation (useful for any line-sampling algorithm), and proofs that the kernel is Markov on SSS and reversible with respect to λ\lambdaλ.

Selected references

  • R. L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6):1296–1308, 1984. https://doi.org/10.1287/opre.32.6.1296
  • A. Boneh and A. Golan, Constraints' redundancy and feasible region boundedness by random feasible point generator (RFPG), Third European Congress on Operations Research (EURO III), Amsterdam, 1979.
  • J. L. Doob, Stochastic Processes, Wiley, 1953 (Case (b), p. 197).
  • L. Lovász, Hit-and-run mixes fast, Mathematical Programming 86:443–461, 1999. https://doi.org/10.1007/s101070050099
  • L. Lovász and S. Vempala, Hit-and-run from a corner, SIAM Journal on Computing 35(4):985–1005, 2006. https://doi.org/10.1137/S009753970544727X
10 thms2 active usersReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 1: Symmetric Mixing Algorithms Converge to the Uniform Distribution from Every Starting PointResearch Paper

Motivation

Sampling uniformly from a bounded region can be difficult when direct transformation of a familiar random variable is unavailable and rejection sampling spends most of its trials outside the region. Robert L. Smith studied procedures that move within the region: from the current point, choose a direction, form the line set through that point inside the region, and choose the next point uniformly on that line set. The resulting sequence is a homogeneous Markov chain. The Random Directions Algorithm, later commonly called hit-and-run, is a central instance of this construction. Smith's 1984 paper establishes conditions under which the chain approaches the uniform distribution even when its initial point is fixed rather than sampled uniformly (Smith 1984, pp. 1298–1301).

For simulation, the initial point is usually chosen because it is known to be feasible. The question is therefore whether the distribution after many moves forgets that particular choice. A stationary distribution alone does not answer this: stationarity describes what happens if the chain already starts with that distribution. Smith's Theorem 2 gives the stronger, pointwise starting-state statement for the class of symmetric mixing algorithms satisfying his two regularity assumptions (Smith 1984, p. 1301).

Setting

Let SSS be the state region and VVV its finite, nonzero content measure. In Smith's geometric setting, SSS is a bounded kkk-dimensional measurable region in Rn\mathbb R^nRn, and VVV is kkk-dimensional content; at k=0k=0k=0, content is counting measure. A Markov transition kernel PPP assigns to every current point x∈Sx\in Sx∈S a probability P(x,A)P(x,A)P(x,A) of entering a measurable set A⊆SA\subseteq SA⊆S on the next move. For the associated chain (X0,X1,…)(X_0,X_1,\ldots)(X0​,X1​,…), the mmm-step transition probability is Pm(x,A)=P(Xm∈A∣X0=x)P^m(x,A)=\mathbb P(X_m\in A\mid X_0=x)Pm(x,A)=P(Xm​∈A∣X0​=x).

The uniform law is λ(A)=V(A)/V(S)\lambda(A)=V(A)/V(S)λ(A)=V(A)/V(S). Smith's Assumption (a) gives a measurable transition density f(y∣x)f(y\mid x)f(y∣x) relative to VVV:

P(x,A)=∫Af(y∣x) V(dy).P(x,A)=\int_A f(y\mid x)\,V(dy).P(x,A)=∫A​f(y∣x)V(dy).

For a symmetric mixing algorithm, the paper states that this density satisfies f(y∣x)=f(x∣y)f(y\mid x)=f(x\mid y)f(y∣x)=f(x∣y) for all x,y∈Sx,y\in Sx,y∈S. Assumption (b) says f(y∣x)>0f(y\mid x)>0f(y∣x)>0 for all such pairs. These are pointwise conditions, including states of zero VVV-measure. A nonempty measurable set AAA is closed if P(x,A)=1P(x,A)=1P(x,A)=1 for every x∈Ax\in Ax∈A. The chain is indecomposable in the paper's sense when it has no two disjoint closed sets (Smith 1984, pp. 1299–1300).

Formalization targets

Stationarity and indecomposability

Lemma 1 asserts that λ\lambdaλ is stationary: λ(A)=∫SP(x,A) λ(dx)\lambda(A)=\int_S P(x,A)\,\lambda(dx)λ(A)=∫S​P(x,A)λ(dx) for every measurable AAA. Lemma 2 excludes two disjoint closed sets. Both are direct prerequisites of the goal. Smith's Theorem 1 also establishes uniqueness of the stationary distribution and almost-sure convergence of empirical visit frequencies under a stationary start; it is described in the source, but its trajectory-level formalization is outside this proposal (Smith 1984, p. 1300).

Convergence from every starting point

The mission goal is Smith's Theorem 2. For every x∈Sx\in Sx∈S and every measurable A⊆SA\subseteq SA⊆S,

lim⁡m→∞Pm(x,A)=λ(A).\lim_{m\to\infty}P^m(x,A)=\lambda(A).m→∞lim​Pm(x,A)=λ(A).

This is the paper's explicit meaning of strongly mixing. The milestone list also records the proof's stated nonperiodicity condition: for every n≥2n\ge2n≥2, the nnn-step transition law has no two disjoint closed sets. It is a target in its own right because it concerns all higher-step kernels, not only the one-step chain (Smith 1984, p. 1301).

Significance

Theorem 2 makes the uniform law the limiting distribution of the sample at time mmm, for any fixed feasible initial point. The paper's Theorem 1 supplies a different guarantee about long-run empirical frequencies under a stationary start, although it is not a target of this proposal. Smith later specializes the framework to the Random Directions Algorithm and gives a quantitative rate under additional geometric conditions; that rate is the subject of the companion mission (Smith 1984, pp. 1303–1304).

These results are proved in the paper but the declarations in this proposal are theorem statements with sorry, not machine-checked proofs. A completed formalization would turn the paper's measure-theoretic claims into reusable statements about general measurable state spaces and kernels. The normalized content law, the density interface, and closed-set predicate can be reused when studying other Monte Carlo kernels with the same hypotheses.

Difficulty

The main obstacle is the jump from stationary behavior to convergence from every starting point. Symmetry identifies the candidate stationary law, and strict positivity limits how the chain can split into closed parts, but neither sentence by itself establishes the claimed limit of Pm(x,A)P^m(x,A)Pm(x,A). The distinction matters especially at starting points in VVV-null sets: an almost-everywhere starting-state result would leave out precisely the universal claim in Theorem 2. The paper appeals to a general-state Markov-chain convergence result for this step (Smith 1984, p. 1301).

Formalization scope

Lean uses a measurable type α\alphaα as the whole region SSS, a finite measure VVV with V(S)≠0V(S)\ne0V(S)=0, a Markov kernel PPP, and an extended-nonnegative density f:α→α→R≥0∞f:\alpha\to\alpha\to\mathbb R_{\ge0}^{\infty}f:α→α→R≥0∞​. The density is jointly measurable and is linked to PPP by the integral identity above; symmetry is pointwise, and positivity is added only for Lemma 2 and Theorems 1–2. This abstract representation retains the hypotheses those results use without fixing a particular Euclidean dimension. It covers the counting-content case as well as continuous content, although it does not construct the geometric direction-and-chord algorithm. The Random Directions kernel belongs to the companion mission.

The uniform law is normalized by V(S)V(S)V(S). Finiteness and nonzero total content prevent a meaningless inverse or an empty probability space. The mmm-step law is the published MarkovChainCLT.iterKernel. Theorem 2 quantifies over every xxx, rather than λ\lambdaλ-almost every xxx, and uses setwise convergence on each measurable AAA. No invariance, uniqueness, minorization, or convergence premise is added to the goal. Detaching fff from PPP would empty out the substantive assertion. Formal contributions can target the density-to-invariance argument, the closed-set conditions, and the general-state convergence theorem needed for the goal. The paper's separate pathwise Theorem 1 remains an appropriate later extension.

Selected references

  • Robert L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6), 1296–1308, 1984. DOI: 10.1287/opre.32.6.1296.
8 thms2 active usersReviewed
PreviousPage 28 of 66Next

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