A strict four-row permanent inequality and permutation momentsOpen Problem
Motivation
An inequality involving only four rows can feed into a recursion for a much larger permutation shuffle. The source seeks an exponent strictly below two that survives a small perturbation of the uniform permutation law. The source is OpenAI's September 2026 manuscript.
Setting
A permanent expectation averages the product of four selected entries, one from each row and each column, over a probability law on the 24 permutations. Uniform marginals require every row to choose each column with probability 1/4.
The theorem is stated as admitted, not proved here. Sites are Fin 4, and a law is a real-valued mass function ν on the 24 permutations of the four sites. It states that there exist a real exponent p₀ with 4/3 < p₀ < 2 and a real ε > 0 such that the following holds for every law ν that is a probability law (all masses nonnegative and summing to 1), has total variation distance from the uniform law less than ε (total variation being half the sum over permutations π of |ν(π) − 1/24|), and has uniform marginals (for every pair of sites i and j, the total mass of permutations with π(i)=j equals 1/4). For every 4-by-4 array f of real numbers with all entries f(i,j) ≥ 0, the permanent expectation Σ_π ν(π) ∏_i f(i, π(i)) is at most the product over the four rows i of the normalized ℓ^{p₀} norm of row i, where the norm of a row g is ((Σ_j g(j)^{p₀})/4)^{1/p₀}, using the uniform counting normalization with division by 4.
The goal is OAI.FourRow.robust_permanent. Supporting targets are listed below; they retain their individual hypotheses and are separate statements.
The goal is uniform over all nonnegative arrays and all probability laws within the chosen total-variation neighborhood that have exactly uniform marginals. The shared Thorp bundle is included as a separate supporting target. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.
Difficulty
Near-uniformity alone does not enforce the marginal identities. The exponent improvement must hold even for highly uneven nonnegative row entries.
Formalization scope
The law has nonnegative real masses summing to one. Its distance from the uniform 1/24 law is strictly less than the selected ε, and row norms use division by four. No explicit value for the existential exponent or radius is imposed.
The shared definitions are supplied by FourRowPermanent, ThorpRemaining. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.
Selected references
OpenAI, A strict four-row permanent inequality and permutation moments, preprint, September 2026. Manuscript.
Convex Quadratic and Semidefinite Programming Relaxations in Scheduling I: Randomized Rounding of the Convex Quadratic Relaxation (CQP′) Is Within 3/2 for R | | Σ wⱼCⱼResearch Paper
Motivation
Scheduling jobs on unrelated parallel machines to minimize the total weighted completion time, the problem written R∣∣∑wjCj in the three-field notation, is one of the basic NP-hard models of machine scheduling. Each job may take a different time on each machine, as when heterogeneous processors, plants or crews serve the same pool of tasks, and the objective rewards finishing important jobs early. For a single machine the problem is solved exactly by Smith's ratio rule (Smith, 1956). With several unrelated machines the problem is strongly NP-hard and the question is how close to the optimum a polynomial-time algorithm can come.
Timeline of the guarantees for R∣∣∑wjCj:
Lenstra, Shmoys and Tardos (1990) gave an LP-based 2-approximation for the makespan on unrelated machines; their assignment variables aij are the ones used here.
Hall, Schulz, Shmoys and Wein (1997) gave constant-factor approximations for ∑wjCj on unrelated machines via time-indexed and interval-indexed LP relaxations.
Schulz and Skutella (conference version 1999, journal 2002) obtained 3/2+ε by randomized rounding of a time-indexed LP.
Skutella (J. ACM 2001), the paper of this mission, gave a convex quadratic relaxation in assignment variables alone and a 3/2-approximation by randomized rounding, with a short analysis.
Bansal, Srinivasan and Svensson (2016) improved 3/2 to 3/2−ε for a small constant ε>0; later work lowered the constant further.
Setting
There are n jobs j∈J and m machines i. Job j has a weight wj≥0 and a processing time pij>0 on machine i. A schedule assigns each job to one machine and orders the jobs on every machine; the completion timeCj of a job is the time at which it finishes when each machine works without idle time.
For a fixed assignment, Smith's ratio rule orders each machine optimally. Fix for each machine i the total order j≺ik iff wj/pij>wk/pik, ties broken by index. Under an assignment σ the completion time of j is
Cj(σ)=pσ(j)j+k≺σ(j)j,σ(k)=σ(j)∑pσ(j)k,
and the problem is to minimize val(σ)=∑jwjCj(σ) over all assignments.
With aij∈{0,1} indicating that j runs on i, the problem is the integer quadratic program (IQP) with objective
ZQP(a)=cTa+21aTDa,cij=wjpij,
where D is symmetric with entry wjpik at ((i,j),(i,k)) for k≺ij and zero across machines and on the diagonal. Relaxing aij∈{0,1} to a≥0 with ∑iaij=1 gives (QP). Raising the diagonal gives the convex program (CQP), with objective ZCQP(a)=21cTa+21aT(D+diag(c))a. Adding the lower bound cTa gives (CQP′):
minZs.t.∑iaij=1,a≥0,Z≥ZCQP(a),Z≥cTa.
Randomized rounding of a fractional aˉ sends job j to machine i with probability aˉij, the choices being pairwise independent across jobs, and then orders every machine by ≺i.
Formalization targets
Goal: (CQP′) is a relaxation, and rounding loses at most 3/2
For every instance with p>0, w≥0:
∀σ:(aσ,val(σ))is feasible for (CQP′),∀(aˉ,Z)feasible for (CQP′):E[j∑wjCj]≤23Z.
The first part makes ZCQP′∗ a lower bound on the optimum. The second is Lemma 2.8. Together they are Corollary 2.9 and the value guarantee of the 3/2-approximation.
Milestones
In attack order:
Lemma 2.2: E[Cj]=∑i(Pr[j↦i]pij+∑k≺ijPr[j,k↦i]pik) for any random assignment.
Theorem 2.1: rounding a feasible aˉ has expected value exactly ZQP(aˉ).
Corollary 2.3: (IQP) and (QP) have the same optimum.
The positive semidefiniteness of D+diag(c) and Lemma 2.4: a↦(1−γ)cTa+21aT(D+2γdiag(c))a is convex for all instances iff γ≥21.
The identity ZQP=ZCQP+21(cTa−aTdiag(c)a) and Theorem 2.6 a), the factor 2 for (CQP).
Lemma 2.8, the integrality step of Theorem 2.10, and Corollary 2.11, the bound (1+cTaˉ/(2Z))Z.
Significance
The result gives a 3/2-approximation for R∣∣∑wjCj from a relaxation with only mn variables, without time indexing, so its size does not depend on the processing times. The same convexification, adapted to time slots, yields the factor 2 with release dates (§3 of the paper). The equality of Theorem 2.1 makes the analysis exact: the loss of rounding is exactly the gap between ZQP and the convex objective. The relaxation also bounds the power of preemption (§4), and for identical machines it connects scheduling to Max-k-Cut (§6).
All these results are proved in the paper; none is known to be formalized. A formal development adds:
a checked model of Smith-sequenced assignment schedules;
the expectation calculus for pairwise independent rounding;
the positive-semidefiniteness argument of Lemma 2.4;
a precise statement of what the 3/2 guarantee says when complexity is set aside.
Difficulty
Two steps resist the obvious approach.
Positive semidefiniteness.D alone is indefinite: two jobs with unit data give the block (0110). Positive semidefiniteness of D+diag(c) holds only because the jobs on each machine are ordered by Smith's ratio. A generic matrix argument that ignores this ordering fails, and the "only if" half of Lemma 2.4 needs a specific family of instances.
Exact expectations under pairwise independence. Theorem 2.1 is an equality that uses only the one- and two-job marginals. A proof that silently assumes full independence of the choices proves a different statement. A proof that drops the product condition on pairs is false: with correlated choices the expected value differs from ZQP.
Formalization scope
Jobs and machines are Fin n and Fin m; vectors in Rmn are functions on Fin m × Fin n and D is a Matrix over that type. The order ≺i is cross-multiplied (wjpik>wkpij, or equality and j<k), which equals the page's ratio definition because p>0.
Standing assumptions of p. 2 are hypotheses of every theorem: pij>0 and wj≥0. Hypotheses added relative to the page:
Corollary 2.11 assumes Z>0, which its fraction presupposes;
the integrality step of Theorem 2.10 assumes integral p and w, as the page's proof does.
Optimum. The scheduling optimum Z∗ is the minimum of val over assignments, by Smith's rule (p. 7, cited by the paper, not reproved). "Within a factor α of the optimum" is stated as a bound against the value of every assignment, so no optimum is presupposed.
Rounding. Randomized rounding is any nonnegative weight μ of total mass 1 on assignments, with Prμ[j↦i]=aˉij and Prμ[j↦i,k↦h]=aˉijaˉhk for j=k. The product weight satisfies this.
Not formalized. Polynomial running time, solvability of (CQP′) within additive error ε (ellipsoid method), and derandomization by conditional probabilities. Theorem 2.10 is formalized as the existence of an outcome in the support of the rounding with the 3/2 guarantee.
Trivializing formalization ruled out. A bound E≤23Z for an arbitrary number Z says nothing about schedules. The goal therefore also states that every schedule is feasible for (CQP′) at its own value, so Z is a genuine lower bound on the optimum.
Contributions welcome. A complete development needs:
linearity of expectation over a finite weight on assignments;
the computation of Lemma 2.2;
a positive-semidefiniteness criterion via principal minors or a direct sum-of-squares decomposition of aT(D+diag(c))a;
convexity of quadratic forms with PSD matrices.
The rounding calculus and the PSD lemma are reusable for §§3–4 of the same paper. Alternative proofs of Lemma 2.4 are welcome.
Selected references
M. Skutella, Convex quadratic and semidefinite programming relaxations in scheduling, Journal of the ACM 48(2), 2001. https://doi.org/10.1145/375827.375840
J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46, 1990. https://doi.org/10.1007/BF01585745
L. A. Hall, A. S. Schulz, D. B. Shmoys, J. Wein, Scheduling to minimize average completion time: off-line and on-line approximation algorithms, Mathematics of Operations Research 22(3), 1997. https://doi.org/10.1287/moor.22.3.513
A. S. Schulz, M. Skutella, Scheduling unrelated machines by randomized rounding, SIAM Journal on Discrete Mathematics 15(4), 2002. https://doi.org/10.1137/S0895480199357078
N. Bansal, A. Srinivasan, O. Svensson, Lift-and-round to improve weighted completion time on unrelated machines, STOC 2016. https://doi.org/10.1145/2897518.2897572
12 thms3 active usersReviewed
🏆Completed
Captain: mikedeng1
Large Deviations of Sums of Independent Random Variables 2: For g with Positive Nondecreasing g′, P(S_n ≥ x) ≤ Π(b_j(x/n) + b_gj)exp{−ng(x/n)}Research Paper
Motivation
Bounds on the upper tail P(Sn≥x) of a sum Sn=X1+⋯+Xn of independent random variables are used throughout probability, statistics, queueing and risk theory: they control ruin probabilities, the error of empirical averages, and the size of the largest deviations of random walks. The classical exponential inequalities (Bernstein, Hoeffding, Bennett) require the summands to be bounded or to have finite exponential moments of a fixed order. The polynomial bounds of Fuk and Nagaev only require finite power moments, at the price of a power-law rate.
Between these two regimes lie summands whose right tails decay like e−g(u) for a function g growing faster than a logarithm — Weibull-type and other subexponential or superexponential tails. For such summands the natural size parameter is not a power moment but a generalized momentbgj=E[eg(Xj);Xj≥0]. Section 2 of S. V. Nagaev's survey Large deviations of sums of independent random variables (Ann. Probab. 7, 1979, doi:10.1214/aop/1176994938) develops bounds on P(Sn≥x) in terms of these quantities. Theorem 2.5 of that section, attributed to S. K. Sakoyan and Nagaev, treats the case where g has a positive nondecreasing derivative — the case liminfx→∞g(x)/x>0 of the paper — and gives a bound in product form whose exponential order is e−ng(x/n).
Setting
Let (Ω,F,P) be a probability space and X1,…,Xn independent real random variables with distribution functions Fj(u)=P(Xj<u). Write
Sn=X1+⋯+Xn.
Let g:R→R be differentiable with a derivative g′ that is positive and nondecreasing; in particular g is convex and increasing, and g(u)→∞ as u→∞.
The factor bj(s) is always finite, since its integrand lies in (0,1]; bgj may be infinite, and the theorem is meaningful only when every bgj is finite. In Lean these objects are S n X, bg P X g j and bj P X g g' j s in the namespace NagaevLD.GenMoment.
Formalization targets
Goal: Theorem 2.5, (2.44), p. 767
For every x>0,
P(Sn≥x)≤j=1∏n(bj(x/n)+bgj)exp{−ng(x/n)}.
The statement holds for every n, every distribution of the summands with finite bgj, and every admissible g; no constant is hidden.
Milestones
The proof of the paper passes through the following displays, all on pp. 767–768, with h=g′(x/n) where indicated:
(2.45) the exponential Chebyshev bound P(Sn≥x)≤e−hx∏jEehXj for h≥0;
(2.46) the exact split of EehXj at zero and the bound EehXj≤∫u<0ehudFj(u)+bgjsupu≥0ehu−g(u);
(2.47) for h=g′(x/n), supu≥0ehu−g(u)=ehx/n−g(x/n);
the convexity stepg′(x/n)x/n≥g(x/n)−g(0), hence ehx/n−g(x/n)≥e−g(0);
the per-factor boundEehXj≤(bj(x/n)+bgj)exp{hx/n−g(x/n)}.
Significance
The bound separates the tail of Sn into a product of one-summand quantities. For fixed n and x→∞ one has ∏j(bj(x/n)+bgj)→∏jbgj, so P(Sn≥x)<(1+ε)∏jbgje−ng(x/n) for large x (the paper's (2.49)); compared with the elementary lower bound P(Sn≥x)≥∏jP(Xj≥x/n) (2.50), this shows the exponential order e−ng(x/n) is the right one when the right tails of the summands are of order bgje−g. The only case where the right side does not depend on n is g(u)=Tu, the classical Chernoff regime, of which the theorem is a generalization.
The result is a published theorem with a complete half-page proof; it is not open. As far as a search of the Prove2Me catalogue shows, no part of it has been machine-checked: the catalogue contains single-variable Chernoff bounds (Mathlib's measure_ge_le_exp_mul_mgf) but no bound in terms of generalized moments. The mission produces a formal proof of the theorem and, along the way, reusable statements about tilted truncated moments of independent sums.
Difficulty
Each step of the argument is short; the work is in carrying it through real-valued measure theory. The exponential Chebyshev step requires the moment generating function of a sum of independent variables to factor, which needs the integrability of every ehXj — a fact that here must be derived from the finiteness of bgj and the bound on ehu−g(u), not assumed. The supremum in (2.46) has to be identified as a maximum attained at x/n, which rests on the convexity of g on [0,∞) obtained from a monotone derivative. Finally the split of EehXj at 0 must match the definition of bgj exactly: a mismatch at the single point u=0 breaks the theorem.
Formalization scope
The summands are X : Fin n → Ω → ℝ on a probability space, each measurable and jointly independent (iIndepFun); index j in Lean is the paper's j+1. Integrals ∫⋅dFj(u) over a set of u are written as expectations restricted to the corresponding event, so no distribution functions appear. Probabilities are P.real, and P(Sn≥x) is P.real {ω | x ≤ S n X ω}.
Committed conventions and disclosed additions:
bgj over u≥0. The paper defines bgi=∫0+∞eg(u)dFi(u) (p. 759), over u>0. The proof splits at 0− and bounds the whole part on u≥0 by bgj; with the u>0 reading the theorem is false (two summands with P(Xj=1)=0.1, P(Xj=0)=0.9, g(u)=u, x=1 give P(S2≥1)=0.19 against a bound of about 0.027). The formalization integrates over u≥0.
Finiteness of bgj is an explicit integrability hypothesis. The paper treats bgj as a finite factor; Lean's integral of a non-integrable function is 0, which would turn the bound into a false statement rather than a trivial one. This rules out the trivializing reading in which a junk bgj=0 is used.
Hypotheses on g — differentiability, g′>0, g′ nondecreasing — are imposed on [0,∞) only, the region where g and g′ are evaluated; the paper's global hypothesis implies them. They also give §2's standing assumption that g is nondecreasing with g(u)→∞, which is therefore not stated separately.
Suprema in (2.46)–(2.47) are never real sSup: (2.46) is stated for every upper bound M of ehu−g(u) on u≥0, and (2.47) as IsGreatest.
The convexity step is stated with "≥"; the page prints ">", which fails for g(u)=Tu.
n≥1 is explicit in the theorem statements, matching the paper's sum X1+⋯+Xn and avoiding Lean's x/0=0 value.
(2.45) assumes the finiteness of each EehXj, which the page takes for granted.
(2.46) assumes h≥0, as used in the proof, so its negative-part expectation is finite; the finite bgj and an upper bound on ehu−g(u) make its positive part finite.
A complete development needs the factorization of exponential moments of independent sums (available in Mathlib as iIndepFun.mgf_sum), Markov's inequality, splitting a Bochner integral over an event and its complement, and the tangent-line inequality for a function with monotone derivative. Proofs of the milestones, alternative arguments, and lemmas on truncated exponential moments are all welcome.
Selected references
S. V. Nagaev, Large deviations of sums of independent random variables, Annals of Probability 7(5), 745–789, 1979. doi:10.1214/aop/1176994938
D. Kh. Fuk and S. V. Nagaev, Probability inequalities for sums of independent random variables, Theory of Probability and Its Applications 16(4), 643–660, 1971. doi:10.1137/1116071
H. Chernoff, A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, Annals of Mathematical Statistics 23(4), 493–507, 1952. doi:10.1214/aoms/1177729330
Geometric Bounds for Eigenvalues of Markov Chains 2: Odd Closed Paths Bound the Smallest Eigenvalue, β_min ≥ −1 + 2/ιResearch Paper
Motivation
The speed at which a finite reversible Markov chain approaches its stationary distribution is controlled by its eigenvalues. For a chain with eigenvalues 1=β0>β1≥⋯≥βm−1≥−1, the distance to stationarity after n steps is governed by β∗n, where β∗=max(β1,∣βm−1∣) (Diaconis and Stroock 1991, Proposition 3). Upper bounds on the second eigenvalue β1 are the familiar half of this picture, and they are what Cheeger-type and Poincaré inequalities provide. The other half is the smallest eigenvalue βmin=βm−1: a chain whose smallest eigenvalue is close to −1 oscillates almost periodically and mixes slowly whatever β1 is. A chain is aperiodic exactly when βmin>−1, but that qualitative fact gives no rate.
Diaconis and Stroock's paper gives geometric bounds for both ends of the spectrum, expressed through systems of paths in the graph of the chain. Their bound on βmin uses closed paths with an odd number of edges, the combinatorial witnesses of aperiodicity. The paper has been a standard reference for path (canonical-path, multicommodity-flow) methods in the analysis of Markov chain Monte Carlo since its publication.
Timeline:
1988–1989, Jerrum and Sinclair: conductance (Cheeger-type) bounds on β1 for chains on combinatorial structures.
1991, Diaconis and Stroock: path bounds for β1 (Proposition 1, the Poincaré inequality β1≤1−1/κ) and for βmin (Proposition 2, this mission), with the specializations to random walks on graphs (Corollaries 1 and 2).
Setting
Let X be a finite set and P(x,y) the transition matrix of an irreducible Markov chain on X, reversible with respect to a probability distribution π:
Q(x,y)=π(x)P(x,y)=π(y)P(y,x)(x,y∈X).
The operator (Pφ)(x)=∑yP(x,y)φ(y) is self-adjoint on L2(π), with inner product ⟨φ,ψ⟩L2(π)=∑xφ(x)ψ(x)π(x), so its eigenvalues are real. Write E(φ2)=∑xφ(x)2π(x) and let βmin be the smallest eigenvalue of P.
The graph of the chain has vertex set X, an edge from x to y when Q(x,y)>0, and a self-loop at x when Q(x,x)>0. An odd closed pathσx at x is a sequence of edges from x back to x, with an odd number of edges, in which no directed edge is traversed twice. Its length is
∣σx∣Q=e∈σx∑Q(e)−1.
A system of odd pathsΣ=(σx)x∈X chooses one such path for every point, and its load is
ι=ι(Σ)=emaxσx∋e∑∣σx∣Qπ(x),
the maximum over directed edges e of the weighted length of the paths through e (display (1.7) of the paper).
For the random walk on a graphG=(X,E), P(x,y)=1/d(x) when {x,y}∈E, with d(x) the degree, and π(x)=d(x)/2∣E∣. There d∗ is the maximum degree, σ∗ the largest number of edges of a path in Σ, and b∗=maxe♯{σ∈Σ:e∈σ}.
Formalization targets
Goal: Proposition 2
For an irreducible, aperiodic, reversible chain and every system Σ of odd closed paths,
βmin≥−1+ι(Σ)2.
Milestones (the steps of the paper's proof)
The identity (1.8): 21∑x,y(φ(x)+φ(y))2Q(x,y)=E(φ2)+⟨φ,Pφ⟩L2(π).
Along an odd closed path x,y,w,…,z,x: φ(x)=21{(φ(x)+φ(y))−(φ(y)+φ(w))+⋯+(φ(z)+φ(x))}.
For every φ: E(φ2)≤2ι(E(φ2)+⟨φ,Pφ⟩L2(π)).
Every eigenvalue β of P satisfies β≥−1+2/ι.
Companions
Corollary 2. For the random walk on a connected, non-bipartite graph and any system Σ of odd paths, βmin≥−1+d∗σ∗b∗2.
Remark 1.3. With odd paths σxy for every ordered pair and ι~=maxe∑σxy∋e∣σxy∣Qπ(x)π(y): βmin≥−1+1/ι~.
Significance
Proposition 2 turns aperiodicity into a number. With Proposition 1, which bounds β1≤1−1/κ through paths between pairs of points, it bounds the absolute spectral gap 1−β∗ entirely in terms of path geometry, and so bounds the variation distance to stationarity through Proposition 3. Corollary 2 is the form most often applied: for a random walk on a non-bipartite graph, a choice of short odd cycles that do not crowd any single edge certifies that the walk does not oscillate.
Proposition 2 and its corollary are proved in the paper. As far as a search of the platform shows, no machine-checked proof exists. The platform already has the vocabulary (stochastic matrices, stationarity, reversibility, eigenvalues and the L2(π) inner product, from the published Levin–Peres–Wilmer layer) and the qualitative fact that −1 is not an eigenvalue of an irreducible aperiodic chain. This mission adds the quantitative bound, the identity (1.8), and the path inequality, all reusable for other path-based eigenvalue estimates.
Difficulty
Each step is elementary, but the bookkeeping is where a proof can go wrong. The Cauchy–Schwarz step is applied along each path separately, and the resulting double sum over points and over the edges of their paths must be exchanged into a sum over edges. That exchange is exact only if each path traverses each directed edge at most once. A path that crosses an edge twice contributes twice, while ι counts it once. Self-loops are edges here, and the sum over directed edges in the last step must match the sum over ordered pairs (x,y), including x=y, in the identity (1.8). The alternating signs work only because the number of edges is odd; an even closed path cancels φ(x) instead of doubling it.
The bound is also only as good as the chosen paths: short odd cycles that spread their load over many edges give a small ι, and the choice of Σ is part of every application.
Formalization scope
The chain is a real matrix P : Matrix V V ℝ on a Fintype V, with the published predicates IsStochastic, Irreducible, Aperiodic, IsStationary (which includes that π is a probability vector) and DetailedBalance. Q is edgeMeasure, the inner product innerPi, eigenvalues IsEigenvalue (a real eigenvalue with a nonzero real eigenfunction). βmin is the infimum of the real eigenvalues of P, a minimum for a stochastic matrix on a nonempty set.
Paths are vertex lists. A path traverses the directed edges between consecutive vertices, each with Q>0. The paper defines ∣σx∣Q "by analogy with (1.4)", whose paths may not repeat an edge. For the directed edges of §1C this rule is read as "no directed edge twice". Under the unordered reading a vertex of degree one would have no odd closed path, contradicting the page's remark that such paths always exist for irreducible aperiodic chains. ι is a real supremum over the finite set of directed edges with Q>0, and it is 0 only when there is no edge. A system of odd paths on a nonempty set excludes that case, so the bound is never reduced to βmin≥−1 by 2/0=0. The system Σ is a universally quantified hypothesis of every statement, never an existential one. No milestone assumes the inequality of milestone 3 or the identity (1.8) as a hypothesis. No assumption ∣X∣≥2 is made.
Milestones 3 and 4 do not assume aperiodicity: the existence of an odd path system implies it. The identity (1.8) assumes only stochasticity and stationarity. Corollary 2 assumes only that the graph is connected and not 2-colorable; the chain properties follow from these. In Corollary 2, b∗ counts paths through a directed edge, which is at most the count through the unordered edge, so the stated bound implies the one with the unordered count. Only the first half of Remark 1.3 is stated; its second half needs Proposition 1's quantity, which belongs to another mission of the series.
Contributions welcome: proofs of the milestones in order, a general Cauchy–Schwarz-along-paths lemma shared with the Poincaré inequality, and the existence of odd path systems for irreducible aperiodic chains.
A. Sinclair and M. Jerrum, Approximate counting, uniform generation and rapidly mixing Markov chains, Inform. and Comput. 82(1):93–133, 1989. https://doi.org/10.1016/0890-5401(89)90067-9
D. A. Levin, Y. Peres and E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009 (2nd ed. 2017). https://doi.org/10.1090/mbk/107
Logarithmic Sobolev Inequalities for Finite Markov Chains 2: Entropy Decay Ent_π(μH_t) ≤ e^{−2αt} Ent_π(μ), Improved to e^{−4αt} for Reversible ChainsResearch Paper
Motivation
How fast a finite Markov chain forgets its starting point is the central quantitative question in the analysis of Monte Carlo algorithms, card shuffling and random walks on groups. The classical tool is the spectral gapλ, which controls convergence in ℓ2(π) but loses a factor 1/π(x) when converted into a bound for a chain started at a point. Diaconis and Saloff-Coste (Ann. Appl. Probab. 6 (1996) 695–750) brought the logarithmic Sobolev constantα, introduced by Gross for Gaussian measures (Amer. J. Math. 97 (1975)), into the study of finite chains, and showed that it gives sharper mixing bounds in many examples.
The entropy route to ergodicity is the cleanest consequence of a log-Sobolev inequality: the relative entropy of the chain's law with respect to stationarity decays exponentially at rate 2α, and at rate 4α for reversible chains. The paper notes that the reversible case is contained in Bakry's Saint-Flour lectures (Lecture Notes in Math. 1581, 1994) and Stroock's notes on Gibbs states (Lecture Notes in Math. 1563, 1993), and that Miclo (preprint, 1995) treated the nonreversible case.
Setting
Let X be a finite set and K a Markov kernel: K(x,y)≥0 and ∑yK(x,y)=1. Let π be an invariant probability, ∑xπ(x)K(x,y)=π(y), with π(x)>0 for every x. Functions act on the right, Kf(x)=∑yK(x,y)f(y), and ⟨f,g⟩=∑xf(x)g(x)π(x) is the inner product of ℓ2(π), with norms ∥f∥p=(∑x∣f(x)∣pπ(x))1/p. The chain is reversible if π(x)K(x,y)=π(y)K(y,x) for all x,y.
The continuous-time heat semigroup is
Ht=e−t(I−K)=e−tn≥0∑n!tnKn,
acting on functions by Htf(x)=∑yHt(x,y)f(y) and on probability measures by μHt(y)=∑xHt(x,y)μ(x). The row Htx=Ht(x,⋅) is the law at time t of the chain started at x.
The Dirichlet form is E(f,g)=⟨(I−K)f,g⟩; it is bilinear but not symmetric unless the chain is reversible. With
L(f)=x∑∣f(x)∣2log∥f∥22∣f(x)∣2π(x),
the log-Sobolev constant is
α=inf{L(f)E(f,f):L(f)=0}.
The relative entropy of a probability μ is Entπ(μ)=∑xμ(x)logπ(x)μ(x), and the total variation distance is ∥μ−π∥TV=supA⊂X∣μ(A)−π(A)∣.
Formalization targets
Goal: Theorem 3.6 (p. 722)
For every probability measure μ on X,
Entπ(μHt)≤Entπ(μ)e−2αt,t>0,
and, if (K,π) is reversible,
Entπ(μHt)≤Entπ(μ)e−4αt,t>0.
Milestones
§2.1, Remarks (ii), p. 702: if μ=fπ then μHt has density Ht∗f, where Ht∗ is the semigroup of the adjoint kernel K∗(x,y)=K(y,x)π(y)/π(x).
Lemma 2.5, second part, p. 707: ∂tEntπ(Htf)∣t=0=−E(f,logf).
Lemma 2.7, p. 708: E(logf,f)≥2E(f,f), and ≥4E(f,f) for reversible chains.
§3.3, p. 722: for f≥0 with ∥f∥2=1 and μ=f2π, L(f)=Entπ(μ).
(2.8), p. 710: 2∥μ−π∥TV2≤Entπ(μ)≤∥μ−π∥TV+21∥μ/π−1∥π,22.
Companion: (3.3) (p. 723)
For an irreducible chain, every x and t>0,
2∥Htx−π∥TV2≤(logπ(x)1)e−2αt,
with 2α replaced by 4α for reversible chains.
Significance
Theorem 3.6 turns a single functional inequality into a convergence statement valid for every initial law, with no spectral assumption and no reversibility in the first half. Through Pinsker's inequality it gives (3.3), whose prefactor log(1/π(x)) replaces the factor 1/π(x) of the spectral bound 4∥Htx−π∥TV2≤π(x)−1e−2λt. When π(x) is exponentially small in the size of the problem, as for random walks on large groups or product spaces, log(1/π(x)) is polynomial where 1/π(x) is exponential, and the time needed to make the bound small drops accordingly. This is the mechanism behind the sharp mixing bounds the paper derives from α.
The results are proved in the paper and are classical; they are not, to our knowledge, formalized. The platform has measure-theoretic statements of Pinsker's inequality and the published finite Markov chain vocabulary of Levin–Peres–Wilmer (stochastic matrices, stationarity, total variation, the heat kernel), but nothing about log-Sobolev constants of finite chains, the entropy derivative along a Markov semigroup, or entropy decay. A formal development provides the entropy layer of the finite-chain theory: the adjoint semigroup, the dissipation identity, the comparison of E(logf,f) with E(f,f), and Pinsker's inequality in the encoding used by the mixing-time library.
Difficulty
The statement is about measures, while the natural quantities to differentiate are densities with respect to π, and for a nonreversible chain the density of μHt evolves under the adjoint semigroup, not under Ht. The Dirichlet form is not symmetric, so the order of its arguments matters at every step, and the improvement from 2α to 4α holds only under reversibility.
The obvious first idea, differentiating Entπ(μHt) term by term, meets log0 wherever the density vanishes. The initial law may be a point mass, and for a reducible chain the density can stay zero at positive times. The argument must therefore handle the boundary t=0 and the degenerate laws separately from the smooth interior. The constant α is defined as an infimum over all functions, with no claim that it is attained or positive.
Formalization scope
The state space is a Fintype with decidable equality, K is a real matrix with the published predicate MarkovMixing.IsStochastic, π satisfies MarkovMixing.IsStationary K π and π(x)>0 for all x, and reversibility is MarkovMixing.DetailedBalance K π. Ht is the published MarkovMixing.heatKernel K t (the Poisson series), the adjoint kernel is MarkovMixing.timeReversal K π, and total variation is MarkovMixing.tvDist. Time is real, and the decay statements are for t>0.
The local definitions are E(f,g)=∑x(f(x)−Kf(x))g(x)π(x), the norms ∥f∥p, L, α as a real infimum over the ratios with L(f)=0, Entπ(μ), and μHt as the row vector μHt. Lean's Real.log 0 = 0 implements 0log0=0. The goal does not assume irreducibility: it is true for every stochastic K with a positive invariant probability, and a reducible chain has α=0. The companion (3.3) keeps irreducibility, the standing assumption of Section 3. In Lemmas 2.5 and 2.7 the paper's f≥0 is strengthened to f>0, because logf is −∞ at a zero of f on the page and 0 in Lean.
Several encodings would make the goal trivially true and are ruled out. α is not assumed positive. μ is a probability, since for μ=2π the entropy is a positive constant in t. π is invariant and positive, so μ/π is meaningful. The eigenvalue-based MarkovMixing.spectralGap is not used. Applying Ht to μ as a function, Htμ, is not the same as μHt for a nonreversible chain.
A complete development needs: termwise differentiation of the heat-kernel series and the semigroup property ∂tHt=(K−I)Ht; the adjoint identity for Ht; elementary convexity inequalities for log and ⋅; the symmetric form of E for reversible chains; Pinsker's inequality on a finite set; and a scalar Grönwall lemma. The heat-kernel calculus and Pinsker's inequality in the MarkovMixing.tvDist encoding are reusable by the other missions of this series and by any mixing-time development. Proofs of individual milestones are welcome independently of the goal.
Selected references
P. Diaconis and L. Saloff-Coste, Logarithmic Sobolev inequalities for finite Markov chains, Ann. Appl. Probab. 6 (1996), 695–750. https://doi.org/10.1214/aoap/1034968224
A Short Proof of the Gittins Index Theorem: For Finite-State Semi-Markov Bandits, Every Priority Policy Ordering States by the Index Algorithm's Indices Is OptimalResearch Paper
Motivation
The multi-armed bandit problem with discounted rewards asks how to allocate effort among n independent projects, only one of which can be worked on at a time, when the project worked on evolves randomly and the others stay frozen. It models job scheduling, research planning, search, and sequential clinical experimentation. Gittins and Jones showed in 1974 that the problem has an index solution: each state of each project has a number, computed from that project alone, and it is optimal always to work on the project whose current state has the largest number. The result turns an n-dimensional dynamic program into n one-dimensional computations.
Several proofs followed, each with its own model and its own definition of the index:
Gittins and Jones (1974) and Gittins (1979): the original interchange proofs, with the index as a supremum over stopping times of a reward-to-time ratio.
Whittle (1980): a proof through the retirement option and the dynamic-programming equation of the multi-armed problem.
Varaiya, Walrand and Buyukkoc (1985): the largest-remaining-index algorithm for finite-state Markov bandits, which computes the indices by removing states one at a time.
Weber (1992): the "prevailing charge" proof.
Tsitsiklis (1994): the short proof formalized here, for semi-Markov bandits with finite state spaces, by induction on the total number of states, with the indices produced by an index algorithm of the largest-remaining-index type.
Setting
There are n≥1 bandit processes. Bandit i has a finite nonempty state space Xi, and X=X1∪⋯∪Xn is their disjoint union. When bandit i at state x∈Xi is played, a random reward R(x) is received, the bandit is busy for a random time T(x)≥0, and it then moves to a random state Y(x)∈Xi; the other bandits do not move. The joint law of (T(x),R(x),Y(x)) depends only on x, and different plays are independent.
A policy is a map π:X1×⋯×Xn→{1,…,n}: at time zero and at every play completion time it chooses the bandit to play from the current states. With ti the start time and Ri the reward of the i-th play and a discount rate β>0, the expected discounted reward from the initial joint state z is
Jπ(z)=E[i=1∑∞Rie−βti].
A policy is optimal if it maximizes Jπ(z) for every initial state z. A priority rule is a policy for which some ordering of X makes it always play the bandit whose current state is ordered highest.
The reward rate of a state is
r(x)=E[∫0T(x)e−βtdt]E[R(x)].(2.1)
Reducing bandit i∗ by removing a state s∗ merges every play that ends in s∗ with the following run of plays at s∗ into one composite play, whose reward rate is r^(x) of (2.3). The index algorithm repeatedly picks a state s∗ of maximal current rate, sets its indexγ(s∗) to that rate, and reduces its bandit by removing s∗ (or removes the bandit if s∗ was its last state).
Formalization targets
Goal: Theorem 2.2
Let γ be the indices of a run of the index algorithm. Then every priority rule whose ordering satisfies
γ(y)<γ(x)⟹y is ordered below x
is optimal. Ties in γ may be ordered either way, and the run may break ties in its own choices arbitrarily.
Milestones, in the order the proof uses them
(2.2), the interchange inequality E[(1−e−βτ)∫0T(s∗)r(s∗)e−βtdt]≥E[(1−e−βT(s∗))∫0τrˉ(t)e−βtdt] when rˉ≤r(s∗).
Lemma 2.1: if r(s∗)=maxxr(x), some optimal policy always plays bandit i∗ when it is at s∗.
Reduction step: optimizing within the policies giving s∗ top priority is a bandit problem with one state fewer, the reduced bandit with rates (2.3).
Theorem 2.1: some priority rule is optimal.
Pick-order optimality: a priority rule that orders the states as a run of the index algorithm picks them is optimal.
Index monotonicity: along a run, γ(s∗)≥γ(q∗) for consecutive picks s∗,q∗.
Picked-before characterization: x can be picked before y (in a run with the same indices) if and only if γ(x)≥γ(y).
Significance
The theorem shows that the optimal priority order is determined by numbers that, by the reduction formulas, depend only on the statistics of each bandit separately. It is the basis of index policies in scheduling (the cμ rule and its semi-Markov generalizations), of Klimov's problem and of branching bandits, which the paper's Section 3 obtains by modifying the same argument.
The result has been proved many times, but not in this generality on Prove2Me. The platform has a discrete-time Gittins index theorem for arms sharing one transition kernel and one reward function, with the index defined as a stopping-time supremum. This mission adds semi-Markov dynamics with random play durations and continuous discounting, heterogeneous finite bandits, priority rules, and the index algorithm as the definition of the index. A complete development would also give a machine-checked proof of correctness of a state-elimination algorithm for computing Gittins indices.
Difficulty
Lemma 2.1 compares an optimal stationary policy with a modified policy that is not stationary, and closes the gap by the optimality of stationary policies, which itself requires the dynamic-programming theory of discounted semi-Markov decision problems with finite state spaces. The reduction step requires an exact identification of the values of all top-priority policies with values in a different problem whose plays are composite and may never end. Theorem 2.1 is an induction over a family of problems with shrinking state spaces that are no longer raw semi-Markov bandits. Theorem 2.2 adds ties: a priority order compatible with the indices need not be the order of the given run, and one needs another run with the same indices.
Formalization scope
Bandits are indexed by Fin n (0,…,n−1), with n≥1 and each state type finite and nonempty. X is the sigma type Σ i, X i, disjoint by construction.
The law of (T(x),R(x),Y(x)) is a probability measure on R×R×Xi with T≥0 almost surely and R integrable. The model also assumes P(T(x)>0)>0, which the page leaves implicit: it makes the denominator of (2.1) nonzero.
Jπ is computed from the moments E[R(x)] and D(x,y)=E[e−βT(x);Y(x)=y]: it is the limit of the expected discounted reward of the first k plays, given by the first-step recursion. No path space is constructed. The row sums of D are below 1, so the limit exists; it never mentions rates, indices or reductions.
Policies are the paper's stationary deterministic maps of the current joint state, and optimality is within that class, for every initial state. An ordering of X is an injective ranking into N.
The reduced bandit is given by explicit formulas for its expected discounted reward, discounted duration and discounted transition data. These make the page's "transition probabilities are suitably modified" concrete, and the reduced rate is (2.3). Removing a bandit is the reduction of its last state.
The index is that of any run of the index algorithm, with arbitrary tie choices.
A formalization in which the value of a policy is defined through rates or indices, or in which γ is any function compatible with some order rather than the output of the algorithm, would make the goal trivial or empty; both are excluded by the definitions above.
Needed infrastructure: the convergence of the k-play values and the first-step (Bellman) equation for Jπ; existence of an optimal stationary policy for finite discounted semi-Markov problems; the value identity for composite plays. The last two are reusable for any finite semi-Markov decision problem. Proofs of individual milestones, alternative arguments (Weber's prevailing charge, the retirement formulation), and the separability statement of p. 198 ("the index algorithm can be carried out separately for each different bandit") are welcome.
Selected references
J. N. Tsitsiklis, A Short Proof of the Gittins Index Theorem, Annals of Applied Probability 4(1) (1994), 194–199.
J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 1974, 241–266.
P. P. Varaiya, J. C. Walrand and C. Buyukkoc, Extensions of the multiarmed bandit problem: the discounted case, IEEE Trans. Automat. Control 30 (1985), 426–439. https://doi.org/10.1109/TAC.1985.1103989
Concentration of Measure and Isoperimetric Inequalities in Product Spaces IX: Suprema of Linear Forms in Bounded Independent Variables — P(|Z − M| ≥ u) ≤ 4 exp(−u²/(4σ²))Textbook
Why linear suprema arise
A family of linear forms turns independent observations into a single random maximum. Examples include the largest value of a collection of statistical scores and the norm of a random vector sum, which can itself be expressed through the continuous dual of a normed space. A bound for each form separately does not automatically control the supremum over an infinite family. Talagrand's 1995 paper gives a concentration inequality in which the coefficient scale, rather than the number of forms, controls the deviation Talagrand 1995, §8.1. The Banach-space consequence in Chapter 13 applies the same principle to norms of vector sums Talagrand 1995, Theorem 13.2.
The two results have a direct relationship: the norm of a vector is the supremum of its evaluations by continuous linear functionals of norm at most one. The formalization therefore gives a setting in which a general real-valued supremum theorem and a vector-valued corollary can be audited together. It also tests whether the concentration statement remains faithful when the family of forms is infinite and the coordinate laws differ.
The random supremum and its scale
Fix a finite number N of coordinates and a nonempty family F⊆RN of coefficient vectorsα=(αi)i=1N. The coefficients may have either sign. Write ∥α∥2=(∑iαi2)1/2, and let σ=supα∈F∥α∥2. The mission treats the case in which this coefficient scale is finite and positive. Let Xi be independent real random variables, with an individual interval [ri,ri+1] containing each Xi almost surely. The center ri and the law of Xi may vary with i. The object of interest is
Z=α∈Fsupi=1∑NαiXi.
A medianM of Z means that both P(Z≤M) and P(Z≥M) are at least 1/2. This definition permits more than one median and makes no choice among them. With a bounded coefficient family and bounded coordinates, the supremum is finite for each input. The mission also assumes that Z is measurable, because an uncountable supremum of measurable functions need not be measurable automatically. These are the mathematical conditions needed to give the displayed probability its ordinary meaning.
The supporting observation uses Talagrand's convex-hull distance. For a set A of coordinate tuples and a point x, form the binary vectors s for which there is some y∈A such that every coordinate with si=0 agrees between x and y. Let VA(x) be their convex hull in RN. The distance fc(A,x) is the Euclidean distance from zero to VA(x). If A is empty, this distance is +∞. This convention preserves the intended meaning of a distance to an empty target Talagrand 1995, §4.1.
Formalization targets
For x∈[0,1]N, put Zr(x)=supα∈F∑iαi(ri+xi) and A(a)={y∈[0,1]N:Zr(y)≤a}. The first milestone is Eq. (8.1.3): if A(a) is nonempty, then for every α∈F some y∈A(a) has disagreement set I={i:yi=xi} with
i∈I∑∣αi∣≤∥α∥2fc(A(a),x)≤σfc(A(a),x).
The second milestone is the deterministic observation in Eq. (8.1.2):
Zr(x)≤a+σfc(A(a),x).
The goal, Theorem 8.1.1, asserts that every median M of Z and every u>0 satisfy
P(∣Z−M∣≥u)≤4exp(−4σ2u2).
The third milestone is Theorem 13.2. For vectors vi in a real Banach space W, define the weak variance scaleσW=(supw∗∈W∗,∥w∗∥≤1∑iw∗(vi)2)1/2. If the independent real variables Yi satisfy ∣Yi∣≤1, the theorem bounds deviations of S=∥∑iYivi∥ from any median M:
P(∣S−M∣≥tσW)≤4exp(−t2/16),t>0.
The statement is made for σW>0. With σW=0, the displayed event has threshold zero and probability one, while the right side falls below one for large t; the printed inequality therefore needs that qualification Talagrand 1995, p. 198.
What the results provide
Theorem 8.1.1 controls a supremum using only the largest Euclidean norm of its coefficient vectors. Its statement does not charge a factor for the cardinality of F, so it applies equally to a finite collection and to an infinite measurable supremum. The coordinatewise interval condition allows different distributions and different centers. Theorem 13.2 converts the same concentration scale into a statement about Banach-space vector sums, where the dual unit ball supplies the coefficient family Talagrand 1995, pp. 156, 198.
Both results are proved in the paper. The work here is to formalize their exact statements and the distance interface used between them. The reusable pieces are the median convention, an extended-valued convex distance on arbitrary product spaces, a measurable supremum over a general set of coefficient vectors, and the weak variance scale for Banach-space vectors. None of the two claimed concentration inequalities is treated as already machine checked by this mission.
The difficult point
For a single fixed vector α, bounded-coordinate concentration gives information about ∑iαiXi. Applying that estimate to every member of F and taking a union would introduce a dependence on the number of vectors. It would also give no useful bound for a genuinely infinite family without additional covering information. Talagrand's target avoids a cardinality term, so a direct collection of fixed-form estimates does not establish the stated result Talagrand 1995, §8.1.
The deterministic distance statement presents a second issue for formalization. Its set A(a) can be empty, and the paper's distance then has value +∞. A real-valued infimum with a default value at the empty set would erase that distinction. The exact Euclidean norm also matters: the usual norm on a Lean function space need not be the paper's ℓ2 norm. These choices affect the mathematical meaning of the milestone before any concentration argument begins.
Formalization scope
Coordinates are indexed by Fin N, corresponding to the paper's indices 1,…,N. The independent observations live on the canonical product of their individual real-valued laws. Each law gives probability one to its own interval [ri,ri+1]; identical distribution is not assumed. The coefficient family is a set, not a finite list. Its nonemptiness, finite norm supremum and positive scale are explicit. Measurability of the real supremum is also explicit, following the paper's convention of ignoring measurability questions Talagrand 1995, pp. 81–82.
The mismatch vectors and their convex hull are defined over the whole underlying product type. The distance is an extended nonnegative real infimum of Euclidean lengths, so an empty target has distance +∞. Eq. (8.1.2) uses extended arithmetic for the positive part of Zr(x)−a, which keeps the empty-sublevel case meaningful. The probability bounds retain the paper's constants 4, 4σ2, and 16. A zero coefficient scale cannot be used to make the goal a vacuous division-by-zero statement; the Banach result likewise requires a positive weak variance scale.
The mission welcomes proofs of the two concentration statements, the deterministic distance observation, and supporting facts about the supremum's finiteness and measurability. General lemmas about product measures, medians, extended distances, and dual norms would be useful beyond this chapter. The statements do not restrict F to a finite or countable subset, so a proof must address the general family under the explicit measurability assumption.
Selected references
Michel Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publications Mathématiques de l'IHÉS 81 (1995), 73–205. DOI: 10.1007/BF02699376.
Concentration of Measure and Isoperimetric Inequalities in Product Spaces VIII: The Longest Increasing Subsequence — Gaussian Concentration of L_N around Its Median MTextbook
Why the longest increasing subsequence
Pick N independent points X1,…,XN uniformly in [0,1] and let LN be the length of the longest increasing subsequence. Because the points are almost surely distinct, LN has the law of the longest increasing subsequence of a uniform random permutation of {1,…,N}. This is Ulam's problem, one of the most studied random combinatorial quantities. Hammersley (1972) showed ELN/N converges, and Vershik–Kerov and Logan–Shepp (1977) identified the limit as 2. That leaves the size of the fluctuations of LN around its typical value.
Timeline.
Frieze (1991, [F] in the paper) and Bollobás–Brightwell (1992, [B-B]) proved concentration of LN around its mean with martingale methods, on deviation scales larger than N1/4.
Talagrand (1995), Section 7.1, derived from his convex hull inequality a two-sided Gaussian-type bound around the median on the scale MN≍N1/4, with explicit constants and no logarithmic loss. This is the target of the mission.
Baik, Deift and Johansson (1999) showed that the true fluctuations are of order N1/6, with Tracy–Widom limit law, so Talagrand's scale is not sharp. Its value is that it comes from a short, general principle.
Section 7.2 of the same paper applies the same idea to the longest common subsequence of two random words, a quantity tied to the edit distance used in genetics and speech recognition.
Setting
Let Ω=[0,1] and N≥0. For x=(x1,…,xN)∈ΩN, LN(x) is the largest integer p for which there are indices i1<⋯<ip with xi1≤⋯≤xip. For a>0, the level set is A(a)={x∈ΩN;LN(x)≤a}.
Fix a probability μ on [0,1] without atoms (Lebesgue measure, for instance) and let P=μ⊗N be the product probability on ΩN; the coordinates are the random points Xi. A median of LN is a number M with P(LN≤M)≥1/2 and P(LN≥M)≥1/2.
The tool is Talagrand's convex hull distance. For A⊆ΩN and x∈ΩN, let UA(x) be the set of s∈{0,1}N for which some y∈A agrees with x at every coordinate i with si=0; let VA(x) be its convex hull in RN; and let fc(A,x) be the Euclidean distance from 0 to VA(x) (with fc(A,x)=+∞ if A=∅).
A function LN:ΩN→N on an arbitrary probability space (Ω,μ) is a configuration function if, for every x, some set J of exactly LN(x) coordinates satisfies LN(y)≥card{i∈J;yi=xi} for all y.
For two sequences x=(x1,…,xN) and y=(y1,…,yN′), LN,N′(x;y) is the largest p with i1<⋯<ip, j1<⋯<jp and xiℓ=yjℓ for all ℓ≤p.
The result. Since MN is of order N, the goal confines LN to a window of width of order N1/4 around its median with Gaussian-type tails. For u much larger than M the upper bound becomes exponential in u, the natural tail of a quantity bounded by the size of a witnessing configuration. Theorem 7.1.3 isolates what is used: every integer quantity certified by a configuration of exactly its own size has the same concentration. This abstraction became the notion of certifiable functions used widely in random graph theory and probabilistic combinatorics (see the treatment of Talagrand's inequality in Alon–Spencer, The Probabilistic Method). For the longest common subsequence, the bound is useful when the alphabet is large and M≪N, where it improves on Azuma's inequality.
Formalizing it. All four results are proved in the paper; none is formalized in Lean as far as a search of the Prove2Me corpus shows. A finite-alphabet certifiable-function inequality (Talagrand.certifiable_concentration) has been posed on the platform as an open statement; it uses a Lipschitz hypothesis and no median, so it is a relative of Theorem 7.1.3, not the same statement. The mission produces a general-Ω formalization of the configuration-function principle, its application to the continuous Ulam problem, and the common-subsequence variant.
Difficulty
The deterministic inequalities (Lemma 7.1.1, Eq. (7.2.3)) relate the Euclidean distance fc, defined through a convex hull in RN, to purely combinatorial counts of disagreeing coordinates; this needs the infimum defining fc to be attained and a duality between the convex hull and its extreme points. The probabilistic step rests on Talagrand's convex hull inequality (Theorem 4.1.1, Eq. (4.1.2)), ∫exp(fc2(A,x)/4)dP(x)≤1/P(A), for a general product probability; that inequality is not in Mathlib. A bounded-difference (Azuma or McDiarmid) argument does not suffice: changing one point changes LN by at most 1, which gives deviations of order N, not M. The point of the configuration property is that only the LN(x) coordinates of a witness matter.
Formalization scope
Product space.ΩN is Fin N → Ω (0-based), and P is Measure.pi (fun _ => μ). For the goal, Ω is unitInterval and μ is any probability measure on it with μ{t}=0 for all t. Theorem 7.2.1 uses the product of Measure.pi measures on (Fin N → ℝ) × (Fin N' → ℝ) for a probability μ on R. Eq. (7.2.3) lives on Fin (N + N') → unitInterval, with the first N coordinates forming the first sequence.
Increasing means weakly increasing (≤), as printed. Index sequences are strictly increasing maps Fin p → Fin N. LN and LN,N′ take values in ℕ.
Convex hull distance.fc takes values in ℝ≥0∞, with the Euclidean norm written out as ∑isi2. Mathlib's default norm on Fin N → ℝ is the sup norm and would give a different, much weaker statement. The deterministic inequalities are stated in the rearranged form L≤a+cfcL in [0,+∞].
Median: P(Z≤M)≥1/2 and P(Z≥M)≥1/2; the statements hold for every median.
Measurability. The paper treats all functions as measurable. In Theorem 7.1.3 this convention is the explicit hypothesis that the configuration function is measurable. The concrete LN and LN,N′ carry no hypothesis.
Degenerate corner. When M=0, Lean's division gives u2/(4M)=0, so the lower-tail bound reads "≤2". The event {L≤−u} is then empty, so no content is lost.
No trivialization. Using the sup norm in fc, using a real-valued infimum (which is 0 on an empty A(a)), or putting the conclusion of Theorem 4.1.1 among the hypotheses would each make a statement trivial or empty. None of these is done.
The mission uses the shared definition of the convex hull distance from Section 4.1. A general-Ω proof of Eq. (4.1.2) and of the attainment of fc would be reusable for every Part II chapter of the paper. Contributions are welcome in particular for the deterministic Lemma 7.1.1 and Eq. (7.2.3), the measurability of LN and LN,N′, and the reduction of Theorem 7.1.2 to Theorem 7.1.3.
Selected references
M. Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), 73–205. https://doi.org/10.1007/BF02699376
A. Frieze, On the length of the longest monotone subsequence in a random permutation, Ann. Appl. Probab. 1 (1991), 301–305. https://doi.org/10.1214/aoap/1177005939
A. M. Vershik, S. V. Kerov, Asymptotics of the Plancherel measure of the symmetric group and the limiting form of Young tables, Soviet Math. Dokl. 18 (1977), 527–531.
J. Baik, P. Deift, K. Johansson, On the distribution of the length of the longest increasing subsequence of random permutations, J. Amer. Math. Soc. 12 (1999), 1119–1178. https://doi.org/10.1090/S0894-0347-99-00307-0
Concentration of Measure and Isoperimetric Inequalities in Product Spaces II: The Two-Point Space — an N-Free Exponential Bound for the One-Sided Hamming Distance under a Second MeasureTextbook
Motivation
The concentration of measure phenomenon says that in a product probability space a set of probability not too small is "large" in the sense that most points lie within a small distance of it. M. Talagrand's 1995 memoir Concentration of measure and isoperimetric inequalities in product spaces develops this phenomenon through exponential moment bounds for distances to sets. Its Section 2.1 treats the Hamming distance on an arbitrary product space and recovers the bounds obtainable by martingale methods (McDiarmid, On the method of bounded differences, 1989).
Section 2.3, the subject of this mission, specialises to the two-point space{0,1}N with biased coordinates. This is the setting of the binomial law, of random subsets of a finite set, and of monotone properties of random graphs. Two things happen there that do not happen in general. First, the bias p of the coordinates enters the bound through the variance p(1−p), which gives sharper tails when p is close to 0 or 1. Second, when one counts only the coordinates where x has a 1 and the point of A has a 0, and measures A under a second, more heavily biased product measure, the exponential moment bound becomes independent of the dimension N. The paper calls this the first of its results that "apparently cannot be obtained via martingales". Bounds of this one-sided kind are the natural tool for upper tails of increasing functions on the biased cube, the regime of the binomial law near Np1 when samples are drawn at rate p<p1.
Setting
Let Ω={0,1}. For p∈[0,1] let μ be the probability on Ω with μ({1})=p, μ({0})=1−p, and let P=μN be the product probability on ΩN, whose points are written x=(x1,…,xN). For a set A⊆ΩN and a point x∈ΩN, the Hamming distance from x to A is
f(A,x)=min{card{i≤N:xi=yi}:y∈A},
the least number of coordinates of x that must be changed to land in A. The one-sided distance counts only changes from 1 to 0:
f+(A,x)=min{card{i≤N:xi=1,yi=0}:y∈A}.
Both are +∞ when A is empty. A second probability μ1 on Ω has p1=μ1({1}), and P1=μ1N. For α>0 and t≥0 the paper uses two constants,
In the Lean development these are hammingDistToSet, oneSidedDistToSet, bConst, aConst, the measure productMeasure N p, and the integrand expMul t z=etz.
Formalization targets
Goal: Theorem 2.3.4
If p1>p, then for every N, every A⊆ΩN, every α>0 and every t≥0,
∫etf+(A,x)dP(x)≤P1(A)αa(α,t)N.
For small t one has a(α,t)=1. When 0<p<p1<1 and α=1, the paper's explicit threshold is et≤p1(1−p)/(p(1−p1)). At equality, the bound becomes ∫(p1(1−p)/(p(1−p1)))f+(A,x)dP≤1/P1(A), with no dependence on N. The main theorem also includes the endpoint cases p=0 and p1=1 without using this ratio.
Milestones
Proposition 2.3.1. For t≥0, α≥1: ∫etf(A,x)dP(x)≤P(A)αb(α,t,p)N.
Corollary 2.3.2, Eq. (2.3.4). There is a universal K such that for α≥1, 0≤t≤1:
Milestones 1–3 concern the two-sided Hamming distance; milestone 4 is the one-coordinate inequality behind the goal.
Significance
The results. Proposition 2.3.1 and Corollary 2.3.2 give, for every set A in the biased cube, a tail bound for the Hamming distance whose Gaussian part has the variance p(1−p)N of the binomial law, not the worst case N/4. The paper notes that this matches the quality of the optimal isoperimetric inequalities that are known only for hereditary (monotone) sets. Theorem 2.3.4 is a statement with no dimension in it: it controls how many 1s of a μN-sample must be switched off to reach a set A that is not small under the more biased μ1N.
Formalizing it. These results are proved in the paper; the local Prove2Me index contains no machine-checked proof of these statements. Mathlib has the Bernoulli measure, finite products of measures and lower Lebesgue integrals, but no exponential moment bound for these distances to sets. A complete development would add reusable facts about biased Boolean products, their distance functions and exponential moments, and the uniform cubic error term in Corollary 2.3.2.
Difficulty
The obvious route to a Hamming-distance tail bound is a martingale (bounded differences) argument. It yields e−2k2/N-type bounds that do not see the bias p, and its variance proxy grows with N, so it gives no bound independent of N; the paper states that Theorem 2.3.4 apparently cannot be obtained this way. Theorem 2.3.4 measures A under P1 while the integral is under P, so a one-coordinate estimate must account for two different probabilities and keep the factor a(α,t) exactly equal to 1 for small t. Lemma 2.3.5 must handle a=0 as well as interior values. Corollary 2.3.2 requires a cubic error bound uniform in p∈[0,1] and α≥1.
Formalization scope
Ω is Bool with 1 = true; P reuses the published TalagrandCore.bernPi Bernoulli product measure with p : unitInterval converted to a nonnegative real, over Fin N (0-based coordinates). Every subset of {0,1}N is measurable, so the paper's convention of ignoring measurability costs nothing here.
Distances take values in ℝ≥0∞, with f(∅,x)=+∞; integrals are lower Lebesgue integrals ∫⁻ in [0,∞]; P(A)−α is computed in [0,∞], so P(A)=0 gives +∞.
Theorem 2.3.4 and Lemma 2.3.5 are stated for α>0, the range under which Section 2.2 introduces the exponent α (the theorem's page does not restate it). Proposition 2.3.1 and Corollary 2.3.2 keep the page's α≥1. The standing hypothesis p1>p appears as a binder.
The universal constants of Corollary 2.3.2 are quantified before p, N, A, α, t, k. In Eq. (2.3.5), 0<p<1, N≥1 and P(A)>0 are assumed, which is where the displayed formula is defined.
A trivializing formalization is ruled out: the integrals are not Bochner integrals (which vanish on non-integrable functions), the empty set and P1(A)=0 are handled through +∞, not junk zeros, and the two different distances of the section carry different names.
The mission also imports the published TalagrandCore.bernPi definition for the Boolean product law. Reusable pieces include evaluation of ∫ over {0,1} under a Bernoulli measure and facts about product measures over Fin N. Contributions to any of the four milestones or the goal are welcome.
Selected references
M. Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), 73–205. https://doi.org/10.1007/bf02699376
A New Class of Random Number Generators 2: For Prime m = bʳ − bˢ + 1, Every Nontrivial Subtract-with-Borrow Sequence Is Periodic After r Steps, with Period the Order of b mod mResearch Paper
Motivation
A pseudorandom number generator replaces repeated random sampling with a deterministic update of a small state. Its useful lifetime depends on the length and structure of the resulting orbit. In Marsaglia and Zaman’s 1991 paper, the subtract-with-borrow generators use only digit subtraction and a one-bit borrow while attaining cycles that can be almost as long as the whole set of digit tuples. The mathematical question is exact: which fraction encodes an output sequence, when does an arbitrary seed enter a cycle, and how long is that cycle?
This mission concerns the paper’s first subtract-with-borrow rule, called Method 1 in §4.5. The paper also studies a second rule that reverses the order of the two subtracted digits. Its modulus and period analysis differ. The distinction matters because the same state format supports both rules while their arithmetic claims are different.
Setting
Choose an integer baseb≥2 and lags0<s<r. A state is a row of r digits and one borrow bit, (x1,…,xr,c), where each xi is in {0,…,b−1} and c∈{0,1}. The leftmost digit x1 is the oldest. One update discards it, shifts the remaining digits left, and appends a new digit. Put t=xr+1−s−x1−c. If t≥0, the appended digit is t and the new borrow is zero. If t<0, the appended digit is t+b and the new borrow is one. Write this deterministic map as f.
The digits emitted after the seed obey xn=xn−s−xn−r−c modulo b, with c updated at each step. The associated modulus is m=br−bs+1. For 0≤k<m, write dj(k/m) for the jth digit after the point in the base-b expansion of k/m, with j≥1. The digit stream is read in reverse order when it is matched to an expansion: the latest generated digit in a finite block is the first fractional digit. A state is strictly periodic when it is already on a cycle under f; otherwise it may pass through a transient before reaching one.
Two states have period one: (0,…,0,0) and (b−1,…,b−1,1). These are the trivial seeds. They are exceptions to the order-of-base period formula. A third useful object is the multiplicative orderordm(b), the least positive p for which bp≡1(modm). Since m≡1(modb), the base is coprime to this modulus.
Formalization targets
Exact cycle period
For prime m=br−bs+1 and any nontrivial seed z, the goal identifies the minimal state period after the transient:
periodf(fr(z))=ordm(b).
The assertion includes both that fr(z) is on a cycle and that its period is exactly the order. It makes no primitive-root assumption. If b is a primitive root modulo m, the right side specializes to m−1=br−bs, the full period discussed in §3 of the paper.
Supporting results
The milestones state that the fractional digits of k/m have least period ordm(b) when k and b are coprime to m; that a primitive root yields digit period m−1; that the two trivial seeds are precisely the fixed points; and that every seed reaches a cycle after at most r updates. They also formalize the reverse-digit relation for every finite generated block and the paper’s Method 1 inequalities that classify nontrivial seeds already on a cycle. These targets use the paper’s own claims in §§4.1, 4.3, and 4.5 rather than an arbitrary decomposition of the goal.
Significance
The result converts the orbit-length problem of a digit-and-borrow machine into a multiplicative-order calculation in a finite residue ring. A prime modulus and a primitive base produce a nontrivial cycle of length m−1; a nonprimitive base still has the exact order-of-base period. The seed classification separates states already on that cycle from states with an initial transient. These statements are what allow a proposed numerical parameter set to be assessed mathematically before the generator is used.
Marsaglia and Zaman proved these results in the cited paper. This mission asks for machine-checked Lean proofs of the statements, starting from an explicit finite-state update. The reusable output includes exact base-b digit arithmetic, links between digit periods and multiplicative order, and methods for reasoning about the eventual cycles of finite-state digit generators. The present proposal consists of compiled statements and definitions; the theorem bodies are open proof targets.
Difficulty
Finiteness alone shows that every state eventually repeats, but it gives neither the bound of r steps nor the exact cycle length. Likewise, observing that a generated digit block matches a prefix of some fraction does not by itself identify one period for the whole state orbit. The proof must keep track of the borrow bit and the direction in which the digit block is read. It must also show that a nontrivial seed does not collapse to one of the two fixed states. The source’s integer tableaux explain the arithmetic link, but turning their finite strings into a statement uniform over every seed and every block length is the main formalization challenge.
Formalization scope
Lean represents digits by Fin b, the borrow by Fin 2, and the row by a function on Fin r. Lean index zero is x1, so the digit used in the update, xr+1−s, has index r−s. The update branches on an ordinary integer comparison before any natural-number subtraction can truncate a negative value. The modulus is a natural number, and 0<s<r with b≥2 makes br−bs an exact subtraction. The jth fractional digit is computed by an exact quotient and remainder; only j≥1 has the mathematical meaning used in the theorems. The generated stream is one-based, and the first digit beyond the seed is xr+1.
The paper’s “after a few iterations” is pinned to its stated upper bound “at most r.” Its “period” is the minimal positive state period of fr(z), not a mere period divisor or the period of an arbitrarily selected digit window. “Appropriately chosen” parameters mean a prime m for the goal and exclusion of the two named fixed seeds. The reverse-digit milestone permits the numerator k to depend on the finite endpoint, as the tableau argument does. No seed is excluded from the at-most-r milestone.
The discussion on pp. 473–474 prints the Method 1 seed inequalities in the opposite direction from the Method 1 listing on p. 472. The Lean seed-classification milestone uses the p. 472 directions, which agree with the step map on p. 466 and with direct finite checks. The §5 claim that every five-tuple except the 100 patterns xyxyx appears once in the special b=10,r=5,s=2 full cycle is left for a later extension. The other subtraction order, its modulus br−bs−1, and the paper’s large parameter certificates are outside this mission.
An encoding that merely asserts the existence of some period, allows an impossible seed hypothesis, or replaces the update by a different subtraction order would make the goal vacuous or change the result. The intended development needs Mathlib’s ZMod, multiplicative order, finite iterations, periodic points, and natural-number quotient and remainder. Contributions proving the numbered milestones, strengthening their arithmetic interfaces, or closing the goal are in scope.
Selected references
G. Marsaglia and A. Zaman, A new class of random number generators, The Annals of Applied Probability 1(3), 462–480 (1991). DOI: 10.1214/aoap/1177005878.
Contact Interactions on a Lattice II: If λₖ/μ < k/(2d − 1), the Expected Size of a Contact Process Is Integrable in TimeResearch Paper
Motivation
The contact process is the basic model of an infection spreading on a graph: infected sites recover at a constant rate, and healthy sites are infected at a rate that depends on how many of their neighbours are infected. T. E. Harris introduced it in Contact Interactions on a Lattice (Ann. Probab. 2, 1974, doi:10.1214/aop/1176996493), and it became one of the central examples of the theory of interacting particle systems (Liggett, Interacting Particle Systems, 1985, Ch. VI; Liggett, Stochastic Interacting Systems, 1999, Part I). Its questions are those of epidemiology and population dynamics on a spatial grid: does a finite infection die out, and how large does it get on the way?
Harris's paper gives the first rigorous subcritical bounds. Section 7 treats two quantities for a process started from a finite set: the probability p∞(ξ) of surviving forever, and the expected sizemt(ξ) at time t. This mission formalizes the second, Theorem 7.6: under an explicit condition on the rates, the expected size is integrable in time. The companion mission (Contact Interactions on a Lattice I) formalizes Theorem 7.1, extinction under the same condition.
A short timeline. Harris (1974) defined the process, proved monotonicity, subadditivity and submodularity by coupling, and gave the bounds of §7 and a survival result for large rates (§9). Holley and Liggett (Ann. Probab. 3, 1975) developed duality for such systems. Holley and Liggett's paper also proves, for a discrete-time branching process with interference, the analogue PF(An=∅)≤EF∣An∣≤λn∣F∣ of the size bounds studied here; it is a different process, related but not reused.
Setting
Fix d≥1 and the lattice Zd of integer points x=(x1,…,xd). Sites x,y are neighbours, x∼y, if ∑i∣xi−yi∣=1; Nx is the set of the 2d neighbours of x. A configuration is a finite set ξ⊂Zd (the set Ξ0); ∣ξ∣ is its number of points, ξ(Nx) is the number of neighbours of x in ξ, and x∼ξ means x∈/ξ and x has a neighbour in ξ.
The parameters are a death rateμ≥0 and birth ratesλ0=0,λ1,…,λ2d≥0. The contact process is the continuous-time Markov chain on finite configurations that, from ξ, removes a point x∈ξ at rate μ and adds a site x∼ξ at rate λξ(Nx). Its total jump rate is
qξ=μ∣ξ∣+x∼ξ∑λξ(Nx).
The empty configuration is absorbing. Pt(ξ,η) is its transition function, r(ξ,η)=qξη/qξ the transition matrix of its jump chain, and
mt(ξ)=Eξ∣ξt∣=η∑Pt(ξ,η)∣η∣
the expected size at time t. In the Lean development these are trans μ lam t ξ η, jump μ lam ξ η and meanSize μ lam t ξ, where lam k is λk.
Formalization targets
Goal: Theorem 7.6 (p. 982)
If μ>0 and
μλk<2d−1k,k=1,…,2d,
then for every finite ξ,
∫0∞mt(ξ)dt<∞.
Milestones
In the paper's proof order:
Lemma 4.7: mt(ξ)≤∣ξ∣e(2dΛ−μ)t with Λ=maxiλi.
Lemma 5.8, its mt half: λk≤minj≥kλj′ implies mt≤mt′.
The change of time scale: multiplying all rates by c replaces mt by mct.
Remark 5.5, three times. mt is increasing in ξ when λk↑; it is subadditive when also λk/k↓; and it is submodular when λ is concave and non-decreasing.
The first-jump equation (7.7) for a pair of neighbours, with K=2+(4d−2)λ.
The bound after (7.11): M2(T)−M1(T)≤1/(1−(2d−1)λ).
Lemma 7.5: if ∫0∞mt({x})dt=∞, then ∫0∞(mt(ξ)−mt({x}))dt=∞ for ∣ξ∣≥2.
After the goal come two consequences: Lemma 4.11, mt+h(ξ)≥e−μhmt(ξ), and Remark 7.12, mt(ξ)→0.
Significance
The theorem says that the total expected infection time, summed over all sites, is finite. That is stronger than extinction (Theorem 7.1), and it quantifies how fast the process dies out on average. With Lemma 4.11 it gives mt(ξ)→0. Bounds on the expected size are the standard route to subcritical estimates for spatial epidemics and branching systems with interference. The milestones are also the paper's general tools. Monotonicity, subadditivity and submodularity of mt, comparison of rate sequences, and time scaling hold for every contact process and are reusable beyond this mission.
The theorem has been known since 1974, and the formalization of the contact process is new work: the platform has no machine-checked development of an interacting particle system on Zd, nor of a continuous-time chain with unbounded rates. The mission produces a formal model of the contact process from a finite set, a Lean proof of the subcritical bound, and the coupling inequalities (stated here for mt) that any further work on the process will need.
Difficulty
The obvious argument fails. One would bound the growth rate of ∣ξt∣ by its worst case: a site is born at rate at most λk for each of at most 2d∣ξ∣ boundary sites. This gives only Lemma 4.7, an exponential bound whose exponent 2dΛ−μ is positive in most of the regime of the theorem. The factor 2d−1 instead of 2d comes from correlations: a newly born site always has an occupied neighbour, so it adds at most 2d−1 new boundary sites. Capturing this needs the comparison between a single site and a pair of neighbours in (7.7)–(7.11), together with submodularity, which is a coupling statement about the whole process. Lemma 7.5 then has to turn a bound on the difference M2−M1 into a bound on M1, and the paper omits its proof.
In the formal setting the chain has unbounded rates (since qξ grows with ∣ξ∣), so its transition function is not a matrix exponential. Uniformization does not apply either, and every statement goes through the minimal solution of the backward equations.
Formalization scope
The chain model. The process is the countable-state chain on finite configurations that the paper itself uses from §4 on. Theorems 4.1 and 4.3 show that the infinite-volume process started in Ξ0 is this chain. No process on infinite configurations and no probability space is constructed, and Pξ, Eξ enter only through Pt.
The transition function.Pt is the minimal transition function of the rates (4.4)–(4.5), Pt=supnPt(n), where Pt(n) is defined by Feller's backward recursion over at most n jumps.
Finite initial sets. Statements the paper makes for all ξ∈Ξ (Lemmas 4.11 and 5.8, Remark 5.5) are drafted for finite ξ.
Values.Pt, pt and mt take values in [0,∞]. Integrals of mt are Lebesgue integrals of [0,∞]-valued functions.
Lattice. Sites are Fin d → ℤ with the ℓ1 adjacency of the paper.
Standing hypotheses. Every statement carries d≥1, μ≥0, λ0=0 and λk≥0 for k≤2d. Conditions on λ range over k≤2d only, since λk for k>2d never enters the model. The goal adds μ>0, which the paper's ratio λk/μ presupposes.
Several trivializing formalizations are excluded:
mt is not a real tsum, which would be 0 when the series diverges;
the integral is not a real Bochner integral, which would be 0 for a non-integrable function;
the rate condition does not range over all k∈N;
μ>0 is not left implicit: in Lean λk/0=0, and at μ=0 the conclusion is false;
the goal is not stated for singletons only.
A complete development needs the backward equation and non-explosion for Pt (Theorem 4.3, formalized in the companion mission), Fubini–Tonelli for ∑ and ∫ in [0,∞], and couplings of contact processes. The couplings are the paper's auxiliary multi-type processes (§§5–6), or an equivalent argument on the generator. Contributions are welcome at every level. The coupling lemmas and the backward and forward equations for minimal chains are the parts most reusable beyond this mission.
R. Holley, T. M. Liggett, Ergodic theorems for weakly interacting infinite systems and the voter model, Ann. Probab. 3(4), 643–663, 1975. https://doi.org/10.1214/aop/1176996306
Residual Life Time at Great Age 5: If |c − ((1 − F)/F′)′| ≤ ε for t ≥ t₀, the Residual Life Normed by (1 − F(t))/F′(t) Is Within ε of Π_{0,c} for t ≥ t₀Research Paper
Motivation
The residual life time of a lifetime X at age t is the excess X−t given survival, X>t. How it behaves at great ages is a question in reliability (remaining life of an item that has already lasted long), in insurance and demography (remaining life at old age), and in the peaks-over-threshold method of extreme value statistics, where exceedances over a high threshold are modelled by a generalized Pareto law.
Balkema and de Haan (Residual Life Time at Great Age, Ann. Probab. 2 (1974) 792–804) determined every possible limit law of the suitably normed residual life as t→∞, and their domains of attraction. For continuous limits, the classical sufficient conditions are von Mises' conditions (1936) on the derivative of (1−F)/F′. Section 4 of the paper goes further: it gives inequalities that hold at every finite age t≥t0, not only in the limit. This mission formalizes that finite-t result, the Corollary to Theorem 7.
Timeline: von Mises (1936) gives sufficient conditions for domains of attraction of extreme value laws; Balkema and de Haan (1974) prove the limit theorems for residual life and the finite-t bounds formalized here; Pickands (1975, Ann. Statist. 3, 119–131) proves the corresponding approximation by the generalized Pareto law for excesses, the result now known as the Pickands–Balkema–de Haan theorem.
Setting
Let X be a real random variable with distribution function F. The residual life distribution function at age t is
Ft(x)=P{X−t≤x∣X>t}.
Assume F has a positive, differentiable density F′ for t≥t0, and define the norming function
a(t)=F′(t)1−F(t)(t≥t0),
the reciprocal of the hazard rate. The normed residual life is (X−t)/a(t) given X>t, with distribution function P{(X−t)/a(t)≤x∣X>t}=Ft(xa(t)).
The comparison laws are the distribution functions Π0,c, c∈R, all vanishing for x<0:
for c>0, Π0,c(x)=1−(1+cx)−1/c for x≥0 (a generalized Pareto law);
for c=0, Π0,0(x)=Π(x)=1−e−x for x≥0 (the exponential law);
for c<0, Π0,c(x)=1−(1+cx)−1/c for 0≤x≤∣c∣−1, and 1 beyond (bounded support).
Formalization targets
Goal: the Corollary to Theorem 7
If c≥0 and ε≥0 satisfy ∣c−a′(t)∣≤ε for t≥t0, then
Π0,c(x)−P{a(t)X−t≤xX>t}≤εfor all x and all t≥t0.
Milestones
The bounds (13): if c1≤a′≤c2 on [t0,∞), then 1+c1x≤a(t+xa(t))/a(t)≤1+c2x for t≥t0, x≥0.
σ(u)=u−2(e−u−1+u)=∫01∫0te−usdsdt is positive and decreasing.
Lemma 4: 0≤−(∂/∂c)Π0,c(x)<1 for c>−1, x=0, cx=−1.
∣Π0,c(x)−Π0,c0(x)∣≤∣c−c0∣ for c≥0 and all real c0, x.
The goal is the Corollary because it is the paper's final statement of Section 4: a single parameter c and a single error ε, with no limit taken. Theorem 7 is the stronger two-parameter sandwich it rests on.
Significance
The result. Theorem 7 and its Corollary are a quantitative, non-asymptotic form of the von Mises condition dtdF′(t)1−F(t)→c. If the derivative of the reciprocal hazard stays within ε of c from age t0 on, then at every such age the normed excess distribution is uniformly within ε of the generalized Pareto (or exponential) law Π0,c. Letting ε→0 along t0→∞ recovers convergence to Π0,c, and the bound itself quantifies the error of the generalized Pareto approximation used in threshold-exceedance modelling.
Formalizing it. The result is proved in the paper (1974), with short proofs. To our knowledge no part of it has a machine-checked proof. The mission produces checked versions of the theorem, the corollary and the elementary lemmas about the family Π0,c: its monotonicity and Lipschitz dependence on the parameter c, including across the case change at c=0. Those facts about the generalized Pareto family are reusable in any formal development of extreme value statistics.
Difficulty
The analytic content is elementary, but several steps hide case analysis. The Lipschitz bound in c requires the derivative of Π0,c(x) in c across c=0, where the formula changes from 1−(1+cx)−1/c to 1−e−x, and across the boundary cx=−1 of the support when c<0, where the function is not differentiable. The bound −∂cΠ0,c<1 is not a crude estimate: it reduces to the comparison σ(u)<σ(−ψ) for the function σ(u)=u−2(e−u−1+u), which needs its strict monotonicity on all of R, including u=0 where the closed form is undefined. In Theorem 7 the lower bound 1+c1x in (13) becomes negative for c1<0 and large x; this is exactly where the comparison law Π0,c1 reaches 1, and the argument must handle it. The orientation is easy to get wrong: the upper bound c2 on the derivative gives the lower bound Π0,c2, since Π0,c(x) decreases in c.
Formalization scope
The source is the published Annals of Probability article (DOI 10.1214/aop/1176996548); page numbers are the journal's.
The law of X is a probability measure μ on ℝ, F is Mathlib's cdf μ, and Ft(x)=μ((t,t+x])/μ((t,∞)). The normed probability P{(X−t)/a(t)≤x∣X>t} is Ft(xa(t)).
"Positive, differentiable density for t≥t0" is: for t≥t0, cdf μ has derivative f(t)>0 and f has derivative f′(t), both within [t0,∞); nothing is assumed to the left of t0.
The derivative dtda(t) is a named function a′ with HasDerivWithinAt on [t0,∞); it is the derivative the density hypothesis already provides, so this adds no assumption. Bare deriv is not used.
Completion of Π0,c for c<0. The paper (p. 801) prints the formula only for 0≤x≤∣c∣−1. The formalization sets Π0,c(x)=1 for x>∣c∣−1, as "distribution function" requires and as the proof of Lemma 4 uses ("Π0,c(x) is constant on both components of {c>−1}∖R"). The formula gives 1 at x=∣c∣−1, so the completion is continuous.
Π0,0 is a separate branch (1−e−x), not the formula with 1/0.
σ is defined as ∫01∫0te−usdsdt, and the closed form u−2(e−u−1+u) for u=0 is part of milestone 4. "Decreasing" is stated as strictly decreasing, which is what the proof of Lemma 4 uses (σ(u)<σ(−ψ)).
Lemma 4 states the differentiability of c↦Π0,c(x) at c together with the bound 0≤−d<1 on its derivative d.
The bounds (13) are stated in both printed forms.
No sign condition is added on c1,c2 in Theorem 7; c1 may be any real number, and c−ε in the Corollary may be negative.
A trivializing formalization is ruled out: the conclusion is a bound at every real x and every t≥t0 with a(t)>0, the conditional probability divides by μ((t,∞))>0 (which the density hypothesis implies), and the hypotheses are satisfied by, for example, the exponential law (a≡1, c=0) and the Pareto law 1−(1+x)−α (a(t)=(1+t)/α, c=1/α).
A complete development needs the fundamental theorem of calculus with one-sided derivatives, a change of variables in interval integrals, and calculus of Real.rpow in the exponent parameter. The lemmas on Π0,c and σ are reusable beyond this mission; proofs of any milestone are welcome independently.
R. von Mises, La distribution de la plus grande de n valeurs, Revue Mathématique de l'Union Interbalkanique 1 (1936), 141–160.
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
L. de Haan, On Regular Variation and Its Application to the Weak Convergence of Sample Extremes, Mathematical Centre Tracts 32, Amsterdam, 1970.
Distribution Function Inequalities for Martingales 2: Gundy's Decomposition of an L¹-Bounded Martingale, with One Stopping TimeResearch Paper
Motivation
Many operators of harmonic analysis are bounded on L2 by an orthogonality argument but fail to be bounded on L1; what survives at p=1 is a weak-type estimate λP(∣Tf∣>λ)≤c∥f∥1. For singular integrals the standard route to such an estimate is the Calderón–Zygmund decomposition, which splits a function at height λ into a bounded part and a part supported on a small set. Martingale theory has the same need: square functions, martingale transforms and maximal operators of martingales are bounded on L2 for orthogonality reasons, and their behaviour on L1-bounded martingales is the delicate endpoint.
R. F. Gundy (1968) supplied the martingale analogue: an L1-bounded martingale can be written as the sum of three martingales, one bounded in L2, one whose differences are absolutely summable in L1, and one that is non-zero only on an event of small probability (Gundy 1968). Gundy's construction used several stopping times. In his 1971 Wald Memorial Lectures, published as Distribution Function Inequalities for Martingales (Burkholder 1973), D. L. Burkholder gave a simplified version of the decomposition in which only one stopping time is used, with explicit constants 2, 4 and 1. This mission formalizes that version, Theorem 4.1 of the lectures, together with the facts its proof rests on.
Timeline:
1953. J. L. Doob's Stochastic Processes establishes almost-everywhere convergence of L1-bounded martingales and the maximal inequality.
1966. D. G. Austin proves that the integral of S2(f) over {f∗≤λ} is finite for an L1-bounded martingale (Austin 1966).
1968. Gundy proves the decomposition theorem for L1-bounded martingales, with applications to weak-type estimates.
1973. Burkholder's Lemma 2.1, a refinement of Austin's theorem, yields a one-stopping-time proof of Gundy's decomposition with explicit constants.
Setting
Let (Ω,A,P) be a probability space and A0⊆A1⊆⋯ a nondecreasing sequence of sub-σ-fields of A. A martingale relative to A1,A2,… is a sequence f=(f1,f2,…) of integrable random variables with fnAn-measurable and E(fn+1∣An)=fn. Its difference sequence is d=(d1,d2,…) with fn=∑k=1ndk, i.e. d1=f1, dk=fk−fk−1 (the convention is f0=0).
The maximal function is f∗=supn≥1∣fn∣, the square function is S(f)=[∑k≥1dk2]1/2, and Sn(f) is its n-th partial version. For 0<p<∞,
∥f∥p=n≥1sup∥fn∥p,∥fn∥p=(E∣fn∣p)1/p,
and f is Lp-bounded when ∥f∥p<∞. For λ>0, the exit timeμ=inf{n≥1:∣fn∣>λ} (with inf∅=∞) is the first index at which ∣fn∣ exceeds λ; fμ, fμ−1, Sμ−1(f) denote evaluation at the random index, with f∞=limnfn.
The Lean development names these objects dseq (d), sqFnN/sqFn (Sn(f), S(f)), maxFnN/maxFn (fn∗, f∗), pNorm (∥f∥p), exitTime (μ) and valAt/sqFnAt (evaluation at an index in {0,1,…,∞}), all in the namespace BurkholderDFI.Gundy.
Formalization targets
Goal: Theorem 4.1 (p. 23)
For every L1-bounded martingale f and every λ>0 there are martingales X,Y,Z relative to the same σ-fields, with difference sequences x,y,z, such that
The three bounds hold together; each alone is trivial (f=0+0+f satisfies the first two, f=0+f+0 the first and last).
Milestones
Doob's facts (cited, §1, p. 20). An L1-bounded martingale or nonnegative submartingale converges almost everywhere, and ∥fμ∥1≤∥f∥1 for every stopping time μ.
(1.5) (p. 20).λpP(f∗>λ)≤∥f∥pp for 1≤p<∞.
Lemma 2.1 (p. 21). For the exit time μ above λ,
∥Sμ−1(f)∥22+∥fμ−1∥22≤2Efμfμ−1≤2λ∥f∥1,
with equality on the left for martingales.
Significance
The result. The decomposition is the standard device for passing from L2 to weak-type (1,1) estimates for martingale operators: an operator that is bounded on L2, controlled by total variation on the second piece, and local in the sense that it vanishes where the third piece vanishes, is of weak type (1,1). Applications of the decomposition are given in Gundy's papers of 1968 and 1969 (On the class LlogL, martingales, and singular integrals, Studia Math. 33), which the lectures cite for this purpose. The explicit constants 2, 4, 1 make every such weak-type constant explicit.
Formalizing it. The theorem is classical and proved; the remaining work is its formalization. As far as is known, no machine-checked proof of Gundy's decomposition, of Lemma 2.1, or of the weak-type maximal inequality in the form (1.5) for real martingales exists in Mathlib or on this platform. Mathlib provides almost-everywhere convergence of L1-bounded submartingales and Doob's maximal inequality for nonnegative submartingales; the stopped-value bound for unbounded stopping times, the square-function identity of Lemma 2.1 and the decomposition itself are new. The milestones are shared with other missions of this series (Lemma 2.1 is also used for Burkholder's weak-type square function inequality and his exponential estimates), so each proof is reused.
Difficulty
The obvious attempt imitates the Calderón–Zygmund cut directly: truncate f at height λ, or stop it when it first exceeds λ. Neither produces the required pieces. Truncation destroys the martingale property, and whatever restores it adds terms that must themselves be controlled in the right norm. Stopping at the exit time produces a martingale bounded by λ only up to the overshoot at the exit, which is not bounded and lives on an event that is small only in probability. The L2 estimate (4.2) is therefore not a consequence of boundedness; it needs a quantitative square-function bound for the martingale up to the exit, which is the content of Lemma 2.1, and that lemma in turn needs the limit f∞ and the stopped values fμ on {μ=∞} — so Doob's convergence theorem cannot be avoided.
Formalization scope
Processes are functions f : ℕ → Ω → ℝ with a Mathlib Filtration ℕ and Mathlib's Martingale/Submartingale. The paper indexes from 1; Lean's index 0 is never read by any quantity in the statements, which use the paper's convention f0=0. Mathlib's martingale definition additionally constrains f0=E(f1∣A0); this is no restriction, since every martingale indexed from 1 extends this way. The goal asserts that X,Y,Z are Mathlib martingales for the same filtration as f, and the identity fn=Xn+Yn+Zn is required for n≥1.
Further committed conventions:
S(f), f∗, Z∗, ∥⋅∥p and all expectations of nonnegative quantities take values in [0,∞] (lower Lebesgue integral), so no infinite value is silently replaced by 0.
∥X∥2=supn≥1∥Xn∥2, not the norm of a limit; Z∗=supn≥1∣Zn∣; ∥∑k∣yk∣∥1 is the integral of the series with y1=Y1.
The exit time takes values in N∪{∞} and μ−1 is truncated, with ∞−1=∞; the a.e. limit f∞ is a function supplied with its convergence hypothesis (Lemma 2.1) or asserted to exist (Doob's facts).
"Nonnegative submartingale" means fn≥0 almost surely for n≥1.
Ω is an arbitrary measurable space with a probability measure.
A formalization in which the existential could choose its own filtration, or in which the norms were Bochner integrals (which vanish on non-integrable functions), would trivialize the goal; both are excluded by the statement above.
Infrastructure needed: stopped values at unbounded stopping times and their L1 bound; square-function identities for stopped martingales (orthogonality of martingale differences up to a stopping time); conditional-expectation compensators of predictable truncations. The definitions file is shared with the other eight missions of this series and is reusable for any work on discrete-time square and maximal functions. Proofs of the milestones, alternative arguments, and sharper constants are all welcome.
Selected references
D. L. Burkholder, Distribution function inequalities for martingales, The Annals of Probability 1(1), 19–42, 1973. https://doi.org/10.1214/aop/1176997023
R. F. Gundy, A decomposition for L¹-bounded martingales, The Annals of Mathematical Statistics 39(1), 134–138, 1968. https://doi.org/10.1214/aoms/1177698510
D. G. Austin, A sample function property of martingales, The Annals of Mathematical Statistics 37(5), 1396–1397, 1966. https://doi.org/10.1214/aoms/1177699283
J. L. Doob, Stochastic Processes, Wiley, New York, 1953.
Inventory Control and Price Theory 2: For Style Goods with Uniform Demand Linear in Unit Profit, Expected Profit Is Maximized at P* = ((P₀ − 3L) + √((3L − P₀)² + 16P₀L))/4Research Paper
Pricing and stocking a perishable good
A retailer of style goods — seasonal clothing, newspapers, anything that loses most of its value when the selling period ends — must decide before the season how many units to stock, knowing demand only as a probability distribution. Units left over are liquidated at a loss; units short are sales forgone. This single-period trade-off is the newsvendor problem, and its solution, the critical-fractile rule, is one of the first results of stochastic inventory theory.
In practice the retailer also sets the price, and the price moves the demand distribution. T. M. Whitin's 1955 paper Inventory Control and Price Theory (DOI 10.1287/mnsc.2.1.61) is one of the first to put the two decisions into one model. Its Section 3 restates the critical fractile for a given price, then lets the demand distribution depend on the unit profit and asks for the unit profit and stock that jointly maximize expected profit. For one explicit family of demand laws it solves the problem in closed form. This joint price-setting newsvendor problem later grew into a large literature (Mills 1959, Karlin and Carr 1962, and the survey of Petruzzi and Dada 1999), which cites Whitin's model as its starting point.
Setting
There is one selling period. Stock x≥0 is on hand at its start. Each unit sold earns the unit profitP; each unit left over at the close is liquidated at the unit liquidation lossL>0.
Demand depends on the unit profit through its mean. The mean demand is the linear function
μ(P)=k(P−P0),
where P0>0 is the unit profit at which demand falls to zero and k is the reciprocal of the slope of the line relating unit profit and amount demanded. Demand decreases in P, so k<0, and the admissible unit profits are 0<P<P0. At unit profit P, demand X has the rectangular (uniform) distribution on [0,2μ(P)].
The expected marginal profit of the x-th unit is f(x)=PPr(X≥x), the probability that it sells weighted by the unit profit, and the expected marginal loss is g(x)=LPr(X<x), the probability that it does not sell weighted by the liquidation loss. The expected profit of stocking x units at unit profit P is the area between them,
E(P,x)=∫0x[f(t)−g(t)]dt,
which is the expected profit on sales minus the expected liquidation loss. The equilibrium stock is
xM(P)=−P+L2kP(P0−P).
Formalization targets
Goal: the optimal unit profit (Eq. (16))
With
P∗=4(P0−3L)+(3L−P0)2+16P0L,
one has 0<P∗<P0, and for all 0<P<P0 and all x≥0
E(P,x)≤E(P∗,xM(P∗)),
with equality only at (P,x)=(P∗,xM(P∗)). The formula for P∗ involves only P0 and L: the optimal unit profit is independent of the demand slope k.
Milestones, in the order of the paper
Eq. (8) — for a general demand law, profit is maximized at the stock whose probability of being sold is L/(G+P+L) (G a goodwill loss per unit short). This is already proved on the platform as SupplyChainTheory.chain_optimal_fractile and enters as a reference.
Eq. (11) — on 0≤x≤2μ(P), f(x)=2k(P0−P)Px+P and g(x)=2k(P0−P)−Lx.
Eqs. (10), (13) — on the same range, E(P,x)=4k(P0−P)P+Lx2+Px.
Eqs. (9), (12) — xM(P) lies in (0,2μ(P)), is the only stock with f=g, and is the unique maximizer of E(P,⋅) over x≥0.
Eq. (14) — E(P,xM(P))=−kP2(P0−P)/(P+L).
Eq. (15) — the derivative of P↦E(P,xM(P)) vanishes exactly when 2P2+(3L−P0)P−2P0L=0.
Footnote 7 — the elasticity of mean demand at P∗ equals P∗/(P0−P∗), and it tends to 1 as P0→∞ with L fixed.
Significance
The goal is a complete closed-form solution of a joint pricing-and-stocking problem under uncertainty: one price and one stock level, explicitly, with a proof that no other pair does as well. The independence of the optimal unit profit from k says that, in this family, the scale of the market does not affect the optimal margin; only the ratio of the zero-demand margin to the liquidation loss does. Footnote 7 relates the optimum to the classical monopoly rule (unit elasticity) in the limit of a negligible liquidation loss.
Whitin's derivation is calculus on closed forms and was never stated as a theorem with hypotheses. He calls the stationary point of (15) "the optimal P" without checking that it is a maximum, that it is global, or that the stock beyond the support of demand cannot do better. The formalization fixes all three: the goal is a statement of global, unique optimality over the whole admissible region. No machine-checked proof of this result, of the price-setting newsvendor, or of the uniform-demand newsvendor exists on the platform; the general critical-fractile rule (8) is the only part of Section 3 already proved there.
Difficulty
The expected profit is defined from the demand law, so the closed forms (11) and (13) must be derived from the uniform distribution — probabilities of half-lines under a conditioned Lebesgue measure, and an interval integral of the resulting piecewise-linear functions. They hold only on the support of demand; beyond 2μ(P) the marginal profit is 0 and the marginal loss is L, and the global statement must cover that region too.
The pricing step is where the paper is loose. Setting the derivative of (14) to zero gives a quadratic with two real roots, and a stationary point of a function on an open interval need not be its maximum. The goal asks for the global maximum over 0<P<P0 and its uniqueness, and asks that it be the global maximum of the joint problem, not only of the reduced function P↦E(P,xM(P)).
Formalization scope
All quantities are real numbers; stock is continuous, as in the paper's calculus. Mean demand is meanDemand k P₀ P = k * (P - P₀) and the paper's sign convention is kept: k<0 is a hypothesis of every statement, as are L>0 and 0<P<P0 (or P0>0 where P is not fixed). The demand law is ProbabilityTheory.cond volume (Set.Icc 0 (2 * μ)); f and g use Pr(X≥x) and Pr(X<x); E is an interval integral defined for every x.
The paper's loose phrases are read as follows. "Equation (9) may be solved for x" becomes uniqueness of the root of f−g on x≥0; "the equilibrium value of x" becomes the unique maximizer of E(P,⋅) over x≥0; "differentiating (14)" becomes a HasDerivAt statement with the explicit derivative for P↦E(P,xM(P)), together with the equivalence with (15); "solving (15) gives the optimal P" becomes the goal's joint global maximum with equality case; "independent of k" is the shape of the formula for P∗; "as P0 becomes large relative to L, the optimal elasticity approaches unity" becomes a limit as P0→∞ with L fixed.
Defining E by the closed form (13) instead of from the demand law would make milestones (11) and (13) tautologies and would change the model beyond the support of demand; this formalization rules that out. The paper's goodwill loss G belongs to the fixed-price model of (8) and does not appear in E.
A complete development needs the uniform distribution's tail probabilities, interval integrals of piecewise-linear functions, and one-variable calculus for the quadratic and the cubic P2(P0−P)/(P+L); the uniform-law lemmas are reusable for any newsvendor problem with uniform demand. Proofs of the milestones, and alternative arguments for the goal, are welcome.
E. S. Mills, Uncertainty and Price Theory, Quarterly Journal of Economics 73(1), 116–130, 1959. https://doi.org/10.2307/1883828
S. Karlin and C. R. Carr, Prices and Optimal Inventory Policy, in Arrow, Karlin and Scarf (eds.), Studies in Applied Probability and Management Science, Stanford University Press, 159–172, 1962.
N. C. Petruzzi and M. Dada, Pricing and the Newsvendor Problem: A Review with Extensions, Operations Research 47(2), 183–194, 1999. https://doi.org/10.1287/opre.47.2.183
L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Eq. (14.8) (the critical fractile, formalized on the platform as SupplyChainTheory.chain_optimal_fractile).
Concentration of Measure and Isoperimetric Inequalities in Product Spaces VII: Bin Packing — P(|B_N − M| ≥ 1 + u) ≤ 8 exp(−u²/(64 N E X₁²))Textbook
Motivation
Bin packing asks for the minimum number of unit-capacity bins into which a list of items with sizes in [0,1] can be packed. It is one of the basic NP-hard problems of combinatorial optimization and operations research, and its stochastic version, where the item sizes are random, has a large literature (Coffman and Lueker, Probabilistic Analysis of Packing and Partitioning Algorithms, 1991). A first question about the random optimum is how strongly it concentrates around its typical value.
A short history of that question, as Talagrand recounts it on p. 151 of the source:
Late 1980s. Martingale methods (Rhee–Talagrand; McDiarmid, On the method of bounded differences, 1989) give P(∣BN−EBN∣≥t)≤2exp(−2t2/N) for N i.i.d. items. The exponent ignores the item sizes.
1994. Since BN behaves like ∑iXi when the items are small, the right exponent should be of order t2/(NvarX1), or at least t2/(NEX12). The second form was proved by W. Rhee (Inequalities for the Bin Packing Problem III, Optimization 29 (1994), 381–385) using non-trivial bin-packing theory.
1995. Talagrand (Publ. Math. IHÉS 81, Chapter 6) derives the t2/(NEX12) bound in a few lines from his convex hull distance inequality, using only trivial facts about bin packing.
This mission formalizes that chapter.
Setting
Let Ω=[0,1] and N≥0. A point x=(x1,…,xN)∈ΩN is a list of item sizes. A packing into k bins is a map σ:{1,…,N}→{1,…,k} with ∑i:σ(i)=jxi≤1 for every bin j. The bin packing numberBN(x) is the least k for which a packing exists (N bins always suffice; BN=0 when N=0).
Further notation, as in Lean (TalagrandConc.BinPacking):
∥x∥2=(∑i≤Nxi2)1/2 (l2Norm);
for real a, the level setA(a)={y∈ΩN:BN(y)≤a} (levelSet);
for A⊆ΩN and x∈ΩN, UA(x)={s∈{0,1}N:∃y∈A,si=0⇒xi=yi}, its convex hull VA(x)⊆RN, and the convex hull distancefc(A,x), the Euclidean distance from 0 to VA(x), valued in [0,+∞] (U, V, convexDist);
μ a probability measure on [0,1], P=μ⊗N the product probability on [0,1]N, whose coordinates X1,…,XN are i.i.d. items with law μ, and EX12=∫ω2dμ(ω) (secondMoment);
M is a median of BN if P(BN≤M)≥1/2 and P(BN≥M)≥1/2 (IsMedian).
Formalization targets
Goal: Theorem 6.5 (p. 152)
For every median M of BN and every u with 0≤u≤82NEX12,
P(∣BN(X1,…,XN)−M∣≥1+u)≤8exp(−64NEX12u2).
Milestones
Lemma 6.1 (p. 151): BN(x1,…,xN)≤2∑i≤Nxi+1.
Lemma 6.2, Eq. (6.2) (p. 151): for a>0 and all x, BN(x)≤a+2∥x∥2fc(A(a),x)+1.
The goal keeps the paper's explicit constants 8, 64 and 82.
Significance
The result. Theorem 6.5 shows that the random optimum BN fluctuates on the scale NEX12 rather than N. For small items (EX12→0) this is much sharper than the martingale bound, and it is the scale of the fluctuations of ∑iXi, which is a lower bound on BN. Chapter 6 is also the first application in Part II of the paper, and its scheme recurs in the later chapters: a deterministic lemma relating the functional to fc of a level set, a tail bound for an auxiliary factor, and Theorem 4.1.1 to finish.
Formalizing it. The result is proved (Talagrand 1995; Rhee 1994 by another route). No machine-checked proof is known to exist: the platform has no random bin packing statement and no general-Ω form of Talagrand's convex distance inequality. A complete development gives a checked concentration bound for an NP-hard combinatorial optimum, plus a bin-packing layer (the optimum as a minimum over assignments, Lemma 6.1, monotonicity in the item set) that other formalizations can reuse.
Difficulty
The obvious route is a bounded-differences argument: changing one item changes BN by at most one. That route yields only the exponent t2/N, because it cannot see that small items change little. Replacing the Hamming geometry by one weighted by item sizes is the point. The weights xi depend on the point x itself, so no fixed weighted Hamming distance works. The convex hull distance fc controls every weighting at once, and the resulting factor ∥x∥2 is random and must be controlled separately (Lemma 6.3). In Lean, the further difficulty is the probabilistic input: Theorem 4.1.1 / Eq. (4.1.2) for a general (non-finite) Ω=[0,1] is not available, and the convex-hull minimax step (Lemma 4.1.2) behind Lemma 6.2 must be formalized too.
Formalization scope
Ω=[0,1] is Mathlib's unitInterval. Coordinates are Fin N (0-based). P is Measure.pi (fun _ : Fin N => μ) for μ : Measure unitInterval with IsProbabilityMeasure μ. No density is assumed.
BN is sInf {k : ℕ | IsPacking x k}, an exact minimum over assignments Fin N → Fin k, not a heuristic such as First Fit. Zero-size items are allowed, as in the paper.
fc is an infimum in ℝ≥0∞ with the Euclidean norm written out (+∞ for an empty set; Mathlib's default norm on Fin N → ℝ is the sup norm). Lemma 6.2 is stated in ℝ≥0∞.
Probabilities are ℝ≥0∞-valued. Every event in the statements ({BN≤a}, {∥x∥2≥c}) is Borel. The paper's measurability convention matters only inside the proofs.
Theorem 6.5 makes the paper's implicit u≥0 explicit, and it is stated for every median, not for a chosen one. Lean's u2/0=0 matters only in the degenerate case NEX12=0, which forces u=0. There the bound is 8.
Not admissible: weakening the range of u (the bound fails for large u when EX12 is small), replacing EX12 by 1, or defining BN through a heuristic or a real-valued sInf.
Infrastructure needed: Talagrand's inequality (4.1.2) on a general product probability space (posed on the platform only in a finite-alphabet form) and Lemma 4.1.2. Both are welcome as separate contributions. A Chebyshev/exponential-moment bound gives Lemma 6.3.
Selected references
M. Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), 73–205, Chapter 6, pp. 151–152. https://doi.org/10.1007/BF02699376
W. Rhee, Inequalities for the Bin Packing Problem III, Optimization 29 (1994), 381–385.
C. McDiarmid, On the method of bounded differences, Surveys in Combinatorics 1989, LMS Lecture Note Series 141, Cambridge Univ. Press, 148–188. https://doi.org/10.1017/CBO9781107359949.008
E. G. Coffman Jr., G. S. Lueker, Probabilistic Analysis of Packing and Partitioning Algorithms, Wiley, 1991.
Stochastic Processes Occurring in the Theory of Queues and their Analysis by the Method of the Imbedded Markov Chain: In GI/M/s, a Positive Wait Is Exponential and a Positive Queue GeometricResearch Paper
Motivation
A many-server queue in which customers arrive at the epochs of a renewal process and are served for exponential times is the basic model of a telephone exchange, a call centre, or a bank of identical machines. Its continuous-time queue-length process is not Markovian unless the arrivals are Poisson, so Erlang's birth–death formulas for M/M/s do not apply. In 1953 D. G. Kendall showed how to analyse such systems by the method of the imbedded Markov chain: observe the system only at the arrival epochs, where the number of customers present does form a Markov chain, and read the equilibrium behaviour off that chain (Kendall 1953).
Timeline:
Erlang (1908–1929) treated M/M/s, where the queue length is itself Markovian.
Kendall (1951) treated M/G/1 by a chain imbedded at departure epochs.
W. L. Smith (Kendall's ref. [19]) observed that for a single server, under restrictions on the input law, exponential service gives an exponential waiting time apart from an atom at zero.
Kendall (1953), this paper, treated GI/M/s for every input law and every number of servers s, and showed that Smith's restrictions are unnecessary.
Foster (1953) gave the criterion for ergodicity of a denumerable chain through a summable invariant vector, which is the step Kendall's argument relies on.
Setting
Customers arrive with independent inter-arrival times of law A on [0,∞) and mean a, 0<a<∞. There are s≥1 servers and a single queue served first come, first served. Service times are independent of one another and of the input, negative-exponential with mean b, 0<b<∞. The relative traffic intensity is ρ=b/(sa).
The state of the imbedded chain at an arrival epoch is the number i∈{0,1,2,…} of persons found ahead (waiting or in service) by the arriving customer. Its transition matrix P=[pij] of eq. (8) is given in three blocks, written with the death-process probabilities [n∣m]=∫0∞(nm)(1−e−u/b)ne−(m−n)u/bdA(u) of (9)–(10), the probabilities {n∣s;m} of (11)–(12), and the Poisson probabilities (n∣s)=∫0∞e−su/b(su/b)n/n!dA(u) of (13)–(14):
The queue size met by an arrival is Q=max(i−s,0). The waiting timew is, given i, the sum of k=max(i−s+1,0) independent exponential variables of mean b/s.
Formalization targets
Goal: Theorem IV (p. 350)
When ρ<1 the chain has a limiting distribution π, and with λ the root of F(λ)=λ in (0,1) and c=b/(s(1−λ)),
with both conditioning events of positive probability. The goal fixes no constant beyond those the theorem names: λ and c are determined by A, b and s.
Milestones
The matrix is stochastic (p. 349), and the chain is irreducible and aperiodic (p. 347).
The coefficients (n∣s) are positive, sum to one and have mean 1/ρ; F(λ)=∑n(n∣s)λn; for ρ<1 the equation F(λ)=λ has a unique root in (0,1) (p. 348–349).
For the trial vector x=[μ0,…,μs−2,1,λ,λ2,…] (15): the invariance equations for j≥s are equivalent to F(λ)=λ; those for 1≤j≤s−1 determine the μ's; the one for j=0 follows from the row sums (pp. 348–349).
A nonnull absolutely summable invariant vector makes the chain ergodic, and normalized it is the limiting distribution (p. 348).
Theorem I: for ρ<1 the chain is irreducible and ergodic, and πj=Cλj−(s−1) for j≥s−1.
Theorem II: Pr(Q=0)=α=∑μ+1/(1−λ)∑μ+1+λ and Pr(w=0)=β=∑μ+1/(1−λ)∑μ+1.
Theorem III: E(Q)=(1−α)/(1−λ) and E(w)/b=(1−β)/(s(1−λ)).
Eq. (27): for M/M/s the root is λ=ρ.
Significance
Theorem IV says that, whatever the input law and the number of servers, the part of the equilibrium waiting-time law away from zero is exponential and the part of the queue-size law away from zero is geometric, both governed by the single number λ. All equilibrium quantities of GI/M/s (Theorems II–III and the delay distribution) then reduce to computing λ from a one-dimensional equation and the finitely many μ's from a triangular linear system. This is the standard textbook treatment of G/M/c queues and the template for many later matrix-geometric results.
The results are proved in the paper, partly by appeal to Feller's theory of denumerable chains and to "tedious but elementary" verifications. None of them is machine-checked. The mission formalizes the paper's chain of argument: the explicit transition matrix, its stochasticity, the reduction of the invariance equations, the passage from a summable invariant vector to the limiting distribution, and the computation of the laws of Q and w from it. The single-server special cases are posed separately on the platform (QueueingFundamentals.GM1.arrival_point_geometric, GM1.waiting_time_cdf, GM1.arrival_point_means, GM1.mean_waiting_times, FosterQueues.GIM1.gim1_classification); they do not cover s≥2.
Difficulty
The obvious route is to guess the geometric tail and check it against the balance equations. For j≥s this works, but the rows i≥s of the block B involve the convolution integral (11), and the equations for j<s couple the geometric tail to the boundary terms μ0,…,μs−2. Showing these are solvable, and that the row sums of the three-block matrix equal one, requires handling (11) explicitly. The second obstacle is the limit theorem itself: an invariant vector does not, by itself, give pijn→πj. That step needs Feller's dichotomy for irreducible aperiodic denumerable chains, which Mathlib does not provide. Finally, the conditional waiting-time law requires summing an Erlang mixture with geometric weights in closed form.
Formalization scope
The queue process itself is not formalized. The chain is defined by its transition matrix (8)–(14), and w by the Erlang mixture of p. 349, as the paper derives both by a modelling argument. A chain is any TransitionMatrixP of the published Markov-chain vocabulary with P.p = gimsMatrix s A b; states are 0-based. "Ergodic" is Feller's: Aperiodic ∧ PositiveRecurrent. The limiting distribution is asserted as Tendsto (P.stepProb n i j) atTop (𝓝 (π j)) for all i,j, not as a stationary vector. The input law satisfies the published IsInterarrivalLaw A a⁻¹ (a probability measure carried by [0,∞), integrable, mean a), and (n∣s) is the published serviceProb A (s/b) n. Conditional laws are stated multiplied out, together with positivity of the conditioning probabilities. Every series identity is stated with HasSum.
Trivializing formalizations are ruled out: λ is tied to F(λ)=λ on (0,1) rather than free; π is the limiting distribution of P, asserted to exist, not a probability vector handed to the statement; the conditioning events are asserted to have positive probability; the matrix is the GI/M/s matrix, not the GI/M/1 one; and the μ's of Theorems II–III are characterized by the invariance equations, never defined from π.
A complete development needs: Feller's limit theorem for irreducible aperiodic positive recurrent chains (reusable well beyond this mission), Foster's sufficiency criterion (referenced, open), Fubini for the stochastic-matrix identities, parametric interval integrals for the block B, and Erlang distribution functions. Contributions to the general Markov-chain milestones are as welcome as those specific to GI/M/s.
Selected references
D. G. Kendall, Stochastic processes occurring in the theory of queues and their analysis by the method of the imbedded Markov chain, Ann. Math. Statist. 24(3), 338–354, 1953. https://doi.org/10.1214/aoms/1177728975
F. G. Foster, On the stochastic matrices associated with certain queuing processes, Ann. Math. Statist. 24(3), 355–360, 1953. https://doi.org/10.1214/aoms/1177728976
W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, Wiley, 1950, ch. 15.
W. L. Smith, On the distribution of queueing times, Proc. Cambridge Philos. Soc. 49, 449–461, 1953 (cited by Kendall as "to be published", ref. [19]).
D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §5.3.
Existence of Correlated Equilibria III: A Game with Compact Hausdorff Strategy Spaces and Continuous Payoffs Has a Countably Additive Correlated EquilibriumResearch Paper
Motivation
A correlated equilibrium (Aumann 1974) describes play in a game where a mediator draws a profile of recommended actions from a joint distribution and tells each player only that player's own recommendation; the distribution is an equilibrium when no player gains, on average, by departing from the recommendation. Correlated equilibria are the natural outcome of regret-minimizing learning dynamics and the solution concept underlying much of algorithmic game theory, so it matters in which games they are guaranteed to exist.
For finite games existence follows from Nash's theorem, since every Nash equilibrium is a correlated one. Hart and Schmeidler (1989) gave a direct proof based on linear duality, with no fixed-point theorem, and then extended it beyond finite games. This mission formalizes the last and most general of their three existence theorems: games with arbitrarily many players whose strategy spaces are compact Hausdorff spaces.
Timeline.
1952: Fan and Glicksberg prove fixed-point theorems that yield Nash equilibria, hence correlated equilibria, for continuous games on compact strategy spaces.
1969: Peleg proves existence of Nash equilibria for games with infinitely many players, finite strategy sets and continuous payoffs.
1987: Aumann characterizes correlated equilibrium as Bayesian rationality (Econometrica 55).
1989: Hart and Schmeidler prove existence of correlated equilibria by a separation argument: Theorem 1 for finite games, Theorem 2 for infinitely many players with finite strategy sets, Theorem 3 for compact Hausdorff strategy spaces (Math. Oper. Res. 14).
Setting
A game consists of a nonempty set N of players, possibly uncountable; for each player i∈N a nonempty set Si of pure strategies; and for each player a payoff function hi:S→R on the set of strategy profiles S=∏j∈NSj. For a profile s and a strategy ti∈Si, (s−i,ti) denotes the profile obtained from s by replacing player i's coordinate with ti; thus hi(s)=hi(s−i,si).
In this mission each Si is a compact Hausdorff space with its Borel σ-algebra Σi, the profile space S carries the product topology, and Σ is the Borel σ-algebra of S. The product σ-algebra Σ0 generated by the Σi is contained in Σ, and the inclusion may be strict when S is not metrizable (the paper's footnote 13).
Let p be a probability measure on (S,Σ). Think of p as the mediator's distribution; player i learns the coordinate si of the drawn profile. A deviation of player i is a Σi-measurable map ζi:Si→Si that replaces each recommendation by an action. The measure p is a correlated equilibrium with respect to {Σi}i∈N and Σ when, for every player i and every deviation ζi,
∫S[hi(s−i,si)−hi(s−i,ζi(si))]dp(s)≥0.(4)
The left side is the expected gain from obeying the recommendation instead of following ζi.
Formalization targets
Goal: Theorem 3
If every Si is compact Hausdorff and every hi is continuous on S with the product topology, then
∃pprobability measure on (S,Σ)such that (4) holds for all i∈N and all Σi-measurable ζi.
"Countably additive" in the paper's statement is automatic: p is a measure.
Milestones, in the order of the proof
Every f-set game has a correlated equilibrium. An f-set is a product T=∏iTi of finite nonempty sets Ti⊆Si with Ti a singleton for all but finitely many i; the game ΓT restricts each player to Ti, and its correlated equilibrium qT is a finitely supported probability on S.
On a compact Hausdorff space, every net of probability measures has a regular probability measure as a cluster point for the topology induced by the continuous functions.
For a regular probability p on S and a Borel set Ri⊆Si, there are a closed Fi⊆Ri and an open Gi⊇Ri with p((Gi∖Fi)×S−i)<ε: the marginal of a regular measure is regular.
The special case. A regular cluster point p of the qT satisfies (4) for every deviation that equals a fixed ti on a Borel set Ri and the identity elsewhere.
For continuous hi and ε>0, Si has a finite Borel partition A1,…,AK with ∣hi(s−i,a)−hi(s−i,b)∣<ε for a,b in the same piece and every s−i.
The general case. If (4) holds for all deviations of the special form, it holds for every Borel deviation.
An optional milestone records the remark on p. 23 that, for a finite strategy set Si, condition (4) for player i is equivalent to the earlier condition (3), one inequality per recommendation ri and alternative ti.
Significance
The result. Theorem 3 guarantees correlated equilibria, with a genuine (countably additive) probability measure, in every continuous game on compact strategy spaces, however many players there are. It also justifies taking Σ to be the full Borel σ-algebra rather than the smaller product σ-algebra, so that every Borel-measurable deviation rule is allowed. Nash existence under the same hypotheses (Fan 1952, Glicksberg 1952) implies existence of correlated equilibria too, but through a fixed-point theorem; the proof here uses only finite-dimensional duality and compactness.
Formalizing it. The theorem is classical and its proof is published; nothing here is open. To our knowledge no machine-checked proof of Theorem 3, or of any existence result for correlated equilibria in infinite games, exists. Finite-game existence results are on the platform (AGT.nash_existence; the correlated-equilibrium encodings of Aumann 1987 and Foster and Vohra 1997, and AGT.swap_regret_correlated_equilibrium). The formalization would add reusable measure-theoretic tools on compact products: the regular cluster point of a net of probability measures, the regularity of marginals, and uniform partitions for continuous functions on a product.
Difficulty
The obvious argument is the one that proves Theorem 2: approximate the game by finite games ΓT, take correlated equilibria qT, extract a weak-* cluster point p, and pass the inequalities of ΓT to the limit. Passing to the limit works only for integrands that are continuous in s, because p is a cluster point against continuous functions only. The integrand of (4) is hi(s)−hi(s−i,ζi(si)), and ζi is merely Borel measurable, so this integrand need not be continuous and the limit step fails. Restricting to continuous deviations would avoid the difficulty but would prove a weaker theorem. Two further points need care: on a non-metrizable product the Borel σ-algebra is larger than the product σ-algebra, and the f-sets ordered by inclusion are not a directed set.
Formalization scope
The profile space is a type synonym Profile S of ∀ i, S i carrying the product topology and the instance borel (Profile S), so measures on S live on the Borel σ-algebra Σ and not on Mathlib's product σ-algebra MeasurableSpace.pi (=Σ0). The pair (s−i,ti) is Function.update s i t. Players form a type ι with Nonempty ι; each S i is nonempty, compact and Hausdorff with BorelSpace (S i); payoffs are h : ι → Profile S → ℝ with each h i continuous. Deviations are all maps ζ : S i → S i with Measurable ζ.
The predicate IsCorrelatedEq h μ requires IsProbabilityMeasure μ and, for each player and measurable deviation, both integrability of the integrand and nonnegativity of its integral. The integrability clause prevents a trivializing reading in which a non-integrable integrand, whose Lean integral is 0, satisfies (4) vacuously; restricting deviations to continuous maps, or using the product σ-algebra, would also change the theorem and is ruled out.
The f-set net is indexed by the f-sets containing a fixed profile s^, which are directed; the paper's "ordered by inclusion of the sets T" over all f-sets is not directed, and anchoring repairs this without affecting any statement of the paper. A correlated equilibrium qT of ΓT is encoded by its finite support and weights (IsFSetCE). The special case is stated for a regular cluster point of the qT given by these constructed objects, not for an arbitrary measure.
A complete development needs Banach–Alaoglu or the compactness of probability measures on a compact space, the Riesz–Markov–Kakutani representation (RealRMK), regularity of measures (Measure.Regular), Urysohn's lemma, and uniform continuity on compact spaces, all available in Mathlib in some form. Proofs of any milestone, including the general-purpose milestones 2, 3 and 5, are welcome.
Selected references
S. Hart and D. Schmeidler, Existence of Correlated Equilibria, Mathematics of Operations Research 14(1), 18–25, 1989. https://doi.org/10.1287/moor.14.1.18
R. J. Aumann, Correlated Equilibrium as an Expression of Bayesian Rationality, Econometrica 55(1), 1–18, 1987. https://doi.org/10.2307/1911154
B. Peleg, Equilibrium Points for Games with Infinitely Many Players, Journal of the London Mathematical Society s1-44, 292–294, 1969. https://doi.org/10.1112/jlms/s1-44.1.292
I. L. Glicksberg, A Further Generalization of the Kakutani Fixed Point Theorem, with Application to Nash Equilibrium Points, Proceedings of the AMS 3, 170–174, 1952. https://doi.org/10.1090/S0002-9939-1952-0046638-5
Contact Interactions on a Lattice I: A Contact Process with (2d − 1)λₖ < kμ Dies Out from Every Finite Initial SetResearch Paper
Motivation
The contact process is the basic model of an infection spreading on a lattice: each infected site recovers at a constant rate, and each healthy site becomes infected at a rate that depends on how many of its neighbours are infected. It was introduced by T. E. Harris in Contact Interactions on a Lattice (Ann. Probab. 2, 1974), and it became one of the central examples of interacting particle systems, alongside the voter model and the stochastic Ising model (Liggett, Interacting Particle Systems, 1985, Ch. VI). Its main question is whether a finite infection dies out with probability one or survives forever with positive probability, and how that answer depends on the rates.
Harris's paper gives the first answers. It shows that, under natural conditions on the rates, the probability of survival is monotone, subadditive and submodular as a function of the initial set, and it uses these properties to prove a condition for certain extinction: Theorem 7.1. For the linear contact process (recovery rate 1, infection rate λ per infected neighbour) the condition is (2d−1)λ<1. Holley obtained Theorem 7.1 by different methods at about the same time (footnote 4, p. 981); Holley and Liggett (Ann. Probab. 3, 1975) later developed the duality theory of such processes.
Setting
Let Zd be the d-dimensional integer lattice, d≥1. Sites x,y are neighbours, x∼y, if ∑i∣xi−yi∣=1; Nx is the set of the 2d neighbours of x. A configuration is a finite set ξ⊂Zd of infected sites; Ξ0 is the set of all of them, ξ(Nx)=∣ξ∩Nx∣, and x∼ξ means x∈/ξ and x has a neighbour in ξ.
The parameters are a recovery rate μ≥0 and infection rates λ0=0,λ1,…,λ2d≥0. The contact process {ξt} started from a finite set is the continuous-time Markov chain on Ξ0 that leaves ξ at rate
qξ=μ∣ξ∣+x∼ξ∑λξ(Nx)(4.4)
and jumps to ξ∖x (x∈ξ) at rate μ and to ξ∪x (x∼ξ) at rate λξ(Nx) (4.5). The empty set is absorbing. Write Pt(ξ,η) for its transition function, r(ξ,η)=qξη/qξ for the transition matrix of its imbedded jump chain, and
The process is increasing, subadditive or submodular if, for all ξ,η and t≥0, respectively pt(ξ)≤pt(ξ∪η), pt(ξ∪η)≤pt(ξ)+pt(η), or pt(ξ∪η)+pt(ξ∩η)≤pt(ξ)+pt(η) ((5.2)–(5.4)).
Formalization targets
Goal: Theorem 7.1 (p. 981)
If
(2d−1)λk<kμ,k=1,…,2d,
then
p∞(ξ)=0for every finite ξ⊂Zd.
Milestones, in the order of the paper
Theorem 4.3 (p. 975): from a finite set the process has finitely many jumps on every [0,t]; equivalently ∑ηPt(ξ,η)=1.
(5.1) (p. 976): pt(ξ) is non-increasing in t, so p∞(ξ) is a limit.
Theorem 5.6(a) (p. 977): if λk↑, the process is increasing.
Theorem 5.6(b) (p. 977): if moreover λk/k↓, it is subadditive.
Lemma 5.8 (p. 978): if λk≤minj≥kλj′, then pt≤pt′ and mt≤mt′.
Theorem 6.2 (p. 979): if {λi} is concave and non-decreasing with λ0=0, the process is submodular.
Change of time scale (p. 981): multiplying all rates by c>0 replaces Pt by Pct and leaves p∞ unchanged.
First-step display (p. 981): for a subadditive process, a singleton {x}, and n≥1, p∞({x})=∑ηr(n)({x},η)p∞(η)≤p∞({x})Ex∣ξ(n)∣.
(7.2) (p. 981): for μ=1, λk=kλ: π1=1+2dλ2dλπ2, where π1,π2 are p∞ of a site and of a pair of neighbours.
Conclusion of the proof (p. 981): for μ=1, λk=kλ, π1>0 implies (2d−1)λ≥1.
Significance
Theorem 7.1 gives a computable sufficient condition for extinction that holds in every dimension and for every non-linear infection law satisfying it. For the linear process it gives the lower bound λc≥1/(2d−1) on the critical infection rate; the paper's §9 shows conversely that the process survives for large λk/μ, so the critical rate is non-trivial. The monotonicity, subadditivity and submodularity theorems of §§5–6 are the comparison tools on which much of the later theory of attractive spin systems was built, and Lemma 5.8 is the prototype of comparison between processes with ordered rates.
The results are proved in the paper, and the proof of Theorem 7.1 is half a page once §§5–6 are available. No machine-checked version of the contact process, of its comparison theorems, or of Theorem 7.1 is known to exist. A formalization produces a continuous-time Markov chain with unbounded rates and an absorbing state on a countable state space, its minimal transition function, a non-explosion criterion, first-step analysis for absorption probabilities, and coupling arguments for monotone comparison. The companion mission Contact Interactions on a Lattice II treats Theorem 7.6, the integrability of the expected size, on the same model.
Difficulty
The obvious argument is first-step analysis on singletons and pairs, (7.2) and (7.3). It fails as it stands because (7.3) involves p∞ of every three-point set ξ∪x, and no finite system of first-step equations closes; some inequality between survival probabilities of nested sets is needed, and the milestones record the one the paper uses. Submodularity, subadditivity and monotonicity are not consequences of the rates by direct computation: the paper proves each by building several contact processes on one probability space (Tables 1–4), which in a formal development means constructing couplings of chains with unbounded rates and checking that each marginal has the right law. The reduction from general λk to the linear case also needs the comparison Lemma 5.8, another coupling. Finally the rates grow linearly in ∣ξ∣, so uniformization does not apply and non-explosion (Theorem 4.3) must be proved before transition probabilities are known to sum to one.
Formalization scope
The process is the countable-state chain of §4, not the Feller process on all subsets of Zd of §2: sites are Fin d → ℤ, configurations are Finsets, and Pt is the minimal transition function of the rates (4.4)–(4.5), defined as the increasing limit of Feller's backward recursion. There is no measure-theoretic process object; Pξ and Eξ enter only through Pt. Consequently Theorem 4.1 (Ξ0 is stochastically closed) is built in, and every statement is made for finite initial sets, including those the page makes for arbitrary ξ∈Ξ ((5.2)–(5.4), Lemma 5.8); for infinite ξ the page itself notes pt(ξ)=1.
The committed conventions:
Pt, pt, p∞ and mt take values in [0,∞]; pt(ξ)=1−Pt(ξ,∅) and p∞(ξ)=inft≥0pt(ξ), so p∞=0 means absorption at ∅ and cannot be produced by loss of mass to explosion.
The rates are real; every theorem assumes d≥1, μ≥0, λ0=0 and λk≥0 for k≤2d. Conditions on {λk} range over k=1,…,2d (or 0,…,2d), never over all natural numbers.
2d−1 is the real number 2d−1.
In the linear case the scalar rate is written l (λ is reserved in Lean), μ=1 and λk=kl.
Trivializing formalizations are ruled out: the survival probability is not taken from an arbitrary semigroup or a uniformization (the rates are unbounded); p∞ is not a real infimum or limUnder, whose junk value 0 would make the goal free; λ is indexed by the number of infected, not vacant, neighbours, and λ0=0 forbids spontaneous infection; and (7.2) is stated for every site and every neighbour, not for one fixed pair.
A complete development needs: non-explosion for chains with linearly growing rates; the Chapman–Kolmogorov and strong Markov properties of the minimal chain at jump times; lattice symmetries (translations and coordinate reflections) acting on the chain; and couplings of several contact processes realised as one chain on a product type space. The chain infrastructure and the coupling lemmas are reusable beyond this mission, in particular by its companion. Contributions to any milestone are welcome, including proofs of the milestones under the paper's hypotheses by methods other than Harris's.
R. Holley and T. M. Liggett, Ergodic theorems for weakly interacting infinite systems and the voter model, The Annals of Probability 3(4), 643–663, 1975. https://doi.org/10.1214/aop/1176996306
Heavy-Traffic Limits for Queues with Many Exponential Servers: The Scaled Stationary M/M/n Queue Length Converges to a Hybrid Exponential–Normal LawResearch Paper
Why many-server queues in heavy traffic
Telephone exchanges, call centers, hospital wards and cloud server pools are queues with a large number s of parallel servers. For such systems two classical approximations pull in opposite directions. Holding s fixed and letting the traffic intensity ρ→1 gives the conventional heavy-traffic limit, in which almost every customer waits. Letting s grow with ρ fixed below one gives a limit in which almost nobody waits. Real systems sit in between: a positive fraction of customers wait, and waits are short. Halfin and Whitt (Operations Research 29 (1981) 567–588) identified the scaling that produces this middle regime and the limit laws it yields. The scaling is now called the Halfin–Whitt or quality-and-efficiency-driven (QED) regime, and it underlies square-root staffing: run n≈R+βR servers for an offered load of R Erlangs. Borst, Mandelbaum and Reiman (Operations Research 52 (2004) 17–34) built staffing rules for large call centers on it.
Timeline. Erlang (1917) gave the delay probability of the M/M/s queue. Iglehart (1965) proved diffusion limits for M/M/s queues with the number of servers growing and the traffic intensity fixed. Halfin and Whitt (1981) proved that the delay probability has a limit strictly between 0 and 1 exactly when (1−ρn)n converges to a positive constant (their Proposition 1), derived the limit of the stationary queue length (Theorem 1), and extended the process-level limit to GI/M/s queues. Later work extended the regime to many-server queues with general service times and abandonment.
Setting
An M/M/s queue has Poisson arrivals at rate λ>0, s≥1 servers, and exponential service times with rate μ>0. Its traffic intensity is ρ=λ/(sμ). The number Q(t) of customers in the system (waiting or in service) is a birth–death process on {0,1,2,…} with birth rate λ and death rate min(k,s)μ in state k. When ρ<1, Q(t) converges in distribution to Q(∞), whose law pk=P(Q(∞)=k) is the unique probability distribution solving the balance equations of this chain. The probability of delayα=P(Q(∞)≥s) is the Erlang-C formula.
The mission studies a sequence of such queues: queue n≥1 has sn=n servers, the fixed service rate μ, and arrival rate λn with ρn=λn/(nμ)<1 and λn→∞. Its stationary queue length is Qn(∞), and the scaled queue length is
Xn=nQn(∞)−n.
Throughout, Φ and φ denote the standard normal distribution function and density, and for β>0
α(β)=[1+2πβΦ(β)eβ2/2]−1=φ(β)+βΦ(β)φ(β)∈(0,1).
The standing assumption of the paper's Section 2 is the heavy-traffic condition
Corollary 1: the first four moments and the variance of Xn converge to explicit functions of α and β, for example EXn→−β+α/β.
Significance
Theorem 1 is the stationary half of the Halfin–Whitt regime. It turns the Erlang-C formula, a ratio of sums with n terms that is opaque for large n, into a two-parameter description of congestion: α is the fraction of customers who wait, β is the scaled safety margin of servers, and the conditional laws above give the distribution of the number waiting and of the number of idle servers. Proposition 1 and Theorem 1 are what square-root staffing rules evaluate; Corollary 1 supplies the mean and variance used in the paper's numerical approximations.
All results of this mission are proved in the paper, by direct calculation from (1.1)–(1.3), Stirling's formula and the central limit theorem for Poisson variables. None has a machine-checked proof. Proposition 1 and the two Section 1 facts are posed on the platform as open theorems from the Gross et al. queueing textbook series; this mission adds the conditional and local limits, the weak-convergence theorem and the moment results on the same definitions, so that a closed development would give a fully checked derivation of the Halfin–Whitt limit from the balance equations.
Difficulty
The stationary law is explicit, so nothing here needs a stochastic process. The difficulty is analytic and uniform: each statement is a limit of ratios of sums of n or infinitely many terms, (nρn)k/k! below n and a geometric tail above n, in which ρn→1 and n→∞ at linked rates. The lower half needs a central limit theorem for Poisson laws whose parameter nρn moves with n and is evaluated at a moving point; the local limits (2.10) and (2.12) need Stirling's formula with explicit control of logρn to second order. Weak convergence then needs tightness, or a direct argument from the conditional limits, and the moment limits need uniform integrability, which the fixed-s moment recursions do not give by themselves. Holding ρ fixed, or taking limits in n and ρ one after the other, gives degenerate answers (α=0 or α=1); the two limits must be taken together.
Formalization scope
The Lean development lives in the namespace HalfinWhitt81.Stationary. The law of Qn(∞) is a sequence p n : ℕ → ℝ satisfying IsSteadyState (fun _ => lam n) (mmcDeath μ n) (p n) of the referenced definition QueueingFundamentals.BirthDeath.Balance (nonnegative, summing to one, solving the balance equations of the M/M/n chain); the Erlang-C formula and α(β) are erlangC and halfinWhittAlpha of QueueingFundamentals.BirthDeath.Erlang, and Φ, φ are Mathlib's cdf (gaussianReal 0 1) and gaussianPDFReal 0 1. These, and the three open theorems for (1.1)–(1.3), (1.2) and Proposition 1, come from the Gross et al. (2008) series and are referenced, not restated. The related Borst–Mandelbaum–Reiman items (DimCallCenters.*.lemma_4_1, for the continuous extension of Erlang-C) state a different result and are not used.
Conventions committed to:
hypotheses on queue n (rates, steady state, δn≤n or δn≥n) are imposed for n≥1, and only limits are asserted; λn→∞ is kept as a hypothesis although it follows from (2.2);
the standing assumption "(2.1) or, equivalently, (2.2)" is the hypothesis (2.2) with β>0, and α is written as α(β), equal to the limit in (2.1) by Proposition 1;
probabilities of Qn(∞) are sums of p n (probLE, probGE, probEqInt); a conditional probability P(A∣B) with A⊆B is the ratio P(A)/P(B); [x] is Int.floor, with P(Q=m)=0 for m<0;
Xn uses n−1/2: the page's (2.13) prints n1/2, a misprint; (2.12) prints the limit βe−β, a misprint for βe−δβ, which is what is formalized;
"Xn⇒X" is stated as: there is a Borel probability measure ν on R with the three properties of Theorem 1 such that ∑kpn(k)g((k−n)/n)→∫gdν for every bounded continuous g; the exponential clause is for x≥0 and the normal clause for x≤0;
infinite sums whose convergence is not implied by the hypotheses (the moment series of Lemma 1 and Corollary 1) have their convergence in the conclusion.
The goal cannot be met trivially: the law of Qn(∞) is the M/M/n steady state, not a free sequence; the limit measure is asserted to exist together with its three properties and the convergence, so no vacuous "for every ν" reading is possible; and the statement P(Xn≥0)→α alone is Proposition 1, already posed.
A complete development needs: the closed form of the M/M/n steady state, Poisson central limit and local limit theorems with a moving parameter, Stirling's formula with error terms, a criterion for weak convergence from convergence of distribution functions, and uniform integrability for the moments. The Poisson limit theorems and the weak-convergence criterion are reusable beyond this mission. Proofs of the referenced open theorems, of individual milestones, and alternative routes to Theorem 1 (moment convergence, or the process-level limit) are all welcome.
Selected references
S. Halfin and W. Whitt, Heavy-Traffic Limits for Queues with Many Exponential Servers, Operations Research 29(3) (1981) 567–588. https://doi.org/10.1287/opre.29.3.567
R. B. Cooper, Introduction to Queueing Theory, Macmillan, 1972 (the source cited for (1.1)–(1.3)).
D. L. Iglehart, Limiting Diffusion Approximations for the Many Server Queue and the Repairman Problem, Journal of Applied Probability 2(2) (1965) 429–441.
S. Borst, A. Mandelbaum and M. I. Reiman, Dimensioning Large Call Centers, Operations Research 52(1) (2004) 17–34. https://doi.org/10.1287/opre.1030.0081
D. Gross, J. F. Shortle, J. M. Thompson and C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008 (§2.4: the Erlang-C formula and the Halfin–Whitt limit).
Subadditive Ergodic Theory 1: Kingman's Theorem — x₀ₜ/t Converges with Probability One and in Mean to a Finite ξ with E(ξ) = γResearch Paper
Motivation
Many stochastic systems have an accumulated cost or passage time that grows with the length of an observation window. Splitting a window at an intermediate time gives an upper bound on the total, even when it does not give an equality. First-passage percolation and products of random matrices are examples discussed by Kingman (1973). A central question is whether the cost per unit time settles to a long-run rate on almost every sample path.
Hammersley and Welsh introduced subadditive stochastic processes in 1965. Kingman's 1968 theorem established the almost-sure limit for the stationary process considered here. His 1973 paper restated the result, identified the limit's expectation, and set out the process model and related formulations used in later applications. The 1973 article explicitly attributes the proof of Theorem 1, its maximal inequality, and its decomposition to the 1968 work; this mission formalizes the statements as presented in the 1973 paper.
Setting
Fix a probability space (Ω,F,P). For integers 0≤s<t, let xst:Ω→R be a measurable random variable. Think of xst as the accumulated quantity over the interval from s to t. Condition S₁ is subadditivity: xsu≤xst+xtu whenever s<t<u. The stronger equality defines an additive process.
Condition S₂ says that shifting every interval one time unit forward leaves the joint distribution of the whole family unchanged. It concerns the law of (xs+1,t+1)s<t as a single countable path. The one-dimensional statement that each xst has a distribution depending only on t−s is called S₂′ in the paper; it does not replace S₂. Condition S₃ says that every positive-time variable x0t is integrable and that, for some real A, its mean gt=EP(x0t) satisfies gt≥−At for all t≥1. A subadditive process satisfies S₁, S₂, and S₃.
The associated mean growth rate is γ(x)=inft≥1gt/t. The time index starts at one in this infimum because division by zero would introduce an unrelated value. S₃ gives a finite lower bound; the subadditive mean relation makes this infimum the limit of gt/t. Kingman also considers the invariant σ-fieldI: events determined by the entire path and unchanged by the shift (xst)↦(xs+1,t+1). It records the part of the process that can remain random in the limiting rate. Source: §§1.1–1.2, pp. 883–885.
Formalization targets
Theorem 1: finite long-run rate
For every subadditive process there is an integrable real random variable ξ such that
tx0t(ω)⟶ξ(ω)for P-almost every ω,∫Ωtx0t−ξdP⟶0,EP(ξ)=γ(x).
These are three distinct claims: almost-sure convergence, convergence in mean, and an identity for the limit's expectation. The limit need not be a constant. The milestone list also covers the convergence of the means, the maximal inequality (1.2.5), the decomposition (1.2.6), the measure-preserving formulation (1.3.4)–(1.3.5), and the representation through I in (1.2.4). Each statement comes from the 1973 paper, §§1.1–1.3.
Measure-preserving formulation
For a measure-preserving map θ:Ω→Ω, condition Sᴱ concerns integrable functions fn with fm+n(ω)≤fm(ω)+fn(θmω) for m,n≥1 and a linear lower bound on their expectations. It yields an integrable ξ with fn/n→ξ almost surely and in mean. Neither invertibility nor ergodicity of θ is assumed. Source: §1.3, p. 886.
Significance
The theorem assigns a finite sample-path growth rate to an entire class of stationary subadditive systems. It also ties the average of that rate to the infimum of the normalized expected values. The equality is useful when a system's finite-window means are easier to estimate than its individual long-run paths. The invariant σ-field statement explains why a stationary system can have different rates on different paths without contradicting the mean identity. Kingman's examples show how the same framework reaches percolation and matrix products.
The result is mathematically proved, as the 1973 article states. The remaining work here is a machine-checked development of its process model and the displayed results. A published Prove2Me item, PalmQueueing.Ergodic.kingman_subadditive, is open and concerns an ergodic bijective flow with a constant possibly infinite limit; it does not supply this nonergodic finite-limit theorem or convergence in mean. The draft statements in this mission compile with proof placeholders. No machine-checked proof of these new statements is claimed.
Difficulty
Subadditivity gives bounds when intervals are joined, but it does not express x0t as a sum of identically distributed increments. The ordinary additive ergodic theorem therefore does not immediately give convergence for x0t/t. Nor does convergence of the expectations gt/t alone force convergence on individual paths or in mean. The process may also have a nonconstant limit: stationarity is a joint-law condition, not an ergodicity assumption that erases invariant information. These are the gaps the formalization must close without strengthening the hypotheses. Source: §§1.1–1.3.
Formalization scope
Lean represents x as a function of two natural-number indices and a sample point, but every condition and conclusion uses only s<t. S₁ and the Sᴱ cocycle inequality follow the paper's pointwise displays; random-variable equality in the decomposition is stated almost surely at each valid index pair. Measurability of each valid coordinate is explicit. S₂ compares two probability measures on the full countable path space, so equality of individual marginals cannot satisfy it. The probability measure is normalized, and S₃ requires Bochner integrability to keep every mean finite. The constant γ is a real infimum over positive times, used only under S₃. The goal's limit is real and integrable; Kingman's separate Theorem 2 treats a possible value of −∞ and belongs to another mission.
The invariant σ-field is the pullback of the path-space shift-invariant σ-field. Its measurability claim is made through an almost-everywhere equal version, since almost-sure limits are insensitive to changes on null sets. Conditional expectation uses this explicit sub-σ-field. All limits in this mission take positive integer time to infinity. The Sᴱ definition requires measure preservation but no inverse and no ergodicity. Thus neither a marginal-law substitution for S₂ nor an ergodic constant-limit specialization can trivialize the target.
A complete proof can reuse Mathlib's measure theory, conditional expectation, product measurable spaces, measure-preserving maps, and subadditive-sequence results. The two process definitions, the invariant σ-field interface, and auxiliary statements are useful to later formalizations of stationary growth models. Contributions that prove the stated results or develop general-purpose lemmas for these objects fit the mission.
Selected references
J. F. C. Kingman, Subadditive ergodic theory, The Annals of Probability 1(6), 883–899, 1973. DOI: 10.1214/aop/1176996798.
On Tail Probabilities for Martingales 3: If E exp[−e(λ)W] ≤ e^{−λa} and E exp[−f(λ)W] ≥ e^{−λ(a+1)} for All λ ≥ 0, Then P{W < b} > ½ exp[−(½ + 2δ)a²/b]Research Paper
Motivation
Freedman's inequality bounds the probability that a martingale with increments bounded above by 1 reaches a level a before its accumulated conditional variance exceeds b: the bound is exp[−a2/2(a+b)] (D. A. Freedman, On Tail Probabilities for Martingales, Ann. Probab. 3 (1975) 100–118, Theorem (4.1), doi:10.1214/aop/1176996452). It is the standard tool for concentration of martingales whose variance is random, and it is used throughout online learning, bandit theory and the analysis of randomized algorithms.
The same paper shows that the exponent a2/2b cannot be improved in general. For a martingale with increments bounded by 1 in absolute value, Freedman's estimate (1.10) bounds from below the probability that level a is crossed while the conditional variance used is still below b. The analytic core of that lower bound is isolated in the paper as Proposition (4.10), p. 109: a statement about a single nonnegative random variable whose Laplace transform is controlled from both sides. The paper calls its proof "disappointingly hard". This mission formalizes Proposition (4.10) and the steps of its proof.
Setting
Let (Ω,F,P) be a probability space. For real λ put (Definition (1.2), p. 101)
e(λ)=eλ−1−λ,f(λ)=e−λ−1+λ.
Both are nonnegative and equal λ2/2+O(λ3) near 0. Fix a>0 and a nonnegative random variableW. The two Laplace-transform bounds are, for every λ≥0,
In the paper W=Wa is the conditional variance ∑i≤τaVar{Xi∣Fi−1} accumulated up to the first time τa the martingale reaches a; for that variable (4.11a) and (4.11b) are Theorems (1.12) and (1.8). Here W is abstract. The hypotheses are consistent: the first-passage time of standard Brownian motion to level a has Ee−sW=e−a2s, and since f(λ)≤λ2/2≤e(λ) for λ≥0, it satisfies both bounds.
The parameter conditions (4.12) on positive reals δ,a,b are
δ<31,ab>δ29,ba2>δ216logδ264.
The proof uses the notation (4.14): φ(λ)=λ2/2−λ3/6, λ=(1+δ)a/b, k=a2/b, N=2/δ2, the five intervals I1=[0,Na], I2=(Na,(1−2δ)b], I3=(b,2b], I4=(2b,∞), I5=((1−2δ)b,b], and the terms
ηi=φ(λ)∫IiP{W<x}e−φ(λ)xdx.
In Lean these objects are FreedmanTail.LowerTail.e, f, LaplaceUpper, LaplaceLower, ParamConditions, phi, lamStar, kStar, NStar, I1–I5 and eta.
Formalization targets
Goal: Proposition (4.10)
Under (4.11a)–(4.11b) for all λ≥0 and (4.12a)–(4.12c),
P{W<b}>21exp[−(21+2δ)ba2].(4.13)
Milestones
In the order of the proof:
Lemma (4.9): α>0, x>2logα imply ex>αx.
(4.17): exp(−δ2k/8)<1/(8k) under (4.12).
(4.18): under (4.11a), P{W<x}<exp[−a2/(2(a+x))] for x≥0.
(4.15): under (4.11b) and (4.12), φ(λ)∫0∞P{W<x}e−φ(λ)xdx>exp[−λ(a+1)].
(4.19), with its exponent corrected: P{W<x}<(81−501)exp[−(1+δ)k] for 0≤x≤Na.
(4.16:1)–(4.16:4): η1<(81−501)e−(1+δ)k and ηi<81e−(1+δ)k for i=2,3,4.
(4.16:5): η5<P{W<b}⋅exp[(−21+2δ2)k].
Significance
The result. Proposition (4.10) converts two-sided control of a Laplace transform into a lower bound for a left tail, with an explicit constant and an explicit range of validity. Applied to the crossing variance Wa it gives Freedman's lower bound (1.10) for P{Wa<b}, which matches the exponent a2/(2b) of the upper bound of Theorem (4.1) up to the term 2δa2/b. That is the statement that Freedman's inequality is sharp in the regime a2/b→∞, b/a→∞.
Formalizing it. The proposition is proved in the 1975 paper; no machine-checked proof is known. Mathlib contains Chernoff-type upper bounds and the layer-cake formula, but no lower tail bound derived from two-sided Laplace-transform control. The mission produces a self-contained, constant-explicit Tauberian-type lemma for nonnegative random variables, usable without any martingale structure. The companion missions of this series formalize Theorem (4.1) and the Laplace bound (1.8); together they would give the sharpness statement for martingales.
Difficulty
The obvious route is to invert the Laplace-transform bounds directly. A lower bound on E{e−sW} does not by itself bound P{W<b} from below: the mass that makes the Laplace transform large could sit at small values of W or be spread over a wide range. Without (4.11a) the conclusion fails, and with it every contribution from values of W away from b must be shown negligible at a precision of order e−(1+δ)k, where k=a2/b is large. The main term is smaller than the total by the factor e−k/2, so every error term must be estimated with constants explicit enough to stay below it. The thresholds (4.12b)–(4.12c) are what make all of these comparisons hold at once.
Formalization scope
The probability space is a measurable space Ω with a measure P and [IsProbabilityMeasure P]. W is a measurable function Ω → ℝ with W ω ≥ 0 for every ω. The expectations in (4.11) are Bochner integrals of exp[−e(λ)W] and exp[−f(λ)W]; for λ≥0 these integrands lie in (0,1], so they are integrable and the integrals are genuine expectations. Probabilities are P.real {ω | W ω < x}, with the strict event as on the page. The integrals in x are Lebesgue integrals over [0,∞) and over the intervals Ii; the integrand is a nondecreasing function of x times e−φ(λ)x, hence measurable and, as φ(λ)>0, integrable.
Conventions and corrections, each also disclosed in the items:
The page says "for each a>0, let Wa be a nonnegative random variable"; only the one variable at the one level a of (4.12) enters, so the statement is made for a fixed a and a single W.
(4.14) prints φ(λ)=λ2/2>λ3/6; this is read as φ(λ)=λ2/2−λ3/6, as the rest of the proof requires.
(4.19) prints θ=(81−501)exp[−(1+δ)]; the milestone states θ=(81−501)exp[−(1+δ)k], which is what the page's argument proves and what (4.16:1) needs.
(4.18) is stated for every x≥0, the range on which it is used.
The proof of (4.16:5) ends "This settles (3.16:5)", a misprint for (4.16:5).
A trivializing formalization is ruled out: the hypotheses are satisfied by the Brownian first-passage time above, the parameter conditions hold for instance at δ=0.3, a=106, b=2⋅108, and no integral in a hypothesis or conclusion can take a default value 0.
Needed infrastructure: Markov's inequality and the layer-cake formula (both in Mathlib), the identity E{e−sW}=s∫0∞P{W<x}e−sxdx for W≥0, and elementary estimates of ex and of the convex function θ(x)=2λ2x+N+1N2xa2 of (4.21). The layer-cake identity and the left-tail bound (4.18) are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs of the unnumbered steps (4.20)–(4.30).
The source is the published article in The Annals of Probability (a scanned copy); page numbers are the journal's.
Selected references
D. A. Freedman, On Tail Probabilities for Martingales, The Annals of Probability 3(1) (1975) 100–118. doi:10.1214/aop/1176996452
On Tail Probabilities for Martingales 1: If X_n ≤ 1 and E{X_n | ℱ_{n−1}} ≤ 0, Then P{S_n ≥ a and T_n ≤ b for Some n} ≤ (b/(a+b))^{a+b} e^a ≤ exp[−a²/2(a+b)]Research Paper
Motivation
For sums of independent bounded random variables, the inequalities of Bernstein and Bennett bound the probability of a large deviation by an exponential in the deviation and the variance (Bennett 1962; Hoeffding 1963). Many processes met in probability, statistics and learning theory are not sums of independent terms but martingales or supermartingales: sequential estimators, stochastic approximation iterates, the regret of an online algorithm. For them the relevant scale is not a fixed variance but the conditional variance accumulated along the path, which is itself random.
David A. Freedman's paper On Tail Probabilities for Martingales (Ann. Probab. 3 (1975) 100–118) extended the Bernstein–Bennett inequality to this dependent case, with the conditional variance in place of the variance and with a bound that holds simultaneously for all times. The result, now called Freedman's inequality, is the standard tool for martingale concentration with variance-sensitive rates and is used throughout bandit and reinforcement-learning analyses, random-graph arguments and stochastic optimization. This mission formalizes that theorem, (4.1) of the paper, together with the chain of lemmas the paper uses to prove it.
Setting
Let (Ω,F,P) be a probability space and F0⊂F1⊂F2⊂⋯ an increasing sequence of sub-σ-fields of F (a filtration). Let X1,X2,… be real random variables with Xn measurable with respect to Fn. Define
the partial sumsSn=X1+⋯+Xn, with S0=0;
the conditional variancesVn=Var{Xn∣Fn−1};
the intrinsic timeTn=V1+⋯+Vn, with T0=0.
Freedman treats Tn as an intrinsic clock: read at time Tn rather than n, the process Sn resembles Brownian motion. The paper's condition (3.4) is
Xn≤1a.e.andE{Xn∣Fn−1}≤0a.e.for all n≥1,
so (Sn) is a supermartingale whose increments are bounded above by 1; no lower bound is assumed. The auxiliary functions are e(λ)=eλ−1−λ and Qλ(v,y)=exp{λy−e(λ)v}, with time first and position second. A stopping timeσ takes values in {0,1,2,…,∞} with {σ≤n}∈Fn, and P{σ=∞}>0 is allowed.
In Lean these are FreedmanTail.Bernstein.S, V, T (on Filtration ℕ m, with V given by Mathlib's condVar) and FreedmanTail.Bernstein.e, Q.
Formalization targets
Goal: (4.1) Theorem
Under (3.4), for all a>0 and b>0,
P{Sn≥aandTn≤bfor some n=1,2,…}≤(a+bb)a+bea≤exp[−2(a+b)a2].
The first bound is of Bennett type, the second of Bernstein type. The event is a union over all times; the bound does not depend on any horizon.
Milestones
In the order the paper's proof uses them:
(3.1) Lemma: g(0)=21, g(x)=(ex−1−x)/x2 for x=0, is increasing.
(3.2) Corollary: exp(λx)≤1+λx+x2e(λ) for λ≥0, x≤1.
(3.5): E{exp(λX)}≤1+e(λ)VarX≤exp[e(λ)VarX] for λ≥0, X≤1, E(X)≤0.
Proof of (3.3): {Qλ(Tn,Sn),Fn} is a supermartingale for λ≥0.
(3.3) Proposition: ∫{σ<∞}Qλ(Tσ,Sσ)dP≤1 for every stopping time σ and λ≥0.
Proof of (4.1): P{A}≤exp[−λa+e(λ)b] for every λ≥0, where A is the event of the goal.
Proof of (4.1): λ0=log[(a+b)/b] minimizes this bound, with value (b/(a+b))a+bea.
Proof of (4.1): (b/(a+b))a+bea≤exp[−a2/(2(a+b))].
Significance
The inequality bounds the probability that a supermartingale ever reaches level a before its accumulated conditional variance exceeds b. Since it holds for all times at once, fixed-horizon versions follow immediately, as do versions with stopping times, and with a peeling argument over b it gives the variance-adaptive confidence sequences used in sequential testing and in the analysis of algorithms. Freedman's paper uses it to derive the law of the iterated logarithm for martingales; later work uses it wherever a martingale's conditional variance is much smaller than the square of its increment bound.
The theorem has been proved for fifty years. What this mission adds is a machine-checked statement and proof of the full infinite-horizon form under the one-sided hypothesis (3.4), together with the exponential supermartingale and the optional-stopping bound (3.3) as reusable lemmas. Prove2Me already has fixed-horizon Bernstein-form consequences for martingale differences; the infinite-horizon Bennett form under (3.4) does not appear in Mathlib or on the platform.
Difficulty
The naive route of applying Markov's inequality to exp(λSn) at a fixed n gives a bound for one time only and requires a deterministic bound on Tn. Taking a union over all n loses everything. The content of the theorem is that the random clock Tn and the supremum over time can both be absorbed, which requires an exponential process compensated by the random Tn and an optional-stopping bound for stopping times that may be infinite with positive probability. The process need not be uniformly integrable, and the increments have no lower bound. A second, smaller, difficulty is the variance form of (3.5): the bound uses VarX rather than E(X2), which is strictly sharper when E(X)<0 and is needed to compensate with conditional variances.
Formalization scope
Lean conventions this mission commits to:
Increments are a sequence X : ℕ → Ω → ℝ used from index 1 (X 0 is never read), so Sn, Tn and Vn carry the paper's indices. The filtration is Mathlib's Filtration ℕ m, and "Xn is Fn-measurable" is StronglyMeasurable[ℱ n] (X n) for n≥1.
Vn is Mathlib's condVar (ℱ (n - 1)) (X n) P. Mathlib sets a conditional expectation of a non-integrable function to 0, so every increment is assumed square integrable (MemLp (X n) 2 P). This is the one hypothesis added to the page. Under (3.4) the page also allows increments of infinite variance, for which its Tn is +∞; the formalization narrows the class of processes and leaves every conclusion as printed. Milestone (3.5) likewise assumes E(X2)<∞, which is the case the page reduces to.
"Expectation-decreasing martingale" is Mathlib's Supermartingale.
Stopping times are Ω → WithTop ℕ with IsStoppingTime; ⊤ is ∞. In (3.3) the integral over {σ<∞} is a lower Lebesgue integral in [0,∞], so the bound does not presuppose integrability, and Sσ, Tσ are read only on {σ=∞}.
The probability of the event "for some n" is the measure of {ω:∃n≥1,Sn(ω)≥a,Tn(ω)≤b}. (b/(a+b))a+b is a real power.
(3.1) is stated as strict monotonicity, which its proof (g′(x)>0 for x=0) establishes.
A fixed-horizon statement (n=N, or n≤N), a martingale hypothesis E{Xn∣Fn−1}=0, or a two-sided bound ∣Xn∣≤1 would each be a strictly weaker theorem than (4.1) and is not an acceptable formalization of the goal.
The development needs exponential supermartingales compensated by conditional variance, optional stopping for stopping times that may be infinite, and elementary real analysis of ex. The real-analysis milestones (3.1), (3.2) and the two calculus steps are independent and reusable; (3.5) is a self-contained moment-generating-function bound; the supermartingale and (3.3) are reusable for every exponential-supermartingale argument. Contributions to any milestone, and alternative proofs of the goal, are welcome.
Selected references
David A. Freedman, On Tail Probabilities for Martingales, The Annals of Probability 3(1) (1975), 100–118. https://doi.org/10.1214/aop/1176996452 (source of this mission; a scanned copy of the published article, cited by printed page)
George Bennett, Probability Inequalities for the Sum of Independent Random Variables, Journal of the American Statistical Association 57 (1962), 33–45. https://doi.org/10.1080/01621459.1962.10482149
Wassily Hoeffding, Probability Inequalities for Sums of Bounded Random Variables, Journal of the American Statistical Association 58 (1963), 13–30. https://doi.org/10.1080/01621459.1963.10500830
Poisson Approximation for Dependent Trials 2: For φ-Mixing Bernoulli Trials, an Order-λ⁻¹ Bound on |Eh(W) − 𝒫_λh| in Var W − λ + 2(2m+1)Σp_i² and nφ(m+1)Research Paper
Motivation
The number of successes in many rare trials is approximately Poisson. For independent trials the
quality of that approximation was quantified by Le Cam in 1960: if X1,…,Xn are independent
Bernoulli variables with P(Xi=1)=pi, W=∑iXi and λ=∑ipi, the total variation
distance between the law of W and the Poisson law with mean λ is bounded by a constant
multiple of ∑ipi2, and by a constant multiple of λ−1∑ipi2 when λ≥1.
Many applications have dependent trials: occurrences of a pattern in a sequence, exceedances of a
high level by a stationary process, failures in a system with local interactions. L. H. Y. Chen's
1975 paper extended Charles Stein's method of normal approximation to the Poisson case and obtained
explicit bounds for dependent trials. The approach became known as the Stein–Chen method, and is
now the standard tool for Poisson approximation of dependent counts.
Timeline.
1960. Le Cam proves the independent-trial bounds (0.1)–(0.3) of Chen's introduction.
1964. Kerstan extends them to independent nonnegative integer variables and improves the constant
in (0.3).
1970. Stein introduces his method of normal approximation for dependent variables.
1975. Chen (Ann. Probab. 3) adapts it to Poisson approximation. He proves Theorems 4.1–4.4 for
sequences satisfying Ibragimov's mixing condition, the m-dependent case, and a second-order expansion
for independent trials.
This mission formalizes the order-λ−1 bound of that paper, Theorem 4.2.
Setting
Let (Ω,F,P) be a probability space and let X1,…,Xn be Bernoulli trials:
random variables with values in {0,1} and pi=P(Xi=1). Following the paper, set Xi≡0 for
i≤0 and i≥n+1. Put
W=i=1∑nXi,λ=i=1∑npi.
For a bounded real function h on the nonnegative integers, the Poisson expectation is
Pλh=e−λk=0∑∞h(k)k!λk,
the mean of h under the Poisson law with parameter λ. The quantity of interest is
∣Eh(W)−Pλh∣ for all h with ∣h∣≤1. Its supremum over such h is twice the total
variation distance between the law of W and the Poisson law.
Dependence is measured by Ibragimov's mixing condition (4.1). Let
Ma,b=σ(Xi:a≤i≤b). There must be a non-increasing sequence φ(k)↓0
such that for all j,k≥1 and every event B∈Mj+k,∞,
∣P(B∣M1j)−P(B)∣≤φ(k)almost surely.
A sequence is m-dependent when (X1,…,Xr) and (Xr+k,…) are independent for all
k>m. It then satisfies (4.1) with φ(k)=0 for k>m.
The proof works with the partial sums V(i)=∑∣k−i∣>mXk,
V(i,j)=∑∣k−i∣>m,∣k−j∣>mXk, Yij=V(i)+∑k=i−mjXk and
Yij′=V(i)+∑k=i−m,k=ijXk. It also uses the Stein solutionSλh, the
solution for w≥1 of wf(w)−λf(w+1)=h(w)−Pλh.
The bound involves only the law of W through Var(W), the success probabilities, the
window m and the mixing rate. The window m is free, so the statement covers every trade-off between
local dependence and mixing.
Consequences (companion items)
Theorem 4.3, (4.21). For m-dependent trials,
∣Eh(W)−Pλh∣≤2(8m+5)λ−1[∑∑i=jCov(Xi,Xj)+(4m+1)∑pi2].
Corollary 4.1, (4.23). For independent trials, ∣Eh(W)−Pλh∣≤10λ−1∑pi2.
This improves Le Cam's (0.3).
Theorem 4.4. For identically distributed trials with φ(m)=e−αm, there are bounds
(4.24) and (4.25) whose constants depend only on α.
Milestones
The milestones follow the paper's proof:
the basic identity (2.2), the Stein solution (2.5) and the expansion (2.6);
the bounds on Sλh: Lemmas 3.1–3.3, (3.6) and Lemma 3.5;
the mixing inequalities, Lemmas 4.1–4.3 and 4.6;
the variance bound, Lemma 4.4;
the four displays (4.14) and (4.16)–(4.19) of the proof of Theorem 4.2;
Cauchy–Schwarz (4.10) and Lemma 4.5.
Significance
Theorem 4.2 gives an error of order λ−1 times the excess variance
Var(W)−λ+O(m∑pi2), plus a mixing remainder. When the trials are nearly
uncorrelated, Var(W)≈λ and the bound is small even though λ is
large. This is the regime where the companion Theorem 4.1, which carries a factor
min(λ−1/2,1), is weaker. The independent case recovers Le Cam's order
λ−1∑pi2 with constant 10. The m-dependent case gives explicit Poisson limit theorems
for scan statistics and pattern counts.
All results of the paper are proved there, and the proofs are elementary apart from the measure theory
of Lemma 4.1. To our knowledge none of them has a machine-checked proof. Mathlib has the Poisson
distribution and conditional expectation, but no Stein–Chen bound and no mixing inequality of
Ibragimov's type. A formal proof would give the first checked quantitative Poisson approximation for
dependent trials. It would also give reusable covariance inequalities for φ-mixing sequences
(Lemmas 4.2 and 4.3).
Difficulty
Most of the work is bookkeeping, and it is heavy. Identity (2.2) needs a telescoping over windows
[i−m,j] whose ends can fall outside [1,n]. (4.15)–(4.18) need ∣Yi,j−1′+1−λ∣ to be
compared with ∣V(i,j)−EV(i,j)∣ with explicit constants.
The genuinely probabilistic step is the decoupling of Lemma 4.2. Condition (4.1) controls conditional
probabilities of events. Lemma 4.2 needs a bound on conditional expectations of functions of a whole
random vector. Passing from one to the other requires a regular conditional distribution that is
uniformly close to the unconditional law on a set of full measure (Lemma 4.1). The naive route,
applying (4.1) to each level set of a simple function, loses a factor that grows with the number of
levels and does not give the constant 2∥f∥.
The bound (4.16) applies Lemma 4.4 to a subsequence of the trials. This uses the fact that dropping
variables preserves (4.1) with the same φ, because φ is non-increasing.
Formalization scope
Trials. The trials are a map X:N→Ω→N that is measurable, vanishes at
index 0 and above n, and is at most 1 almost surely. The constant padding adds nothing to any
σ-algebra, so (4.1), m-dependence and independence of the padded sequence are those of
X1,…,Xn.
Probabilities and moments.pi is defined as P(Xi=1), not taken as a parameter.
Var and Cov are Mathlib's. All integrands are almost surely bounded,
so no integrability hypotheses are needed.
Norms. Sup norms are replaced by bounds M with ∣h∣≤M. ∥Sλh∥ ranges over
w≥1.
Mixing condition. In (4.1) the conditional probability is the conditional expectation of the
indicator, and lags are k≥1.
Added hypotheses. The §3 lemmas and (2.6), (4.14) assume λ>0, because they divide by
λ. The goal and the companions do not assume it: at λ=0 all pi vanish, W=0
almost surely, and both sides are 0 under Lean's convention 0−1=0.
Lemmas 4.2 and 4.3. They are stated for an arbitrary measurable real sequence satisfying (4.1),
as on the page. The independent copy Z′ is expressed through the law of Z.
Theorem 4.4. Its constants are quantified before the probability space, n and the trials. This
is what "depend only on α" means.
A trivializing formalization is ruled out. Measurability of the trials is part of the definition,
because otherwise conditional expectations in (4.1) collapse to 0. The goal mentions only W,
λ, pi, Var(W), φ, m and h. It does not mention Sλh
or any milestone quantity.
A complete development needs the Stein solution and its bounds, a Bernoulli-sum calculus over integer
windows, regular conditional distributions on standard Borel spaces, and the mixing covariance
inequalities. The last two are reusable beyond this mission. Contributions to any milestone are
welcome, as are alternative proofs of Lemma 4.2 through Mathlib's condDistrib.
L. Le Cam, An approximation theorem for the Poisson binomial distribution, Pacific Journal of
Mathematics 10(4):1181–1197, 1960. https://doi.org/10.2140/pjm.1960.10.1181
C. Stein, A bound for the error in the normal approximation to the distribution of a sum of
dependent random variables, Proc. Sixth Berkeley Symp. Math. Statist. Probab. 2:583–602, 1972.
https://projecteuclid.org/euclid.bsmsp/1200514239
I. A. Ibragimov, Some limit theorems for stationary processes, Theory of Probability and its
Applications 7(4):349–382, 1962. https://doi.org/10.1137/1107036
A. D. Barbour, L. Holst, S. Janson, Poisson Approximation, Oxford University Press, 1992.
ISBN 978-0-19-852235-9
Poisson Approximation for Dependent Trials 3: For Independent Trials with max p_i ≤ λ/2, |Eh(W) − 𝒫_λh + (Σp_i²)𝒫_λU_λh| ≤ (24 + 96√2)λ⁻¹Σp_i³Research Paper
Motivation
The number of successes in many rare, roughly independent trials is approximately Poisson. This law of small numbers is used for counts of rare events in reliability, insurance, epidemiology, queueing and random combinatorics. A quantitative version says how large the error is. For independent Bernoulli trials with success probabilities p1,…,pn and λ=∑pi, Le Cam (1960) showed that the error in total variation is of order ∑pi2. When all pi are small this tends to zero, but it does not say what the leading part of the error is.
L. H. Y. Chen's 1975 paper (Ann. Probab. 3, 534–545) adapted Charles Stein's method for normal approximation to the Poisson case. The result is now called the Stein–Chen method. The paper's §2–§4 give first-order error bounds for dependent (mixing) trials. Its §5, "A refinement", goes one order further for independent trials. It identifies the first-order correction explicitly and shows that what remains is of order λ−1∑pi3. Kerstan (1964) had obtained a similar expansion by a different method. Chen's version comes from iterating the basic identity of the Stein–Chen method. This mission formalizes §5.
Timeline:
1953: Prohorov bounds the distance between the binomial and the Poisson law.
1960: Le Cam proves the ∑pi2 bound for independent, non-identical trials. Hodges and Le Cam give a short proof.
1964: Kerstan gives a refinement of the Prohorov–Le Cam bounds.
1975: Chen introduces the Stein–Chen method. It gives first-order bounds under Ibragimov's mixing condition and the second-order expansion (Theorem 5.1) for independent trials.
Setting
Let X1,…,Xn be independent random variables on a probability space, each taking only the values 0 and 1, with success probabilitiespi=P(Xi=1). Put
The paper writes the constant as "an absolute constant C not greater than 24+96(2)1/2". The formal goal fixes C at that value, which is the same statement.
Milestones
In order: the Stein solution (2.3)/(2.5); the difference identity (3.6); Lemmas 3.1, 3.2, 3.3 and 3.5 (bounds on Sλh and ΔSλh); the first-order identity (5.8) Eh(W)=Pλh−∑ipi2EUλh(W(i)); Lemmas 5.1 and 5.2 (dependence of Poisson expectations on the parameter); Lemmas 5.3–5.5 (bounds on Pb∣LmUλh∣, SbUλh and UbUλh); the bound (5.9),
and the closing inequality λ−1∑ipi2∑j=ipj2/λ(i)≤2λ−1∑ipi3.
Significance
The theorem gives an explicit first correction to the Poisson approximation of a Poisson-binomial law, with a remainder of the next order. When all pi equal p, the first-order error ∑pi2=λp is replaced by the remainder λ−1∑pi3=p2, which is smaller by the factor λ. The correction term is a functional of the Poisson law alone, −(∑pi2)PλUλh. It can be evaluated without knowing the distribution of W. The method of proof applies the basic identity twice. The paper notes that further iteration gives expansions to any order.
On the formal side, Mathlib has the Poisson distribution but no Stein–Chen machinery and no quantitative Poisson approximation. The theorem has, as far as is known, no machine-checked proof. This mission produces the Stein solution and its standard bounds (Lemmas 3.1–3.5), which are reusable by any Stein–Chen argument. It also produces the parameter-perturbation estimates of Lemmas 5.1–5.2 and a complete second-order expansion. Missions 1 and 2 of this series formalize the first-order bounds of §4 under a mixing condition. They share the Stein-solution layer.
Difficulty
The first-order bound needs only that ΔSλh is uniformly small (Lemma 3.4). A second-order bound needs more. After the first application of the identity, the error ∑pi2EUλh(W(i)) has to be expanded again. That requires control of the iterated operator UbUλh with a different parameter b=λ(i), because W(i) is approximately Poisson with mean λ(i), not λ. The bound on UbUλh (Lemma 5.5) grows linearly in ∣w−λ∣. Applying the uniform bounds of §3 throughout loses a factor λ1/2 and produces an error of order λ−1/2∑pi3 instead of λ−1∑pi3. The linear growth has to be paired with the variance of W(i,j). The averaging over pairs (i,j) in the final step uses the condition pˉ≤λ/2, which keeps every λ(i) comparable to λ.
Formalization scope
Conventions committed to in Lean:
The trials are a sequence X : ℕ → Ω → ℕ. Each Xi is measurable with values in {0,1} almost surely. Xi≡0 for i=0 and i>n, which is the paper's own padding convention (p. 535). Independence is iIndepFun (fun i => X i) P over all of ℕ. Because the padding variables are constants, this is equivalent to independence of X1,…,Xn.
pi is defined from X, not taken as a parameter.
∥h∥ is replaced by an arbitrary bound M with ∣h(k)∣≤M for all k. The norm of Sλh is taken over its domain w≥1.
pˉ≤λ/2 is written as pi≤λ/2 for every i∈{1,…,n}.
The goal assumes neither λ>0 nor integrability. Every function involved is bounded, so every expectation and Poisson sum is genuine. At λ=0 both sides of (5.7) vanish.
Hypotheses added relative to the page, each disclosed in the item's Formalization Note:
λ>0 in the §3 and §5 lemmas, in (5.8) and in (5.9). These divide by λ, by b or by λ(i).
b>0 in Lemmas 5.3–5.5, which is the standing range of §5.
Boundedness of f in Lemma 5.2. The lemma is only applied to bounded functions.
The random indices I,J that the paper introduces to shorten notation in (5.8)–(5.9) are not formalized. The same quantities are written as finite sums over indices.
Ruled out: the second-order term must be the operator Uλh=ΔSλh(⋅+1) built from the Stein solution exactly as on p. 543. A free function, or Uλh evaluated at the junk value Sλh(0), would empty the theorem.
Welcome contributions include:
the Stein-solution bounds of §3, which are reusable well beyond this paper;
Poisson-sum manipulations (Lemmas 5.1–5.2);
the independence bookkeeping that turns (2.6) into (5.8).
J. L. Hodges and L. Le Cam, The Poisson approximation to the Poisson binomial distribution, Ann. Math. Statist. 31:737–740, 1960. https://doi.org/10.1214/aoms/1177705799
J. Kerstan, Verallgemeinerung eines Satzes von Prochorow und Le Cam, Z. Wahrscheinlichkeitstheorie verw. Gebiete 2:173–179, 1964. https://doi.org/10.1007/BF00533419
C. Stein, A bound for the error in the normal approximation to the distribution of a sum of dependent random variables, Proc. Sixth Berkeley Symp. Math. Statist. Prob. 2, 1972. https://projecteuclid.org/euclid.bsmsp/1200514239
Poisson Approximation for Dependent Trials 1: For φ-Mixing Bernoulli Trials, |Eh(W) − 𝒫_λh| ≤ 6 min(λ^{−1/2}, 1)[Var W − λ + 2(2m+1)Σp_i² + 4(λ+1)nφ(m+1)]Research Paper
Motivation
A sum of many rare events is approximately Poisson. For independent Bernoulli trials this is the classical law of small numbers, and its quantitative form goes back to Prohorov (1953) and Le Cam (1960): if X1,…,Xn are independent with P(Xi=1)=pi, then the law of W=∑iXi is close to the Poisson law with mean λ=∑ipi, with an error controlled by ∑ipi2. Many applications need the same conclusion for dependent trials: runs and clusters in sequences, exceedances of a stationary time series, matches in DNA sequences, extremes of mixing processes.
Louis H. Y. Chen's 1975 paper adapted Charles Stein's method for normal approximation (1970, published 1972) to the Poisson case and obtained explicit error bounds for sums of dependent Bernoulli trials under mixing and m-dependence. The technique, now called the Stein–Chen method, became the standard tool for Poisson approximation, through Arratia, Goldstein and Gordon (1989) and Barbour, Holst and Janson, Poisson Approximation (1992).
Timeline:
1953–1960. Prohorov and Le Cam bound the error of the Poisson approximation for independent trials.
1964. Kerstan extends Le Cam's bounds to independent nonnegative integer-valued variables.
1970. Stein introduces his method for normal approximation of dependent sums (Berkeley Symposium, proceedings 1972).
1975. Chen proves Poisson approximation bounds for φ-mixing and m-dependent trials (this mission).
1989–1992. Arratia–Goldstein–Gordon and Barbour–Holst–Janson give local-dependence and total-variation versions.
Setting
Let (Ω,F,P) be a probability space and X1,…,Xn Bernoulli random variables, possibly dependent, with success probabilitiespi=P(Xi=1). Put
W=i=1∑nXi,λ=i=1∑npi.
For a real function h on the nonnegative integers, the Poisson expectation of h is
Pλh=e−λk=0∑∞h(k)k!λk,
the mean of h under the Poisson distribution with parameter λ. The quantity to be bounded is ∣Eh(W)−Pλh∣ for all h with ∣h∣≤1; its supremum over such h is twice the total variation distance between the law of W and the Poisson law.
Dependence is measured by Ibragimov's mixing condition. Write Ma,b for the σ-algebra generated by Xa,…,Xb and Ma,∞ for that generated by Xa,Xa+1,…. The sequence satisfies (4.1) with a nonincreasing sequence φ(k)↓0 if, for all j,k≥1 and every event B∈Mj+k,∞,
P(B∣M1j)−P(B)≤φ(k)almost surely.
Thus φ(k) bounds how much knowledge of the first j trials can change the probability of an event determined by trials at distance at least k. A sequence is m-dependent if (X1,…,Xr) and (Xr+k,Xr+k+1,…) are independent whenever k>m; then (4.1) holds with φ(k)=0 for k>m, and independent trials are the case m=0.
Corollary 4.1 (Le Cam), (4.22). For independent trials, ∣Eh(W)−Pλh∣≤6min(λ−1/2,1)∑ipi2.
Milestones
The milestones follow the paper's proof:
the basic identity (2.2) for E[Wf(W)−λf(W+1)], valid for any dependence;
the solution Sλh of the Stein equation (2.3)–(2.5), and the resulting representation (2.6) of Eh(W)−Pλh;
the bounds on Sλh and ΔSλh (Lemmas 3.1–3.4);
the covariance inequalities under mixing (Lemmas 4.1–4.3, 4.6);
the variance identity (4.7), the bound (4.8), the inequality (4.10) and Lemma 4.5.
Significance
The theorem bounds the distance to the Poisson law by quantities a user can compute or estimate: the variance of W, the pi, and the mixing rate. When the trials are weakly dependent and individually rare, Var(W)≈λ, ∑pi2 is small, and the bound is small. It recovers Le Cam's independent-case bound up to the constant and extends it to m-dependent and φ-mixing sequences. The expansion (2.6) and the bounds on the Stein solution in §3 are reused throughout the later literature on the Stein–Chen method.
The results of this paper are proved on paper; none of them is formalized in a proof assistant. Mathlib has the Poisson distribution, conditional expectation, independence and regular conditional distributions, but no Stein–Chen identity, no bounds on the Stein solution, and no covariance inequality for φ-mixing sequences. This mission produces all three, and the companion missions of this series (Theorem 4.2, an order-λ−1 bound, and Theorem 5.1, a second-order refinement for independent trials) rely on the same objects.
Difficulty
The identities (2.2), (2.6) and (4.7) are finite manipulations, and the bounds of §3 on Sλh are elementary real analysis. The main difficulty is the transfer of the mixing condition from events to functions. Condition (4.1) bounds conditional probabilities of single events almost surely, with a null set that depends on the event. Lemma 4.2 needs a bound on EYf(Y,Z)−EYf(Y,Z′) for an arbitrary bounded function of a past vector Y and a future vector Z; this requires a regular conditional distribution of Z given Y and one null set that works for all events at once (Lemma 4.1). That step uses that Rs is a standard Borel space, and it fails for an argument that handles one event at a time. Lemma 4.3 then needs care with the independent copy Z′ and with the three-block decomposition.
Formalization scope
All objects are defined in PoissonDepTrials.MixSqrt.Setting. The conventions are:
The trials are a sequence X:N→Ω→N, measurable, with values in {0,1} almost surely, and identically zero at index 0 and at indices above n. The zero padding is the paper's own convention (p. 535), and it changes no σ-algebra.
pi is defined as P(Xi=1), not taken as a parameter.
∥h∥ is replaced by an arbitrary bound M with ∣h∣≤M. ∥Sλh∥ is taken over w≥1, the domain of Sλh.
P(B∣M1j) is the conditional expectation of the indicator of B. Measurability of every Xi is assumed wherever (4.1) is used.
m-dependence is stated for the tail σ-algebra Mr+k,∞, which is equivalent to the paper's finite blocks.
EYf(Y,Z′), for Z′ an independent copy of Z, is written as ∫f(Y,z)dPZ(z), without enlarging Ω.
In Lemma 4.1, "Borel space" is StandardBorelSpace.
Added hypotheses: λ>0 in the identity (2.6) and in Lemmas 3.3, 3.4 and (2.5), because Sλh divides by λw; m≥1 and a≥1 in Lemmas 4.2 and 4.3, because (4.1) concerns lags ≥1 of a sequence starting at X1. The goal has no hypothesis λ>0: at λ=0 every trial vanishes almost surely and both sides are zero.
The goal does not mention Sλh, V(i) or Yij; it is stated only in terms of W, λ, the pi, Var(W), φ, m and h. The mixing condition is required to hold with a nonincreasing φ tending to 0, so it cannot be satisfied vacuously.
Reusable infrastructure includes the Stein–Chen identity (2.2), the bounds on the Stein solution (Lemmas 3.3, 3.4), and the covariance inequalities for φ-mixing sequences (Lemmas 4.2, 4.3), which apply beyond Poisson approximation. Proofs of any milestone are welcome, as are proofs of the companion results from the goal.
C. Stein, A bound for the error in the normal approximation to the distribution of a sum of dependent random variables, Proc. Sixth Berkeley Symp. Math. Statist. Probab. 2:583–602, 1972. https://projecteuclid.org/euclid.bsmsp/1200514239
I. A. Ibragimov, Some limit theorems for stationary processes, Theory Probab. Appl. 7(4):349–382, 1962. https://doi.org/10.1137/1107036
R. Arratia, L. Goldstein, L. Gordon, Two moments suffice for Poisson approximations: the Chen–Stein method, Ann. Probab. 17(1):9–25, 1989. https://doi.org/10.1214/aop/1176991491