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

Missions

Open947Completed681All1628
🏆Completed
Functional Analysis·Captain: Lucas

An Introduction to Stochastic PDEs I: The Cameron–Martin TheoremTextbook

Motivation

A stochastic partial differential equation is driven by noise that lives on an infinite-dimensional function space, and the first object one has to control is the law of that noise: a Gaussian measure on a separable Banach space. Martin Hairer's lecture notes An Introduction to Stochastic PDEs (arXiv:0907.4178) devote their first technical chapter (Section 4) to exactly this, because every later construction — stochastic convolutions, invariant measures for semilinear equations, the ergodic theory of the stochastic Navier–Stokes equations — is phrased against it.

The single structural fact that chapter produces is the Cameron–Martin theorem (Theorem 4.44, p. 31). It answers the question: in which directions may one translate an infinite-dimensional Gaussian measure without destroying its null sets? In finite dimensions the answer is "all of them", because Lebesgue measure is translation invariant. In infinite dimensions the admissible directions form a proper, and typically much smaller, Hilbert subspace Hμ⊂BH_\mu \subset BHμ​⊂B — the Cameron–Martin space — and the translated measure is either equivalent to μ\muμ or mutually singular with it, with nothing in between. This dichotomy is the reason Girsanov-type changes of measure, Schilder-type large deviation rate functions, support theorems and Malliavin calculus all take the form they do.

Setting

Throughout, BBB is a separable Banach space, B∗B^{*}B∗ its topological dual, and μ\muμ a Borel probability measure on BBB.

μ\muμ is Gaussian (Definition 4.4, p. 19) if for every continuous linear functional ℓ∈B∗\ell \in B^{*}ℓ∈B∗ the push-forward ℓ∗μ\ell_{*}\muℓ∗​μ is a Gaussian measure on R\mathbb RR in the sense of Definition 4.1, i.e. has characteristic function exp⁡(−σ2ℓ2+iℓm)\exp(-\tfrac{\sigma}{2}\ell^{2} + i\ell m)exp(−2σ​ℓ2+iℓm); the degenerate case σ=0\sigma = 0σ=0, a Dirac mass, is included. It is centred if all these one-dimensional laws have mean zero, which is expressed here as ∫Bx μ(dx)=0\int_B x \, \mu(dx) = 0∫B​xμ(dx)=0.

For a centred Gaussian μ\muμ the covariance form (4.2, p. 20) is

Cμ(ℓ,ℓ′)  =  ∫Bℓ(x) ℓ′(x) μ(dx),ℓ,ℓ′∈B∗.C_\mu(\ell, \ell') \;=\; \int_B \ell(x)\,\ell'(x)\, \mu(dx), \qquad \ell, \ell' \in B^{*} .Cμ​(ℓ,ℓ′)=∫B​ℓ(x)ℓ′(x)μ(dx),ℓ,ℓ′∈B∗.

It is well defined because ∥x∥2\|x\|^{2}∥x∥2 is μ\muμ-integrable, and it is a bounded bilinear form (Corollary 4.14, p. 22).

The Cameron–Martin space (Definition 4.26, p. 27) is classically built as the completion of

H˚μ  =  { h∈B:∃ h∗∈B∗ with Cμ(h∗,ℓ)=ℓ(h)  ∀ℓ∈B∗ }\mathring H_\mu \;=\; \{\, h \in B : \exists\, h^{*} \in B^{*} \text{ with } C_\mu(h^{*}, \ell) = \ell(h) \ \ \forall \ell \in B^{*} \,\}H˚μ​={h∈B:∃h∗∈B∗ with Cμ​(h∗,ℓ)=ℓ(h)  ∀ℓ∈B∗}

under ∥h∥μ2=Cμ(h∗,h∗)\|h\|_\mu^{2} = C_\mu(h^{*}, h^{*})∥h∥μ2​=Cμ​(h∗,h∗). This mission uses the equivalent intrinsic description of Exercise 4.38 (p. 29), which avoids the completion:

∥h∥μ  =  sup⁡{ ℓ(h)  :  ℓ∈B∗, Cμ(ℓ,ℓ)≤1 },Hμ={ h∈B:∥h∥μ<∞ }.\|h\|_\mu \;=\; \sup\{\, \ell(h) \;:\; \ell \in B^{*},\ C_\mu(\ell, \ell) \le 1 \,\}, \qquad H_\mu = \{\, h \in B : \|h\|_\mu < \infty \,\} .∥h∥μ​=sup{ℓ(h):ℓ∈B∗, Cμ​(ℓ,ℓ)≤1},Hμ​={h∈B:∥h∥μ​<∞}.

The supremum is taken in [0,∞][0, \infty][0,∞]; since −ℓ-\ell−ℓ is admissible whenever ℓ\ellℓ is, it equals sup⁡∣ℓ(h)∣\sup |\ell(h)|sup∣ℓ(h)∣ over the same set. For h∈Bh \in Bh∈B write Th:B→BT_h : B \to BTh​:B→B, Th(x)=x+hT_h(x) = x + hTh​(x)=x+h.

Formalization targets

Goal — Theorem 4.44 (Cameron–Martin)

For a centred Gaussian measure μ\muμ on a separable Banach space BBB and h∈Bh \in Bh∈B,

(Th)∗μ ≪ μ⟺h∈Hμ.(T_h)_{*}\mu \ \ll \ \mu \qquad \Longleftrightarrow \qquad h \in H_\mu .(Th​)∗​μ ≪ μ⟺h∈Hμ​.

Both implications are asserted: translation along a Cameron–Martin direction produces an absolutely continuous measure, and translation along any other direction does not (in fact it produces a mutually singular measure).

Milestones

The milestone list follows the route of Section 4.2:

  1. Exercise 4.38 — the supremum description agrees with Definition 4.26 on H˚μ\mathring H_\muH˚μ​.
  2. Proposition 4.32 — Hμ⊂BH_\mu \subset BHμ​⊂B with ∥h∥2≤∥Cμ∥ ∥h∥μ2\|h\|^{2} \le \|C_\mu\| \, \|h\|_\mu^{2}∥h∥2≤∥Cμ​∥∥h∥μ2​.
  3. Proposition 4.40 — every L2(μ)L^{2}(\mu)L2(μ)-limit of elements of B∗B^{*}B∗ has a centred Gaussian law whose variance is its own L2L^2L2 norm squared.
  4. Equation (4.14) — the explicit density Dh(x)=exp⁡(h∗(x)−12∥h∥μ2)D_h(x) = \exp(h^{*}(x) - \tfrac12\|h\|_\mu^{2})Dh​(x)=exp(h∗(x)−21​∥h∥μ2​) of the shifted measure, for h∈H˚μh \in \mathring H_\muh∈H˚μ​.
  5. The total-variation separation bound ∥N(0,1)−N(m,1)∥TV≥2−2e−m2/8\|\mathcal N(0,1) - \mathcal N(m,1)\|_{\mathrm{TV}} \ge 2 - 2e^{-m^{2}/8}∥N(0,1)−N(m,1)∥TV​≥2−2e−m2/8 used in the converse half of Theorem 4.44.
  6. Proposition 4.45 — HμH_\muHμ​ is exactly the intersection of all measurable linear subspaces of full measure.

Significance

The Cameron–Martin theorem is what makes the Cameron–Martin space a canonical object rather than a formal construction: HμH_\muHμ​ is simultaneously the set of admissible shifts, the intersection of all full-measure linear subspaces (Proposition 4.45), and the space whose unit ball governs Gaussian isoperimetry (Theorem 4.53, Borell–Sudakov–Cirel'son). Downstream in the notes it is used to identify invariant measures of linear SPDEs and to compare them; outside the notes it is the starting point of Malliavin calculus and of large deviation theory for Gaussian measures.

Status, precisely. The Mathlib library pinned by this mission already contains a substantial part of Section 4: the predicate IsGaussian (Definition 4.4), uniqueness of measures with equal characteristic functionals on a separable Banach space (Propositions 4.8 and 4.11), invariance of μ⊗μ\mu \otimes \muμ⊗μ under rotations (Proposition 4.12), Fernique's theorem (Theorem 4.13), and the covariance form of (4.2) together with its boundedness (Corollary 4.14) as a continuous bilinear form on the dual. Those results are therefore not milestones here; they are the assumed foundation. What is absent, and what this mission asks for, is everything from the Cameron–Martin space onwards: its definition, its elementary properties, and Theorem 4.44 itself. No machine-checked proof of the infinite-dimensional Cameron–Martin theorem is known to the captain in any Lean library.

Difficulty

The naive route — write down the two densities and take their ratio — is unavailable: there is no translation-invariant reference measure on an infinite-dimensional Banach space, so "the density of μ\muμ" does not exist and the Radon–Nikodym derivative of (Th)∗μ(T_h)_{*}\mu(Th​)∗​μ with respect to μ\muμ must be produced directly, as the exponential of a random variable.

That random variable is the obstruction. For h∈H˚μh \in \mathring H_\muh∈H˚μ​ the functional h∗h^{*}h∗ is continuous and the computation is a characteristic-function identity. But H˚μ\mathring H_\muH˚μ​ is in general strictly smaller than HμH_\muHμ​: a general h∈Hμh \in H_\muh∈Hμ​ has an associated h∗h^{*}h∗ that exists only as an L2(μ)L^{2}(\mu)L2(μ)-limit of continuous functionals, defined μ\muμ-almost everywhere and linear only on a measurable subspace of full measure (Propositions 4.34 and 4.39). Establishing that these limits are Gaussian with the expected variance (Proposition 4.40) is the technical bridge, and it is why milestone 3 is stated as a statement about L2L^{2}L2-limits rather than about elements of B∗B^{*}B∗.

The converse half has a different shape. One must produce, for h∉Hμh \notin H_\muh∈/Hμ​, a single one-dimensional projection that separates μ\muμ from (Th)∗μ(T_h)_{*}\mu(Th​)∗​μ arbitrarily well; unboundedness of ℓ(h)\ell(h)ℓ(h) over the covariance unit ball supplies ℓ\ellℓ with Cμ(ℓ,ℓ)=1C_\mu(\ell,\ell) = 1Cμ​(ℓ,ℓ)=1 and ℓ(h)\ell(h)ℓ(h) as large as desired, and the quantitative Gaussian total-variation bound of milestone 5 converts this into total variation distance 222, i.e. mutual singularity.

Formalization scope

The development is in Lean 4 with Mathlib, in the namespace HairerSPDE, shared by the whole series drawn from these notes. The conventions it commits to:

  1. BBB carries NormedAddCommGroup, NormedSpace ℝ, its Borel σ-algebra, CompleteSpace and SecondCountableTopology — the last two encode "separable Banach space".
  2. Gaussianity is Mathlib's IsGaussian, which is Definition 4.4 verbatim; centredness is the extra hypothesis ∫x dμ=0\int x \, d\mu = 0∫xdμ=0, needed because IsGaussian permits a non-zero mean.
  3. The covariance form is Mathlib's covarianceBilinDual, which equals (4.2) for centred measures with finite second moment and is set to zero otherwise; Fernique's theorem rules the degenerate branch out for Gaussian measures.
  4. The Cameron–Martin norm is the [0,∞][0,\infty][0,∞]-valued supremum above, so membership in HμH_\muHμ​ is finiteness of that supremum; this is the only new definition the mission publishes.
  5. Translation is fun x ↦ x + h, absolute continuity is Mathlib's ≪, and "measurable linear subspace" is a Submodule ℝ B whose carrier is a measurable set.

The goal is an equivalence, so neither half can be discharged vacuously: the direction h∈Hμ⇒(Th)∗μ≪μh \in H_\mu \Rightarrow (T_h)_*\mu \ll \muh∈Hμ​⇒(Th​)∗​μ≪μ is non-trivial already for h≠0h \ne 0h=0 in finite dimensions, and the converse has content precisely when Hμ≠BH_\mu \ne BHμ​=B. Note that ∥0∥μ=0\|0\|_\mu = 0∥0∥μ​=0 always, and that for μ\muμ a Dirac mass the covariance form vanishes and Hμ={0}H_\mu = \{0\}Hμ​={0}; both degenerate cases are inside the statement rather than excluded by hypothesis.

Contributions welcome beyond the milestones: the reproducing kernel space RμR_\muRμ​ and the isomorphism of Proposition 4.34, measurable linear extensions (Proposition 4.39), the dilation singularity of Proposition 4.43, and μ(Hμ)=0\mu(H_\mu) = 0μ(Hμ​)=0 in the infinite-dimensional case (second half of Proposition 4.45). All of these are reusable outside this mission.

Selected references

  • M. Hairer, An Introduction to Stochastic PDEs, lecture notes, 2009/2023. arXiv:0907.4178
  • V. I. Bogachev, Gaussian Measures, Mathematical Surveys and Monographs 62, American Mathematical Society, 1998. DOI:10.1090/surv/062
  • X. Fernique, Intégrabilité des vecteurs gaussiens, C. R. Acad. Sci. Paris Sér. A-B 270 (1970), A1698–A1699.
  • G. Da Prato, J. Zabczyk, Stochastic Equations in Infinite Dimensions, Cambridge University Press, 1992. DOI:10.1017/CBO9780511666223
21 thms4 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research·Captain: Shuze Chen

Dynamic Programming and Optimal Control V: LQG and Certainty EquivalenceTextbook

Motivation

The separation theorem — certainty equivalence for linear-quadratic control with imperfect state information — is one of the celebrated structural results of stochastic control: the optimal controller splits into a least-squares estimator and the deterministic LQR actuator, designed independently. It underlies every LQG autopilot and Kalman-filter-based regulator. Section 5.2 of Bertsekas, Dynamic Programming and Optimal Control, Vol. I (3rd ed., 2005) proves it from the DP algorithm over information vectors, with Lemma 5.2.1 supplying the key fact that the estimation error is beyond the controller's influence. No formal analogue exists in Mathlib.

Setting

Linear dynamics and measurements

xk+1=Akxk+Bkuk+wk,zk=Ckxk+vk,x_{k+1} = A_k x_k + B_k u_k + w_k, \qquad z_k = C_k x_k + v_k,xk+1​=Ak​xk​+Bk​uk​+wk​,zk​=Ck​xk​+vk​,

with quadratic cost E[xN⊤QNxN+∑k<N(xk⊤Qkxk+uk⊤Rkuk)]\mathbb{E}\big[x_N^\top Q_N x_N + \sum_{k<N}(x_k^\top Q_k x_k + u_k^\top R_k u_k)\big]E[xN⊤​QN​xN​+∑k<N​(xk⊤​Qk​xk​+uk⊤​Rk​uk​)], Qk⪰0Q_k \succeq 0Qk​⪰0, Rk≻0R_k \succ 0Rk​≻0. The initial state and the zero-mean disturbances/noises are independent with finite ranges; independence is structural — the sample space is the product of an initial-state coordinate and per-stage noise coordinates (BertsekasLQGModel, BertsekasLQGSample, BertsekasLQGProb). A policy maps the realized measurement history (z0,…,zk)(z_0,\dots,z_k)(z0​,…,zk​) to uku_kuk​; the closed-loop process is BertsekasLQGTraj, the expected cost BertsekasLQGCost. The estimator E[xk∣Ik]\mathbb{E}[x_k \mid I_k]E[xk​∣Ik​] is an explicit conditional average (BertsekasCondExpVec, BertsekasLQGEstimate); the gains LkL_kLk​ come from the time-varying Riccati recursion (BertsekasLQGRiccati, BertsekasLQGGain).

Target

π∗(Ik)=Lk E[xk∣Ik]  along its own trajectories⟹J(π∗)≤J(π)  ∀π,\pi^*(I_k) = L_k\, \mathbb{E}[x_k \mid I_k] \ \text{ along its own trajectories} \quad\Longrightarrow\quad J(\pi^*) \le J(\pi)\ \ \forall \pi,π∗(Ik​)=Lk​E[xk​∣Ik​]  along its own trajectories⟹J(π∗)≤J(π)  ∀π,

— BertsekasDP.lqg_certainty_equivalence (goal). Milestone: Lemma 5.2.1 in pointwise form — the error xk−E[xk∣Ik]x_k - \mathbb{E}[x_k \mid I_k]xk​−E[xk​∣Ik​] is the same under any two policies, outcome by outcome (lqg_estimation_error_policy_independent).

Significance

This is the theorem that justifies designing estimator and controller separately — remove it and the entire LQG methodology loses its warrant. The formalization also yields the first machine-checked instance of the informational decomposition (control-dependent part + policy-independent error) that recurs throughout imperfect-information control. Notably the result needs no Gaussian assumption — only zero mean and independence — and the finite-support model makes that generality exact. The result is classical (Joseph–Tou 1961, Gunckel–Franklin 1963; the book's §5.2); the formal proof is new.

Difficulty

The heart is Lemma 5.2.1: showing the estimation error coincides, sample by sample, with the error of the control-free system — which requires proving that the observation-history σ-events under any policy coincide with those of the control-free system (controls are determined by the history, so they shift observations by a known amount). Then the DP argument over information histories must carry the quadratic decomposition through the backward recursion. Bookkeeping over histories-as-lists is the main formal burden; probability theory stays finite.

Formalization scope

Finite-support randomness (all expectations are finite sums); conditional expectation with the explicit junk value 0 on zero-probability events — the goal's hypothesis is accordingly restricted to outcomes of positive probability. Policies are functions of the measurement list only (equivalent to the book's information vector for deterministic policies, since past controls are recoverable from past measurements). Matrices are time-varying; positive definiteness of RkR_kRk​ makes every matrix inverse in the gains genuine. Measurement noise covariance is not assumed positive definite — the estimator is the abstract conditional expectation, not the Kalman filter (whose recursive form, §5.2.1, would be a natural follow-up mission).

Selected references

  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005. (§5.2, Lemma 5.2.1.) http://www.athenasc.com/dpbook.html
  • P. D. Joseph, J. T. Tou, On linear control theory, Trans. AIEE 80 (1961), 193–196. https://doi.org/10.1109/TAI.1961.6371743
  • T. L. Gunckel, G. F. Franklin, A general solution for linear sampled-data control, J. Basic Eng. 85 (1963), 197–201. https://doi.org/10.1115/1.3656559
5 thms4 active usersReviewed
🏆Completed
Markov ChainStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times VIII: Path Coupling and Approximate CountingTextbook

Motivation

The coupling method of Mission III asks for a coupling of two copies of a chain from every pair of starting states — often painful to construct globally. Chapter 14 of Levin–Peres–Wilmer, Markov Chains and Mixing Times (AMS, 2009) replaces that global demand by a local one. The path coupling technique of Bubley and Dyer says: put a connected graph structure on the state space, and couple one step of the chain only across edges; if each edge contracts in expectation, contraction propagates automatically along paths to arbitrary pairs of distributions. The bookkeeping runs through the transportation metric (Kantorovich distance) between distributions, whose theory — attainment by an optimal coupling, the triangle inequality — is developed on the way. The chapter's payoff is the sharpest elementary bound for sampling proper colorings (Theorem 14.8: the Glauber dynamics mixes in O(nlog⁡n)O(n\log n)O(nlogn) steps once q>2Δq>2\Deltaq>2Δ), and, through the sampling-to-counting reduction of Jerrum–Valiant–Vazirani, a polynomial-time approximation algorithm for counting colorings — the paradigm of the Markov chain Monte Carlo method as an algorithmic tool.

Setting

All chains live on a finite state space VVV with a transition matrix PPP; Pt(x,⋅)P^t(x,\cdot)Pt(x,⋅) is the time-ttt distribution from xxx, ∥μ−ν∥TV=max⁡A⊆V∣μ(A)−ν(A)∣\|\mu-\nu\|_{TV}=\max_{A\subseteq V}|\mu(A)-\nu(A)|∥μ−ν∥TV​=maxA⊆V​∣μ(A)−ν(A)∣ the total variation distance, d(t)=max⁡x∥Pt(x,⋅)−π∥TVd(t)=\max_x\|P^t(x,\cdot)-\pi\|_{TV}d(t)=maxx​∥Pt(x,⋅)−π∥TV​ the worst-case distance to the stationary distribution π\piπ, and tmix(ε)=min⁡{t:d(t)≤ε}t_{\mathrm{mix}}(\varepsilon)=\min\{t:d(t)\le\varepsilon\}tmix​(ε)=min{t:d(t)≤ε} the mixing time. A coupling of distributions μ,ν\mu,\nuμ,ν is a distribution qqq on V×VV\times VV×V with marginals μ\muμ and ν\nuν.

Given a metric-like cost ρ\rhoρ on pairs of states, the transportation metric between two distributions is the cheapest expected cost of moving one onto the other:

ρK(μ,ν)=min⁡{∑x,yρ(x,y) q(x,y)  :  q a coupling of μ,ν}.\rho_K(\mu,\nu)=\min\Bigl\{\sum_{x,y}\rho(x,y)\,q(x,y)\;:\;q\ \text{a coupling of}\ \mu,\nu\Bigr\}.ρK​(μ,ν)=min{x,y∑​ρ(x,y)q(x,y):q a coupling of μ,ν}.

Given a connected graph structure GGG on the state space with edge lengths ℓ≥1\ell\ge1ℓ≥1, the path metric ρ(x,y)\rho(x,y)ρ(x,y) is the least total length of a GGG-path from xxx to yyy.

For the colorings application: a qqq-coloring of the vertices of a graph is proper when adjacent vertices receive distinct colors, and the Glauber dynamics on proper colorings picks a uniform vertex and re-samples its color uniformly among the colors legal there; its stationary distribution is uniform on the proper colorings. Throughout, nnn is the number of vertices and Δ\DeltaΔ the maximum degree of the graph being colored.

Formalization targets

Goal

Theorem 14.8, the capstone of Chapter 14: for the Glauber dynamics on proper qqq-colorings, if q>2Δq>2\Deltaq>2Δ then

tmix(ε)  ≤  ⌈q−Δq−2Δ  n (log⁡n−log⁡ε)⌉.t_{\mathrm{mix}}(\varepsilon)\;\le\;\Bigl\lceil\frac{q-\Delta}{q-2\Delta}\;n\,\bigl(\log n-\log\varepsilon\bigr)\Bigr\rceil.tmix​(ε)≤⌈q−2Δq−Δ​n(logn−logε)⌉.

Milestones

  • Lemma 14.3 and Remark 14.2 — the transportation distance is attained by an optimal coupling, and satisfies the triangle inequality (so it is a genuine metric on distributions).
  • Theorem 14.6, path coupling (Bubley–Dyer) — if for every edge {x,y}\{x,y\}{x,y} of a connected graph structure there is a coupling of the one-step distributions P(x,⋅),P(y,⋅)P(x,\cdot),P(y,\cdot)P(x,⋅),P(y,⋅) contracting the path metric by e−αe^{-\alpha}e−α in expectation, then one step of the chain contracts the transportation metric of arbitrary distribution pairs by e−αe^{-\alpha}e−α.
  • Corollary 14.7 — under the same hypotheses, d(t)≤e−αt diam(V)d(t)\le e^{-\alpha t}\,\mathrm{diam}(V)d(t)≤e−αtdiam(V) and tmix(ε)≤⌈(log⁡diam(V)−log⁡ε)/α⌉t_{\mathrm{mix}}(\varepsilon)\le\lceil(\log\mathrm{diam}(V)-\log\varepsilon)/\alpha\rceiltmix​(ε)≤⌈(logdiam(V)−logε)/α⌉, where diam(V)\mathrm{diam}(V)diam(V) is the largest path-metric distance between two states.
  • Theorem 14.12, approximate counting — for q>2Δq>2\Deltaq>2Δ there is a randomized estimator, computed from an explicit polynomial number of independent uniform random seeds, which with probability at least 1−η1-\eta1−η estimates the number of proper qqq-colorings within a (1±ε)(1\pm\varepsilon)(1±ε) factor: rapid sampling yields rapid approximate counting.

Significance

The results. Path coupling converted the coupling method from an art into a calculus: one bounds a single-edge contraction constant, and the machinery does the rest. It is the standard tool for Glauber dynamics on colorings, independent sets, and other constraint-satisfaction models, and the q>2Δq>2\Deltaq>2Δ colorings bound is its flagship application. Theorem 14.12 is the discrete embodiment of the Jerrum–Valiant–Vazirani equivalence between approximate counting and sampling — the conceptual foundation of the entire MCMC approach to #P\#\mathrm P#P-hard counting problems.

Formalizing them. Mathlib has no transportation/Kantorovich metric in the finite setting, no path coupling, and nothing on approximate counting. The transportation-metric layer (optimal couplings, triangle inequality) is reusable far beyond this mission — it is the finite Wasserstein distance. The path-coupling theorem feeds directly into Mission IX (Ising) and is quoted throughout modern mixing literature.

Difficulty

The transportation metric asks for minimization over the (compact) polytope of couplings: attainment is a finite-dimensional compactness argument, and the triangle inequality requires gluing two optimal couplings along their common marginal — the classic construction that must be carried out with explicit finite sums here. Path coupling itself is an induction along geodesics of the path metric, with the subtlety that the composite coupling produced along a path need not be optimal, only admissible; the bookkeeping of the contraction constant through the induction is exactly the kind of argument Lean keeps honest. Theorem 14.8 instantiates the machinery: the single-edge coupling for colorings needs a careful case analysis of the proposed recolorings at the two endpoints (matching legal colors bijectively), and the contraction constant (q−2Δ)/(q−Δ)(q-2\Delta)/(q-\Delta)(q−2Δ)/(q−Δ) emerges from counting disagreeing proposals. Theorem 14.12 layers a probabilistic-amplification argument (medians of means over independent runs) on top of the mixing bound; its combinatorial core — expressing ∣Ω∣−1|\Omega|^{-1}∣Ω∣−1 as a telescoping product of marginal probabilities — is elementary but notation-heavy, and the formal statement quantifies over explicit seed spaces, so the whole estimator is a finite object.

Formalization scope

The transportation metric is an sInf over coupling costs (the coupling polytope is nonempty for genuine distributions, and attainment is part of the milestone, so the junk value never propagates); the path metric is an sInf over walk lengths in a connected graph. The Glauber dynamics on colorings is the restriction to proper colorings of the single-site heat-bath chain of Mission II, matching §3.3 of the book; its state space is the subtype of proper colorings, nonempty whenever q>2Δq>2\Deltaq>2Δ (a fact the hypotheses of the goal supply). Mixing-time upper bounds are stated with the book's explicit ceilings, so no rounding slack is hidden. In Theorem 14.12 the estimator is presented concretely as a function of finitely many uniform seeds, and "with probability ≥1−η\ge1-\eta≥1−η" is a counting inequality over the seed space — no measure theory enters. Contributions of intermediate lemmas (optimal-coupling gluing, geodesic decompositions, colorings edge-coupling) are welcome and will be reused by Mission IX.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • R. Bubley, M. Dyer, Path coupling: a technique for proving rapid mixing in Markov chains, FOCS 1997. https://doi.org/10.1109/SFCS.1997.646111
  • M. Jerrum, A very simple algorithm for estimating the number of k-colorings of a low-degree graph, Random Structures Algorithms 7 (1995). https://doi.org/10.1002/rsa.3240070205
  • M. Jerrum, L. Valiant, V. Vazirani, Random generation of combinatorial structures from a uniform distribution, Theoret. Comput. Sci. 43 (1986). https://doi.org/10.1016/0304-3975(86)90174-X
9 thms4 active usersReviewed
🏆Completed
Markov ChainStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times VI: Networks, Hitting Times, and Cover TimesTextbook

Motivation

A reversible Markov chain is an electrical network: states are nodes, and the conductance c(x,y)=π(x)P(x,y)c(x,y)=\pi(x)P(x,y)c(x,y)=π(x)P(x,y) turns hitting probabilities into voltages and hitting times into resistances. This dictionary, going back to Kakutani and popularized by Doyle and Snell, converts probabilistic estimates into the physical laws of circuits — series/parallel reduction, energy minimization, monotonicity under edge removal. Chapters 9–11 of Levin–Peres–Wilmer, Markov Chains and Mixing Times (AMS, 2009) develop the dictionary and its two crown results: the commute time identity of Chandra–Raghavan–Ruzzo–Smolensky–Tiwari, Ea(τb)+Eb(τa)=cG R(a↔b)\mathbb E_a(\tau_b)+\mathbb E_b(\tau_a)=c_G\,R(a\leftrightarrow b)Ea​(τb​)+Eb​(τa​)=cG​R(a↔b), and the Matthews method bounding cover times by hitting times with harmonic-number precision.

Setting

A network is a symmetric nonnegative conductance function ccc on pairs of vertices; the associated walk moves with probabilities

P(x,y)=c(x,y)/c(x)P(x,y)=c(x,y)/c(x)P(x,y)=c(x,y)/c(x)

where c(x)=∑yc(x,y)c(x)=\sum_y c(x,y)c(x)=∑y​c(x,y), and cG=∑xc(x)c_G=\sum_x c(x)cG​=∑x​c(x). A function hhh is harmonic at xxx if h(x)=∑yP(x,y)h(y)h(x)=\sum_y P(x,y)h(y)h(x)=∑y​P(x,y)h(y). The voltage with boundary values 111 at aaa and 000 at zzz is W(x)=Px{τa<τz}W(x)=\mathbb P_x\{\tau_a<\tau_z\}W(x)=Px​{τa​<τz​}, the harmonic extension of its boundary data; the current flowing out of aaa has strength ∥I∥=∑yc(a,y) [W(a)−W(y)]\|I\|=\sum_y c(a,y)\,[W(a)-W(y)]∥I∥=∑y​c(a,y)[W(a)−W(y)], and the effective resistance is R(a↔z)=∥I∥−1R(a\leftrightarrow z)=\|I\|^{-1}R(a↔z)=∥I∥−1. A flow from aaa to zzz is an antisymmetric edge function obeying the node law off {a,z}\{a,z\}{a,z}; its energy is E(θ)=∑eθ(e)2/c(e)\mathcal E(\theta)=\sum_e\theta(e)^2/c(e)E(θ)=∑e​θ(e)2/c(e). Hitting times τS=min⁡{t≥0:Xt∈S}\tau_S=\min\{t\ge0:X_t\in S\}τS​=min{t≥0:Xt​∈S}, their expectations, the Green's function Gτz(a,x)G_{\tau_z}(a,x)Gτz​​(a,x), the maximal hitting time thitt_{\mathrm{hit}}thit​, and the cover time tcovt_{\mathrm{cov}}tcov​ (expected time to visit every state, maximized over starts) all use the trajectory calculus of Mission I.

Formalization targets

Goal

Ea(τb)+Eb(τa)  =  cG R(a↔b).\mathbb E_a(\tau_b)+\mathbb E_b(\tau_a)\;=\;c_G\,R(a\leftrightarrow b).Ea​(τb​)+Eb​(τa​)=cG​R(a↔b).

This is Proposition 10.6, the commute time identity — the exact bridge between the probabilistic and electrical sides, and the engine of the transience/recurrence theory of Mission XII.

Milestones

Reversibility and stationarity of the network walk with π(x)=c(x)/cG\pi(x)=c(x)/c_Gπ(x)=c(x)/cG​ (§9.1); Proposition 9.1 (existence and uniqueness of harmonic extensions with given boundary values, h(x)=Exf(XτB)h(x)=\mathbb E_x f(X_{\tau_B})h(x)=Ex​f(XτB​​)); Lemma 9.6 (the Green's function identity Gτz(a,a)=c(a)R(a↔z)G_{\tau_z}(a,a)=c(a)R(a\leftrightarrow z)Gτz​​(a,a)=c(a)R(a↔z)); Theorem 9.10 (Thomson's principle: R(a↔z)R(a\leftrightarrow z)R(a↔z) is the minimal energy of a unit flow, attained); Theorem 9.12 (Rayleigh monotonicity: lowering conductances raises effective resistance); Lemma 10.1 (the random target lemma: ∑yEa(τy)π(y)\sum_y\mathbb E_a(\tau_y)\pi(y)∑y​Ea​(τy​)π(y) does not depend on aaa); Corollary 10.8 (the resistance triangle inequality); Theorem 11.2 (Matthews: tcov≤thit (1+12+⋯+1n)t_{\mathrm{cov}}\le t_{\mathrm{hit}}\,(1+\tfrac12+\dots+\tfrac1n)tcov​≤thit​(1+21​+⋯+n1​)); Proposition 11.4 (the matching Matthews lower bound over subsets).

Significance

The results. The commute time identity computes hitting times from circuit reductions — this is how hitting times on trees, tori and glued graphs are actually evaluated — and, through Thomson and Rayleigh, makes them monotone under graph operations, something invisible probabilistically. The Matthews bounds pin cover times up to a log⁡n\log nlogn factor in complete generality; they are the tool behind cover-time results for lamplighter groups in Mission XI's sequel. Green's function identities feed Mission XII's recurrence theory, where R(a↔∞)R(a\leftrightarrow\infty)R(a↔∞) decides transience.

Formalizing them. Mathlib has graph Laplacians but no electrical network theory: no effective resistance, no flows, no energy, no Thomson/Rayleigh, no hitting or cover times. This mission publishes that layer over the trajectory calculus of Mission I. It is the most reusable single block of the series outside Missions I–II: effective resistance on finite networks is of independent interest to combinatorics (spanning trees, spectral sparsification) well beyond mixing times.

Difficulty

The identity chain behind the goal runs: Green's function of the stopped walk →\to→ escape probability Pa{τz<τa+}=(c(a)R(a↔z))−1\mathbb P_a\{\tau_z<\tau_a^+\}=\bigl(c(a)R(a\leftrightarrow z)\bigr)^{-1}Pa​{τz​<τa+​}=(c(a)R(a↔z))−1 (via harmonic uniqueness) →\to→ the Aldous–Fill occupation identity Gτ(a,x)=Ea(τ)π(x)G_\tau(a,x)=\mathbb E_a(\tau)\pi(x)Gτ​(a,x)=Ea​(τ)π(x) for stopping times with Xτ=aX_\tau=aXτ​=a — each step is a manipulation of infinite series of trajectory sums whose exchange steps (splitting a path at its first visit, last-exit decompositions) need summability from Mission I's Lemma 1.13. Thomson's principle is a finite-dimensional convex minimization: existence of the minimizer needs a compactness or completing-the-square argument, and the identification of the minimizer with the current flow needs the cycle law; the naive "differentiate the energy" route must be made exact. Matthews' method is a clean but genuinely clever argument — a uniformly random ordering of targets and the harmonic-number telescoping; the formal cost is the exchangeability of the randomized order against the chain, handled combinatorially.

Formalization scope

Networks are functions c:V×V→Rc:V\times V\to\mathbb Rc:V×V→R with a symmetry-and-nonnegativity predicate; loops are permitted; connectivity enters as irreducibility of the induced walk. The voltage is defined probabilistically as Px{τa<τz}\mathbb P_x\{\tau_a<\tau_z\}Px​{τa​<τz​} (the book's harmonic characterization is Proposition 9.1); R(a↔z)R(a\leftrightarrow z)R(a↔z) is the reciprocal of the explicit current strength, with total division junk when a,za,za,z are disconnected — statements carry irreducibility so this does not arise. Energy counts each undirected edge once, formalized as half the ordered double sum, and 02/0=00^2/0=002/0=0 handles absent edges. Cover times are tail sums of the explicit event "some state unvisited". The Matthews lower bound is stated with an arbitrary lower bound mmm for the pairwise hitting times of the subset AAA — equivalent to the book's min over pairs and easier to instantiate.

Welcome contributions: series/parallel reduction laws, the cycle and node law API for flows, escape-probability lemmas — all reused in Mission XII's infinite-network arguments.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • P. G. Doyle, J. L. Snell, Random Walks and Electric Networks, MAA, 1984. https://arxiv.org/abs/math/0001057
  • A. K. Chandra, P. Raghavan, W. L. Ruzzo, R. Smolensky, P. Tiwari, The electrical resistance of a graph captures its commute and cover times, STOC 1989. https://doi.org/10.1145/73007.73062
  • P. Matthews, Covering problems for Markov chains, Ann. Probab. 16 (1988). https://doi.org/10.1214/aop/1176991894
15 thms4 active usersReviewed
🏆Completed
Experimental DesignOperations ResearchReinforcement Learning+1·Captain: Shuze Chen

Treatment Locality in A/B TestingResearch Paper

Modern A/B tests must infer lifetime treatment effects — e.g. customer lifetime value under a new feature — from short-horizon experiment data. Chen, Simchi-Levi and Wang (arXiv:2407.19618) model the experiment as a Markov decision process and exploit a structural fact of many practical interventions: the treatment is local, modifying the system at a single crucial state only. This mission formalizes the core asymptotic theory of the paper: for any differentiable estimator built from the experiment's transition and reward statistics, information sharing — pooling across test arms the samples collected away from the treated state — keeps the estimator asymptotically normal with the same asymptotic bias and never increases its asymptotic variance (Theorem 9), and is asymptotically efficient among unbiased estimators (Theorem 5). The route runs through a Markov chain central limit theorem with the asymptotic variance identified as the autocovariance series, and the linearization/delta method for functionals of chain statistics.

42 thms4 active users
🏆Completed
Markov ChainStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times I: Existence and Uniqueness of the Stationary DistributionTextbook

Markov Chains and Mixing Times I: Existence and Uniqueness of the Stationary Distribution

Motivation

Finite Markov chains are the basic model for memoryless random dynamics: card shuffles, random walks on graphs and groups, Monte Carlo samplers, and queueing systems are all chains on a finite state space. The single most used fact about them is that an irreducible chain has exactly one stationary distribution — a probability vector π\piπ with π=πP\pi = \pi Pπ=πP — and that this π\piπ is strictly positive and encodes the long-run behaviour of the chain through the return-time identity π(x)=1/Ex(τx+)\pi(x) = 1/\mathbb{E}_x(\tau_x^+)π(x)=1/Ex​(τx+​). Every later result in the theory of mixing times (convergence theorems, coupling bounds, spectral methods, cutoff) is a statement about the distance of the chain from this π\piπ, so nothing in the subject can be formalized before this mission is.

This mission is the first in a series formalizing D. A. Levin, Y. Peres and E. L. Wilmer, Markov Chains and Mixing Times (AMS, 2009), covering Chapters 1–2: the basic vocabulary of finite chains (stochastic matrices, irreducibility, period, reversibility, time reversal, random walks on graphs and groups) and the classical examples of Chapter 2 (gambler's ruin, coupon collecting, the reflection principle for simple random walk on Z\mathbb{Z}Z). Later missions in the series build on the definitions published here.

Setting

A chain on a finite state space Ω\OmegaΩ is presented by its transition matrix, a matrix P∈RΩ×ΩP \in \mathbb{R}^{\Omega\times\Omega}P∈RΩ×Ω with nonnegative entries whose rows sum to 111. A distribution is a row vector μ\muμ with nonnegative entries summing to 111; one step of the chain carries μ\muμ to μP\mu PμP, and the ttt-step transition probabilities are the entries of the matrix power PtP^tPt.

The chain is irreducible if for all states x,yx, yx,y there is a ttt with Pt(x,y)>0P^t(x,y) > 0Pt(x,y)>0. The period of a state xxx is gcd⁡ T(x)\gcd\,\mathcal{T}(x)gcdT(x) where T(x)={t≥1:Pt(x,x)>0}\mathcal{T}(x) = \{t \ge 1 : P^t(x,x) > 0\}T(x)={t≥1:Pt(x,x)>0}, and the chain is aperiodic if every state has period 111. A distribution π\piπ is stationary if πP=π\pi P = \piπP=π, and π\piπ and PPP are in detailed balance (the chain is reversible) if π(x)P(x,y)=π(y)P(y,x)\pi(x)P(x,y) = \pi(y)P(y,x)π(x)P(x,y)=π(y)P(y,x) for all x,yx,yx,y.

Trajectory events over a finite horizon are finite sums of path weights: a length-ttt trajectory is a function ω:{0,…,t}→Ω\omega : \{0,\dots,t\} \to \Omegaω:{0,…,t}→Ω, with weight ∏i<tP(ωi,ωi+1)\prod_{i<t} P(\omega_i, \omega_{i+1})∏i<t​P(ωi​,ωi+1​) conditional on its starting state. The tail probability Px{τz+>t}\mathbb{P}_x\{\tau_z^+ > t\}Px​{τz+​>t} of the first hitting time τz+=min⁡{t≥1:Xt=z}\tau_z^+ = \min\{t \ge 1 : X_t = z\}τz+​=min{t≥1:Xt​=z} is the sum of the weights of the trajectories from xxx that avoid zzz at times 1,…,t1,\dots,t1,…,t, and expectations of hitting times are recovered by the tail-sum formula E(Y)=∑t≥0P{Y>t}\mathbb{E}(Y) = \sum_{t\ge0} \mathbb{P}\{Y > t\}E(Y)=∑t≥0​P{Y>t}, formalized as a tsum over ttt.

Formalization targets

Goal

P stochastic and irreducible on a finite nonempty Ω  ⟹  ∃! π, π=πP.\text{$P$ stochastic and irreducible on a finite nonempty $\Omega$} \;\Longrightarrow\; \exists!\, \pi,\ \pi = \pi P .P stochastic and irreducible on a finite nonempty Ω⟹∃!π, π=πP.

This is Corollary 1.17 of the book. It asserts only existence and uniqueness, leaving the finer structure of π\piπ to the milestones; it is the weakest statement on which the rest of the series can stand, which is why it is the goal.

Milestones toward and around the goal

The milestone list follows the book's own route: well-definedness of the period (Lemma 1.6), positivity of some matrix power for irreducible aperiodic chains (Proposition 1.7), finiteness of expected hitting times (Lemma 1.13), existence of a positive stationary distribution together with

π(x) Ex(τx+)=1\pi(x)\,\mathbb{E}_x(\tau_x^+) = 1π(x)Ex​(τx+​)=1

(Proposition 1.14), constancy of harmonic functions (Lemma 1.16), stationarity from detailed balance (Proposition 1.19), the stationary and reversible measure π(x)=deg⁡(x)/2∣E∣\pi(x) = \deg(x)/2|E|π(x)=deg(x)/2∣E∣ of simple random walk on a graph (Examples 1.12 and 1.20), the time reversal P^\hat PP^ and its path-reversal identity (Proposition 1.22), and the random walks on finite groups of Section 2.6 (Propositions 2.12–2.14). From Chapter 2 the list adds the gambler's ruin formulas Pk{Xτ=n}=k/n\mathbb{P}_k\{X_\tau = n\} = k/nPk​{Xτ​=n}=k/n and Ek(τ)=k(n−k)\mathbb{E}_k(\tau) = k(n-k)Ek​(τ)=k(n−k) (Proposition 2.1), the coupon collector expectation n∑k≤n1/kn\sum_{k\le n} 1/kn∑k≤n​1/k and tail bound e−ce^{-c}e−c (Propositions 2.3 and 2.4), and the reflection principle and the bound Pk{τ0>r}≤12k/r\mathbb{P}_k\{\tau_0 > r\} \le 12k/\sqrt{r}Pk​{τ0​>r}≤12k/r​ for simple random walk on Z\mathbb{Z}Z (Lemma 2.18 and Theorem 2.17).

Significance

The result itself. Existence and uniqueness of π\piπ is the pivot on which the entire quantitative theory turns: it defines the target of convergence, and the identity π(x) Ex(τx+)=1\pi(x)\,\mathbb{E}_x(\tau_x^+) = 1π(x)Ex​(τx+​)=1 ties the stationary measure to return times, which later missions use for hitting-time and cover-time results. Detailed balance is the practical tool by which stationary measures of graph and group walks are computed, and the Chapter 2 examples (gambler's ruin, coupon collecting, reflection) are the standard building blocks reused throughout the book — the coupon collector bound, for instance, is exactly the estimate behind the nlog⁡n+cnn \log n + cnnlogn+cn analysis of the top-to-random shuffle in a later mission of this series.

Formalizing it. Mathlib currently has no theory of finite Markov chains: no stochastic-matrix predicate, no stationary distribution, no periodicity, no hitting times. Everything proved in this mission is new formal mathematics, and the definition layer published here (mm_basic, mm_path, mm_classical) is the shared foundation that all twelve subsequent missions of the series import. All results are classical and have textbook proofs; none has a machine-checked proof.

Difficulty

The delicate point is the existence proof. The natural first idea — extract π\piπ from an eigenvector of PTP^{\mathsf T}PT for eigenvalue 111, or invoke a fixed-point theorem — either does not give positivity and nonnegativity without further work, or uses compactness machinery (Brouwer) that is unavailable. The book's proof instead builds π~(y)=Ez(visits to y before τz+)\tilde\pi(y) = \mathbb{E}_z(\text{visits to } y \text{ before } \tau_z^+)π~(y)=Ez​(visits to y before τz+​) and verifies π~P=π~\tilde\pi P = \tilde\piπ~P=π~ by reindexing trajectory sums; formalizing it requires managing infinite series of path sums (summability from the geometric tail bound of Lemma 1.13, exchanging tsum with finite sums, splitting a trajectory at its last step). The uniqueness half is linear algebra via constancy of harmonic functions (Lemma 1.16), which is elementary but requires a maximum-principle argument over a finite state space. The reflection principle and Theorem 2.17 are finite combinatorics on ±1\pm 1±1 paths — the bijection is easy to describe and fiddly to implement.

Formalization scope

States form a Fintype with decidable equality; chains are Matrix V V ℝ with the row-stochasticity predicate IsStochastic; distributions are functions V → ℝ with the predicate IsDist. Everything is distribution-side: no probability space or measure theory is used. The period is formalized as sup⁡{d:d∣t for all t∈T(x)}\sup\{d : d \mid t \text{ for all } t \in \mathcal{T}(x)\}sup{d:d∣t for all t∈T(x)}, which equals gcd⁡T(x)\gcd \mathcal{T}(x)gcdT(x) when T(x)≠∅\mathcal{T}(x) \neq \varnothingT(x)=∅ and takes the junk value 000 otherwise. Expectations of hitting times are tsums of tail probabilities, with the usual junk value 000 for non-summable families — the statements are arranged (e.g. multiplicatively, π(x)⋅Ex(τx+)=1\pi(x)\cdot\mathbb{E}_x(\tau_x^+) = 1π(x)⋅Ex​(τx+​)=1) so that junk values cannot make them vacuously true. Existence statements carry a Nonempty V hypothesis; irreducibility on the empty space is vacuous, and without nonemptiness the goal would be false, not trivial. The coupon collector and the walk on Z\mathbb{Z}Z are presented directly by their driving randomness (uniform draws Fin t → Fin n, uniform sign strings Fin r → Bool), so those probabilities are elementary counting; in particular the reflection principle is stated as an equality of cardinalities of sets of sign strings — this is equivalent to the probabilistic statement because all 2r2^r2r strings are equally likely.

Contributions welcome beyond the milestone list: simp lemmas for the definition layer, the taboo-matrix representation of avoidance probabilities (useful for Lemma 1.13), and any interface lemmas connecting pathWeight sums to matrix powers — these will be reused by every later mission in the series.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • J. R. Norris, Markov Chains, Cambridge University Press, 1998. https://doi.org/10.1017/CBO9780511810633
  • D. Aldous, J. A. Fill, Reversible Markov Chains and Random Walks on Graphs, 2002 (unfinished monograph). https://www.stat.berkeley.edu/~aldous/RWG/book.html
20 thms4 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

Achieving High Individual Service Levels Without Safety Stock? Optimal Rationing Policy of Pooled Resources II: The Max-Weighted-Service Policy Is Almost Surely Asymptotically OptimalResearch Paper

Motivation

Firms that serve several customers from shared capacity, such as a warehouse supplying several retailers, a flexible production line building several products, or an assemble-to-order system, often sign contracts that guarantee each customer an individual service level. Typical targets are the probability of filling a customer's whole demand (Type-I), the expected fraction of demand filled (Type-II or Type-III), each required to be at least a target βj\beta_jβj​. Once demand is realized, the firm must decide how to ration the pooled resources among customers. Jiang, Wang and Zhang (SSRN 3385089, published in Operations Research, doi:10.1287/opre.2022.2386) ask how much capacity suffices and which rationing policy meets all targets at least cost. The exact optimal policy is an infinite-dimensional program over randomized policies, (11). This mission formalizes the paper's answer to the second question: a simple, learnable policy is asymptotically optimal.

Setting

There are nnn customers N={1,…,n}N=\{1,\dots,n\}N={1,…,n} and mmm resources. The capacity vector c∈R≥0mc\in\mathbb R^m_{\ge0}c∈R≥0m​ is fixed. The demand D~∈R≥0n\tilde D\in\mathbb R^n_{\ge0}D~∈R≥0n​ is random with law FFF. After observing a demand vector DDD, the firm chooses a solution (s,y)(s,y)(s,y) from a compact set P(c,D)P(c,D)P(c,D). Here sj≤Djs_j\le D_jsj​≤Dj​ is the demand of customer jjj that is fulfilled and yijy_{ij}yij​ is the amount of resource iii given to customer jjj. The solution costs f(y)f(y)f(y), with fff linear, and customer jjj receives service Rj(sj,Dj)≥0R_j(s_j,D_j)\ge0Rj​(sj​,Dj​)≥0.

  • A deterministic policy φ\varphiφ maps each demand vector to a feasible solution (s(φ,c,D),y(φ,c,D))(s(\varphi,c,D),y(\varphi,c,D))(s(φ,c,D),y(φ,c,D)). A randomized policy λ\lambdaλ picks a deterministic policy at random.
  • The service level of customer jjj under λ\lambdaλ is ∫ED~[Rj(sj(φ,c,D~),D~j)] dλ(φ)\int E_{\tilde D}[R_j(s_j(\varphi,c,\tilde D),\tilde D_j)]\,d\lambda(\varphi)∫ED~​[Rj​(sj​(φ,c,D~),D~j​)]dλ(φ), and the expected cost is ∫ED~[f(y(φ,c,D~))] dλ(φ)\int E_{\tilde D}[f(y(\varphi,c,\tilde D))]\,d\lambda(\varphi)∫ED~​[f(y(φ,c,D~))]dλ(φ).
  • The capacity ccc is feasible if some λ\lambdaλ meets every target βj∈(0,1)\beta_j\in(0,1)βj​∈(0,1). Obj(11)\mathrm{Obj}(11)Obj(11) is the least expected cost among such λ\lambdaλ.
  • For weights w∈R≥0nw\in\mathbb R^n_{\ge0}w∈R≥0n​, the Max-Weighted-Service problem (16) is min⁡(y,s)∈P(c,D)f(y)−∑jwjRj(sj,Dj)\min_{(y,s)\in P(c,D)} f(y)-\sum_j w_jR_j(s_j,D_j)min(y,s)∈P(c,D)​f(y)−∑j​wj​Rj​(sj​,Dj​). The policy φw\varphi_wφw​ picks one of its optimal solutions for every DDD.
  • Algorithm 1 draws independent samples D(1),…,D(T)D^{(1)},\dots,D^{(T)}D(1),…,D(T) from FFF. It starts from w(1)=0w^{(1)}=0w(1)=0 and updates the weights by
wj(t+1)=[wj(t)+γT(βj−Rj(sj(φw(t),c,D(t)),Dj(t)))]+,γT=T−(1/2+ϵ).w^{(t+1)}_j=\Big[w^{(t)}_j+\gamma_T\big(\beta_j-R_j(s_j(\varphi_{w^{(t)}},c,D^{(t)}),D^{(t)}_j)\big)\Big]^+,\qquad \gamma_T=T^{-(1/2+\epsilon)}.wj(t+1)​=[wj(t)​+γT​(βj​−Rj​(sj​(φw(t)​,c,D(t)),Dj(t)​))]+,γT​=T−(1/2+ϵ).

It then adopts φw\varphi_wφw​ at a uniformly drawn iterate www.

The Lean development uses the same letters: detService, detCost, IsFeasible, obj11, mwsObjective, mwsIter, stepSize, G, Gstar, Lterm.

Formalization targets

Goal: Theorem 3 (p. 17)

Under Assumptions 1 and 3, if ccc is feasible and ϵ∈(0,1/2)\epsilon\in(0,1/2)ϵ∈(0,1/2), then almost surely

lim sup⁡T→∞1T∑t=1TED~t[f(y(φw(t),c,D~t))]≤Obj(11),lim inf⁡T→∞1T∑t=1TED~t[Rj(sj(φw(t),c,D~t),D~jt)]≥βj  ∀j.\limsup_{T\to\infty}\frac1T\sum_{t=1}^TE_{\tilde D^t}\big[f(y(\varphi_{w^{(t)}},c,\tilde D^t))\big]\le\mathrm{Obj}(11),\qquad \liminf_{T\to\infty}\frac1T\sum_{t=1}^TE_{\tilde D^t}\big[R_j(s_j(\varphi_{w^{(t)}},c,\tilde D^t),\tilde D^t_j)\big]\ge\beta_j\ \ \forall j.T→∞limsup​T1​t=1∑T​ED~t​[f(y(φw(t)​,c,D~t))]≤Obj(11),T→∞liminf​T1​t=1∑T​ED~t​[Rj​(sj​(φw(t)​,c,D~t),D~jt​)]≥βj​  ∀j.

Here D~t\tilde D^tD~t is a fresh copy of the demand, so each expectation is taken with the iterate fixed. The statement holds for every tie-breaking rule in (16).

Milestones (pp. 52–54)

  1. Weak duality: ∑jwjβj+E[f(y(φw))]−∑jwjE[Rj(sj(φw),D~j)]≤Obj(11)\sum_jw_j\beta_j+E[f(y(\varphi_w))]-\sum_jw_jE[R_j(s_j(\varphi_w),\tilde D_j)]\le\mathrm{Obj}(11)∑j​wj​βj​+E[f(y(φw​))]−∑j​wj​E[Rj​(sj​(φw​),D~j​)]≤Obj(11) for every w≥0w\ge0w≥0.
  2. Lemma 4 (Azuma's inequality) and Lemma 5 (Borel–Cantelli), both already proved on the platform and referenced.
  3. (57): a pathwise regret bound for the iterates against G(w∗)=sup⁡w≥0G(w)G(w^*)=\sup_{w\ge0}G(w)G(w∗)=supw≥0​G(w).
  4. The noise vanishes: γT∑t≤TLt→0\gamma_T\sum_{t\le T}L_t\to0γT​∑t≤T​Lt​→0 almost surely, for the martingale terms LtL_tLt​ of (55).
  5. Lemma 6: wj(T+1)/(TγT)→0w^{(T+1)}_j/(T\gamma_T)\to0wj(T+1)​/(TγT​)→0 almost surely.

Significance

Theorem 3 replaces an optimization over probability measures on a space of functions by a sequence of finite-dimensional problems (16) and a one-line dual update. Problem (16) is often solved greedily: under a polymatroid structure the paper's Theorem 4 turns it into an index rule. The result therefore justifies a practical rationing heuristic with a guarantee: a firm that runs Algorithm 1 on historical demand gets a policy whose average cost is asymptotically no worse than the optimum of (11), and whose service levels asymptotically meet every individual target.

On the formal side, the statement and its milestones combine a projected stochastic subgradient method, a triangular array of bounded martingale differences, and the weak duality of a semi-infinite program. The paper proves the result; none of it has been machine-checked. A formal proof must also repair the paper's argument for (28): the stochastic-dominance induction on p. 54 does not establish an almost-sure limit.

Difficulty

The obvious argument treats the iterates as a standard online gradient method with a fixed step. That handles the expected regret but not the almost-sure claim. The noise terms LtL_tLt​ depend on the horizon TTT, both through γT\gamma_TγT​ and through every earlier iterate, so they form a triangular array, not a single martingale. Classical stochastic-approximation theorems with decreasing steps do not apply. Feasibility of ccc enters only through the dual bound G(w∗)≤Obj(11)G(w^*)\le\mathrm{Obj}(11)G(w∗)≤Obj(11). The expectations ED~tE_{\tilde D^t}ED~t​ are over a fresh copy with the random iterate held fixed, and that must be kept separate from the sample D(t)D^{(t)}D(t) the iterate itself uses. The service half (28) needs a bound on the growth of the dual weights (Lemma 6), and that bound itself needs the cost to be bounded on feasible allocations.

Formalization scope

  • Indices are 0-based: customers and resources are Fin n and Fin m. The Lean iterate at index ttt is the page's w(t+1)w^{(t+1)}w(t+1), and ∑t=1T\sum_{t=1}^T∑t=1T​ becomes a sum over 0,…,T−10,\dots,T-10,…,T−1.
  • Randomized policies are finite mixtures of measurable deterministic policies. Every quantity here depends on a mixture only through finitely many expectations, so this is no restriction.
  • Selections: the theorems quantify over every selection w↦φww\mapsto\varphi_ww↦φw​ of optimal solutions of (16). It is assumed jointly measurable in (w,D)(w,D)(w,D), so that the iterates are random variables.
  • Sampling: all horizons TTT read the first TTT entries of one i.i.d. sequence. That single probability space is what "almost surely as T→∞T\to\inftyT→∞" requires.
  • Limits: lim sup⁡≤\limsup\lelimsup≤ and lim inf⁡≥\liminf\geliminf≥ are written as "for every ε>0\varepsilon>0ε>0, eventually in TTT".
  • Norms: the Euclidean norm in (57) is a written-out sum of squares, because Lean's default norm on Fin n → ℝ is the sup norm.
  • Added hypotheses, beyond Assumptions 1 and 3 and the standing assumptions of §1.1:
    • Rj≥0R_j\ge0Rj​≥0 and jointly measurable;
    • s≤Ds\le Ds≤D on P(c,D)P(c,D)P(c,D) for D≥0D\ge0D≥0; instances whose page-level P(c,D)P(c,D)P(c,D) is empty for negative DDD extend it by P(c,D+)P(c,D^+)P(c,D+);
    • ∣f∣≤K|f|\le K∣f∣≤K on feasible allocations, which the paper's proof of Lemma 6 uses implicitly.

Two formalizations would make (27) trivial, and both are ruled out. Obj(11)\mathrm{Obj}(11)Obj(11) is the infimum of the cost over feasible mixtures; it is neither defined from the algorithm nor identified with G(w∗)G(w^*)G(w∗). Feasibility and ∣f∣≤K|f|\le K∣f∣≤K keep that infimum from being Lean's junk value 000. The selection depends on www alone, not on β\betaβ or on the sample path.

The development needs Bochner integrals, independence (iIndepFun), conditional expectation and the referenced Azuma and Borel–Cantelli results. The triangular-array strong law for bounded martingale differences with summable exponential tails is reusable beyond this mission. Contributions toward any milestone, or a repaired proof of (28), are welcome.

Selected references

  • J. Jiang, S. Wang, J. Zhang, Achieving High Individual Service-Levels without Safety Stock? Optimal Rationing Policy of Pooled Resources, SSRN 3385089 (version of 31 July 2021); Operations Research (2023). https://ssrn.com/abstract=3385089, https://doi.org/10.1287/opre.2022.2386
  • K. Azuma, Weighted sums of certain dependent random variables, Tôhoku Mathematical Journal 19 (1967) 357–367. https://doi.org/10.2748/tmj/1178243286
  • A. Shapiro, On duality theory of conic linear problems, in Semi-Infinite Programming, Kluwer (2001) 135–165. https://doi.org/10.1007/978-1-4757-3403-4_7
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM Journal on Optimization 19 (2009) 1574–1609. https://doi.org/10.1137/070704277
9 thms3 active usersReviewed
Markov ChainOperations Research·Captain: mikedeng1

Lightning Network Economics: Channels IV: The Long-Run Number of Channel Transactions per On-Chain Transaction in Closed FormResearch Paper

Payment channels and blockchain congestion

A blockchain such as Bitcoin settles a limited number of transactions per unit of time, and every on-chain transaction pays a fee that rises with congestion. The Lightning Network moves payments off the chain. Two parties lock funds in a payment channel with one on-chain transaction, and they can then pay each other any number of times by updating the channel balance privately. A new on-chain transaction is needed only when one side of the channel runs out of funds and the channel must be reset.

Guasoni, Huberman and Shikhelman (Management Science, 2023) model a channel between two nodes that pay each other at Poisson rates. They compute its cost and its optimal size, and in §3.3 they quantify how much a channel relieves the chain. The relief is the long-run number of channel transactions carried per on-chain transaction (Proposition 2). A related quantity is the probability that the payee side of the channel, not the payer side, is exhausted first (Proposition 1). This mission formalizes both results, which are statements about two finite random walks.

Setting

Node 1 commits l1≥1l_1\ge1l1​≥1 units to the channel and node 2 commits l2≥1l_2\ge1l2​≥1 units. Node 1 pays node 2 one unit at the jumps of a Poisson process with rate λ1\lambda_1λ1​, and node 2 pays node 1 at rate λ2\lambda_2λ2​, independently. Write q=λ2/λ1q=\lambda_2/\lambda_1q=λ2​/λ1​. The balance XXX starts at 000. It moves up by one when node 2 pays and down by one when node 1 pays. Node 2 has exhausted its side when X=l2X=l_2X=l2​, and node 1 when X=−l1X=-l_1X=−l1​.

Only the sequence of payments matters here, not their timing or discounting. Observed at its jumps, the balance is a random walk that steps up with probability p=λ2/(λ1+λ2)p=\lambda_2/(\lambda_1+\lambda_2)p=λ2​/(λ1​+λ2​) and down with probability 1−p=λ1/(λ1+λ2)1-p=\lambda_1/(\lambda_1+\lambda_2)1−p=λ1​/(λ1​+λ2​). Two versions of this walk appear.

  1. The absorbed walk on {−l1,…,l2}\{-l_1,\dots,l_2\}{−l1​,…,l2​} stops at −l1-l_1−l1​ and at l2l_2l2​. Write P0{τl2<τ−l1}\mathbb P_0\{\tau_{l_2}<\tau_{-l_1}\}P0​{τl2​​<τ−l1​​} for the probability that, from the balance 000, it reaches l2l_2l2​ before −l1-l_1−l1​.
  2. The reset walk returns the balance to 000 as soon as it reaches l2l_2l2​ or −l1-l_1−l1​, which models an on-chain reset of the channel. It lives on the interior balances {−l1+1,…,l2−1}\{-l_1+1,\dots,l_2-1\}{−l1​+1,…,l2​−1}. For a stationary distribution mmm of this walk, m(n)m(n)m(n) is the long-run fraction of transactions the balance spends at nnn, with m(l2)=m(−l1)=0m(l_2)=m(-l_1)=0m(l2​)=m(−l1​)=0.

The transactions that trigger an on-chain reset are the up-moves from l2−1l_2-1l2​−1 and the down-moves from −l1+1-l_1+1−l1​+1. Their stationary fraction is

f(m)=m(l2−1) λ2λ1+λ2+m(−l1+1) λ1λ1+λ2,f(m)=m(l_2-1)\,\frac{\lambda_2}{\lambda_1+\lambda_2}+m(-l_1+1)\,\frac{\lambda_1}{\lambda_1+\lambda_2},f(m)=m(l2​−1)λ1​+λ2​λ2​​+m(−l1​+1)λ1​+λ2​λ1​​,

and the long-term ratio of channel to on-chain transactions is 1/f(m)1/f(m)1/f(m).

Formalization targets

Goal: Proposition 2 (Congestion Reduction)

For λ1,λ2>0\lambda_1,\lambda_2>0λ1​,λ2​>0 with λ1≠λ2\lambda_1\neq\lambda_2λ1​=λ2​ and l1,l2≥1l_1,l_2\ge1l1​,l2​≥1, the reset walk has a stationary distribution, and every stationary distribution mmm satisfies

1f(m)=(q+1)((l2(ql1−1)−l1)ql2+l1)(q−1)(ql1+l2−1).\frac1{f(m)}=\frac{(q+1)\Bigl(\bigl(l_2(q^{l_1}-1)-l_1\bigr)q^{l_2}+l_1\Bigr)}{(q-1)(q^{l_1+l_2}-1)}.f(m)1​=(q−1)(ql1​+l2​−1)(q+1)((l2​(ql1​−1)−l1​)ql2​+l1​)​.

Milestones

  • (28) and (29): m(n)=m(0) ql2−qnql2−1m(n)=m(0)\,\dfrac{q^{l_2}-q^n}{q^{l_2}-1}m(n)=m(0)ql2​−1ql2​−qn​ for 0≤n≤l20\le n\le l_20≤n≤l2​, and m(n)=m(0) ql1+n−1ql1−1m(n)=m(0)\,\dfrac{q^{l_1+n}-1}{q^{l_1}-1}m(n)=m(0)ql1​−1ql1​+n−1​ for −l1≤n≤0-l_1\le n\le0−l1​≤n≤0.
  • (30): m(0)=(ql1−1)(ql2−1)(l2(ql1−1)−l1)ql2+l1m(0)=\dfrac{(q^{l_1}-1)(q^{l_2}-1)}{\bigl(l_2(q^{l_1}-1)-l_1\bigr)q^{l_2}+l_1}m(0)=(l2​(ql1​−1)−l1​)ql2​+l1​(ql1​−1)(ql2​−1)​.
  • The on-chain fraction f(m)f(m)f(m) is the reciprocal of the goal's closed form.
  • Proposition 2 (i)–(ii): the closed form tends to l1l_1l1​ as q↓0q\downarrow0q↓0 and to l1l2l_1l_2l1​l2​ as q→1q\to1q→1.
  • Proposition 1 (i)(a),(c): P0{τl2<τ−l1}=1−q−l11−q−l1−l2\mathbb P_0\{\tau_{l_2}<\tau_{-l_1}\}=\dfrac{1-q^{-l_1}}{1-q^{-l_1-l_2}}P0​{τl2​​<τ−l1​​}=1−q−l1​−l2​1−q−l1​​ if λ2>λ1>0\lambda_2>\lambda_1>0λ2​>λ1​>0, and =1=1=1 if λ2>λ1=0\lambda_2>\lambda_1=0λ2​>λ1​=0.
  • Proposition 1 (i)(b), corrected: for λ1=λ2>0\lambda_1=\lambda_2>0λ1​=λ2​>0 the probability is l1/(l1+l2)l_1/(l_1+l_2)l1​/(l1​+l2​), which is the published gambler's ruin theorem.

Significance

Proposition 2 measures how much a channel relieves the chain. A unidirectional channel of size l1l_1l1​ carries l1l_1l1​ payments per on-chain transaction. A symmetric bidirectional channel carries l1l2l_1l_2l1​l2​, which grows with the product of the two sizes rather than their sum. For a fixed total commitment, the relief is therefore largest when the flows are balanced. This is the paper's quantitative case that bidirectional channels reduce congestion far more than one-way ones. The probabilities of Proposition 1 tell each node how likely it is to be the one whose funds run out.

Both results are proved in the paper by elementary difference-equation arguments. Neither has a machine-checked proof. Formalizing them gives a verified closed form for the stationary law of a biased walk with resets at both ends. It also gives a biased gambler's-ruin probability on top of the platform's Markov chain library, which so far has only the fair case. The formalization also corrects case (b) of Proposition 1, which as printed claims 1/21/21/2 for every l1,l2l_1,l_2l1​,l2​; the paper's own proof gives l1/(l1+l2)l_1/(l_1+l_2)l1​/(l1​+l2​).

Difficulty

The reset walk is not a birth–death chain: the balance 000 receives the reset flow from both ends, so the walk is in general not reversible, and the detailed-balance shortcut that gives the stationary law of a reflected walk in one line fails. The balance equation (27) holds only away from 000 and from the two reset points. In Lean, the abstract equation mP=mmP=mmP=m on Fin (l₁ + l₂ - 1) must be related to recurrences indexed by integer balances, and the edge cases l1=1l_1=1l1​=1 and l2=1l_2=1l2​=1, where the bottom or top balance is 000 itself, have to be handled. For Proposition 1, the hitting probability is defined as an infinite series of first-passage probabilities over trajectories, and the closed form is a statement about the value of that series.

Formalization scope

  • The walks are transition matrices in the platform's MarkovMixing vocabulary (mm_basic, mm_path). Stationarity is MarkovMixing.IsStationary (nonnegative, sums to one, mP=mmP=mmP=m), and hitting probabilities are MarkovMixing.hitBeforeProb, a series that sums to 000 when it is not summable. The absorbed walk is absorbed almost surely, so this convention is never triggered.
  • The absorbed walk has states Fin (l₁ + l₂ + 1), with index iii for the balance i−l1i-l_1i−l1​. The reset walk has states Fin (l₁ + l₂ - 1), with index jjj for the balance j+1−l1j+1-l_1j+1−l1​. massAt reads m(n)m(n)m(n) at an integer balance and returns 000 outside the interior, which is the paper's convention m(l2)=m(−l1)=0m(l_2)=m(-l_1)=0m(l2​)=m(−l1​)=0.
  • Rates are real with λ1,λ2>0\lambda_1,\lambda_2>0λ1​,λ2​>0, and sizes are natural numbers l1,l2≥1l_1,l_2\ge1l1​,l2​≥1.
  • The hypothesis λ1≠λ2\lambda_1\neq\lambda_2λ1​=λ2​ (q≠1q\neq1q=1) is added to Proposition 2 and to (28)–(30). The formulas divide by q−1q-1q−1, and the paper treats q=1q=1q=1 only as a limit.
  • The "long-term ratio" is read as 1/f(m)1/f(m)1/f(m) for a stationary mmm, as in the paper's proof. Its identification with a pathwise long-run average is an ergodic theorem that the paper does not state and the mission does not ask for.
  • Proposition 2 (i)–(ii) are limits of the closed form along q↓0q\downarrow0q↓0 and q→1q\to1q→1, q≠1q\neq1q=1.
  • The following would trivialize the problem and are excluded: fixing the sizes or the rates, setting λ1=λ2\lambda_1=\lambda_2λ1​=λ2​, defining the long-term ratio or the stationary distribution by the closed form, or quantifying over stationary distributions without proving that one exists.
  • The platform has the Proved results MarkovMixing.exists_stationary_pos and MarkovMixing.stationary_unique for irreducible chains, and the fair gambler's ruin. Lemmas on stationary laws of chains with resets, and biased gambler's-ruin results on the MarkovMixing chains, would be reusable beyond this mission and are welcome.

Selected references

  • P. Guasoni, G. Huberman, C. Shikhelman, Lightning Network Economics: Channels, Management Science, Articles in Advance, published online November 6, 2023, pp. 1–14. https://doi.org/10.1287/mnsc.2022.01664
  • J. Poon, T. Dryja, The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments, white paper, 2016. https://lightning.network/lightning-network-paper.pdf
  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009 (§1.5, §2.1). https://doi.org/10.1090/mbk/058
13 thms3 active usersReviewed
Quantum InformationTheoretical Computer Science·Captain: mikedeng1

Quantum Amplitude Amplification and Estimation: Est_Amp(A, χ, M) Outputs ã with |ã − a| ≤ 2πk√(a(1−a))/M + k²π²/M² with Probability ≥ 8/π² for k = 1 and > 1 − 1/(2(k−1)) for k ≥ 2Research Paper

Motivation

Many quantum algorithms end in a measurement that succeeds only with some probability aaa. Two questions follow: how to raise that probability, and how to learn its value. G. Brassard, P. Høyer, M. Mosca and A. Tapp answered both in Quantum Amplitude Amplification and Estimation (arXiv:quant-ph/0005055, 2000; Contemporary Mathematics 305, 2002). Amplitude amplification generalizes Grover's search (Grover 1996) to an arbitrary algorithm A\mathcal AA and an arbitrary notion of success. Amplitude estimation combines amplification with the quantum Fourier transform to estimate aaa with error of order 1/M1/M1/M after MMM applications of A\mathcal AA, where classical sampling needs order 1/M21/M^21/M2 samples. Quantum counting, quantum Monte Carlo integration (Montanaro 2015) and many quantum speedups for statistics and finance rest on this estimation step.

Timeline:

  • 1996: Grover's search algorithm.
  • 1997: Brassard and Høyer (arXiv:quant-ph/9704027) introduce the amplification operator Q\mathbf QQ for a general algorithm.
  • 1998: Brassard, Høyer and Tapp (arXiv:quant-ph/9805082) give quantum counting.
  • 2000: the paper formalized here presents amplification, estimation and counting in a unified form with explicit constants.

Setting

Let H=Cι\mathcal H = \mathbb C^\iotaH=Cι be a finite-dimensional Hilbert space with computational basis {∣x⟩:x∈ι}\{|x\rangle : x\in\iota\}{∣x⟩:x∈ι} and a distinguished zero state ∣0⟩|0\rangle∣0⟩. A quantum algorithm without measurements is a unitary matrix A\mathcal AA on H\mathcal HH, and a Boolean function χ:ι→{0,1}\chi:\iota\to\{0,1\}χ:ι→{0,1} calls a basis state good when χ(x)=1\chi(x)=1χ(x)=1. Write ∣Ψ⟩=A∣0⟩=∣Ψ1⟩+∣Ψ0⟩|\Psi\rangle=\mathcal A|0\rangle=|\Psi_1\rangle+|\Psi_0\rangle∣Ψ⟩=A∣0⟩=∣Ψ1​⟩+∣Ψ0​⟩ for the splitting into the projections onto the good and the bad subspaces. The initial success probability is a=⟨Ψ1∣Ψ1⟩a=\langle\Psi_1|\Psi_1\ranglea=⟨Ψ1​∣Ψ1​⟩, the probability that measuring ∣Ψ⟩|\Psi\rangle∣Ψ⟩ gives a good state, and θa∈[0,π/2]\theta_a\in[0,\pi/2]θa​∈[0,π/2] is the angle with sin⁡2θa=a\sin^2\theta_a=asin2θa​=a.

The operator Sχ\mathbf S_\chiSχ​ flips the sign of the amplitudes of good states, S0\mathbf S_0S0​ flips the sign of the amplitude of ∣0⟩|0\rangle∣0⟩, and the amplification operator is

Q=−A S0 A−1 Sχ.\mathbf Q=-\mathcal A\,\mathbf S_0\,\mathcal A^{-1}\,\mathbf S_\chi .Q=−AS0​A−1Sχ​.

For an integer M≥1M\ge1M≥1, the quantum Fourier transform is FM:∣x⟩↦1M∑y=0M−1e2πıxy/M∣y⟩F_M:|x\rangle\mapsto\frac1{\sqrt M}\sum_{y=0}^{M-1}e^{2\pi\imath xy/M}|y\rangleFM​:∣x⟩↦M​1​∑y=0M−1​e2πxy/M∣y⟩, and the controlled power is ΛM(U):∣j⟩∣y⟩↦∣j⟩Uj∣y⟩\Lambda_M(U):|j\rangle|y\rangle\mapsto|j\rangle U^j|y\rangleΛM​(U):∣j⟩∣y⟩↦∣j⟩Uj∣y⟩. The phase state is ∣SM(ω)⟩=1M∑ye2πıωy∣y⟩|S_M(\omega)\rangle=\frac1{\sqrt M}\sum_y e^{2\pi\imath\omega y}|y\rangle∣SM​(ω)⟩=M​1​∑y​e2πωy∣y⟩, and d(ω0,ω1)=min⁡z∈Z∣z+ω1−ω0∣d(\omega_0,\omega_1)=\min_{z\in\mathbb Z}|z+\omega_1-\omega_0|d(ω0​,ω1​)=minz∈Z​∣z+ω1​−ω0​∣ is the circular distance. The algorithm Est_Amp(A,χ,M)\mathbf{Est\_Amp}(\mathcal A,\chi,M)Est_Amp(A,χ,M) applies (FM−1⊗I) ΛM(Q) (FM⊗I)(F_M^{-1}\otimes I)\,\Lambda_M(\mathbf Q)\,(F_M\otimes I)(FM−1​⊗I)ΛM​(Q)(FM​⊗I) to ∣0⟩A∣0⟩|0\rangle\mathcal A|0\rangle∣0⟩A∣0⟩, measures the first register to obtain y∈{0,…,M−1}y\in\{0,\dots,M-1\}y∈{0,…,M−1}, and outputs a~=sin⁡2(πy/M)\tilde a=\sin^2(\pi y/M)a~=sin2(πy/M).

Formalization targets

Goal: Theorem 12 (Amplitude Estimation)

For every positive integer kkk, the event

∣a~−a∣≤2πka(1−a)M+k2π2M2|\tilde a-a|\le 2\pi k\frac{\sqrt{a(1-a)}}{M}+k^2\frac{\pi^2}{M^2}∣a~−a∣≤2πkMa(1−a)​​+k2M2π2​

has probability at least 8/π28/\pi^28/π2 when k=1k=1k=1, and greater than 1−12(k−1)1-\frac1{2(k-1)}1−2(k−1)1​ when k≥2k\ge2k≥2. If a=0a=0a=0 then a~=0\tilde a=0a~=0 with certainty. If a=1a=1a=1 and MMM is even, then a~=1\tilde a=1a~=1 with certainty.

Milestones, in attack order

  1. Lemma 1: Q\mathbf QQ acts on ∣Ψ1⟩|\Psi_1\rangle∣Ψ1​⟩ and ∣Ψ0⟩|\Psi_0\rangle∣Ψ0​⟩ by an explicit 2×22\times22×2 matrix.
  2. Equations (3)–(5): for 0<a<10<a<10<a<1, ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ are orthonormal eigenvectors of Q\mathbf QQ with eigenvalues e±ı2θae^{\pm\imath2\theta_a}e±2θa​.
  3. Equation (6): ∣Ψ⟩|\Psi\rangle∣Ψ⟩ in that eigenbasis.
  4. Lemma 7: the error in the angle controls the error in sin⁡2\sin^2sin2.
  5. Lemma 10: the overlap ∣⟨SM(ω0)∣SM(ω1)⟩∣2|\langle S_M(\omega_0)|S_M(\omega_1)\rangle|^2∣⟨SM​(ω0​)∣SM​(ω1​)⟩∣2.
  6. Theorem 11: the exact law of phase estimation and its two tail bounds.
  7. Two steps of the proof of Theorem 12 (p. 20): the state after ΛM(Q)\Lambda_M(\mathbf Q)ΛM​(Q), and the outcome law as an even mixture of two phase-estimation laws.

Further statements from the same development are included as companion targets: the success probability sin⁡2((2m+1)θa)\sin^2((2m+1)\theta_a)sin2((2m+1)θa​) after mmm rounds, Theorem 2 (quadratic speedup), Lemma 5 (the phase-generalized Q\mathbf QQ), Theorem 13 (counting) and Corollary 14.

Significance

Theorem 12 is the quantitative core of quantum estimation algorithms. Its error bound scales as 1/M1/M1/M in the number of applications of Q\mathbf QQ, and that scaling is the quadratic speedup behind quantum counting (Theorem 13), quantum mean estimation, and quantum Monte Carlo methods for option pricing and risk analysis. The exact clauses for a∈{0,1}a\in\{0,1\}a∈{0,1} make the estimator usable as a zero-error test for the existence of a good state.

All results here are proved in the paper and widely reproduced in textbooks; none is open. What the mission adds is a machine-checked account with the paper's constants: 8/π28/\pi^28/π2, the strict tail bound 1−1/(2(k−1))1-1/(2(k-1))1−1/(2(k−1)), and the additive term k2π2/M2k^2\pi^2/M^2k2π2/M2. It also covers every modulus M≥1M\ge1M≥1, not only powers of two, and arbitrary A\mathcal AA and χ\chiχ, not only uniform search. Related statements are posed on the platform but unproved:

  • QAlgorithms.Nannicini.amplitudeEstimation_error is the special case k=1k=1k=1, M=2mM=2^mM=2m, with a bit-string presentation of the algorithm.
  • QAlgorithms.Nannicini.groverOperator_eigenstates states (3)–(4) for an abstract reflection.
  • QAlgorithms.DeWolf.amplitudeAmplification covers (8) and the 1−a1-a1−a half of Theorem 2.

The Grover theorems already proved on the platform treat a single marked item with a uniform start.

Difficulty

The obvious argument has two parts: Q\mathbf QQ rotates a plane by 2θa2\theta_a2θa​, and phase estimation reads off θa\theta_aθa​. Neither part settles the measurement law. The outcome probability is a sum over the second register of the squared amplitudes of an entangled state. Reducing it to two independent phase-estimation laws requires orthonormality of ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩, and that holds only for 0<a<10<a<10<a<1. The goal does not assume this: the degenerate cases a∈{0,1}a\in\{0,1\}a∈{0,1}, where ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ do not exist, must be handled separately.

On the phase-estimation side, the tail bound for k≥2k\ge2k≥2 must be strict and must hold for every M≥1M\ge1M≥1. The bound 8/π28/\pi^28/π2 for k=1k=1k=1 relies on a minimization over Δ∈[0,1/M]\Delta\in[0,1/M]Δ∈[0,1/M] that needs M>2M>2M>2, while the goal has no such hypothesis, so the small cases M≤2M\le2M≤2 need their own argument. Finally, the second eigenphase appears as 1−θa/π1-\theta_a/\pi1−θa​/π, and the matching outcome M−yM-yM−y wraps to 000 at y=0y=0y=0.

Formalization scope

States are vectors ι→C\iota\to\mathbb Cι→C over a finite type ι\iotaι (the paper writes χ:Z→{0,1}\chi:\mathbb Z\to\{0,1\}χ:Z→{0,1}), operators are matrices, and {0,1}\{0,1\}{0,1} is Bool. A\mathcal AA is assumed unitary and A−1\mathcal A^{-1}A−1 is written A†\mathcal A^\daggerA†. The second register is Fin M with M≥1M\ge1M≥1; FMF_MFM​ is the platform's published Fourier matrix ShorAlgorithms.Shared.fourierMatrix (same sign and normalization as (13)), FM−1F_M^{-1}FM−1​ is its conjugate transpose, and ΛM\Lambda_MΛM​ is an explicit matrix on Fin M × ι. The outcome law is the sum over the second register of squared moduli of the final state, and an event's probability is the sum of the outcome probabilities over it. aaa is computed from A\mathcal AA, χ\chiχ and ∣0⟩|0\rangle∣0⟩, and θa=arcsin⁡a\theta_a=\arcsin\sqrt aθa​=arcsina​. The goal assumes neither 0<a<10<a<10<a<1 nor M>2M>2M>2, and it keeps the strict inequality for k≥2k\ge2k≥2. The step "after step 2, ignoring global phase" is stated with its phase −ı-\imath− written out.

A formalization that takes aaa or θa\theta_aθa​ as a free parameter, assumes the mixture form of the outcome law, or reasons about ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ without deriving them from A\mathcal AA and χ\chiχ would make the goal trivial. The statements here do none of these: every quantity is computed from A\mathcal AA, χ\chiχ, ∣0⟩|0\rangle∣0⟩ and MMM. The clauses "uses exactly MMM evaluations of fff" (Theorem 12) and "requires exactly ⌈N⌉\lceil\sqrt N\rceil⌈N​⌉ evaluations" (Corollary 14) are not formalized, because the matrix model has no oracle whose calls could be counted. Theorem 13 is stated for any unitary sending ∣0⟩|0\rangle∣0⟩ to the uniform superposition, which includes FNF_NFN​, as the paper allows on p. 20.

A complete development needs:

  • geometric sums of roots of unity;
  • the Fejér-kernel identity of Lemma 10;
  • the inequality sin⁡x≥2x/π\sin x\ge 2x/\pisinx≥2x/π on [0,π/2][0,\pi/2][0,π/2];
  • a bound on ∑j≥k1/j2\sum_{j\ge k}1/j^2∑j≥k​1/j2;
  • Kronecker-product bookkeeping for two-register states.

The phase-estimation part (Lemma 10, Theorem 11) does not depend on amplification and can be reused by any later formalization of Fourier-based phase estimation. Proofs of individual milestones, and lemmas on Fin M Fourier sums, are welcome.

Selected references

  • G. Brassard, P. Høyer, M. Mosca, A. Tapp, Quantum Amplitude Amplification and Estimation, in Quantum Computation and Information, Contemporary Mathematics 305, AMS, 2002, pp. 53–74. arXiv:quant-ph/0005055
  • G. Brassard, P. Høyer, An exact quantum polynomial-time algorithm for Simon's problem, ISTCS 1997. arXiv:quant-ph/9704027
  • G. Brassard, P. Høyer, A. Tapp, Quantum counting, ICALP 1998. arXiv:quant-ph/9805082
  • L. K. Grover, A fast quantum mechanical algorithm for database search, STOC 1996. arXiv:quant-ph/9605043
  • A. Montanaro, Quantum speedup of Monte Carlo methods, Proc. R. Soc. A 471, 2015. arXiv:1504.06987
14 thms3 active usersReviewed
🏆Completed
Actuarial Science·Captain: WillR

Actuarial Mathematics XC: Structural Corporate Default and Rating-Migration Credit ValuationTextbook

Motivation

Credit risk matters to insurer bond holdings, pension scheme fixed-income investment and counterparty guarantees. Merton's corporate debt model derives terminal shareholder and bondholder payoffs from limited liability and asset value. Jarrow–Lando–Turnbull introduces observable ratings with Markov state migrations and default, motivating a second, independently defined view of risky fixed-income valuation.

Setting

A firm has nonnegative terminal assets and a single promise of face-value debt. Creditors are paid no more than the promise and no more than available assets; equity gets the residual. Finite genuine probability masses attach to terminal asset scenarios and yield discounted debt and equity claim valuations. Separately, a three-state rating matrix contains two non-default ratings and a terminal default state, with nonnegative row probabilities and full row-sum constraints.

Formalization targets

The formalisation develops a connected set of actuarial identities, beginning with precise model definitions and ending with the prospective valuation result.

Merton limited liability and terminal default payoffs

Strict asset deficit is equivalent to zero equity except for solvent zero-cashflow special cases.

ET=(VT−D)+,BT=min⁡(VT,D)E_T=(V_T-D)^+,\quad B_T=\min(V_T,D)ET​=(VT​−D)+,BT​=min(VT​,D)

Finite default risk premiums and risk-neutral debt pricing

A bond priced equally to risk-free debt has zero model spread.

B0=e−rTEQ[min⁡(VT,D)]B_0=e^{-rT}\mathbb E^{\mathbb Q}[\min(V_T,D)]B0​=e−rTEQ[min(VT​,D)]

Three-state rating migration and recoverable default claims

Structural terminal solvency and an independent absorbing-rating transition system reconcile riskier defaultable debt prices, nonnegative credit value deductions and genuinely two-period probability conservation.

∑jPij=1,Pdefault,default=1\sum_j P_{ij}=1,\quad P_{\text{default,default}}=1j∑​Pij​=1,Pdefault,default​=1

Capstone theorem

Structural terminal solvency and an independent absorbing-rating transition system reconcile riskier defaultable debt prices, nonnegative credit value deductions and genuinely two-period probability conservation.

∑jPij=1,Pdefault,default=1\sum_j P_{ij}=1,\quad P_{\text{default,default}}=1j∑​Pij​=1,Pdefault,default​=1

Significance

As discussed in Merton's corporate-credit model, The mission connects terminal firm claims to an actual finite risk-neutral weighted value: equity plus debt exhaust firm assets, expected discounted defaultable debt is bounded above by its risk-free counterpart, and credit value deductions are nonnegative. The genuine two-step rating migration law preserves total probability mass. These independently defined results jointly give an actuarial foundation for pricing defaultable corporate securities and recognising credit exposures in asset-liability valuation.

Difficulty

It must be proved that the limited-liability payoffs partition total assets, with exact boundary conditions where assets equal or fall below face value. The pricing theorem must distinguish actual discounted expected creditor payments from assuming a closed-form Black–Scholes price; no lognormal risk-neutral firm distribution is postulated. Credit spreads require positive debt prices and maturities. A rating transition matrix must be proved stochastic under composition, and an absorbing default state is a model condition rather than automatically true for arbitrary matrices.

Formalization scope

Limited liability and rating-migration probabilities are distinct mathematical constructs in this model. The complete diffusion-based Merton option value and continuous-time rating default models remain future mathematical research. The current target is nontrivial because it derives the bond valuation from limited-liability terminal payouts and an actual probability space, and the migration law from an independent finite transition kernel. Existing bond-present-value and state-reward missions are useful, but they do not identify shareholder and debt recovery claims. Its expected payoff and finite rating matrix infrastructure is reusable in asset-liability modelling and insurer counterparty credit valuation.

A firm's terminal assets must be partitioned consistently between equity and creditor payoffs. Above the promised debt face amount bondholders receive the promise and owners receive remaining assets. At the strict default threshold the owners' limited liability makes equity worthless and bondholders recover the remaining assets. The source values these payoffs using a proper finite risk-neutral scenario law, proving that discounted risky debt is no more valuable than the risk-free debt promise. The other branch builds a genuinely stochastic three-state rating transition matrix and derives two-step migration probabilities from matrix multiplication. Those observed or risk-neutral migration probabilities are not interchangeable without an additional measure-change argument. This is precise finite corporate credit mathematics; it is not a fabricated full closed-form structural diffusion model or a continuous-time default-intensity theory.

The new credit mission establishes exact one-period finite-state structural debt/equity payoff pricing and two-step rating probability conservation. It does not claim Merton's Black–Scholes closed-form equity value, stochastic diffusion replication, or the full continuous-time JLT risk-neutral generator model. The default-state absorbing property needs additional row restrictions and is not asserted for unrestricted transition matrices. Those are substantial extensions, and the current theorem bodies remain unproved.

These are original derived finite/analytic Actuarial formalisation targets rather than reproductions of a numbered textbook theorem. Exact Lean binder declarations are authoritative. The complete source uses targeted Mathlib imports and no local Lean compilation. All proof bodies remain genuinely open and do not constitute accepted results. Assumptions about negative rates, survival, policyholder independence, discounting and benefit timing must be preserved exactly.

Selected references

  • Robert C. Merton (1974), On the Pricing of Corporate Debt: The Risk Structure of Interest Rates, Journal of Finance 29(2), 449–470. https://doi.org/10.1111/j.1540-6261.1974.tb03058.x
  • Robert A. Jarrow, David Lando and Stuart M. Turnbull (1997), A Markov Model for the Term Structure of Credit Risk Spreads, Review of Financial Studies 10(2), 481–523. https://doi.org/10.1093/rfs/10.2.481
48 thms3 active usersReviewed
🏆Completed
Actuarial Science·Captain: WillR

Actuarial Mathematics LXXXIX: Expected Utility, Certainty Equivalents and Stochastic Risk OrdersTextbook

Motivation

Insurance economics prices risk using the utility of wealth rather than merely its variance. Pratt's seminal work derives risk aversion and the certainty-equivalent insurance premium, while Rothschild and Stiglitz connect comparative risk to probability order. Earlier actuarial entropic premium missions contain special finite retention objectives but do not derive an independently constructed expected wealth utility with premium indifference and finite stochastic dominance.

Setting

Losses are monetary outcomes on a genuinely finite scenario probability model, whose masses are nonnegative and sum to one. The exponential CARA wealth utility is strictly increasing and concave for positive aversion. The certainty-equivalent premium is constructed from the actual exponential moment of loss. Full insurance replaces the uncertain loss with a fixed premium and its utility is compared with the truly weighted uninsured outcome.

Formalization targets

The formalisation develops a connected set of actuarial identities, beginning with precise model definitions and ending with the prospective valuation result.

Expected exponential utility and absolute risk aversion

Utility of deterministic wealth equals its scenario expectation.

ua(w)=−e−aw,A(w)=−ua′′(w)/ua′(w)=au_a(w)=-e^{-aw},\quad A(w)=-u''_a(w)/u'_a(w)=aua​(w)=−e−aw,A(w)=−ua′′​(w)/ua′​(w)=a

Actuarial insurance certainty equivalents and premium indifference

Risk-averse exponential expected utility demands at least the expected claim cost.

πa(X)=1alog⁡E[eaX]\pi_a(X)=\frac{1}{a}\log\mathbb E[e^{aX}]πa​(X)=a1​logE[eaX]

Genuine pathwise coupling and finite first-order stochastic dominance

The actuarial insurer and policyholder indifference premium follows from genuinely averaged utility, with positive risk loading and a finite-scenario stochastic risk ordering.

X≤Y a.s.⟹E[ϕ(X)]≤E[ϕ(Y)]X\le Y\ \text{a.s.}\Longrightarrow \mathbb E[\phi(X)]\le\mathbb E[\phi(Y)]X≤Y a.s.⟹E[ϕ(X)]≤E[ϕ(Y)]

Capstone theorem

The actuarial insurer and policyholder indifference premium follows from genuinely averaged utility, with positive risk loading and a finite-scenario stochastic risk ordering.

X≤Y a.s.⟹E[ϕ(X)]≤E[ϕ(Y)]X\le Y\ \text{a.s.}\Longrightarrow \mathbb E[\phi(X)]\le\mathbb E[\phi(Y)]X≤Y a.s.⟹E[ϕ(X)]≤E[ϕ(Y)]

Significance

As discussed in Pratt's utility-risk treatment, The capstone proves a complete indifference premium identity, not merely its algebraic definition, and derives risk loading above expected loss from convexity of the exponential. A coupled stochastic order implies both the ordering of actual finite distribution functions and higher expected utility for increasing utility functions. The same ordering is related to excess-of-loss premiums through statewise monotonicity. These results supply core insurer and policyholder pricing foundations.

Difficulty

The logarithmic certainty equivalent requires strictly positive exponential moments and a nonzero risk-aversion parameter. The actual expected utility factorization must account for the sign of negative exponential utility. Risk loading requires Jensen's inequality or an equivalent discrete exponential-convexity argument, not the assertion that every risk is profitable to insure. The comparison of finite CDFs must reverse the inequality for higher wealth, while a higher loss severity raises stop-loss costs. Pathwise coupling is stronger than the entire stochastic-dominance order and is identified as such.

Formalization scope

Certainty-equivalent premium and stochastic risk ordering are distinct mathematical constructs in this model. A future generalisation will derive second-order stochastic dominance via integrals of real CDFs and concave expected utility, not merely a pathwise coupling. The current project is nontrivial because the CARA indifference identity follows by differentiating and averaging the actual utility, and the insurer's risk loading is derived from Jensen's inequality. Existing specialised exponential risk-price examples provide a useful benchmark but do not replace these general sources. The premium and coupling functions are reusable for nonproportional reinsurance, risk classification and comparative risk analysis.

Under constant absolute risk aversion the negative exponential utility function is increasing and concave in wealth when risk aversion is positive, even though its numerical utility level is negative. A fair premium is not obtained by simply assuming a desired level of profit. The expected uninsured utility is calculated from true scenario probabilities, the utility with full insurance is calculated using a fixed premium and the resulting indifference equation is solved from the loss exponential moment. The log moment premium must then be compared against expected claim cost using convexity, and the sign of this loading depends on risk aversion. Finite distribution functions and expected excess claims are independently defined for comparison. The pathwise coupling order in the source is stronger than first-order stochastic dominance, so no false claim of characterising all stochastic orders is made. Second-order dominance requires a separate distribution-integral analysis.

This is a genuine finite-probability CARA model with exactly derived insured/uninsured premium indifference. The stochastic order is proven for explicit statewise couplings and thus yields a strong sufficient condition for first-order stochastic dominance, not a complete characterisation of arbitrary second-order stochastic dominance. General concave utility risk orders, mean-preserving spreads, Arrow–Pratt comparative aversion for all utility families, and infinite random variables are future developments. All proof obligations are open.

These are original derived finite/analytic Actuarial formalisation targets rather than reproductions of a numbered textbook theorem. Exact Lean binder declarations are authoritative. The complete source uses targeted Mathlib imports and no local Lean compilation. All proof bodies remain genuinely open and do not constitute accepted results. Assumptions about negative rates, survival, policyholder independence, discounting and benefit timing must be preserved exactly.

Selected references

  • John W. Pratt (1964), Risk Aversion in the Small and in the Large, Econometrica 32, 122–136. https://doi.org/10.2307/1913738
  • Michael Rothschild and Joseph E. Stiglitz (1970), Increasing Risk: I. A Definition, Journal of Economic Theory 2, 225–243. https://doi.org/10.1016/0022-0531(70)90038-4
46 thms3 active usersReviewed
🏆Completed
Actuarial Science·Captain: WillR

Actuarial Mathematics XCI: Joint-Life Mortality Profit and Contingent Survivor BenefitsTextbook

Motivation

Mortality experience in joint-life assurance and pensions depends not only on whether someone died, but on which insured life survives and which survivor or joint reserve must then be held. Standard multiple-life actuarial valuations motivate last-survivor, reversionary and guaranteed pension benefits. Earlier actuarial missions XLV and XLVI treat basic reversionary annuities and single-life mortality profit separately; this connects them through a genuine four-outcome death-strain model.

Setting

Two members start alive and experience independent yearly survival outcomes. Exactly four mutually exclusive joint states follow: both survive, only the first survives, only the second survives, or neither survives. Their probabilities use product and complement survival factors. The year-end reserve and any benefits can differ for every one of these states. Opening reserves plus premiums earn the annual return before payment and the next state contingent reserve is recognized.

Formalization targets

The formalisation develops a connected set of actuarial identities, beginning with precise model definitions and ending with the prospective valuation result.

Independent joint-life outcomes and probabilities

Each valid joint-life outcome has nonnegative mass.

pxy=pxpy,px†y=(1−px)pyp_{xy}=p_xp_y,\quad p_{x\dagger y}=(1-p_x)p_ypxy​=px​py​,px†y​=(1−px​)py​

Outcome-dependent reserves, benefits and death strain

Additional state-specific benefit claims add to expected death strain.

Ds=Bs+Vs−(V0+P)(1+i)D_{s}=B_s+V_s-(V_0+P)(1+i)Ds​=Bs​+Vs​−(V0​+P)(1+i)

Joint mortality profit and limited-contingent survivor benefits

An exhaustive, correctly normalized two-life outcome model makes the mortality experience profit mean zero, retaining separate survivor reserves, death benefits and guaranteed payment conventions.

Πmort=∑spsDs−Dobserved\Pi_{\text{mort}}=\sum_s p_s D_s-D_{\text{observed}}Πmort​=s∑​ps​Ds​−Dobserved​

Capstone theorem

An exhaustive, correctly normalized two-life outcome model makes the mortality experience profit mean zero, retaining separate survivor reserves, death benefits and guaranteed payment conventions.

Πmort=∑spsDs−Dobserved\Pi_{\text{mort}}=\sum_s p_s D_s-D_{\text{observed}}Πmort​=s∑​ps​Ds​−Dobserved​

Significance

As discussed in Dickson, Hardy and Waters' multiple-life analysis, The capstone derives actual four-state normalization and reconciles joint mortality profit as expected death strain less observed state-specific death strain, whose expected result is zero under its own properly normalized law. The state-specific reserve functions distinguish the two possible remaining single-life liabilities rather than collapsing them into a single average. Limited-reversionary and certain guarantee payments are represented as separate conditional benefits.

Difficulty

Four disjoint probabilities must be normalized with exact endpoint treatment. Reserve releases after each death outcome may have opposite signs to death-benefit payments, so the state strain must include both payout and next-state reserve less the accumulated starting fund. Expected mortality profit cannot be asserted by defining it to have zero mean: it must follow from the actual weighted expectation of the observed strain. Independence is an explicit current assumption; arbitrary dependent lives need a separate four-state probability law.

Formalization scope

Joint-life mortality profit and state-dependent death strain are distinct mathematical constructs in this model. A future mission could introduce dependent lifetimes and within-year order of deaths, then compute first-to-die and last-survivor benefit present values directly from the joint survival law. The present work is nontrivial because both survivor reserves and actual death claims differ across the four states, while the mean mortality profit emerges from their normalised probability distribution. Existing joint-life annuity and single-life profit missions do not establish this combination. The outcome-specific reserve and mortality gain functions are reusable for spouse's pensions, death-in-service benefits and multi-life experience analysis.

Four disjoint annual outcomes must be considered for a policy whose two insured lives begin the year alive. They are both alive, only the first alive, only the second alive and both dead. Each outcome has a separate year-end reserve and may have a different death or survivor benefit. Accordingly, its actual death strain includes the benefit paid plus the new reserve less accumulated beginning-year funds. Expected strain is a genuine probability-weighted average of those four observed strains. The mortality experience profit for any one realised outcome equals the expected strain less that outcome's actual strain. Its expectation must be shown to vanish under the normalised four-outcome probability distribution, rather than by assuming zero mean. This framework supplies an actuarial bridge from joint-life/reversionary benefits to experience profit analysis and guarantee-period pensions. Within-year timing and dependent life outcomes require additional formal work.

This is a complete one-year joint mortality-experience model with explicit separate survivor reserves, not a full continuous-time ordering of first and second deaths inside the same policy year. Guarantee-period timing is represented by a separate deterministic indicator input. Exact age differences, policy options, death-payment timing and dependence-copula extensions can build on these definitions later. All theorem statements remain unproved.

These are original derived finite/analytic Actuarial formalisation targets rather than reproductions of a numbered textbook theorem. Exact Lean binder declarations are authoritative. The complete source uses targeted Mathlib imports and no local Lean compilation. All proof bodies remain genuinely open and do not constitute accepted results. Assumptions about negative rates, survival, policyholder independence, discounting and benefit timing must be preserved exactly.

Selected references

  • David C. M. Dickson, Mary R. Hardy and Howard R. Waters (2020), Actuarial Mathematics for Life Contingent Risks, Cambridge University Press. https://www.cambridge.org/core/books/actuarial-mathematics-for-life-contingent-risks/
  • S. David Promislow (2015), Fundamentals of Actuarial Mathematics, Wiley. https://www.wiley.com/en-us/Fundamentals+of+Actuarial+Mathematics%2C+3rd+Edition-p-9781118782521
54 thms3 active usersReviewed
🏆Completed
Actuarial Science·Captain: WillR

Actuarial Mathematics LXXVII: Compound Aggregate Masses and the Full Finite Panjer RecursionTextbook

Motivation

Panjer's original 1981 result derives the aggregate claims recursion from a special frequency probability law and arbitrary nonnegative-integer severity mass distribution, including claims worth zero. The original article and the Sundt–Jewell extension underpin the mission. Earlier actuarial mission LIV handles direct recurrence algebra, while LXXIII derives the Bernoulli first positive aggregate mass identity. This mission formalises a full positive-aggregate-severity recursion for a genuinely constructed compound law.

Setting

A claim count N has probability weights p_n supported on {0,...,m}, with no artificial truncation of an otherwise infinite count distribution. Independent severity masses f_j on nonnegative integer amounts admit a genuine n-fold convolution, with count-zero convolution equal to a unit atom at zero. Thus g_k=Σ_{n=0}^m p_n(f^{*n})k is defined independently of Panjer's formula. The count recursion p_n=(a+b/n)p{n−1} is assumed only for 1≤n≤m+1, including its boundary p_{m+1}=0, and p_n=0 above m. No conclusion about the aggregate g is assumed.

Formalization targets

Aggregate claims from an actual frequency distribution

Write pnp_npn​ for the probability of exactly nnn claims and fjf_jfj​ for the probability that one claim has size jjj. The frequency law is genuinely supported on 0,…,m0,\ldots,m0,…,m; an infinite Poisson distribution is not silently truncated. The empty portfolio has aggregate size zero, while f∗nf^{*n}f∗n denotes the distribution obtained by summing nnn independent severities.

The first group constructs the aggregate probability gkg_kgk​ directly from the frequency and severity laws:

gk=∑n=0mpn(f∗n)k,(f∗0)0=1.g_k=\sum_{n=0}^{m}p_n(f^{*n})_k,\qquad (f^{*0})_0=1.gk​=n=0∑m​pn​(f∗n)k​,(f∗0)0​=1.

It also proves the zero-severity convolution identities, nonnegative mass preservation, and finite frequency and severity generating-function relationships.

The Panjer law and its upper support boundary

The count probabilities obey a Panjer recurrence with coefficients aaa and bbb. Crucially, the finite-support model includes the transition from mmm to the compulsory zero probability at m+1m+1m+1:

pn=(a+bn)pn−1,1≤n≤m+1,pm+1=0.p_n=\left(a+\frac{b}{n}\right)p_{n-1}, \qquad 1\le n\le m+1,\qquad p_{m+1}=0.pn​=(a+nb​)pn−1​,1≤n≤m+1,pm+1​=0.

This makes the assumed count law compatible with the finite aggregate distribution. For a claim size that may equal zero, the aggregate zero atom involves every possible claim count:

g0=GN(f0)=∑n=0mpnf0 n.g_0=G_N(f_0)=\sum_{n=0}^{m}p_n f_0^{\,n}.g0​=GN​(f0​)=n=0∑m​pn​f0n​.

Corrected aggregate recursion and valuation

The central target is the entire positive-aggregate-size Panjer recurrence, not merely its first positive atom. For every integer k≥1k\ge1k≥1, the result is

(1−af0)gk=∑j=1k(a+bjk)fjgk−j.(1-af_0)g_k= \sum_{j=1}^{k}\left(a+\frac{bj}{k}\right) f_jg_{k-j}.(1−af0​)gk​=j=1∑k​(a+kbj​)fj​gk−j​.

The factor 1−af01-af_01−af0​ is essential because a positive number of claims may still produce aggregate size zero. Further targets establish properties of cumulative aggregate probabilities, capital exceedance tails and finite stop-loss expectations. Every aggregate probability is defined independently of the recurrence it is subsequently required to satisfy.

Significance

The original Panjer paper gives the classical aggregate-loss setting. The capstone derives (1-a f_0)g_k=Σ_{j=1}^k(a+bj/k) f_j g_{k-j} for every positive aggregate amount from the actual random sum, together with g_0=G_N(f_0). The generator gives a count-supported finite Panjer family; it does not claim an infinite Poisson/negative-binomial count law. The exact zero claim-size correction is essential even when count N is positive, because multiple claims may all have zero monetary size. The authoring graph also includes frequency PGFs, severity convolution, CDF/tail and stop-loss identities.

Difficulty

Existing actuarial probability and Panjer steps are established subject areas. Every formal result introduced in this mission is an open Lean theorem target; none has an accepted proof. A vacuous or trivial definition of the aggregate as the recurrence solution is explicitly ruled out. The proof must rearrange nested severity convolutions, differentiate coefficient identities or establish the equivalent frequency recursion, and manage the zero-severity term that multiplies g_k itself. The count-support cutoff must satisfy the Panjer multiplier at m+1 to avoid invalid boundary terms. The recurrence at k=0 is not defined due to division by k; zero aggregate mass follows separately from the frequency PGF. Because f_0 may be positive, truncating the count sum at arbitrary m with an infinite count law would be mathematically invalid; we avoid that by using a genuine finite count distribution.

Formalization scope

This mission supplies a full k≥1 Panjer relation under an exact finite-support frequency model, not general infinite Poisson or geometric counts and not continuous claim severities. Positivity and mass normalisation require additional explicit probability conditions beyond the purely algebraic count recurrence, so the capstone is a valid algebraic identity even before imposing proper probability weights. All formal results remain Lean theorem targets without accepted proofs. The finite model is a reusable foundation for formal-power-series and analytic infinite-frequency cases.

These are original derived finite/analytic Actuarial formalisation targets rather than reproductions of a numbered textbook theorem. Exact Lean binder declarations are authoritative. The complete source uses targeted Mathlib imports and no local Lean compilation. All proof bodies remain genuinely open and do not constitute accepted results. Assumptions about negative rates, survival, policyholder independence, discounting and benefit timing must be preserved exactly.

Selected references

  • Harry H. Panjer (1981), Recursive Evaluation of a Family of Compound Distributions, ASTIN Bulletin 12(1), 22–26. https://doi.org/10.1017/S0515036100006796
  • Bjørn Sundt and William S. Jewell (1981), Further Results on Recursive Evaluation of Compound Distributions, ASTIN Bulletin 12(1), 27–39. https://doi.org/10.1017/S0515036100006802
  • S. David Promislow (2015), Fundamentals of Actuarial Mathematics, third edition, Chapter 21, section 21.11. https://www.oreilly.com/library/view/fundamentals-of-actuarial/9781118782521/ftoc.xhtml
58 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchStochastic Systems·Captain: mikedeng1

Learning Unknown Service Rates in Queues 3: In Heavy Traffic Every α-Consistent Scheduling Policy Has Average Queue-Regret at Least D(μ)(K−1) log t / (4 log log t) Up to Time (K−1)D(μ)/(4ε)Research Paper

Motivation

A switch network is a set of UUU queues served by K≥UK\ge UK≥U servers. In every time slot each server can serve at most one queue, so a scheduler must pick a matching of queues to servers. Such systems model input-queued packet switches, crowdsourcing platforms that route job types to worker types, and wireless links with unknown channel quality. When the success probability of each queue–server link is unknown, the scheduler has to learn it from the services it observes while the queues are building up. This makes switch scheduling a multi-armed bandit problem in which the cost is not cumulative reward but queue length.

Krishnasamy, Sen, Johari and Shakkottai (arXiv:1604.06377, Operations Research 2021) measure a scheduler by its queue-regret: the expected difference between its queue lengths and those of a genie that knows the best matching. They show that the queue-regret has two regimes. In the late stage, once the queues regularly empty, it decays like 1/t1/t1/t (their Theorem 3, the subject of a sibling mission). In the early stage it grows like log⁡t/log⁡log⁡t\log t/\log\log tlogt/loglogt, as the regret of a classical bandit does, and the system is then effectively unstable. This mission is about the early stage, made precise in the paper's Theorem 8: in heavy traffic, where the arrival rates are close to the best service rates, every reasonable policy pays logarithmic queue-regret for a long time.

The lower-bound technique descends from Lai and Robbins (1985): a policy that does well on every instance must explore each sub-optimal link about log⁡t/KL\log t/\mathrm{KL}logt/KL times, a count obtained by a change of measure and the Bretagnolle–Huber inequality.

Setting

Queues are indexed by u∈[U]u\in[U]u∈[U] and servers by k∈[K]k\in[K]k∈[K]. In every slot t≥1t\ge1t≥1, queue uuu receives an arrival Au(t)∼Bernoulli(λu)A_u(t)\sim\mathrm{Bernoulli}(\lambda_u)Au​(t)∼Bernoulli(λu​), and link (u,k)(u,k)(u,k) offers a service Ruk(t)∼Bernoulli(μuk)R_{uk}(t)\sim\mathrm{Bernoulli}(\mu_{uk})Ruk​(t)∼Bernoulli(μuk​). All of these are independent and i.i.d. over slots. Notation:

  • μu∗=max⁡kμuk\mu^*_u=\max_k\mu_{uk}μu∗​=maxk​μuk​, attained at ku∗k^*_uku∗​;
  • ϵu=μu∗−λu\epsilon_u=\mu^*_u-\lambda_uϵu​=μu∗​−λu​ and Δuk=μu∗−μuk\Delta_{uk}=\mu^*_u-\mu_{uk}Δuk​=μu∗​−μuk​;
  • Δ=min⁡u,k≠ku∗Δuk\Delta=\min_{u,k\ne k^*_u}\Delta_{uk}Δ=minu,k=ku∗​​Δuk​, μmin⁡=min⁡μuk\mu_{\min}=\min\mu_{uk}μmin​=minμuk​ and μ∗=max⁡μuk\mu^*=\max\mu_{uk}μ∗=maxμuk​;
  • ϵˉ=1U∑uϵu\bar\epsilon=\frac1U\sum_u\epsilon_uϵˉ=U1​∑u​ϵu​.

Assumption 1 asks that every queue have a unique best server and that the best servers of distinct queues be distinct. Assumption 2 is ϵu>0\epsilon_u>0ϵu​>0 for every uuu. Assumption 3 draws the initial queue vector from the stationary law of the genie queues.

A scheduler picks a matching κ(t)\kappa(t)κ(t), so queue uuu is served by server κu(t)\kappa_u(t)κu​(t). Its decision may use the past schedules, the services observed on the scheduled links, and private randomness. The queues evolve as Qu(t)=(Qu(t−1)+Au(t)−Ruκu(t)(t))+Q_u(t)=(Q_u(t-1)+A_u(t)-R_{u\kappa_u(t)}(t))^+Qu​(t)=(Qu​(t−1)+Au​(t)−Ruκu​(t)​(t))+. The genie always schedules k∗k^*k∗ and has queues Qu∗(t)Q^*_u(t)Qu∗​(t). The queue-regret is Ψu(t)=E[Qu(t)−Qu∗(t)]\Psi_u(t)=\mathbb E[Q_u(t)-Q^*_u(t)]Ψu​(t)=E[Qu​(t)−Qu∗​(t)]. The schedule counts are Tuk(t+1)=∑s=1t1{κu(s)=k}T_{uk}(t+1)=\sum_{s=1}^t\mathbb 1\{\kappa_u(s)=k\}Tuk​(t+1)=∑s=1t​1{κu​(s)=k}.

A policy is α\alphaα-consistent (α∈(0,1)\alpha\in(0,1)α∈(0,1)) if on every instance E[Tuk(t+1)]≤C tα\mathbb E[T_{uk}(t+1)]\le C\,t^{\alpha}E[Tuk​(t+1)]≤Ctα for all uuu and all k≠ku∗k\ne k^*_uk=ku∗​, with a constant CCC that may depend on the instance. The key constant is

D(μ)=ΔKL(μmin⁡,μ∗+12),D(\mu)=\frac{\Delta}{\mathrm{KL}\big(\mu_{\min},\frac{\mu^*+1}{2}\big)},D(μ)=KL(μmin​,2μ∗+1​)Δ​,

where KL\mathrm{KL}KL is the Bernoulli Kullback–Leibler divergence.

Formalization targets

Goal: Theorem 8 (p. 18)

Fix μ\muμ, an α\alphaα-consistent policy and γ>1/(1−α)\gamma>1/(1-\alpha)γ>1/(1−α). There exist constants τ\tauτ and C1C_1C1​, the same for every arrival vector λ\lambdaλ, such that, with T0=max⁡{C1Kγ,τ}T_0=\max\{C_1K^\gamma,\tau\}T0​=max{C1​Kγ,τ} and η=(K−1)D(μ)/(2T0)\eta=(K-1)D(\mu)/(2T_0)η=(K−1)D(μ)/(2T0​):

ϵˉ<η2 ⟹ 1U∑uΨu(t)≥D(μ)4(K−1)log⁡tlog⁡log⁡tfor t∈[T0, (K−1)D(μ)4ϵˉ],\bar\epsilon<\tfrac\eta2\ \Longrightarrow\ \frac1U\sum_u\Psi_u(t)\ge\frac{D(\mu)}4(K-1)\frac{\log t}{\log\log t}\quad\text{for } t\in\Big[T_0,\ \tfrac{(K-1)D(\mu)}{4\bar\epsilon}\Big],ϵˉ<2η​ ⟹ U1​u∑​Ψu​(t)≥4D(μ)​(K−1)loglogtlogt​for t∈[T0​, 4ϵˉ(K−1)D(μ)​], ϵu<η ⟹ Ψu(t)≥D(μ)4max⁡{U−1,2(K−U)}log⁡tlog⁡log⁡tfor t∈[T0, (K−1)D(μ)2ϵu].\epsilon_u<\eta\ \Longrightarrow\ \Psi_u(t)\ge\frac{D(\mu)}4\max\{U-1,2(K-U)\}\frac{\log t}{\log\log t}\quad\text{for } t\in\Big[T_0,\ \tfrac{(K-1)D(\mu)}{2\epsilon_u}\Big].ϵu​<η ⟹ Ψu​(t)≥4D(μ)​max{U−1,2(K−U)}loglogtlogt​for t∈[T0​, 2ϵu​(K−1)D(μ)​].

Milestones

  1. Lemma 18 (Bretagnolle–Huber, p. 37), referenced from the platform.
  2. Lemma 19 (p. 37): for t>τt>\taut>τ, E[Tuk(t+1)]+∑u′≠u1{ku′∗=k}E[Tu′ku∗(t+1)]≥(1−α)log⁡t−log⁡(4KC)KL(μmin⁡,(μ∗+1)/2)\mathbb E[T_{uk}(t+1)]+\sum_{u'\ne u}\mathbb 1\{k^*_{u'}=k\}\mathbb E[T_{u'k^*_u}(t+1)]\ge\frac{(1-\alpha)\log t-\log(4KC)}{\mathrm{KL}(\mu_{\min},(\mu^*+1)/2)}E[Tuk​(t+1)]+∑u′=u​1{ku′∗​=k}E[Tu′ku∗​​(t+1)]≥KL(μmin​,(μ∗+1)/2)(1−α)logt−log(4KC)​.
  3. Corollary 20 (p. 39): the summed forms of Lemma 19, with factors U(K−1)D(μ)U(K-1)D(\mu)U(K−1)D(μ), (U−1)D(μ)(U-1)D(\mu)(U−1)D(μ) and (K−U)D(μ)(K-U)D(\mu)(K−U)D(μ).
  4. Lemma 22 (p. 42): Ψu(t)≥∑k≠ku∗ΔukE[Tuk(t+1)]−ϵut\Psi_u(t)\ge\sum_{k\ne k^*_u}\Delta_{uk}\mathbb E[T_{uk}(t+1)]-\epsilon_u tΨu​(t)≥∑k=ku∗​​Δuk​E[Tuk​(t+1)]−ϵu​t for any policy.

Significance

Theorem 8 complements the late-stage 1/t1/t1/t lower bound. Together they show that queue-regret goes through a phase transition. Up to time of order K/ϵK/\epsilonK/ϵ, the queue-regret of any consistent policy grows like log⁡t/log⁡log⁡t\log t/\log\log tlogt/loglogt. Since the left end of the window does not move as ϵ→0\epsilon\to0ϵ→0 while the right end grows like 1/ϵ1/\epsilon1/ϵ, the heavily loaded regime is exactly where learning costs are visible in queue lengths. The theorem also explains why algorithms designed for the late stage (Q-UCB, Q-ThS in the same paper) cannot avoid this early cost.

The formalization adds a machine-checked statement of a lower bound whose constants are pinned down precisely. In particular it states which quantities τ\tauτ and C1C_1C1​ may depend on (see below). Along the way it builds a reusable model of a learning switch scheduler: randomized, history-dependent policies, the coupled genie system and the stationary initial law. It also provides a Lai–Robbins-type count bound (Lemma 19) for matching bandits. The results are proved on paper in the held preprint (§9.2). To the best of the platform's records none of them has been formalized.

Difficulty

The obvious route to Theorem 8 is to bound the queue-regret below by the regret of the corresponding bandit. That fails, because queue-regret is not cumulative: an empty queue forgives past mistakes. The proof therefore needs the stationary start (Assumption 3), so that E[Qu∗(t)]=E[Qu(0)]\mathbb E[Q^*_u(t)]=\mathbb E[Q_u(0)]E[Qu∗​(t)]=E[Qu​(0)] and the sub-optimal schedules show up as a drift (Lemma 22). This holds only up to a load term ϵut\epsilon_u tϵu​t, which limits the window.

The count bound (Lemma 19) requires a change of measure between two instances that swap the best servers of two queues. It needs a chain rule for the KL divergence of adaptively collected observations, where the policy's own randomness must cancel. Neither the swapped instances nor the trajectory law are standard Mathlib objects.

Formalization scope

  • Queues are Fin U and servers are Fin K, with 1≤U≤K1\le U\le K1≤U≤K and K≥2K\ge2K≥2. K=1K=1K=1 is trivial, and for it Δ\DeltaΔ is an empty minimum.
  • Slots are 1-based. Matchings are embeddings Fin U ↪ Fin K.
  • Probability space. The randomness is a product of independent uniforms on [0,1][0,1][0,1] per slot (arrivals, link services, one private scheduler seed), i.i.d. over slots. Bernoulli variables arise by thresholding. The initial state is drawn independently.
  • Policies see only past schedules and the services on scheduled links (p. 6), plus a private uniform. This covers every randomized, history-dependent policy, and each choice is required to be measurable in the seed.
  • The genie shares the initial state, arrivals and services of the policy's system. Queue-regret is a Lebesgue integral of Qu(t)−Qu∗(t)Q_u(t)-Q^*_u(t)Qu​(t)−Qu∗​(t), a difference bounded by ttt.
  • Assumption 3 is the product of the geometric laws (1−ρu)ρun(1-\rho_u)\rho_u^n(1−ρu​)ρun​, ρu=λu(1−μu∗)/((1−λu)μu∗)\rho_u=\lambda_u(1-\mu^*_u)/((1-\lambda_u)\mu^*_u)ρu​=λu​(1−μu∗​)/((1−λu​)μu∗​). This is the stationary law of the printed recursion.
  • α-consistency quantifies over every instance with entries in [0,1][0,1][0,1] satisfying Assumption 1. The constant is chosen after the instance, and the definition does not mention λ\lambdaλ, because the schedule does not depend on it.
  • D(μ)D(\mu)D(μ) and 1/KL1/\mathrm{KL}1/KL are set to 000 when μ∗=1\mu^*=1μ∗=1, where the divergence is infinite.
  • Lemma 19 and Corollary 20 carry C>0C>0C>0, which is without loss of generality. Corollary 20(c)'s sum ∑k>U\sum_{k>U}∑k>U​ is the sum over servers that are optimal for no queue.
  • Constants of Theorem 8. The paper says τ,C1\tau,C_1τ,C1​ are "independent of (λ,μ)(\lambda,\mu)(λ,μ)". Its proof supports independence of λ\lambdaλ only, so the formal statement chooses τ,C1\tau,C_1τ,C1​ after μ\muμ and the policy but before λ\lambdaλ. Choosing them after λ\lambdaλ would trivialize the theorem, since a huge C1C_1C1​ makes the hypothesis ϵˉ<η/2\bar\epsilon<\eta/2ϵˉ<η/2 unsatisfiable. The formal τ\tauτ also exceeds eee, so that log⁡log⁡t>0\log\log t>0loglogt>0 on the window, and ttt ranges over integers.
  • Assumptions. Assumptions 1–3 appear exactly where the paper uses them: Lemma 22 and Theorem 8 assume all three, Lemma 19 and Corollary 20 only Assumption 1.

The source is the arXiv v4 preprint; the paper's proofs are in its §§8–9. Welcome contributions include the KL chain rule for adaptively scheduled Bernoulli observations, stationarity of the geometric law for the genie chain, and measurability of the trajectory.

Selected references

  • S. Krishnasamy, R. Sen, R. Johari, S. Shakkottai, Learning Unknown Service Rates in Queues: A Multiarmed Bandit Approach, Operations Research 69(1), 2021; preprint arXiv:1604.06377v4. https://arxiv.org/abs/1604.06377
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009. https://doi.org/10.1007/b13794
  • S. Bubeck, V. Perchet, P. Rigollet, Bounded regret in stochastic multi-armed bandits, COLT 2013. https://arxiv.org/abs/1302.1611
9 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchStochastic Systems·Captain: mikedeng1

Learning Unknown Service Rates in Queues 1: Every α-Consistent Scheduling Policy Has Average Queue-Regret at Least λ_min D(μ)(1−α)(K−1)/(8t) for Infinitely Many tResearch Paper

Motivation

Many service systems must route work to servers whose quality is not known in advance: crowdsourcing platforms matching job types to worker types, wireless schedulers assigning users to channels, call centers routing request classes to agent pools. Learning the unknown service rates is a multi-armed bandit problem, but the cost of a bad decision is not a lost reward. It is a longer queue, and a queue can recover from past mistakes when it empties. Krishnasamy, Sen, Johari and Shakkottai (arXiv:1604.06377v4, Operations Research 2021, doi:10.1287/opre.2020.1995) measure the cost of learning by the queue-regret, the expected excess queue length relative to a genie that knows the rates. Their analysis shows two regimes. Early on the regret grows like a bandit regret. After the system has learned enough to stabilize, queues regenerate and the regret decays. This mission formalizes their lower bound for the second regime: no reasonable learning policy can make the late-stage queue-regret decay faster than 1/t1/t1/t.

The lower bound adapts the classical consistency-based bandit lower bounds of Lai and Robbins (1985) and their non-asymptotic, hypothesis-testing form (Bubeck, Perchet and Rigollet 2013) to queue dynamics. The step from counts of suboptimal schedules to queue lengths is specific to queues.

Setting

A switch has UUU queues and K≥UK\ge UK≥U servers. Time is slotted, t=1,2,…t=1,2,\dotst=1,2,…. In slot ttt queue uuu receives an arrival Au(t)∼Bernoulli(λu)A_u(t)\sim\mathrm{Bernoulli}(\lambda_u)Au​(t)∼Bernoulli(λu​), and the link between queue uuu and server kkk offers a service Ruk(t)∼Bernoulli(μuk)R_{uk}(t)\sim\mathrm{Bernoulli}(\mu_{uk})Ruk​(t)∼Bernoulli(μuk​). All of these are independent, and i.i.d. over slots. A problem instance is the pair (λ,μ)(\lambda,\mu)(λ,μ), with every entry in [0,1][0,1][0,1].

In every slot the scheduler picks a matching κ(t)\kappa(t)κ(t): queue uuu is assigned server κu(t)\kappa_u(t)κu​(t), and distinct queues get distinct servers. The scheduler knows neither λ\lambdaλ nor μ\muμ. Its decision in slot ttt may use the past schedules, the services observed on the scheduled links in slots 1,…,t−11,\dots,t-11,…,t−1, and its own randomness. Queue uuu receives Su(t)=Ruκu(t)(t)S_u(t)=R_{u\kappa_u(t)}(t)Su​(t)=Ruκu​(t)​(t) and evolves as

Qu(t)=(Qu(t−1)+Au(t)−Su(t))+.Q_u(t)=\big(Q_u(t-1)+A_u(t)-S_u(t)\big)^+ .Qu​(t)=(Qu​(t−1)+Au​(t)−Su​(t))+.

Assumption 1 (unique optimal matching) says that each queue uuu has a unique best server ku∗k^*_uku∗​, and that u≠u′u\ne u'u=u′ implies ku∗≠ku′∗k^*_u\ne k^*_{u'}ku∗​=ku′∗​. The genie always schedules k∗k^*k∗. Its queues Q∗Q^*Q∗ start from the same Q(0)Q(0)Q(0) and see the same arrivals and offered services, with Su∗(t)=Ruku∗(t)S^*_u(t)=R_{uk^*_u}(t)Su∗​(t)=Ruku∗​​(t). The queue-regret of queue uuu is Ψu(t)=E[Qu(t)−Qu∗(t)]\Psi_u(t)=\mathbb E[Q_u(t)-Q^*_u(t)]Ψu​(t)=E[Qu​(t)−Qu∗​(t)].

Write μu∗=μuku∗\mu^*_u=\mu_{uk^*_u}μu∗​=μuku∗​​, Δuk=μu∗−μuk\Delta_{uk}=\mu^*_u-\mu_{uk}Δuk​=μu∗​−μuk​, Δ=min⁡u,k≠ku∗Δuk\Delta=\min_{u,k\ne k^*_u}\Delta_{uk}Δ=minu,k=ku∗​​Δuk​, μmin⁡=min⁡u,kμuk\mu_{\min}=\min_{u,k}\mu_{uk}μmin​=minu,k​μuk​, μ∗=max⁡u,kμuk\mu^*=\max_{u,k}\mu_{uk}μ∗=maxu,k​μuk​, λmin⁡=min⁡uλu\lambda_{\min}=\min_u\lambda_uλmin​=minu​λu​. With the Bernoulli divergence KL(p,q)=plog⁡pq+(1−p)log⁡1−p1−q\mathrm{KL}(p,q)=p\log\frac pq+(1-p)\log\frac{1-p}{1-q}KL(p,q)=plogqp​+(1−p)log1−q1−p​, display (2) of the paper defines

D(μ)=ΔKL(μmin⁡,μ∗+12).D(\mu)=\frac{\Delta}{\mathrm{KL}\big(\mu_{\min},\tfrac{\mu^*+1}{2}\big)} .D(μ)=KL(μmin​,2μ∗+1​)Δ​.

Let Tuk(t+1)=∑s=1t1{κu(s)=k}T_{uk}(t+1)=\sum_{s=1}^t\mathbf 1\{\kappa_u(s)=k\}Tuk​(t+1)=∑s=1t​1{κu​(s)=k}. For α∈(0,1)\alpha\in(0,1)α∈(0,1), a policy is α\alphaα-consistent (Definition 2) if for every instance with a unique optimal matching there is a constant C(λ,μ)C(\lambda,\mu)C(λ,μ) with E[Tuk(t+1)]≤C(λ,μ) tα\mathbb E[T_{uk}(t+1)]\le C(\lambda,\mu)\,t^\alphaE[Tuk​(t+1)]≤C(λ,μ)tα for all uuu and all k≠ku∗k\ne k^*_uk=ku∗​. Consistency rules out policies tuned to one instance, such as "always schedule a fixed matching", which would have zero regret on that instance and linear regret elsewhere.

Formalization targets

Goal: Theorem 3 (p. 12)

For every instance with a unique optimal matching, every law of the initial queue lengths, every α∈(0,1)\alpha\in(0,1)α∈(0,1) and every α\alphaα-consistent policy:

1U∑u∈[U]Ψu(t)  ≥  λmin⁡8D(μ)(1−α)(K−1)⋅1tfor infinitely many t,\frac1U\sum_{u\in[U]}\Psi_u(t)\;\ge\;\frac{\lambda_{\min}}{8}D(\mu)(1-\alpha)(K-1)\cdot\frac1t\quad\text{for infinitely many } t,U1​u∈[U]∑​Ψu​(t)≥8λmin​​D(μ)(1−α)(K−1)⋅t1​for infinitely many t, Ψu(t)  ≥  λmin⁡8D(μ)(1−α)max⁡{U−1, 2(K−U)}⋅1tfor infinitely many t, for each u.\Psi_u(t)\;\ge\;\frac{\lambda_{\min}}{8}D(\mu)(1-\alpha)\max\{U-1,\,2(K-U)\}\cdot\frac1t\quad\text{for infinitely many } t,\ \text{for each } u.Ψu​(t)≥8λmin​​D(μ)(1−α)max{U−1,2(K−U)}⋅t1​for infinitely many t, for each u.

Milestones

  • Lemma 18 (p. 37), the Bretagnolle–Huber inequality P(A)+Q(Ac)≥12e−KL(P∥Q)P(\mathcal A)+Q(\mathcal A^c)\ge\frac12e^{-\mathrm{KL}(P\|Q)}P(A)+Q(Ac)≥21​e−KL(P∥Q). It is already proved on the platform and enters as a reference.
  • Lemma 19 (p. 37). For t>τt>\taut>τ: E[Tuk(t+1)]+∑u′≠u1{ku′∗=k}E[Tu′ku∗(t+1)]≥(1−α)log⁡t−log⁡(4KC)KL(μmin⁡,(μ∗+1)/2)\mathbb E[T_{uk}(t+1)]+\sum_{u'\ne u}\mathbf 1\{k^*_{u'}=k\}\mathbb E[T_{u'k^*_u}(t+1)]\ge\frac{(1-\alpha)\log t-\log(4KC)}{\mathrm{KL}(\mu_{\min},(\mu^*+1)/2)}E[Tuk​(t+1)]+∑u′=u​1{ku′∗​=k}E[Tu′ku∗​​(t+1)]≥KL(μmin​,(μ∗+1)/2)(1−α)logt−log(4KC)​.
  • Corollary 20 (p. 39). The same bound summed over all queues, over one queue, and over the servers that are optimal for no queue.
  • Lemma 21 (p. 41). For any policy, Ψu(t)≥λu∑k≠ku∗Δuk P[κu(t)=k]\Psi_u(t)\ge\lambda_u\sum_{k\ne k^*_u}\Delta_{uk}\,\mathbb P[\kappa_u(t)=k]Ψu​(t)≥λu​∑k=ku∗​​Δuk​P[κu​(t)=k].
  • Fact 1 (p. 42). If ∑m≤nam≥Clog⁡n\sum_{m\le n}a_m\ge C\log n∑m≤n​am​≥Clogn eventually, then an≥C/(2n)a_n\ge C/(2n)an​≥C/(2n) infinitely often.

A companion item, Lemma 1 (p. 10), states Ψu(t)≤∑l=1tE[Su∗(l)−Su(l)]\Psi_u(t)\le\sum_{l=1}^t\mathbb E[S^*_u(l)-S_u(l)]Ψu​(t)≤∑l=1t​E[Su∗​(l)−Su​(l)]: queue-regret never exceeds the bandit regret.

Significance

Theorem 3 shows that the paper's Q-UCB algorithm, whose late-stage queue-regret is O(log⁡3t/t)O(\log^3 t/t)O(log3t/t) (Theorem 5), is optimal in its dependence on ttt up to polylogarithmic factors. It also separates queue-regret from bandit regret. The bandit regret of a consistent policy grows like log⁡t\log tlogt, while the queue-regret decays to zero. The cost of learning in a queue is transient, but it cannot vanish faster than 1/t1/t1/t. The theorem holds for every initial law of the queues, so it does not depend on the system starting in steady state.

The proof is complete in the source (§9.1, pp. 37–42). As far as we know none of it is machine-checked. A formal development would also give the first formal bandit lower bound in which the consistency class must contain the alternative instances of a change-of-measure argument, here instances with two optimal servers swapped, together with a reusable model of a learning scheduler on a switch.

Difficulty

The obvious route is to bound the regret of each slot by the probability of a suboptimal schedule (Lemma 21), and to bound the number of suboptimal schedules from below by a Lai–Robbins argument. Both steps resist direct proof.

For the first step, QQQ and Q∗Q^*Q∗ share arrivals and services but are not ordered pathwise, because the policy's services are independent across links. A comparison exists only in distribution.

For the second step, the alternative instance must again satisfy Assumption 1, so a single service rate cannot simply be raised. When server kkk is the best server of another queue u′u'u′, the best servers of uuu and u′u'u′ must be swapped, and the divergence decomposition then involves two links.

The final step goes from a cumulative bound to an "infinitely often" bound, and only from a logarithmic lower bound on partial sums. A lower bound on cumulative regret does not give a bound for every large ttt.

Formalization scope

Queues and servers are Fin U and Fin K (0-based), with 1≤U≤K1\le U\le K1≤U≤K. The hypothesis K≥2K\ge2K≥2 is added: for K=1K=1K=1 the policy and the genie coincide and both sides are zero, and the minimum defining Δ\DeltaΔ would range over an empty set. Slots are 1-based.

The probability space is canonical: Ω=NU×SeedN\Omega=\mathbb N^U\times\text{Seed}^{\mathbb N}Ω=NU×SeedN with law ν⊗Unif⊗N\nu\otimes\mathrm{Unif}^{\otimes\mathbb N}ν⊗Unif⊗N. A seed holds one uniform per arrival, one per link and one for the scheduler, and Au(t)=1{Wu(t)≤λu}A_u(t)=\mathbf 1\{W_u(t)\le\lambda_u\}Au​(t)=1{Wu​(t)≤λu​}, Ruk(t)=1{Vuk(t)≤μuk}R_{uk}(t)=\mathbf 1\{V_{uk}(t)\le\mu_{uk}\}Ruk​(t)=1{Vuk​(t)≤μuk​}. A policy maps the history of past schedules and observed services, together with a private uniform seed, to a matching. The only constraint is measurability in the seed, so every randomized history-dependent policy is covered. The law ν\nuν of Q(0)Q(0)Q(0) is arbitrary, as the paper notes after Theorem 3, so Assumption 3 is not used. Assumption 2 (stability under the optimal matching, λu<μu∗\lambda_u<\mu^*_uλu​<μu∗​ for every uuu), which the paper assumes whenever queue-regret is evaluated (p. 8), is a hypothesis of Theorem 3 and of Lemmas 1 and 21. Lemma 19 and Corollary 20 concern schedule counts, which do not depend on the arrival rates.

Ψu(t)\Psi_u(t)Ψu​(t) is a Bochner integral of Qu(t)−Qu∗(t)Q_u(t)-Q^*_u(t)Qu​(t)−Qu∗​(t), which is bounded by ttt. Expected counts are integrals under the seed law, since the schedule never observes arrivals or Q(0)Q(0)Q(0). D(μ)D(\mu)D(μ) and 1/KL1/\mathrm{KL}1/KL are set to 000 when μ∗=1\mu^*=1μ∗=1, where the divergence is +∞+\infty+∞. Corollary 20(c)'s ∑k>U\sum_{k>U}∑k>U​ becomes the sum over servers outside the range of k∗k^*k∗. Fact 1 is stated for every real sequence: the printed "bounded" is not needed and does not hold in the application. "For infinitely many ttt" is ∃ᶠ t in atTop.

α\alphaα-consistency quantifies over every service matrix in [0,1]U×K[0,1]^{U\times K}[0,1]U×K satisfying Assumption 1, and its constant is chosen after the instance. Requiring consistency on the given instance only would make Theorem 3 false, because the genie's own policy has Ψ≡0\Psi\equiv0Ψ≡0. A constant chosen before the instance would make the hypothesis unsatisfiable.

A complete development needs the canonical seed space and its measurability, a chain rule for the KL divergence of the history laws, the Bretagnolle–Huber inequality (available), and an elementary harmonic-sum estimate. The switch model and the consistency class are reusable for the paper's early-stage lower bound and its upper bound. Proofs of any milestone, and alternative proofs of Lemma 21 that avoid the coupling, are welcome.

The source is the arXiv v4 preprint; the paper's proofs are in its §§8–9.

Selected references

  • S. Krishnasamy, R. Sen, R. Johari, S. Shakkottai, Learning Unknown Service Rates in Queues: A Multiarmed Bandit Approach, Operations Research 69(1), 2021. Preprint arXiv:1604.06377v4. https://arxiv.org/abs/1604.06377v4
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6(1), 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009 (Lemma 2.6). https://doi.org/10.1007/b13794
  • S. Bubeck, V. Perchet, P. Rigollet, Bounded regret in stochastic multi-armed bandits, COLT 2013. https://arxiv.org/abs/1302.1611
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Distributionally Robust Joint Chance Constraints with Second-Order Moment Information II: Over Scaling Parameters, Worst-Case CVaR Is Essentially Exact for Joint Chance ConstraintsResearch Paper

Motivation

A chance constraint asks that a decision x∈Rnx\in\mathbb R^nx∈Rn satisfy uncertain inequalities with high probability. In the setting of Zymler, Kuhn and Rustem (Math. Program. 137, 2013), mmm affine inequalities yi0(x)+yi(x)⊤ξ~≤0y_i^0(x)+y_i(x)^\top\tilde\xi\le0yi0​(x)+yi​(x)⊤ξ~​≤0, whose coefficients depend affinely on xxx, must hold jointly with probability at least 1−ϵ1-\epsilon1−ϵ. Joint chance constraints appear wherever several safety conditions must hold at once: portfolio and network design, water reservoir operation, production planning under uncertain demand. They are hard for two reasons. Checking feasibility of a fixed xxx requires a multi-dimensional integral, and the feasible set is typically nonconvex (Prékopa 1995). Moreover the distribution of ξ~\tilde\xiξ~​ is rarely known; often only its mean and covariance can be estimated.

The distributionally robust version requires the constraint for every distribution consistent with the known first and second moments. A standard tractable inner approximation replaces the probability by a worst-case Conditional Value-at-Risk (CVaR) of a single loss. For a joint constraint this needs the mmm inequalities aggregated into one loss, and the choice of aggregation decides how much is lost.

Timeline. Charnes and Cooper (1959) and Miller and Wagner (1965) introduced chance constraints; Prékopa proved convexity of joint constraints with log-concave right-hand sides. Nemirovski and Shapiro (2006) studied convex (CVaR-type) approximations. El Ghaoui, Oks and Oustry (2003) and Calafiore and El Ghaoui (2006) gave exact SDP and SOCP reformulations of individual robust chance constraints under moment information. Chen, Sim, Sun and Teo (2010) introduced scaling parameters and an SOCP approximation of joint constraints. Zymler, Kuhn and Rustem (2013) showed that the worst-case CVaR of the scaled max-loss admits an exact LMI representation and that, with the scaling parameters free, it is essentially exact.

Setting

Let ξ~\tilde\xiξ~​ be a random vector in Rk\mathbb R^kRk. Fix μ∈Rk\mu\in\mathbb R^kμ∈Rk and a positive definite Σ∈Sk\Sigma\in\mathbb S^kΣ∈Sk, and let P\mathcal PP be the set of all probability measures on Rk\mathbb R^kRk with finite second moments, mean μ\muμ and covariance Σ\SigmaΣ. The second-order moment matrix is

Ω=[Σ+μμ⊤μμ⊤1].\Omega=\begin{bmatrix}\Sigma+\mu\mu^\top&\mu\\ \mu^\top&1\end{bmatrix}.Ω=[Σ+μμ⊤μ⊤​μ1​].

For a measurable loss LLL, a probability measure P\mathbb PP and ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1), the CVaR is

P-CVaRϵ(L(ξ~))=inf⁡β∈R{β+1ϵ EP((L(ξ~)−β)+)},\mathbb P\text{-}\mathrm{CVaR}_\epsilon(L(\tilde\xi))=\inf_{\beta\in\mathbb R}\Big\{\beta+\tfrac1\epsilon\,\mathbb E_{\mathbb P}\big((L(\tilde\xi)-\beta)^+\big)\Big\},P-CVaRϵ​(L(ξ~​))=β∈Rinf​{β+ϵ1​EP​((L(ξ~​)−β)+)},

and the worst-case CVaR is its supremum over P∈P\mathbb P\in\mathcal PP∈P.

The data are vectors ai0,aij∈Rna_i^0,a_i^j\in\mathbb R^nai0​,aij​∈Rn and scalars bi0,bijb_i^0,b_i^jbi0​,bij​ for i=1,…,mi=1,\dots,mi=1,…,m, j=1,…,kj=1,\dots,kj=1,…,k, with yij(x)=(aij)⊤x−bijy_i^j(x)=(a_i^j)^\top x-b_i^jyij​(x)=(aij​)⊤x−bij​ and yi(x)=[yi1(x),…,yik(x)]⊤y_i(x)=[y_i^1(x),\dots,y_i^k(x)]^\topyi​(x)=[yi1​(x),…,yik​(x)]⊤. The sets of interest are:

  • the robust joint chance constraint set XJCC={x:inf⁡P∈PP(yi0(x)+yi(x)⊤ξ~≤0 ∀i)≥1−ϵ}\mathcal X^{\mathrm{JCC}}=\{x:\inf_{\mathbb P\in\mathcal P}\mathbb P(y_i^0(x)+y_i(x)^\top\tilde\xi\le0\ \forall i)\ge1-\epsilon\}XJCC={x:infP∈P​P(yi0​(x)+yi​(x)⊤ξ~​≤0 ∀i)≥1−ϵ};
  • its strict version X∘JCC\mathcal X^{\mathrm{JCC}}_\circX∘JCC​, with every ≤0\le0≤0 replaced by <0<0<0;
  • for scaling parameters α∈A={α∈Rm:αi>0 ∀i}\alpha\in\mathcal A=\{\alpha\in\mathbb R^m:\alpha_i>0\ \forall i\}α∈A={α∈Rm:αi​>0 ∀i}, the worst-case CVaR approximation ZJCC(α)={x:J(x,α)≤0}\mathcal Z^{\mathrm{JCC}}(\alpha)=\{x:\mathcal J(x,\alpha)\le0\}ZJCC(α)={x:J(x,α)≤0} with
J(x,α)=sup⁡P∈PP-CVaRϵ(max⁡i=1,…,mαi(yi0(x)+yi(x)⊤ξ~));\mathcal J(x,\alpha)=\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-}\mathrm{CVaR}_\epsilon\Big(\max_{i=1,\dots,m}\alpha_i\big(y_i^0(x)+y_i(x)^\top\tilde\xi\big)\Big);J(x,α)=P∈Psup​P-CVaRϵ​(i=1,…,mmax​αi​(yi0​(x)+yi​(x)⊤ξ~​));
  • the union ZJCC=⋃α∈AZJCC(α)\mathcal Z^{\mathrm{JCC}}=\bigcup_{\alpha\in\mathcal A}\mathcal Z^{\mathrm{JCC}}(\alpha)ZJCC=⋃α∈A​ZJCC(α).

Formalization targets

Goal: Theorem 3.6 (p. 20)

X∘JCC⊆ZJCC⊆XJCC.\mathcal X^{\mathrm{JCC}}_\circ\subseteq\mathcal Z^{\mathrm{JCC}}\subseteq\mathcal X^{\mathrm{JCC}}.X∘JCC​⊆ZJCC⊆XJCC.

The goal makes no regularity assumption on the constraint functions; it holds for all data, all m≥1m\ge1m≥1, all μ\muμ, all Σ≻0\Sigma\succ0Σ≻0 and all ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1).

Milestones

  1. (7), p. 6: for every measurable loss LLL, sup⁡P∈PP-CVaRϵ(L)≤0\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-}\mathrm{CVaR}_\epsilon(L)\le0supP∈P​P-CVaRϵ​(L)≤0 implies inf⁡P∈PP(L≤0)≥1−ϵ\inf_{\mathbb P\in\mathcal P}\mathbb P(L\le0)\ge1-\epsiloninfP∈P​P(L≤0)≥1−ϵ.
  2. p. 17: ZJCC(α)⊆XJCC\mathcal Z^{\mathrm{JCC}}(\alpha)\subseteq\mathcal X^{\mathrm{JCC}}ZJCC(α)⊆XJCC for every α∈A\alpha\in\mathcal Aα∈A.
  3. Lemma A.1, p. 30: sup⁡P∈PEP(f+)=inf⁡{⟨Ω,M⟩:M⪰0, [ξ⊤ 1]M[ξ⊤ 1]⊤≥f(ξ) ∀ξ}\sup_{\mathbb P\in\mathcal P}\mathbb E_{\mathbb P}(f^+)=\inf\{\langle\Omega,M\rangle:M\succeq0,\ [\xi^\top\,1]M[\xi^\top\,1]^\top\ge f(\xi)\ \forall\xi\}supP∈P​EP​(f+)=inf{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥f(ξ) ∀ξ} for every measurable fff.
  4. (31), p. 16: J(x,α)=inf⁡β{β+1ϵsup⁡P∈PEP([max⁡iαi(yi0(x)+yi(x)⊤ξ~)−β]+)}\mathcal J(x,\alpha)=\inf_\beta\{\beta+\frac1\epsilon\sup_{\mathbb P\in\mathcal P}\mathbb E_{\mathbb P}([\max_i\alpha_i(y_i^0(x)+y_i(x)^\top\tilde\xi)-\beta]^+)\}J(x,α)=infβ​{β+ϵ1​supP∈P​EP​([maxi​αi​(yi0​(x)+yi​(x)⊤ξ~​)−β]+)}.
  5. Theorem 3.3, p. 16: ZJCC(α)\mathcal Z^{\mathrm{JCC}}(\alpha)ZJCC(α) is the set of xxx for which some (β,M)(\beta,M)(β,M) satisfies β+1ϵ⟨Ω,M⟩≤0\beta+\frac1\epsilon\langle\Omega,M\rangle\le0β+ϵ1​⟨Ω,M⟩≤0, M⪰0M\succeq0M⪰0 and the mmm LMIs
M−[012αiyi(x)12αiyi(x)⊤αiyi0(x)−β]⪰0.M-\begin{bmatrix}0&\tfrac12\alpha_iy_i(x)\\ \tfrac12\alpha_iy_i(x)^\top&\alpha_iy_i^0(x)-\beta\end{bmatrix}\succeq0 .M−[021​αi​yi​(x)⊤​21​αi​yi​(x)αi​yi0​(x)−β​]⪰0.
  1. Lemma A.2, p. 31: for every Borel S\mathcal SS, sup⁡P∈PP(ξ~∈S)=inf⁡{⟨Ω,M⟩:M⪰0, [ξ⊤ 1]M[ξ⊤ 1]⊤≥1 ∀ξ∈S}\sup_{\mathbb P\in\mathcal P}\mathbb P(\tilde\xi\in\mathcal S)=\inf\{\langle\Omega,M\rangle:M\succeq0,\ [\xi^\top\,1]M[\xi^\top\,1]^\top\ge1\ \forall\xi\in\mathcal S\}supP∈P​P(ξ~​∈S)=inf{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥1 ∀ξ∈S}.
  2. Lemma 2.2 (S-lemma), p. 8: the lossless S-procedure for one strictly feasible quadratic constraint, already proved on the platform.
  3. (40), p. 21: X∘JCC\mathcal X^{\mathrm{JCC}}_\circX∘JCC​ is the set of xxx for which some M⪰0M\succeq0M⪰0 and α>0\alpha>0α>0 satisfy ⟨Ω,M⟩≤ϵ\langle\Omega,M\rangle\le\epsilon⟨Ω,M⟩≤ϵ and the LMIs of Theorem 3.3 with β=−1\beta=-1β=−1.

Significance

The result. The worst-case CVaR approximation ZJCC(α)\mathcal Z^{\mathrm{JCC}}(\alpha)ZJCC(α) is an LMI-representable inner approximation of the robust joint chance constraint for each fixed α\alphaα (Theorem 3.3). Theorem 3.6 says that optimizing over α\alphaα loses at most the boundary between the strict and the non-strict constraint: no tractable family based on the scaled max-loss can be uniformly better. Remark 3.2 of the paper observes that, for well-specified constraints, XJCC\mathcal X^{\mathrm{JCC}}XJCC and X∘JCC\mathcal X^{\mathrm{JCC}}_\circX∘JCC​ differ by a Lebesgue-null set. Together with the inclusions of §3.3, it places the approximation at least as tight as the Bonferroni and Chen–Sim–Sun–Teo approximations and as close to XJCC\mathcal X^{\mathrm{JCC}}XJCC as the strict constraint allows; it is the reason to treat α\alphaα as a decision variable.

Formalizing it. The theorem is proved in the paper; nothing here is open mathematically. None of it is machine-checked. A formal proof requires moment-problem duality for the full moment set (Lemmas A.1 and A.2, which the paper sketches by citing Isii and Calafiore–El Ghaoui), a minimax interchange over a non-compact set of distributions, and the S-lemma, which is available on the platform. Each milestone is reusable: Lemmas A.1 and A.2 are the generalized Chebyshev bounds behind most of moment-based distributionally robust optimization.

Difficulty

The second inclusion is the conservativeness of CVaR, a Markov-type argument. The first inclusion is where the content lies. It requires the worst-case probability of a union of half-spaces to be an attained semidefinite program value, and an S-lemma certificate for each row. The obvious proof applies the S-lemma to every row, but the S-lemma's converse needs a strictly feasible point, which a row with yi(x)=0y_i(x)=0yi​(x)=0 lacks; such rows must be treated separately. Similarly, the SDP representations are stated as existence of a feasible point, so the infima must be shown to be attained. The interchange of the supremum over P\mathcal PP and the infimum over β\betaβ in (31) cannot cite weak compactness: P\mathcal PP is not weakly compact, since mass can escape to infinity while the second moments stay fixed.

Formalization scope

  • Rk\mathbb R^kRk is Fin k → ℝ; matrices in Sk+1\mathbb S^{k+1}Sk+1 are indexed by Fin k ⊕ Unit with the extra coordinate last; M⪰0M\succeq0M⪰0 is Matrix.PosSemidef (which includes symmetry); ⟨X,Y⟩=Tr⁡(XY)\langle X,Y\rangle=\operatorname{Tr}(XY)⟨X,Y⟩=Tr(XY).
  • P\mathcal PP consists of probability measures with every coordinate in L2L^2L2, mean μ\muμ and covariance Σ\SigmaΣ (the published MomentDRO.Conf definitions), so moments are genuine integrals.
  • CVaR, the worst-case CVaR, worst-case expectations and SDP values take values in the extended reals. The expectation of a positive part is a lower Lebesgue integral. A supremum over P\mathcal PP or an infimum over an infeasible set may be infinite.
  • Standing assumptions, carried by every theorem: Σ≻0\Sigma\succ0Σ≻0 and ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1) (p. 5). The theorems about the max-loss also assume m≥1m\ge1m≥1, implicit in the maximum over i=1,…,mi=1,\dots,mi=1,…,m. Milestone (7) assumes the loss measurable, as on p. 5.
  • α∈A\alpha\in\mathcal Aα∈A is componentwise strict positivity, αi>0\alpha_i>0αi​>0 for all iii, not the product-order α>0\alpha>0α>0.
  • A real-valued supremum would be 000 on an unbounded set and make "J(x,α)≤0\mathcal J(x,\alpha)\le0J(x,α)≤0" true by a junk value. The extended-real encoding rules this out, and the moment set is nonempty under Σ≻0\Sigma\succ0Σ≻0, so no statement holds vacuously.
  • Printed slips: the lower-left block "12αiyi⊤\tfrac12\alpha_iy_i^\top21​αi​yi⊤​" of (30) is read as 12αiyi(x)⊤\tfrac12\alpha_iy_i(x)^\top21​αi​yi​(x)⊤; "⋃α∈S\bigcup_{\alpha\in\mathcal S}⋃α∈S​" on p. 20 is read as ⋃α∈A\bigcup_{\alpha\in\mathcal A}⋃α∈A​; the index range "i=1,…,ni=1,\dots,ni=1,…,n" on p. 2 is read as i=1,…,mi=1,\dots,mi=1,…,m. The printed homogeneous S-lemma is replaced by the inhomogeneous one the proofs use.
  • Contributions welcome: the moment-duality lemmas, the minimax interchange (31), attainment of the SDP infima, and the degenerate-row case of (40).

Selected references

  • S. Zymler, D. Kuhn, B. Rustem, Distributionally robust joint chance constraints with second-order moment information, Math. Program. 137 (2013) 167–198. https://doi.org/10.1007/s10107-011-0494-7
  • W. Chen, M. Sim, J. Sun, C.-P. Teo, From CVaR to uncertainty set: implications in joint chance-constrained optimization, Oper. Res. 58 (2010) 470–485. https://doi.org/10.1287/opre.1090.0712
  • G. Calafiore, L. El Ghaoui, On distributionally robust chance-constrained linear programs, J. Optim. Theory Appl. 130 (2006) 1–22. https://doi.org/10.1007/s10957-006-9084-x
  • L. El Ghaoui, M. Oks, F. Oustry, Worst-case value-at-risk and robust portfolio optimization: a conic programming approach, Oper. Res. 51 (2003) 543–556. https://doi.org/10.1287/opre.51.4.543.16101
  • A. Nemirovski, A. Shapiro, Convex approximations of chance constrained programs, SIAM J. Optim. 17 (2006) 969–996. https://doi.org/10.1137/050622328
  • R. T. Rockafellar, S. Uryasev, Optimization of conditional value-at-risk, J. Risk 2 (2000) 21–41. https://doi.org/10.21314/JOR.2000.038
  • A. Prékopa, Stochastic Programming, Kluwer, 1995. https://doi.org/10.1007/978-94-017-3087-7
13 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Distributionally Robust Joint Chance Constraints with Second-Order Moment Information I: Worst-Case CVaR Is Exact for Individual Chance Constraints with Concave or Quadratic LossesResearch Paper

Motivation

A chance constraint asks that an uncertain constraint hold with high probability: a decision is acceptable if the loss L(ξ~)L(\tilde\xi)L(ξ~​) it incurs is nonpositive with probability at least 1−ϵ1-\epsilon1−ϵ. Chance constraints appear in portfolio selection, power-system dispatch, inventory control and engineering design, wherever an occasional violation is tolerable but a frequent one is not. Two obstacles stand in the way of using them. The distribution of ξ~\tilde\xiξ~​ is rarely known exactly, and even when it is, the feasible set of a chance constraint is in general nonconvex and hard to compute.

Distributionally robust chance constraints address the first obstacle by requiring the constraint to hold for every distribution consistent with the available information. Zymler, Kuhn and Rustem (Math. Program. 137, 2013) take that information to be the mean and the covariance of ξ~\tilde\xiξ~​. The standard way around the second obstacle is to replace the probability by the Conditional Value-at-Risk (CVaR) of Rockafellar and Uryasev (J. Risk 2, 2000): a nonpositive CVaR implies the chance constraint, and the worst-case CVaR over a moment set can be computed by semidefinite programming. The approximation is conservative, and the question this mission formalizes is when it loses nothing.

Timeline. Isii (Ann. Inst. Statist. Math. 12, 1960) established strong duality for moment problems, the basis of generalized Chebyshev bounds; Calafiore, Topcu and El Ghaoui (Systems & Control Letters 58, 2009) gave the semidefinite form of the worst-case probability of a set under mean and covariance information that the paper uses as Lemma A.2. El Ghaoui, Oks and Oustry (Oper. Res. 51, 2003) computed the worst-case Value-at-Risk of a portfolio under mean and covariance information. Calafiore and El Ghaoui (J. Optim. Theory Appl. 130, 2006) showed that a distributionally robust individual chance constraint with a loss affine in ξ~\tilde\xiξ~​ is a second-order cone constraint. Zymler, Kuhn and Rustem (2013) showed that the worst-case CVaR approximation is exact for every continuous loss that is concave or quadratic in ξ~\tilde\xiξ~​ (Theorem 2.2), which is the goal of this mission, and extended the approach to joint chance constraints (the companion mission II).

Setting

Let ξ~\tilde\xiξ~​ be a random vector in Rk\mathbb R^kRk. Fix a mean vector μ∈Rk\mu\in\mathbb R^kμ∈Rk and a covariance matrix Σ∈Sk\Sigma\in\mathbb S^kΣ∈Sk with Σ≻0\Sigma\succ0Σ≻0 (positive definite). The moment set P\mathcal PP is the set of all probability distributions P\mathbb PP on Rk\mathbb R^kRk with finite second moments, EP[ξ~]=μ\mathbb E_{\mathbb P}[\tilde\xi]=\muEP​[ξ~​]=μ and EP[(ξ~−μ)(ξ~−μ)⊤]=Σ\mathbb E_{\mathbb P}[(\tilde\xi-\mu)(\tilde\xi-\mu)^\top]=\SigmaEP​[(ξ~​−μ)(ξ~​−μ)⊤]=Σ. The second-order moment matrix is

Ω=[Σ+μμ⊤μμ⊤1],\Omega=\begin{bmatrix}\Sigma+\mu\mu^\top & \mu\\ \mu^\top & 1\end{bmatrix},Ω=[Σ+μμ⊤μ⊤​μ1​],

and ⟨X,Y⟩=Tr⁡(XY)\langle X,Y\rangle=\operatorname{Tr}(XY)⟨X,Y⟩=Tr(XY) is the trace scalar product.

Fix a tolerance ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1) and a loss L:Rk→RL:\mathbb R^k\to\mathbb RL:Rk→R. Write x+=max⁡{x,0}x^+=\max\{x,0\}x+=max{x,0}. The CVaR of L(ξ~)L(\tilde\xi)L(ξ~​) under P\mathbb PP is

P-CVaRϵ(L(ξ~))=inf⁡β∈R{β+1ϵ EP((L(ξ~)−β)+)},\mathbb P\text{-}\mathrm{CVaR}_\epsilon(L(\tilde\xi))=\inf_{\beta\in\mathbb R}\Big\{\beta+\frac1\epsilon\,\mathbb E_{\mathbb P}\big((L(\tilde\xi)-\beta)^+\big)\Big\},P-CVaRϵ​(L(ξ~​))=β∈Rinf​{β+ϵ1​EP​((L(ξ~​)−β)+)},

and the worst-case CVaR is its supremum over P∈P\mathbb P\in\mathcal PP∈P. The distributionally robust individual chance constraint is inf⁡P∈PP(L(ξ~)≤0)≥1−ϵ\inf_{\mathbb P\in\mathcal P}\mathbb P(L(\tilde\xi)\le0)\ge1-\epsiloninfP∈P​P(L(ξ~​)≤0)≥1−ϵ. The worst-case Value-at-Risk is

WC-VaRϵ(L(ξ~))=inf⁡{γ∈R: inf⁡P∈PP(L(ξ~)≤γ)≥1−ϵ}.\mathrm{WC\text{-}VaR}_\epsilon(L(\tilde\xi))=\inf\Big\{\gamma\in\mathbb R:\ \inf_{\mathbb P\in\mathcal P}\mathbb P\big(L(\tilde\xi)\le\gamma\big)\ge1-\epsilon\Big\}.WC-VaRϵ​(L(ξ~​))=inf{γ∈R: P∈Pinf​P(L(ξ~​)≤γ)≥1−ϵ}.

A loss is quadratic if L(ξ)=ξ⊤Qξ+q⊤ξ+q0L(\xi)=\xi^\top Q\xi+q^\top\xi+q^0L(ξ)=ξ⊤Qξ+q⊤ξ+q0, with no sign condition on QQQ.

Formalization targets

Goal: Theorem 2.2

For a continuous loss LLL that is either concave or (possibly nonconcave) quadratic in ξ\xiξ,

sup⁡P∈PP-CVaRϵ(L(ξ~))≤0  ⟺  inf⁡P∈PP(L(ξ~)≤0)≥1−ϵ.\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-}\mathrm{CVaR}_\epsilon\big(L(\tilde\xi)\big)\le0\iff\inf_{\mathbb P\in\mathcal P}\mathbb P\big(L(\tilde\xi)\le0\big)\ge1-\epsilon .P∈Psup​P-CVaRϵ​(L(ξ~​))≤0⟺P∈Pinf​P(L(ξ~​)≤0)≥1−ϵ.

The implication from left to right holds for every loss; the content of the theorem is the converse.

Milestones

  1. (15): for every measurable LLL, the chance constraint holds iff WC-VaRϵ(L(ξ~))≤0\mathrm{WC\text{-}VaR}_\epsilon(L(\tilde\xi))\le0WC-VaRϵ​(L(ξ~​))≤0.
  2. Lemma A.2: for a Borel set S\mathcal SS, sup⁡P∈PP(ξ~∈S)=inf⁡{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥1 ∀ξ∈S}\sup_{\mathbb P\in\mathcal P}\mathbb P(\tilde\xi\in\mathcal S)=\inf\{\langle\Omega,M\rangle: M\succeq0,\ [\xi^\top 1]M[\xi^\top 1]^\top\ge1\ \forall\xi\in\mathcal S\}supP∈P​P(ξ~​∈S)=inf{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥1 ∀ξ∈S}.
  3. Lemma 2.1 (nonlinear Farkas lemma) for convex functions under a Slater point.
  4. Lemma 2.2 (the S\mathcal SS-lemma), through the platform's proved lossless S-procedure.
  5. (20): for the losses of Theorem 2.2,
WC-VaRϵ(L(ξ~))=inf⁡{β+1ϵ⟨Ω,M⟩: M⪰0, [ξ⊤ 1]M[ξ⊤ 1]⊤+β−L(ξ)≥0 ∀ξ}.\mathrm{WC\text{-}VaR}_\epsilon(L(\tilde\xi))=\inf\Big\{\beta+\tfrac1\epsilon\langle\Omega,M\rangle:\ M\succeq0,\ [\xi^\top\ 1]M[\xi^\top\ 1]^\top+\beta-L(\xi)\ge0\ \forall\xi\Big\}.WC-VaRϵ​(L(ξ~​))=inf{β+ϵ1​⟨Ω,M⟩: M⪰0, [ξ⊤ 1]M[ξ⊤ 1]⊤+β−L(ξ)≥0 ∀ξ}.
  1. Lemma A.1: sup⁡P∈PEP((f(ξ~))+)=inf⁡{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥f(ξ) ∀ξ}\sup_{\mathbb P\in\mathcal P}\mathbb E_{\mathbb P}((f(\tilde\xi))^+)=\inf\{\langle\Omega,M\rangle: M\succeq0,\ [\xi^\top 1]M[\xi^\top 1]^\top\ge f(\xi)\ \forall\xi\}supP∈P​EP​((f(ξ~​))+)=inf{⟨Ω,M⟩:M⪰0, [ξ⊤1]M[ξ⊤1]⊤≥f(ξ) ∀ξ} for measurable fff.
  2. The display after (20): for the losses of Theorem 2.2, the worst-case CVaR equals inf⁡β{β+1ϵsup⁡PEP((L(ξ~)−β)+)}\inf_\beta\{\beta+\frac1\epsilon\sup_{\mathbb P}\mathbb E_{\mathbb P}((L(\tilde\xi)-\beta)^+)\}infβ​{β+ϵ1​supP​EP​((L(ξ~​)−β)+)} and the value of the program in (20).
  3. The identity of p. 9: for the losses of Theorem 2.2, the worst-case CVaR equals the worst-case VaR.

Significance

The theorem says that for concave and for quadratic losses the worst-case CVaR constraint, which is a linear matrix inequality in the decision through (20), describes exactly the feasible set of the distributionally robust chance constraint. Its affine special case (Corollary 2.1 of the paper) gives an exact semidefinite representation of robust individual chance constraints with affine dependence on the uncertainty, the case most used in robust portfolio and engineering models. The same equality between worst-case CVaR and worst-case VaR is the starting point of the paper's treatment of joint chance constraints, where an exact representation is obtained by optimizing over scaling parameters (mission II). The quadratic case covers losses such as portfolio variance terms or quadratic constraint functions, which are neither convex nor concave in general.

The results are proved in the paper, but parts of the argument are sketches. Lemmas A.1 and A.2 are strong duality theorems for moment problems that the paper cites from Isii and from Calafiore et al. rather than proves, and the interchange of supremum and infimum in the worst-case CVaR is justified by a citation to a stochastic saddle-point theorem. To our knowledge none of these results has a machine-checked proof. A formalization produces a checked moment-duality theorem with given mean and covariance, a nonlinear Farkas lemma, and a complete proof of the exactness theorem.

Difficulty

The direction from the worst-case CVaR constraint to the chance constraint is elementary. The converse cannot be obtained distribution by distribution: for a single distribution the CVaR is strictly larger than the VaR in general, and for a convex piecewise-linear loss the worst-case equivalence fails (Example 2.1 of the paper). The identity therefore depends on the specific moment set and the specific loss classes, and passes through two infinite-dimensional dualities. The moment set P\mathcal PP is not compact in the weak topology, since mass can escape to infinity while the first two moments stay fixed, so the minimax interchange in the worst-case CVaR does not follow from a standard compact minimax theorem. Lemmas A.1 and A.2 are stated for an arbitrary measurable function and an arbitrary Borel set; their strong duality uses Σ≻0\Sigma\succ0Σ≻0 in an essential way. Finally, the semi-infinite constraint "for all ξ\xiξ with L(ξ)>γL(\xi)>\gammaL(ξ)>γ" involves a strict inequality on a nonconvex set, and turning it into a matrix inequality is where concavity or quadraticity of LLL enters.

Formalization scope

  • Rk\mathbb R^kRk is Fin k → ℝ; matrices in Sk+1\mathbb S^{k+1}Sk+1 are indexed by Fin k ⊕ Unit with the extra coordinate last, so that [ξ⊤1]M[ξ⊤1]⊤[\xi^\top 1]M[\xi^\top 1]^\top[ξ⊤1]M[ξ⊤1]⊤ is liftQuad M ξ. Ω\OmegaΩ is built from the published ConvexOptimization.symQuadBlock.
  • P\mathcal PP is every probability measure with every coordinate in L2L^2L2, mean μ\muμ and covariance Σ\SigmaΣ (the published MomentDRO.Conf.HasSecondMoments, meanVec, covMat). It is not restricted to discrete laws, densities or a support set.
  • The standing assumptions Σ≻0\Sigma\succ0Σ≻0 and ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1) are hypotheses of every theorem. Lemma 2.1 involves no distribution and does not carry them. Lemma A.1 needs measurability of fff and Lemma A.2 a Borel set, as printed; (15) is stated for every measurable loss.
  • CVaR, the worst-case CVaR, the worst-case expectation, the worst-case VaR and the values of the semidefinite programs are extended reals. Expectations of positive parts are lower Lebesgue integrals and may be +∞+\infty+∞; an infimum over an empty feasible set is +∞+\infty+∞. A formalization with real-valued suprema would assign 000 to an unbounded worst-case CVaR and make the constraint "worst-case CVaR ≤0\le 0≤0" hold by a default value; this encoding rules that out.
  • A quadratic loss is ξ⊤Qξ+q⊤ξ+q0\xi^\top Q\xi+q^\top\xi+q^0ξ⊤Qξ+q⊤ξ+q0 with QQQ neither symmetric nor definite; concavity is on all of Rk\mathbb R^kRk.
  • The printed S\mathcal SS-lemma (homogeneous forms, general ppp) is replaced by the platform's proved lossless S-procedure for two inhomogeneous quadratics under a Slater point, which is the form the proof uses.

A complete development needs moment-problem duality on Rk\mathbb R^kRk, a convex Farkas lemma, and the S-procedure (already proved on the platform). The first two are reusable beyond this mission, in particular by mission II, which uses Lemmas A.1 and A.2 verbatim. Proofs of any milestone are welcome independently.

Selected references

  • S. Zymler, D. Kuhn, B. Rustem, Distributionally robust joint chance constraints with second-order moment information, Mathematical Programming 137 (2013) 167–198. https://doi.org/10.1007/s10107-011-0494-7
  • R. T. Rockafellar, S. Uryasev, Optimization of conditional value-at-risk, Journal of Risk 2 (2000) 21–41. https://doi.org/10.21314/JOR.2000.038
  • K. Isii, The extrema of probability determined by generalized moments (I) bounded random variables, Annals of the Institute of Statistical Mathematics 12 (1960) 119–134 (reference [14] of the paper).
  • G. Calafiore, U. Topcu, L. El Ghaoui, Parameter estimation with expected and residual-at-risk criteria, Systems & Control Letters 58 (2009) 39–46 (reference [7] of the paper).
  • L. El Ghaoui, M. Oks, F. Oustry, Worst-case value-at-risk and robust portfolio optimization: a conic programming approach, Operations Research 51 (2003) 543–556. https://doi.org/10.1287/opre.51.4.543.16101
  • G. C. Calafiore, L. El Ghaoui, On distributionally robust chance-constrained linear programs, Journal of Optimization Theory and Applications 130 (2006) 1–22. https://doi.org/10.1007/s10957-006-9084-x
  • I. Pólik, T. Terlaky, A survey of the S-lemma, SIAM Review 49 (2007) 371–418. https://doi.org/10.1137/S003614450444614X
13 thms3 active usersReviewed
Linear algebraMachine LearningNumerical Analysis+2·Captain: mikedeng1

An Introduction to Matrix Concentration Inequalities III: A Matrix Sampling Estimator Satisfies E‖R̄ₙ − B‖ ≤ √(2m₂(R)log(d₁ + d₂)/n) + 2L log(d₁ + d₂)/(3n)Textbook

Motivation

Matrix approximation replaces a large or complicated matrix with a random matrix that is easier to store or compute. Averaging independent realizations improves accuracy while retaining the structure of each realization. Examples in Tropp's monograph include sparse approximations and randomized matrix products. The practical question is how the number of samples, the size of one sample, and its second moment control the spectral norm error. Tropp, §6.2

The book proves a matrix Bernstein inequality in Theorem 6.1.1, then applies it to an empirical matrix average in Corollary 6.2.1. Theorem 6.1.1 is already posed as TroppMatrixConcentration.matrix_bernstein on Prove2Me and is currently Open. This mission records the application with its own hypotheses and constants. The capstone concerns the estimator that a reader would construct, rather than a sum of abstract centered summands. Tropp, §§6.1–6.2

Setting

Let BBB be a fixed complex d1×d2d_1\times d_2d1​×d2​ matrix. A sample matrix RRR has the same size, has expectation BBB, and has spectral norm at most LLL almost surely. The equality ER=B\mathbb ER=BER=B makes one sample an unbiased estimate of BBB. The almost-sure bound limits the size of every sample except on a probability-zero set. The dimensions d1,d2d_1,d_2d1​,d2​ are positive integers, and nnn is a positive sample count.

Take independent copies R1,…,RnR_1,\ldots,R_nR1​,…,Rn​ with the distribution of RRR. Their matrix sampling estimator is

R‾n=1n∑k=1nRk.\overline R_n=\frac1n\sum_{k=1}^nR_k.Rn​=n1​k=1∑n​Rk​.

For any rectangular matrix AAA, A∗A^*A∗ denotes its conjugate transpose and ∥A∥\|A\|∥A∥ its spectral norm. The per-sample second moment is

m2(R)=max⁡{∥E(RR∗)∥,∥E(R∗R)∥}.m_2(R)=\max\{\|\mathbb E(RR^*)\|,\|\mathbb E(R^*R)\|\}.m2​(R)=max{∥E(RR∗)∥,∥E(R∗R)∥}.

Both terms matter for a rectangular matrix: RR∗RR^*RR∗ and R∗RR^*RR∗R act on different coordinate spaces. All expectations of matrices are entrywise expectations, represented by Bochner integrals in Lean. The almost-sure norm bound guarantees the moments used here are finite. Tropp, equations (6.2.4)–(6.2.6)

Formalization targets

Empirical matrix approximation

Corollary 6.2.1 gives an expectation estimate and a tail estimate for the same estimator. For every real t≥0t\ge0t≥0,

E∥R‾n−B∥≤2m2(R)log⁡(d1+d2)n+2Llog⁡(d1+d2)3n,\mathbb E\|\overline R_n-B\|\le \sqrt{\frac{2m_2(R)\log(d_1+d_2)}{n}}+ \frac{2L\log(d_1+d_2)}{3n},E∥Rn​−B∥≤n2m2​(R)log(d1​+d2​)​​+3n2Llog(d1​+d2​)​, P{∥R‾n−B∥≥t}≤(d1+d2)exp⁡(−nt2/2m2(R)+2Lt/3).\mathbb P\{\|\overline R_n-B\|\ge t\}\le (d_1+d_2)\exp\left(\frac{-nt^2/2}{m_2(R)+2Lt/3}\right).P{∥Rn​−B∥≥t}≤(d1​+d2​)exp(m2​(R)+2Lt/3−nt2/2​).

The goal includes both bounds. The expectation estimate controls average error; the tail estimate controls the chance of an error above a chosen threshold. The dimension enters only through log⁡(d1+d2)\log(d_1+d_2)log(d1​+d2​) in the expectation bound and the factor d1+d2d_1+d_2d1​+d2​ in the tail bound. These are the book's constants, including the factors 222 and 333 in the linear terms. Tropp, Corollary 6.2.1, p. 81

Supporting statements

The milestone list follows Corollary 6.1.2 for uncentered summands, the bound ∥n−1(Rk−B)∥≤2L/n\|n^{-1}(R_k-B)\|\le2L/n∥n−1(Rk​−B)∥≤2L/n, and the variance estimate v(R‾n−B)≤m2(R)/nv(\overline R_n-B)\le m_2(R)/nv(Rn​−B)≤m2​(R)/n. Equation (6.2.7) is a companion: a stated lower bound on nnn implies E∥R‾n−B∥≤2ε\mathbb E\|\overline R_n-B\|\le2\varepsilonE∥Rn​−B∥≤2ε for ε>0\varepsilon>0ε>0. Tropp, pp. 77, 82

Significance

The result turns a bound on one random matrix into a quantitative guarantee for an empirical approximation. It lets a user choose a sample count for a target error and evaluate both average error and failure probability. The same framework is instantiated later in the monograph for matrix sparsification and multiplication; those applications depend on controlling LLL and m2(R)m_2(R)m2​(R) for their particular sampling laws. Tropp, §§6.2–6.4

This is a known mathematical result proved in the book. Its Lean statement is an open formalization target. The mission adds a reusable empirical-mean definition and application statements built on the already published matrix spectral norm and rectangular second-moment definitions. A proof of the general matrix Bernstein theorem remains separate; the mission can draw on it when that platform theorem is proved.

Difficulty

The estimator error is a centered sum, but the sampling assumptions are given for an uncentered random matrix RRR. Bounding the centered summands changes the uniform bound from LLL to 2L/n2L/n2L/n. The variance parameter must be related to the second moment of one uncentered sample, with the correct 1/n1/n1/n scaling. Dropping the common-distribution condition would leave no relation between the samples' second moments and m2(R)m_2(R)m2​(R). Applying scalar concentration to entries would not directly give the stated spectral norm bound or its dimension dependence. Tropp, proof of Corollary 6.2.1, p. 82

Formalization scope

Matrices are Matrix (Fin d₁) (Fin d₂) ℂ. The spectral norm and rectSecondMoment are imported from tc's published TroppMatrixConcentration definitions. An arbitrary probability space carries a measurable reference matrix R0R_0R0​ and a finite family RkR_kRk​; iIndepFun expresses independence and IdentDistrib expresses equality in law with R0R_0R0​. The estimator is the finite sum scaled by n−1n^{-1}n−1. No particular sampling scheme or deterministic choice of RRR is fixed: the formal goal requires only the source's unbiasedness and boundedness conditions.

The Lean statements explicitly require d1,d2≥1d_1,d_2\ge1d1​,d2​≥1, n>0n>0n>0, measurability, and the almost-sure form of ∥R∥≤L\|R\|\le L∥R∥≤L. These make the logarithm and inverse sample count meaningful and make the random matrix laws well behaved. For the uncentered Bernstein corollary, integrability of each SkS_kSk​ is explicit because a bounded deviation from an unspecified mean alone does not establish that the mean exists. The goal also asserts integrability of its error norm, preventing a Bochner integral from silently taking Lean's default value for a nonintegrable function. The bound on RRR supplies that integrability. When the denominator in a tail formula is zero, the displayed total real division gives a loose bound at the degenerate case; the source's probabilistic claim remains valid.

Contributions that formalize the centered-summand calculation, the variance estimate, or the transfer from the general matrix Bernstein theorem are within scope. The imported matrix and probability definitions are reusable in other matrix concentration missions. The local empirical-mean definition is reusable whenever a matrix estimator averages finitely many random samples.

Selected references

  • Joel A. Tropp, An Introduction to Matrix Concentration Inequalities, Foundations and Trends in Machine Learning 8(1–2), 2015, arXiv:1501.01571v1, especially §§6.1–6.4.
7 thms3 active usersReviewed
🏆Completed
Linear algebraNumerical AnalysisRandom Matrix Theory·Captain: mikedeng1

An Introduction to Matrix Concentration Inequalities II: A Random Row-and-Column Submatrix Z = PBR Satisfies E‖Z‖² ≤ 3(p/d)(r/n)‖B‖² Plus Logarithmic Row, Column and Entry TermsTextbook

Motivation and context

Large matrices are often reduced by retaining only some rows or columns. The reduced matrix is cheaper to store and apply, but its spectral norm can be distorted by a single unusually large row, column, or entry. A useful estimate must show both the average effect of sampling and the cost of these local concentrations. In §5.2 of Tropp's monograph, matrix Chernoff inequalities give numerical estimates for independently sampled columns and for independently sampled rows and columns. The latter is the capstone of this mission.

The general matrix Chernoff inequality, Theorem 5.1.1, is already an Open goal in tc's Chapter 5 mission on Prove2Me. The intrinsic-dimension Chernoff inequality, Theorem 7.2.1, is likewise Open in tc's Chapter 7 mission. This mission concerns the application statements that those chapter missions have not posed: the numerical bound (5.2.2), its three displayed intermediate estimates, and companion consequences in §§5.1.1, 5.2.1 and 7.2.2. The motivation for choosing this target is that it connects a general concentration result to a concrete random matrix model; its terms can be read directly from a deterministic input matrix.

Setting

Fix a complex matrix B∈Cd×nB\in\mathbb C^{d\times n}B∈Cd×n with d,n≥1d,n\ge1d,n≥1. For each row jjj, let δj\delta_jδj​ equal one when that row is retained and zero otherwise. For each column kkk, let ξk\xi_kξk​ have the analogous meaning. The whole family is independent, with δj∼Bernoulli⁡(p/d)\delta_j\sim\operatorname{Bernoulli}(p/d)δj​∼Bernoulli(p/d) and ξk∼Bernoulli⁡(r/n)\xi_k\sim\operatorname{Bernoulli}(r/n)ξk​∼Bernoulli(r/n), where 0≤p≤d0\le p\le d0≤p≤d and 0≤r≤n0\le r\le n0≤r≤n. Thus ppp and rrr are the expected numbers of retained rows and columns. Put

P=diag⁡(δ1,…,δd),R=diag⁡(ξ1,…,ξn),Z=PBR.P=\operatorname{diag}(\delta_1,\ldots,\delta_d),\qquad R=\operatorname{diag}(\xi_1,\ldots,\xi_n),\qquad Z=PBR.P=diag(δ1​,…,δd​),R=diag(ξ1​,…,ξn​),Z=PBR.

The zeros remain in the matrix: ZZZ has the same dimensions as BBB, but entries in discarded rows or columns vanish. Write bj:b_{j:}bj:​ for row jjj, b:kb_{:k}b:k​ for column kkk, and bjkb_{jk}bjk​ for an entry. Their vector norms are Euclidean, while ∥B∥\|B\|∥B∥ and ∥Z∥\|Z\|∥Z∥ denote the spectral operator norm. The source uses E\mathbb EE for expectation over the selections. Its maxima range over all rows, columns or entries of BBB, so a highly uneven matrix is distinguished from one whose mass is spread evenly.

The first milestone is the streamlined upper matrix Chernoff expectation bound. For a finite independent family of positive semidefinite Hermitian matrices XkX_kXk​ with eigenvalues at most LLL, let Y=∑kXkY=\sum_kX_kY=∑k​Xk​ and μmax⁡=λmax⁡(EY)\mu_{\max}=\lambda_{\max}(\mathbb EY)μmax​=λmax​(EY). The bound uses the book's numerical constant 1.721.721.72. The subsequent milestones specialize this setting to the row and column selectors above. A separate companion states the lower bound with 0.630.630.63 and the two weakened tail inequalities of §5.1.1.

Formalization targets

The goal is the exact displayed estimate (5.2.2), with the book's rounded constants:

E∥PBR∥2≤3pdrn∥B∥2+2plog⁡ddmax⁡k∥b:k∥2+2rlog⁡nnmax⁡j∥bj:∥2+(log⁡d)(log⁡n)max⁡j,k∣bjk∣2.\begin{aligned} \mathbb E\|PBR\|^2\le{}&3\frac pd\frac rn\|B\|^2 +2\frac{p\log d}{d}\max_k\|b_{:k}\|^2\\ &+2\frac{r\log n}{n}\max_j\|b_{j:}\|^2 +(\log d)(\log n)\max_{j,k}|b_{jk}|^2. \end{aligned}E∥PBR∥2≤​3dp​nr​∥B∥2+2dplogd​kmax​∥b:k​∥2+2nrlogn​jmax​∥bj:​∥2+(logd)(logn)j,kmax​∣bjk​∣2.​

Its milestone chain is (5.1.8), followed by (5.2.3), (5.2.4), and (5.2.5). These are the claims the text places immediately before the final estimate. They bound, respectively, the first column-selection stage, the norm of the row-selected matrix, and the largest column norm after row selection. The companion (5.2.1) gives both the top and least squared singular-value bounds for column selection alone. The companion from §7.2.2 replaces log⁡d\log dlogd by log⁡(2srank⁡(B))\log(2\operatorname{srank}(B))log(2srank(B)), where srank⁡(B)=∥B∥F2/∥B∥2\operatorname{srank}(B)=\|B\|_F^2/\|B\|^2srank(B)=∥B∥F2​/∥B∥2 is stable rank.

Significance

The goal separates four sources of size in a sampled matrix. The first term scales the squared spectral norm by the expected row and column retention fractions. The remaining terms record concentrations in a column, a row, and an individual entry. Consequently, the estimate can be evaluated from BBB and the two sampling rates without specifying a distribution for BBB itself. It is an expectation bound, not a claim that every realized submatrix is close to BBB.

The formal development would make the application layer of Tropp's Chapter 5 available alongside tc's general, currently Open matrix Chernoff theorem. A proof of that general theorem does not itself identify the random projectors, their joint independence, or the deterministic quantities on the right side of (5.2.2). The stable-rank companion also links the Chapter 7 notion of intrinsic dimension to a concrete rectangular matrix statistic. Both the chapter's general theorems and this mission's statements remain Open on the platform; none is being presented as already machine proved. Tropp, §§5.2 and 7.2.2 gives the mathematical results.

Difficulty

Sampling both rows and columns introduces two interacting random projectors. Merely applying a one-stage column estimate to BBB leaves the row selection uncontrolled; merely applying a one-stage row estimate leaves the sampled column norms random. The two families must be independent of each other as well as independent internally. That distinction is substantial: separate independence claims for the row family and the column family do not imply independence between PPP and RRR. The final estimate must also retain the book's exact 333 and 222 coefficients rather than replacing the right side by an unspecified constant times a simpler expression.

Formalization scope

Matrices are Matrix (Fin d) (Fin n) ℂ, matching the book's general complex-matrix convention. The spectral norm, extreme eigenvalues, Borel measurable matrix space, and intrinsic dimension come from tc's published definitions, which this mission references. Random selectors are measurable real-valued functions on a probability space; their Bernoulli law specifies almost-sure values zero or one and the probability of one. The row and column selectors form one jointly independent family. Products with diagonal selector matrices define PBPBPB, BRBRBR and PBRPBRPBR; a deterministic diagonal or an unconstrained zero-one function would not be the sampled model.

Every sampling rate is within its Bernoulli domain. Nonzero dimensions keep the maxima over finite, inhabited sets and give the logarithms their intended arguments. Lean's Bochner integral otherwise returns zero on a nonintegrable function; each expectation inequality records integrability in its conclusion, which follows from measurable, bounded Bernoulli selectors and Tropp's standing regularity convention in §2.2.1. The maxima of column, row, and entry magnitudes are real finite suprema, equal to maxima for these finite nonempty index sets. The intrinsic-dimension identity assumes p>0p>0p>0 and B≠0B\ne0B=0 for scale invariance; the final stable-rank bound itself includes zero sampling and the zero matrix.

The definitions of Bernoulli selection, random diagonal projections, sampled matrices, finite norm maxima and stable rank are reusable outside this mission. Contributions can address their structural identities, integrability, the four milestones, the goal, or the independent column-selection companions. The book's constants 1.721.721.72 and 0.630.630.63 are retained as decimals; 333 and 222 are the rounded coefficients printed in (5.2.2), as the text explains on p. 66.

Selected references

  • Joel A. Tropp, An Introduction to Matrix Concentration Inequalities, Foundations and Trends in Machine Learning 8(1–2), 2015, arXiv:1501.01571v1, §§2.1, 2.2, 5.1, 5.2, 7.2.
  • Joel A. Tropp, An Introduction to Matrix Concentration Inequalities, Foundations and Trends in Machine Learning 8(1–2), 2015, DOI:10.1561/2200000048. The formalization cites the pinned arXiv version above for page and equation indices.
11 thms3 active usersReviewed
🏆Completed
CombinatoricsLinear algebraRandom Matrix Theory·Captain: mikedeng1

An Introduction to Matrix Concentration Inequalities I: A Matrix Gaussian Series Satisfies v(Z) ≤ E‖Z‖² ≤ 2v(Z)(1 + log(d₁ + d₂))Textbook

Motivation

Random matrices arise when observations, signs, or model coefficients fluctuate. Their spectral norm measures the largest amplification they can cause to a vector. A bound on that norm can turn entrywise randomness into a statement about the behavior of an entire linear operator. Tropp's chapter develops a common framework for Gaussian and Rademacher sums of fixed matrices, then applies it to Wigner matrices, rectangular Gaussian matrices, random signs, Toeplitz matrices, and a rounding scheme for a quadratic optimization relaxation (Tropp, Chapter 4). The applications show what the general estimate says when the matrices have concrete structure.

The chapter's general matrix-series theorem, Theorem 4.1.1, is already an open statement in tc's Prove2Me Chapter 4 mission. This mission targets the squared-norm comparison in §4.1.2 and the worked consequences that are not part of that existing goal. They are useful benchmarks because their dimensions, coefficients, and variance statistics are explicit. The existing platform status is a formalization status: Tropp proves these mathematical bounds in the cited book; the Chapter 4 theorem and the results proposed here do not yet have machine-checked proofs.

Setting

Fix positive integers d1,d2d_1,d_2d1​,d2​ and a finite family of complex d1×d2d_1\times d_2d1​×d2​ matrices BkB_kBk​. Let γk\gamma_kγk​ be independent standard Gaussian real variables, each with mean zero and variance one. Their matrix Gaussian series is Z=∑kγkBkZ=\sum_k\gamma_k B_kZ=∑k​γk​Bk​. For a complex matrix MMM, write M∗M^*M∗ for its conjugate transpose and ∥M∥\|M\|∥M∥ for its Euclidean operator norm. The matrix variance statistic is

v(Z)=max⁡{∥E(ZZ∗)∥, ∥E(Z∗Z)∥}.v(Z)=\max\{\|\mathbb E(ZZ^*)\|,\ \|\mathbb E(Z^*Z)\|\}.v(Z)=max{∥E(ZZ∗)∥, ∥E(Z∗Z)∥}.

For this Gaussian series, the two expected products equal the corresponding sums of coefficient products, so v(Z)v(Z)v(Z) can be computed from the fixed BkB_kBk​. This is the same statistic and norm as Theorem 4.1.1, equations (4.1.2)–(4.1.4) (Tropp, p. 42). Expectations are entrywise Bochner integrals for matrix-valued functions and ordinary integrals for real quantities.

A Rademacher variable takes values −1-1−1 and 111 with equal probability. Some companion examples replace the Gaussian coefficients by independent Rademacher variables. For a Hermitian square matrix YYY, λmin⁡(Y)\lambda_{\min}(Y)λmin​(Y) denotes its smallest real eigenvalue. In the signed-entry example, the relevant matrix statistic is the larger of the greatest squared row norm and the greatest squared column norm of a fixed matrix.

Formalization targets

Squared norm of a Gaussian series

The goal is the pair of inequalities in (4.1.7), together with explicit integrability of the random squared norm:

v(Z)≤E∥Z∥2≤2v(Z)(1+log⁡(d1+d2)).v(Z)\le\mathbb E\|Z\|^2\le2v(Z)\bigl(1+\log(d_1+d_2)\bigr).v(Z)≤E∥Z∥2≤2v(Z)(1+log(d1​+d2​)).

The constants and the logarithm are exactly those printed on pp. 43–44. The left side identifies a necessary scale; the right side gives a dimension-dependent upper estimate. The two milestones are the Jensen lower-bound display and the tail-integration display in §4.1.2. The latter is stated for any measurable matrix with the chapter's tail bound and positive variance, because the displayed integration step itself uses only those properties. It retains the exact split-point expression and the factor 222.

Worked series

Companion statements record the minimum-eigenvalue consequences (4.6.4)–(4.6.5), the Wigner estimate (4.2.3), the rectangular Gaussian estimate (4.2.6), the randomly signed-entry estimate (4.3.3), the Toeplitz estimate (4.4.3), and the MaxQP rounding scale in §4.5. Their deterministic variance identities are part of the statements, rather than assumptions. In particular the Wigner bound keeps log⁡(2d)\log(2d)log(2d) and the Toeplitz bound keeps the exact coefficient sum dIddI_ddId​ (Tropp, pp. 46–52).

Significance

The squared-norm comparison says that v(Z)v(Z)v(Z) is the correct baseline for the size of a Gaussian series in mean square, while allowing a logarithmic penalty for matrix dimension. It also shows why an expectation estimate and a tail estimate answer different questions: the chapter discusses examples where a tail bound can be loose even when the expected norm is controlled (Tropp, pp. 44–45). The example statements make the abstract variance statistic usable for standard matrix ensembles and for signed matrices with prescribed entries.

A machine-checked development would connect the existing spectral and probability definitions to explicit examples, finite-sum variance identities, and integrability of Gaussian matrix norms. Those components can be reused in later sampling and numerical linear algebra missions. The general Chapter 4 matrix-series theorem remains an open platform target; these application statements are not claimed to be already formalized or proved there.

Difficulty

The central obstacle is moving from a tail estimate for ∥Z∥\|Z\|∥Z∥ to a finite, sharp expectation for ∥Z∥2\|Z\|^2∥Z∥2. The tail estimate has a dimension factor, while the desired bound has its logarithm; an unspecialized bound at a single threshold does not provide the stated constant. At the modeling level, matrix variance uses expectations of matrix products, so it must coincide with the finite sums of coefficient squares for each example. A definition that silently returns zero for a nonintegrable Bochner integral would make the upper inequality misleading. The Gaussian law, measurability, and moment behavior therefore matter to the statement as well as to eventual proofs.

Formalization scope

Matrices use Matrix (Fin d₁) (Fin d₂) ℂ with d1,d2≥1d_1,d_2\ge1d1​,d2​≥1 and tc's spectralNorm and rectSecondMoment definitions. The probability space is arbitrary; coefficient functions are measurable and independent, and their pushforward laws are exactly standard Gaussian or Rademacher as the page requires. Families may be empty. Real random coefficients scale complex matrices. Integrability of ∥Z∥2\|Z\|^2∥Z∥2 is a conclusion of the goal and tail-integration milestone, while the minimum-eigenvalue expectation companion likewise asserts integrability. The tail-integration milestone assumes v(Z)>0v(Z)>0v(Z)>0 because its displayed denominator divides by v(Z)v(Z)v(Z); the Gaussian goal itself includes v(Z)=0v(Z)=0v(Z)=0.

The Wigner coefficients are indexed by pairs i<ji<ji<j; rectangular and signed-entry coefficients by row-column pairs; Toeplitz coefficients by diagonals −(d−1),…,d−1-(d-1),\ldots,d-1−(d−1),…,d−1. The Toeplitz index in Lean is shifted to Fin (2*d-1). Row and column maxima range over the nonempty finite row and column sets. The signed-entry theorem permits complex fixed entries and uses ∣bij∣2|b_{ij}|^2∣bij​∣2; the printed example starts with real entries. MaxQP uses the positive scale α=1/2log⁡(d1+d2)\alpha=1/\sqrt{2\log(d_1+d_2)}α=1/2log(d1​+d2​)​ and tc's positive-semidefinite order for the two relaxation constraints. None of the coefficient-square identities is supplied as a hypothesis; each is a conclusion to establish.

Context. The existing TroppMatrixConcentration.ch4_matrix_series formalizes Theorem 4.1.1 and is Open. Its Gaussian/Rademacher variance identity and norm/tail bounds provide the chapter context. The present goal specializes the same Gaussian model and asks for the separate second-moment result (4.1.7). Reusable contributions include finite-matrix identities, Gaussian moment integrability, and tail-integration lemmas. A valid proof must preserve the actual standard laws and independence, and cannot redefine v(Z)v(Z)v(Z) as the expected squared norm.

Selected references

  • Joel A. Tropp, An Introduction to Matrix Concentration Inequalities, Foundations and Trends in Machine Learning 8(1–2), 2015, arXiv:1501.01571v1, Chapter 4, pp. 42–52.
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOptimization·Captain: mikedeng1

Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition VI: Randomized Proximal Coordinate Descent Has Expected Rate (1 − μ/(dL))^kResearch Paper

Motivation

Many problems in machine learning and statistics have the composite form min⁡xF(x)=f(x)+g(x)\min_x F(x)=f(x)+g(x)minx​F(x)=f(x)+g(x), where fff is a smooth loss and ggg is a non-smooth regularizer such as λ∥x∥1\lambda\|x\|_1λ∥x∥1​. When ggg is separable, g(x)=∑igi(xi)g(x)=\sum_i g_i(x_i)g(x)=∑i​gi​(xi​), the method of choice at scale is often randomized proximal coordinate descent: at each step one coordinate is drawn at random and a one-dimensional proximal problem is solved in that coordinate only. Each step is cheap, and the method underlies standard solvers for ℓ1\ell_1ℓ1​-regularized regression and for the dual of support vector machines.

Classical linear-convergence guarantees for this method assume strong convexity of fff or of FFF (Richtárik and Takáč, 2014), or rely on the Kurdyka–Łojasiewicz property with constants that are hard to make explicit. Karimi, Nutini and Schmidt (arXiv:1608.04636, ECML PKDD 2016) introduced the proximal-PL inequality, a generalization of the Polyak–Łojasiewicz condition to composite problems, and showed that it alone yields linear rates for proximal-gradient methods. Theorem 6 of that paper, the subject of this mission, extends the analysis to randomized proximal coordinate descent.

Timeline. Polyak (1963) and Łojasiewicz (1963) introduced the gradient-domination inequality for smooth problems. Nesterov (2012) analysed randomized coordinate descent for smooth convex problems; Richtárik and Takáč (2014) extended it to composite separable problems under strong convexity. Karimi, Nutini and Schmidt (2016) obtained the rate (1−μ/(dL))k(1-\mu/(dL))^k(1−μ/(dL))k for the proximal coordinate method under proximal-PL alone (Theorem 6, p. 10, proof in Appendix H, p. 23).

Setting

Write Rd\mathbb R^dRd for the Euclidean space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥; xix_ixi​ is the iii-th coordinate of xxx, eie_iei​ the iii-th basis vector, and ∇if(x)\nabla_i f(x)∇i​f(x) the iii-th coordinate of the gradient. The data are:

  • a differentiable f:Rd→Rf:\mathbb R^d\to\mathbb Rf:Rd→R whose gradient is LLL-Lipschitz, ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x)-\nabla f(y)\|\le L\|x-y\|∥∇f(x)−∇f(y)∥≤L∥x−y∥, with L>0L>0L>0;
  • convex univariate functions g1,…,gd:R→Rg_1,\dots,g_d:\mathbb R\to\mathbb Rg1​,…,gd​:R→R and the separable g(x)=∑igi(xi)g(x)=\sum_i g_i(x_i)g(x)=∑i​gi​(xi​);
  • F=f+gF=f+gF=f+g, which has a minimizer x∗x^*x∗; write F∗=F(x∗)F^*=F(x^*)F∗=F(x∗).

For α>0\alpha>0α>0 the quantity

Dg(x,α)=−2αmin⁡y[⟨∇f(x),y−x⟩+α2∥y−x∥2+g(y)−g(x)]\mathcal D_g(x,\alpha)=-2\alpha\min_y\Big[\langle\nabla f(x),y-x\rangle+\frac\alpha2\|y-x\|^2+g(y)-g(x)\Big]Dg​(x,α)=−2αymin​[⟨∇f(x),y−x⟩+2α​∥y−x∥2+g(y)−g(x)]

measures the best decrease of a quadratic upper model of FFF at xxx. FFF satisfies the proximal-PL inequality with constant μ>0\mu>0μ>0 if

12 Dg(x,L) ≥ μ (F(x)−F∗)for all x.\tfrac12\,\mathcal D_g(x,L)\ \ge\ \mu\,\big(F(x)-F^*\big)\qquad\text{for all }x.21​Dg​(x,L) ≥ μ(F(x)−F∗)for all x.

The coordinate-wise proximal-gradient method starts at x0x_0x0​. At step kkk it draws iki_kik​ uniformly from {1,…,d}\{1,\dots,d\}{1,…,d}, independently of the past, and sets xk+1=xk+α⋆eikx_{k+1}=x_k+\alpha^\star e_{i_k}xk+1​=xk​+α⋆eik​​, where α⋆\alpha^\starα⋆ minimizes

α ∇ikf(xk)+L2α2+gik(xk,ik+α)−gik(xk,ik).(16)\alpha\,\nabla_{i_k}f(x_k)+\frac L2\alpha^2+g_{i_k}(x_{k,i_k}+\alpha)-g_{i_k}(x_{k,i_k}).\tag{16}α∇ik​​f(xk​)+2L​α2+gik​​(xk,ik​​+α)−gik​​(xk,ik​​).(16)

Formalization targets

Goal: Theorem 6 (p. 10)

For every k≥0k\ge0k≥0,

E[F(xk)−F∗] ≤ (1−μdL)k[F(x0)−F∗].(17)\mathbb E\big[F(x_k)-F^*\big]\ \le\ \Big(1-\frac{\mu}{dL}\Big)^k\big[F(x_0)-F^*\big].\tag{17}E[F(xk​)−F∗] ≤ (1−dLμ​)k[F(x0​)−F∗].(17)

The constant μ/(dL)\mu/(dL)μ/(dL) is the paper's; no further constant is fixed.

Milestones (Appendix H, p. 23)

  1. (62), the coordinate upper model: F(x+tei)−F(x)≤t∇if(x)+L2t2+gi(xi+t)−gi(xi)F(x+te_i)-F(x)\le t\nabla_i f(x)+\frac L2t^2+g_i(x_i+t)-g_i(x_i)F(x+tei​)−F(x)≤t∇i​f(x)+2L​t2+gi​(xi​+t)−gi​(xi​).
  2. The expected-improvement identity: 1d∑imin⁡t[t∇if(x)+L2t2+gi(xi+t)−gi(xi)]=−12LdDg(x,L)\frac1d\sum_i\min_{t}\big[t\nabla_i f(x)+\frac L2t^2+g_i(x_i+t)-g_i(x_i)\big]=-\frac1{2Ld}\mathcal D_g(x,L)d1​∑i​mint​[t∇i​f(x)+2L​t2+gi​(xi​+t)−gi​(xi​)]=−2Ld1​Dg​(x,L).
  3. (63), the expected descent: E[F(xk+1)∣xk=x]≤F(x)−12LdDg(x,L)\mathbb E[F(x_{k+1})\mid x_k=x]\le F(x)-\frac1{2Ld}\mathcal D_g(x,L)E[F(xk+1​)∣xk​=x]≤F(x)−2Ld1​Dg​(x,L).

A companion statement (not a milestone, not in the paper) asserts that the one-dimensional step (16) exists for convex gig_igi​ and L>0L>0L>0.

Significance

The result. Theorem 6 gives a linear rate for proximal coordinate descent on every composite problem satisfying proximal-PL, a class that contains ℓ1\ell_1ℓ1​-regularized least squares and other problems that are not strongly convex. The rate matches that of plain randomized coordinate descent under PL (Theorem 3 of the paper) with the composite term added, and the factor ddd is the usual price of updating one coordinate per step.

Formalizing it. The result is proved on paper; no machine-checked proof is known. A formal proof requires the coordinate descent lemma, the exchange of a separable minimum with a sum, and an exact accounting of the expectation over random index sequences. The definitions of Dg\mathcal D_gDg​, proximal-PL and the random-coordinate run built here are reusable for other proximal and coordinate methods.

Difficulty

The one-step argument is short once the expected-improvement identity is available; the difficulty is in that identity. Its left side averages over coordinates the minima of one-dimensional models, while Dg\mathcal D_gDg​ is a minimum over the whole space. Equating them requires that the full-space minimum split across coordinates, which is where separability of ggg is used, and that each minimum be attained, which requires convexity of the gig_igi​ and L>0L>0L>0. A second point is the expectation: the iterate after kkk steps is a function of the whole index word (i0,…,ik−1)(i_0,\dots,i_{k-1})(i0​,…,ik−1​), and the one-step expected descent must be propagated through the tower of conditional expectations to the kkk-step bound.

Formalization scope

  • The space is EuclideanSpace ℝ (Fin d) with d≥1d\ge1d≥1 (0 < d); the gradient is Mathlib's gradient f, and ∇if(x)\nabla_i f(x)∇i​f(x) is gradient f x i.
  • The Lipschitz gradient is the literal hypothesis ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x)-\nabla f(y)\|\le L\|x-y\|∥∇f(x)−∇f(y)∥≤L∥x−y∥ with L>0L>0L>0 and Differentiable ℝ f, as in the setup of Theorem 5. Appendix H uses only coordinate-wise Lipschitz continuity, which follows.
  • X∗≠∅X^*\neq\emptysetX∗=∅ is a point x∗x^*x∗ minimizing FFF; F∗F^*F∗ is F(x∗)F(x^*)F(x∗), never a free real.
  • The gig_igi​ are real-valued convex functions. Extended-valued gig_igi​ (box indicators, used for the SVM dual in §4.4) are outside this formalization.
  • The minimum in Dg\mathcal D_gDg​ is a real infimum; it is attained, hence equal to the paper's minimum, for convex gig_igi​ and L>0L>0L>0, and every statement using it carries these hypotheses.
  • The update is any step selection sel(x,i)=x+t⋆ei\mathrm{sel}(x,i)=x+t^\star e_isel(x,i)=x+t⋆ei​ with t⋆t^\start⋆ a minimizer of (16); the selection is a hypothesis-constrained parameter, never an arbitrary map. Equation (16) as printed assigns the minimizing step to xk+1x_{k+1}xk+1​; the iterate xk+α⋆eikx_k+\alpha^\star e_{i_k}xk​+α⋆eik​​ of Appendix H is what is encoded.
  • E[F(xk)−F∗]\mathbb E[F(x_k)-F^*]E[F(xk​)−F∗] is the exact average over all dkd^kdk index words, each of probability d−kd^{-k}d−k, which is the law of i.i.d. uniform coordinates.
  • A formalization that leaves the update unconstrained, takes F∗F^*F∗ as a free constant, or computes Dg\mathcal D_gDg​ as a junk infimum would make the goal false or vacuous; these are ruled out by the conventions above.

Contributions welcome: proofs of the three milestones and the goal, the existence of the coordinate step, and a version with extended-valued gig_igi​.

Selected references

  • H. Karimi, J. Nutini, M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition, ECML PKDD 2016; arXiv:1608.04636v4, 2020. https://arxiv.org/abs/1608.04636
  • P. Richtárik, M. Takáč, Iteration complexity of randomized block-coordinate descent methods for minimizing a composite function, Mathematical Programming 144, 2014. https://doi.org/10.1007/s10107-012-0614-z
  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM J. Optim. 22(2), 2012. https://doi.org/10.1137/100802001
  • B. T. Polyak, Gradient methods for minimizing functionals, USSR Comput. Math. Math. Phys. 3(4), 1963. https://doi.org/10.1016/0041-5553(63)90382-3
7 thms3 active usersReviewed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

A Modern Introduction to Online Learning VIII: Tsallis-INF Has Adversarial Regret 32L∞√((d − 1)T) and Stochastic Pseudo-Regret 256L∞² Σ_i (1 + ln T)/Δ_iTextbook

Why bandit feedback matters

In online learning with bandit feedback, the learner chooses one action and sees only that action's loss. This is the information pattern of sequential trials in which testing one option does not reveal the outcomes of the others. The learner must keep its cumulative loss close to that of a good fixed action while learning which actions are good. A full-information method can update from every arm's loss each round; here the unseen losses have to be handled through the observations the learner actually receives. Chapter 9 of Orabona's text develops this distinction for multi-armed bandits.

Two environments are treated in the chapter. With an oblivious adversary, all losses are fixed before play, although the learner does not know them. With a stochastic environment, each arm has a fixed loss distribution and new losses are drawn across rounds. An algorithm with a guarantee in both environments does not need to be told which generated its data. Theorem 9.17 gives such a pair of guarantees for the FTRL version of Tsallis-INF, using the precise constants stated in the pinned version of the book.

Arms, losses, and the algorithm

There are ddd arms and TTT rounds, numbered 1,…,T1,\ldots,T1,…,T. In round ttt, the learner forms a probability vector xt=(xt,1,…,xt,d)x_t=(x_{t,1},\ldots,x_{t,d})xt​=(xt,1​,…,xt,d​) on the simplex Δd−1\Delta^{d-1}Δd−1, draws an arm AtA_tAt​ with probability xt,ix_{t,i}xt,i​ of choosing iii, and observes only gt,Atg_{t,A_t}gt,At​​. The loss gt,ig_{t,i}gt,i​ of an unchosen arm is not revealed. For an oblivious adversary, the entire table (gt,i)(g_{t,i})(gt,i​) is deterministic and the expectation is over the learner's draws.

Algorithm 9.6 uses the importance-weighted estimate g~t,i=gt,i/xt,i\widetilde g_{t,i}=g_{t,i}/x_{t,i}g​t,i​=gt,i​/xt,i​ if At=iA_t=iAt​=i, and 000 otherwise. Its Tsallis-INF FTRL prediction minimizes, over x∈Δd−1x\in\Delta^{d-1}x∈Δd−1,

⟨∑s=1t−1g~s,x⟩−4L∞t∑i=1dxi.\left\langle\sum_{s=1}^{t-1}\widetilde g_s,x\right\rangle -4L_\infty\sqrt t\sum_{i=1}^{d}\sqrt{x_i}.⟨s=1∑t−1​g​s​,x⟩−4L∞​t​i=1∑d​xi​​.

The minimizer has positive coordinates. Thus each denominator xt,ix_{t,i}xt,i​ used by the estimator is positive. In the stochastic environment, arm iii has mean μi\mu_iμi​; if jjj is a best arm, its gap is Δi=μi−μj\Delta_i=\mu_i-\mu_jΔi​=μi​−μj​. The pull count ST,iS_{T,i}ST,i​ is the number of rounds through TTT in which arm iii is selected. Stochastic pseudo-regret compares the learner's expected loss with TμjT\mu_jTμj​, the expected loss of always playing the best arm.

Formalization targets

The mission's main theorem is the adversarial claim of Theorem 9.17, p. 165. For every fixed comparator arm kkk and losses in [0,L∞][0,L_\infty][0,L∞​],

E ⁣[∑t=1T(gt,At−gt,k)]≤32L∞(d−1)T.\mathbb E\!\left[\sum_{t=1}^{T}(g_{t,A_t}-g_{t,k})\right] \le 32L_\infty\sqrt{(d-1)T}.E[t=1∑T​(gt,At​​−gt,k​)]≤32L∞​(d−1)T​.

Taking kkk to be the best arm in the fixed loss table yields the stated adversarial regret bound. The companion item formalizes the second claim of the same theorem: if the losses are stochastic with a unique best arm and T≥1T\ge1T≥1, then

P ⁣-⁡RegretT≤256L∞2∑i:Δi≠01+ln⁡TΔi.\mathrm{P\!\operatorname{-}Regret}_T \le256L_\infty^2\sum_{i:\Delta_i\ne0}\frac{1+\ln T}{\Delta_i}.P-RegretT​≤256L∞2​i:Δi​=0∑​Δi​1+lnT​.

The milestone list contains the chapter's pseudo-regret decomposition (Lemma 9.10), its sub-Gaussian sample-mean bound (Corollary 9.9, reused from an existing formal statement), and the probability-sensitive Tsallis-INF inequality (9.8). These are distinct mathematical claims rather than alternate names for the final bound.

What the result provides

The adversarial bound grows like T\sqrt{T}T​ and remains valid for any fixed bounded loss table. The stochastic bound instead measures the difficulty of distinguishing arms through the positive gaps Δi\Delta_iΔi​ and grows logarithmically with the horizon for fixed gaps. Both refer to the same FTRL update and the same importance-weighted estimator. The finite-horizon constants 323232 and 256256256 are part of the target, not unspecified factors hidden in asymptotic notation.

Both claims are proved in the book. The work here is to give their hypotheses, random experiment, and algorithm a machine-checkable Lean interface, then formalize the known arguments. At this drafting stage the theorem bodies are open Lean problems; a successful build checks that their statements are well formed, not that the regret bounds have been proved. The resulting finite-history bandit protocol and stochastic pseudo-regret definitions can also support other loss-based bandit algorithms. The existing formalized sub-Gaussian tail bound can be reused for concentration results elsewhere in the chapter.

Where the proof is difficult

The learner observes only one coordinate, while regret is measured against losses across all arms. The importance-weighted estimate corrects the missing observations in expectation, but its size can grow when a selected arm has small probability. Consequently, a bound based only on a uniform estimate of its magnitude loses the probability dependence needed for the theorem's constants. The stochastic claim adds another difficulty: the learner's choices depend on past observed losses, so a current loss must be related to a random pull count without letting the choice depend on that current loss.

There are two tempting but invalid shortcuts. Permitting xtx_txt​ to inspect gtg_tgt​ would change the bandit protocol, and taking an expectation under an arbitrary path measure would no longer describe the arm draws of Algorithm 9.6. The formal statements tie each prediction to its FTRL objective and each path probability to the predictions made along that history.

Formalization scope

Arms are Fin d; the main theorem permits d=1d=1d=1, where both its regret and bound are zero. Rounds retain the book's 1,…,T1,\ldots,T1,…,T indexing. A finite path has a dummy coordinate zero, fixed to an arbitrary anchor arm; this coordinate is never played or scored. The adversarial losses are a fixed table, selected before any draw. A path has probability equal to the product of the algorithm's conditional arm probabilities, and regret against a fixed arm is a finite weighted sum over paths. The FTRL run predicate requires simplex membership, strict positivity, minimization against every simplex point, and dependence only on past arm choices. The last two properties specify the intended update on every possible history.

The stochastic model first samples a loss table from a probability measure and then draws an arm path conditionally using the same Algorithm 9.6. Current-round loss vectors are independent across rounds, while coordinates within one round need not be independent. Each arm has the same mean in every round. The policy is a measurable function of the observed history (past arms and their losses); its expected loss is explicitly integrable. Loss bounds are imposed on every outcome in the chosen sample space, which can be taken as the support of bounded distributions. The stochastic statement adds T≥1T\ge1T≥1 to make the logarithmic formula's domain explicit, and the unique-best-arm assumption ensures every denominator Δi\Delta_iΔi​ in the displayed sum is positive. Lemma 9.10 also spells out the integrability of its means and pull counts.

The development needs finite probability laws, real integrals, simplex geometry, and properties of the square-root regularizer. The independent tail bound for sample means is already available as a referenced theorem. Contributions that establish existence and interiority of the FTRL minimizer, the normalization of the path law, or the stated regret inequalities fit this scope. A choice rule that sees the current loss, a path law unrelated to xtx_txt​, or a zero integrability default does not satisfy the intended bandit model.

Selected references

  • Francesco Orabona, Online Learning: A Modern Introduction Using Convex Optimization, arXiv:1912.13213v10, 2026, Chapter 9, pp. 151–169. arXiv
6 thms3 active usersReviewed
Bandit AlgorithmsMachine LearningReinforcement Learning·Captain: mikedeng1

Provably Efficient Reinforcement Learning with Linear Function Approximation 2: LSVI-UCB Has Regret O(√(d³H³Tι²) + ζdHT√ι) on ζ-Approximately Linear MDPsResearch Paper

Motivation

Reinforcement learning with large or continuous state spaces relies on function approximation: value functions are represented as functions of a ddd-dimensional feature map instead of tables indexed by states. Before 2019, regret guarantees for exploration with function approximation either needed strong assumptions (deterministic dynamics, a generative model) or applied only to tabular problems. Jin, Yang, Wang and Jordan (arXiv:1907.05388, COLT 2020) showed that in a linear MDP, where transitions and rewards are linear in known features, an optimistic version of least-squares value iteration, LSVI-UCB, has regret O~(d3H3T)\tilde O(\sqrt{d^3H^3T})O~(d3H3T​), with no dependence on the number of states or actions (Theorem 3.1).

Exact linearity is rarely satisfied by features chosen in practice. A guarantee that collapses under a small modelling error would say little about real use, and a naive adaptation of linear-bandit methods can break down entirely when the model is wrong. Theorem 3.2 of the same paper addresses this: if the MDP is only ζ\zetaζ-approximately linear, LSVI-UCB with an episode-dependent bonus still has sublinear regret plus an additive term linear in ζT\zeta TζT. This mission formalizes that result. A companion mission formalizes Theorem 3.1.

Setting

An episodic MDP has a measurable state space S\mathcal SS, a finite action set A\mathcal AA, a horizon HHH, and for each step h∈[H]h\in[H]h∈[H] a transition kernel Ph(⋅∣x,a)\mathbb P_h(\cdot\mid x,a)Ph​(⋅∣x,a) and a reward rh:S×A→[0,1]r_h:\mathcal S\times\mathcal A\to[0,1]rh​:S×A→[0,1]. A policy π\piπ chooses an action π(x,h)\pi(x,h)π(x,h) at state xxx and step hhh. Its value functions satisfy the Bellman equation

Qhπ(x,a)=rh(x,a)+∫Vh+1π dPh(⋅∣x,a),Vhπ(x)=Qhπ(x,π(x,h)),VH+1π=0,Q^\pi_h(x,a)=r_h(x,a)+\int V^\pi_{h+1}\,\mathrm d\mathbb P_h(\cdot\mid x,a),\qquad V^\pi_h(x)=Q^\pi_h(x,\pi(x,h)),\qquad V^\pi_{H+1}=0,Qhπ​(x,a)=rh​(x,a)+∫Vh+1π​dPh​(⋅∣x,a),Vhπ​(x)=Qhπ​(x,π(x,h)),VH+1π​=0,

and Vh⋆(x)=max⁡aQh⋆(x,a)V^\star_h(x)=\max_aQ^\star_h(x,a)Vh⋆​(x)=maxa​Qh⋆​(x,a) is the optimal value, with Q⋆Q^\starQ⋆ defined by the same recursion.

A feature map ϕ:S×A→Rd\phi:\mathcal S\times\mathcal A\to\mathbb R^dϕ:S×A→Rd with ∥ϕ∥≤1\|\phi\|\le1∥ϕ∥≤1 makes the MDP ζ\zetaζ-approximately linear (Assumption B) if for every step hhh there are signed measures μh=(μh(1),…,μh(d))\mu_h=(\mu_h^{(1)},\dots,\mu_h^{(d)})μh​=(μh(1)​,…,μh(d)​) on S\mathcal SS and a vector θh\theta_hθh​ with

∥Ph(⋅∣x,a)−⟨ϕ(x,a),μh(⋅)⟩∥TV≤ζ,∣rh(x,a)−⟨ϕ(x,a),θh⟩∣≤ζ\big\|\mathbb P_h(\cdot\mid x,a)-\langle\phi(x,a),\mu_h(\cdot)\rangle\big\|_{\mathrm{TV}}\le\zeta,\qquad|r_h(x,a)-\langle\phi(x,a),\theta_h\rangle|\le\zeta​Ph​(⋅∣x,a)−⟨ϕ(x,a),μh​(⋅)⟩​TV​≤ζ,∣rh​(x,a)−⟨ϕ(x,a),θh​⟩∣≤ζ

for all (x,a)(x,a)(x,a), together with the normalization ∥θh∥≤d\|\theta_h\|\le\sqrt d∥θh​∥≤d​ and a d\sqrt dd​ bound on the masses of μh\mu_hμh​. At ζ=0\zeta=0ζ=0 this is a linear MDP.

LSVI-UCB (Algorithm 1) plays KKK episodes. In episode kkk, with data ϕhτ=ϕ(xhτ,ahτ)\phi^\tau_h=\phi(x^\tau_h,a^\tau_h)ϕhτ​=ϕ(xhτ​,ahτ​) from earlier episodes, it computes backwards from QH+1k≡0Q^k_{H+1}\equiv0QH+1k​≡0

Λhk=∑τ<kϕhτ(ϕhτ)⊤+λI,whk=(Λhk)−1∑τ<kϕhτ[rh(xhτ,ahτ)+max⁡aQh+1k(xh+1τ,a)],\Lambda^k_h=\sum_{\tau<k}\phi^\tau_h(\phi^\tau_h)^\top+\lambda I,\qquad w^k_h=(\Lambda^k_h)^{-1}\sum_{\tau<k}\phi^\tau_h\big[r_h(x^\tau_h,a^\tau_h)+\max_aQ^k_{h+1}(x^\tau_{h+1},a)\big],Λhk​=τ<k∑​ϕhτ​(ϕhτ​)⊤+λI,whk​=(Λhk​)−1τ<k∑​ϕhτ​[rh​(xhτ​,ahτ​)+amax​Qh+1k​(xh+1τ​,a)], Qhk(x,a)=min⁡{⟨whk,ϕ(x,a)⟩+βk∥ϕ(x,a)∥(Λhk)−1, H},Q^k_h(x,a)=\min\big\{\langle w^k_h,\phi(x,a)\rangle+\beta_k\|\phi(x,a)\|_{(\Lambda^k_h)^{-1}},\,H\big\},Qhk​(x,a)=min{⟨whk​,ϕ(x,a)⟩+βk​∥ϕ(x,a)∥(Λhk​)−1​,H},

and then acts greedily, ahk=arg⁡max⁡aQhk(xhk,a)a^k_h=\arg\max_aQ^k_h(x^k_h,a)ahk​=argmaxa​Qhk​(xhk​,a). An adversary may choose each initial state x1kx^k_1x1k​. The regret after KKK episodes is

Regret(K)=∑k=1K[V1⋆(x1k)−V1πk(x1k)],\mathrm{Regret}(K)=\sum_{k=1}^K\big[V^\star_1(x^k_1)-V^{\pi_k}_1(x^k_1)\big],Regret(K)=k=1∑K​[V1⋆​(x1k​)−V1πk​​(x1k​)],

where πk\pi_kπk​ is the greedy policy of episode kkk. Throughout, T=KHT=KHT=KH and ι=log⁡(2dT/p)\iota=\log(2dT/p)ι=log(2dT/p).

Formalization targets

Goal: Theorem 3.2

There are absolute constants c,C>0c,C>0c,C>0 such that for every ζ\zetaζ-approximately linear MDP, every p∈(0,1)p\in(0,1)p∈(0,1) and every run of LSVI-UCB with λ=1\lambda=1λ=1 and βk=c (dι+ζkd)H\beta_k=c\,(d\sqrt\iota+\zeta\sqrt{kd})Hβk​=c(dι​+ζkd​)H, with probability at least 1−p1-p1−p,

Regret(K)≤C(d3H3Tι2+ζdHTι).\mathrm{Regret}(K)\le C\Big(\sqrt{d^3H^3T\iota^2}+\zeta dHT\sqrt\iota\Big).Regret(K)≤C(d3H3Tι2​+ζdHTι​).

The constants are not fixed numerically, so improvements of the constants in the proof do not invalidate the target.

Milestones

The milestones follow Appendix C: the approximate linearity of QπQ^\piQπ (Lemma C.1) and the bound on its weights (Lemma C.2); the trace inequality D.1 and the adversarial-noise bound C.4; the self-normalized concentration bound D.3 (published) and the concentration event of Lemma C.3; the key estimate C.5; approximate optimism C.6; the recursive formula C.7; and the elliptical potential lemma D.2 (published) with the bonus-sum bound (21)–(24).

Significance

Theorem 3.2 shows that the regret of LSVI-UCB degrades gracefully under misspecification: the extra cost is of order ζdHTι\zeta dHT\sqrt\iotaζdHTι​, linear in TTT because of the bias of linear approximation and negligible when ζ≲1/T\zeta\lesssim1/\sqrt Tζ≲1/T​. The paper also converts it into a PAC guarantee with an additive O~(ζdH2)\tilde O(\zeta dH^2)O~(ζdH2) error. It is a reference point for later work on misspecified linear bandits and RL, which asks how far the linear term can be improved.

The result is proved on paper; no machine-checked proof is known. The formalization supplies an episodic MDP on a general measurable state space, LSVI-UCB as a function of the observed data, and its interaction with an adaptive adversary on a filtered probability space. These are shared with the companion mission on Theorem 3.1 and are reusable for other optimistic algorithms with linear function approximation. At ζ=0\zeta=0ζ=0 the goal specializes to Theorem 3.1 under the same normalization; this is a consistency check, not a dependency.

Difficulty

The central difficulty is that the regression targets rh+Vh+1k(xh+1τ)r_h+V^k_{h+1}(x^\tau_{h+1})rh​+Vh+1k​(xh+1τ​) depend on the data through Vh+1kV^k_{h+1}Vh+1k​, which is computed from all earlier episodes. A martingale concentration bound for a fixed function does not apply. Lemma C.3 needs a bound that holds uniformly over the class of functions LSVI-UCB can produce, which requires a covering-number argument whose size depends on βk\beta_kβk​; that is why the constant CCC must be independent of cβc_\betacβ​ and cβc_\betacβ​ is chosen afterwards. Under misspecification a second error appears: the deviations rh−⟨ϕ,θh⟩r_h-\langle\phi,\theta_h\ranglerh​−⟨ϕ,θh​⟩ and (Ph−⟨ϕ,μh⟩)V(\mathbb P_h-\langle\phi,\mu_h\rangle)V(Ph​−⟨ϕ,μh​⟩)V are not mean-zero and can be adversarial, so they cannot be concentrated away. Lemma C.4 absorbs them into the bonus at the price of the ζkd\zeta\sqrt{kd}ζkd​ term in βk\beta_kβk​. Optimism then holds only up to an error that accumulates over the horizon (Lemma C.6).

Formalization scope

  • Indices are 1-based, as on the page; values and estimates are 000 outside 1≤h≤H1\le h\le H1≤h≤H.
  • Values: VπV^\piVπ and V⋆V^\starV⋆ are defined by the Bellman recursions (1) and (2), not by sup⁡π\sup_\pisupπ​.
  • Measurability: the state space is a bare measurable space. Features ϕ(⋅,a)\phi(\cdot,a)ϕ(⋅,a) are assumed measurable, and lemmas about a policy π\piπ assume it measurable, so that every integral is meaningful.
  • Actions: A\mathcal AA is finite and nonempty. Argmax ties are broken towards the least action of a fixed linear order on A\mathcal AA.
  • Interaction: the run is a process adapted to an arbitrary filtration, with actions given by Algorithm 1 and the next-state law holding conditionally on the past. The initial states are only required to be adapted.
  • Probability statements: "with probability 1−p1-p1−p" is "the bad set has (outer) measure at most ppp".
  • Constants: ccc and CCC are quantified before all types, dimensions, horizons, ζ\zetaζ, ppp and runs. The hypotheses d,H,K≥1d,H,K\ge1d,H,K≥1 and 0≤ζ≤10\le\zeta\le10≤ζ≤1 are stated.
  • Assumption B measures the TV distance by the total variation norm ∣ν∣(S)|\nu|(\mathcal S)∣ν∣(S). The page's normalization ∥μh(S)∥≤d\|\mu_h(\mathcal S)\|\le\sqrt d∥μh​(S)∥≤d​ is replaced by the same bound on the vector of total variations (∣μh(i)∣(S))i(|\mu_h^{(i)}|(\mathcal S))_i(∣μh(i)​∣(S))i​, because Lemma C.2 is false under the printed form; the replacement implies the printed condition and holds for tabular MDPs.
  • Lemma C.7 carries the +4Hζ+4H\zeta+4Hζ term that its own proof derives; the printed statement omits it. Theorem 3.2 is unaffected.

Lemmas C.3 and C.5 are formalized as printed. Their proofs use sup⁡x∣Vh+1k(x)∣≤H\sup_x|V^k_{h+1}(x)|\le Hsupx​∣Vh+1k​(x)∣≤H, which Algorithm 1 does not enforce from below; a solver may find that one of them needs an additional argument.

A formalization in which the goal assumes the event E\mathfrak EE, the optimism of Lemma C.6 or the recursion of Lemma C.7, or in which the run does not fix the actions to Algorithm 1's, would be trivial or false; the goal assumes none of these. Contributions are welcome on the linear-algebra lemmas (D.1, C.4, (21)–(24)), on measurability of the LSVI-UCB estimates, and on the covering argument behind Lemma C.3.

Selected references

  • C. Jin, Z. Yang, Z. Wang, M. I. Jordan, Provably Efficient Reinforcement Learning with Linear Function Approximation, COLT 2020; arXiv:1907.05388v2, 2019. https://arxiv.org/abs/1907.05388
  • Y. Abbasi-Yadkori, D. Pál, C. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NeurIPS 2011. https://papers.nips.cc/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html
  • L. F. Yang, M. Wang, Sample-Optimal Parametric Q-Learning Using Linearly Additive Features, ICML 2019; arXiv:1902.04779. https://arxiv.org/abs/1902.04779
16 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition III: Randomized Coordinate Descent Has Expected Rate (1 − μ/(dL))^kResearch Paper

Motivation

Coordinate descent changes one component of a parameter vector at a time. This matters when evaluating or updating a single component is cheaper than handling the full vector, for example in problems with sparse features. The coordinate chosen at each step can be random or selected from the current gradient. Karimi, Nutini, and Schmidt study these choices for objectives that satisfy a Polyak–Łojasiewicz (PL) inequality, a condition that controls objective error by the size of the gradient without assuming convexity. Their Theorem 3 gives an explicit expected rate for uniform random coordinates, while §3.2 gives a rate for the greedy Gauss–Southwell choice. Karimi, Nutini, and Schmidt (2016), §3

The question is how much of the familiar full-gradient linear rate survives when an update sees only one coordinate. The theorem answers this with a dimension factor: each uniform draw accesses one of ddd coordinates, and the rate depends on μ/(dL)\mu/(dL)μ/(dL). The same paper relates the greedy rule to earlier work on coordinate descent and boosting; this mission treats its stated greedy rate as a companion result, using the same coordinate update. Karimi, Nutini, and Schmidt (2016), §§3.1–3.2

Setting

Let d≥1d\ge1d≥1, and let f:Rd→Rf:\mathbb R^d\to\mathbb Rf:Rd→R be differentiable. Write ∇if(x)\nabla_i f(x)∇i​f(x) for coordinate iii of its gradient and eie_iei​ for the corresponding standard basis vector. The paper's coordinate-wise upper bound (5), with L>0L>0L>0, is

f(x+αei)≤f(x)+α∇if(x)+L2α2for every x∈Rd, i∈{1,…,d}, α∈R.f(x+\alpha e_i)\le f(x)+\alpha\nabla_i f(x)+\frac L2\alpha^2 \quad\text{for every }x\in\mathbb R^d,\ i\in\{1,\ldots,d\},\ \alpha\in\mathbb R.f(x+αei​)≤f(x)+α∇i​f(x)+2L​α2for every x∈Rd, i∈{1,…,d}, α∈R.

Here iii ranges over the ddd coordinates. The bound concerns motion along one coordinate. It is the exact smoothness condition used in Theorem 3. Let x∗x^*x∗ be a global minimizer and put f∗=f(x∗)f^*=f(x^*)f∗=f(x∗); thus the solution set is nonempty and f∗f^*f∗ is an attained optimal value. The PL inequality (3) with μ>0\mu>0μ>0 says

12∥∇f(x)∥2≥μ(f(x)−f∗)for every x∈Rd.\frac12\|\nabla f(x)\|^2\ge\mu\bigl(f(x)-f^*\bigr) \quad\text{for every }x\in\mathbb R^d.21​∥∇f(x)∥2≥μ(f(x)−f∗)for every x∈Rd.

The randomized coordinate-descent step (6) draws iki_kik​ uniformly from the ddd coordinates, independently at each time, and sets xk+1=xk−L−1∇ikf(xk)eikx_{k+1}=x_k-L^{-1}\nabla_{i_k}f(x_k)e_{i_k}xk+1​=xk​−L−1∇ik​​f(xk​)eik​​. The initial point x0x_0x0​ is arbitrary. For kkk draws, expectation means the average over all dkd^kdk words (i0,…,ik−1)(i_0,\ldots,i_{k-1})(i0​,…,ik−1​), each assigned weight d−kd^{-k}d−k. In particular, at k=0k=0k=0 the empty word has weight one and the iterate is x0x_0x0​.

The Gauss–Southwell rule instead chooses a coordinate with the largest ∣∇if(xk)∣|\nabla_i f(x_k)|∣∇i​f(xk​)∣; ties may be resolved in any way. Its rate uses a PL inequality in the maximum-coordinate norm, ∥∇f(x)∥∞=max⁡i∣∇if(x)∣\|\nabla f(x)\|_\infty=\max_i|\nabla_i f(x)|∥∇f(x)∥∞​=maxi​∣∇i​f(x)∣, with constant μ1>0\mu_1>0μ1​>0. Karimi, Nutini, and Schmidt (2016), pp. 5–6

Formalization targets

Theorem 3: uniform random coordinates

For every k≥0k\ge0k≥0, the goal is the paper's expected suboptimality bound

E[f(xk)−f∗]≤(1−μdL)k(f(x0)−f∗).\mathbb E[f(x_k)-f^*] \le\left(1-\frac{\mu}{dL}\right)^k\bigl(f(x_0)-f^*\bigr).E[f(xk​)−f∗]≤(1−dLμ​)k(f(x0​)−f∗).

The target includes the specific update (6), the coordinate condition (5), and the PL inequality (3). The three milestones are the paper's displayed one-coordinate decrease, its uniform expected decrease involving ∥∇f(x)∥2\|\nabla f(x)\|^2∥∇f(x)∥2, and the resulting conditional expected gap contraction. They are indexed to the proof of Theorem 3 on page 5. Karimi, Nutini, and Schmidt (2016), Theorem 3 and proof

Greedy coordinate choice

The companion target is the rate stated in §3.2 when the maximum-norm PL inequality holds:

f(xk)−f∗≤(1−μ1L)k(f(x0)−f∗).f(x_k)-f^* \le\left(1-\frac{\mu_1}{L}\right)^k\bigl(f(x_0)-f^*\bigr).f(xk​)−f∗≤(1−Lμ1​​)k(f(x0​)−f∗).

This bound applies to any run that chooses a maximizing coordinate at every step. The different PL modulus is part of the statement; it need not equal the modulus μ\muμ in Theorem 3. Karimi, Nutini, and Schmidt (2016), §3.2

Significance

Theorem 3 gives a quantitative guarantee for a method that reads one gradient component per update. The guarantee depends on the attained optimum, the coordinate smoothness constant, the PL modulus, and the number of coordinates. It applies to objectives satisfying PL even when convexity is unavailable. The companion result records how the stated rate changes when the coordinate is selected by the largest gradient component and the PL condition is measured in the corresponding dual norm. Karimi, Nutini, and Schmidt (2016), §3

The paper proves these claims, but this mission asks for machine-checked proofs of their exact hypotheses and constants. A complete development will make the finite random experiment explicit and give reusable definitions for coordinate updates and expectations of finite coordinate-choice histories. The PL predicate is already published in the theorem library; the coordinate model and the results here remain to be formalized.

Difficulty

A bound for a single coordinate update depends on one component of the gradient. An arbitrary coordinate can have a zero component even when the full gradient is large, so a pointwise decrease with the full gradient norm cannot be asserted for every choice. The theorem instead concerns the expectation over a uniform choice and then over the complete history of choices. The main formal difficulty is keeping those two levels of expectation aligned with a state xkx_kxk​ that itself depends on earlier draws. For the greedy companion, the selected coordinate may not be unique; the statement must cover every maximizing choice without assuming a fixed tie-breaking rule.

Formalization scope

The vector space is EuclideanSpace ℝ (Fin d). The shared definitions give (5), the step (6), the iterate produced by a word Fin k → Fin d, and the expected gap as a real finite sum. The published ShiOptRates.PolyakLojasiewicz predicate represents (3) after multiplying both sides by two. Every theorem using uniform draws assumes d>0d>0d>0; every step with 1/L1/L1/L assumes L>0L>0L>0. The goal also states differentiability, an explicit global minimizer, and μ>0\mu>0μ>0. No convexity is assumed. A free real number called f∗f^*f∗ would change the PL condition and could invalidate the rate, so the formal statement uses f(x∗)f(x^*)f(x∗) throughout.

The index-word average is an exact finite representation of independent uniform sampling, including k=0k=0k=0. It does not sample coordinates without replacement. The companion theorem represents the maximum-norm PL condition by requiring its inequality at every maximizing coordinate, which is equivalent for d>0d>0d>0, and quantifies over every run satisfying the Gauss–Southwell update relation. Useful contributions include proofs of the three displayed milestones, the passage from one draw to the word average, and the greedy companion. The paper's optional remark on sampling proportional to coordinate-specific constants LiL_iLi​ and its exact-coordinate-minimization remark are outside this proposal.

Selected references

  • H. Karimi, J. Nutini, and M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak–Łojasiewicz Condition, ECML PKDD, 2016; arXiv:1608.04636v4.
7 thms3 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming 1: The Randomized Stochastic Gradient Method Has (1/L)E‖∇f(x_R)‖² ≤ (D_f² + σ²Σγ_k²)/Σ(2γ_k − Lγ_k²)Research Paper

Motivation

Stochastic gradient methods are the standard tool for minimizing an objective that can only be accessed through noisy gradient samples. Training a machine-learning model on sampled data, simulation-based optimization, and stochastic programs with endogenous uncertainty are all of this kind. In many of these applications the objective is nonconvex: the loss or the regularizer of a learning problem may be nonconvex, as may the expected cost of a simulation model.

Before 2013 the complexity theory of stochastic approximation (SA) was essentially a convex theory. Robbins and Monro (1951) introduced the method. Polyak and Juditsky (1992) and Nemirovski, Juditsky, Lan and Shapiro (2009) established optimal rates for convex problems, and Lan (2012) unified the smooth, nonsmooth and stochastic convex cases. None of these results covered nonconvex objectives. Ghadimi and Lan (2013) gave the first non-asymptotic complexity bound for a stochastic gradient method on a smooth nonconvex problem. The bound is stated for the expected squared gradient norm at a randomly chosen iterate, and it is the result this mission formalizes.

Setting

The problem is

f∗=inf⁡x∈Rnf(x),f^*=\inf_{x\in\mathbb R^n} f(x),f∗=x∈Rninf​f(x),

where f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is differentiable and bounded below, and its gradient is LLL-Lipschitz: ∥∇f(y)−∇f(x)∥≤L∥y−x∥\|\nabla f(y)-\nabla f(x)\|\le L\|y-x\|∥∇f(y)−∇f(x)∥≤L∥y−x∥ for all x,yx,yx,y. This class is written CL1,1(Rn)\mathcal C^{1,1}_L(\mathbb R^n)CL1,1​(Rn). The function need not be convex.

The gradient is accessible only through a stochastic first-order oracle: at the kkk-th query point xkx_kxk​ it returns G(xk,ξk)G(x_k,\xi_k)G(xk​,ξk​), where ξ1,ξ2,…\xi_1,\xi_2,\dotsξ1​,ξ2​,… are random variables and GGG is a Borel function. Assumption A1 asks that for every k≥1k\ge1k≥1, conditionally on the past, G(xk,ξk)G(x_k,\xi_k)G(xk​,ξk​) is an unbiased estimate of ∇f(xk)\nabla f(x_k)∇f(xk​), and that its error δk=G(xk,ξk)−∇f(xk)\delta_k=G(x_k,\xi_k)-\nabla f(x_k)δk​=G(xk​,ξk​)−∇f(xk​) has second moment E∥δk∥2≤σ2\mathbb E\|\delta_k\|^2\le\sigma^2E∥δk​∥2≤σ2. The noise variables need not be independent of each other or of the iterates.

The randomized stochastic gradient (RSG) method takes an initial point x1x_1x1​, an iteration limit NNN, stepsizes γk\gamma_kγk​ and a probability mass function PRP_RPR​ on {1,…,N}\{1,\dots,N\}{1,…,N}. It draws a random index R∼PRR\sim P_RR∼PR​, runs

xk+1=xk−γk G(xk,ξk),k=1,…,R,x_{k+1}=x_k-\gamma_k\,G(x_k,\xi_k),\qquad k=1,\dots,R,xk+1​=xk​−γk​G(xk​,ξk​),k=1,…,R,

and outputs xRx_RxR​. The mass function used in the main theorem is

PR(k)=2γk−Lγk2∑j=1N(2γj−Lγj2),k=1,…,N.P_R(k)=\frac{2\gamma_k-L\gamma_k^2}{\sum_{j=1}^N(2\gamma_j-L\gamma_j^2)},\qquad k=1,\dots,N.PR​(k)=∑j=1N​(2γj​−Lγj2​)2γk​−Lγk2​​,k=1,…,N.

The constants are Df=[2(f(x1)−f∗)/L]1/2D_f=[2(f(x_1)-f^*)/L]^{1/2}Df​=[2(f(x1​)−f∗)/L]1/2 and, in the convex case with minimizer x∗x^*x∗, DX=∥x1−x∗∥D_X=\|x_1-x^*\|DX​=∥x1​−x∗∥.

Formalization targets

Goal: Theorem 2.1 a)

If 0<γk<2/L0<\gamma_k<2/L0<γk​<2/L for k=1,…,Nk=1,\dots,Nk=1,…,N, N≥1N\ge1N≥1, and RRR has the mass function above, then under Assumption A1

1L E[∥∇f(xR)∥2]≤Df2+σ2∑k=1Nγk2∑k=1N(2γk−Lγk2),\frac1L\,\mathbb E\big[\|\nabla f(x_R)\|^2\big]\le\frac{D_f^2+\sigma^2\sum_{k=1}^N\gamma_k^2}{\sum_{k=1}^N(2\gamma_k-L\gamma_k^2)},L1​E[∥∇f(xR​)∥2]≤∑k=1N​(2γk​−Lγk2​)Df2​+σ2∑k=1N​γk2​​,

where the expectation is over RRR and the noise. Any stepsize sequence below 2/L2/L2/L is allowed, so the goal does not fix a step rule, and the step rules of the paper's corollaries follow from it.

Milestones

  1. The quadratic bound (1.6): ∣f(y)−f(x)−⟨∇f(x),y−x⟩∣≤L2∥y−x∥2|f(y)-f(x)-\langle\nabla f(x),y-x\rangle|\le\frac L2\|y-x\|^2∣f(y)−f(x)−⟨∇f(x),y−x⟩∣≤2L​∥y−x∥2 (already proved on the platform).
  2. The one-step inequality (2.8) and its pathwise sum (2.9).
  3. The conditional mean-zero property (2.10), E[⟨∇f(xk),δk⟩∣ξ[k−1]]=0\mathbb E[\langle\nabla f(x_k),\delta_k\rangle\mid\xi_{[k-1]}]=0E[⟨∇f(xk​),δk​⟩∣ξ[k−1]​]=0.
  4. The averaged bound (2.11), ∑k(γk−L2γk2) E∥∇f(xk)∥2≤f(x1)−f∗+Lσ22∑kγk2\sum_k(\gamma_k-\frac L2\gamma_k^2)\,\mathbb E\|\nabla f(x_k)\|^2\le f(x_1)-f^*+\frac{L\sigma^2}{2}\sum_k\gamma_k^2∑k​(γk​−2L​γk2​)E∥∇f(xk​)∥2≤f(x1​)−f∗+2Lσ2​∑k​γk2​.
  5. The weighting identity: E∥∇f(xR)∥2\mathbb E\|\nabla f(x_R)\|^2E∥∇f(xR​)∥2 equals the PRP_RPR​-weighted average of E∥∇f(xk)∥2\mathbb E\|\nabla f(x_k)\|^2E∥∇f(xk​)∥2.
  6. For the convex companion: co-coercivity (1.8) (already proved on the platform) and its consequence (2.12), 1L∥∇f(y)∥2≤⟨∇f(y),y−x∗⟩\frac1L\|\nabla f(y)\|^2\le\langle\nabla f(y),y-x^*\rangleL1​∥∇f(y)∥2≤⟨∇f(y),y−x∗⟩ when ∇f(x∗)=0\nabla f(x^*)=0∇f(x∗)=0.

Companion statements

Theorem 2.1 b) bounds E[f(xR)−f∗]\mathbb E[f(x_R)-f^*]E[f(xR​)−f∗] by (DX2+σ2∑γk2)/∑(2γk−Lγk2)(D_X^2+\sigma^2\sum\gamma_k^2)/\sum(2\gamma_k-L\gamma_k^2)(DX2​+σ2∑γk2​)/∑(2γk​−Lγk2​) when fff is convex with a minimizer. Corollary 2.2 specializes both bounds to the stepsizes γk=min⁡{1/L,D~/(σN)}\gamma_k=\min\{1/L,\tilde D/(\sigma\sqrt N)\}γk​=min{1/L,D~/(σN​)}:

1L E∥∇f(xR)∥2≤LDf2N+(D~+Df2D~)σN,\frac1L\,\mathbb E\|\nabla f(x_R)\|^2\le\frac{LD_f^2}{N}+\Big(\tilde D+\frac{D_f^2}{\tilde D}\Big)\frac{\sigma}{\sqrt N},L1​E∥∇f(xR​)∥2≤NLDf2​​+(D~+D~Df2​​)N​σ​,

and the analogous bound with DXD_XDX​ for E[f(xR)−f∗]\mathbb E[f(x_R)-f^*]E[f(xR​)−f∗] in the convex case.

Significance

Theorem 2.1 a) is the basic guarantee for stochastic gradient descent on smooth nonconvex objectives. With the stepsizes of Corollary 2.2 it shows that O(σ2/ϵ2)O(\sigma^2/\epsilon^2)O(σ2/ϵ2) oracle calls suffice to reach E∥∇f(xR)∥2≤ϵ\mathbb E\|\nabla f(x_R)\|^2\le\epsilonE∥∇f(xR​)∥2≤ϵ. The paper builds two further methods on it: a two-phase variant with large-deviation guarantees, and a zeroth-order variant (RSGF) that uses Gaussian smoothing when only function values are available. Later analyses of variance-reduced and adaptive stochastic methods for nonconvex problems measure their improvements against this bound.

The result is proved on paper; no machine-checked proof of it is known. A formalized fixed-step bound of the form "some iterate among the first KKK has small expected squared gradient" exists, but it is a different statement: it has no randomized output and no general stepsizes. A complete formalization would check the measure-theoretic content that the paper treats informally: integrability of the iterates' gradients, the conditional-expectation step under dependent noise, and the role of the independence of RRR.

Difficulty

The algebra of (2.8)–(2.9) is routine. The difficulty is in the probability. The noise may depend on the past, so the cross term ⟨∇f(xk),δk⟩\langle\nabla f(x_k),\delta_k\rangle⟨∇f(xk​),δk​⟩ vanishes only in conditional expectation, and only once xkx_kxk​ is known to be measurable with respect to the past. Its integrability is not assumed anywhere: ∇f(xk)\nabla f(x_k)∇f(xk​) must be shown to have a finite second moment from the recursion, the Lipschitz gradient and Assumption A1. The randomized output adds a second step, where E∥∇f(xR)∥2\mathbb E\|\nabla f(x_R)\|^2E∥∇f(xR​)∥2 is rewritten as a weighted average. This needs RRR independent of the noise, and ∥∇f(xk)∥2\|\nabla f(x_k)\|^2∥∇f(xk​)∥2 has to be exhibited as a measurable function of the noise sequence. A proof that replaces xRx_RxR​ by the deterministic weighted average skips exactly this step.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). f∈CL1,1f\in\mathcal C^{1,1}_Lf∈CL1,1​ is the published predicate ConvexOptAlg.SmoothGD.IsBetaSmooth f g L, with the gradient given as a map ggg. f∗f^*f∗ is the greatest lower bound of the range of fff, not an arbitrary lower bound.
  • Indices are 1-based. The iterates satisfy x1x_1x1​ given and xk+1=xk−γkG(xk,ξk)x_{k+1}=x_k-\gamma_kG(x_k,\xi_k)xk+1​=xk​−γk​G(xk​,ξk​) for k≥1k\ge1k≥1, pointwise on the sample space. The noise takes values in a general measurable space.
  • Assumption A1 is stated along the trajectory and in conditional form, with respect to any filtration to which the noise is adapted. The paper's history filtration σ(ξ1,…,ξk)\sigma(\xi_1,\dots,\xi_k)σ(ξ1​,…,ξk​) is one admissible choice. Every conditional expectation and every integral in a hypothesis comes with an integrability clause. Every bounded expectation in a conclusion comes with an integrability conjunct.
  • The output index RRR is a measurable random variable with values in {1,…,N}\{1,\dots,N\}{1,…,N} and law PRP_RPR​. It is assumed independent of the whole noise sequence; the paper leaves this implicit (Step 0 draws RRR before any oracle call).
  • Added hypotheses, all implicit on the page: L>0L>0L>0; γk>0\gamma_k>0γk​>0; independence of RRR. In Corollary 2.2 the stepsize (2.13) is read as γk=1/L\gamma_k=1/Lγk​=1/L when σ=0\sigma=0σ=0, the paper's convention D~/0=+∞\tilde D/0=+\inftyD~/0=+∞, because Lean's D~/0=0\tilde D/0=0D~/0=0 would otherwise give γk=0\gamma_k=0γk​=0.
  • The goal concerns the integral of ∥∇f(xR(ω)(ω))∥2\|\nabla f(x_{R(\omega)}(\omega))\|^2∥∇f(xR(ω)​(ω))∥2 over the sample space. A statement about the weighted sum of E∥∇f(xk)∥2\mathbb E\|\nabla f(x_k)\|^2E∥∇f(xk​)∥2 with RRR removed, or one that drops the integrability conjunct, would trivialize the randomized output and does not formalize the goal.
  • Infrastructure: measurability of the iterates as functions of the noise, the pull-out property of conditional expectation for inner products, and a second-moment induction along the recursion. These are reusable for the paper's two-phase and zeroth-order methods and for other stochastic-approximation analyses. Proofs of any milestone, or of the integrability lemmas on their own, are welcome.

Selected references

  • S. Ghadimi and G. Lan, Stochastic first- and zeroth-order methods for nonconvex stochastic programming, SIAM J. Optim. 23(4), 2341–2368, 2013. Preprint arXiv:1309.5549v1 (cited version). https://arxiv.org/abs/1309.5549
  • H. Robbins and S. Monro, A stochastic approximation method, Ann. Math. Statist. 22(3), 400–407, 1951. https://doi.org/10.1214/aoms/1177729586
  • B. T. Polyak and A. B. Juditsky, Acceleration of stochastic approximation by averaging, SIAM J. Control Optim. 30(4), 838–855, 1992. https://doi.org/10.1137/0330046
  • A. Nemirovski, A. Juditsky, G. Lan and A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM J. Optim. 19(4), 1574–1609, 2009. https://doi.org/10.1137/070704277
  • G. Lan, An optimal method for stochastic composite optimization, Math. Program. 133, 365–397, 2012. https://doi.org/10.1007/s10107-010-0434-y
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
13 thms3 active usersReviewed
PreviousPage 6 of 66Next

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me