Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Probability

1,628 missions · 692 completed

Missions

Open936Completed692All1628
🏆Completed
Operations ResearchOptimizationStatistics·Captain: mikedeng1

Recovering Best Statistical Guarantees via the Empirical Divergence-Based Distributionally Robust Optimization 1: Empirical Burg-Ball DRO Bounds Cover E[h(x;ξ)] with Probability Tending to 1 − αResearch Paper

Motivation

Stochastic programs and chance-constrained models in operations research contain expectations of the form

Z0(x)=E0[h(x;ξ)],Z_0(x)=\mathbb E_0[h(x;\xi)],Z0​(x)=E0​[h(x;ξ)],

where ξ\xiξ is a random input under an unknown distribution P0P_0P0​, xxx is a decision and hhh is a known loss. In practice P0P_0P0​ is seen only through i.i.d. data ξ1,…,ξn\xi_1,\dots,\xi_nξ1​,…,ξn​. Distributionally robust optimization (DRO) replaces the unknown expectation by the worst case over a set of plausible distributions, and a recurring question is how large that set should be so that the robust value is a statistically valid bound, without being needlessly conservative.

The usual answer, for divergence-based sets on a finite support of size kkk, sets the radius from a χk−12\chi^2_{k-1}χk−12​ quantile (Ben-Tal et al. 2013). This guarantee holds simultaneously for every function of the distribution, and so it is loose for a single expectation, and it degrades as kkk grows. H. Lam (arXiv:1605.09349, Operations Research 2019) observed that if the ball is placed around the empirical distribution and measured with the Burg entropy, the right radius uses one degree of freedom, whatever the support. The DRO bounds then form an asymptotically exact confidence interval for Z0(x)Z_0(x)Z0​(x). The mechanism is the empirical likelihood method of Owen (Owen 1988; Owen 2001).

Timeline:

  • 1988: Owen proves the empirical likelihood theorem for a mean (−2 log of the profile likelihood ratio tends to χ12\chi^2_1χ12​), the nonparametric analogue of Wilks' theorem.
  • 2013: Ben-Tal, den Hertog, De Waegenaere, Melenberg and Rennen calibrate φ\varphiφ-divergence balls on a finite support with χk−12\chi^2_{k-1}χk−12​ quantiles.
  • 2016: Lam (this paper) connects the empirical Burg-ball DRO to empirical likelihood, with pointwise (Theorem 2) and uniform (Theorem 4) coverage.
  • 2016–2021: Duchi, Glynn and Namkoong (arXiv:1610.03425) develop the general fff-divergence version and exact coverage of optimal values.

Setting

Data: ξ1,ξ2,…\xi_1,\xi_2,\dotsξ1​,ξ2​,… are i.i.d. random elements of a measurable space Ξ\XiΞ under P0P_0P0​. A decision x∈Rmx\in\mathbb R^mx∈Rm is fixed, and h(x;⋅):Ξ→Rh(x;\cdot):\Xi\to\mathbb Rh(x;⋅):Ξ→R is measurable with 0<Var⁡0h(x;ξ)<∞0<\operatorname{Var}_0 h(x;\xi)<\infty0<Var0​h(x;ξ)<∞.

The empirical Burg-entropy divergence ball of radius η\etaη is the set of weight vectors on the nnn data points

Un(η)={w∈Rn: −1n∑i=1nlog⁡(nwi)≤η, ∑i=1nwi=1, wi≥0},\mathcal U_n(\eta)=\Big\{w\in\mathbb R^n:\ -\frac1n\sum_{i=1}^n\log(nw_i)\le\eta,\ \sum_{i=1}^n w_i=1,\ w_i\ge0\Big\},Un​(η)={w∈Rn: −n1​i=1∑n​log(nwi​)≤η, i=1∑n​wi​=1, wi​≥0},

with log⁡0=−∞\log 0=-\inftylog0=−∞. It is the φ\varphiφ-divergence ball around the uniform weights 1/n1/n1/n for the Burg generator φ(t)=−log⁡t+t−1\varphi(t)=-\log t+t-1φ(t)=−logt+t−1. Let χ1,1−α2\chi^2_{1,1-\alpha}χ1,1−α2​ be the (1−α)(1-\alpha)(1−α)-quantile of the χ12\chi^2_1χ12​ law, i.e. P(Y2≤χ1,1−α2)=1−αP(Y^2\le\chi^2_{1,1-\alpha})=1-\alphaP(Y2≤χ1,1−α2​)=1−α for Y∼N(0,1)Y\sim N(0,1)Y∼N(0,1). The empirical DRO bounds are

Z‾n(x)=min⁡w∈Un(χ1,1−α2/(2n))∑i=1nh(x;ξi)wi,Z‾n(x)=max⁡w∈Un(χ1,1−α2/(2n))∑i=1nh(x;ξi)wi.\underline Z_n(x)=\min_{w\in\mathcal U_n(\chi^2_{1,1-\alpha}/(2n))}\sum_{i=1}^n h(x;\xi_i)w_i,\qquad \overline Z_n(x)=\max_{w\in\mathcal U_n(\chi^2_{1,1-\alpha}/(2n))}\sum_{i=1}^n h(x;\xi_i)w_i .Z​n​(x)=w∈Un​(χ1,1−α2​/(2n))min​i=1∑n​h(x;ξi​)wi​,Zn​(x)=w∈Un​(χ1,1−α2​/(2n))max​i=1∑n​h(x;ξi​)wi​.

For a sample z∈Rnz\in\mathbb R^nz∈Rn and a value μ\muμ, the profile empirical likelihood statistic is

−2log⁡R(μ)=min⁡{−2∑i=1nlog⁡(nwi): ∑iwizi=μ, ∑iwi=1, wi≥0},-2\log R(\mu)=\min\Big\{-2\sum_{i=1}^n\log(nw_i):\ \sum_i w_iz_i=\mu,\ \sum_i w_i=1,\ w_i\ge0\Big\},−2logR(μ)=min{−2i=1∑n​log(nwi​): i∑​wi​zi​=μ, i∑​wi​=1, wi​≥0},

equal to +∞+\infty+∞ when no weight vector is feasible.

Formalization targets

Goal: Theorem 2 (p. 11)

lim⁡n→∞P(Z‾n(x)≤Z0(x)≤Z‾n(x))=1−α.\lim_{n\to\infty}P\big(\underline Z_n(x)\le Z_0(x)\le\overline Z_n(x)\big)=1-\alpha .n→∞lim​P(Z​n​(x)≤Z0​(x)≤Zn​(x))=1−α.

The event is two-sided and joint. No rate is claimed.

Milestones

  • Proposition 2 (p. 23). For every data vector and κ≥0\kappa\ge0κ≥0,
min⁡Un(κ/(2n))∑iwizi≤μ≤max⁡Un(κ/(2n))∑iwizi  ⟺  −2log⁡R(μ)≤κ.\min_{\mathcal U_n(\kappa/(2n))}\textstyle\sum_i w_iz_i\le\mu\le\max_{\mathcal U_n(\kappa/(2n))}\sum_i w_iz_i\iff -2\log R(\mu)\le\kappa .Un​(κ/(2n))min​∑i​wi​zi​≤μ≤maxUn​(κ/(2n))​∑i​wi​zi​⟺−2logR(μ)≤κ.
  • Theorem 1, the empirical likelihood theorem (p. 10). −2log⁡R(Z0(x))⇒χ12-2\log R(Z_0(x))\Rightarrow\chi^2_1−2logR(Z0​(x))⇒χ12​.
  • The pointwise steps of the paper's proof of Theorem 1 (the proof of Theorem 5 with a one-point index set): Lemma 3 (p. 38), max⁡i≤n∣Yi∣=o(n1/2)\max_{i\le n}|Y_i|=o(n^{1/2})maxi≤n​∣Yi​∣=o(n1/2) a.s. for square-integrable i.i.d. YiY_iYi​; the closed form (49)–(50) (pp. 25–26) of the optimal weights; the multiplier bound (52) (p. 27); the expansion (68) (p. 30), −2log⁡R=ns−1hˉ2+op(1)-2\log R=n s^{-1}\bar h^2+o_p(1)−2logR=ns−1hˉ2+op​(1).

Significance

Theorem 2 says that a robust optimization formulation with a data-driven Burg ball of radius χ1,1−α2/(2n)\chi^2_{1,1-\alpha}/(2n)χ1,1−α2​/(2n) yields an asymptotically exact (1−α)(1-\alpha)(1−α) confidence interval for an expected loss, independently of the support size of ξ\xiξ. Proposition 2 is the bridge: it identifies the DRO interval with the empirical likelihood confidence region, so any distributional result on −2log⁡R-2\log R−2logR transfers to the DRO bounds. This is the pointwise basis of the paper's later results on feasibility of chance and expectation constraints.

The result is proved in the paper, and Theorem 1 is classical. To our knowledge none of these statements has a machine-checked proof. Formalizing them requires the empirical likelihood theorem in Lean, which is reusable well beyond DRO (empirical likelihood tests and intervals for means). The Open platform theorem GenEmpLik.Coverage.theorem_3 (Duchi, Glynn and Namkoong) implies the goal when its decision set is the single point {x}\{x\}{x} and its generator is 2φ2\varphi2φ with radius χ1,1−α2\chi^2_{1,1-\alpha}χ1,1−α2​; it is a different, more general statement and is not proved. Likewise the Open GenEmpLik.Expansion.lemma_7 implies Lemma 3, and the Proved NumStochOpt.ListScheduling.lemma_8_1_i_max_over_sqrt_ae gives Lemma 3 after passing to ∣Yi∣|Y_i|∣Yi​∣.

Difficulty

Proposition 2 is a finite-dimensional convexity statement, but it needs attainment of the minimum defining −2log⁡R-2\log R−2logR, which holds only because the objective blows up at the boundary of the simplex. The central difficulty is Theorem 1. The optimal weights are explicit only through a Lagrange multiplier λ\lambdaλ that solves a nonlinear equation; to expand −2log⁡R-2\log R−2logR one must first show λ=Op(n−1/2)\lambda=O_p(n^{-1/2})λ=Op​(n−1/2), which requires controlling the largest observation by Lemma 3 together with the law of large numbers for sss, and then bound the cubic Taylor remainder of log⁡(1+λh~i)\log(1+\lambda\tilde h_i)log(1+λh~i​) uniformly in iii. A direct appeal to the central limit theorem for the sample mean does not suffice, since −2log⁡R-2\log R−2logR is an implicitly defined optimal value, not a smooth function of the mean.

Formalization scope

  • The sample is a sequence ξ : ℕ → Ω → Ξ, measurable, mutually independent and identically distributed, indexed from 000; the size-nnn sample is fun i : Fin n => h x (ξ i ω).
  • The moment assumption is MemLp (h x ∘ ξ 0) 2 together with 0 < variance. Positive variance cannot be dropped: for a constant loss the coverage is 111.
  • The quantile is pinned by gaussianReal 0 1 {y | y^2 ≤ q} = ofReal (1 - α) with 0<α<10<\alpha<10<α<1; it is not a free parameter, and it is not the normal quantile.
  • The upper bound is the published GenEmpLik.Expansion.robustMean burg (q/2) (its ball has radius ρ/n\rho/nρ/n, so ρ=q/2\rho=q/2ρ=q/2); the lower bound is its infimum twin robustLower. The ball uses the published probUncertaintySet and phiDiv.
  • The Burg generator is +∞+\infty+∞ at t≤0t\le0t≤0, and the statistic elStat minimizes over strictly positive weights with the empty infimum equal to +∞+\infty+∞. Lean's junk value log⁡0=0\log 0=0log0=0 therefore never enters: a formalization with wi≥0w_i\ge0wi​≥0 and real logarithms would admit boundary weights with spurious finite divergence and is ruled out. For n≥1n\ge1n≥1 the value sets of the DRO bounds are nonempty and bounded, so the real infimum and supremum are not junk values.
  • The decision set Θ\ThetaΘ is dropped (the statements are pointwise in xxx). Theorem 1 is stated as convergence of distribution functions at every ttt, which is equivalent to ⇒χ12\Rightarrow\chi^2_1⇒χ12​ since the limit is continuous. Proposition 2 is stated for general κ≥0\kappa\ge0κ≥0 and every data vector, as displayed on p. 11. Milestones (49)–(50), (52), (68) are the one-point (Θ={x}\Theta=\{x\}Θ={x}) specialisations of the proof of Theorem 5.
  • Probabilities of events are outer probabilities; no measurability of events is assumed, as the paper ignores these issues (p. 14).
  • Not posed: the headline Theorem 4 (uniform calibration over Θ\ThetaΘ by the quantile of a χ2\chi^2χ2-process supremum), Theorem 5 and Lemma 2, which need Donsker classes and weak convergence in ℓ∞(Θ)\ell^\infty(\Theta)ℓ∞(Θ), for which Mathlib has no substrate.

Contributions welcome: proofs of Proposition 2 and Lemma 3 (from the Proved reference), the KKT analysis (49)–(52), and a Lean empirical likelihood theorem.

Selected references

  • H. Lam, Recovering Best Statistical Guarantees via the Empirical Divergence-Based Distributionally Robust Optimization, arXiv:1605.09349v1, 2016; Operations Research 67(4), 2019. https://arxiv.org/abs/1605.09349v1
  • A. B. Owen, Empirical likelihood ratio confidence intervals for a single functional, Biometrika 75(2), 1988. https://doi.org/10.1093/biomet/75.2.237
  • A. B. Owen, Empirical Likelihood, Chapman & Hall/CRC, 2001. https://doi.org/10.1201/9781420036152
  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg, G. Rennen, Robust solutions of optimization problems affected by uncertain probabilities, Management Science 59(2), 2013. https://doi.org/10.1287/mnsc.1120.1641
  • J. C. Duchi, P. W. Glynn, H. Namkoong, Statistics of robust optimization: a generalized empirical likelihood approach, Mathematics of Operations Research 46(3), 2021. https://arxiv.org/abs/1610.03425
13 thms2 active usersReviewed
🏆Completed
Mechanism DesignOperations ResearchStochastic Systems·Captain: mikedeng1

Pricing and Matching with Forward-Looking Buyers and Sellers 1: Waiting-Adjusted Fixed Prices with Greedy Matching Earn at Least 1 − (1 + 2(b+h)T/(3(p*−w*)))/√µ* of the Fluid Profit BoundResearch Paper

Why this market matters

An intermediary such as a ride platform must attract buyers and sellers who arrive at different times. A buyer may wait for a seller; a seller may wait for a buyer. Both sides can choose when to request a match, so an ask price and a bid price affect participation as well as the intermediary's margin. Chen and Hu study whether a simple posted-price policy remains profitable despite this waiting and the uncertainty of arrivals. Their submitted manuscript proves a finite-market guarantee and an asymptotic rate for the policy used here. The proof appears in its Supplemental Note, while the model and theorem are in the main text.

Market and benchmarks

Buyers arrive during a horizon [0,T][0,T][0,T] as a Poisson process of rate λd>0\lambda^d>0λd>0, and sellers arrive independently at rate λs>0\lambda^s>0λs>0. A buyer's valuation vvv has density fdf^dfd on [v‾,v‾][\underline v,\overline v][v​,v] and a seller's cost ccc has density fsf^sfs on [c‾,c‾][\underline c,\overline c][c​,c]. Marks are independent of arrival times. A buyer and a seller each trade at most one unit. If they wait after arrival, they incur costs bbb and hhh per unit time, respectively. The paper assumes regularity: the buyer's virtual value Vd(v)=v−Fˉd(v)/fd(v)V^d(v)=v-\bar F^d(v)/f^d(v)Vd(v)=v−Fˉd(v)/fd(v) and the seller's virtual cost Vs(c)=c+Fs(c)/fs(c)V^s(c)=c+F^s(c)/f^s(c)Vs(c)=c+Fs(c)/fs(c) are weakly increasing on their supports. Here Fˉd=1−Fd\bar F^d=1-F^dFˉd=1−Fd.

A clairvoyant assignment knows all arrivals through TTT. For each possible buyer–seller pair it assigns virtual surplus Vd(v)−Vs(c)V^d(v)-V^s(c)Vd(v)−Vs(c) less the waiting cost determined by their arrival order. It chooses a partial matching with greatest total value, denoted Jˉ(HT)\bar J(H^T)Jˉ(HT). A separate fluid program chooses a measurable, nonnegative pair of price trajectories that clears demand and supply at every time. Its optimal value is Jˉ∗\bar J^*Jˉ∗. These are different objects: Jˉ(HT)\bar J(H^T)Jˉ(HT) is random and uses indivisible agents, whereas Jˉ∗\bar J^*Jˉ∗ is a deterministic continuous-flow optimum. Lemma 2 of the manuscript compares their values in expectation.

Let μ∗\mu^*μ∗ be the greatest volume in [0,min⁡{λdT,λsT}][0,\min\{\lambda^dT,\lambda^sT\}][0,min{λdT,λsT}] with nonnegative marginal virtual surplus. The buyer and seller prices p∗,w∗p^*,w^*p∗,w∗ are inverse-distribution prices at that volume. Proposition 1 states that these constant prices attain the fluid optimum and Jˉ∗=(p∗−w∗)μ∗\bar J^*=(p^*-w^*)\mu^*Jˉ∗=(p∗−w∗)μ∗.

Formalization targets

The greedy matching policy pairs requests first come, first served. Under the waiting-adjusted fixed-price policy, a buyer's posted ask is p∗p^*p∗ minus bbb times a conditional expected wait per match probability; the seller's posted bid is w∗w^*w∗ plus the corresponding hhh term. The buyer adjustment is conditioned on the observed pre-arrival inventory signal. Agents request immediately exactly when their valuation or cost crosses the base-price threshold. The policy's expected profit JJJ is computed from posted prices paid by successfully matched agents.

The first target is the paper's finite-market bound:

JJˉ∗≥1−(1+2(b+h)T3(p∗−w∗))1μ∗.\frac{J}{\bar J^*}\ge 1-\left(1+\frac{2(b+h)T}{3(p^*-w^*)}\right)\frac{1}{\sqrt{\mu^*}}.Jˉ∗J​≥1−(1+3(p∗−w∗)2(b+h)T​)μ∗​1​.

When J≥0J\ge0J≥0, the benchmark comparison also gives J/E[Jˉ(HT)]≥J/Jˉ∗J/\mathbb E[\bar J(H^T)]\ge J/\bar J^*J/E[Jˉ(HT)]≥J/Jˉ∗. For scaled systems with arrival rates nαdλdn^{\alpha_d}\lambda^dnαd​λd and nαsλsn^{\alpha_s}\lambda^snαs​λs, where both exponents are positive, the second target is a constant CCC independent of nnn such that

J(n)Jˉ∗,(n)≥1−Cnmin⁡{αd,αs}(n≥1).\frac{J^{(n)}}{\bar J^{*,(n)}}\ge 1-\frac{C}{\sqrt{n^{\min\{\alpha_d,\alpha_s\}}}}\qquad(n\ge1).Jˉ∗,(n)J(n)​≥1−nmin{αd​,αs​}​C​(n≥1).

The milestone list follows the source's Proposition 1, Lagrangian relaxation, Lemma 2, Poisson request counts, policy profit identity, Gallego–van Ryzin moment bound, and Lemma S.5 on arrival-rate monotonicity. The last three supply the finite bound and its scaling statement in the Supplemental Note.

What the result gives

The finite bound quantifies the cost of using fixed base prices and greedy matching instead of the fluid ideal. Its two terms separate the loss from random mismatch and the extra waiting adjustment. The scaled bound says that, as both sides' arrival rates grow, the fraction of the fluid value lost by this policy vanishes at a rate governed by the slower-growing side. This offers a concrete reason to use a simple policy when the market is large, while keeping the smaller-market correction visible.

The paper already proves these claims. This mission asks for machine-checked proofs of their precise statements. The fluid optimizer, the clairvoyant matching problem, the marked Poisson arrival model, and the policy-profit identity are reusable mathematical objects beyond this theorem. The positive-part moment bound is an already published theorem and is referenced rather than posed again.

Where the argument is difficult

The obvious comparison between posted-price profit and fluid revenue misses the cost of requests that wait or never match. The price corrections themselves are conditional expectations divided by conditional match probabilities; their effect cannot be captured by simply subtracting a constant waiting charge. The proof must connect those corrections to the time integral of the queue imbalance, then control the imbalance of two Poisson request streams. A second difficulty is that the fluid optimum and the expected clairvoyant optimum are defined through different feasible sets, so their comparison needs a separate relaxation argument. These obstacles are visible in the source's proof of Lemma 2 and Theorem 2.

Formalization scope

The density and virtual-value environment is the published bilateral-trade definition, imported through a local name alias required by the frozen shared market module. Lean represents arrivals by independent Poisson counts and independent identically distributed time-and-value marks. This is equal in law to the paper's homogeneous marked Poisson processes on [0,T][0,T][0,T]. Arrival time marks are uniform probability laws, and valuation and cost marks use the source densities. Simultaneous requests are ordered by index; such ties have probability zero. The deterministic program ranges over measurable, nonnegative, market-clearing paths with interval-integrable objective terms. Its value is the supremum of their objectives, not a formula involving p∗p^*p∗ and w∗w^*w∗; Proposition 1 must establish that formula. The clairvoyant value uses the published partial-assignment-game worth, so negative-weight pairs may remain unmatched.

The density functions are continuous on their supports, an explicit addition needed for the inverse prices and maximum volume used by Proposition 1. The lower support endpoints are nonnegative so the constant prices belong to the nonnegative fluid price domain; this fills an implicit domain convention in the manuscript. For Theorem 2 the overlap condition is strict, c‾<v‾\underline c<\overline vc​<v, ensuring positive μ∗\mu^*μ∗ and p∗−w∗p^*-w^*p∗−w∗. The printed chain comparing J/E[Jˉ]J/\mathbb E[\bar J]J/E[Jˉ] and J/Jˉ∗J/\bar J^*J/Jˉ∗ is stated under J≥0J\ge0J≥0: when the numerator is negative, the claimed direction fails. Both expectations used as finite numbers are accompanied by integrability conclusions. Division by a zero match probability at the terminal time uses a zero convention on a set of arrival times with probability zero.

The policy model builds in the myopic request behavior that Theorem 1 identifies as an equilibrium; its strategic proof is outside this mission. The policy profit is the expectation of actual posted-price payments, and the waiting compensations are literal tagged-arrival conditional ratios. Contributions that prove the inverse-distribution properties, Poisson thinning, queue profit identity, fluid optimization, or final moment estimate all address parts of the stated target.

Selected references

  • Y. Chen and M. Hu, Pricing and Matching with Forward-Looking Buyers and Sellers, Manufacturing & Service Operations Management 22(4), 2020; submitted manuscript, SSRN 2859864.
12 thms2 active usersReviewed
🏆Completed
Algebraic TopologyComputational GeometryMachine Learning·Captain: mikedeng1

Persistence-Based Clustering in Riemannian Manifolds: With High Probability the Algorithm Returns as Many Clusters as the Density Has d₂-Prominent PeaksResearch Paper

Motivation

Mode-seeking clustering groups data points by the peak of an underlying probability density that they "flow up" to. Methods of this kind (mean-shift, graph-based hill climbing) are widely used, but their output depends heavily on noise: a density estimated from finitely many samples has many spurious local maxima, and each of them becomes a cluster. Chazal, Guibas, Oudot and Skraba (INRIA RR-6968, 2009; journal version J. ACM 60(6), 2013, doi:10.1145/2535927) combine graph-based hill climbing with topological persistence. Persistence measures how prominent each peak is, and peaks of low prominence are merged into their neighbours. The paper's main guarantee says when this algorithm recovers the right number of clusters from random samples. It holds on Riemannian manifolds that may be non-compact, and the clustering method is now known as ToMATo.

Setting

Let X\mathbb XX be an mmm-dimensional Riemannian manifold, possibly with boundary, with geodesic distance dXd_{\mathbb X}dX​ and mmm-dimensional Hausdorff measure Hm\mathcal H^mHm. The strong convexity radius ϱc(X)\varrho_c(\mathbb X)ϱc​(X) is the infimum over xxx of the largest rrr such that any two points of the closed ball BX(x,r)B_{\mathbb X}(x,r)BX​(x,r) are joined by a unique shortest path, and that path stays in the ball. Let f:X→Rf:\mathbb X\to\mathbb Rf:X→R be a probability density with respect to Hm\mathcal H^mHm that is ccc-Lipschitz, and write Fα=f−1([α,+∞))\mathbb F^\alpha=f^{-1}([\alpha,+\infty))Fα=f−1([α,+∞)) for its superlevel sets.

Persistence diagram. As α\alphaα decreases from +∞+\infty+∞ to −∞-\infty−∞, path components of Fα\mathbb F^\alphaFα are born at peaks of fff and die when they merge into an older component. The 0-th persistence diagram D0fD_0fD0​f records each component as a point (px,py)(p_x,p_y)(px​,py​) of the extended plane R‾2\overline{\mathbb R}^2R2, with birth pxp_xpx​ and death py≤pxp_y\le p_xpy​≤px​; a component that never dies has py=−∞p_y=-\inftypy​=−∞. The prominence of the peak is px−pyp_x-p_ypx​−py​. The diagonal is added with infinite multiplicity. fff is tame when this structure is of finite type. For d2>d1≥0d_2>d_1\ge0d2​>d1​≥0, D0fD_0fD0​f is (d1,d2)(d_1,d_2)(d1​,d2​)-separated when every off-diagonal point either has prominence <d1<d_1<d1​ (noise), or has prominence ≥d2\ge d_2≥d2​ and birth >d2>d_2>d2​ (signal).

Algorithm. The input is nnn sample points x1,…,xnx_1,\dots,x_nx1​,…,xn​, the values f(xi)f(x_i)f(xi​), the matrix of distances dX(xi,xj)d_{\mathbb X}(x_i,x_j)dX​(xi​,xj​) and parameters δ,τ\delta,\tauδ,τ. The Rips graph RδR_\deltaRδ​ joins two points at distance ≤δ\le\delta≤δ. The algorithm processes the points by decreasing fff and keeps a union-find structure whose entries are rooted at their highest point. When a point is processed, every neighbouring entry whose root is less than τ\tauτ higher than the point is merged into the point's entry. The point's own entry is then merged into the neighbouring entry with the highest root, if its own root is less than τ\tauτ higher than the point. The output is the set of final entries whose root has value ≥τ\ge\tau≥τ.

Sampling quantities. Nr(A)\mathcal N_r(A)Nr​(A) is the least number of closed geodesic balls of radius rrr covering AAA, and Vr(A)=inf⁡x∈AHm(BX(x,r))\mathcal V_r(A)=\inf_{x\in A}\mathcal H^m(B_{\mathbb X}(x,r))Vr​(A)=infx∈A​Hm(BX​(x,r)).

Formalization targets

Goal: Theorem 4.8 (p. 22)

Assume ϱc(X)>0\varrho_c(\mathbb X)>0ϱc​(X)>0, fff is a tame ccc-Lipschitz density, D0fD_0fD0​f is (d1,d2)(d_1,d_2)(d1​,d2​)-separated, 0<δ<min⁡{ϱc(X),d2−d15c}0<\delta<\min\{\varrho_c(\mathbb X),\frac{d_2-d_1}{5c}\}0<δ<min{ϱc​(X),5cd2​−d1​​} and τ∈(d1+2cδ, d2−3cδ)\tau\in(d_1+2c\delta,\,d_2-3c\delta)τ∈(d1​+2cδ,d2​−3cδ). Then for nnn i.i.d. samples from fff,

Pr⁡[#clusters≠#{peaks of prominence≥d2}]≤Nδ/8(Fcδ) e−n34cδ Vδ/8(Fcδ).\Pr\big[\#\text{clusters}\ne\#\{\text{peaks of prominence}\ge d_2\}\big]\le\mathcal N_{\delta/8}(\mathbb F^{c\delta})\,e^{-n\frac34c\delta\,\mathcal V_{\delta/8}(\mathbb F^{c\delta})}.Pr[#clusters=#{peaks of prominence≥d2​}]≤Nδ/8​(Fcδ)e−n43​cδVδ/8​(Fcδ).

Milestones

  1. Lemma 4.3 (p. 17): for ε>0\varepsilon>0ε>0 and α>cε\alpha>c\varepsilonα>cε, the sample is a geodesic ε\varepsilonε-sample of Fα\mathbb F^\alphaFα except with probability at most Nε/2(Fα)e−n(α−cε)Vε/2(Fα)\mathcal N_{\varepsilon/2}(\mathbb F^\alpha)e^{-n(\alpha-c\varepsilon)\mathcal V_{\varepsilon/2}(\mathbb F^\alpha)}Nε/2​(Fα)e−n(α−cε)Vε/2​(Fα).
  2. Theorem 4.5 (p. 19): if a finite LLL is a geodesic δ/4\delta/4δ/4-sample of Fα\mathbb F^\alphaFα, there is a multi-bijection between D0fD_0fD0​f and the diagram D0Rδf(L)D_0\mathcal R^f_\delta(L)D0​Rδf​(L) of the upper-star Rips filtration. Above α\alphaα it moves points by at most cδc\deltacδ, and in the lower-right quadrant it moves births by at most cδc\deltacδ.
  3. Noise image (proof of Thm 4.8, p. 22): the noise points are sent into Δd1+2cδN∪Λd1+2cδW\Delta^N_{d_1+2c\delta}\cup\Lambda^W_{d_1+2c\delta}Δd1​+2cδN​∪Λd1​+2cδW​.
  4. Signal image (pp. 22–23): the signal points are sent outside that region.
  5. Partition and count (p. 23): for τ\tauτ in the range, D0Rδf(L)D_0\mathcal R^f_\delta(L)D0​Rδf​(L) has exactly as many points in ΔτS∩ΛτE\Delta^S_\tau\cap\Lambda^E_\tauΔτS​∩ΛτE​ as D0fD_0fD0​f has peaks of prominence ≥d2\ge d_2≥d2​; for the tame D0fD_0fD0​f both counts are finite.
  6. Algorithm output (p. 23, with §3): for τ>0\tau>0τ>0 the algorithm returns exactly one cluster per point qqq of the Rips diagram with qx−qy≥τq_x-q_y\ge\tauqx​−qy​≥τ and qx≥τq_x\ge\tauqx​≥τ.

Significance

The theorem gives a sample-complexity guarantee for a practical clustering algorithm, with an explicit failure probability. It needs neither compactness of the manifold nor a density bounded away from zero; dense sampling of one superlevel set is enough. The separation hypothesis is a signal-to-noise condition, and it tells the user which range of τ\tauτ recovers the true number of clusters.

On the formalization side, the paper's results are proved on paper, but nothing about them is machine-checked. Of the steps, the paper proves Lemma 4.3 and the region analysis. Theorem 4.5 rests on the Rips-filtration analysis of Chazal–Guibas–Oudot–Skraba, SODA 2009, the interleaving and stability results of Chazal et al., SoCG 2009, and the paper's Lemma 4.6. The algorithm-output step (milestone 6) is asserted in the paper, not proved. The mission therefore asks for formal proofs of all six steps. A by-product is the first library of 0-dimensional persistence diagrams, multi-bijections and Rips filtrations on the platform.

Difficulty

The probabilistic step is a union bound over a minimal cover, but it has a gap. Covering balls need not be centred in Fα\mathbb F^\alphaFα, while V\mathcal VV is an infimum over balls centred in Fα\mathbb F^\alphaFα, so the comparison between the two is not justified on a general manifold. Theorem 4.5 is the hardest step. The obvious route, a bottleneck stability theorem, does not apply, because the sample covers only one superlevel set and not X\mathbb XX. This is why the conclusion distinguishes the quadrant above α\alphaα, where both coordinates are controlled, from the quadrant below, where only births are. Milestone 6 is a correctness proof for a union-find procedure with ties: entries are not path components, because prominent entries stay separate after their components meet.

Formalization scope

  • Manifold. X\mathbb XX is a metric space carrying Mathlib's Riemannian manifold structure (IsRiemannianManifold, a ModelWithCorners for the boundary), so dXd_{\mathbb X}dX​ is dist.
  • Measures and probability. Hm\mathcal H^mHm is Mathlib's unnormalized Hausdorff measure of dimension dim⁡E\dim EdimE; the statements are invariant under rescaling it. Samples are product measures on Fin n → X. "With probability at least 1−B1-B1−B" is an upper bound B∈[0,∞]B\in[0,\infty]B∈[0,∞] on the outer measure of the failure event. e−aVe^{-aV}e−aV uses e−∞=0e^{-\infty}=0e−∞=0 and 0⋅∞=00\cdot\infty=00⋅∞=0.
  • Convexity radius. It is computed in [0,+∞][0,+\infty][0,+∞], with shortest paths as isometric embeddings of [0,d(y,y′)][0,d(y,y')][0,d(y,y′)].
  • Diagrams. A diagram's multiplicities are computed from the rank function of the filtration, so they are not free data.
  • Tameness is pinned in a 0-dimensional form: finitely many path components at each level, finitely many critical values, and empty superlevel sets at high levels.
  • Multi-bijections are bijections between copies of points, the diagonal contributing countably many copies of each of its points.
  • Separation is imposed on off-diagonal points only. On the diagonal the literal definition is unsatisfiable when d1=0d_1=0d1​=0.
  • Algorithm. It runs Procedures 1–2 with an explicit union-find state, over every processing order compatible with the sort. The upper star of a point is its set of neighbours processed earlier.
  • Added hypotheses. c>0c>0c>0 in Theorem 4.8 and milestones 3–5 (the paper divides by ccc), and τ>0\tau>0τ>0 in milestone 6.

No formalization in which the number of clusters is defined as a count of diagram points, or in which the diagram is a free parameter, is acceptable: either one empties the goal. The running-time and memory claims of §3, the basin approximation of Theorem 4.9 and the Morse-theoretic material of §2.3 are out of scope. Lemma 4.3 is stated as printed, with covering balls centred anywhere, and its proof gap is an open risk that Theorem 4.8 inherits.

Contributions are welcome on every milestone. The persistence-diagram layer (rank functions, multiplicities, multi-bijections) and the union-find correctness proof are reusable beyond this mission.

Selected references

  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Persistence-Based Clustering in Riemannian Manifolds, INRIA Research Report RR-6968, 2009. https://inria.hal.science/inria-00389390
  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Persistence-Based Clustering in Riemannian Manifolds, Journal of the ACM 60(6), 2013. https://doi.org/10.1145/2535927
  • F. Chazal, D. Cohen-Steiner, M. Glisse, L. J. Guibas, S. Y. Oudot, Proximity of Persistence Modules and their Diagrams, Proc. 25th ACM Symposium on Computational Geometry, 2009. https://doi.org/10.1145/1542362.1542407
  • D. Cohen-Steiner, H. Edelsbrunner, J. Harer, Stability of Persistence Diagrams, Discrete & Computational Geometry 37, 2007. https://doi.org/10.1007/s00454-006-1276-5
  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Analysis of Scalar Fields over Point Cloud Data, SODA 2009. https://doi.org/10.1137/1.9781611973068.112
41 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

A Tutorial on Thompson Sampling II: Under Thompson Sampling, Per-Period Expected Regret Splits into a Pessimism Term and a Width Term for Any History-Determined U_tResearch Paper

Motivation

An online decision maker repeatedly chooses an action, observes an outcome, and receives a reward. In a Bayesian model, an unknown parameter controls the outcomes, and the decision maker begins with a prior distribution for that parameter. Thompson sampling acts by drawing a parameter from its current posterior distribution and choosing an action that would be best if that draw were correct. This makes it applicable when an agent can simulate a plausible model and optimize an action for that model. Russo, Van Roy, Kazerouni, Osband, and Wen explain this rule for general online decision problems in Section 4 of their tutorial.

The tutorial's Section 8.1.2 asks how to analyze the rule's expected regret. An upper confidence bound method chooses an action using an optimistic score and can analyze regret through the score's optimism and its uncertainty width. Thompson sampling does not choose its actions by maximizing such a score. Yet the tutorial shows that any score computed from the observed past can be used to split Thompson sampling's expected regret into the same two types of terms. The result is stated on pp. 72–73, equation (8.4) and the display that follows.

Setting

Let X\mathcal XX be a finite, nonempty set of actions, YYY a finite set of outcomes, and Θ\ThetaΘ a measurable parameter space. A prior probability measure PPP is placed on the unknown parameter θ∈Θ\theta\in\Thetaθ∈Θ. If action x∈Xx\in\mathcal Xx∈X is selected, the outcome is sampled from a probability kernel qθ(⋅∣x)q_\theta(\cdot\mid x)qθ​(⋅∣x) on YYY. A known function r:Y→Rr:Y\to\mathbb Rr:Y→R turns an outcome into a reward. The mean reward of action xxx under parameter θ\thetaθ is

μ(x,θ)=∑y∈Yqθ(y∣x)r(y).\mu(x,\theta)=\sum_{y\in Y}q_\theta(y\mid x)r(y).μ(x,θ)=y∈Y∑​qθ​(y∣x)r(y).

For each θ\thetaθ, choose an action x∗(θ)x^*(\theta)x∗(θ) maximizing μ(⋅,θ)\mu(\cdot,\theta)μ(⋅,θ). This choice uses a fixed tie-break and is measurable. The same selector is used throughout the mission. A length-ttt history HtH_tHt​ records the first ttt action–outcome pairs. A policy π\piπ assigns an action distribution to every such history. The prior, the policy, and the outcome kernel together determine the law of all histories: first draw θ\thetaθ from PPP, then choose each action from π\piπ using the past history, and finally generate its outcome using qθq_\thetaqθ​.

After history hhh, the posterior law of x∗x^*x∗ is obtained by reweighting the prior by the likelihood of the observed outcomes. Thompson sampling draws a parameter from this posterior and plays the selected optimum for that parameter. Thus the law of its next action, given hhh, is the posterior law of x∗x^*x∗ given hhh. The policy remains defined even for a history with zero likelihood; choices there do not affect expectations.

For a period ttt, let Ut(x)U_t(x)Ut​(x) be any real score that uses the action xxx and the observed history Ht−1H_{t-1}Ht−1​. The score is fixed before the period's outcome or the unknown parameter can be inspected. The period regret is μ(x∗,θ)−μ(xt,θ)\mu(x^*,\theta)-\mu(x_t,\theta)μ(x∗,θ)−μ(xt​,θ), with expectation taken over the prior, the policy's randomization, and the outcome process.

Formalization targets

Probability matching and equation (8.4)

The first target makes posterior sampling precise. For every feasible history hhh and action aaa, the probability that Thompson sampling next plays aaa, together with observing hhh, equals the joint probability that the selected optimum is aaa and the history is hhh. Consequently, for every history-determined UtU_tUt​,

Eπ[Ut(xt)]=Eπ[Ut(x∗)].\mathbb E_\pi[U_t(x_t)] =\mathbb E_\pi[U_t(x^*)].Eπ​[Ut​(xt​)]=Eπ​[Ut​(x∗)].

This is equation (8.4) on p. 72. It asserts equality of unconditional expectations while preserving the fact that UtU_tUt​ may depend on the past. It does not assert that xtx_txt​ and x∗x^*x∗ have the same joint law with θ\thetaθ.

Per-period regret decomposition

The goal is the full chain of equalities displayed on p. 73:

Eπ[μ(x∗,θ)−μ(xt,θ)]=Eπ[μ(x∗,θ)−Ut(xt)]+Eπ[Ut(xt)−μ(xt,θ)]=Eπ[μ(x∗,θ)−Ut(x∗)]⏟pessimism+Eπ[Ut(xt)−μ(xt,θ)]⏟width.\begin{aligned} \mathbb E_\pi[\mu(x^*,\theta)-\mu(x_t,\theta)] &=\mathbb E_\pi[\mu(x^*,\theta)-U_t(x_t)] +\mathbb E_\pi[U_t(x_t)-\mu(x_t,\theta)]\\ &=\underbrace{\mathbb E_\pi[\mu(x^*,\theta)-U_t(x^*)]}_{\text{pessimism}} +\underbrace{\mathbb E_\pi[U_t(x_t)-\mu(x_t,\theta)]}_{\text{width}}. \end{aligned}Eπ​[μ(x∗,θ)−μ(xt​,θ)]​=Eπ​[μ(x∗,θ)−Ut​(xt​)]+Eπ​[Ut​(xt​)−μ(xt​,θ)]=pessimismEπ​[μ(x∗,θ)−Ut​(x∗)]​​+widthEπ​[Ut​(xt​)−μ(xt​,θ)]​​.​

The theorem holds for every score UtU_tUt​ determined by the past history. In particular, UtU_tUt​ need not be a confidence bound for the identity to hold. Being a useful upper confidence bound matters when one later estimates the two terms.

Significance

The equality permits analyses built around optimistic scores to be transferred to Thompson sampling. It separates expected regret into a term measuring whether the score falls below the true optimal mean and another measuring the gap between the score and the true mean at the sampled action. The tutorial cites Russo and Van Roy for the surrounding regret bounds; the identity here is the precise bridge used in that discussion.

The result is already proved in the tutorial. This mission seeks a machine-checked proof of its finite-action, finite-outcome form, including the posterior-sampling law, the policy-dependent history distribution, and the conditioning behind equation (8.4). The goal and milestones are open Lean statements, not completed machine-checked proofs. Their definitions can be reused in later finite Bayesian decision models with a general measurable parameter.

Difficulty

The central issue is that xtx_txt​ and x∗x^*x∗ are not interchangeable inside an expression that depends on θ\thetaθ. The sampled action and the selected optimum have the same distribution after conditioning on the observed past, but generally have different dependence on the true parameter. For example, replacing UtU_tUt​ by μ(⋅,θ)\mu(\cdot,\theta)μ(⋅,θ) would make the claimed equality false. A formal proof therefore has to respect the boundary between history-derived scores and parameter-dependent quantities, and it must use the same history law to interpret every expectation. Histories of zero probability also require a consistent posterior convention.

Formalization scope

The Lean model uses finite action and outcome types and a general measurable parameter type. This is a disclosed specialization of the tutorial, which also allows infinite actions and more general outcome spaces. The kernel qθq_\thetaqθ​ is nonnegative, sums to one over outcomes, and is measurable in θ\thetaθ. The prior is a probability measure. The reward function is real valued and bounded because its domain is finite. The optimal-action selector has measurable fibers and maximizes the mean reward for every parameter. These conditions make the integrands measurable and bounded, avoiding default values of nonintegrable Lean integrals.

Histories are functions from a finite period index to action–outcome pairs. Policies are normalized, nonnegative behavioural action probabilities. The likelihood of a history multiplies both its policy action factors and its kernel outcome factors. The posterior uses only outcome likelihood factors, which give the Bayes update on every positive-evidence history. The Thompson-sampling predicate enforces the posterior action probabilities on those histories and permits any normalized policy on impossible ones. Lean period sss denotes the tutorial's period t=s+1t=s+1t=s+1.

The shared tie-break is essential: Thompson sampling and x∗x^*x∗ use the same selected maximizer. The score has type Ht−1→X→RH_{t-1}\to\mathcal X\to\mathbb RHt−1​→X→R, so it cannot inspect θ\thetaθ or the current outcome. No definition is allowed to supply regret or the decomposition as a predetermined constant; the expectation is built from the prior, policy and outcome kernel. The development needs reusable definitions for the Bayesian model, finite histories, behavioural policies, likelihoods, posterior masses, and the two regret terms. Contributions proving probability matching, equation (8.4), and the final identity are welcome.

Selected references

  • Daniel J. Russo, Benjamin Van Roy, Abbas Kazerouni, Ian Osband, and Zheng Wen, A Tutorial on Thompson Sampling, Foundations and Trends in Machine Learning 11(1), 2018. DOI: 10.1561/2200000070.
4 thms2 active usersReviewed
🏆Completed
Machine LearningStatistics·Captain: mikedeng1

Distribution-Free, Risk-Controlling Prediction Sets I: Upper Confidence Bound Calibration Selects a λ̂ Whose Risk Is at Most α with Probability at Least 1 − δ (Theorem 1)Research Paper

Motivation

A trained classifier or regressor returns a point prediction, but many uses of machine learning need a prediction set: a set of plausible labels together with a guarantee about how often, or how badly, it misses the truth. Medical imaging, protein structure prediction and multi-label classification are examples where a user wants a set whose expected loss is bounded, not just a best guess. Bates, Angelopoulos, Lei, Malik and Jordan (arXiv:2101.02703, J. ACM 68(6), 2021) give a procedure that wraps any black-box predictor and returns sets whose risk is controlled, with no assumption on the data distribution beyond i.i.d. calibration data.

The procedure generalizes split conformal prediction (Vovk, Gammerman and Shafer, 2005) and the tolerance regions of Wilks (1941), which control only the probability of missing the label, to an arbitrary monotone loss on sets (false-negative rate, coverage of a segmentation mask, a hierarchical loss). This mission formalizes its central guarantee, Theorem 1 (p. 5), together with the abstract form Theorem A.1 (p. 26) from which the paper derives it.

Setting

Let (X,Y)(X, Y)(X,Y) be a random pair in X×Y\mathcal X \times \mathcal YX×Y with law PPP, and let Z\mathcal ZZ be a set of labels. A set-valued predictor is a map T:X→2Z\mathcal T : \mathcal X \to 2^{\mathcal Z}T:X→2Z. The paper considers a family {Tλ}λ∈Λ\{\mathcal T_\lambda\}_{\lambda \in \Lambda}{Tλ​}λ∈Λ​ indexed by a closed set Λ⊆R∪{±∞}\Lambda \subseteq \mathbb R \cup \{\pm\infty\}Λ⊆R∪{±∞} that is nested:

λ1<λ2  ⟹  Tλ1(x)⊆Tλ2(x).(1)\lambda_1 < \lambda_2 \implies \mathcal T_{\lambda_1}(x) \subseteq \mathcal T_{\lambda_2}(x). \tag{1}λ1​<λ2​⟹Tλ1​​(x)⊆Tλ2​​(x).(1)

A loss on sets L(y,S)≥0L(y, S) \ge 0L(y,S)≥0 is required to decrease as the set grows:

S⊆S′  ⟹  L(y,S)≥L(y,S′).(2)S \subseteq S' \implies L(y, S) \ge L(y, S'). \tag{2}S⊆S′⟹L(y,S)≥L(y,S′).(2)

The risk of Tλ\mathcal T_\lambdaTλ​ is R(λ)=E[L(Y,Tλ(X))]R(\lambda) = \mathbb E[L(Y, \mathcal T_\lambda(X))]R(λ)=E[L(Y,Tλ​(X))], and the section assumes some λmax⁡∈Λ\lambda_{\max} \in \Lambdaλmax​∈Λ with R(λmax⁡)=0R(\lambda_{\max}) = 0R(λmax​)=0.

A risk-controlling prediction set at levels (α,δ)(\alpha, \delta)(α,δ) (Definition 1, p. 2) is a data-dependent predictor T\mathcal TT with R(T)≤αR(\mathcal T) \le \alphaR(T)≤α with probability at least 1−δ1 - \delta1−δ.

Given an i.i.d. calibration sample D=((X1,Y1),…,(Xn,Yn))D = ((X_1, Y_1), \dots, (X_n, Y_n))D=((X1​,Y1​),…,(Xn​,Yn​)), a pointwise upper confidence bound is a function R^+(λ)=R^+(D,λ)\widehat R^+(\lambda) = \widehat R^+(D, \lambda)R+(λ)=R+(D,λ) with

P(R(λ)≤R^+(λ))≥1−δfor each fixed λ.(3)P\big(R(\lambda) \le \widehat R^+(\lambda)\big) \ge 1 - \delta \quad \text{for each fixed } \lambda. \tag{3}P(R(λ)≤R+(λ))≥1−δfor each fixed λ.(3)

UCB calibration selects

λ^=inf⁡{λ∈Λ:R^+(λ′)<α  ∀λ′∈Λ, λ′≥λ}.(4)\hat\lambda = \inf\big\{\lambda \in \Lambda : \widehat R^+(\lambda') < \alpha \ \ \forall \lambda' \in \Lambda,\ \lambda' \ge \lambda\big\}. \tag{4}λ^=inf{λ∈Λ:R+(λ′)<α  ∀λ′∈Λ, λ′≥λ}.(4)

In Lean, the risk is RiskControl.UCB.risk P L T lam, the calibration set of (4) for one realization r of R^+\widehat R^+R+ is calSet Λ r α, and λ^\hat\lambdaλ^ is lambdaHat Λ r α.

Formalization targets

Goal: Theorem 1 (p. 5)

In the setting above, if (3) holds for every λ∈Λ\lambda \in \Lambdaλ∈Λ and RRR is continuous on Λ\LambdaΛ, then

Pn(R(Tλ^)≤α)≥1−δ.P^n\big(R(\mathcal T_{\hat\lambda}) \le \alpha\big) \ge 1 - \delta .Pn(R(Tλ^​)≤α)≥1−δ.

Nothing is assumed of R^+\widehat R^+R+ beyond (3); α\alphaα and δ\deltaδ are arbitrary reals.

Milestones

  1. Monotone risk (§2.1, pp. 4–5): (1) and (2) make RRR nonincreasing on Λ\LambdaΛ.
  2. The failure point (proof of Theorem A.1, p. 26, corrected): λ†=sup⁡{λ∈Λ:R(λ)>α}\lambda^\dagger = \sup\{\lambda \in \Lambda : R(\lambda) > \alpha\}λ†=sup{λ∈Λ:R(λ)>α} lies in Λ\LambdaΛ and R(λ†)≥αR(\lambda^\dagger) \ge \alphaR(λ†)≥α.
  3. Failure implies a low bound at λ†\lambda^\daggerλ† (p. 26, corrected): deterministically, R(λ^)>αR(\hat\lambda) > \alphaR(λ^)>α implies R^+(λ†)<α\widehat R^+(\lambda^\dagger) < \alphaR+(λ†)<α.
  4. Theorem A.1 (p. 26): for any continuous nonincreasing R:Λ→RR : \Lambda \to \mathbb RR:Λ→R and any R^+\widehat R^+R+ satisfying (3) on an abstract probability space, P(R(λ^)≤α)≥1−δP(R(\hat\lambda) \le \alpha) \ge 1 - \deltaP(R(λ^)≤α)≥1−δ.

Significance

Theorem 1 turns a confidence bound for one fixed parameter into a guarantee for a parameter chosen from the data. No uniform convergence over Λ\LambdaΛ is needed, so any concentration inequality for a mean (Hoeffding, Bentkus, the betting bound of Waudby-Smith and Ramdas) yields a calibration procedure immediately; the paper's Theorems 2–5 and 9–10 are of exactly this form, and the later Learn-then-Test and conformal risk control frameworks build on the same template.

The result is proved in the paper; nothing here is open. What the mission adds is a machine-checked version of an argument whose printed form has a gap. The printed proof of Theorem A.1 introduces λ∗=inf⁡{λ∈Λ:R(λ)≤α}\lambda^* = \inf\{\lambda \in \Lambda : R(\lambda) \le \alpha\}λ∗=inf{λ∈Λ:R(λ)≤α} and asserts R(λ∗)=αR(\lambda^*) = \alphaR(λ∗)=α "by continuity", which is false when Λ\LambdaΛ is not an interval. Finite grids, the usual choice of Λ\LambdaΛ in practice, are not intervals. The theorem remains true, and milestones 2 and 3 state the corrected steps. No formalization of risk-controlling prediction sets or of conformal prediction is known to exist in Lean or on this platform.

Difficulty

The obvious argument applies the confidence bound at λ^\hat\lambdaλ^; that fails because λ^\hat\lambdaλ^ depends on the data, so (3) says nothing at λ=λ^\lambda = \hat\lambdaλ=λ^. The proof must find one deterministic point at which a failure of calibration forces a failure of (3). The paper's choice λ∗\lambda^*λ∗ works only when RRR attains the value α\alphaα on Λ\LambdaΛ; on Λ={0,1}\Lambda = \{0, 1\}Λ={0,1} with R(0)=1R(0) = 1R(0)=1, R(1)=0R(1) = 0R(1)=0, α=1/2\alpha = 1/2α=1/2 and the exact bound R^+=R\widehat R^+ = RR+=R, the event {R^+(λ∗)<α}\{\widehat R^+(\lambda^*) < \alpha\}{R+(λ∗)<α} has probability one, so the printed last step does not bound anything. The second difficulty is boundary behaviour: Λ\LambdaΛ may contain ±∞\pm\infty±∞, the infimum in (4) may be over an empty set, and the calibration set need not contain its own infimum.

Formalization scope

  • Λ\LambdaΛ is a closed subset of EReal (the extended reals with the order topology); λ\lambdaλ is only compared, never added. Continuity of RRR is in the subspace topology of Λ\LambdaΛ.
  • Set-valued predictions are Set 𝒵, i.e. Y′=2Z\mathcal Y' = 2^{\mathcal Z}Y′=2Z (the paper uses 2Y2^{\mathcal Y}2Y for most of its examples).
  • The risk is the published definition WassersteinDRO.Duality.nominalRisk, a Bochner integral. Because a non-integrable integrand integrates to 000 in Lean, Theorem 1 assumes (x,y)↦L(y,Tλ(x))(x, y) \mapsto L(y, \mathcal T_\lambda(x))(x,y)↦L(y,Tλ​(x)) is PPP-integrable for every λ∈Λ\lambda \in \Lambdaλ∈Λ.
  • The standing assumptions of §2.1 are hypotheses of Theorem 1: Λ\LambdaΛ closed, (1) on Λ\LambdaΛ, (2), L≥0L \ge 0L≥0, and R(λmax⁡)=0R(\lambda_{\max}) = 0R(λmax​)=0 for some λmax⁡∈Λ\lambda_{\max} \in \Lambdaλmax​∈Λ. The monotonicity of RRR is not assumed in Theorem 1; it is milestone 1. Theorem A.1 assumes it, as printed.
  • The i.i.d. sample is Fin n → 𝒳 × 𝒴 under the product measure PnP^nPn. R^+\widehat R^+R+ is an arbitrary real function of the sample and of λ\lambdaλ; an infinite bound is represented by any value ≥α\ge \alpha≥α.
  • "With probability at least 1−δ1 - \delta1−δ" is written as a failure probability at most δ\deltaδ, measured as an outer measure; no measurability of R^+\widehat R^+R+ or λ^\hat\lambdaλ^ is assumed. For a measurable event this is the page's statement.
  • λ^\hat\lambdaλ^ is an infimum in EReal, so inf⁡∅=+∞\inf \emptyset = +\inftyinf∅=+∞ as on the page. Since +∞+\infty+∞ need not belong to Λ\LambdaΛ, the failure event is "the set in (4) is nonempty and R(λ^)>αR(\hat\lambda) > \alphaR(λ^)>α"; when the set is nonempty, λ^∈Λ\hat\lambda \in \Lambdaλ^∈Λ. When it is empty the procedure certifies nothing, and the natural output is Tλmax⁡\mathcal T_{\lambda_{\max}}Tλmax​​, of risk 000.
  • Corrections of the print: Theorem A.1's conclusion reads P(R(λ)≤α)P(R(\lambda) \le \alpha)P(R(λ)≤α), stated here with λ^\hat\lambdaλ^; the proof's point λ∗\lambda^*λ∗ and the claim R(λ∗)=αR(\lambda^*) = \alphaR(λ∗)=α are replaced by λ†=sup⁡{λ∈Λ:R(λ)>α}\lambda^\dagger = \sup\{\lambda \in \Lambda : R(\lambda) > \alpha\}λ†=sup{λ∈Λ:R(λ)>α} and R(λ†)≥αR(\lambda^\dagger) \ge \alphaR(λ†)≥α, which coincide with the page for an interval Λ\LambdaΛ.
  • A formalization that assumes RRR monotone in Theorem 1, quantifies over R^+\widehat R^+R+ inside the event, takes a real-valued infimum (which is 000 on unbounded sets) or drops the integrability guard would state a different theorem; the statement here does none of these.

Needed infrastructure is small: closed subsets of EReal and their infima and suprema (IsClosed.sInf_mem, IsClosed.sSup_mem), continuity within a set, monotonicity of the Bochner integral, and monotonicity of outer measure. Proofs of the milestones are welcome individually; the deterministic milestones 2 and 3 are reusable for every UCB-calibration theorem of the paper.

Selected references

  • S. Bates, A. Angelopoulos, L. Lei, J. Malik, M. I. Jordan, Distribution-Free, Risk-Controlling Prediction Sets, J. ACM 68(6), 2021; arXiv:2101.02703v3. https://arxiv.org/abs/2101.02703
  • V. Vovk, A. Gammerman, G. Shafer, Algorithmic Learning in a Random World, Springer, 2005. https://doi.org/10.1007/b106715
  • S. S. Wilks, Determination of sample sizes for setting tolerance limits, Ann. Math. Statist. 12(1), 1941. https://doi.org/10.1214/aoms/1177731788
  • I. Waudby-Smith, A. Ramdas, Estimating means of bounded random variables by betting, arXiv:2010.09686, 2020. https://arxiv.org/abs/2010.09686
7 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: Lucas

Douglas 2003: Statistics of String Vacua — Flux Counting and Gaussian EnsemblesResearch Paper

Motivation

String/M theory appears to admit a very large number of four-dimensional vacua, and M. R. Douglas's 2003 paper The statistics of string/M theory vacua proposes to study them statistically: instead of constructing vacua one at a time, one places a measure on a space of effective theories and computes expected numbers and distributions of vacua. Two concrete mathematical ingredients of that programme are the subject of this mission.

The first is the Bousso–Polchinski counting of flux vacua (Section 3.6 of the paper, following Bousso–Polchinski 2000). Quantized fluxes form an integer vector N∈ZJN\in\mathbb Z^JN∈ZJ, and the flux energy is a positive quadratic form in NNN. The number of flux choices with energy below VVV controls whether a small cosmological constant can be realised; the paper evaluates the number distribution (3.13) by replacing the lattice sum with an integral, obtaining a density proportional to VJ/2−1 dVV^{J/2-1}\,dVVJ/2−1dV.

The second is the Gaussian ensemble of superpotentials (Section 4 and 4.1): a random polynomial superpotential whose coefficients are independent complex Gaussians, with an explicit normalising constant and an explicit count of coefficients.

Setting

Fix an integer J≥0J\ge 0J≥0 (the number of independent flux quanta, J=bp+1J=b_{p+1}J=bp+1​ in the paper) and a constant c>0c>0c>0 (in the paper c=Mpl2/(M2pVp+12)c=M_{pl}^2/(M^{2p}V_{p+1}^2)c=Mpl2​/(M2pVp+12​)). For a flux vector N=(N1,…,NJ)∈ZJN=(N_1,\dots,N_J)\in\mathbb Z^JN=(N1​,…,NJ​)∈ZJ the flux potential is

V(N)=c∑i=1JNi2,V(N)=c\sum_{i=1}^J N_i^2 ,V(N)=ci=1∑J​Ni2​,

and the flux vacua count below level VVV is

NJ(c,V)=#{N∈ZJ:V(N)≤V}.\mathcal N_J(c,V)=\#\{N\in\mathbb Z^J : V(N)\le V\}.NJ​(c,V)=#{N∈ZJ:V(N)≤V}.

This is the cumulative distribution function of the measure dμ(V)=∑Nδ(V−V(N))d\mu(V)=\sum_N\delta(V-V(N))dμ(V)=∑N​δ(V−V(N)) of eq. (3.13). The unit ball in RJ\mathbb R^JRJ has volume ωJ=πJ/2/Γ(J/2+1)\omega_J=\pi^{J/2}/\Gamma(J/2+1)ωJ​=πJ/2/Γ(J/2+1), and the unit sphere has area Vol(SJ−1)=2πJ/2/Γ(J/2)=JωJ\mathrm{Vol}(S^{J-1})=2\pi^{J/2}/\Gamma(J/2)=J\omega_JVol(SJ−1)=2πJ/2/Γ(J/2)=JωJ​.

For the superpotential ensemble, a polynomial in nnn variables of degree at most ddd has one coefficient per monomial zI=z1I1⋯znInz^{I}=z_1^{I_1}\cdots z_n^{I_n}zI=z1I1​​⋯znIn​​ with ∣I∣≤d|I|\le d∣I∣≤d; the paper states there are c(d,n)=(d+n)!/(d! n!)c(d,n)=(d+n)!/(d!\,n!)c(d,n)=(d+n)!/(d!n!) of them. The coefficients wI∈Cw_I\in\mathbb CwI​∈C are given the weight (α/π)c(d,n)∏Id2wI e−α∣wI∣2(\alpha/\pi)^{c(d,n)}\prod_I d^2w_I\,e^{-\alpha|w_I|^2}(α/π)c(d,n)∏I​d2wI​e−α∣wI​∣2, α>0\alpha>0α>0, which the paper says is unit normalised.

Formalization targets

Goal: asymptotic count of flux vacua

lim⁡V→∞NJ(c,V)(V/c)J/2=πJ/2Γ(J/2+1).\lim_{V\to\infty}\frac{\mathcal N_J(c,V)}{(V/c)^{J/2}}=\frac{\pi^{J/2}}{\Gamma(J/2+1)} .V→∞lim​(V/c)J/2NJ​(c,V)​=Γ(J/2+1)πJ/2​.

This is the precise, integrated form of the approximation in (3.13): integrating 12Vol(SJ−1) c−J/2vJ/2−1\tfrac12\mathrm{Vol}(S^{J-1})\,c^{-J/2}v^{J/2-1}21​Vol(SJ−1)c−J/2vJ/2−1 from 000 to VVV gives exactly ωJ(V/c)J/2\omega_J (V/c)^{J/2}ωJ​(V/c)J/2.

Milestones

  1. Finiteness: for every VVV, only finitely many N∈ZJN\in\mathbb Z^JN∈ZJ satisfy V(N)≤VV(N)\le VV(N)≤V (so NJ\mathcal N_JNJ​ is a genuine count).
  2. Continuum volume: the Lebesgue volume of {x∈RJ:c∑xi2≤V}\{x\in\mathbb R^J : c\sum x_i^2\le V\}{x∈RJ:c∑xi2​≤V} equals ωJ(V/c)J/2\omega_J (V/c)^{J/2}ωJ​(V/c)J/2 for V≥0V\ge 0V≥0.
  3. Continuum density (3.13): for 0≤V1≤V20\le V_1\le V_20≤V1​≤V2​ and J≥1J\ge1J≥1, the volume of the shell {V1<c∑xi2≤V2}\{V_1<c\sum x_i^2\le V_2\}{V1​<c∑xi2​≤V2​} equals ∫V1V212Vol(SJ−1) c−J/2 vJ/2−1 dv\int_{V_1}^{V_2}\tfrac12\mathrm{Vol}(S^{J-1})\,c^{-J/2}\,v^{J/2-1}\,dv∫V1​V2​​21​Vol(SJ−1)c−J/2vJ/2−1dv.
  4. Coefficient count: #{I∈Nn:∣I∣≤d}=#{I∈Nn+1:∣I∣=d}=(d+n)!/(d! n!)\#\{I\in\mathbb N^n : |I|\le d\}=\#\{I\in\mathbb N^{n+1} : |I|=d\}=(d+n)!/(d!\,n!)#{I∈Nn:∣I∣≤d}=#{I∈Nn+1:∣I∣=d}=(d+n)!/(d!n!).
  5. Normalisation of the complex Gaussian ensemble: ∫Cm(α/π)me−α∑I∣wI∣2 d2mw=1\int_{\mathbb C^m}(\alpha/\pi)^m e^{-\alpha\sum_I|w_I|^2}\,d^{2m}w=1∫Cm​(α/π)me−α∑I​∣wI​∣2d2mw=1 for every mmm and α>0\alpha>0α>0.

Significance

The goal makes rigorous the step "replace the sum with an integral" that underlies the Bousso–Polchinski estimate of how many flux vacua lie below a given energy, with the exact constant appearing in (3.13). Milestones 4 and 5 certify the combinatorial and analytic constants of the Gaussian ensemble (4.6) on which the paper's densities (4.7)–(4.10) are built. None of these results is new mathematics: the goal is the JJJ-dimensional analogue of the Gauss circle problem at leading order, and the milestones are classical. What the mission adds is a machine-checked version of the precise constants used in the paper.

Difficulty

The goal requires comparing a lattice-point count with a volume. The naive bound, counting unit cubes centred at lattice points, must be controlled uniformly: cubes meeting the boundary of the ball contribute an error of order RJ−1R^{J-1}RJ−1 with R=V/cR=\sqrt{V/c}R=V/c​, and one has to show that this is o(RJ)o(R^J)o(RJ). The volume formula for Euclidean balls expressed through the Gamma function, and its transport to the product space RJ\mathbb R^JRJ with the sum-of-squares form, is further required infrastructure.

Formalization scope

  • Flux vectors are functions Fin J → ℤ; the count uses Set.ncard, whose value on an infinite set would be 000 — milestone 1 rules out that degenerate reading.
  • Continuum statements use the product Lebesgue measure on Fin J → ℝ (not EuclideanSpace), with the quadratic form c∑xi2c\sum x_i^2c∑xi2​ written out explicitly.
  • The Gaussian ensemble is formalised only for complex coefficients (the "GUE" case). For real coefficients the paper's constant (α/π)c(d,n)(\alpha/\pi)^{c(d,n)}(α/π)c(d,n) would not normalise the measure (the correct constant is (α/π)c(d,n)/2(\alpha/\pi)^{c(d,n)/2}(α/π)c(d,n)/2), so the real case is deliberately omitted.
  • The paper's finiteness conjecture (3.16) for full string compactifications, and the densities (4.7)–(4.10), are not formalised; they are not stated precisely enough in the source.
  • Definitions: DouglasVacua.fluxPotential, DouglasVacua.fluxVacuaCount.

Selected references

  • M. R. Douglas, The statistics of string/M theory vacua, JHEP 05 (2003) 046. https://doi.org/10.1088/1126-6708/2003/05/046 — arXiv:hep-th/0303194
  • R. Bousso, J. Polchinski, Quantization of four-form fluxes and dynamical neutralization of the cosmological constant, JHEP 06 (2000) 006. https://arxiv.org/abs/hep-th/0004134
7 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

A Tutorial on Thompson Sampling III: In the Known-Standard Problem, Every Stationary Deterministic Strategy Has Linearly Growing Expected Regret Under Some PriorResearch Paper

Why randomize actions

Thompson sampling (TS) selects each action by sampling a parameter from the current posterior and playing the action that is optimal for the sample. It is a stationary randomized strategy: the distribution of the action is a fixed function of the posterior, the same in every period, and the action is drawn at random from it. Its Bayesian regret bounds, surveyed in §8.1 of the tutorial by Russo, Van Roy, Kazerouni, Osband and Wen (Found. Trends Mach. Learn. 11(1), 2018), grow sublinearly in the horizon TTT.

A natural question is whether the randomization is essential. A strategy that maps the posterior to an action deterministically, for example "play the action with the highest posterior mean", is equally stationary and conceptually simpler. §8.1.3 of the tutorial answers the question with Example 8.1 (A Known Standard), taken from Russo and Van Roy, Learning to optimize via information-directed sampling (Operations Research 66(1), 2018): in a two-action problem with a known baseline action, every stationary deterministic strategy suffers linearly growing expected regret under some prior. The example is the standard justification for why posterior sampling, and not a deterministic function of the posterior, is the right stationary rule.

Setting

There are two actions X={1,2}\mathcal X=\{1,2\}X={1,2} and a binary unknown parameter θ∈{0,1}\theta\in\{0,1\}θ∈{0,1} with prior

θ∼Bernoulli(p0),P(θ=1)=p0.\theta\sim\mathrm{Bernoulli}(p_0),\qquad \mathbb P(\theta=1)=p_0 .θ∼Bernoulli(p0​),P(θ=1)=p0​.

In each period t=1,2,…t=1,2,\dotst=1,2,… the agent selects an action xtx_txt​ and observes a binary reward rtr_trt​. Rewards are conditionally independent across periods given θ\thetaθ and the actions:

  • action 111 (the known standard) pays Bernoulli(1/2)\mathrm{Bernoulli}(1/2)Bernoulli(1/2), whatever θ\thetaθ is;
  • action 222 pays Bernoulli(3/4)\mathrm{Bernoulli}(3/4)Bernoulli(3/4) if θ=1\theta=1θ=1 and Bernoulli(1/4)\mathrm{Bernoulli}(1/4)Bernoulli(1/4) if θ=0\theta=0θ=0.

The mean reward μ(x,θ)\mu(x,\theta)μ(x,θ) of action xxx is its success probability, and the optimal action x∗x^*x∗ is action 222 if θ=1\theta=1θ=1 and action 111 if θ=0\theta=0θ=0, so μ(x∗,θ)=3/4\mu(x^*,\theta)=3/4μ(x∗,θ)=3/4 or 1/21/21/2.

The history Ht\mathbb H_tHt​ lists the actions and rewards of the first ttt periods. The posterior pt=P(θ=1∣Ht)p_t=\mathbb P(\theta=1\mid\mathbb H_t)pt​=P(θ=1∣Ht​) is given by Bayes' rule (4.2) of the tutorial, applied period by period:

pt=p0 L1(Ht)p0 L1(Ht)+(1−p0) L0(Ht),Lθ(Ht)=∏s=1tPθ(rs∣xs),p_t=\frac{p_0\,L_1(\mathbb H_t)}{p_0\,L_1(\mathbb H_t)+(1-p_0)\,L_0(\mathbb H_t)},\qquad L_\theta(\mathbb H_t)=\prod_{s=1}^{t}\mathbb P_\theta(r_s\mid x_s),pt​=p0​L1​(Ht​)+(1−p0​)L0​(Ht​)p0​L1​(Ht​)​,Lθ​(Ht​)=s=1∏t​Pθ​(rs​∣xs​),

with p0p_0p0​ the prior on the empty history.

A stationary deterministic strategy is one function fff from posterior probabilities to actions, used in every period: xt=f(pt−1)x_t=f(p_{t-1})xt​=f(pt−1​). The expected cumulative regret (Bayesian regret, p. 71) of running fff from the prior p0p_0p0​ for TTT periods is

E[Regret(T)]=E[∑t=1T(μ(x∗,θ)−μ(xt,θ))],\mathbb E[\mathrm{Regret}(T)]=\mathbb E\Big[\sum_{t=1}^T\big(\mu(x^*,\theta)-\mu(x_t,\theta)\big)\Big],E[Regret(T)]=E[t=1∑T​(μ(x∗,θ)−μ(xt​,θ))],

the expectation taken over θ\thetaθ and the rewards. The Lean development names these objects succProb (μ\muμ), optMean (μ(x∗,⋅)\mu(x^*,\cdot)μ(x∗,⋅)), post (ptp_tpt​), Strategy (fff), lawGiven (the probability of a history given θ\thetaθ) and expRegret.

Formalization targets

Goal: some prior forces linear regret

∀f  ∃ p0∈(0,1]  ∃ c>0  ∀T∈N:Ep0[Regret(T)] ≥ c T.\forall f\ \ \exists\,p_0\in(0,1]\ \ \exists\,c>0\ \ \forall T\in\mathbb N:\qquad \mathbb E_{p_0}[\mathrm{Regret}(T)]\ \ge\ c\,T .∀f  ∃p0​∈(0,1]  ∃c>0  ∀T∈N:Ep0​​[Regret(T)] ≥ cT.

This is the sentence "for any deterministic stationary strategy, there exists a prior probability p0p_0p0​ such that expected cumulative regret grows linearly with time" (p. 79). The prior is chosen after the strategy. No constant is fixed; only the linear shape is asserted.

Milestones: the two cases of the example

  1. x1=1x_1=1x1​=1 for some p0>0p_0>0p0​>0. If f(p0)=1f(p_0)=1f(p0​)=1 for some p0∈(0,1]p_0\in(0,1]p0​∈(0,1], then on every history of positive probability pt=p0p_t=p_0pt​=p0​ and xt=1x_t=1xt​=1 for all ttt, and
Ep0[Regret(T)]=p04 T.\mathbb E_{p_0}[\mathrm{Regret}(T)]=\tfrac{p_0}{4}\,T .Ep0​​[Regret(T)]=4p0​​T.
  1. x1=2x_1=2x1​=2 for all p0>0p_0>0p0​>0. If f(p)=2f(p)=2f(p)=2 for every p∈(0,1]p\in(0,1]p∈(0,1], then for every p0∈(0,1]p_0\in(0,1]p0​∈(0,1], on every history of positive probability xt=2x_t=2xt​=2 for all ttt, and
Ep0[Regret(T)]=1−p04 T.\mathbb E_{p_0}[\mathrm{Regret}(T)]=\tfrac{1-p_0}{4}\,T .Ep0​​[Regret(T)]=41−p0​​T.

Significance

The example separates two properties that regret analyses often conflate: being a function of the posterior alone (stationarity) and achieving sublinear Bayesian regret. It shows that a stationary strategy with sublinear regret on all priors must randomize, which is the structural reason TS samples rather than maximizes. It also explains why deterministic algorithms with good regret, such as upper confidence bound methods, are necessarily nonstationary: their confidence radii depend on the period and on counts, not only on the posterior.

The tutorial gives the argument in one paragraph. A formal version makes precise what is left implicit there: that the posterior is the actual conditional probability computed from the history, that "uninformative" means the posterior is invariant under action 111, and that under action 222 the posterior never leaves (0,1](0,1](0,1]. The result is a closed-form regret identity in each case, not only an asymptotic statement. As far as is known, neither the example nor its source in Russo and Van Roy (2018) has been machine-checked.

Difficulty

The mathematics is elementary; the work lies in the bookkeeping of a history-dependent strategy. The strategy's action in period ttt depends on the whole history through pt−1p_{t-1}pt−1​, so the law of HT\mathbb H_THT​ is a product of indicator factors, each evaluating fff at a posterior computed from a prefix of the same history. A direct computation of the regret must show that every history of positive probability follows a single action path, and that is a statement about the posterior along every prefix, not only at the first period. A first attempt that defines the posterior by a recursion in which "the posterior stays at p0p_0p0​" is built in proves nothing about the example; the posterior must be Bayes' rule applied to the history.

Formalization scope

  • Paper action 111 is 0 : Fin 2, action 222 is 1 : Fin 2; θ=1\theta=1θ=1 is true; a reward of 111 is true. Lean period s : Fin T is the paper's period s+1s+1s+1.
  • Histories are Fin t → Fin 2 × Bool; every probability and expectation is a finite sum, so no measure theory is needed.
  • The posterior post is the closed form of iterated Bayes' rule (4.2). The probabilities with which the strategy picks its actions are 000 or 111 and do not depend on θ\thetaθ; on histories of positive probability they cancel, so post is the true conditional probability there. For 0<p0≤10<p_0\le10<p0​≤1 its denominator is positive, so Lean's convention x/0=0x/0=0x/0=0 is never used.
  • A strategy is a function ℝ → Fin 2; its values outside [0,1][0,1][0,1] are never used. The same function acts in every period, which is what "stationary" means.
  • The prior ranges over p0∈(0,1]p_0\in(0,1]p0​∈(0,1]: the text requires p0>0p_0>0p0​>0, and p0≤1p_0\le1p0​≤1 because it is a probability.
  • "Grows linearly with time" is read as a lower bound cTcTcT with c>0c>0c>0 for all TTT. The constant c>0c>0c>0 is part of the claim; c=0c=0c=0 would make the goal trivial. The quantifiers are in the order of the text, every strategy first and then a prior; the reverse order (one prior for all strategies) is a different statement that the tutorial does not claim.
  • Contributions welcome: proofs of the two milestones and of the goal from them, and lemmas on the posterior (invariance under an uninformative action, positivity) that are reusable for other Bayesian bandit examples.

The tutorial's argument for the example is on p. 79; the tutorial attributes the example to Russo and Van Roy (2018).

Selected references

  • D. J. Russo, B. Van Roy, A. Kazerouni, I. Osband, Z. Wen, A Tutorial on Thompson Sampling, Foundations and Trends in Machine Learning 11(1):1–96, 2018. https://doi.org/10.1561/2200000070 (Example 8.1, p. 79; Bayes' rule (4.2), p. 19; Bayesian regret, p. 71)
  • D. Russo, B. Van Roy, Learning to Optimize via Information-Directed Sampling, Operations Research 66(1):230–252, 2018. https://doi.org/10.1287/opre.2017.1663 (arXiv: https://arxiv.org/abs/1403.5556)
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4):1221–1243, 2014. https://doi.org/10.1287/moor.2014.0650
  • W. R. Thompson, On the likelihood that one unknown probability exceeds another in view of the evidence of two samples, Biometrika 25(3/4):285–294, 1933. https://doi.org/10.2307/2332286
4 thms2 active usersReviewed
🏆Completed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

Matroid Prophet Inequalities 3: Stopping at the First Value Above E[max X_i]/2 Earns at Least Half the Prophet's Expected MaximumResearch Paper

Motivation

A prophet inequality compares two players facing the same random sequence of rewards X1,X2,…,XnX_1, X_2, \dots, X_nX1​,X2​,…,Xn​. The gambler sees the values one at a time and must decide, as each value arrives, whether to stop and collect it; a value passed over is lost. The prophet knows the whole sequence in advance and simply takes its maximum. In 1978 Krengel, Sucheston and Garling showed that when the XiX_iXi​ are independent, non-negative and E[max⁡iXi]<∞\mathbb E[\max_i X_i] < \inftyE[maxi​Xi​]<∞, the gambler has a stopping rule τ\tauτ with

2 E[Xτ]  ≥  E[max⁡iXi],2\,\mathbb E[X_\tau] \;\ge\; \mathbb E\big[\max_i X_i\big],2E[Xτ​]≥E[imax​Xi​],

and that the factor 222 cannot be improved. This inequality, labelled (1) in Kleinberg and Weinberg's Matroid Prophet Inequalities (arXiv:1201.4764, STOC 2012), is the starting point of optimal stopping theory's prophet inequalities and, more recently, of a large literature in online algorithms and algorithmic mechanism design, where it is the reason that a single posted price can extract a constant fraction of the optimal welfare or revenue.

Timeline.

  • 1977: Krengel and Sucheston prove the inequality with factor 4 in place of 2 (Bull. Amer. Math. Soc. 83).
  • 1978: Krengel and Sucheston publish the result attributed to Krengel, Sucheston and Garling, the factor-2 inequality (1) for independent non-negative rewards with E[max⁡iXi]<∞\mathbb E[\max_i X_i] < \inftyE[maxi​Xi​]<∞; the factor 222 cannot be improved.
  • 1984: Samuel-Cahn shows that a single threshold suffices: stopping at the first value above a threshold TTT with Pr⁡[max⁡iXi>T]=12\Pr[\max_i X_i > T] = \tfrac12Pr[maxi​Xi​>T]=21​ (a median of max⁡iXi\max_i X_imaxi​Xi​) already achieves the factor 222 (doi:10.1214/aop/1176993223).
  • 2012: Kleinberg and Weinberg, introducing the matroid prophet inequality, give in §3.1 a second single-threshold rule, with threshold T=E[max⁡iXi]/2T = \mathbb E[\max_i X_i]/2T=E[maxi​Xi​]/2, and a half-page proof that it earns at least TTT. This rule and its analysis are the rank-one case of their matroid algorithm.

This mission formalizes that §3.1 result.

Setting

Let (Ω,F,P)(\Omega, \mathcal F, \mathbb P)(Ω,F,P) be a probability space and n≥1n \ge 1n≥1. Let X1,…,XnX_1, \dots, X_nX1​,…,Xn​ be real random variables on Ω\OmegaΩ that are independent (as a family), non-negative, and such that the prophet's value max⁡iXi\max_i X_imaxi​Xi​ has finite expectation. Define

T=12 E[max⁡iXi],p=Pr⁡[max⁡iXi≥T].T = \tfrac12\,\mathbb E\big[\max_i X_i\big], \qquad p = \Pr\big[\max_i X_i \ge T\big].T=21​E[imax​Xi​],p=Pr[imax​Xi​≥T].

The single-threshold rule observes X1,X2,…X_1, X_2, \dotsX1​,X2​,… in order and stops at the first time τ\tauτ with Xτ≥TX_\tau \ge TXτ​≥T, collecting XτX_\tauXτ​. If no XiX_iXi​ reaches TTT, the rule accepts nothing and collects 000. Write XτX_\tauXτ​ for the amount collected; it equals Xτ(ω)(ω)X_{\tau(\omega)}(\omega)Xτ(ω)​(ω) on the event {max⁡iXi≥T}\{\max_i X_i \ge T\}{maxi​Xi​≥T}, which has probability ppp, and 000 off it.

In Lean the variables are X : Fin n → Ω → ℝ with [NeZero n]; max⁡iXi\max_i X_imaxi​Xi​ is maxX X, TTT is thr P X, ppp is stopProb P X, and XτX_\tauXτ​ is reward P X, all in the namespace MatroidProphetKW.RankOne.

Formalization targets

Goal: the half-mean threshold rule

E[Xτ]  ≥  T  =  12 E[max⁡iXi].\mathbb E[X_\tau] \;\ge\; T \;=\; \tfrac12\,\mathbb E\big[\max_i X_i\big].E[Xτ​]≥T=21​E[imax​Xi​].

This is inequality (1) for an explicit rule, which is stronger than (1)'s existence statement. The constant 12\tfrac1221​ is sharp, so the goal is stated with it.

Milestones (in the order the paper's argument uses them)

  1. Tail bound, for every x>Tx > Tx>T:
Pr⁡[Xτ>x]  ≥  (1−p)∑i=1nPr⁡[Xi>x].\Pr[X_\tau > x] \;\ge\; (1-p)\sum_{i=1}^n \Pr[X_i > x].Pr[Xτ​>x]≥(1−p)i=1∑n​Pr[Xi​>x].
  1. Comparison with the prophet's tail, for every x>Tx > Tx>T:
Pr⁡[Xτ>x]  ≥  (1−p) Pr⁡[max⁡iXi>x].\Pr[X_\tau > x] \;\ge\; (1-p)\,\Pr\big[\max_i X_i > x\big].Pr[Xτ​>x]≥(1−p)Pr[imax​Xi​>x].
  1. The prophet's upper tail:
∫T∞Pr⁡[max⁡iXi>x] dx  ≥  T.\int_T^\infty \Pr\big[\max_i X_i > x\big]\,dx \;\ge\; T.∫T∞​Pr[imax​Xi​>x]dx≥T.
  1. The gambler's lower tail:
∫0TPr⁡[Xτ>x] dx  ≥  pT.\int_0^T \Pr[X_\tau > x]\,dx \;\ge\; pT.∫0T​Pr[Xτ​>x]dx≥pT.

Significance

The result. A threshold that depends on the distributions only through one number, E[max⁡iXi]\mathbb E[\max_i X_i]E[maxi​Xi​], already matches the optimal worst-case guarantee of the best stopping rule. Because it is a single price, the rule translates directly into a posted-price mechanism: a seller who posts the price TTT to arriving buyers obtains half of the expected maximum value. The same accounting, in which accepted value is charged against the threshold and rejected value against the probability of having accepted nothing, is what Kleinberg and Weinberg generalize to matroids (missions 1 and 2 of this series).

Formalizing it. The result is proved and classical; the work here is to formalize its known proof. No machine-checked proof of the factor-2 prophet inequality is in Mathlib, and none was found among the platform's published theorems in October 2026. A completed development provides the inequality itself, the tail comparisons, and the layer-cake bookkeeping for a stopped reward, all of which are reusable for other single-threshold prophet inequalities (Samuel-Cahn's median rule, kkk-choice and posted-price variants).

Difficulty

The expected reward of the rule is not a function of the marginals of the individual XiX_iXi​ alone in an obvious way: the event that the rule is still running when XiX_iXi​ arrives depends on X1,…,Xi−1X_1, \dots, X_{i-1}X1​,…,Xi−1​, and the reward is XτX_\tauXτ​ at a random index. The natural first attempt, comparing XτX_\tauXτ​ and max⁡iXi\max_i X_imaxi​Xi​ pointwise, fails, since on a given outcome the rule may stop early at a value just above TTT while the maximum comes later. The comparison has to be made between distributions, at each level xxx, and it has to use independence to decouple "nothing accepted before time iii" from "Xi>xX_i > xXi​>x". The rest is measure-theoretic bookkeeping that is routine on paper and not routine in Lean: expressing expectations of non-negative variables as integrals of tail probabilities, splitting them at TTT, and keeping track of integrability.

Formalization scope

  • Probability space. Ω with a MeasurableSpace, P : Measure Ω with [IsProbabilityMeasure P].
  • Variables. X : Fin n → Ω → ℝ, [NeZero n]; each X i measurable; iIndepFun X P (mutual independence); 0 ≤ X i ω for all i, ω; Integrable (maxX X) P, which is the paper's E[max⁡iXi]<∞\mathbb E[\max_i X_i] < \inftyE[maxi​Xi​]<∞.
  • Maximum. Finset.sup' over the nonempty index set; no junk supremum.
  • Expectations and probabilities. Bochner integrals (∫ ω, … ∂P) and Measure.real probabilities. Tail integrals are Lebesgue integrals of x↦Pr⁡[⋅>x]x \mapsto \Pr[\cdot > x]x↦Pr[⋅>x] over (T,∞)(T, \infty)(T,∞) and (0,T](0, T](0,T].
  • Weak and strict inequalities are as printed: the rule stops at Xτ≥TX_\tau \ge TXτ​≥T, p=Pr⁡[max⁡iXi≥T]p = \Pr[\max_i X_i \ge T]p=Pr[maxi​Xi​≥T], tails are Pr⁡[⋅>x]\Pr[\cdot > x]Pr[⋅>x], for x>Tx > Tx>T.
  • The rule may accept nothing. The reward is 000 when no value reaches TTT; the rule is not forced to stop at XnX_nXn​.

The threshold TTT is a definition, E[max⁡iXi]/2\mathbb E[\max_i X_i]/2E[maxi​Xi​]/2, not a free parameter constrained by hypotheses; a formalization in which TTT is arbitrary and the upper-tail bound is assumed would make the goal a rearrangement of its hypotheses, and is ruled out.

Infrastructure that a complete development needs, and that is welcome as separate contributions: the layer-cake formula E[Y]=∫0∞Pr⁡[Y>x] dx\mathbb E[Y] = \int_0^\infty \Pr[Y > x]\,dxE[Y]=∫0∞​Pr[Y>x]dx for non-negative integrable YYY split at a level TTT (Mathlib has the unsplit form, MeasureTheory.integral_eq_integral_meas_lt); measurability and integrability of the stopped reward (it is dominated by max⁡iXi\max_i X_imaxi​Xi​); and the probability of the event "the first i−1i-1i−1 values are below TTT and Xi>xX_i > xXi​>x" as a product under iIndepFun.

Selected references

  • Robert Kleinberg and S. Matthew Weinberg, Matroid Prophet Inequalities, STOC 2012, pp. 123–136; preprint arXiv:1201.4764v1, 2012. https://arxiv.org/abs/1201.4764 (doi:10.1145/2213977.2213991)
  • Ulrich Krengel and Louis Sucheston, Semiamarts and finite values, Bulletin of the American Mathematical Society 83, 1977, pp. 745–747.
  • Ulrich Krengel and Louis Sucheston, On semiamarts, amarts, and processes with finite value, Advances in Probability and Related Topics 4, 1978, pp. 197–266.
  • Ester Samuel-Cahn, Comparison of threshold stop rules and maximum for independent nonnegative random variables, Annals of Probability 12(4), 1984, pp. 1213–1216. https://doi.org/10.1214/aop/1176993223
5 thms2 active usersReviewed
🏆Completed
Functional Analysis·Captain: marwahaha

Independent products in real L1: asymptotic midpoint convexity without AUC renormingsOpen Problem

Motivation

Independent positive multipliers on a branching tree generate concrete subspaces of real L1. Their asymptotic geometry can distinguish midpoint estimates from AUC renormability. The pinned manuscript supplies the research context.

Setting

A nonconstant positive multiplier has probability law μ, mean one and finite second moment. Path products are multiplied along nonempty prefixes, and their L1 classes generate a closed real span.

Formalization target

The selected goal is OAI.IndependentProducts.main_general. Its central assertion is

dim⁡productSpan⁡(μ)=∞,¬∃ equivalent AUC norm.\dim\operatorname{productSpan}(\mu)=\infty,\qquad\neg\exists\text{ equivalent AUC norm}.dimproductSpan(μ)=∞,¬∃ equivalent AUC norm.

The theorem states that, for any Borel measure μ on ℝ satisfying the multiplier hypotheses, the closed real L¹ span of the path products is infinite-dimensional, and no equivalent norm on it is AUC. The hypotheses say that μ is a probability measure, almost every value is positive, μ is not almost surely equal to any constant, its mean is 1, and the identity function has a finite second moment (is in L²). Vertices are finite lists of positive integers, a sample assigns a real number to each nonroot vertex, and the product measure is the infinite product of independent copies of μ, one per nonroot vertex. The path product of a vertex v multiplies the sample values at the nonempty prefixes of v, and is 1 for the root. productSpan(μ) is the topological closure, in L¹ of the product measure, of the real linear span of the classes equal almost everywhere to some path product. The theorem concludes first that productSpan(μ) is not finite-dimensional over ℝ. Second, for every seminorm N on productSpan(μ) that is an equivalent norm, meaning there are constants 0<a≤b with a‖x‖≤N(x)≤b‖x‖ for all x, N fails the AUC property, which requires that, for every t>0, the one-sided asymptotic modulus of N at t is strictly positive. That modulus is the infimum over N-unit vectors x of the supremum over closed finite-codimension subspaces F of the infimum of N(x+ty)−1 over y in F with N(y)=1. The statement is given as an admitted theorem without proof.

Significance and status

The selected general target asserts infinite dimension and absence of AUC renormings. Specific exponential and Gaussian-square midpoint estimates are separate published targets, retained as additional references. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.

Difficulty

The obstruction must work for every admissible multiplier distribution and every equivalent norm, rather than only a particular exponential example.

Formalization scope

The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.

Additional published targets are included as separate references:

  • OAI.IndependentProducts.main_exponential (Open).
  • OAI.IndependentProducts.main_gaussian_12 (Open).
  • OAI.IndependentProducts.main_gaussian_24 (Open).

Selected references

  • OpenAI, Independent products in real L1: asymptotic midpoint convexity without AUC renormings, preprint, 2026. Manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Selected goal source.
35 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: marwahaha

Pure-Point Spectrum for the Two-Dimensional Anderson Model at Every Positive DisorderOpen Problem

Motivation

Random site energies change the spectral behavior of a lattice Schrödinger operator. Identifying its almost-sure spectrum is one part of the planar Anderson problem. The pinned manuscript supplies the research context.

Setting

The lattice is the integer plane. A state is a square-summable complex function on its sites, and the potential at each site is independently uniform on the interval from −h to h, with h positive.

Formalization target

The selected goal is OAI.PlanarAnderson.anderson_spectrum_ae. Its central assertion is

σ(Hv)=[−4−h,4+h].\sigma(H_v)=[-4-h,4+h].σ(Hv​)=[−4−h,4+h].

The theorem states that for every real h>0, for almost every disorder configuration v under disorderLaw(h), there exists a bounded complex-linear operator H on the Hilbert space ℓ²(ℤ², ℂ) of square-summable complex functions on the planar lattice ℤ×ℤ such that H is an Anderson operator for v, H is self-adjoint, and the spectrum of H in ℂ equals the real interval [-4-h, 4+h] (embedded in ℂ as the points with imaginary part 0). Here a configuration is a real-valued function v on lattice sites, and disorderLaw(h) is the infinite product measure over sites of the uniform distribution (Lebesgue measure conditioned on the interval) on [-h,h], so the potential values are independent. H is an Anderson operator for v when, for every u in ℓ² and every site x=(a,b), (Hu)(a,b) = u(a+1,b)+u(a-1,b)+u(a,b+1)+u(a,b-1)+v(a,b)u(a,b), the sum of the four nearest-neighbour values plus the local potential times u at x. The statement is recorded as an admitted theorem.

Significance and status

The selected goal asserts existence, self-adjointness and the spectrum interval. Pure-point spectral type, a complete eigenbasis and dynamical localization are not conclusions of this published target. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.

Difficulty

The interval must be identified almost surely for an infinite random operator, including both exclusion of spectrum outside the interval and inclusion of its interior.

Formalization scope

The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.

The available published material supplies this goal and its necessary definitions. Additional manuscript lemmas are not represented as attached milestones.

Selected references

  • OpenAI, Pure-Point Spectrum for the Two-Dimensional Anderson Model at Every Positive Disorder, preprint, 2026. Manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Selected goal source.
2 thms2 active usersReviewed
🏆Completed
Representation Theory·Captain: marwahaha

Optimal-order mixing of the Thorp shuffleOpen Problem

Motivation

The full permutation of a deck can remain far from uniform after each individual card is nearly uniform. The source analyzes Thorp mixing through representation estimates; the available goal isolates a reciprocal-dimension estimate and its Fourier consequence. The source is OpenAI's September 2026 manuscript.

Setting

A Specht module is a complex representation of a symmetric group associated with a partition. Sum the reciprocals of these dimensions over all partitions of nnn, and let C1C_1C1​ be the supremum of these sums for positive nnn. A permutation distribution is compared with uniform through its averaged action on an irreducible representation.

Formalization targets

sup⁡n≥1∑λ⊢n1dim⁡Sλ<∞,∥ν^(ρ)∥≤32C1(dim⁡ρ)−5/16.\sup_{n\ge1}\sum_{\lambda\vdash n}\frac1{\dim S^\lambda}<\infty,\qquad\|\widehat\nu(\rho)\|\le\sqrt{32C_1}(\dim\rho)^{-5/16}.n≥1sup​λ⊢n∑​dimSλ1​<∞,∥ν(ρ)∥≤32C1​​(dimρ)−5/16.

A conjunction of two parts. First, for each n let reciprocalFirst(n) be the sum, over all partitions p of n, of 1/deg(p), where deg(p) is the complex dimension of the Specht module of shape p (the span of the permutation-group translates of the polytabloid built from the canonical tableau, inside the space of tabloids). Let C1 be the supremum of reciprocalFirst(n) over n ≥ 1. The theorem asserts that this set of values is bounded above, that reciprocalFirst(n) ≤ C1 for every n ≥ 1, and that exceptionalFirst(n) tends to 0 as n → ∞, where exceptionalFirst(n) is the same sum of 1/deg(p) restricted to partitions p whose defect n − max(first row length, first column length) is positive. Second, for every d ≥ 3, every bijection e between the set of positions {0,1}^d (functions Fin d → Bool) and Fin 8 × Fin(2^(d−3)), every finite-dimensional complex inner product space E, and every irreducible complex representation ρ of the symmetric group on the positions, acting on E by inner-product-preserving maps, the following holds. Let ν be a probability distribution on this symmetric group (nonnegative values summing to 1) such that, for each i in Fin 8 and each group element g, the total ν-mass of the coset g·B_i is at most 4·|Sym(2^(d−3))|/|Sym(positions)|, where B_i is the subgroup of permutations that act through e by an arbitrary permutation of the i-th block of 2^(d−3) points and fix all other points. Then the operator norm of Σ_g ν(g)ρ(g) is at most √(32·C1)·(dim E)^(−5/16).

The goal is OAI.Thorp.Current.first_reciprocal_main.

Significance

The goal also proves that the reciprocal sum over shapes of positive defect tends to zero. The Fourier bound applies to distributions satisfying the specified eight-block coset-mass condition. 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

One-card mixing does not control high-dimensional permutation representations. The bound must account for small-dimensional exceptional shapes and quantify contraction in every admissible irreducible representation.

Formalization scope

The Fourier clause has d≥3d\ge3d≥3, positions on a ddd-bit cube, a bijection into eight equal blocks, and unitary irreducible complex representations. Its coset-mass hypothesis is retained exactly. The target is a supporting representation estimate, not the paper’s final 1600d1600d1600d-shuffle total-variation theorem.

The shared definitions are supplied by ThorpFirstReciprocal. 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, Optimal-order mixing of the Thorp shuffle, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
40 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: marwahaha

Renewal and changes of law for critical honeycomb walksOpen Problem

Motivation

An external force rewards self-avoiding walks whose endpoints move in a chosen direction. The source studies critical honeycomb scaling; the available formal goal supplies existence of the forced free-energy limit. The source is OpenAI's September 2026 manuscript.

Setting

For an nnn-step self-avoiding walk, the endpoint displacement is embedded in the complex plane. Its projection onto eee is the real part of e‾\overline ee times that displacement. The partition sum weights the walk by critical activity to the nnnth power and an exponential force reward.

Formalization targets

1nlog⁡ ⁣∑γ∈SAW⁡n(o)ρnesRe⁡(e‾ Δγ)⟶F(o,e,s),ρ=(2+2)−1/2.\frac1n\log\!\sum_{\gamma\in\operatorname{SAW}_n(o)}\rho^n e^{s\operatorname{Re}(\overline e\,\Delta\gamma)}\longrightarrow F(o,e,s),\qquad\rho=(2+\sqrt2)^{-1/2}.n1​logγ∈SAWn​(o)∑​ρnesRe(eΔγ)⟶F(o,e,s),ρ=(2+2​)−1/2.

For every starting vertex o of the honeycomb lattice, every complex number e and every real number s, the sequence logPartition(o,e,s)(n) converges as n tends to infinity to freeEnergy(o,e,s). Here vertices are triangular-up or triangular-down sites labeled by integer column and row, each up vertex being adjacent to three down vertices and vice versa, with planar positions given in the complex plane. saws(o,n) is the set of self-avoiding walks of n steps from o, meaning vertex lists with no repetition. For such a walk γ, its displacement is the position of its endpoint minus the position of o, and its projection onto e is the real part of conj(e) times the displacement. The partition function is the sum over γ in saws(o,n) of ρ^n exp(s times that projection), with ρ = 1/√(2+√2). logPartition is log of this partition function divided by n, and freeEnergy is defined as the limit of logPartition at infinity, using Lean's limUnder convention. The statement therefore asserts that this limit exists and equals freeEnergy; it is a stated theorem whose proof is admitted in the source.

The goal is OAI.HoneycombForce.logPartition_tendsto.

Significance

The conclusion makes the defined free energy an actual convergent limit for every starting point, direction parameter, and real force. It establishes the thermodynamic quantity underlying later asymptotic questions. 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

Finite sums at each length do not guarantee convergence after normalization. Self-avoidance couples concatenated pieces, so ordinary independent-product arguments are unavailable without additional work.

Formalization scope

The target allows any complex eee and real sss, without a unit-direction restriction. Length counts steps, and walk lists contain n+1n+1n+1 distinct vertices. The spatial exponent, thermal laws, and small-force exponent from the manuscript are not attached conclusions.

The shared definitions are supplied by HoneycombFreeEnergy. 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, Renewal and changes of law for critical honeycomb walks, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
4 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: marwahaha

Buffered comparison and stopping-band resolution in critical IsingOpen Problem

Motivation

Conditioning on an explored Ising interface fixes many spins and can create alternating signs. The source develops comparison estimates that remain valid with arbitrary common pinned spins. The source is OpenAI's September 2026 manuscript.

Setting

A ferromagnetic Ising law weights sign configurations by the exponential of nonnegative pair couplings plus real external fields. Two probability mixtures prescribe source spins on JJJ, while the same spins are pinned on FFF and a target event is prescribed on III.

Formalization targets

e−4artanh⁡q0≤μmix(σI=a∣σF=τ)μmix′(sigmaI=amidsigmaF=tau)lee4operatornameartanhq0.e^{-4\operatorname{artanh}q_0}\le\frac{\mu_{\mathrm{mix}}(\sigma_I=a\mid\sigma_F=\tau)}{\mu_{\mathrm{mix}'}(\\sigma_I=a\\mid\\sigma_F=\\tau)}\\le e^{4\\operatorname{artanh}q_0}.e−4artanhq0​≤μmix′​(sigmaI​=amidsigmaF​=tau)μmix​(σI​=a∣σF​=τ)​lee4operatornameartanhq0​.

A comparison bound for a ferromagnetic Ising model on a finite graph with n vertices and m separately indexed edges (parallel edges allowed, no loops, nonnegative couplings K_e) and an arbitrary real external field h. A configuration σ has energy equal to the sum over edges of K_e σ_u σ_v plus the sum over vertices of h_v σ_v, with spins ±1, and weight exp(energy). Take pairwise disjoint vertex sets I, J, F, and kept vertices i ∈ I and j ∈ J that lie outside F. Fix spin configurations a and τ. For a configuration b, the conditional probability of σ_I = a given σ_J = b and σ_F = τ is the ratio of the total weight of configurations satisfying all three agreements to the total weight of those agreeing with b on J and τ on F. For any two probability mixtures mix and mix' on configurations (nonnegative weights summing to 1), the mixture probability is the mix-weighted average of these conditional probabilities over b; only the restriction of b to J matters. Let q be the terminal connection probability in the zero-field random-cluster (FK) model with q=2 on the graph with F deleted (not pinned): edges e are open with probability 1-exp(-2K_e), the vertices of I are identified together and those of J are identified together, and q is the probability that i and j lie in the same cluster. Then the ratio of the mixture probability under mix to that under mix' lies between exp(-4 artanh q) and exp(4 artanh q), for every such pair of mixtures, uniformly in h, a and τ. The theorem is stated with its proof admitted (sorry).

The goal is OAI.BufferedIsing.finite_graph_comparison.

Significance

The estimate controls likelihood ratios uniformly over mixtures, fields, and common signs. It is the finite-graph comparison component of the manuscript. 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

Pinning a vertex changes neighboring fields; deleting it does something different. The comparison probability must come from the graph with the common pins deleted, with each terminal class contracted separately.

Formalization scope

The graph is finite with indexed edges, allowing parallel edges and excluding loops before contraction. The sets I,J,FI,J,FI,J,F are pairwise disjoint and each terminal class contains a supplied vertex. The zero-field random-cluster weight has cluster parameter two. The stopping-band approximation theorem is not an attached target.

The shared definitions are supplied by BufferedIsing. 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, Buffered comparison and stopping-band resolution in critical Ising, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
28 thms2 active usersReviewed
🏆Completed
Group TheoryRepresentation Theory·Captain: wurtle

From partial permutation information to Fourier boundsResearch Paper

Motivation: when do partial observations of a permutation force full randomness?

Many random permutations are analysed through what they do to a few labels at a time: the joint positions of kkk chosen cards in a shuffle, or the images of a list of inputs under a block cipher built from a shuffle. Such partial information does not by itself control the whole permutation. The uniform law on the alternating group already has uniform images on every set of at most n−2n-2n−2 labels, yet it is at total-variation distance 1/21/21/2 from uniform on SnS_nSn​. Converting partial-permutation estimates into full-permutation estimates therefore needs an additional argument, and this is the bottleneck in recent work on the Thorp shuffle, where fixed fractions of the deck were known to randomize quickly (Czumaj–Vöcking 2014; Czumaj 2015) long before the full deck was.

Timeline

  • 1954 — Frame, Robinson and Thrall prove the hook-length formula for the degrees of irreducible representations of SnS_nSn​ (Canad. J. Math. 1954).
  • 1981 — Diaconis and Shahshahani analyse random transpositions by Fourier analysis on SnS_nSn​, establishing the upper-bound-lemma framework (Z. Wahrsch. 1981).
  • 2004 — Liebeck and Shalev show that the Witten zeta sums ∑λ⊢n(fλ)−u\sum_{\lambda\vdash n}(f^\lambda)^{-u}∑λ⊢n​(fλ)−u tend to 222 for every fixed u>0u>0u>0 (J. Algebra 2004).
  • 2009, 2013 — Morris uses entropy and trajectory comparison to prove O((log⁡n)4)O((\log n)^4)O((logn)4) and O((log⁡n)3)O((\log n)^3)O((logn)3) mixing bounds for the Thorp shuffle (Ann. Probab. 2009; CPC 2013).
  • 2014–2015 — Czumaj and Vöcking show that a fixed fraction of the cards randomizes in O((log⁡n)2)O((\log n)^2)O((logn)2) layers; Czumaj obtains full-permutation sampling by recursively applying partial randomizers on shrinking sets.
  • 2026 — The OpenAI preprint From partial permutation information to Fourier bounds (OpenAI Math Release, September 26, 2026) proves that coset caps for complementary blocks control every Fourier matrix (Theorem 1.1). It has not been peer reviewed.

Setting

Let XXX be a finite set of nnn labels and G=Sym(X)G=\mathrm{Sym}(X)G=Sym(X), acting as maps from initial labels to final positions. For M⊆XM\subseteq XM⊆X, let HM≤GH_M\le GHM​≤G be the block subgroup of permutations that fix every label outside MMM. Two permutations have the same images on X∖MX\setminus MX∖M exactly when they lie in the same left coset gHMgH_MgHM​, so a bound on the law of those images is a bound on coset masses.

For a nonnegative weight fff on GGG and a unitary representation ρ\rhoρ of GGG on a finite-dimensional complex inner-product space VVV, the Fourier transform is f^(ρ)=∑g∈Gf(g)ρ(g)\widehat f(\rho)=\sum_{g\in G}f(g)\rho(g)f​(ρ)=∑g∈G​f(g)ρ(g), with D=dim⁡VD=\dim VD=dimV. The Hilbert–Schmidt norm is unnormalized, ∥A∥HS2=tr⁡(A∗A)\|A\|_{\mathrm{HS}}^2=\operatorname{tr}(A^*A)∥A∥HS2​=tr(A∗A). For u>0u>0u>0 the symmetric degree constant is

Cu=sup⁡m≥1 ∑λ⊢mDλ−u,C_u=\sup_{m\ge1}\ \sum_{\lambda\vdash m} D_\lambda^{-u},Cu​=m≥1sup​ λ⊢m∑​Dλ−u​,

where DλD_\lambdaDλ​ ranges over the degrees of the irreducible complex representations of SmS_mSm​.

Formalization targets

Goal: complementary cosets control Fourier matrices (Theorem 1.1)

Partition XXX into b≥1b\ge1b≥1 nonempty blocks M1,…,MbM_1,\dots,M_bM1​,…,Mb​ and put Hi=HMiH_i=H_{M_i}Hi​=HMi​​. Let f≥0f\ge0f≥0 on GGG have total mass at most one and satisfy

f(gHi)≤B[G:Hi](g∈G, 1≤i≤b).f(gH_i)\le \frac{B}{[G:H_i]}\qquad(g\in G,\ 1\le i\le b).f(gHi​)≤[G:Hi​]B​(g∈G, 1≤i≤b).

Then for every u>0u>0u>0 and every irreducible unitary ρ\rhoρ of degree DDD,

∥f^(ρ)∥HS2≤b B Cu D−1+(u+2)/band∥f^(ρ)∥op2≤b B Cu D−1+(u+2)/b.\|\widehat f(\rho)\|_{\mathrm{HS}}^2\le b\,B\,C_u\,D^{-1+(u+2)/b} \qquad\text{and}\qquad \|\widehat f(\rho)\|_{\mathrm{op}}^2\le b\,B\,C_u\,D^{-1+(u+2)/b}.∥f​(ρ)∥HS2​≤bBCu​D−1+(u+2)/band∥f​(ρ)∥op2​≤bBCu​D−1+(u+2)/b.

No restriction is placed on the block sizes or on multiplicities in the restriction of ρ\rhoρ to H1×⋯×HbH_1\times\dots\times H_bH1​×⋯×Hb​. The goal statement is published on the platform with status Open: no machine-checked proof exists yet.

Significance

The result itself. Theorem 1.1 is a quantitative transfer principle: a single law whose complementary partial images are never much heavier than uniform has a power saving in every irreducible representation of SnS_nSn​. With b=8b=8b=8 and u=1u=1u=1 it gives ∥f^(ρ)∥HS2≤8C1D−5/8\|\widehat f(\rho)\|_{\mathrm{HS}}^2\le 8C_1D^{-5/8}∥f​(ρ)∥HS2​≤8C1​D−5/8, which is enough for the principal application in the source (Corollary 3.6, p. 9): if the images of a uniformly chosen set of 7n/87n/87n/8 labels are close to uniform in average total variation and the sign mean tends to zero, then the product of just two independent copies of the permutation converges to uniform. This is the step used by the companion Thorp-shuffle preprints to turn fixed-list estimates into full-deck mixing in O(log⁡n)O(\log n)O(logn) shuffles. The statement concerns arbitrary laws on SnS_nSn​ and does not depend on any shuffle.

Formalizing it. The theorem is a finite inequality with explicit constants, so it is a natural target for machine checking. A proof would certify the partial-to-full transfer used by the Thorp mixing arguments, and would require reusable infrastructure: isotypic decompositions of restrictions to products of subgroups, Schur averaging, Hilbert–Schmidt and operator norms of group-algebra elements, and uniform bounds on symmetric-group Witten zeta sums. None of this is formalized yet.

Difficulty

The natural approach decomposes ρ\rhoρ restricted to H1×⋯×HbH_1\times\dots\times H_bH1​×⋯×Hb​ into tensor products of irreducibles of the blocks and bounds f^(ρ)\widehat f(\rho)f​(ρ) on each piece. This fails when a block type occurs with large multiplicity: a dimension count that pays for every copy gives no decay in DDD. The bound must count each irreducible type of a block subgroup once, regardless of multiplicity, and must hold uniformly over all block sizes, which is why the constant CuC_uCu​ is a supremum over every symmetric group. The Hilbert–Schmidt bound is harder than the operator bound, because it must control the whole Fourier matrix rather than its action on one vector.

Formalization scope

  • XXX is an arbitrary Fintype with decidable equality; blocks are M : Fin b → Set X, nonempty, pairwise disjoint and covering. The block subgroup is blockSubgroup (M i), the permutations fixing each point outside M i.
  • The coset cap is LeftCosetCap f H B: for every ggg, ∑h∈Hf(gh)≤B/[G:H]\sum_{h\in H}f(gh)\le B/[G:H]∑h∈H​f(gh)≤B/[G:H], with the index H.index.
  • ρ\rhoρ is any irreducible representation on a finite-dimensional complex inner-product space with ⟨ρ(g)x,ρ(g)y⟩=⟨x,y⟩\langle\rho(g)x,\rho(g)y\rangle=\langle x,y\rangle⟨ρ(g)x,ρ(g)y⟩=⟨x,y⟩; the Fourier transform is complexFourier ρ f; hsNormSq is Re⁡tr⁡(A∗A)\operatorname{Re}\operatorname{tr}(A^*A)Retr(A∗A); the operator norm is that of the associated continuous linear map; DDD is Module.finrank ℂ V and the exponent is a real power.
  • Irreducible representations of SmS_mSm​ are indexed by the isotypic components of the regular representation of Equiv.Perm (Fin m), and CuC_uCu​ is symmetricDegreeConstant u, an sSup over m≥1m\ge1m≥1. The supremum is finite for every u>0u>0u>0; a solver must prove this boundedness, since sSup of an unbounded real set would be 000.
  • Needed infrastructure: isotypic decomposition and Schur's lemma for finite groups, degree bounds for SmS_mSm​ (hook-length or tableau counting), and uniform Witten zeta bounds. The degree layer is reusable for any random walk on SnS_nSn​.

Selected references

  • J. S. Frame, G. de B. Robinson and R. M. Thrall, The hook graphs of the symmetric group, Canad. J. Math. 6 (1954), 316–324. https://doi.org/10.4153/CJM-1954-030-1
  • P. Diaconis and M. Shahshahani, Generating a random permutation with random transpositions, Z. Wahrsch. Verw. Gebiete 57 (1981), 159–179. https://doi.org/10.1007/BF00535487
  • G. D. James, The Representation Theory of the Symmetric Groups, Lecture Notes in Math. 682, Springer, 1978.
  • B. E. Sagan, The Symmetric Group, 2nd ed., Graduate Texts in Math. 203, Springer, 2001. https://doi.org/10.1007/978-1-4757-6804-6
  • M. W. Liebeck and A. Shalev, Fuchsian groups, coverings of Riemann surfaces, subgroup growth, random quotients and random walks, J. Algebra 276 (2004), 552–601. https://doi.org/10.1016/S0021-8693(03)00515-5
  • E. O. Thorp, Nonrandom shuffling with applications to the game of faro, J. Amer. Statist. Assoc. 68 (1973), 842–847. https://doi.org/10.1080/01621459.1973.10481434
  • B. Morris, Improved mixing time bounds for the Thorp shuffle and L-reversal chain, Ann. Probab. 37 (2009), 453–477. https://doi.org/10.1214/08-AOP409
  • B. Morris, Improved mixing time bounds for the Thorp shuffle, Combin. Probab. Comput. 22 (2013), 118–132. https://doi.org/10.1017/S0963548312000478
  • A. Czumaj and B. Vöcking, Thorp shuffling, butterflies, and non-Markovian couplings, ICALP 2014, LNCS 8572, 344–355. https://doi.org/10.1007/978-3-662-43948-7_29
  • A. Czumaj, Random permutations using switching networks, STOC 2015, 703–712. https://doi.org/10.1145/2746539.2746629
  • OpenAI, From partial permutation information to Fourier bounds, OpenAI Math Release preprint, September 26, 2026 (source; Theorem 1.1, p. 1–2; Corollary 3.6, p. 9). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/From-partial-permutation-information-to-Fourier-bounds-September-26-2026/main.pdf
46 thms2 active usersReviewed
🏆Completed
CombinatoricsTheoretical Computer Science·Captain: wurtle

Variance of the Random k-SAT Hitting TimeResearch Paper

Motivation

Add random clauses one at a time to a Boolean formula on nnn variables until it first becomes unsatisfiable. The index HnH_nHn​ of that first failure is the satisfiability hitting time of random kkk-SAT. Its mean, divided by nnn, converges to the satisfiability threshold; its variance measures the width of the transition window. Friedgut's sharp-threshold theorem shows the window is o(n)o(n)o(n), but quantitative widths have remained far from the n\sqrt nn​ scale suggested by lower bounds. This mission asks for the order of the variance of HnH_nHn​ for every fixed k≥3k\ge3k≥3.

Timeline

  • 1981. Efron and Stein prove their variance inequality, the basic tool for fluctuation bounds of functions of independent inputs (doi:10.1214/aos/1176345462).
  • 1999. Friedgut, with an appendix by Bourgain, proves a sharp threshold sequence for each fixed kkk (doi:10.1090/S0894-0347-99-00305-7).
  • 2002. Wilson proves an Ωk(n)\Omega_k(\sqrt n)Ωk​(n​) separation of central quantiles for the proper-clause model (doi:10.1002/rsa.10050).
  • 2005. Boucheron, Bousquet, Lugosi and Massart give moment inequalities for functions of independent variables (doi:10.1214/009117904000000856).
  • 2022. Ding, Sly and Sun prove the satisfiability conjecture for large kkk (doi:10.4007/annals.2022.196.1.1).
  • 2026. Carenini proves an Ok,η(n/log⁡n)O_{k,\eta}(n/\log n)Ok,η​(n/logn) window (ECCC TR26-145, arXiv:2609.26222) and then a polynomial window Ok,η(n1/2+1/k)O_{k,\eta}(n^{1/2+1/k})Ok,η​(n1/2+1/k) with variance Ok(n1+2/k)O_k(n^{1+2/k})Ok​(n1+2/k), resolving the satisfiability conjecture for every fixed k≥3k\ge3k≥3 (ECCC TR26-229, made public October 5, 2026); priority for that resolution belongs to Carenini. A companion OpenAI preprint gives an alternative proof of the limiting threshold.

The source of this mission is an OpenAI preprint dated September 27, 2026.

Setting

Fix k≥3k\ge3k≥3 and n≥kn\ge kn≥k. A proper kkk-clause is an OR of literals on kkk distinct variables; let C1,C2,…C_1,C_2,\dotsC1​,C2​,… be independent uniform choices among the 2k(nk)2^k\binom nk2k(kn​) signed proper clauses (signs fair, whole clauses may repeat). Put

Fm=C1∧⋯∧Cm,F0=true,Hn=min⁡{m≥1: Fm unsatisfiable},F_m=C_1\wedge\dots\wedge C_m,\qquad F_0=\text{true},\qquad H_n=\min\{m\ge1:\ F_m\ \text{unsatisfiable}\},Fm​=C1​∧⋯∧Cm​,F0​=true,Hn​=min{m≥1: Fm​ unsatisfiable},

and, for fixed B>0B>0B>0, the capped hitting time Tn,B=min⁡{Hn,⌊Bn⌋}T_{n,B}=\min\{H_n,\lfloor Bn\rfloor\}Tn,B​=min{Hn​,⌊Bn⌋}. Since each assignment survives a clause with probability 1−2−k1-2^{-k}1−2−k, HnH_nHn​ is a.s. finite with all moments. Write

ℓk(n)={log⁡(en),k=3,1,k≥4,Uk=log⁡2−log⁡(1−2−k).\ell_k(n)=\begin{cases}\log(en),&k=3,\\1,&k\ge4,\end{cases}\qquad U_k=\frac{\log2}{-\log(1-2^{-k})}.ℓk​(n)={log(en),1,​k=3,k≥4,​Uk​=−log(1−2−k)log2​.

Formalization targets

Goal: Theorem 1.1

There are constants Ck,ck>0C_k,c_k>0Ck​,ck​>0 with

Var⁡(Hn)≤Ck n ℓk(n)(n≥k),Var⁡(Hn)≥ckn(n large),\operatorname{Var}(H_n)\le C_k\,n\,\ell_k(n)\quad(n\ge k),\qquad \operatorname{Var}(H_n)\ge c_kn\quad(n\ \text{large}),Var(Hn​)≤Ck​nℓk​(n)(n≥k),Var(Hn​)≥ck​n(n large),

and for every fixed B>0B>0B>0 a constant Ck,BC_{k,B}Ck,B​ with Var⁡(Tn,B)≤Ck,B n ℓk(n)\operatorname{Var}(T_{n,B})\le C_{k,B}\,n\,\ell_k(n)Var(Tn,B​)≤Ck,B​nℓk​(n); if B>UkB>U_kB>Uk​ then also Var⁡(Tn,B)≥ckn\operatorname{Var}(T_{n,B})\ge c_knVar(Tn,B​)≥ck​n for large nnn. Hence Var⁡(Hn)=Θk(n)\operatorname{Var}(H_n)=\Theta_k(n)Var(Hn​)=Θk​(n) for k≥4k\ge4k≥4. Lean: OAI.RandomKSAT.variance_main, open on the platform.

Milestone: Propositions A.1–A.2 (optimality of exponents)

The killing-probability exponent β=k/(k−1)\beta=k/(k-1)β=k/(k−1) in the lifetime bound τk(S)qd(S)β≤Ckdβ\tau_k(S)q_d(S)^\beta\le C_kd^\betaτk​(S)qd​(S)β≤Ck​dβ (Proposition 2.3) cannot be decreased, and the block-error term g−(k−1)g^{-(k-1)}g−(k−1) in the replacement lemma cannot be improved to o(g−(k−1))o(g^{-(k-1)})o(g−(k−1)) uniformly. Lean: OAI.RandomKSAT.sharpness.

Significance

For k≥4k\ge4k≥4 the theorem determines the variance of the hitting time up to constants, so the transition window has width Θk(n)\Theta_k(\sqrt n)Θk​(n​) in the variance sense, matching Wilson's lower bound and improving Carenini's Ok(n1+2/k)O_k(n^{1+2/k})Ok​(n1+2/k) variance bound. For k=3k=3k=3 it leaves only a logarithmic gap, closed in a companion OpenAI preprint. Chebyshev's inequality then gives concentration of HnH_nHn​ about EHn\mathbb EH_nEHn​ at scale nℓk(n)\sqrt{n\ell_k(n)}nℓk​(n)​.

The results are proved in an OpenAI preprint; they have not been peer reviewed, and no machine-checked proof exists.

Difficulty

The Efron–Stein inequality reduces the upper bound to the expected squared delay caused by deleting one clause, which counts pairs of prefixes at which that clause is pivotal. Controlling this occupation time requires a uniform estimate relating how quickly a set of assignments is killed by shorter (k−1)(k-1)(k−1)-clauses to its lifetime under kkk-clauses, valid for every assignment set with no lower cutoff. Earlier arguments truncate the number of clauses incident to the deleted clause's variables at a logarithmic level, which costs a logarithm; keeping that number as a random parameter without destroying independence is the main obstacle. Appendix A shows the relevant exponents are sharp.

Formalization scope

  • Clause n k is a dependent pair of a kkk-element Finset (Fin n) and a sign vector on it; clauseLaw is uniform; streamLaw is the infinite product (Measure.infinitePi).
  • firstFailure ω is the least mmm with an unsatisfiable prefix, valued in ℕ∞; H = (firstFailure ω).toNat; T B ω = (min (firstFailure ω) ⌊Bn⌋).toNat. The infinite case has probability zero.
  • variance is ProbabilityTheory.variance under streamLaw n k; ell, U are as displayed.
  • In the milestone, blockKill u s S g is the probability that ggg independent proper sss-clauses kill SSS, and lifetime u k S =∑mP(S survives m clauses)=\sum_m\mathbb P(S\text{ survives }m\text{ clauses})=∑m​P(S survives m clauses) is τk(S)\tau_k(S)τk​(S).

Infrastructure: product measures on clause streams, Efron–Stein, conditioning on incidence patterns. Formalizations of Proposition 2.3 (lifetime from shorter-clause killing), Proposition 4.3 (conditional squared delay), Corollary 5.2 and Proposition 6.2 (linear variance lower bound) are welcome.

Selected references

  • OpenAI, Variance of the Random k-SAT Hitting Time, preprint, September 27, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Variance-of-the-Random-k-SAT-Hitting-Time-September-27-2026/article.pdf
  • OpenAI, A Limiting Satisfiability Threshold for Every Fixed Clause Size, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-Limiting-Satisfiability-Threshold-for-Every-Fixed-Clause-Size-September-25-2026/article.pdf
  • G. Carenini, A polynomial scaling window for random k-SAT and a proof of the satisfiability conjecture, ECCC TR26-229, 2026. https://eccc.weizmann.ac.il/report/2026/229/
  • G. Carenini, The scaling window of random k-SAT, ECCC TR26-145, 2026. https://arxiv.org/abs/2609.26222
  • E. Friedgut (appendix by J. Bourgain), Sharp thresholds of graph properties, and the k-SAT problem, J. Amer. Math. Soc., 1999. https://doi.org/10.1090/S0894-0347-99-00305-7
  • D. B. Wilson, On the critical exponents of random k-SAT, Random Structures Algorithms, 2002. https://doi.org/10.1002/rsa.10050
  • J. Ding, A. Sly, N. Sun, Proof of the satisfiability conjecture for large k, Ann. of Math., 2022. https://doi.org/10.4007/annals.2022.196.1.1
  • B. Efron, C. Stein, The jackknife estimate of variance, Ann. Statist., 1981. https://doi.org/10.1214/aos/1176345462
  • S. Boucheron, O. Bousquet, G. Lugosi, P. Massart, Moment inequalities for functions of independent random variables, Ann. Probab., 2005. https://doi.org/10.1214/009117904000000856
32 thms2 active usersReviewed
🏆Completed
CombinatoricsTheoretical Computer Science·Captain: wurtle

A Limiting Satisfiability Threshold for Every Fixed Clause SizeResearch Paper

Motivation

A random kkk-SAT formula on nnn Boolean variables is a conjunction of mmm independent random clauses, each an OR of kkk literals on distinct variables. As the clause density m/nm/nm/n grows, the formula changes from almost surely satisfiable to almost surely unsatisfiable. Random kkk-SAT is a central model in probabilistic combinatorics, the theory of algorithms and statistical physics: its threshold is where hard instances are expected to concentrate, and it is a proving ground for methods from spin-glass theory. The satisfiability conjecture, formulated explicitly by Chvátal and Reed, asserts that for each fixed kkk the transition happens at a limiting density αk\alpha_kαk​ that does not drift with nnn.

Timeline

  • 1992. Chvátal and Reed settle k=2k=2k=2 and formulate the conjecture for every fixed clause size (doi:10.1109/SFCS.1992.267789); Goerdt gives an independent proof for k=2k=2k=2 (doi:10.1006/jcss.1996.0081).
  • 1999. Friedgut, with an appendix by Bourgain, proves a sharp transition around a sequence of densities, leaving open whether the sequence converges (doi:10.1090/S0894-0347-99-00305-7).
  • 2002, 2006. Mézard, Parisi and Zecchina, and Mertens, Mézard and Zecchina, predict threshold values via the cavity method (doi:10.1126/science.1073287, doi:10.1002/rsa.20090).
  • 2004. Achlioptas and Peres prove bounds 2klog⁡2−O(k)2^k\log2-O(k)2klog2−O(k) (doi:10.1090/S0894-0347-04-00464-3).
  • 2013, 2014. Bayati, Gamarnik and Tetali develop combinatorial interpolation for sparse random structures (doi:10.1214/12-AOP816); Abbe and Montanari study concentration of solution counts (doi:10.1002/rsa.20501).
  • 2016. Coja-Oghlan and Panagiotou locate the threshold sequence within ok(1)o_k(1)ok​(1) of 2klog⁡2−(1+log⁡2)/22^k\log2-(1+\log2)/22klog2−(1+log2)/2 (doi:10.1016/j.aim.2015.11.007).
  • 2022. Ding, Sly and Sun prove the conjecture for all sufficiently large kkk, with the 1RSB value (doi:10.4007/annals.2022.196.1.1).
  • 2026. Carenini proves a polynomial scaling window and resolves the conjecture for every fixed k≥3k\ge3k≥3 (ECCC TR26-229, made public October 5, 2026; https://eccc.weizmann.ac.il/report/2026/229/). Priority for the resolution belongs to Carenini.

The source of this mission is an OpenAI preprint dated September 25, 2026, which gives an alternative proof of the existence of the limiting threshold.

Setting

Fix k≥3k\ge3k≥3. For n≥kn\ge kn≥k, a proper kkk-clause chooses kkk distinct variables among x1,…,xnx_1,\dots,x_nx1​,…,xn​ uniformly and gives each an independent fair sign, so each of the 2k(nk)2^k\binom nk2k(kn​) clauses is equally likely. Let C1,C2,…C_1,C_2,\dotsC1​,C2​,… be independent such clauses (sampled with replacement: two positions may hold the same clause) and

Fn,m=⋀i=1mCi,Pn(m)=P(Fn,m is satisfiable),Pn(0)=1.F_{n,m}=\bigwedge_{i=1}^mC_i,\qquad P_n(m)=\mathbb P(F_{n,m}\ \text{is satisfiable}),\qquad P_n(0)=1 .Fn,m​=i=1⋀m​Ci​,Pn​(m)=P(Fn,m​ is satisfiable),Pn​(0)=1.

The ratio c=m/nc=m/nc=m/n is the clause density.

Formalization targets

Goal: Theorem 1.1

For every fixed integer k≥3k\ge3k≥3 there is αk∈(0,∞)\alpha_k\in(0,\infty)αk​∈(0,∞) such that

lim⁡n→∞Pn(⌊cn⌋)={1,0≤c<αk,0,c>αk.\lim_{n\to\infty}P_n(\lfloor cn\rfloor)=\begin{cases}1,&0\le c<\alpha_k,\\ 0,&c>\alpha_k.\end{cases}n→∞lim​Pn​(⌊cn⌋)={1,0,​0≤c<αk​,c>αk​.​

No assertion is made at c=αkc=\alpha_kc=αk​, and the value of αk\alpha_kαk​ is not identified. Lean: OAI.FixedClauseThreshold.main, open on the platform.

Significance

The theorem settles, for every fixed k≥3k\ge3k≥3, the existence half of the threshold question: Friedgut's sharp transition happens at a location that converges. Previously this was known only for large kkk (Ding–Sly–Sun) and for k=2k=2k=2. Existence is a prerequisite for questions about the value of αk\alpha_kαk​, its computability, and the fluctuations of the satisfiability hitting time, which companion OpenAI preprints address. The proof here proceeds through concentration of a capped last satisfiable index and a comparison between system sizes; it does not rely on Carenini's window.

The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists.

Difficulty

A sharp-threshold theorem gives a narrow window at each nnn but no control of how the window's center moves with nnn. Convergence needs a comparison between different system sizes, and interpolation methods from spin-glass theory deliver free-energy bounds, not hard satisfiability statements, and often only for even arity. The center must also be shown to concentrate polynomially, which requires bounding how many variables are forced along the clause process.

Formalization scope

  • ProperClause n k is a function Fin n → Option Bool with exactly kkk defined entries; some b at iii is the literal satisfied when σi=b\sigma_i=bσi​=b.
  • Formula n k m := Fin m → ProperClause n k (ordered, with replacement); properSATProbability n k m is the exact ratio of satisfiable formulas to all formulas, which equals Pn(m)P_n(m)Pn​(m) under the uniform product law.
  • Degenerate sizes: m=0m=0m=0 gives probability 111; for n<kn<kn<k and m>0m>0m>0 the ensemble is empty and the ratio is 000 by convention, affecting only finitely many nnn.
  • HasLimitingThreshold k asserts ∃ α>0\exists\,\alpha>0∃α>0 with limits 111 for 0≤c<α0\le c<\alpha0≤c<α and 000 for c>αc>\alphac>α at m=⌊cn⌋m=\lfloor cn\rfloorm=⌊cn⌋.

Infrastructure: finite counting of formulas, Efron–Stein-type variance bounds, a deterministic concentration-to-convergence lemma (Theorem 5.1), and the Poisson/interpolation comparison with the transfer back to proper clauses. Formalizations of Proposition 2.2 (integrated forcing), Proposition 3.3 (polynomial concentration) and Theorem 5.1 are welcome.

Selected references

  • OpenAI, A Limiting Satisfiability Threshold for Every Fixed Clause Size, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-Limiting-Satisfiability-Threshold-for-Every-Fixed-Clause-Size-September-25-2026/article.pdf
  • G. Carenini, A polynomial scaling window for random k-SAT and a proof of the satisfiability conjecture, ECCC TR26-229, 2026. https://eccc.weizmann.ac.il/report/2026/229/
  • V. Chvátal, B. Reed, Mick gets some (the odds are on his side), FOCS 1992. https://doi.org/10.1109/SFCS.1992.267789
  • E. Friedgut (appendix by J. Bourgain), Sharp thresholds of graph properties, and the k-SAT problem, J. Amer. Math. Soc., 1999. https://doi.org/10.1090/S0894-0347-99-00305-7
  • D. Achlioptas, Y. Peres, The threshold for random k-SAT is 2klog⁡2−O(k)2^k\log2-O(k)2klog2−O(k), J. Amer. Math. Soc., 2004. https://doi.org/10.1090/S0894-0347-04-00464-3
  • A. Coja-Oghlan, K. Panagiotou, The asymptotic k-SAT threshold, Adv. Math., 2016. https://doi.org/10.1016/j.aim.2015.11.007
  • J. Ding, A. Sly, N. Sun, Proof of the satisfiability conjecture for large k, Ann. of Math., 2022. https://doi.org/10.4007/annals.2022.196.1.1
  • M. Bayati, D. Gamarnik, P. Tetali, Combinatorial approach to the interpolation method and scaling limits in sparse random graphs, Ann. Probab., 2013. https://doi.org/10.1214/12-AOP816
  • E. Abbe, A. Montanari, On the concentration of the number of solutions of random satisfiability formulas, Random Structures Algorithms, 2014. https://doi.org/10.1002/rsa.20501
20 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph Theory·Captain: wurtle

The second Kahn–Kalai conjectureResearch Paper

Motivation

When does the Erdős–Rényi random graph G(n,p)G(n,p)G(n,p) contain a copy of a prescribed graph HHH? A necessary condition is visible from first moments: if some subgraph F⊆HF\subseteq HF⊆H has expected copy count below a constant, then HHH is unlikely to appear. Kahn and Kalai conjectured in 2007 that this elementary obstruction determines the containment threshold up to a logarithmic factor, uniformly over all target graphs, including spanning ones such as perfect matchings, Hamilton cycles or cubes (CPC 2007). Their abstract conjecture for general increasing families (the "first" conjecture) was proved by Park and Pham; the graph-specific "second" conjecture compares the threshold with the smaller, purely subgraph-count-based graph expectation threshold, and is not implied by the abstract theorem.

This mission asks for a formal proof of the second Kahn–Kalai conjecture with explicit constants, as stated in an OpenAI preprint dated September 24, 2026 (source). The preprint has not been peer reviewed and its claims have not been independently verified; on the platform the Lean goal is open.

Background

  • 1960–1981 — Erdős and Rényi's evolution of random graphs (1960) and perfect matchings (1966); Bollobás determines thresholds for fixed subgraphs (Math. Proc. Camb. Phil. Soc. 1981).
  • 2007 — Kahn and Kalai state both conjectures (CPC 2007).
  • 2010 — Talagrand introduces fractional expectation thresholds (STOC 2010).
  • 2021 — Frankston, Kahn, Narayanan and Park prove pc=O(qflog⁡ℓ)p_c=O(q_f\log\ell)pc​=O(qf​logℓ) (Annals 2021), building on the sunflower methods of Alweiss–Lovett–Wu–Zhang (Annals 2021).
  • 2022–2025 — Mossel, Niles-Weed, Sun and Zadik obtain a single-log bound for a modified graph threshold (arXiv:2209.03326) and a Bayesian proof of the spread lemma (RSA 2025).
  • 2024 — Park and Pham prove the abstract Kahn–Kalai conjecture (JAMS 2024).
  • 2025 — Dubroff, Kahn and Park prove pc=O(pElog⁡3n)p_c=O(p_E\log^3n)pc​=O(pE​log3n) and special cases (arXiv:2508.14269, arXiv:2510.02005).
  • 2026 — Tran reduces the loss to O(log⁡2(2e(H)))O(\log^2(2e(H)))O(log2(2e(H))) and proves the conjecture for trees and other classes (arXiv:2609.20546); the OpenAI preprint claims the general case (Theorem 1.1, p. 1).

Setting

For finite simple graphs G,FG,FG,F let N(G,F)N(G,F)N(G,F) be the number of subgraphs of GGG isomorphic to FFF (ordinary, non-induced copies). G(n,p)G(n,p)G(n,p) is the random graph on [n][n][n] with each of the (n2)\binom n2(2n​) edges present independently with probability ppp. For a graph HHH with at least one edge and at most nnn vertices,

pc(n,H)=inf⁡{p∈[0,1]: Pr⁡[N(G(n,p),H)>0]≥12},p_c(n,H)=\inf\{p\in[0,1]:\ \Pr[N(G(n,p),H)>0]\ge\tfrac12\},pc​(n,H)=inf{p∈[0,1]: Pr[N(G(n,p),H)>0]≥21​}, pE(n,H)=inf⁡{p∈[0,1]: E N(G(n,p),F)≥12 for every subgraph F⊆H}.p_E(n,H)=\inf\{p\in[0,1]:\ \mathbb E\,N(G(n,p),F)\ge\tfrac12\ \text{for every subgraph }F\subseteq H\}.pE​(n,H)=inf{p∈[0,1]: EN(G(n,p),F)≥21​ for every subgraph F⊆H}.

The first is the containment threshold, the second the graph expectation threshold; always pE≤pcp_E\le p_cpE​≤pc​. Write h=e(H)h=e(H)h=e(H) for the number of edges.

Formalization targets

Goal: Theorem 1.1 (p. 1)

For every n≥2n\ge2n≥2 and every finite simple graph HHH with h≥1h\ge1h≥1 edges and at most nnn vertices,

pc(n,H) ≤ min⁡{1, 2048 e50 pE(n,H) (1+log⁡2h)},pc(n,H) ≤ 6144 e50 pE(n,H)log⁡2n.p_c(n,H)\ \le\ \min\bigl\{1,\ 2048\,e^{50}\,p_E(n,H)\,(1+\log_2 h)\bigr\},\qquad p_c(n,H)\ \le\ 6144\,e^{50}\,p_E(n,H)\log_2 n .pc​(n,H) ≤ min{1, 2048e50pE​(n,H)(1+log2​h)},pc​(n,H) ≤ 6144e50pE​(n,H)log2​n.

The constants are explicit and universal; HHH may vary with nnn.

Significance

The result itself. The bound says that, up to a universal constant times log⁡h\log hlogh, the only obstruction to containing HHH is a subgraph with too few expected copies. The logarithm cannot be removed: for a perfect matching pE=Θ(1/n)p_E=\Theta(1/n)pE​=Θ(1/n) while pc=Θ(log⁡n/n)p_c=\Theta(\log n/n)pc​=Θ(logn/n), because isolated vertices must disappear. This settles the problem left by the abstract Park–Pham theorem, whose bound is in terms of the possibly larger integral expectation threshold of the family of graphs containing HHH.

Formalizing it. Both thresholds are finite, explicit optimization problems over Bernoulli product measures on the edges of KnK_nKn​, so the statement is fully elementary. Mathlib has SimpleGraph.copyCount but no random-graph or threshold theory; the spread-family resampling lemma and the tree covering theorem would be reusable for other threshold results (Park–Pham, Frankston–Kahn–Narayanan–Park). No machine-checked proof of any Kahn–Kalai-type theorem is known.

Difficulty

The abstract theorem compares pcp_cpc​ with the integral expectation threshold of the family FH\mathcal F_HFH​ of edge sets containing a copy of HHH, and covers of FH\mathcal F_HFH​ may be much cheaper than the copies of a single subgraph, so it does not give a bound in terms of pEp_EpE​. Previous graph-specific approaches lost extra logarithms because each conditional extension step paid the sampling cost again. The preprint (Section 1.2, pp. 3) builds a tree of nested subgraph extensions with geometrically growing, pairwise disjoint labels along each path, and must reuse one random set at every level of the tree while keeping the spread property under conditioning (Theorem 3.1, p. 6).

Formalization scope

  • G(n,p)G(n,p)G(n,p) is encoded as a Bernoulli product weight on Finset (Edge n), where Edge n is the type of non-diagonal Sym2 (Fin n); expectations and probabilities are finite sums, defined for every real ppp but used only on [0,1][0,1][0,1].
  • expectedCopies and containmentProbability use Mathlib's copyCount of the graph built from the edge set; both are ordinary (non-induced) copies.
  • criticalThreshold and expectationThreshold are sInf over p∈[0,1]p\in[0,1]p∈[0,1]; the sets are nonempty (they contain p=1p=1p=1 when HHH has at most nnn vertices), so the infima are the true thresholds. The expectation constraint ranges over all H.Subgraphs, including subgraphs with isolated vertices, whose constraints are automatically satisfied.
  • HHH is a SimpleGraph on an arbitrary finite type V with Fintype.card V ≤ n, 2 ≤ n and at least one edge; logTwo is log⁡x/log⁡2\log x/\log 2logx/log2.
  • The constants 2048e502048e^{50}2048e50 and 6144e506144e^{50}6144e50 are hard-coded, as in the source.

Selected references

  • OpenAI, The second Kahn–Kalai conjecture, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/The-second-Kahn-Kalai-conjecture-September-24-2026/paper.pdf
  • J. Kahn, G. Kalai, Thresholds and expectation thresholds, Combin. Probab. Comput. 16 (2007), 495–502. https://doi.org/10.1017/S0963548307008474
  • J. Park, H. T. Pham, A proof of the Kahn–Kalai conjecture, J. Amer. Math. Soc. 37 (2024), 235–243. https://doi.org/10.1090/jams/1028
  • K. Frankston, J. Kahn, B. Narayanan, J. Park, Thresholds versus fractional expectation-thresholds, Ann. of Math. 194 (2021), 475–495. https://doi.org/10.4007/annals.2021.194.2.2
  • R. Alweiss, S. Lovett, K. Wu, J. Zhang, Improved bounds for the sunflower lemma, Ann. of Math. 194 (2021), 795–815. https://doi.org/10.4007/annals.2021.194.3.5
  • M. Talagrand, Are many small sets explicitly small?, STOC 2010. https://doi.org/10.1145/1806689.1806693
  • E. Mossel, J. Niles-Weed, N. Sun, I. Zadik, On the second Kahn–Kalai conjecture, arXiv:2209.03326 (2022). https://arxiv.org/abs/2209.03326v1
  • E. Mossel, J. Niles-Weed, N. Sun, I. Zadik, A Bayesian proof of the spread lemma, Random Structures Algorithms 66 (2025), e70008. https://doi.org/10.1002/rsa.70008
  • Q. Dubroff, J. Kahn, J. Park, On the "second" Kahn–Kalai conjecture, arXiv:2508.14269 (2025). https://arxiv.org/abs/2508.14269v1
  • T. Tran, Fractional expectation thresholds and the "second" Kahn–Kalai conjecture, arXiv:2609.20546 (2026). https://arxiv.org/abs/2609.20546v2
  • B. Bollobás, Threshold functions for small subgraphs, Math. Proc. Cambridge Philos. Soc. 90 (1981), 197–206. https://doi.org/10.1017/S0305004100058655
47 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Optimization of Convex Risk Functions 3: A Distribution-Invariant Risk Function Is Consistent with the Increasing Convex Order Iff It Is Monotone and Risk AverseResearch Paper

Motivation

Risk-averse optimization replaces the expected cost E[X]\mathbb E[X]E[X] of a random outcome by a risk function ρ(X)\rho(X)ρ(X) that also penalizes dispersion: mean–deviation, mean–semideviation, conditional value-at-risk (CVaR) and their combinations are the standard examples in stochastic programming and portfolio selection. A decision maker who uses ρ\rhoρ should not prefer an outcome that every risk-averse expected-utility maximizer rejects. For costs, the order that expresses this agreement among risk-averse agents is the increasing convex order: X2X_2X2​ is worse than X1X_1X1​ if E[u(X2)]≥E[u(X1)]\mathbb E[u(X_2)]\ge\mathbb E[u(X_1)]E[u(X2​)]≥E[u(X1​)] for every increasing convex disutility uuu. It is the counterpart, for costs, of second-order stochastic dominance.

Whether a given mean–risk model is consistent with stochastic dominance was settled model by model: Ogryczak and Ruszczyński for mean–semideviation models (Eur. J. Oper. Res. 1999, Math. Program. 2001, SIAM J. Optim. 2002) and Pflug for CVaR (2000). Ruszczyński and Shapiro (Math. Oper. Res. 31, 2006) gave a single criterion, Theorem 5.1, which contains these results as special cases: among risk functions that depend only on the distribution of the outcome, consistency with the increasing convex order is equivalent to two structural properties, monotonicity and risk aversion.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space and p∈[1,∞)p\in[1,\infty)p∈[1,∞). The space of outcomes is X=Lp(Ω,F,P)\mathcal X=\mathcal L_p(\Omega,\mathcal F,P)X=Lp​(Ω,F,P), the real random variables with E∣X∣p<∞\mathbb E|X|^p<\inftyE∣X∣p<∞. An outcome is a cost: smaller is better. A risk function is a map ρ:X→R\rho:\mathcal X\to\mathbb Rρ:X→R.

  • The cdf of XXX is FX(t)=P(X≤t)F_X(t)=P(X\le t)FX​(t)=P(X≤t). ρ\rhoρ is distribution invariant (Definition 5.2) if FX1=FX2F_{X_1}=F_{X_2}FX1​​=FX2​​ implies ρ(X1)=ρ(X2)\rho(X_1)=\rho(X_2)ρ(X1​)=ρ(X2​).
  • ρ\rhoρ satisfies (A2) (monotonicity) if X≤YX\le YX≤Y almost surely implies ρ(X)≤ρ(Y)\rho(X)\le\rho(Y)ρ(X)≤ρ(Y).
  • ρ\rhoρ is risk averse (Definition 5.1) if for every σ\sigmaσ-algebra G⊂F\mathcal G\subset\mathcal FG⊂F and every X∈XX\in\mathcal XX∈X,
ρ(X) ≥ ρ(E[X∣G]),\rho(X)\ \ge\ \rho\big(\mathbb E[X\mid\mathcal G]\big),ρ(X) ≥ ρ(E[X∣G]),

for every version of the conditional expectation.

  • For random variables X1,X2X_1,X_2X1​,X2​, the usual stochastic order X2⪰stX1X_2\succeq_{\mathrm{st}}X_1X2​⪰st​X1​ holds if E[u(X2)]≥E[u(X1)]\mathbb E[u(X_2)]\ge\mathbb E[u(X_1)]E[u(X2​)]≥E[u(X1​)] for every nondecreasing u:R→Ru:\mathbb R\to\mathbb Ru:R→R for which both expectations exist; the increasing convex order X2⪰icxX1X_2\succeq_{\mathrm{icx}}X_1X2​⪰icx​X1​ is the same with uuu ranging over the increasing convex functions.
  • ρ\rhoρ is consistent with an order ⪰\succeq⪰ if X2⪰X1X_2\succeq X_1X2​⪰X1​ implies ρ(X2)≥ρ(X1)\rho(X_2)\ge\rho(X_1)ρ(X2​)≥ρ(X1​) for all X1,X2∈XX_1,X_2\in\mathcal XX1​,X2​∈X.

The paper places one more standing assumption on §5.2: the space is rich enough to carry a uniform random variable, a measurable U:Ω→RU:\Omega\to\mathbb RU:Ω→R with P(U≤t)=tP(U\le t)=tP(U≤t)=t for all t∈[0,1]t\in[0,1]t∈[0,1].

In Lean these are IsUniformRV, cdfOf, cdfInv, DistInvariant, A2, RiskAverse, StLE, ConsistentSt and ConsistentIcx in the namespace ConvexRiskFn.Order; the increasing convex order is the published StochasticOrders.MonotoneConvex.IcxOrder P P X₁ X₂, read as X1⪯icxX2X_1\preceq_{\mathrm{icx}}X_2X1​⪯icx​X2​.

Formalization targets

Goal: Theorem 5.1 (p. 446)

Under the standing assumptions, for every distribution-invariant ρ:X→R\rho:\mathcal X\to\mathbb Rρ:X→R,

ρ consistent with ⪰icx⟺ρ satisfies (A2) and is risk averse.\rho\ \text{consistent with}\ \succeq_{\mathrm{icx}}\quad\Longleftrightarrow\quad \rho\ \text{satisfies (A2) and is risk averse}.ρ consistent with ⪰icx​⟺ρ satisfies (A2) and is risk averse.

No convexity, translation equivariance or positive homogeneity of ρ\rhoρ is assumed.

Milestones

  1. The usual stochastic order and the cdf (§5.2, p. 445): X2⪰stX1X_2\succeq_{\mathrm{st}}X_1X2​⪰st​X1​ iff FX2(t)≤FX1(t)F_{X_2}(t)\le F_{X_1}(t)FX2​​(t)≤FX1​​(t) for all ttt.
  2. The quantile coupling (proof of Lemma 5.1, p. 446): FX−1(U)F_X^{-1}(U)FX−1​(U) has the law of XXX, and FX2≤FX1F_{X_2}\le F_{X_1}FX2​​≤FX1​​ gives FX1−1(U)≤FX2−1(U)F_{X_1}^{-1}(U)\le F_{X_2}^{-1}(U)FX1​−1​(U)≤FX2​−1​(U) almost surely.
  3. Lemma 5.1 (p. 445): a distribution-invariant ρ\rhoρ is consistent with ⪰st\succeq_{\mathrm{st}}⪰st​ iff it satisfies (A2).
  4. Conditional expectation is icx-smaller (proof of Theorem 5.1, p. 446): E[X∣G]∈X\mathbb E[X\mid\mathcal G]\in\mathcal XE[X∣G]∈X and E[X∣G]⪯icxX\mathbb E[X\mid\mathcal G]\preceq_{\mathrm{icx}}XE[X∣G]⪯icx​X.
  5. Strassen's coupling on Ω\OmegaΩ (proof of Theorem 5.1, p. 446): if X1⪯icxX2X_1\preceq_{\mathrm{icx}}X_2X1​⪯icx​X2​, there are X^1∼DX1\widehat X_1\overset{D}{\sim}X_1X1​∼DX1​, X^2∼DX2\widehat X_2\overset{D}{\sim}X_2X2​∼DX2​ on the same Ω\OmegaΩ with X^1≤E[X^2∣X^1]\widehat X_1\le\mathbb E[\widehat X_2\mid\widehat X_1]X1​≤E[X2​∣X1​] a.s.

Significance

Theorem 5.1 reduces a property quantified over all pairs of ordered distributions to two properties that can be checked on the risk function directly. Monotonicity is usually immediate, and risk aversion follows for the main examples from the dual representation of the risk function (the paper verifies it for mean–semideviation and for CVaR-based models in §5.1). The theorem then yields at once the consistency of these models with the increasing convex order, which was previously proved case by case. It also explains the failures: a law-invariant risk function that violates (A2), such as mean–deviation for p>1p>1p>1 under the paper's condition (∗)(*)(∗), cannot be consistent with any increasing integral stochastic order.

The result has a complete published proof. What the mission adds is a machine-checked version of it on the paper's own space Lp(Ω,F,P)\mathcal L_p(\Omega,\mathcal F,P)Lp​(Ω,F,P), together with reusable pieces of stochastic-order theory: the cdf characterization of the usual stochastic order, the quantile coupling, conditional Jensen in increasing-convex form, and Strassen's martingale coupling realized on a given space carrying a uniform random variable. Mathlib has conditional Jensen for convex functions (ConvexOn.map_condExp_le_univ) but not the stochastic orders, the quantile coupling or Strassen's theorem. Strassen's theorem for laws on Rn\mathbb R^nRn, with a coupling on some probability space, is posed separately on Prove2Me but not proved.

Difficulty

The forward direction is short given milestone 4. The reverse direction is where the work is. Consistency compares ρ(X1)\rho(X_1)ρ(X1​) and ρ(X2)\rho(X_2)ρ(X2​) for random variables that are related only through their laws: X1⪯icxX2X_1\preceq_{\mathrm{icx}}X_2X1​⪯icx​X2​ says nothing about X1(ω)X_1(\omega)X1​(ω) versus X2(ω)X_2(\omega)X2​(ω), so neither (A2) nor risk aversion applies to the pair as given. The argument has to replace the pair by another pair, with the same laws, on the same space Ω\OmegaΩ, related by a conditional expectation; only then can monotonicity and risk aversion be chained. Producing that pair is Strassen's theorem, a nonconstructive existence result about martingale couplings, and it has to be realized on the given Ω\OmegaΩ, not on a product space built for the purpose, because ρ\rhoρ is defined only on Lp(Ω,F,P)\mathcal L_p(\Omega,\mathcal F,P)Lp​(Ω,F,P). That is the role of the uniform random variable, and transporting the coupling onto Ω\OmegaΩ through it is a separate measure-theoretic step. The first-order analogue, Lemma 5.1, needs the same kind of transfer, through quantile functions, whose values at 000 and 111 must be handled.

Formalization scope

  • Lp\mathcal L_pLp​ is encoded by functions Ω→R\Omega\to\mathbb RΩ→R satisfying MemLp X p P with 1 ≤ p and p ≠ ⊤, not by almost-everywhere classes. ρ\rhoρ is a function (Ω → ℝ) → ℝ; every definition quantifies only over MemLp arguments, so its values elsewhere play no role. ρ\rhoρ is real valued, as in Definition 5.2.
  • The order in (A2) is the almost-sure order, the order of Lp\mathcal L_pLp​ (p. 434).
  • "For which the expectations exist" is integrability of u∘X1u\circ X_1u∘X1​ and u∘X2u\circ X_2u∘X2​, as in the published increasing convex order.
  • Risk aversion quantifies over every sub-σ\sigmaσ-algebra G⊆F\mathcal G\subseteq\mathcal FG⊆F and every G\mathcal GG-measurable version of Mathlib's conditional expectation P[X|m].
  • The uniform random variable and p∈[1,∞)p\in[1,\infty)p∈[1,∞) appear as hypotheses of the goal, of Lemma 5.1 and of milestone 5, exactly where the paper's standing assumptions of §5.2 apply. Milestones 1 and 4 do not need them.
  • The quantile F−1(t)=inf⁡{s:F(s)≥t}F^{-1}(t)=\inf\{s:F(s)\ge t\}F−1(t)=inf{s:F(s)≥t} is a real infimum, which is 000 where the paper's value is ±∞\pm\infty±∞ (t∉(0,1)t\notin(0,1)t∈/(0,1)); milestone 2 is therefore stated almost surely.
  • The goal mentions neither quantiles, nor UUU beyond its existence, nor any coupling. A statement that assumed convexity of ρ\rhoρ, dropped distribution invariance, restricted to bounded or pointwise-ordered outcomes, or replaced risk aversion by the single σ\sigmaσ-algebra {∅,Ω}\{\emptyset,\Omega\}{∅,Ω} would be a different and weaker theorem and does not count.

Needed infrastructure: equality in law from equality of cdfs, the quantile transform, conditional Jensen's inequality (in Mathlib) turned into the increasing convex order, and Strassen's theorem in dimension one with the transfer of a coupling to a space carrying a uniform random variable. The last two are reusable well beyond this mission. Proofs of any milestone, and of supporting lemmas such as the cdf characterization of equality in law, are welcome.

Selected references

  • A. Ruszczyński, A. Shapiro, Optimization of convex risk functions, Mathematics of Operations Research 31(3):433–452, 2006. https://doi.org/10.1287/moor.1050.0186
  • A. Müller, D. Stoyan, Comparison Methods for Stochastic Models and Risks, Wiley, 2002 (Theorem 1.2.8, Corollary 1.5.21). https://www.wiley.com/en-us/Comparison+Methods+for+Stochastic+Models+and+Risks-p-9780471494461
  • V. Strassen, The existence of probability measures with given marginals, Annals of Mathematical Statistics 36(2):423–439, 1965. https://doi.org/10.1214/aoms/1177700153
  • D. Blackwell, Equivalent comparisons of experiments, Annals of Mathematical Statistics 24(2):265–272, 1953. https://doi.org/10.1214/aoms/1177729032
  • W. Ogryczak, A. Ruszczyński, Dual stochastic dominance and related mean–risk models, SIAM Journal on Optimization 13(1):60–78, 2002. https://doi.org/10.1137/S1052623400375075
  • M. Shaked, J. G. Shanthikumar, Stochastic Orders, Springer, 2007. https://doi.org/10.1007/978-0-387-34675-5
8 thms2 active usersReviewed
🏆Completed
Control TheoryStochastic Systems·Captain: mikedeng1

Backward-Forward Stochastic Differential Equations 4: A Nonsingular Linear Backward-Forward System with Lipschitz Constant 1 Has No Solution on the Horizon T = π/2Research Paper

Motivation

A backward stochastic equation determines its current value from a conditional expectation of future values. A forward equation determines its current value from past values. Coupling the two makes existence depend on more than integrability of the data: the feedback between the past and future can prevent a solution. Antonelli's 1993 paper studies this interaction in an L1L^1L1 space for equations driven by bounded variation processes, motivated in part by recursively defined stochastic utility in finance (Antonelli 1993, pp. 777–778).

The paper first gives an existence and uniqueness condition for a coupled system. It then tests the size of that condition with two examples. The first uses a singular coefficient matrix; the second, targeted here, uses a nonsingular linear coupling. This distinction matters because the failure of existence in the first example could otherwise be attributed to the singular matrix. The second example places the obstruction at a particular time horizon while retaining a linear map with Lipschitz constant one (Antonelli 1993, pp. 791–792).

Setting

Fix a complete probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with a right-continuous filtration (Ft)0≤t≤T(\mathcal F_t)_{0\le t\le T}(Ft​)0≤t≤T​, where T>0T>0T>0. At time ttt, Ft\mathcal F_tFt​ describes the information available. Let J0J_0J0​ be an integrable, strictly positive, F0\mathcal F_0F0​-measurable random variable. Let YYY be a strictly positive, bounded, FT\mathcal F_TFT​-measurable random variable. Both positivity statements are almost sure.

The unknowns are real-valued stochastic processes UtU_tUt​ and VtV_tVt​. The forward equation starts from J0J_0J0​ and accumulates VVV:

Ut=J0+∫0tVs ds.U_t=J_0+\int_0^t V_s\,ds.Ut​=J0​+∫0t​Vs​ds.

The backward equation sets VtV_tVt​ equal to the conditional mean, given current information, of a future integral and the terminal input:

Vt=E ⁣[∫tTUs ds+Y∣Ft].V_t=\mathbb E\!\left[\int_t^T U_s\,ds+Y\mid\mathcal F_t\right].Vt​=E[∫tT​Us​ds+Y∣Ft​].

These are equations (3.10)–(3.11) of the paper. Their coefficient functions are f(u,v)=vf(u,v)=vf(u,v)=v and g(u,v)=ug(u,v)=ug(u,v)=u, each with Lipschitz constant 111 for the paper's sum norm on pairs. The associated linear coefficient matrix is nonsingular. A solution is sought in L1(dt⊗dP)L^1(dt\otimes dP)L1(dt⊗dP) for each component: the expected time integral of its absolute value is finite, and the equations hold in that space. This is the same integrability regime used to state the coupled system in §3 (Antonelli 1993, p. 785).

The terminal value UTU_TUT​ is the random variable J0+∫0TVs dsJ_0+\int_0^T V_s\,dsJ0​+∫0T​Vs​ds. Conditional-expectation processes in the intermediate identities are denoted Mt=E[UT∣Ft]M_t=\mathbb E[U_T\mid\mathcal F_t]Mt​=E[UT​∣Ft​] and Ytc=E[Y∣Ft]Y_t^{\mathrm c}=\mathbb E[Y\mid\mathcal F_t]Ytc​=E[Y∣Ft​]. Jointly measurable versions are used when these processes appear inside time integrals.

Formalization targets

Conditional-expectation identity

For any positive horizon, the paper derives an equation for VVV in terms of UTU_TUT​, a weighted future integral of VVV, and YYY. With the sign consistent with the preceding display, the identity is

Vt=(T−t)Mt−E ⁣[∫tT(r−t)Vr dr∣Ft]+Ytc.V_t=(T-t)M_t-\mathbb E\!\left[\int_t^T(r-t)V_r\,dr\mid\mathcal F_t\right]+Y_t^{\mathrm c}.Vt​=(T−t)Mt​−E[∫tT​(r−t)Vr​dr∣Ft​]+Ytc​.

The printed equation (3.12) places YYY inside the negative conditional expectation. That is inconsistent with both the preceding display and the next closed form; the formal statement uses the consistent sign and records the discrepancy (Antonelli 1993, p. 792).

Closed forms and mean identity

The remaining intermediate targets are the paper's closed form for VVV, equation (3.13) for UUU, and the terminal-mean relation:

Vt=Mtsin⁡(T−t)+Ytccos⁡(T−t),V_t=M_t\sin(T-t)+Y_t^{\mathrm c}\cos(T-t),Vt​=Mt​sin(T−t)+Ytc​cos(T−t), Ut=J0+∫0tMssin⁡(T−s) ds+∫0tYsccos⁡(T−s) ds,U_t=J_0+\int_0^t M_s\sin(T-s)\,ds+\int_0^t Y_s^{\mathrm c}\cos(T-s)\,ds,Ut​=J0​+∫0t​Ms​sin(T−s)ds+∫0t​Ysc​cos(T−s)ds, E[UT]cos⁡T=E[J0]+E[Y]sin⁡T.\mathbb E[U_T]\cos T=\mathbb E[J_0]+\mathbb E[Y]\sin T.E[UT​]cosT=E[J0​]+E[Y]sinT.

The last identity is stated without division, so it also has meaning when cos⁡T=0\cos T=0cosT=0. These identities give the milestones in the order they occur on p. 792.

Main result

At the specific horizon T=π/2T=\pi/2T=π/2, the coupled equations have no L1(dt⊗dP)L^1(dt\otimes dP)L1(dt⊗dP) solution:

T=π2⟹∄ (U,V)∈L1(dt⊗dP)2 satisfying (3.10)–(3.11).T=\frac{\pi}{2}\quad\Longrightarrow\quad \nexists\,(U,V)\in L^1(dt\otimes dP)^2\text{ satisfying (3.10)–(3.11)}.T=2π​⟹∄(U,V)∈L1(dt⊗dP)2 satisfying (3.10)–(3.11).

Strict positivity makes the right side of the mean identity positive, while its left side vanishes. The statement is a nonexistence result for the same broad solution class as the paper, rather than a claim about a narrower pathwise class.

Significance

Example 2 shows that a nonsingular coupling can still lose existence at a finite horizon. Thus the obstruction exhibited by the earlier singular example is not explained by singularity alone. The example also marks a limitation of replacing the paper's smallness condition with the assumption that the Lipschitz constant is merely finite. At T=π/2T=\pi/2T=π/2 and k=1k=1k=1, the product kTkTkT exceeds one, as the paper notes (Antonelli 1993, p. 791).

A completed formalization would connect conditional expectations, jointly measurable time-indexed versions, and integration in L1(dt⊗dP)L^1(dt\otimes dP)L1(dt⊗dP) in a reusable Lean development. The paper proves the mathematical result. This mission asks for machine-checked statements and proofs of its intermediate identities and nonexistence conclusion; it does not claim that the result is an open mathematical problem.

Difficulty

The main challenge is that the equations are equalities of integrable processes, not pointwise equalities at every time and outcome. A value assigned to UTU_TUT​ by an arbitrary representative of an L1L^1L1 class is uncontrolled, so the terminal value must instead be reconstructed from the forward integral. Conditional expectations are defined only up to almost-sure equality at each time, yet the subsequent formulas integrate their time-indexed versions. This requires a jointly measurable version and careful movement between almost-sure statements at fixed times and dt⊗dPdt\otimes dPdt⊗dP statements.

There is also a printed sign inconsistency in (3.12). Propagating that sign would contradict the later sine-cosine formula. Finally, the paper's quotient formula for E[UT]\mathbb E[U_T]E[UT​] cannot be used at T=π/2T=\pi/2T=π/2, because its denominator vanishes there. The undivided mean identity is the meaningful target at the critical horizon.

Formalization scope

Time is represented by R≥0\mathbb R_{\ge0}R≥0​, and all integrals over time use (s,t](s,t](s,t]; for Lebesgue measure this agrees with the paper's ordinary time integrals. The ambient probability measure is a probability measure, and the filtration satisfies right continuity and completion at time zero. The two unknown processes are jointly measurable and have finite lower-integral L1L^1L1 norms. A solution uses a jointly measurable version of the conditional-expectation process, with each conditional-expectation argument explicitly integrable. The terminal UTU_TUT​ is defined from J0J_0J0​ and VVV, independently of an arbitrary endpoint value of UUU.

The source calls J0J_0J0​ and YYY positive; the formalization reads this as strict positivity almost surely, because allowing both to vanish admits the zero solution. J0J_0J0​ is integrable as required by the standing assumption on JJJ in §3; YYY remains bounded as Example 2 states. The four intermediate identities are stated for general T>0T>0T>0, while only the main result fixes T=π/2T=\pi/2T=π/2. Their process equalities hold in L1(dt⊗dP)L^1(dt\otimes dP)L1(dt⊗dP), and the terminal identity holds almost surely. This keeps the target from becoming true simply because endpoint representatives can be chosen freely.

The needed development includes product measurability, conditional expectation, Fubini's theorem, time integration, and the trigonometric identities in the closed form. The L1L^1L1 and version definitions can be reused for other coupled systems with deterministic time integrators. Contributions that establish the intermediate identities under the stated integrability assumptions, or develop the corresponding measurable-version tools, support the goal directly.

Selected references

  • Fabio Antonelli, Backward-forward stochastic differential equations, Annals of Applied Probability 3(3), 777–793, 1993. DOI: 10.1214/aoap/1177005363.
9 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: mikedeng1

Coalescents With Multiple Collisions 2: Coagulating an (α, θ) Partition by (β, θ/α) Equals Fragmenting an (αβ, θ) Partition by (α, −αβ)Research Paper

Motivation

Random partitions of the positive integers N={1,2,… }\mathbb N=\{1,2,\dots\}N={1,2,…} are the common language of population genetics, Bayesian nonparametrics and the theory of coalescent processes. When a sample of genes, customers or particles is grouped into classes, the grouping is a partition, and in most models its law is exchangeable: it does not depend on the labels. The best-known example is the Ewens sampling formula of population genetics (Ewens 1972); Kingman's representation theory (Kingman 1978) describes all exchangeable random partitions of N\mathbb NN.

Pitman's two-parameter family of exchangeable partitions, the (α,θ)(\alpha,\theta)(α,θ) partitions (Pitman 1995; Pitman and Yor 1997), contains Ewens' family as α=0\alpha=0α=0 and is the partition counterpart of the two-parameter Poisson–Dirichlet distribution. Theorem 12 of Pitman 1999 shows that two natural random operations act on this family in a dual way: merging blocks of an (α,θ)(\alpha,\theta)(α,θ) partition according to an independent exchangeable partition (coagulation) and splitting each block of an (αβ,θ)(\alpha\beta,\theta)(αβ,θ) partition by independent exchangeable partitions (fragmentation) produce the same joint law of a fine and a coarse partition. The paper uses it to describe the Bolthausen–Sznitman coalescent (Bolthausen and Sznitman 1998).

Timeline. 1972: Ewens' sampling formula, the case α=0\alpha=0α=0. 1978: Kingman's correspondence between exchangeable partitions and random mass partitions. 1995: Pitman introduces exchangeable partition probability functions and the (α,θ)(\alpha,\theta)(α,θ) formula (15). 1997: Pitman and Yor study the two-parameter Poisson–Dirichlet law. 1999: this paper proves the coagulation–fragmentation duality (Theorem 12) and its sharper converse, by reduction to an identity between explicit formulas. The duality is treated again in Pitman's lecture notes Combinatorial Stochastic Processes (2006).

Setting

A partition of a set is a collection of disjoint nonempty blocks whose union is the set. Write Pn\mathcal P_nPn​ for the partitions of [n]={1,…,n}[n]=\{1,\dots,n\}[n]={1,…,n} and P∞\mathcal P_\inftyP∞​ for those of N\mathbb NN; the restriction RnπR_n\piRn​π of π∈P∞\pi\in\mathcal P_\inftyπ∈P∞​ to [n][n][n] keeps the nonempty sets A∩[n]A\cap[n]A∩[n]. P∞\mathcal P_\inftyP∞​ carries the σ\sigmaσ-algebra generated by the RnR_nRn​. Writing π={A1,A2,… }\pi=\{A_1,A_2,\dots\}π={A1​,A2​,…} lists the blocks in increasing order of least elements.

A random partition Π\PiΠ of N\mathbb NN is exchangeable with EPF ppp if for every nnn and every partition {B1,…,Bk}\{B_1,\dots,B_k\}{B1​,…,Bk​} of [n][n][n],

P(RnΠ={B1,…,Bk})=p(∣B1∣,…,∣Bk∣).\mathbb P\big(R_n\Pi=\{B_1,\dots,B_k\}\big)=p(|B_1|,\dots,|B_k|).P(Rn​Π={B1​,…,Bk​})=p(∣B1​∣,…,∣Bk​∣).

For 0≤α<10\le\alpha<10≤α<1 and θ>−α\theta>-\alphaθ>−α the (α,θ)(\alpha,\theta)(α,θ) EPF is

pα,θ(n1,…,nk)=[θ/α]k[θ]n∏i=1k−[−α]ni,[x]m=∏i=1m(x+i−1),n=∑ini,p_{\alpha,\theta}(n_1,\dots,n_k)=\frac{[\theta/\alpha]_k}{[\theta]_n}\prod_{i=1}^k-[-\alpha]_{n_i},\qquad [x]_m=\prod_{i=1}^m(x+i-1),\quad n=\textstyle\sum_i n_i,pα,θ​(n1​,…,nk​)=[θ]n​[θ/α]k​​i=1∏k​−[−α]ni​​,[x]m​=i=1∏m​(x+i−1),n=∑i​ni​,

with factors of α\alphaα and θ\thetaθ cancelled before evaluation when α=0\alpha=0α=0 or θ=0\theta=0θ=0. An (α,θ)(\alpha,\theta)(α,θ) partition is an exchangeable random partition with EPF pα,θp_{\alpha,\theta}pα,θ​.

Coagulation (Definition 5): for π={A1,A2,… }\pi=\{A_1,A_2,\dots\}π={A1​,A2​,…} and γ={B1,B2,… }\gamma=\{B_1,B_2,\dots\}γ={B1​,B2​,…}, the γ\gammaγ-coagulation of π\piπ has blocks ⋃j∈BiAj\bigcup_{j\in B_i}A_j⋃j∈Bi​​Aj​. Π′\Pi'Π′ is a ppp-coagulation of Π\PiΠ if, given Π=π\Pi=\piΠ=π, it is the γ\gammaγ-coagulation of π\piπ for an independent γ\gammaγ with EPF ppp. Fragmentation (Definition 11): Π\PiΠ is a ppp-fragmentation of Π′\Pi'Π′ if, given Π′=π′\Pi'=\pi'Π′=π′, Π\PiΠ restricted to the mmm-th block of π′\pi'π′ equals Γ(m)\Gamma^{(m)}Γ(m) restricted to that block, for independent Γ(1),Γ(2),…\Gamma^{(1)},\Gamma^{(2)},\dotsΓ(1),Γ(2),… with EPF ppp. In Lean these are coag, frag, pdEPF and IsEPFLaw in LambdaCoalescent.CoagFrag.Setting.

Formalization targets

Goal: Theorem 12

For 0<α<10<\alpha<10<α<1, 0≤β<10\le\beta<10≤β<1, θ>−αβ\theta>-\alpha\betaθ>−αβ, the following are equivalent: (i) Π\PiΠ is an (α,θ)(\alpha,\theta)(α,θ) partition and Π′\Pi'Π′ is a (β,θ/α)(\beta,\theta/\alpha)(β,θ/α)-coagulation of Π\PiΠ; (ii) Π′\Pi'Π′ is an (αβ,θ)(\alpha\beta,\theta)(αβ,θ) partition and Π\PiΠ is an (α,−αβ)(\alpha,-\alpha\beta)(α,−αβ)-fragmentation of Π′\Pi'Π′. Formally, with laws μ,ν,ρ,κ\mu,\nu,\rho,\kappaμ,ν,ρ,κ of EPFs pα,θ,pβ,θ/α,pαβ,θ,pα,−αβp_{\alpha,\theta},p_{\beta,\theta/\alpha},p_{\alpha\beta,\theta},p_{\alpha,-\alpha\beta}pα,θ​,pβ,θ/α​,pαβ,θ​,pα,−αβ​:

(μ⊗ν){(π,γ):(π,coag(π,γ))∈S}=(ρ⊗κ⊗N){(π′,Γ):(frag(π′,Γ),π′)∈S}(\mu\otimes\nu)\{(\pi,\gamma):(\pi,\mathrm{coag}(\pi,\gamma))\in S\}=(\rho\otimes\kappa^{\otimes\mathbb N})\{(\pi',\Gamma):(\mathrm{frag}(\pi',\Gamma),\pi')\in S\}(μ⊗ν){(π,γ):(π,coag(π,γ))∈S}=(ρ⊗κ⊗N){(π′,Γ):(frag(π′,Γ),π′)∈S}

for every measurable S⊆P∞×P∞S\subseteq\mathcal P_\infty\times\mathcal P_\inftyS⊆P∞​×P∞​.

Milestones

  1. Lemma 9 (existence): for 0≤α<10\le\alpha<10≤α<1, θ>−α\theta>-\alphaθ>−α a law with EPF pα,θp_{\alpha,\theta}pα,θ​ exists.
  2. Lemma 34: Π2\Pi^2Π2 is a ppp-coagulation of Π1\Pi^1Π1 with EPF p1p_1p1​ iff P(Πn1=π1,Πn2=π2)=p1(a1,…,aK) p(j1,…,jk)\mathbb P(\Pi^1_n=\pi^1,\Pi^2_n=\pi^2)=p_1(a_1,\dots,a_K)\,p(j_1,\dots,j_k)P(Πn1​=π1,Πn2​=π2)=p1​(a1​,…,aK​)p(j1​,…,jk​) for refining pairs.
  3. Lemma 35: the fragmentation analogue, ∏ip^(ai,1,…,ai,ji) p2(b1,…,bk)\prod_i\hat p(a_{i,1},\dots,a_{i,j_i})\,p_2(b_1,\dots,b_k)∏i​p^​(ai,1​,…,ai,ji​​)p2​(b1​,…,bk​).
  4. The EPF identity in the proof of Theorem 12: (62) equals (63) for the four laws of Theorem 12.
  5. The sharper form: for parameters in PAR={0≤α<1,θ>−α}\mathrm{PAR}=\{0\le\alpha<1,\theta>-\alpha\}PAR={0≤α<1,θ>−α} the two joint laws agree iff αf=α\alpha_f=\alphaαf​=α, θf=−α1=−ααc\theta_f=-\alpha_1=-\alpha\alpha_cθf​=−α1​=−ααc​, θc=θ/α\theta_c=\theta/\alphaθc​=θ/α, θ1=θ\theta_1=\thetaθ1​=θ (64).

Significance

Theorem 12 identifies one law of a nested pair of exchangeable partitions from both ends. Read from (i) to (ii), it shows that coagulating an (α,θ)(\alpha,\theta)(α,θ) partition by an independent (β,θ/α)(\beta,\theta/\alpha)(β,θ/α) partition yields an (αβ,θ)(\alpha\beta,\theta)(αβ,θ) partition; read backwards, that an (αβ,θ)(\alpha\beta,\theta)(αβ,θ) partition fragmented by (α,−αβ)(\alpha,-\alpha\beta)(α,−αβ) partitions yields an (α,θ)(\alpha,\theta)(α,θ) partition. Through Kingman's correspondence it gives Corollary 13 on Poisson–Dirichlet laws, and with β=0\beta=0β=0 it connects the two-parameter family with Ewens' family. In the paper it is the tool for describing the Bolthausen–Sznitman coalescent through Poisson–Dirichlet laws. The sharper form shows the parameter relations (64) are forced.

The theorem has been proved since 1999. What this mission adds is a machine-checked development: exchangeable random partitions of N\mathbb NN with their EPFs, the coagulation and fragmentation kernels, and the reduction of identities between laws on P∞\mathcal P_\inftyP∞​ to identities between finite-dimensional formulas. None of these objects is in Mathlib, and no formalization of the duality is known.

Difficulty

The algebraic heart, the EPF identity, is a finite computation with rising factorials. The difficulty is measure-theoretic and combinatorial. A law on P∞\mathcal P_\inftyP∞​ must be pinned down by its values on the cylinder events {Rnπ=πn}\{R_n\pi=\pi_n\}{Rn​π=πn​}. Computing P(RnΠ=π1,RnΠ′=π2)\mathbb P(R_n\Pi=\pi^1,R_n\Pi'=\pi^2)P(Rn​Π=π1,Rn​Π′=π2) under the coagulation kernel requires that the blocks of π\piπ meeting [n][n][n] are exactly the first KKK blocks in order of least elements, and that the induced partition of [K][K][K] has law given by the EPF; under the fragmentation kernel it requires the independence of the Γ(m)\Gamma^{(m)}Γ(m) and that the restriction of an exchangeable partition to an arbitrary finite set (not an initial segment [b][b][b]) is governed by the same EPF. The converse in Lemmas 34 and 35 needs the bookkeeping that the formula on refining pairs exhausts total mass. Lemma 9 is an existence theorem for a projective family of laws, which the paper cites rather than proves.

Formalization scope

A partition of N\mathbb NN is an equivalence relation on Lean's N={0,1,… }\mathbb N=\{0,1,\dots\}N={0,1,…} (PInf := Setoid ℕ), a partition of [n][n][n] one on Fin n; labels shift by one, which preserves the order of least elements, and block indices are 0-based. The σ\sigmaσ-algebra on PInf is generated by the coordinates i∼πji\sim_\pi ji∼π​j, equivalently by the RnR_nRn​. Coagulation is stated with γ∈P∞\gamma\in\mathcal P_\inftyγ∈P∞​ (Definition 5's case n=∞n=\inftyn=∞). The EPF is the cancelled form

pα,θ(n1,…,nk)=∏i=1k−1(θ+iα)[θ+1]n−1∏i=1k[1−α]ni−1,p_{\alpha,\theta}(n_1,\dots,n_k)=\frac{\prod_{i=1}^{k-1}(\theta+i\alpha)}{[\theta+1]_{n-1}}\prod_{i=1}^k[1-\alpha]_{n_i-1},pα,θ​(n1​,…,nk​)=[θ+1]n−1​∏i=1k−1​(θ+iα)​i=1∏k​[1−α]ni​−1​,

equal to (15) for α,θ≠0\alpha,\theta\ne0α,θ=0; this is needed because θf=−αβ=0\theta_f=-\alpha\beta=0θf​=−αβ=0 at β=0\beta=0β=0. Conditional laws "for all π\piπ" are encoded as joint laws, and equalities of laws are stated on preimages of measurable sets, so no Measure.map of an unproved-measurable map appears. Fragmenting partitions are one sample of Measure.infinitePi (fun _ => κ). In the sharper form, θc=θ/α\theta_c=\theta/\alphaθc​=θ/α is written as αθc=θ\alpha\theta_c=\thetaαθc​=θ, since PAR allows α=0\alpha=0α=0.

Not formalized: the stick-breaking characterization (12)–(13) in Lemma 9, Corollary 13 and Kingman's correspondence, and the auxiliary fact "∏[−α]ni=cn,k∏[−β]ni⇒α=β\prod[-\alpha]_{n_i}=c_{n,k}\prod[-\beta]_{n_i}\Rightarrow\alpha=\beta∏[−α]ni​​=cn,k​∏[−β]ni​​⇒α=β", which as printed fails at α=0\alpha=0α=0.

A formalization in which no measure satisfies IsEPFLaw (pdEPF α θ) would make Theorem 12 and Lemmas 34–35 vacuous; Lemma 9 rules this out and must be proved for the parameters used, not assumed.

Infrastructure needed: cylinder-set uniqueness on PInf, the law of the restriction of an exchangeable partition to a finite set, block enumeration by least elements, and rising-factorial algebra (ascPochhammer). The partition, EPF and kernel definitions are reusable for any work on exchangeable partitions, Chinese restaurant processes or Λ\LambdaΛ-coalescents. Proofs of Lemma 9, of Lemmas 34–35 and of the EPF identity are each welcome as independent contributions.

Selected references

  • J. Pitman, Coalescents with multiple collisions, Ann. Probab. 27(4) (1999), 1870–1902. https://doi.org/10.1214/aop/1022874819
  • J. Pitman, Exchangeable and partially exchangeable random partitions, Probab. Theory Related Fields 102 (1995), 145–158. https://doi.org/10.1007/BF01213386
  • J. Pitman and M. Yor, The two-parameter Poisson–Dirichlet distribution derived from a stable subordinator, Ann. Probab. 25(2) (1997), 855–900. https://doi.org/10.1214/aop/1024404422
  • J. F. C. Kingman, The representation of partition structures, J. London Math. Soc. (2) 18 (1978), 374–380. https://doi.org/10.1112/jlms/s2-18.2.374
  • W. J. Ewens, The sampling theory of selectively neutral alleles, Theor. Popul. Biol. 3 (1972), 87–112. https://doi.org/10.1016/0040-5809(72)90035-4
  • E. Bolthausen and A.-S. Sznitman, On Ruelle's probability cascades and an abstract cavity method, Comm. Math. Phys. 197 (1998), 247–276. https://doi.org/10.1007/s002200050450
  • J. Pitman, Combinatorial Stochastic Processes, Lecture Notes in Mathematics 1875, Springer, 2006. https://doi.org/10.1007/b11601500
8 thms2 active usersReviewed
🏆Completed
Captain: mikedeng1

Large Deviations of Sums of Independent Random Variables 3: For Centered Summands and x ≥ 2B_n, P(S_n ≥ x) ≥ ½ΣP(X_j ≥ 2x)Research Paper

Motivation

The probability that a sum of independent random variables exceeds a large level is a central quantity in large deviation theory. It appears, for example, when relating tail assumptions on individual summands to the tail of their sum. For summands with light (exponentially decaying) tails, exponential bounds are often effective. For heavier tails, a large value of the sum can instead be produced by one large summand. Nagaev's survey studies bounds that make the contribution of such summands explicit.

S. V. Nagaev's survey Large deviations of sums of independent random variables, Ann. Probab. 7 (1979) collects upper bounds of this type. Its best-known result, the Fuk–Nagaev inequality (Theorem 1.3, p. 749), bounds P(Sn≥x)P(S_n\ge x)P(Sn​≥x) from above by ∑iP(Xi>yi)\sum_i P(X_i>y_i)∑i​P(Xi​>yi​) plus an explicit term built from truncated moments. Upper bounds alone do not show that the one-summand term is necessary. At the end of §1 (pp. 758–759) the paper gives a complementary lower bound that needs neither identical distributions nor regular variation of the tails, only centred summands with finite variances. This mission formalizes that lower bound and the steps of its proof.

Timeline. Fuk and Nagaev (1971) proved truncation inequalities of this kind; the survey refers to that paper for the proofs of its Theorems 1.1 and 1.2 (p. 752). A. V. Nagaev (1969) obtained the asymptotics of Theorem 1.9 (p. 753) for identically distributed, centred summands with tails 1−F(x)=l(x)x−t(1+o(1))1-F(x)=l(x)x^{-t}(1+o(1))1−F(x)=l(x)x−t(1+o(1)), t>2t>2t>2, lll slowly varying; in the range where one summand dominates, the survey's own argument gives P(Sn≥xn)=nP(X1≥xn)(1+o(1))P(S_n\ge x_n)=nP(X_1\ge x_n)(1+o(1))P(Sn​≥xn​)=nP(X1​≥xn​)(1+o(1)), display (1.46), p. 756. The lower bound treated here (1979, p. 759) drops both the identical-distribution and the regular-variation hypotheses in exchange for explicit constants (12\tfrac1221​, and 2x2x2x in place of xxx).

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space and X1,…,XnX_1,\dots,X_nX1​,…,Xn​ independent real random variables on it. The paper writes

Sn=∑i=1nXi,σi2=Var⁡Xi,Bn2=∑i=1nσi2,Bn=(Bn2)1/2.S_n=\sum_{i=1}^n X_i,\qquad \sigma_i^2=\operatorname{Var}X_i,\qquad B_n^2=\sum_{i=1}^n\sigma_i^2,\qquad B_n=(B_n^2)^{1/2}.Sn​=i=1∑n​Xi​,σi2​=VarXi​,Bn2​=i=1∑n​σi2​,Bn​=(Bn2​)1/2.

Throughout, x>0x>0x>0 is the level (p. 747). For an index jjj, the sum without the jjj-th summand is

Snj=∑i≠jXi=Sn−Xj,S_n^j=\sum_{i\ne j}X_i=S_n-X_j ,Snj​=i=j∑​Xi​=Sn​−Xj​,

and the one-big-summand probability is

Pj=P(Sn≥x, Xj≥x, max⁡i≠jXi<x),P_j=P\Big(S_n\ge x,\ X_j\ge x,\ \max_{i\ne j}X_i<x\Big),Pj​=P(Sn​≥x, Xj​≥x, i=jmax​Xi​<x),

the probability that the sum reaches xxx while XjX_jXj​ is the only summand that does.

In the Lean development these are S n X, Sj n X j, Bn2 P X and Pj P X x j, in the namespace NagaevLD.LowerBound.

Formalization targets

Goal: the lower bound (p. 759, after (1.58))

Assume EXi=0EX_i=0EXi​=0 for every iii and Bn2<∞B_n^2<\inftyBn2​<∞. Then for x≥2Bnx\ge 2B_nx≥2Bn​

P(Sn≥x) ≥ 12∑j=1nP(Xj≥2x).P(S_n\ge x)\ \ge\ \frac12\sum_{j=1}^n P(X_j\ge 2x).P(Sn​≥x) ≥ 21​j=1∑n​P(Xj​≥2x).

Milestones (in the paper's order)

  1. (1.57), p. 758: P(Sn≥x)≥∑j=1nPj\displaystyle P(S_n\ge x)\ge\sum_{j=1}^n P_jP(Sn​≥x)≥j=1∑n​Pj​.
  2. The bound on PjP_jPj​, p. 758: Pj≥P(Xj≥2x) P(Snj≥−x, max⁡i≠jXi<x)P_j\ge P(X_j\ge 2x)\,P\big(S_n^j\ge -x,\ \max_{i\ne j}X_i<x\big)Pj​≥P(Xj​≥2x)P(Snj​≥−x, maxi=j​Xi​<x).
  3. "It is clear that", p. 759: P(Snj≥−x, max⁡i≠jXi<x)≥P(Snj≥−x)−P(max⁡i≠jXi≥x)P\big(S_n^j\ge -x,\ \max_{i\ne j}X_i<x\big)\ge P(S_n^j\ge -x)-P\big(\max_{i\ne j}X_i\ge x\big)P(Snj​≥−x, maxi=j​Xi​<x)≥P(Snj​≥−x)−P(maxi=j​Xi​≥x).
  4. First Chebyshev bound, p. 759: P(Snj≥−x)≥1−Bn2/x2P(S_n^j\ge -x)\ge 1-B_n^2/x^2P(Snj​≥−x)≥1−Bn2​/x2.
  5. Second Chebyshev bound, p. 759: P(max⁡i≠jXi≥x)≤Bn2/x2P\big(\max_{i\ne j}X_i\ge x\big)\le B_n^2/x^2P(maxi=j​Xi​≥x)≤Bn2​/x2.
  6. (1.58), p. 759: Pj≥12P(Xj≥2x)P_j\ge\tfrac12P(X_j\ge 2x)Pj​≥21​P(Xj​≥2x) if x≥2Bnx\ge 2B_nx≥2Bn​.

Significance

The result. Set beside the Fuk–Nagaev upper bound, the lower bound shows that in the range x≥2Bnx\ge 2B_nx≥2Bn​ the probability P(Sn≥x)P(S_n\ge x)P(Sn​≥x) is at least a fixed fraction of a one-summand term, 12∑jP(Xj≥2x)\tfrac12\sum_jP(X_j\ge 2x)21​∑j​P(Xj​≥2x), for any centred summands with finite variances. It is valid for every nnn and every family of independent, centred, square-integrable summands, with no asymptotic regime and no tail regularity. It is a non-asymptotic counterpart of the asymptotics P(Sn≥x)∼nP(X1≥x)P(S_n\ge x)\sim nP(X_1\ge x)P(Sn​≥x)∼nP(X1​≥x) for regularly varying tails, and it indicates that the term ∑iP(Xi>yi)\sum_iP(X_i>y_i)∑i​P(Xi​>yi​) in upper bounds of Fuk–Nagaev type cannot be removed.

Formalizing it. The result is proved in the 1979 paper; the local Prove2Me catalogue search found no exact formal statement of this bound. A formal proof would produce a reusable lower bound for tails of sums of independent variables and the decomposition (1.57) into one-big-summand events, which applies to any family of real random variables.

Difficulty

The individual steps are short. The step that needs care is the bound on PjP_jPj​: it requires the event {Xj≥2x}\{X_j\ge 2x\}{Xj​≥2x} to be independent of the event {Snj≥−x, max⁡i≠jXi<x}\{S_n^j\ge -x,\ \max_{i\ne j}X_i<x\}{Snj​≥−x, maxi=j​Xi​<x}, which is generated by the other n−1n-1n−1 summands. Deriving this from mutual independence of X1,…,XnX_1,\dots,X_nX1​,…,Xn​ means grouping the summands into {j}\{j\}{j} and its complement and passing to a function of the complementary block. The first Chebyshev bound similarly needs the variance of SnjS_n^jSnj​ to equal ∑i≠jσi2\sum_{i\ne j}\sigma_i^2∑i=j​σi2​, again by independence of a sub-family. A naive union bound P(Sn≥x)≥P(Xj≥2x)−…P(S_n\ge x)\ge P(X_j\ge 2x)-\dotsP(Sn​≥x)≥P(Xj​≥2x)−… for one jjj alone does not give the sum over jjj: the decomposition into the disjoint events of (1.57) is what makes the sum appear.

Formalization scope

  • Representation. The summands are a family X : Fin n → Ω → ℝ on a probability space, measurable and mutually independent (iIndepFun); the paper's X1,…,XnX_1,\dots,X_nX1​,…,Xn​ are X 0, …, X (n-1). Probabilities are P.real of sets, with ≥\ge≥, >>> and <<< exactly as printed.
  • Bn2<∞B_n^2<\inftyBn2​<∞. The page's hypothesis is stated as square integrability of every summand (MemLp (X i) 2 P). Mathlib's variance returns 000 for a variable that is not square integrable, so without this hypothesis Bn2B_n^2Bn2​ could be 000 while the summands have infinite variance, and the goal would be false. EXi=0EX_i=0EXi​=0 is stated as ∫Xi dP=0\int X_i\,dP=0∫Xi​dP=0.
  • The maximum over i≠ji\ne ji=j. max⁡i≠jXi<x\max_{i\ne j}X_i<xmaxi=j​Xi​<x is written "Xi<xX_i<xXi​<x for every i≠ji\ne ji=j" and max⁡i≠jXi≥x\max_{i\ne j}X_i\ge xmaxi=j​Xi​≥x as "some i≠ji\ne ji=j has Xi≥xX_i\ge xXi​≥x", so the case n=1n=1n=1, where the maximum is over the empty set, needs no convention.
  • Printed slips. In the "It is clear that" step the page writes max⁡i≠jXi≤x\max_{i\ne j}X_i\le xmaxi=j​Xi​≤x and >x>x>x, while (1.57) uses <x<x<x. Milestones 3 and 5 are stated with <x<x<x and ≥x\ge x≥x, the form the argument uses; milestone 5 with ≥x\ge x≥x is stronger than the printed >x>x>x.
  • Minimal hypotheses. (1.57) and milestone 3 hold for any measurable family and are stated without independence or moments. The other statements carry the paper's standing assumptions (independence, x>0x>0x>0) and the hypotheses EXi=0EX_i=0EXi​=0, Bn2<∞B_n^2<\inftyBn2​<∞ of the page.
  • No trivialization. The hypotheses are satisfiable by every i.i.d. family with a centred square-integrable law, for instance Rademacher signs, so the goal is not vacuous; and BnB_nBn​ is the square root of the true sum of variances, not a free parameter.
  • Welcome contributions. Lemmas on independence of a single summand from a function of the remaining ones, and on the variance of a sub-sum of independent variables, are reusable beyond this mission.

Selected references

  • S. V. Nagaev, Large deviations of sums of independent random variables, Annals of Probability 7(5), 745–789, 1979. https://doi.org/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. https://doi.org/10.1137/1116071
  • A. V. Nagaev, Limit theorems for large deviations where Cramér's conditions are violated (in Russian), Izv. Akad. Nauk UzSSR Ser. Fiz.-Mat. Nauk 6, 17–22, 1969 (reference [27] of the survey; no DOI).
9 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Worst-Case Conditional Value-at-Risk with Application to Robust Portfolio Management 2: For a Compact Convex Set of Discrete Distributions, Worst-Case CVaR Equals min_α max_π G_β(x, α, π)Research Paper

Motivation

Conditional value-at-risk (CVaR) is the standard coherent measure of tail risk in portfolio selection and risk-averse optimization: for a confidence level β\betaβ it is, roughly, the expected loss in the worst (1−β)(1-\beta)(1−β) fraction of outcomes. Its practical appeal comes from the representation of Rockafellar and Uryasev (2000, 2002), which writes CVaR as the minimum over a scalar threshold α\alphaα of a convex function, so that minimizing CVaR over decisions becomes a single convex (often linear) program.

That representation presupposes that the distribution of the uncertain data is known exactly. In practice the scenario probabilities are estimated, and decisions that are optimal for the estimate can perform poorly under a nearby distribution. Zhu and Fukushima (Oper. Res. 57(5), 2009) study the worst-case CVaR: the largest CVaR over a set of distributions that the decision maker considers plausible. For a finite scenario model they show (Theorem 2) that when the plausible set of probability vectors is compact and convex, the worst-case CVaR again has a min–max representation in the threshold α\alphaα. This is what makes worst-case CVaR minimization tractable: under box uncertainty it becomes a linear program and under ellipsoidal uncertainty a second-order cone program (§2.2.1–2.2.2 of the paper).

Setting

A decision x∈Rnx \in \mathbb R^nx∈Rn incurs the loss f(x,y)f(x,y)f(x,y), where y∈Rmy \in \mathbb R^my∈Rm is random. In the discrete model yyy takes the finitely many values y[1],…,y[S]y_{[1]},\dots,y_{[S]}y[1]​,…,y[S]​, the scenarios, with probabilities π1,…,πS\pi_1,\dots,\pi_Sπ1​,…,πS​, where πk≥0\pi_k \ge 0πk​≥0 and ∑kπk=1\sum_k \pi_k = 1∑k​πk​=1. Fix a confidence level 0<β<10<\beta<10<β<1 and write [t]+=max⁡{t,0}[t]^+ = \max\{t,0\}[t]+=max{t,0}. The Rockafellar–Uryasev function for the distribution π\piπ is

Gβ(x,α,π)=α+11−β∑k=1Sπk [f(x,y[k])−α]+,α∈R,G_\beta(x,\alpha,\pi) = \alpha + \frac{1}{1-\beta}\sum_{k=1}^S \pi_k\,[f(x,y_{[k]})-\alpha]^+, \qquad \alpha\in\mathbb R,Gβ​(x,α,π)=α+1−β1​k=1∑S​πk​[f(x,y[k]​)−α]+,α∈R,

and the CVaR of the loss at xxx under π\piπ is

CVaRβ(x,π)=min⁡α∈RGβ(x,α,π).\mathrm{CVaR}_\beta(x,\pi) = \min_{\alpha\in\mathbb R} G_\beta(x,\alpha,\pi).CVaRβ​(x,π)=α∈Rmin​Gβ​(x,α,π).

The distribution is not known; it is only known to lie in an ambiguity set Pπ⊆RS\mathcal P_\pi \subseteq \mathbb R^SPπ​⊆RS of probability vectors. The worst-case CVaR at xxx is

WCVaRβ(x)=sup⁡π∈PπCVaRβ(x,π)=sup⁡π∈Pπmin⁡α∈RGβ(x,α,π).\mathrm{WCVaR}_\beta(x) = \sup_{\pi\in\mathcal P_\pi}\mathrm{CVaR}_\beta(x,\pi) = \sup_{\pi\in\mathcal P_\pi}\min_{\alpha\in\mathbb R} G_\beta(x,\alpha,\pi).WCVaRβ​(x)=π∈Pπ​sup​CVaRβ​(x,π)=π∈Pπ​sup​α∈Rmin​Gβ​(x,α,π).

In the Lean development these objects are WorstCaseCVaR.Discrete.G, cvar and wcvar, with the scenarios given as ys : Fin S → (Fin m → ℝ) and Pπ\mathcal P_\piPπ​ as a set P of vectors Fin S → ℝ.

Formalization targets

Goal: Theorem 2 (p. 1159)

If Pπ\mathcal P_\piPπ​ is a nonempty compact convex set of probability vectors, then for each xxx

WCVaRβ(x)=min⁡α∈Rmax⁡π∈PπGβ(x,α,π),\mathrm{WCVaR}_\beta(x) = \min_{\alpha\in\mathbb R}\max_{\pi\in\mathcal P_\pi} G_\beta(x,\alpha,\pi),WCVaRβ​(x)=α∈Rmin​π∈Pπ​max​Gβ​(x,α,π),

with the inner maximum attained for every α\alphaα and the outer minimum attained at some α0\alpha_0α0​. The statement fixes no constants and no particular ambiguity set.

Milestones (the steps of the paper's proof, p. 1167)

  1. Gβ(x,α,π)G_\beta(x,\alpha,\pi)Gβ​(x,α,π) is convex in α\alphaα for each probability vector π\piπ and affine in π\piπ for each α\alphaα.
  2. There is one nonempty closed bounded interval A\mathcal AA such that, for every π∈Pπ\pi\in\mathcal P_\piπ∈Pπ​, min⁡α∈RGβ(x,α,π)=min⁡α∈AGβ(x,α,π)\min_{\alpha\in\mathbb R} G_\beta(x,\alpha,\pi) = \min_{\alpha\in\mathcal A} G_\beta(x,\alpha,\pi)minα∈R​Gβ​(x,α,π)=minα∈A​Gβ​(x,α,π).
  3. Lemma 1 (p. 1157, Ky Fan's minimax theorem): for convex–concave, suitably semicontinuous ϕ\phiϕ on a product of nonempty compact convex sets, min⁡xmax⁡yϕ=max⁡ymin⁡xϕ\min_x\max_y\phi = \max_y\min_x\phiminx​maxy​ϕ=maxy​minx​ϕ.
  4. Lemma 1 on A×Pπ\mathcal A\times\mathcal P_\piA×Pπ​: max⁡π∈Pπmin⁡α∈AGβ=min⁡α∈Amax⁡π∈PπGβ\max_{\pi\in\mathcal P_\pi}\min_{\alpha\in\mathcal A}G_\beta = \min_{\alpha\in\mathcal A}\max_{\pi\in\mathcal P_\pi}G_\betamaxπ∈Pπ​​minα∈A​Gβ​=minα∈A​maxπ∈Pπ​​Gβ​.
  5. The min-max inequality inf⁡α∈Rsup⁡π∈PπGβ(x,α,π)≥sup⁡π∈Pπmin⁡α∈RGβ(x,α,π)\inf_{\alpha\in\mathbb R}\sup_{\pi\in\mathcal P_\pi}G_\beta(x,\alpha,\pi) \ge \sup_{\pi\in\mathcal P_\pi}\min_{\alpha\in\mathbb R}G_\beta(x,\alpha,\pi)infα∈R​supπ∈Pπ​​Gβ​(x,α,π)≥supπ∈Pπ​​minα∈R​Gβ​(x,α,π).

Significance

Theorem 2 converts a supremum over distributions of a minimum over thresholds into a minimum over thresholds of a worst case of a function that is affine in π\piπ. Minimizing WCVaRβ(x)\mathrm{WCVaR}_\beta(x)WCVaRβ​(x) over decisions xxx is therefore the single minimization problem (16)–(20) of the paper in the variables (x,u,α,θ)(x,u,\alpha,\theta)(x,u,α,θ), whose only nonstandard constraint is max⁡π∈Pπ(α+11−βπTu)≤θ\max_{\pi\in\mathcal P_\pi}(\alpha+\frac{1}{1-\beta}\pi^Tu)\le\thetamaxπ∈Pπ​​(α+1−β1​πTu)≤θ. For box and ellipsoidal ambiguity sets that constraint is dualized into linear or conic constraints, which gives the robust portfolio models of §§2.2.1–3 of the paper. The same exchange of sup⁡π\sup_\pisupπ​ and min⁡α\min_\alphaminα​ underlies many later distributionally robust CVaR models.

The result is proved in the paper (appendix, p. 1167) and is not open. The mission produces a machine-checked proof of it, which to our knowledge does not exist. Mathlib contains Sion's minimax theorem (Sion.exists_isSaddlePointOn), which covers Lemma 1; what is missing is the CVaR-specific part: the convexity of GβG_\betaGβ​ in α\alphaα, the reduction of the threshold to a compact interval uniform over Pπ\mathcal P_\piPπ​, and the passage from the compact interval back to all of R\mathbb RR.

Difficulty

The obvious approach applies a minimax theorem directly to GβG_\betaGβ​ on R×Pπ\mathbb R\times\mathcal P_\piR×Pπ​. That fails because R\mathbb RR is not compact, and minimax equalities on a noncompact factor can fail; the threshold must first be confined to a bounded interval, and the interval must work for every π∈Pπ\pi\in\mathcal P_\piπ∈Pπ​ simultaneously. After the exchange on the interval, the minimum over the interval has to be identified with the infimum over all of R\mathbb RR, which needs the min-max inequality on the unrestricted line. A second subtlety is attainment: every "min" and "max" in the statement is a claim that an extremum exists, and in the real-valued formalization each must be exhibited rather than read off from a supremum.

Formalization scope

Conventions committed to in the Lean statements:

  • Scenarios are indexed zero-based by Fin S; probability vectors are elements of stdSimplex ℝ (Fin S).
  • The confidence level satisfies 0<β<10<\beta<10<β<1 in every statement (the paper says only that β\betaβ is a confidence level, usually above 0.90.90.9).
  • CVaRβ(x,π)\mathrm{CVaR}_\beta(x,\pi)CVaRβ​(x,π) is defined as the paper does for discrete distributions, as the minimum of Gβ(x,⋅,π)G_\beta(x,\cdot,\pi)Gβ​(x,⋅,π), encoded as the real infimum of its values; WCVaRβ(x)\mathrm{WCVaR}_\beta(x)WCVaRβ​(x) is the real supremum of the image of Pπ\mathcal P_\piPπ​. Both are true infima and suprema under the hypotheses carried by every theorem.
  • Theorem 2's hypothesis "Pπ\mathcal P_\piPπ​ is a compact convex set" is completed by two standing assumptions of §2.2: Pπ\mathcal P_\piPπ​ consists of probability vectors, and it is nonempty. Without the first, Gβ(x,⋅,π)G_\beta(x,\cdot,\pi)Gβ​(x,⋅,π) can be unbounded below and the real infimum returns a junk value; without the second the supremum is over the empty set.
  • Lemma 1 is stated with lower semicontinuity in xxx and upper semicontinuity in yyy, which the paper omits and which are needed for the extrema to exist; its conclusion is a saddle point, equivalent to the attained min–max equality.
  • In the goal, the right-hand side exhibits an explicit minimizer α0\alpha_0α0​ and the inner maximum is shown to be attained; neither is replaced by a bare infimum or supremum.

No vacuous version of the goal is admissible: the ambiguity set must be nonempty and consist of probability vectors, and the minimum over α\alphaα must be witnessed.

The development needs only finite sums, convexity on R\mathbb RR and on the simplex, compactness of Pπ\mathcal P_\piPπ​ and of closed intervals, and Mathlib's minimax theorem. The reduction to a bounded interval and the min-max inequality are reusable for other finite-scenario CVaR results. Proofs of any milestone are welcome, as are alternative proofs of the goal that avoid the interval reduction.

Selected references

  • S. Zhu and M. Fukushima, Worst-Case Conditional Value-at-Risk with Application to Robust Portfolio Management, Operations Research 57(5):1155–1168, 2009. https://doi.org/10.1287/opre.1080.0684
  • R. T. Rockafellar and S. Uryasev, Optimization of Conditional Value-at-Risk, Journal of Risk 2(3):21–41, 2000. https://doi.org/10.21314/JOR.2000.038
  • R. T. Rockafellar and S. Uryasev, Conditional Value-at-Risk for General Loss Distributions, Journal of Banking & Finance 26(7):1443–1471, 2002. https://doi.org/10.1016/S0378-4266(02)00271-6
  • K. Fan, Minimax Theorems, Proceedings of the National Academy of Sciences 39(1):42–47, 1953. https://doi.org/10.1073/pnas.39.1.42
  • M. Sion, On General Minimax Theorems, Pacific Journal of Mathematics 8(1):171–176, 1958. https://doi.org/10.2140/pjm.1958.8.171
7 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Worst-Case Conditional Value-at-Risk with Application to Robust Portfolio Management 1: Under Mixture Distribution Uncertainty, Worst-Case CVaR Equals the Minimum over α of max_i F^i_β(x, α)Research Paper

Motivation

Conditional value-at-risk (CVaR) is the standard coherent measure of tail risk in portfolio selection, insurance and stochastic programming. Its practical appeal comes from a variational formula of Rockafellar and Uryasev (J. Risk 2000; J. Banking Finance 2002): CVaR at level β\betaβ is the minimum over a scalar α\alphaα of a convex function, so that minimizing CVaR over decisions becomes a single convex program, a linear program when the distribution is given by scenarios.

The formula needs the distribution of the random returns, and in practice that distribution is estimated and uncertain. Zhu and Fukushima (Oper. Res. 57(5), 2009) introduce the worst-case CVaR: the supremum of CVaR over a set P\mathcal PP of candidate distributions. They show it is again a coherent risk measure and that, for several natural choices of P\mathcal PP, minimizing it remains a tractable convex program. This mission formalizes the first of these results, for P\mathcal PP the set of all mixtures of finitely many given distributions, a model used in robust statistics and in finance to describe returns under several market regimes.

Setting

A decision x∈Rnx\in\mathbb R^nx∈Rn and a random vector y∈Rmy\in\mathbb R^my∈Rm determine a loss f(x,y)∈Rf(x,y)\in\mathbb Rf(x,y)∈R. A confidence level β\betaβ satisfies 0<β<10<\beta<10<β<1 (in applications β≥0.9\beta\ge0.9β≥0.9). Write [t]+=max⁡{t,0}[t]^+=\max\{t,0\}[t]+=max{t,0}.

For a probability distribution PPP of yyy under which f(x,⋅)f(x,\cdot)f(x,⋅) is integrable, the Rockafellar–Uryasev function is

Fβ(x,α)=α+11−β∫Rm[f(x,y)−α]+ dP(y),α∈R,(1)F_\beta(x,\alpha)=\alpha+\frac1{1-\beta}\int_{\mathbb R^m}[f(x,y)-\alpha]^+\,dP(y),\qquad\alpha\in\mathbb R, \tag{1}Fβ​(x,α)=α+1−β1​∫Rm​[f(x,y)−α]+dP(y),α∈R,(1)

and CVaR is its minimum over α\alphaα:

CVaRβ(x)=min⁡α∈RFβ(x,α).(2)\mathrm{CVaR}_\beta(x)=\min_{\alpha\in\mathbb R}F_\beta(x,\alpha). \tag{2}CVaRβ​(x)=α∈Rmin​Fβ​(x,α).(2)

Fix l≥1l\ge1l≥1 likelihood distributions P1,…,PlP^1,\dots,P^lP1,…,Pl on Rm\mathbb R^mRm and let Λ={λ∈Rl:λi≥0, ∑iλi=1}\Lambda=\{\lambda\in\mathbb R^l:\lambda_i\ge0,\ \sum_i\lambda_i=1\}Λ={λ∈Rl:λi​≥0, ∑i​λi​=1} be the probability simplex. The ambiguity set is the set of mixtures

PM={∑i=1lλiPi: λ∈Λ},\mathcal P_M=\Big\{\textstyle\sum_{i=1}^l\lambda_iP^i:\ \lambda\in\Lambda\Big\},PM​={∑i=1l​λi​Pi: λ∈Λ},

and the worst-case CVaR of xxx is

WCVaRβ(x)=sup⁡λ∈Λ CVaRβ(x)  under  ∑iλiPi.(3)\mathrm{WCVaR}_\beta(x)=\sup_{\lambda\in\Lambda}\ \mathrm{CVaR}_\beta(x)\ \text{ under }\ \textstyle\sum_i\lambda_iP^i. \tag{3}WCVaRβ​(x)=λ∈Λsup​ CVaRβ​(x)  under  ∑i​λi​Pi.(3)

Write Fβi(x,α)F^i_\beta(x,\alpha)Fβi​(x,α) for the function (1) with P=PiP=P^iP=Pi, FβL(x,α)=max⁡i∈LFβi(x,α)F^{\mathcal L}_\beta(x,\alpha)=\max_{i\in\mathcal L}F^i_\beta(x,\alpha)FβL​(x,α)=maxi∈L​Fβi​(x,α) with L={1,…,l}\mathcal L=\{1,\dots,l\}L={1,…,l}, and Hβ(x,α,λ)H_\beta(x,\alpha,\lambda)Hβ​(x,α,λ) for the function (1) of the mixture ∑iλiPi\sum_i\lambda_iP^i∑i​λi​Pi.

Formalization targets

Goal: Theorem 1

For every xxx with f(x,⋅)f(x,\cdot)f(x,⋅) integrable under every PiP^iPi,

WCVaRβ(x)=min⁡α∈R max⁡i∈LFβi(x,α),\mathrm{WCVaR}_\beta(x)=\min_{\alpha\in\mathbb R}\ \max_{i\in\mathcal L}F^i_\beta(x,\alpha),WCVaRβ​(x)=α∈Rmin​ i∈Lmax​Fβi​(x,α),

with the minimum attained. The supremum over infinitely many distributions on the left becomes a minimum of the pointwise maximum of lll functions on the right.

Milestones

The milestones follow the paper's appendix proof (pp. 1166–1167) in order:

  1. (53): Hβ(x,α,λ)=∑iλiFβi(x,α)H_\beta(x,\alpha,\lambda)=\sum_i\lambda_iF^i_\beta(x,\alpha)Hβ​(x,α,λ)=∑i​λi​Fβi​(x,α) for λ∈Λ\lambda\in\Lambdaλ∈Λ.
  2. (54): WCVaRβ(x)=max⁡λ∈Λmin⁡αHβ(x,α,λ)\mathrm{WCVaR}_\beta(x)=\max_{\lambda\in\Lambda}\min_{\alpha}H_\beta(x,\alpha,\lambda)WCVaRβ​(x)=maxλ∈Λ​minα​Hβ​(x,α,λ), both extrema attained.
  3. The minimizer set of Fβ(x,⋅)F_\beta(x,\cdot)Fβ​(x,⋅) is a nonempty closed bounded interval [α‾∗,α‾∗][\underline\alpha^*,\overline\alpha^*][α​∗,α∗].
  4. Minimizers of a nonnegative combination of two convex functions on R\mathbb RR lie between the extreme endpoints of their minimizer intervals.
  5. Every minimizer of Hβ(x,⋅,λ)H_\beta(x,\cdot,\lambda)Hβ​(x,⋅,λ) lies in A=[min⁡iα‾i∗,max⁡iα‾i∗]\mathcal A=[\min_i\underline\alpha^*_i,\max_i\overline\alpha^*_i]A=[mini​α​i∗​,maxi​αi∗​], and the minimum over R\mathbb RR is attained in A\mathcal AA.
  6. Lemma 1, the minimax equality for convex–concave functions on compact convex sets.
  7. (55): max⁡λmin⁡RHβ=max⁡λmin⁡AHβ=min⁡Amax⁡λHβ\max_\lambda\min_{\mathbb R}H_\beta=\max_\lambda\min_{\mathcal A}H_\beta=\min_{\mathcal A}\max_\lambda H_\betamaxλ​minR​Hβ​=maxλ​minA​Hβ​=minA​maxλ​Hβ​.
  8. (56)–(57): WCVaRβ(x)=min⁡α∈Rmax⁡λ∈Λ∑iλiFβi(x,α)\mathrm{WCVaR}_\beta(x)=\min_{\alpha\in\mathbb R}\max_{\lambda\in\Lambda}\sum_i\lambda_iF^i_\beta(x,\alpha)WCVaRβ​(x)=minα∈R​maxλ∈Λ​∑i​λi​Fβi​(x,α).
  9. (58)–(59): max⁡λ∈Λ∑iλiFβi(x,α)=max⁡iFβi(x,α)\max_{\lambda\in\Lambda}\sum_i\lambda_iF^i_\beta(x,\alpha)=\max_iF^i_\beta(x,\alpha)maxλ∈Λ​∑i​λi​Fβi​(x,α)=maxi​Fβi​(x,α).

An additional item states Corollary 1: (x∗,α∗)(x^*,\alpha^*)(x∗,α∗) minimizes FβLF^{\mathcal L}_\betaFβL​ over X×R\mathcal X\times\mathbb RX×R exactly when x∗x^*x∗ minimizes WCVaRβ\mathrm{WCVaR}_\betaWCVaRβ​ over X\mathcal XX and α∗\alpha^*α∗ minimizes FβL(x∗,⋅)F^{\mathcal L}_\beta(x^*,\cdot)FβL​(x∗,⋅).

Significance

The result. Theorem 1 makes worst-case CVaR under mixture uncertainty no harder to optimize than ordinary CVaR. Since each FβiF^i_\betaFβi​ is jointly convex in (x,α)(x,\alpha)(x,α) when fff is convex in xxx, FβLF^{\mathcal L}_\betaFβL​ is convex, and Corollary 1 turns robust CVaR minimization into one convex program in (x,α)(x,\alpha)(x,α); with sampled scenarios it is a linear program (the paper's (10)–(15)). It is the starting point for the paper's robust portfolio models (§3), whose ambiguity sets are mixtures of a few estimated return distributions.

Formalizing it. The theorem is proved in the paper; no machine-checked version exists. A formal proof contributes a measure-theoretic treatment of the Rockafellar–Uryasev function for arbitrary distributions (the paper argues with densities and appeals to Remark 1 for the general case), a reusable statement that the minimizer set of FβF_\betaFβ​ is a compact interval, and a worked instance of the minimax theorem in Mathlib (Sion) applied to a problem with an unbounded variable.

Difficulty

The obvious argument is to exchange sup⁡λ\sup_\lambdasupλ​ and min⁡α\min_\alphaminα​ in sup⁡λmin⁡α∑iλiFβi(x,α)\sup_\lambda\min_\alpha\sum_i\lambda_iF^i_\beta(x,\alpha)supλ​minα​∑i​λi​Fβi​(x,α), since the function is convex in α\alphaα and affine in λ\lambdaλ. Minimax theorems for this exchange need compactness of one of the two sets, and the variable α\alphaα ranges over all of R\mathbb RR. The step that has to be supplied is a localization: all minimizers in α\alphaα, for every λ\lambdaλ at once, lie in one compact interval A\mathcal AA determined by the minimizer sets of the components. This in turn requires knowing that each Fβi(x,⋅)F^i_\beta(x,\cdot)Fβi​(x,⋅) has a nonempty bounded minimizer set, which uses 0<β<10<\beta<10<β<1 and integrability of the loss: at β=0\beta=0β=0 the minimizer set can be a half-line and the localization fails. A second point is attainment: the outer supremum over Λ\LambdaΛ is a maximum only because the inner minimum depends continuously on λ\lambdaλ.

Formalization scope

  • Distributions are probability measures on Fin m → ℝ (not densities); Remark 1 of the paper extends all results to general distributions, and a density is a special case. Decisions are Fin n → ℝ, the loss is f : (Fin n → ℝ) → (Fin m → ℝ) → ℝ, and the likelihood distributions are P : Fin l → Measure (Fin m → ℝ) with indices zero-based and [NeZero l].
  • Every theorem assumes 0<β<10<\beta<10<β<1, that each PiP^iPi is a probability measure, and that f(x,⋅)f(x,\cdot)f(x,⋅) is integrable under each PiP^iPi (the paper's E∣f(x,y)∣<∞E|f(x,y)|<\inftyE∣f(x,y)∣<∞).
  • CVaR is defined by (2) as the infimum of the values of Fβ(x,⋅)F_\beta(x,\cdot)Fβ​(x,⋅); the tail-mean definition and the Rockafellar–Uryasev identity between the two are not part of the mission. The mixture is the finite sum of measures ∑iλiPi\sum_i\lambda_iP^i∑i​λi​Pi, Λ\LambdaΛ is Mathlib's stdSimplex, and WCVaR is the supremum of the image of Λ\LambdaΛ.
  • Every min and max in the paper is stated as attained, with an explicit minimizer or as IsGreatest/IsLeast; no real sInf or sSup is evaluated on an empty or unbounded set, so no statement can hold through Lean's junk value 000.
  • Lemma 1 is stated with lower semicontinuity in xxx and upper semicontinuity in yyy, which the printed statement omits and without which the extrema need not exist.
  • The definitions FβF_\betaFβ​, CVaR, mixture and WCVaR are reusable for any risk-measure development; the interval property of arg⁡min⁡Fβ\arg\min F_\betaargminFβ​ is of independent use. Proofs of any milestone, and lemmas on the Rockafellar–Uryasev function for general measures, are welcome.

Selected references

  • S. Zhu and M. Fukushima, Worst-Case Conditional Value-at-Risk with Application to Robust Portfolio Management, Operations Research 57(5):1155–1168, 2009. https://doi.org/10.1287/opre.1080.0684
  • R. T. Rockafellar and S. Uryasev, Optimization of conditional value-at-risk, Journal of Risk 2(3):21–41, 2000. https://doi.org/10.21314/JOR.2000.038
  • R. T. Rockafellar and S. Uryasev, Conditional value-at-risk for general loss distributions, Journal of Banking & Finance 26(7):1443–1471, 2002. https://doi.org/10.1016/S0378-4266(02)00271-6
  • K. Fan, Minimax theorems, Proceedings of the National Academy of Sciences 39(1):42–47, 1953. https://doi.org/10.1073/pnas.39.1.42
  • P. Artzner, F. Delbaen, J.-M. Eber and D. Heath, Coherent measures of risk, Mathematical Finance 9(3):203–228, 1999. https://doi.org/10.1111/1467-9965.00068
11 thms2 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: mikedeng1

Regenerative Stochastic Processes 2: The Ergodic Theorem — a Cumulative Process Satisfies w_t/t → κ₁/μ₁ with Probability OneResearch Paper

Motivation

Many quantities in operations research accumulate over time in a system that periodically starts afresh: the cost incurred by an inventory system that returns to the same stock level, the work completed by a server between successive moments it empties, the reward collected by a machine between repairs. The basic question about such a quantity is its long-run rate: does the amount accumulated by time ttt, divided by ttt, settle down, and to what?

W. L. Smith's 1955 paper Regenerative stochastic processes (DOI 10.1098/rspa.1955.0198) introduced the class of cumulative processes to answer this question, and §5·3 of the paper proves the answer, Theorem 7, which Smith calls "the ergodic theorem": the long-run rate equals the expected accumulation per cycle divided by the expected cycle length. In later textbooks this is the renewal–reward theorem, the standard tool for computing long-run averages of regenerative systems in queueing, inventory and reliability models.

Timeline. Doob (1948) proved the strong law nt/t→1/μ1n_t/t \to 1/\mu_1nt​/t→1/μ1​ for renewal counting processes (Trans. AMS 63). Smith (1955) defined cumulative processes by conditions (C1)–(C2) and proved Theorem 7 under a first-moment condition on the variation per cycle, together with central limit theorems (Theorems 9–10) for the same processes.

Setting

Fix a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P).

A renewal process is a sequence t1,t2,…t_1, t_2, \dotst1​,t2​,… of independent, identically distributed, non-negative random variables that are not zero with probability one, i.e. P{t1=0}<1P\{t_1 = 0\} < 1P{t1​=0}<1. Write μ1=Et1\mu_1 = E t_1μ1​=Et1​. In this mission the delay is t0=0t_0 = 0t0​=0, the regeneration epochs are Tk=t0+t1+⋯+tkT_k = t_0 + t_1 + \dots + t_kTk​=t0​+t1​+⋯+tk​, and the counting variable

nt=#{k≥0:Tk≤t}n_t = \#\{k \ge 0 : T_k \le t\}nt​=#{k≥0:Tk​≤t}

is the number of regenerations in [0,t][0, t][0,t] (the paper's "greatest integer kkk such that Tk−1≤tT_{k-1} \le tTk−1​≤t"). The forward variable Zt=∑i=1nt+1ti−tZ_t = \sum_{i=1}^{n_t+1} t_i - tZt​=∑i=1nt​+1​ti​−t measures how far ttt is from the regeneration epoch Tnt+1T_{n_t+1}Tnt​+1​.

Let w=(wt)w = (w_t)w=(wt​) be a real-valued process with w0=0w_0 = 0w0​=0. Its cycle increments are yn=wTn−wTn−1y_n = w_{T_n} - w_{T_{n-1}}yn​=wTn​​−wTn−1​​, n≥1n \ge 1n≥1, and κ1=Ey1\kappa_1 = E y_1κ1​=Ey1​. On a path of bounded variation on every finite interval, the variation process w~t=∫0t∣dwt∣\tilde w_t = \int_0^t |\mathrm d w_t|w~t​=∫0t​∣dwt​∣ is the total variation of the path over [0,t][0, t][0,t]; the cycle variations are y~n=w~Tn−w~Tn−1\tilde y_n = \tilde w_{T_n} - \tilde w_{T_{n-1}}y~​n​=w~Tn​​−w~Tn−1​​, and κ~p=Ey~1 p\tilde\kappa_p = E \tilde y_1^{\,p}κ~p​=Ey~​1p​.

The process www is a cumulative process when

  • (C1) y1,y2,…y_1, y_2, \dotsy1​,y2​,… are independent and identically distributed, and
  • (C2) with probability one, www is of bounded variation in every finite interval.

Formalization targets

Goal: Theorem 7 (the ergodic theorem)

If www is a cumulative process, μ1<∞\mu_1 < \inftyμ1​<∞, κ~1<∞\tilde\kappa_1 < \inftyκ~1​<∞, t0=0t_0 = 0t0​=0 and w0=0w_0 = 0w0​=0, then

lim⁡t→∞wtt=κ1μ1with probability one.\lim_{t \to \infty} \frac{w_t}{t} = \frac{\kappa_1}{\mu_1} \quad \text{with probability one.}t→∞lim​twt​​=μ1​κ1​​with probability one.

The statement fixes no rate and no constant; it is the exact limit of the paper.

Milestones, in the order the proof uses them

  1. Lemma 7. For i.i.d. xnx_nxn​ with E∣xn∣p<∞E|x_n|^p < \inftyE∣xn​∣p<∞, p>0p > 0p>0: xn/n1/p→0x_n / n^{1/p} \to 0xn​/n1/p→0 with probability one.
  2. Renewal strong law (proof of Lemma 8): nt/t→1/μ1n_t / t \to 1/\mu_1nt​/t→1/μ1​ with probability one when μ1<∞\mu_1 < \inftyμ1​<∞.
  3. Lemma 8. If t0=0t_0 = 0t0​=0, μ1<∞\mu_1 < \inftyμ1​<∞ and κ~p<∞\tilde\kappa_p < \inftyκ~p​<∞ (p>0p > 0p>0), then
lim⁡t→∞wt+Zt−wtt1/p=0with probability one.\lim_{t \to \infty} \frac{w_{t+Z_t} - w_t}{t^{1/p}} = 0 \quad \text{with probability one.}t→∞lim​t1/pwt+Zt​​−wt​​=0with probability one.
  1. (5·3·4). ∑i=1nt+1yi/(nt+1)→κ1\sum_{i=1}^{n_t+1} y_i / (n_t + 1) \to \kappa_1∑i=1nt​+1​yi​/(nt​+1)→κ1​ with probability one.
  2. The limit along regeneration epochs. wt+Zt/t→κ1/μ1w_{t+Z_t} / t \to \kappa_1/\mu_1wt+Zt​​/t→κ1​/μ1​ with probability one.

Significance

The ergodic theorem turns a question about a whole sample path into a question about one cycle. Once a system is shown to regenerate, its long-run average cost, throughput or utilization is the ratio of two one-cycle expectations, which can often be computed in closed form. This is how long-run averages are evaluated for M/G/1M/G/1M/G/1-type queues, (s,S)(s,S)(s,S) inventory policies and alternating-renewal reliability models, and it is the first step in average-cost analyses of regenerative Markov decision processes. Lemma 8, with p>1p > 1p>1, also controls the error term in Smith's central limit theorem for cumulative processes.

The result is classical and proved. As far as the platform and Mathlib are concerned, it is not formalized: Mathlib has the strong law of large numbers for i.i.d. sequences (ProbabilityTheory.strong_law_ae) but no renewal counting process, no renewal strong law, and no renewal–reward theorem. A complete development gives machine-checked versions of all three, stated for real time and for cycle lengths that may vanish with positive probability.

Difficulty

The obvious argument writes wt/tw_t / twt​/t as (∑i≤ntyi/nt)⋅(nt/t)\big(\sum_{i \le n_t} y_i / n_t\big) \cdot (n_t / t)(∑i≤nt​​yi​/nt​)⋅(nt​/t) and applies the strong law to each factor. This fails in two places. First, wtw_twt​ is not a sum of whole cycles: the cycle containing ttt is only partly completed, and its contribution has to be shown negligible. The increment yny_nyn​ does not control it, because www may oscillate inside a cycle and return; it is the variation y~n\tilde y_ny~​n​ that bounds the partial contribution, which is why the hypothesis is on κ~1\tilde\kappa_1κ~1​ rather than on κ1\kappa_1κ1​. Second, the strong law is a statement about a deterministic index n→∞n \to \inftyn→∞, while here the index ntn_tnt​ is random and depends on the cycle lengths, which need not be independent of the increments. Transferring almost-sure convergence through the random index requires nt→∞n_t \to \inftynt​→∞ almost surely, which in turn uses P{t1=0}<1P\{t_1 = 0\} < 1P{t1​=0}<1.

Formalization scope

Time is real: every limit is along t→∞t \to \inftyt→∞ in R\mathbb RR (Filter.atTop on ℝ), and "with probability one" is an almost-everywhere statement placed outside the limit. Random variables are real-valued. The renewal process is the structure IsRenewalProcess (cycle lengths measurable, mutually independent, identically distributed, non-negative everywhere, P{t1=0}<1P\{t_1 = 0\} < 1P{t1​=0}<1); t0=0t_0 = 0t0​=0 and w0=0w_0 = 0w0​=0 are explicit hypotheses holding at every sample point. Moments are Bochner integrals guarded by integrability hypotheses: μ1<∞\mu_1 < \inftyμ1​<∞ is integrability of t1t_1t1​, κ~p<∞\tilde\kappa_p < \inftyκ~p​<∞ is integrability of y~1 p\tilde y_1^{\,p}y~​1p​. The positivity μ1>0\mu_1 > 0μ1​>0 is never assumed; it follows from P{t1=0}<1P\{t_1 = 0\} < 1P{t1​=0}<1.

The count ntn_tnt​ is a cardinality; on the null event where infinitely many epochs lie below ttt it takes the value 000, and finiteness is never assumed. The variation process is Mathlib's eVariationOn of the path over [0,t][0, t][0,t], set to 000 on paths that are not of bounded variation, exactly as the paper prescribes.

Condition (C1) is read literally: only the increments yny_nyn​ are i.i.d., and no independence between cycle lengths and increments is assumed. In addition the cycle variations y~n\tilde y_ny~​n​ are assumed identically distributed; the paper's notation κ~p\tilde\kappa_pκ~p​ presupposes this. The statement is not trivialized by a stronger model: taking www to be a Lévy process, or a deterministic multiple of ttt, would make the theorem immediate and is not what is formalized.

Two misprints of the paper are corrected in the formal statements and kept in the verbatim milestone text: (5·3·4) prints the limit as ν1\nu_1ν1​, which must be κ1\kappa_1κ1​; and the proof bound (5·3·1) uses y~nt+1\tilde y_{n_t+1}y~​nt​+1​ alone, where the interval [t,t+Zt][t, t+Z_t][t,t+Zt​] also meets cycle ntn_tnt​.

Needed infrastructure: a renewal counting process in continuous time with its strong law; a lemma that almost-sure convergence of a sequence passes to a random index tending to infinity; the comparison ∣wb−wa∣≤w~b−w~a|w_b - w_a| \le \tilde w_b - \tilde w_a∣wb​−wa​∣≤w~b​−w~a​ for paths of bounded variation. All three are reusable well beyond this mission (renewal–reward arguments, regenerative simulation, average-cost Markov decision processes). Contributions of any milestone, and of these general lemmas as separate theorems, are welcome.

Selected references

  • W. L. Smith, Regenerative stochastic processes, Proceedings of the Royal Society of London, Series A 232(1188):6–31, 1955. https://doi.org/10.1098/rspa.1955.0198
  • J. L. Doob, Renewal theory from the point of view of the theory of probability, Transactions of the American Mathematical Society 63(3):422–438, 1948. https://doi.org/10.1090/S0002-9947-1948-0025098-8
9 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimizationStochastic Systems·Captain: mikedeng1

A 2-Approximation Algorithm for Stochastic Inventory Control Models with Lost Sales: The Dual-Balancing Policy Costs at Most Twice Any Nonanticipatory Policy under Independent DemandsResearch Paper

Motivation

Inventory systems in which unmet demand is lost, not backlogged, are the norm in retail: a customer who finds an empty shelf buys elsewhere. With a positive lead time LLL between ordering and delivery, the optimal policy for such a system depends on the entire pipeline of outstanding orders, so dynamic programming is intractable beyond small LLL. Optimal policies are not of base-stock type, and for decades no policy with a provable guarantee on its expected cost was known for this model.

Levi, Janakiraman and Nagarajan (Math. Oper. Res. 33(2), 2008) gave the first such guarantee. Their dual-balancing policy balances, in every period, the expected holding cost against the expected lost-sales penalty of the units ordered now, and it costs at most twice as much as an optimal policy.

Timeline.

  • 2007. Levi, Pál, Roundy and Shmoys (Math. Oper. Res. 32(2)) introduce marginal cost accounting and the dual-balancing policy for the backlogging model, with a worst-case guarantee of 2.
  • 2008. Levi, Janakiraman and Nagarajan extend the guarantee to lost sales (this mission). In their model the truncated inventory positions of the two policies can cross back and forth inside a lead time, which the backlogging argument never meets.
  • 2009. Huh, Janakiraman, Muckstadt and Rusmevichientong (Management Science, 2009) prove that order-up-to policies are asymptotically optimal in the lost-sales model as the penalty cost grows.
  • 2021 onward. Xin (Oper. Res., 2021; SSRN 7134538) analyses capped base-stock policies for i.i.d. lost-sales demand, culminating in a 2.33-approximation guarantee for that policy class, whose main theorem is proved on Prove2Me.

Page and display numbers in this mission refer to the authors' accepted manuscript (28 pages, pp. 1–28), not to the journal's pages 351–374.

Setting

Periods are t=1,…,Tt=1,\dots,Tt=1,…,T. An order Qs≥0Q_s\ge0Qs​≥0 placed in period sss arrives at the start of period s+Ls+Ls+L, where L≥1L\ge1L≥1 is an integer. Before the horizon there are x0≥0x_0\ge0x0​≥0 units on hand and pipeline orders Qj=qj≥0Q_j=q_j\ge0Qj​=qj​≥0 for 1−L≤j≤01-L\le j\le01−L≤j≤0. Demands D1,…,DT≥0D_1,\dots,D_T\ge0D1​,…,DT​≥0 have finite means. The information Fs\mathcal F_sFs​ available at the start of period sss contains D1,…,Ds−1D_1,\dots,D_{s-1}D1​,…,Ds−1​ and possibly more. A feasible policy chooses QsQ_sQs​ as an Fs\mathcal F_sFs​-measurable quantity.

The on-hand inventory ItI_tIt​ at the start of period ttt, after the arrival, satisfies I1=x0+Q1−LI_1=x_0+Q_{1-L}I1​=x0​+Q1−L​ and

It+1=(It−Dt)++Qt+1−L.I_{t+1}=(I_t-D_t)^+ + Q_{t+1-L}.It+1​=(It​−Dt​)++Qt+1−L​.

Demand (Dt−It)+(D_t-I_t)^+(Dt​−It​)+ is lost. Costs are a holding rate ht≥0h_t\ge0ht​≥0, a lost-sales penalty pt≥0p_t\ge0pt​≥0 and an ordering cost ct≥0c_t\ge0ct​≥0 per unit, where ptp_tpt​ and ctc_tct​ are non-increasing in ttt.

Marginal cost accounting. Under first-ordered-first-consumed bookkeeping, HsH_sHs​ is the ordering cost csQsc_sQ_scs​Qs​ plus the holding cost that the QsQ_sQs​ units incur until the end of the horizon, and Πs=ps+L(Ds+L−Is+L)+\Pi_s=p_{s+L}(D_{s+L}-I_{s+L})^+Πs​=ps+L​(Ds+L​−Is+L​)+ is the lost-sales penalty in the period in which they arrive. The cost of a policy PPP is

C(P)=∑s=1T−L(HsP+ΠsP).\mathcal C(P)=\sum_{s=1}^{T-L}\bigl(H^P_s+\Pi^P_s\bigr).C(P)=s=1∑T−L​(HsP​+ΠsP​).

It omits only costs that are the same for every policy.

The truncated inventory position of period sss with respect to t≤st\le st≤s is Yst=Is+∑j=s+1−LtQjY_{st}=I_s+\sum_{j=s+1-L}^{t}Q_jYst​=Is​+∑j=s+1−Lt​Qj​. For two policies BBB and PPP, the set TH\mathcal T_HTH​ holds the periods t≤T−Lt\le T-Lt≤T−L with YstB<YstPY^B_{st}<Y^P_{st}YstB​<YstP​ for every s∈[t,t+L]s\in[t,t+L]s∈[t,t+L], and TΠ\mathcal T_\PiTΠ​ holds the remaining periods t≤T−Lt\le T-Lt≤T−L.

A dual-balancing policy BBB orders, in each period t≤T−Lt\le T-Lt≤T−L, the amount that equalises the two conditional expectations

E[HtB∣Ft]=E[ΠtB∣Ft]=:Zt.E[H^B_t\mid\mathcal F_t]=E[\Pi^B_t\mid\mathcal F_t]=:Z_t.E[HtB​∣Ft​]=E[ΠtB​∣Ft​]=:Zt​.

Formalization targets

Goal: Theorem 3.1

If demands are independent, then for every feasible policy PPP

E[C(B)]≤2 E[C(P)].E[\mathcal C(B)]\le 2\,E[\mathcal C(P)].E[C(B)]≤2E[C(P)].

Comparing with every feasible PPP, rather than with an optimal policy, gives the guarantee without assuming that an optimum is attained.

Milestones, in attack order

  1. (11) For t≤s≤t+Lt\le s\le t+Lt≤s≤t+L, It+L=Yst−D[s,t+L)+∑r=st+L−1(Dr−Ir)+I_{t+L}=Y_{st}-D_{[s,t+L)}+\sum_{r=s}^{t+L-1}(D_r-I_r)^+It+L​=Yst​−D[s,t+L)​+∑r=st+L−1​(Dr​−Ir​)+.
  2. Lemma 3.2. On every sample path, ∑t∈THHtB≤∑tHtP\sum_{t\in\mathcal T_H}H^B_t\le\sum_{t}H^P_t∑t∈TH​​HtB​≤∑t​HtP​.
  3. Lemma 3.3. On every sample path, ∑t∈TΠΠtB≤∑tΠtP\sum_{t\in\mathcal T_\Pi}\Pi^B_t\le\sum_{t}\Pi^P_t∑t∈TΠ​​ΠtB​≤∑t​ΠtP​.
  4. (14) E[C(P)]≥E[∑t(1t∈THHtB+1t∈TΠΠtB)]E[\mathcal C(P)]\ge E\bigl[\sum_t(\mathbb 1_{t\in\mathcal T_H}H^B_t+\mathbb 1_{t\in\mathcal T_\Pi}\Pi^B_t)\bigr]E[C(P)]≥E[∑t​(1t∈TH​​HtB​+1t∈TΠ​​ΠtB​)].
  5. Lemma 3.1. E[C(B)]=2∑t=1T−LE[Zt]E[\mathcal C(B)]=2\sum_{t=1}^{T-L}E[Z_t]E[C(B)]=2∑t=1T−L​E[Zt​].
  6. Lemma 3.4. This lemma characterises the crossing events Ast=[YstB<YstP]∩[Ys+1,tB≥Ys+1,tP]A_{st}=[Y^B_{st}<Y^P_{st}]\cap[Y^B_{s+1,t}\ge Y^P_{s+1,t}]Ast​=[YstB​<YstP​]∩[Ys+1,tB​≥Ys+1,tP​].
  7. Lemmas 3.5 and 3.6. Under independence, conditioning on t∈THt\in\mathcal T_Ht∈TH​ (respectively t∈TΠt\in\mathcal T_\Pit∈TΠ​) does not lower the conditional expected holding (respectively lost-sales) cost of BBB below ZtZ_tZt​.

Significance

The result. The theorem gives a constant-factor guarantee for a lost-sales system with lead times, for arbitrary independent and non-identical demand distributions. The policy is computed online, one period at a time, from one-dimensional conditional expectations, which an optimal policy cannot be. The guarantee holds with time-dependent holding costs and with non-increasing ordering and penalty costs. Section 5 of the paper extends it to correlated demand structures, which are out of this mission's scope.

Formalizing it. The theorem is proved on paper and, to our knowledge, has no machine-checked proof. The mission produces the lost-sales dynamics, the truncated inventory position, marginal cost accounting and the sample-path amortization lemmas as reusable Lean objects. It also produces a formal treatment of the conditional-expectation step under independence, which the backlogging analysis does not need. The sibling mission on the backlogging model, LeviBalancing.DualBalancing, provides the shared instance and policy definitions that are reused here.

Difficulty

In the backlogging model, t∈THt\in\mathcal T_Ht∈TH​ is decided by information available at time ttt, so the cost comparison can be made period by period after conditioning on Ft\mathcal F_tFt​. With lost sales this fails: the truncated positions of BBB and of the benchmark can cross from below to above and back inside the window [t,t+L][t,t+L][t,t+L]. Whether t∈THt\in\mathcal T_Ht∈TH​ is therefore not known at time ttt, and conditioning on that event moves the conditional expectations of HtBH^B_tHtB​ and ΠtB\Pi^B_tΠtB​ away from ZtZ_tZt​. A newcomer's first idea, to reuse the backlogging argument with Ft\mathcal F_tFt​-measurable indicators, does not apply. The lost-sales penalty also cannot be charged period by period: Lemma 3.3 is a global amortization over intervals. The non-increasing penalties are what make that amortization possible when ptp_tpt​ varies.

Formalization scope

  • Periods are integers. The pipeline QjQ_jQj​, j≤0j\le0j≤0, is shared by every policy through the published order. Instance, cumDemand, order, DemandProcess and IsFeasiblePolicy are reused from LeviBalancing.DualBalancing. The new layer is one definition file, LostSalesBalancing.DualBalancing.Model.
  • Orders and demands are real (fractional orders, as in §3.1). The randomized integral-order variant is out of scope.
  • Cost generality is that of Theorem 3.1. Rates are only required to be ≥0\ge0≥0, which strengthens the paper's stationary h,p>0h,p>0h,p>0. Accordingly (11) is stated in lost units, and Lemma 3.4(iv) is stated as positive lost demand, not positive penalty.
  • Independence. The paper assumes independent demands but lets Fs\mathcal F_sFs​ hold more than past demands. The formalization requires Ft\mathcal F_tFt​ to be independent of (Dt,…,DT)(D_t,\dots,D_T)(Dt​,…,DT​) for every ttt, which for the natural filtration is exactly mutual independence. Finite means are integrability.
  • "OPT" becomes every feasible policy in Theorem 3.1, (14) and Lemmas 3.5–3.6. In the sample-path statements, (11) and Lemmas 3.2–3.4, it becomes every nonnegative order sequence.
  • Conditional events. Pr⁡(A∣F) E[X∣F,A]\Pr(A\mid\mathcal F)\,E[X\mid\mathcal F,A]Pr(A∣F)E[X∣F,A] is written E[1AX∣F]E[\mathbb 1_AX\mid\mathcal F]E[1A​X∣F], which never divides by a zero probability.
  • Expected costs are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. The dual-balancing predicate requires HtBH^B_tHtB​ and ΠtB\Pi^B_tΠtB​ to be integrable, so no conditional expectation takes Mathlib's default value 000.
  • Lemma 3.4(iii) is stated with Ds≥IsP−ΔQsD_s\ge I^P_s-\Delta Q_sDs​≥IsP​−ΔQs​. The printed strict inequality excludes a tie at which the event AstA_{st}Ast​ does occur.
  • A trivializing formalization is ruled out: the dual-balancing predicate and the independence hypothesis are jointly satisfiable with T>LT>LT>L (checked locally on an explicit instance), and no statement is meaningful only when T≤LT\le LT≤L, the case in which every cost is zero.

Contributions welcome: proofs of the sample-path lemmas, which need only finite sums and the recursion; the conditional-expectation lemmas, which need a Harris-type argument for independent coordinates; and the existence of a measurable balancing order, which this mission does not pose.

Selected references

  • R. Levi, G. Janakiraman, M. Nagarajan, A 2-Approximation Algorithm for Stochastic Inventory Control Models with Lost Sales, Mathematics of Operations Research 33(2), 351–374, 2008. https://doi.org/10.1287/moor.1070.0285
  • R. Levi, M. Pál, R. O. Roundy, D. B. Shmoys, Approximation Algorithms for Stochastic Inventory Control Models, Mathematics of Operations Research 32(2), 284–302, 2007. https://doi.org/10.1287/moor.1060.0205
  • W. T. Huh, G. Janakiraman, J. A. Muckstadt, P. Rusmevichientong, Asymptotic Optimality of Order-Up-To Policies in Lost Sales Inventory Systems, Management Science, 2009. https://doi.org/10.1287/mnsc.1080.0945
  • L. Xin, capped base-stock policies in lost-sales inventory models, Operations Research, 2021. https://doi.org/10.1287/opre.2020.2019
  • L. Xin, Capped Base-Stock Policies: A 2.33-Approximation, SSRN working paper 7134538, 2026. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7134538
12 thms2 active usersReviewed
PreviousPage 17 of 28Next

Get started

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

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me