Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Random Matrix Theory

63 missions · 27 completed

Missions

Open36Completed27All63
Dynamical SystemsOperations ResearchProbability·Captain: mikedeng1

Subadditive Ergodic Theory 5: For a Stationary Sequence in a Banach Algebra with E(log‖Y₁‖)⁺ < ∞, n⁻¹ log‖Y₁⋯Y_n‖ Converges in [−∞, ∞)Research Paper

Motivation

Products of random linear operators appear wherever a system evolves by repeated application of randomly chosen linear maps: linear recursions with random coefficients, products of random matrices in statistical physics, the growth of random dynamical systems, and population models in random environments. The basic question is the exponential growth rate of the product Y1Y2⋯YnY_1Y_2\cdots Y_nY1​Y2​⋯Yn​. For square matrices, Furstenberg and Kesten (Ann. Math. Statist. 31, 1960) proved that n−1log⁡∥Y1⋯Yn∥n^{-1}\log\|Y_1\cdots Y_n\|n−1log∥Y1​⋯Yn​∥ converges for stationary sequences with a logarithmic moment condition.

Kingman (Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973) showed that this limit theorem is an instance of the subadditive ergodic theorem, and that the instance needs nothing of matrices beyond the norm inequality ∥AB∥≤∥A∥ ∥B∥\|AB\|\le\|A\|\,\|B\|∥AB∥≤∥A∥∥B∥. His Theorem 6 therefore holds in an arbitrary real or complex Banach algebra, including infinite-dimensional ones such as infinite matrices with finite ℓ1\ell_1ℓ1​ norm. It is the source of what later became known as the top Lyapunov exponent of a stationary random operator product.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space. A two-parameter family is a collection x=(xst)x=(x_{st})x=(xst​) of random variables indexed by nonnegative integers s<ts<ts<t. Kingman's conditions (§1.1–1.2) are:

  • S₁: xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ whenever s<t<us<t<us<t<u;
  • S₂: the joint distributions of (xs+1,t+1)(x_{s+1,t+1})(xs+1,t+1​) are the same as those of (xst)(x_{st})(xst​);
  • S₃: gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) is finite for every t≥1t\ge1t≥1 and gt≥−Atg_t\ge -Atgt​≥−At for some constant AAA;
  • S₃′: E(x01+)<∞E(x_{01}^+)<\inftyE(x01+​)<∞, where x+=max⁡(x,0)x^+=\max(x,0)x+=max(x,0).

A family of real random variables satisfying S₁, S₂ and S₃ is a subadditive process. Kingman's Theorem 1 (the goal of the first mission of this series) says that for a subadditive process x0t/tx_{0t}/tx0t​/t converges almost surely and in mean to a finite random variable ξ\xiξ with E(ξ)=γ=inf⁡t≥1gt/tE(\xi)=\gamma=\inf_{t\ge1}g_t/tE(ξ)=γ=inft≥1​gt​/t.

A Banach algebra B\mathfrak BB is a complete normed algebra over R\mathbb RR or C\mathbb CC whose norm satisfies ∥AB∥≤∥A∥ ∥B∥\|AB\|\le\|A\|\,\|B\|∥AB∥≤∥A∥∥B∥. A sequence (Yn)n≥1(Y_n)_{n\ge1}(Yn​)n≥1​ of B\mathfrak BB-valued random elements is stationary if (Yn+1)n≥1(Y_{n+1})_{n\ge1}(Yn+1​)n≥1​ and (Yn)n≥1(Y_n)_{n\ge1}(Yn​)n≥1​ have the same joint law. The log-norm process is

xst=log⁡∥Ys+1Ys+2⋯Yt∥∈[−∞,∞),s<t,x_{st}=\log\|Y_{s+1}Y_{s+2}\cdots Y_t\|\in[-\infty,\infty),\qquad s<t,xst​=log∥Ys+1​Ys+2​⋯Yt​∥∈[−∞,∞),s<t,

with log⁡0=−∞\log 0=-\inftylog0=−∞. Expectations of [−∞,∞)[-\infty,\infty)[−∞,∞)-valued variables are extended expectations E(f)=∫f+ dP−∫f− dPE(f)=\int f^+\,dP-\int f^-\,dPE(f)=∫f+dP−∫f−dP, defined when ∫f+ dP<∞\int f^+\,dP<\infty∫f+dP<∞ and possibly equal to −∞-\infty−∞.

Formalization targets

Goal: Theorem 6 (p. 893)

If (Yn)(Y_n)(Yn​) is a stationary sequence in a real or complex Banach algebra and E{(log⁡∥Y1∥)+}<∞E\{(\log\|Y_1\|)^+\}<\inftyE{(log∥Y1​∥)+}<∞, then

ξ=lim⁡n→∞n−1log⁡∥Y1Y2⋯Yn∥\xi=\lim_{n\to\infty}n^{-1}\log\|Y_1Y_2\cdots Y_n\|ξ=n→∞lim​n−1log∥Y1​Y2​⋯Yn​∥

exists in −∞≤ξ<∞-\infty\le\xi<\infty−∞≤ξ<∞ with probability one, and

E(ξ)=lim⁡n→∞n−1E{log⁡∥Y1Y2⋯Yn∥}.E(\xi)=\lim_{n\to\infty}n^{-1}E\{\log\|Y_1Y_2\cdots Y_n\|\}.E(ξ)=n→∞lim​n−1E{log∥Y1​Y2​⋯Yn​∥}.

The goal fixes no constant and no ergodicity assumption: ξ\xiξ is in general a non-degenerate random variable.

Milestones

  1. (1.2.7), p. 885: under S₁, S₂ and S₃′, E(xst+)<∞E(x_{st}^+)<\inftyE(xst+​)<∞ for all s<ts<ts<t.
  2. Proof of Theorem 2, p. 886: the truncation xst(N)=max⁡(xst,−N(t−s))x^{(N)}_{st}=\max(x_{st},-N(t-s))xst(N)​=max(xst​,−N(t−s)) is a subadditive process for every positive integer NNN.
  3. Theorem 2, p. 885: if xxx satisfies S₁, S₂ and S₃′ but not S₃, then ξ=lim⁡x0t/t\xi=\lim x_{0t}/tξ=limx0t​/t exists with probability one in [−∞,∞)[-\infty,\infty)[−∞,∞) and E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞.
  4. Proof of Theorem 6, p. 893: the log-norm process satisfies S₁, S₂ and S₃′.

Significance

Theorem 6 defines a stochastic spectral radius: if every YnY_nYn​ equals a fixed element yyy, then eξe^\xieξ is the spectral radius of yyy by Gelfand's formula, and for independent YnY_nYn​ with common law π\piπ the limit is a constant ρ(π)\rho(\pi)ρ(π) depending only on π\piπ. For k×kk\times kk×k matrices the theorem reduces to the Furstenberg–Kesten theorem. Theorem 2, the extension of the subadditive ergodic theorem from S₃ to S₃′, is the form needed whenever a process can have mean growth rate −∞-\infty−∞, as happens for products that can vanish or contract superlinearly; it is used well beyond random products.

All results here are proved on paper (Kingman 1973, building on his 1968 paper). None of them is machine-checked: Mathlib has no subadditive ergodic theorem, no Furstenberg–Kesten theorem and no random-product limit in normed algebras. The platform poses an ergodic, constant-limit form of Kingman's theorem (PalmQueueing.Ergodic.kingman_subadditive, open); this mission's Theorem 2 is a different statement (non-ergodic, conclusion E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞ under failure of S₃). A complete development would give the first formal proof of the Furstenberg–Kesten limit, in the generality of Banach algebras.

Difficulty

Theorem 6 is short given Theorems 1 and 2, but the obvious one-line reduction to Theorem 1 fails in two places. First, the log-norm process can take the value −∞-\infty−∞ and its means gtg_tgt​ can be −∞-\infty−∞ or decrease superlinearly, so condition S₃ fails and Theorem 1 does not apply; the case E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞ is a separate theorem (Theorem 2), whose proof must exchange a limit in ttt with a limit in an auxiliary parameter. Second, stationarity of the log-norm process (S₂) is a statement about joint laws on a path space; in a non-separable Banach algebra, multiplication need not be measurable for the product σ\sigmaσ-algebra on B×B\mathfrak B\times\mathfrak BB×B, so it is not automatic that the law of (Yn)(Y_n)(Yn​) determines the joint law of the products Ys+1⋯YtY_{s+1}\cdots Y_tYs+1​⋯Yt​. The main dependency, Theorem 1 itself, is the subject of a separate mission and is not restated here.

Formalization scope

The Lean development fixes these conventions:

  • Families are functions x : ℕ → ℕ → Ω → β; only pairs s<ts<ts<t enter any condition. S₁ is required almost surely for each triple (the weaker hypothesis); the log-norm milestone proves it at every sample point.
  • S₂ and stationarity are equalities of laws of the whole path (Measure.map) on the product σ\sigmaσ-algebra, not equality of one-dimensional marginals.
  • S₃′ and all positive parts are lower Lebesgue integrals; expectations that may be −∞-\infty−∞ are computed as ∫f+−∫f−\int f^+ - \int f^-∫f+−∫f− in EReal, never as Bochner integrals (which return 000 for non-integrable functions).
  • log⁡∥⋅∥\log\|\cdot\|log∥⋅∥ is ENNReal.log of the norm, so log⁡∥0∥=−∞\log\|0\|=-\inftylog∥0∥=−∞; Real.log 0 = 0 would replace a vanishing product's growth rate −∞-\infty−∞ by 000, and is ruled out.
  • B\mathfrak BB is a complete unital NormedRing with NormedAlgebra 𝕜 𝔅, RCLike 𝕜. Each YnY_nYn​ is strongly measurable; B\mathfrak BB is not assumed separable.
  • Limits are Filter.atTop on ℕ in the topology of EReal; the conclusions assert ξ<∞\xi<\inftyξ<∞ almost surely, E(ξ+)<∞E(\xi^+)<\inftyE(ξ+)<∞, and, for (2.3.5), both the existence of the limit of means and its value.

A formalization that replaces the extended logarithm by Real.log, or the extended expectation by a Bochner integral, makes the statement false or trivially different, and is excluded.

Reusable infrastructure: extended expectations of EReal-valued random variables, joint-law stationarity of sequences and two-parameter families, and the truncation lemma for S₃′ processes. Contributions toward Theorem 1 (mission 1 of this series), toward measurability of products of strongly measurable random elements, and toward the milestones in any order are welcome.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973. https://doi.org/10.1214/aop/1176996798
  • J. F. C. Kingman, The ergodic theory of subadditive stochastic processes, J. Roy. Statist. Soc. Ser. B 30:499–510, 1968. https://doi.org/10.1111/j.2517-6161.1968.tb00749.x
  • H. Furstenberg and H. Kesten, Products of random matrices, Ann. Math. Statist. 31:457–469, 1960. https://doi.org/10.1214/aoms/1177705909
8 thms2 active usersReviewed
Dynamical SystemsOperations ResearchProbability·Captain: mikedeng1

Subadditive Ergodic Theory 4: Furstenberg–Kesten — for Stationary Positive Random Matrices, n⁻¹ log [Y₁⋯Y_n]_ij Converges, Independently of i and jResearch Paper

Products of random matrices

Many systems evolve by repeated multiplication by a random linear map: the state of a linear system with randomly varying coefficients, population vectors in a random environment (Leslie models whose rates change from year to year), the transfer matrices of a disordered one-dimensional medium, and the transition operators of a Markov chain in a random environment. In each case the object of interest is the product Xn=Y1Y2⋯YnX_n = Y_1 Y_2 \cdots Y_nXn​=Y1​Y2​⋯Yn​ of random matrices and its growth as n→∞n\to\inftyn→∞.

The basic answer is due to Furstenberg and Kesten (Products of random matrices, Ann. Math. Statist. 31 (1960)): under a logarithmic moment condition and stationarity, n−1log⁡n^{-1}\logn−1log of the size of XnX_nXn​ converges. Their proof was a substantial piece of analysis. In his 1973 IMS Special Invited Paper (Kingman, Subadditive ergodic theory, Ann. Probab. 1 (1973)), J. F. C. Kingman showed that for matrices with strictly positive entries the result is a short corollary of his subadditive ergodic theorem (Theorem 1 of that paper, 1968). This mission formalizes that application: Theorem 5 of the 1973 paper, §2.2, pp. 891–892.

Timeline:

  • 1960: Furstenberg and Kesten prove convergence of n−1log⁡∥Xn∥n^{-1}\log\|X_n\|n−1log∥Xn​∥ and, for positive matrices, of n−1log⁡[Xn]ijn^{-1}\log[X_n]_{ij}n−1log[Xn​]ij​.
  • 1968: Kingman proves the subadditive ergodic theorem (J. Roy. Statist. Soc. B 30).
  • 1973: Kingman's survey deduces the positive-matrix theorem (Theorem 5) and the general Banach-algebra version (Theorem 6) from it.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space, k≥1k\ge1k≥1, and let Y1,Y2,…Y_1, Y_2,\dotsY1​,Y2​,… be random k×kk\times kk×k real matrices. Write [A]ij[A]_{ij}[A]ij​ for the (i,j)(i,j)(i,j)th entry of a matrix AAA, and

Xn=Y1Y2⋯Yn(2.2.1),X_n = Y_1 Y_2\cdots Y_n \qquad (2.2.1),Xn​=Y1​Y2​⋯Yn​(2.2.1),

the product taken left to right. The sequence (Yn)(Y_n)(Yn​) is stationary if the joint law of (Y2,Y3,… )(Y_2, Y_3, \dots)(Y2​,Y3​,…) equals the joint law of (Y1,Y2,… )(Y_1, Y_2, \dots)(Y1​,Y2​,…); this is a statement about all finite-dimensional distributions at once, and it includes the case of independent identically distributed matrices.

The proof works with the diagonal process

zst=[Ys+1Ys+2⋯Yt]11,xst=−log⁡zst(s<t),z_{st} = [Y_{s+1}Y_{s+2}\cdots Y_t]_{11},\qquad x_{st} = -\log z_{st}\qquad (s<t),zst​=[Ys+1​Ys+2​⋯Yt​]11​,xst​=−logzst​(s<t),

and with the ℓ1\ell_1ℓ1​-norm ∥A∥=max⁡i∑j∣[A]ij∣\|A\| = \max_i \sum_j |[A]_{ij}|∥A∥=maxi​∑j​∣[A]ij​∣. A family (xst)s<t(x_{st})_{s<t}(xst​)s<t​ is a subadditive process (§1.1) if S₁: xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ for s<t<us<t<us<t<u; S₂: the joint distributions of (xs+1,t+1)(x_{s+1,t+1})(xs+1,t+1​) equal those of (xst)(x_{st})(xst​); S₃: gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) exists and gt≥−Atg_t\ge -Atgt​≥−At for some constant AAA.

Formalization targets

Goal: Theorem 5

Suppose the elements of the matrices YnY_nYn​ are strictly positive, E∣log⁡[Yn]ij∣<∞E|\log[Y_n]_{ij}|<\inftyE∣log[Yn​]ij​∣<∞ for every nnn and every i,ji,ji,j, and (Yn)(Y_n)(Yn​) is stationary. Then there is one finite random variable λ\lambdaλ such that for every (i,j)(i,j)(i,j)

λ=lim⁡n→∞n−1log⁡[Xn]ij(2.2.2)\lambda = \lim_{n\to\infty} n^{-1}\log [X_n]_{ij} \qquad (2.2.2)λ=n→∞lim​n−1log[Xn​]ij​(2.2.2)

with probability one and in mean. The limit is random in general (it is constant when (Yn)(Y_n)(Yn​) is ergodic); the theorem asserts its existence, its finiteness and its independence of (i,j)(i,j)(i,j), and nothing about its value.

Milestones, in the order of the paper's proof

  1. (2.3.1): [AB]11≥[A]11[B]11[AB]_{11}\ge[A]_{11}[B]_{11}[AB]11​≥[A]11​[B]11​ for matrices with strictly positive entries.
  2. xst=−log⁡zstx_{st}=-\log z_{st}xst​=−logzst​ satisfies S₁ and S₂, and each xstx_{st}xst​ has finite expectation gt−sg_{t-s}gt−s​.
  3. E{log⁡∥Y1∥}<∞E\{\log\|Y_1\|\}<\inftyE{log∥Y1​∥}<∞ and gn/n≥−E{log⁡∥Y1∥}g_n/n\ge -E\{\log\|Y_1\|\}gn​/n≥−E{log∥Y1​∥} for all n≥1n\ge1n≥1, so S₃ holds.
  4. The limit (2.2.2) exists, with probability one and in mean, for i=j=1i=j=1i=j=1.
  5. (2.2.3): for every (i,j)(i,j)(i,j), P{lim inf⁡n−1log⁡[Xn]ij≥λ}=1P\{\liminf n^{-1}\log[X_n]_{ij}\ge\lambda\}=1P{liminfn−1log[Xn​]ij​≥λ}=1.
  6. For every (i,j)(i,j)(i,j), P{lim sup⁡n−1log⁡[Xn]ij≤λ}=1P\{\limsup n^{-1}\log[X_n]_{ij}\le\lambda\}=1P{limsupn−1log[Xn​]ij​≤λ}=1.

Significance

The limit λ\lambdaλ is the top Lyapunov exponent of the random product: it is the almost-sure exponential growth rate of every entry, and hence of every norm, of XnX_nXn​. It governs the stability of random linear recursions vn=vn−1Ynv_{n}=v_{n-1}Y_nvn​=vn−1​Yn​, the long-run growth rate of populations in random environments, and localization in one-dimensional disordered systems. Theorem 5 is the existence statement on which all of these quantitative questions rest.

The theorem has been proved since 1960, and Kingman's derivation is a classical model application of subadditive ergodic theory. To our knowledge it has no machine-checked proof: Mathlib has neither Kingman's subadditive ergodic theorem nor any limit theorem for random matrix products. This mission produces a formal statement of the result together with the formal decomposition of the proof into the steps Kingman writes down; its milestone 4 is exactly where the subadditive ergodic theorem (the goal of the companion mission Subadditive Ergodic Theory 1) is applied.

Difficulty

Milestones 1–3 are deterministic matrix inequalities plus integrability bookkeeping; the substance is elsewhere. First, milestone 4 needs the full subadditive ergodic theorem, almost-sure and in mean, for a non-ergodic stationary process: the classical Birkhoff theorem does not apply, because log⁡[Xn]11\log[X_n]_{11}log[Xn​]11​ is not a sum of stationary increments. Second, passing from the diagonal entry to all entries requires controlling n−1log⁡[Yn]1jn^{-1}\log[Y_n]_{1j}n−1log[Yn​]1j​ along a stationary sequence with only a first-moment hypothesis, and transporting an almost-sure statement about Xn′=Y2⋯Yn+1X_n'=Y_2\cdots Y_{n+1}Xn′​=Y2​⋯Yn+1​ back to XnX_nXn​ by stationarity, where the limit λ\lambdaλ is itself random. The natural shortcut — treating λ\lambdaλ as a constant — is only valid under ergodicity, which is not assumed.

Formalization scope

  • Matrices are Matrix (Fin k) (Fin k) ℝ with NeZero k; the paper's index 111 is 0 : Fin k. The sequence is Y : ℕ → Ω → Matrix …, read only for n≥1n\ge1n≥1; Y 0 plays no role.
  • Products are ordered: Ys+1⋯YtY_{s+1}\cdots Y_tYs+1​⋯Yt​ is the List.prod of [Y (s+1), …, Y t]; X0X_0X0​ is the identity.
  • Stationarity is equality of the laws of (Yn+2)n≥0(Y_{n+2})_{n\ge0}(Yn+2​)n≥0​ and (Yn+1)n≥0(Y_{n+1})_{n\ge0}(Yn+1​)n≥0​ on ℕ → Fin k → Fin k → ℝ with the product σ-algebra. Independence is not assumed.
  • Positivity holds for every outcome; "their logarithms have finite expectations" is integrability of every log⁡[Yn]ij\log[Y_n]_{ij}log[Yn​]ij​, n≥1n\ge1n≥1.
  • "Finite limit" is a real-valued lam : Ω → ℝ; "in mean" is E∣n−1log⁡[Xn]ij−λ∣→0E|n^{-1}\log[X_n]_{ij}-\lambda|\to0E∣n−1log[Xn​]ij​−λ∣→0 with λ\lambdaλ integrable; time is n∈Nn\in\mathbb Nn∈N with Filter.atTop. One lam serves all (i,j)(i,j)(i,j).
  • Lim inf and lim sup inequalities are stated with ε\varepsilonε: almost surely, for every ε>0\varepsilon>0ε>0, eventually n−1log⁡[Xn]ij≥λ−εn^{-1}\log[X_n]_{ij}\ge\lambda-\varepsilonn−1log[Xn​]ij​≥λ−ε (respectively ≤λ+ε\le\lambda+\varepsilon≤λ+ε), which avoids the junk value of a real liminf on unbounded sequences.
  • Real.log 0 = 0 in Lean; the statements apply log only to entries that are strictly positive under the hypotheses, so no junk value enters. Dropping the positivity hypothesis would change the theorem, and is not an acceptable shortcut.
  • The S₁/S₂ vocabulary of §1.1 comes from the group's shared process module; this mission defines gtg_tgt​ locally. The general subadditive ergodic theorem is not restated here, and milestone 4 is the object-specific statement the paper writes.

Welcome contributions: proofs of the matrix inequalities, the integrability and stationarity transfer lemmas, a formal subadditive ergodic theorem (shared with the companion mission).

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973. https://doi.org/10.1214/aop/1176996798
  • H. Furstenberg and H. Kesten, Products of random matrices, Ann. Math. Statist. 31(2):457–469, 1960. https://doi.org/10.1214/aoms/1177705909
  • J. F. C. Kingman, The ergodic theory of subadditive stochastic processes, J. Roy. Statist. Soc. Ser. B 30(3):499–510, 1968. https://doi.org/10.1111/j.2517-6161.1968.tb00749.x
9 thms2 active usersReviewed
Linear OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming 4: For a Random Subspace, ‖Pq‖⁻∞ ≤ (log n/n)‖r‖² with Probability Tending to OneResearch Paper

Motivation

Primal–dual interior point methods follow a path of strictly feasible solutions to a linear program. Their worst case iteration bounds come from controlling a term that is quadratic in each search step. Mizuno, Todd, and Ye asked whether that term is typically much smaller than its worst case bound under a model in which a certain subspace is randomly oriented. Theorem 5 in their technical report gives a probability bound for the negative part of that term. It is a statement about one randomly oriented subspace and a fixed input vector, rather than a stochastic model for an entire algorithm run. The authors explicitly note that assigning the same random subspace model independently at successive iterations would be inconsistent with the algorithm's evolving state. Mizuno, Todd, and Ye, §6

Setting

Fix a dimension nnn, an integer ddd with 0≤d≤n0\le d\le n0≤d≤n, and a vector r∈Rnr\in\mathbb R^nr∈Rn. Draw a random ddd-dimensional subspace UUU from the distribution invariant under orthogonal transformations. Let ppp be the Euclidean orthogonal projection of rrr onto UUU, and put q=r−pq=r-pq=r−p, its projection onto U⊥U^\perpU⊥. The matrix P=diag⁡(p)P=\operatorname{diag}(p)P=diag(p) turns the vector qqq into the coordinatewise product Pq=(pjqj)j=1nPq=(p_jq_j)_{j=1}^nPq=(pj​qj​)j=1n​.

For a coordinate vector zzz, let z−=(min⁡{zj,0})j=1nz^-=(\min\{z_j,0\})_{j=1}^nz−=(min{zj​,0})j=1n​ and ∥z∥∞−=∥z−∥∞\|z\|^-_\infty=\|z^-\|_\infty∥z∥∞−​=∥z−∥∞​. Thus ∥Pq∥∞−\|Pq\|^-_\infty∥Pq∥∞−​ records the magnitude of the largest negative coordinate of PqPqPq. An unsubscripted vector norm is always the Euclidean ℓ2\ell_2ℓ2​ norm. These definitions follow the report's notation on printed pages 2 and 4. Mizuno, Todd, and Ye, §§1–2

The formal model samples an (n−d)×n(n-d)\times n(n−d)×n matrix GGG with independent standard normal entries and sets U=ker⁡GU=\ker GU=kerG. The report itself gives this construction as an example of the orthogonally invariant law. With probability one, this null space has dimension ddd. The construction covers the endpoint cases d=0d=0d=0 and d=nd=nd=n as well: the projection product is then zero. This probabilistic model has no linear programming data in its statement. The optimization setting explains why the quantity matters, while the result depends only on Euclidean projection geometry. Mizuno, Todd, and Ye, §6

Formalization targets

Theorem 5

For arbitrary choices rn∈Rnr_n\in\mathbb R^nrn​∈Rn and dn≤nd_n\le ndn​≤n at each dimension, the central target is

Pr⁡{∥Pnqn∥∞−≤log⁡nn∥rn∥22}⟶1(n⟶∞).\Pr\left\{\|P_nq_n\|^-_\infty\le \frac{\log n}{n}\|r_n\|_2^2\right\} \longrightarrow 1\qquad(n\longrightarrow\infty).Pr{∥Pn​qn​∥∞−​≤nlogn​∥rn​∥22​}⟶1(n⟶∞).

The logarithm is natural. The theorem asks for the exact coefficient shown in the report, rather than only an asymptotic order. The choice of rnr_nrn​ and dnd_ndn​ may change with nnn; the result does not require a common probability space for all dimensions. Mizuno, Todd, and Ye, Theorem 5, printed p. 13

Source milestones

The mission includes Lemma 6, which identifies a beta distributed radial coordinate and a uniform spherical direction for a projected vector; the componentwise identities and inequality (18)–(19); the Gaussian norm limit (20); the Gaussian coordinate maximum limit cited in the proof; and Lemma 7, which bounds the sup norm of a rotated uniform spherical direction by 3log⁡n/n\sqrt{3\log n/n}3logn/n​ with probability tending to one. Their statements, constants, and order follow printed pages 14–15 of the report. Mizuno, Todd, and Ye, §6

Significance

The result gives a precise high probability bound for the negative coordinates of the projection product. In the report this product represents the second order term of a primal–dual search direction, and a smaller value permits a larger admissible step in the relevant neighborhood analysis. The theorem therefore supplies a mathematically definite part of the paper's discussion of anticipated improved behavior. It does not by itself prove a typical iteration count: the paper does not provide a consistent random model for the sequence of subspaces visited by the algorithm. Mizuno, Todd, and Ye, §§2, 6–7

The report proves Theorem 5 and the two numbered lemmas on paper. The formalization work is to provide machine checked proofs of the random subspace representation, the beta and spherical laws, the finite dimensional Gaussian limits, and their connection to the projection bound. These results are reusable in other questions about random projections and coordinatewise estimates. The statements in this mission are open formalization targets; compilation of a statement with a proof placeholder does not count as a machine checked proof.

Difficulty

A direct norm bound on ppp and qqq loses the coordinate information needed for the factor log⁡n/n\log n/nlogn/n. The difficult part is that the desired bound concerns the most negative coordinate of a product of two dependent projections, while the distribution is specified through a random subspace. The paper's deterministic identity (18)–(19) relates this product to an angular coordinate. The remaining probabilistic statements must control the largest coordinate of a uniformly distributed spherical vector, including the numerical constant in Lemma 7. The laws of the radial and angular coordinates also need a sound measurable construction; simply writing a mapped measure without checking the map would not establish the claimed distributions.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin n), so ∥r∥\|r\|∥r∥ is the ℓ2\ell_2ℓ2​ norm. Coordinate sup norms are separate definitions. A complete development needs finite dimensional inner product geometry, orthogonal projections, Gaussian product measures, beta measures, the uniform spherical law, and limits of real probabilities. The spherical law is encoded as the direction of a standard Gaussian vector. The Gaussian matrix construction fixes the invariant subspace distribution and must be connected to the stated ddd-dimensional law almost surely.

Lemma 6 concerns d,m≥1d,m\ge1d,m≥1 and n≥2n\ge2n≥2, where the beta parameters and the spherical direction are nondegenerate. Its angular direction is assigned zero at the zero coordinate, which has probability zero in this regime; the claimed decomposition and unit norm hold almost surely. Theorem 5 retains d=0d=0d=0, d=nd=nd=n, and r=0r=0r=0. Lemma 7 is stated only for frames in dimensions at least two; finitely many smaller dimensions are assigned probability one in its limit expression. Equation (20) keeps the report's condition ε>0\varepsilon>0ε>0. All limits are probabilities tending to one, never probability one at every finite nnn.

Contributions should preserve the source's constants and all three claims of Lemma 6. A proof of the beta law alone, or a bound for a single fixed direction, does not close the corresponding target. The invariant random subspace and projection model, the Gaussian and spherical distribution facts, and the coordinate estimates are each useful independently of this mission.

Selected references

  • Shinji Mizuno, Michael J. Todd, and Yinyu Ye, On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming, Cornell ORIE Technical Report No. 944, 1990, revised 1991; published in Mathematics of Operations Research 18(4), 1993. DOI
  • Sidney I. Resnick, Extreme Values, Regular Variation, and Point Processes, Springer, 1987, pp. 42 and 71, cited in the report for the Gaussian maximum estimate. DOI
7 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Understanding and Using Linear Programming IX: Basis Pursuit Recovers Sparse Solutions Exactly iff the Kernel Misses the CrosspolytopeTextbook

Motivation

A deep-space probe sends a vector w∈Rkw\in\mathbb{R}^kw∈Rk encoded as z=Qw∈Rnz=Qw\in\mathbb{R}^nz=Qw∈Rn, and up to about 8% of the transmitted numbers may be corrupted arbitrarily. Section 8.5 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer 2007, DOI 10.1007/978-3-540-30717-4) shows that decoding reduces to finding a sparse solution of an underdetermined linear system Ax=bAx=bAx=b, and that under suitable conditions this sparse solution is found exactly by a single linear program. The same problem arises in signal processing (sparse representations in redundant wavelet dictionaries) and in computer tomography, and it is the core of what became known as compressed sensing.

Timeline, as recorded in the book's references:

  • 1999: Chen, Donoho and Saunders introduce basis pursuit, minimizing the ℓ1\ell_1ℓ1​-norm subject to Ax=bAx=bAx=b (SIAM J. Sci. Comput. 20).
  • 2005: Candès, Rudelson, Tao and Vershynin prove that for every α∈(0,1)\alpha\in(0,1)α∈(0,1) there is β(α)>0\beta(\alpha)>0β(α)>0 such that a random ⌊αn⌋×n\lfloor\alpha n\rfloor\times n⌊αn⌋×n matrix is exact for ⌊βn⌋\lfloor\beta n\rfloor⌊βn⌋-sparse vectors with probability exponentially close to 1 (FOCS 2005).
  • 2006: Donoho, via neighborliness of centrally symmetric polytopes, obtains the constants α=0.75\alpha=0.75α=0.75, β=0.08\beta=0.08β=0.08 used in the book, and shows that no ⌊0.75n⌋×n\lfloor 0.75n\rfloor\times n⌊0.75n⌋×n matrix is exact for r>0.25nr>0.25nr>0.25n when nnn is large (Discrete Comput. Geom. 35).
  • 2006: Linial and Novik prove further upper bounds showing that these existence results are asymptotically optimal (Discrete Comput. Geom. 36).

Setting

Let AAA be a real m×nm\times nm×n matrix with m<nm<nm<n and b∈Rmb\in\mathbb{R}^mb∈Rm. The support of x∈Rnx\in\mathbb{R}^nx∈Rn is supp⁡(x)={i:xi≠0}\operatorname{supp}(x)=\{i: x_i\ne 0\}supp(x)={i:xi​=0}. For an integer r≥0r\ge 0r≥0, a sparse solution of Ax=bAx=bAx=b is an xxx with Ax=bAx=bAx=b and ∣supp⁡(x)∣≤r|\operatorname{supp}(x)|\le r∣supp(x)∣≤r. The ℓ1\ell_1ℓ1​-norm is ∥x∥1=∣x1∣+⋯+∣xn∣\|x\|_1=|x_1|+\dots+|x_n|∥x∥1​=∣x1​∣+⋯+∣xn​∣.

Basis pursuit is the optimization problem

(BP)minimize ∥x∥1  subject to x∈Rn, Ax=b,\text{(BP)}\qquad\text{minimize } \|x\|_1\ \text{ subject to } x\in\mathbb{R}^n,\ Ax=b,(BP)minimize ∥x∥1​  subject to x∈Rn, Ax=b,

which is equivalent to the linear program

(BP′)minimize u1+⋯+un  subject to Ax=b, −u≤x≤u, u≥0.\text{(BP}'\text{)}\qquad\text{minimize } u_1+\dots+u_n\ \text{ subject to } Ax=b,\ -u\le x\le u,\ u\ge 0 .(BP′)minimize u1​+⋯+un​  subject to Ax=b, −u≤x≤u, u≥0.

The matrix AAA is BP-exact for rrr if for every b∈Rmb\in\mathbb{R}^mb∈Rm: whenever Ax=bAx=bAx=b has a solution x~\tilde xx~ with at most rrr nonzero components, x~\tilde xx~ is the unique optimal solution of (BP). The crosspolytope is B1n={x:∥x∥1≤1}B^n_1=\{x:\|x\|_1\le 1\}B1n​={x:∥x∥1​≤1}, the kernel of AAA is L={x:Ax=0}L=\{x: Ax=0\}L={x:Ax=0}, and L+z={ℓ+z:ℓ∈L}L+z=\{\ell+z:\ell\in L\}L+z={ℓ+z:ℓ∈L}. For zzz with ∥z∥1=1\|z\|_1=1∥z∥1​=1, the cone at zzz is Cz={t(x−z):t≥0, x∈B1n}C_z=\{t(x-z): t\ge 0,\ x\in B^n_1\}Cz​={t(x−z):t≥0, x∈B1n​}, and LLL is good for zzz if (L+z)∩B1n={z}(L+z)\cap B^n_1=\{z\}(L+z)∩B1n​={z}.

Formalization targets

Goal: Lemma 8.5.4 (reformulation of BP-exactness)

For m<nm<nm<n and r≤mr\le mr≤m:

A is BP-exact for r  ⟺  ∀z∈Rn with ∥z∥1=1, ∣supp⁡(z)∣≤r:(L+z)∩B1n={z}.A \text{ is BP-exact for } r\iff \forall z\in\mathbb{R}^n\ \text{with}\ \|z\|_1=1,\ |\operatorname{supp}(z)|\le r:\quad (L+z)\cap B^n_1=\{z\}.A is BP-exact for r⟺∀z∈Rn with ∥z∥1​=1, ∣supp(z)∣≤r:(L+z)∩B1n​={z}.

This is the book's geometric characterization of exact recovery, and the statement on which the known probabilistic proofs are built.

Milestones

  1. Observation 8.5.1: Ax=bAx=bAx=b has at most one sparse solution for every bbb if and only if every 2r2r2r or fewer columns of AAA are linearly independent.
  2. The remark after it (p. 169): under m<nm<nm<n, that column condition forces m≥2rm\ge 2rm≥2r.
  3. Equivalence of (BP) and (BP′) (p. 170): in every optimal solution of (BP′), ui=∣xi∣u_i=|x_i|ui​=∣xi​∣; and xxx is optimal for (BP) iff (x,∣x∣)(x,|x|)(x,∣x∣) is optimal for (BP′).
  4. From the proof of Lemma 8.5.4 (p. 173): if Az=bAz=bAz=b, the solution set of Ax=bAx=bAx=b is exactly L+zL+zL+z.
  5. From "Intuition for BP-exactness" (p. 174): for ∥z∥1=1\|z\|_1=1∥z∥1​=1 and ∣supp⁡(z)∣≤r|\operatorname{supp}(z)|\le r∣supp(z)∣≤r, LLL is good for zzz iff L∩Cz={0}L\cap C_z=\{0\}L∩Cz​={0}.

Further draft item: Theorem 8.5.2

With m=⌊0.75n⌋m=\lfloor 0.75n\rfloorm=⌊0.75n⌋, r=⌊0.08n⌋r=\lfloor 0.08n\rfloorr=⌊0.08n⌋ and AAA an m×nm\times nm×n matrix of independent N(0,1)N(0,1)N(0,1) entries, there is a constant c>0c>0c>0 such that for every nnn

Pr⁡[A is BP-exact for r] ≥ 1−e−cm.\Pr[A \text{ is BP-exact for } r]\ \ge\ 1-e^{-cm}.Pr[A is BP-exact for r] ≥ 1−e−cm.

The book states this without proof. It is included as a separate theorem, not a milestone of the goal.

Significance

Lemma 8.5.4 converts an algorithmic property, that an ℓ1\ell_1ℓ1​ linear program returns a prescribed sparse vector for every right-hand side, into a purely geometric property of the kernel of AAA relative to the low-dimensional faces of the crosspolytope. With milestone 5 it becomes the statement that LLL avoids a finite family of cones, which is where union bounds over faces and estimates for random subspaces enter. Observation 8.5.1 separates what is information-theoretically possible (uniqueness of sparse solutions) from what is computationally achievable by linear programming; finding a sparse solution directly is NP-hard in general. Theorem 8.5.2 is the quantitative payoff: a fixed fraction of arbitrary gross errors can be corrected by solving one linear program.

All of these results are proved in the literature; Lemma 8.5.4, Observation 8.5.1 and the milestones are elementary, and Theorem 8.5.2 rests on Donoho's polytope-neighborliness analysis. The platform has a related formalization of Wainwright's restricted nullspace property (Theorem 7.8 of High-Dimensional Statistics, namespace HighDimStat.SparseLinear), which fixes a support set SSS rather than characterizing exactness for all rrr-sparse vectors through the crosspolytope. A machine-checked proof of Theorem 8.5.2 with the constants 0.750.750.75 and 0.080.080.08 is, to our knowledge, not available anywhere; it would require substantial Gaussian and high-dimensional geometry infrastructure.

Difficulty

For the goal and milestones the difficulty is bookkeeping, not ideas: the scaling between a sparse solution x~\tilde xx~ and the boundary point x~/∥x~∥1\tilde x/\|\tilde x\|_1x~/∥x~∥1​, the case x~=0\tilde x=0x~=0, and the fact that BP-exactness quantifies over all right-hand sides bbb while the geometric side quantifies over boundary points of the crosspolytope.

Theorem 8.5.2 is of a different order. A union bound over the (nr)2r\binom{n}{r}2^r(rn​)2r faces of dimension r−1r-1r−1 reduces it to bounding the probability that a random (n−m)(n-m)(n−m)-dimensional subspace meets one cone CFC_FCF​ nontrivially, and getting that probability small enough to beat the combinatorial factor with the stated numerical constants is the hard part. Rough asymptotic estimates do not give 0.080.080.08 at α=0.75\alpha=0.75α=0.75.

Formalization scope

Vectors are functions Fin n → ℝ (the book's indices 1,…,n1,\dots,n1,…,n become 0,…,n−10,\dots,n-10,…,n−1) and matrices are Matrix (Fin m) (Fin n) ℝ. The ℓ1\ell_1ℓ1​-norm is written out as ∑i∣xi∣\sum_i|x_i|∑i​∣xi​∣, since Mathlib's norm on Fin n → ℝ is the sup norm. The support is a Finset of indices. Optimality in (BP) and (BP′) is stated against every feasible point; no infimum is taken, so an empty or unbounded feasible set cannot create a spurious optimum. "Every 2r2r2r or fewer columns" ranges over finsets of distinct column indices, column jjj being Aᵀ j. The hypotheses m<nm<nm<n and r≤mr\le mr≤m of Lemma 8.5.4 are kept as on the page, although the equivalence does not use them; m<nm<nm<n is also the standing assumption of §8.5 needed for m≥2rm\ge 2rm≥2r.

In Theorem 8.5.2 the random matrix has the product law of independent gaussianReal 0 1 entries, the constant c>0c>0c>0 is quantified before nnn, and measurability of the BP-exact event is part of the conclusion, so the bound concerns a genuine probability rather than an outer measure.

A trivializing formalization is ruled out: BP-exactness requires uniqueness among all minimizers for every right-hand side, not just optimality of x~\tilde xx~, and the crosspolytope condition is an equality of sets, not an inclusion that zzz alone would satisfy.

All definitions live in one module (MatousekLP.SparseRecovery.BasisPursuit); the ℓ1\ell_1ℓ1​ and support vocabulary is reusable for later sparse-recovery missions. Contributions are welcome on every milestone, on the goal, and on the infrastructure towards Theorem 8.5.2 (Gaussian measures on matrix spaces, measurability of the BP-exact event, the face structure of the crosspolytope).

Selected references

  • J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §8.5. https://doi.org/10.1007/978-3-540-30717-4
  • S. S. Chen, D. L. Donoho and M. A. Saunders, Atomic decomposition by basis pursuit, SIAM J. Sci. Comput. 20(1), 1999, 33–61. https://doi.org/10.1137/S1064827596304010
  • E. J. Candès, M. Rudelson, T. Tao and R. Vershynin, Error correction via linear programming, Proc. 46th IEEE FOCS, 2005, 295–308. https://doi.org/10.1109/SFCS.2005.5464411
  • D. L. Donoho, High-dimensional centrally symmetric polytopes with neighborliness proportional to dimension, Discrete Comput. Geom. 35, 2006, 617–652. https://doi.org/10.1007/s00454-005-1220-0
  • N. Linial and I. Novik, How neighborly can a centrally symmetric polytope be?, Discrete Comput. Geom. 36, 2006, 273–281. https://doi.org/10.1007/s00454-006-1235-1
7 thms2 active usersReviewed
🏆Completed
Linear algebraNumerical AnalysisProbability·Captain: mikedeng1

Randomized Algorithms for Estimating the Trace of an Implicit Symmetric Positive Semi-Definite Matrix V: Sample Bound for the Mixed Unit Vector Trace EstimatorResearch Paper

Motivation

Many computations in numerical linear algebra, statistics and computational physics need the trace of a matrix AAA that is never formed explicitly: AAA may be an inverse, a matrix function f(B)f(B)f(B), or a product of large operators, and the only affordable access is a routine that returns AvAvAv or vTAvv^TAvvTAv for a given vector vvv. Monte Carlo trace estimators handle this setting: draw random vectors zzz and average the quadratic forms zTAzz^TAzzTAz, each of which costs one matrix–vector product.

Avron and Toledo (J. ACM 2011) compare such estimators by the number of samples MMM that guarantee relative error ϵ\epsilonϵ with probability 1−δ1-\delta1−δ, and by the number of random bits each sample consumes. Hutchinson's estimator (Hutchinson 1990) and the Gaussian estimator need Ω(n)\Omega(n)Ω(n) random bits per sample. Section 8 of the paper studies two estimators that sample only from the nnn standard basis vectors and so need about log⁡2n\log_2 nlog2​n bits per sample, which allows the samples to be generated in advance. The plain version has a sample bound that depends on how uneven the diagonal of AAA is; the mixed version first multiplies AAA on both sides by a random orthogonal mixing matrix of the kind introduced by Ailon and Chazelle (2006) for the fast Johnson–Lindenstrauss transform and used by Avron, Maymounkov and Toledo (2010) in least-squares solvers. This mission formalizes the resulting sample bound, Theorem 8.4.

Setting

Let n≥1n \ge 1n≥1, let A∈Rn×nA \in \mathbb{R}^{n\times n}A∈Rn×n be symmetric positive semi-definite, and let e1,…,ene_1,\ldots,e_ne1​,…,en​ be the standard basis of Rn\mathbb{R}^nRn.

A random variable TTT is an (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-approximator of trace(A)\mathrm{trace}(A)trace(A) if

Pr⁡(∣T−trace(A)∣≤ϵ trace(A))≥1−δ\Pr\bigl(|T-\mathrm{trace}(A)| \le \epsilon\,\mathrm{trace}(A)\bigr) \ge 1-\deltaPr(∣T−trace(A)∣≤ϵtrace(A))≥1−δ

(Definition 4.1).

The unit vector estimator with MMM samples is

UM=nM∑i=1MziTAzi,U_M = \frac{n}{M}\sum_{i=1}^M z_i^TAz_i,UM​=Mn​i=1∑M​ziT​Azi​,

where z1,…,zMz_1,\ldots,z_Mz1​,…,zM​ are independent uniform random samples from {e1,…,en}\{e_1,\ldots,e_n\}{e1​,…,en​} (Definition 3.4). Each term ziTAziz_i^TAz_iziT​Azi​ is a diagonal entry of AAA chosen uniformly at random. Its behaviour is governed by

rD(A)=n⋅max⁡iAiitrace(A),r_D(A) = \frac{n\cdot\max_i A_{ii}}{\mathrm{trace}(A)},rD​(A)=trace(A)n⋅maxi​Aii​​,

which lies between 111 and nnn.

A random mixing matrix is F=FD\mathcal F = FDF=FD, where the seed FFF is a fixed orthogonal n×nn\times nn×n matrix and DDD is diagonal with i.i.d. Rademacher entries, Pr⁡(Dii=±1)=1/2\Pr(D_{ii}=\pm1) = 1/2Pr(Dii​=±1)=1/2 (Definition 3.5). The seed enters through

η=max⁡i,j∣Fij∣2,\eta = \max_{i,j}|F_{ij}|^2,η=i,jmax​∣Fij​∣2,

which satisfies 1/n≤η≤11/n \le \eta \le 11/n≤η≤1; normalized DFT and Hadamard matrices attain η=1/n\eta = 1/nη=1/n, DCT and DHT matrices have η=2/n\eta = 2/nη=2/n (p. 8:5).

The mixed unit vector estimator is

TM=nM∑i=1MziTFAFTzi,T_M = \frac{n}{M}\sum_{i=1}^M z_i^T\mathcal F A\mathcal F^T z_i,TM​=Mn​i=1∑M​ziT​FAFTzi​,

with z1,…,zMz_1,\ldots,z_Mz1​,…,zM​ as above, independent of DDD (Definition 3.6). It is the unit vector estimator applied to FAFT\mathcal FA\mathcal F^TFAFT, whose trace equals trace(A)\mathrm{trace}(A)trace(A).

Formalization targets

Goal: Theorem 8.4

For every orthogonal seed FFF, every symmetric positive semi-definite AAA, every ϵ>0\epsilon > 0ϵ>0, δ∈(0,1)\delta \in (0,1)δ∈(0,1) and every M≥1M \ge 1M≥1,

M ≥ 2n2η2ϵ−2ln⁡(4/δ)ln⁡2(4n2/δ)⟹TM is an (ϵ,δ)-approximator of trace(A).M \ \ge\ 2n^2\eta^2\epsilon^{-2}\ln(4/\delta)\ln^2(4n^2/\delta) \quad\Longrightarrow\quad T_M \text{ is an } (\epsilon,\delta)\text{-approximator of } \mathrm{trace}(A).M ≥ 2n2η2ϵ−2ln(4/δ)ln2(4n2/δ)⟹TM​ is an (ϵ,δ)-approximator of trace(A).

Milestones

  1. Lemma 8.1. For symmetric AAA, E(U1)=trace(A)\mathrm{E}(U_1) = \mathrm{trace}(A)E(U1​)=trace(A) and Var(U1)=n∑iAii2−trace2(A)\mathrm{Var}(U_1) = n\sum_{i}A_{ii}^2 - \mathrm{trace}^2(A)Var(U1​)=n∑i​Aii2​−trace2(A).
  2. Theorem 8.2. UMU_MUM​ is an (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-approximator of trace(A)\mathrm{trace}(A)trace(A) whenever
M≥12ϵ−2ln⁡(2/δ) rD2(A).M \ge \tfrac12\epsilon^{-2}\ln(2/\delta)\,r_D^2(A).M≥21​ϵ−2ln(2/δ)rD2​(A).
  1. Lemma 8.3. For U∈Rn×mU \in \mathbb{R}^{n\times m}U∈Rn×m with orthonormal columns and δ>0\delta > 0δ>0, with probability at least 1−δ1-\delta1−δ,
∣(FU)ij∣≤2ηln⁡(2mn/δ)for all i,j.|(\mathcal FU)_{ij}| \le \sqrt{2\eta\ln(2mn/\delta)} \quad\text{for all } i,j.∣(FU)ij​∣≤2ηln(2mn/δ)​for all i,j.
  1. Proof of Theorem 8.4, p. 8:13. With probability at least 1−δ/21-\delta/21−δ/2 over DDD, 0≤(FAFT)jj≤2ηln⁡(4n2/δ) trace(A)0 \le (\mathcal FA\mathcal F^T)_{jj} \le 2\eta\ln(4n^2/\delta)\,\mathrm{trace}(A)0≤(FAFT)jj​≤2ηln(4n2/δ)trace(A) for all jjj, and hence
rD(FAFT)≤2nηln⁡(4n2/δ).r_D(\mathcal FA\mathcal F^T) \le 2n\eta\ln(4n^2/\delta).rD​(FAFT)≤2nηln(4n2/δ).

Significance

Theorem 8.2 alone shows that the unit vector estimator can need order n2n^2n2 samples: when the trace is concentrated on one diagonal entry, rD(A)=nr_D(A) = nrD​(A)=n. Theorem 8.4 removes the dependence on AAA entirely. For a Fourier-type seed with η=Θ(1/n)\eta = \Theta(1/n)η=Θ(1/n) the bound becomes O(ϵ−2ln⁡(1/δ)ln⁡2(n/δ))O(\epsilon^{-2}\ln(1/\delta)\ln^2(n/\delta))O(ϵ−2ln(1/δ)ln2(n/δ)) samples for every positive semi-definite AAA, while each sample still costs about log⁡2n\log_2 nlog2​n random bits, and the nnn bits of DDD are drawn once. Among the estimators of the paper this is the only one with both an AAA-independent sample bound and logarithmic randomness per sample (Table I, p. 8:5). Lemma 8.3 is a standalone statement about randomized orthogonal transforms that is used well beyond trace estimation, in the analysis of subsampled randomized Hadamard transforms, sketching-based least squares, and fast Johnson–Lindenstrauss embeddings.

All results of the mission are proved in the literature: Lemma 8.3 in the cited works, the rest in the paper. As far as the platform's catalogue shows, none has a machine-checked proof. The mission produces checked statements of the paper's Section 8 with their exact constants, a probability model for random sign matrices and uniform basis-vector sampling that other randomized linear-algebra missions can reuse, and, once proved, a checked instance of Hoeffding's inequality applied to a concrete estimator.

Difficulty

The obvious argument for Theorem 8.4 applies Theorem 8.2 to FAFT\mathcal FA\mathcal F^TFAFT. That matrix is random, so Theorem 8.2, which is a statement about a fixed matrix, cannot be applied directly: the proof must condition on DDD, use that the samples ziz_izi​ are independent of DDD, and combine a failure event over DDD with a conditional failure event over the ziz_izi​, each with probability at most δ/2\delta/2δ/2. The second difficulty is Lemma 8.3: each entry (FU)ij=∑kFikDkkUkj(\mathcal FU)_{ij} = \sum_k F_{ik}D_{kk}U_{kj}(FU)ij​=∑k​Fik​Dkk​Ukj​ is a Rademacher sum whose coefficient vector has squared norm at most η\etaη, and the bound needs a sub-Gaussian tail for such sums together with a union bound over all mnmnmn entries. Bounding the diagonal of FAFT\mathcal FA\mathcal F^TFAFT through the diagonal of AAA alone does not work: each mixed diagonal entry depends on all entries of AAA, including the off-diagonal ones.

Formalization scope

Everything is over R\mathbb{R}R. The paper allows complex unitary seeds; since the estimator uses the transpose FT\mathcal F^TFT, the mission takes FFF real orthogonal (FTF=IF^TF = IFTF=I). Matrices are Matrix (Fin n) (Fin n) ℝ, "symmetric positive semi-definite" is Matrix.PosSemidef, and n≥1n \ge 1n≥1 is assumed throughout. The sample spaces are explicit product measures: indices k1,…,kMk_1,\ldots,k_Mk1​,…,kM​ uniform on Fin n with zi=ekiz_i = e_{k_i}zi​=eki​​, the diagonal of DDD with the nnn-fold Rademacher product law, and, for TMT_MTM​, the product of the two, which makes DDD and the ziz_izi​ independent as the paper assumes implicitly. Probabilities are Measure.real. η\etaη and max⁡iAii\max_i A_{ii}maxi​Aii​ are maxima over finite nonempty index sets; rDr_DrD​ uses real division, whose value at trace(A)=0\mathrm{trace}(A) = 0trace(A)=0 is irrelevant because a positive semi-definite matrix with zero trace is 000. The sample-count thresholds are exactly the paper's constants.

Deviations from the page, all recorded in the items' Formalization Notes: Definition 3.4 and Theorem 8.2 are stated for positive semi-definite rather than positive definite AAA (the proof uses only Aii≥0A_{ii} \ge 0Aii​≥0); Table I's entry 8ϵ−2ln⁡(4n2/δ)ln⁡(4/δ)8\epsilon^{-2}\ln(4n^2/\delta)\ln(4/\delta)8ϵ−2ln(4n2/δ)ln(4/δ) for the mixed estimator, which disagrees with Theorem 8.4, is not used; the proof of Theorem 8.4 prints the conditional failure probability as "≤1−δ/2\le 1-\delta/2≤1−δ/2" where δ/2\delta/2δ/2 is meant, and no statement copies it; Remark 8.5 ("for some small CCC") has no pinned constant and is not stated.

A formalization in which DDD is an arbitrary orthogonal diagonal matrix, the ziz_izi​ are correlated with DDD, or the law of the estimator is assumed rather than constructed would make the goal either false or a restatement of its hypotheses; the product-measure model rules this out.

Needed infrastructure: Hoeffding's inequality for bounded i.i.d. sums (in Mathlib as sub-Gaussian moment generating function bounds), a sub-Gaussian tail for Rademacher linear combinations, conditioning on one factor of a product measure, and the spectral theorem for real symmetric matrices. The Rademacher sign model and the random-mixing-matrix entry bound are reusable beyond this mission. Proofs of any milestone, and alternative arguments for Lemma 8.3, are welcome.

Selected references

  • H. Avron and S. Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, J. ACM 58(2), Article 8, 2011. https://doi.org/10.1145/1944345.1944349
  • N. Ailon and B. Chazelle, Approximate nearest neighbors and the fast Johnson–Lindenstrauss transform, STOC 2006. https://doi.org/10.1145/1132516.1132597
  • H. Avron, P. Maymounkov and S. Toledo, Blendenpik: Supercharging LAPACK's least-squares solver, SIAM J. Sci. Comput. 32(3), 2010. https://doi.org/10.1137/090767911
  • M. F. Hutchinson, A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines, Comm. Statist. Simulation Comput. 19(2), 1990. https://doi.org/10.1080/03610919008812866
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, J. Amer. Statist. Assoc. 58, 1963. https://doi.org/10.1080/01621459.1963.10500830
10 thms2 active usersReviewed
🏆Completed
Linear algebraNumerical AnalysisProbability·Captain: mikedeng1

Randomized Algorithms for Estimating the Trace of an Implicit Symmetric Positive Semi-Definite Matrix III: Sample Bound for Normalized Rayleigh-Quotient Trace EstimatorsResearch Paper

Motivation

Many computations in numerical linear algebra, statistics and computational physics need the trace of a matrix AAA that is never formed explicitly: AAA may be an inverse, a matrix function f(B)f(B)f(B), or a product of large operators, and the only affordable access is a routine that returns AvAvAv for a given vector vvv. Examples include log-determinants and the generalized cross-validation criterion in statistics, counting eigenvalues in an interval, and charge densities in electronic-structure computations. Monte Carlo trace estimators handle this setting: draw random vectors zzz, and average the quadratic forms zTAzz^TAzzTAz, each of which costs one matrix–vector product.

Hutchinson (1990) introduced the estimator with Rademacher vectors and computed its variance. Avron and Toledo (J. ACM 2011) replaced variance statements with sample bounds: how many samples MMM guarantee relative error ϵ\epsilonϵ with probability 1−δ1-\delta1−δ. Section 6 of their paper proves one such bound for an entire class of estimators at once, the normalized Rayleigh-quotient trace estimators, which contains Hutchinson's estimator and the unit vector estimator. This mission formalizes that bound (Theorem 6.1).

Setting

Let A∈Rn×nA \in \mathbb{R}^{n\times n}A∈Rn×n be symmetric positive semi-definite, with eigenvalues 0≤λ1≤⋯≤λn0 \le \lambda_1 \le \cdots \le \lambda_n0≤λ1​≤⋯≤λn​ and rank rank(A)\mathrm{rank}(A)rank(A). Write λn\lambda_nλn​ for the largest eigenvalue and

κf(A)=largest nonzero eigenvalue of Asmallest nonzero eigenvalue of A,\kappa_f(A) = \frac{\text{largest nonzero eigenvalue of }A}{\text{smallest nonzero eigenvalue of }A},κf​(A)=smallest nonzero eigenvalue of Alargest nonzero eigenvalue of A​,

defined for A≠0A \ne 0A=0; it is the condition number of AAA on its range.

A normalized Rayleigh-quotient trace estimator of AAA with MMM samples is

RM=1M∑i=1MziTAzi,R_M = \frac1M\sum_{i=1}^M z_i^TAz_i,RM​=M1​i=1∑M​ziT​Azi​,

where z1,…,zMz_1,\ldots,z_Mz1​,…,zM​ are independent random vectors in Rn\mathbb{R}^nRn with ziTzi=nz_i^Tz_i = nziT​zi​=n and E(ziTAzi)=trace(A)\mathrm{E}(z_i^TAz_i) = \mathrm{trace}(A)E(ziT​Azi​)=trace(A) for each iii (Definition 3.2). The vectors need not be identically distributed. Hutchinson's vectors (±1\pm1±1 entries, i.i.d. uniform) and the vectors n ek\sqrt n\,e_kn​ek​ with kkk uniform are instances.

A random variable TTT is an (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-approximator of trace(A)\mathrm{trace}(A)trace(A) if

Pr⁡(∣T−trace(A)∣≤ϵ trace(A))≥1−δ\Pr\bigl(|T-\mathrm{trace}(A)| \le \epsilon\,\mathrm{trace}(A)\bigr) \ge 1-\deltaPr(∣T−trace(A)∣≤ϵtrace(A))≥1−δ

(Definition 4.1).

Formalization targets

Goal: Theorem 6.1, in the form its proof establishes

For every nonzero symmetric positive semi-definite AAA, every ϵ>0\epsilon>0ϵ>0, δ∈(0,1)\delta\in(0,1)δ∈(0,1), and every normalized Rayleigh-quotient estimator RMR_MRM​ of AAA,

M ≥ ln⁡(2/δ)⋅n2 κf2(A)2 rank2(A) ϵ2⟹RM is an (ϵ,δ)-approximator of trace(A).M \ \ge\ \frac{\ln(2/\delta)\cdot n^2\,\kappa_f^2(A)}{2\,\mathrm{rank}^2(A)\,\epsilon^2} \quad\Longrightarrow\quad R_M \text{ is an } (\epsilon,\delta)\text{-approximator of } \mathrm{trace}(A).M ≥ 2rank2(A)ϵ2ln(2/δ)⋅n2κf2​(A)​⟹RM​ is an (ϵ,δ)-approximator of trace(A).

Milestones (the displayed steps of the proof, p. 8:10)

  1. trace(A) κf(A)≥rank(A) λn\mathrm{trace}(A)\,\kappa_f(A) \ge \mathrm{rank}(A)\,\lambda_ntrace(A)κf​(A)≥rank(A)λn​.
  2. For every zzz with zTz=nz^Tz = nzTz=n:  0≤zTAz≤λnzTz=nλn≤nrank(A)trace(A) κf(A)\ 0 \le z^TAz \le \lambda_n z^Tz = n\lambda_n \le \frac{n}{\mathrm{rank}(A)}\mathrm{trace}(A)\,\kappa_f(A) 0≤zTAz≤λn​zTz=nλn​≤rank(A)n​trace(A)κf​(A).
  3. For every t>0t>0t>0:
Pr⁡(∣RM−trace(A)∣≥t)≤2exp⁡(−2M2rank2(A)t2Mn2trace2(A)κf2(A)).\Pr(|R_M-\mathrm{trace}(A)| \ge t) \le 2\exp\left(-\frac{2M^2\mathrm{rank}^2(A)t^2}{M n^2\mathrm{trace}^2(A)\kappa_f^2(A)}\right).Pr(∣RM​−trace(A)∣≥t)≤2exp(−Mn2trace2(A)κf2​(A)2M2rank2(A)t2​).
  1. For every ϵ>0\epsilon>0ϵ>0:
Pr⁡(∣RM−trace(A)∣≥ϵ trace(A))≤2exp⁡(−2Mrank2(A)ϵ2n2κf2(A)).\Pr(|R_M-\mathrm{trace}(A)| \ge \epsilon\,\mathrm{trace}(A)) \le 2\exp\left(-\frac{2M\mathrm{rank}^2(A)\epsilon^2}{n^2\kappa_f^2(A)}\right).Pr(∣RM​−trace(A)∣≥ϵtrace(A))≤2exp(−n2κf2​(A)2Mrank2(A)ϵ2​).

Significance

The result is distribution-free within the class: it needs only normalization and unbiasedness, so it covers Hutchinson's estimator, the unit vector estimator and any future normalized scheme with one argument. For well-conditioned matrices of full or nearly full rank the required number of samples is O(ϵ−2ln⁡(1/δ))O(\epsilon^{-2}\ln(1/\delta))O(ϵ−2ln(1/δ)), independent of nnn. For ill-conditioned matrices the bound degrades with κf2(A)\kappa_f^2(A)κf2​(A), which is the reason the paper proves sharper estimator-specific bounds in Sections 7 and 8; Theorem 6.1 is the baseline those results are compared against (Table I, p. 8:5).

The theorem is proved in the paper. No machine-checked version of it, or of any sample bound for trace estimators, is known to exist. The formalization adds a precise statement of the class of estimators on a general probability space, a corrected threshold (see below), and a Lean development that connects Mathlib's spectral theorem for symmetric matrices with its Hoeffding inequality for independent bounded variables.

Difficulty

Each step is short on paper; the work is in the interfaces. The eigenvalue inequality of milestone 1 requires relating the number of nonzero eigenvalues (with multiplicity) to rank(A)\mathrm{rank}(A)rank(A) and handling the maximum and minimum over the nonzero spectrum. Milestone 2 is the Rayleigh-quotient bound zTAz≤λnzTzz^TAz \le \lambda_n z^TzzTAz≤λn​zTz, which is a consequence of the spectral decomposition rather than a one-line identity. Milestone 3 applies Hoeffding's inequality to summands that are bounded only almost surely, are not identically distributed, and whose mean is fixed by hypothesis rather than computed; the two-sided bound must be assembled from two one-sided tails, and the event ∣RM−trace(A)∣≥t|R_M - \mathrm{trace}(A)| \ge t∣RM​−trace(A)∣≥t must be rescaled to a statement about the sum ∑iziTAzi\sum_i z_i^TAz_i∑i​ziT​Azi​. A naive attempt that fixes a particular distribution for the ziz_izi​ (Rademacher, say) proves a different, narrower theorem and does not settle the goal.

Formalization scope

  • Matrices and spectrum. AAA is Matrix (Fin n) (Fin n) ℝ with A.PosSemidef and A ≠ 0; eigenvalues are Mathlib's IsHermitian.eigenvalues. λn\lambda_nλn​ is lambdaMax (the maximum eigenvalue) and κf(A)\kappa_f(A)κf​(A) is kappaF (maximum over minimum of the finite set of nonzero eigenvalues); both are Finset.max'/min'/sup' of nonempty finite sets. κf(0)\kappa_f(0)κf​(0) is a placeholder, and every statement assumes A≠0A \ne 0A=0.
  • Probability model. A general probability space (Ω,P)(\Omega, P)(Ω,P) and random vectors z : Fin M → Ω → Fin n → ℝ satisfying IsNormalizedRayleighSample P A z: each ziz_izi​ measurable, the family mutually independent (iIndepFun), ziTzi=nz_i^Tz_i = nziT​zi​=n almost surely, and ∫ziTAzi dP=trace(A)\int z_i^TAz_i\,dP = \mathrm{trace}(A)∫ziT​Azi​dP=trace(A). The estimator is universally quantified over this class. Unbiasedness is required for the given AAA only, as on the page. Probabilities are P.real of events; M≥1M \ge 1M≥1 is a natural number and 1/M1/M1/M is (M : ℝ)⁻¹.
  • Correction of the printed statement. Theorem 6.1 and Table I print the threshold 12ϵ−2n−2rank2(A)ln⁡(2/δ)κf2(A)\tfrac12\epsilon^{-2}n^{-2}\mathrm{rank}^2(A)\ln(2/\delta)\kappa_f^2(A)21​ϵ−2n−2rank2(A)ln(2/δ)κf2​(A). The last display of the proof gives ln⁡(2/δ) n2κf2(A)/(2 rank2(A)ϵ2)\ln(2/\delta)\,n^2\kappa_f^2(A)/(2\,\mathrm{rank}^2(A)\epsilon^2)ln(2/δ)n2κf2​(A)/(2rank2(A)ϵ2), with the exponents of nnn and rank(A)\mathrm{rank}(A)rank(A) swapped. The printed version is false: for n=2n=2n=2, A=e1e1TA=e_1e_1^TA=e1​e1T​, z=2 ekz=\sqrt2\,e_kz=2​ek​ with kkk uniform and ϵ=δ=1/2\epsilon=\delta=1/2ϵ=δ=1/2 it admits M=1M=1M=1, while R1∈{0,2}R_1\in\{0,2\}R1​∈{0,2}. The goal states the proof's threshold.
  • Indexing slip. The proof writes 0=λ1=⋯=λk0=\lambda_1=\cdots=\lambda_k0=λ1​=⋯=λk​ with k=n−rank(A)+1k=n-\mathrm{rank}(A)+1k=n−rank(A)+1 and κf(A)=λn/λk\kappa_f(A)=\lambda_n/\lambda_kκf​(A)=λn​/λk​, which would make λk=0\lambda_k=0λk​=0; milestone 1 states the inequality with κf\kappa_fκf​ as defined, not the indexing.
  • Non-trivialization. The hypotheses of the class are satisfiable (by the unit vector and Hutchinson estimators), A≠0A\ne0A=0 excludes the degenerate κf(0)\kappa_f(0)κf​(0), and all divisions in the statements have positive denominators, so no statement holds vacuously or through a junk value.
  • Reusable parts. A proof of milestone 2 is a general Rayleigh-quotient bound for symmetric matrices; milestone 3 is a two-sided Hoeffding bound for independent, almost surely bounded, non-identically distributed summands, useful well beyond this mission. Contributions welcome: proofs of any milestone, and a sorry-free instance showing a concrete estimator (e.g. n ek\sqrt n\,e_kn​ek​) satisfies IsNormalizedRayleighSample.

Selected references

  • H. Avron and S. Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, Journal of the ACM 58(2), Article 8, 2011. https://doi.org/10.1145/1944345.1944349
  • M. F. Hutchinson, A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines, Communications in Statistics – Simulation and Computation 19(2), 433–450, 1990. https://doi.org/10.1080/03610919008812866
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, Journal of the American Statistical Association 58(301), 13–30, 1963. https://doi.org/10.1080/01621459.1963.10500830
8 thms2 active usersReviewed
Convex OptimizationMachine LearningProbability+1·Captain: mikedeng1

The Power of Convex Relaxation: Near-Optimal Matrix Completion I: Exact Nuclear-Norm Recovery with Quadratic Dependence on the RankResearch Paper

Motivation

Matrix completion asks to recover a low-rank matrix from a small random subset of its entries. It models collaborative filtering (a ratings matrix with most entries missing), sensor-network localization from partial distance matrices, and system identification. The natural estimator, the matrix of least rank that agrees with the observations, is NP-hard to compute in general. Candès and Recht (Found. Comput. Math. 2009) proposed to replace the rank by the nuclear norm (the sum of the singular values), its convex envelope, and proved that this convex program recovers the matrix exactly from O(n6/5rlog⁡n)O(n^{6/5} r \log n)O(n6/5rlogn) random entries under incoherence assumptions.

Candès and Tao (IEEE Trans. Inf. Theory 2010) sharpened the sample size to within logarithmic factors of the information-theoretic minimum nrlog⁡nn r\log nnrlogn. This mission formalizes their first result, Theorem 1.1, whose proof is a direct moment computation, together with the lemmas on which that proof rests.

Timeline:

  • 2009, Candès–Recht: exact recovery from m≳μ0n6/5rlog⁡nm \gtrsim \mu_0 n^{6/5} r \log nm≳μ0​n6/5rlogn entries.
  • 2010, Candès–Tao (this paper): m≳μ4nr2(log⁡n)2m \gtrsim \mu^4 n r^2 (\log n)^2m≳μ4nr2(logn)2 (Theorem 1.1, general-rank form) and m≳μ2nrlog⁡6nm \gtrsim \mu^2 n r \log^6 nm≳μ2nrlog6n (Theorem 1.2), plus a lower bound of order nrlog⁡nn r \log nnrlogn for every method (Theorem 1.7).
  • 2011, Gross (IEEE Trans. Inf. Theory) and Recht (JMLR): m≳μ0nrlog⁡2nm \gtrsim \mu_0 n r \log^2 nm≳μ0​nrlog2n by the "golfing scheme", with a different proof.

Setting

Let M∈Rn×nM \in \mathbb R^{n\times n}M∈Rn×n have rank rrr and singular value decomposition M=∑k=1rσkukvk∗M = \sum_{k=1}^r \sigma_k u_k v_k^*M=∑k=1r​σk​uk​vk∗​ with σk>0\sigma_k > 0σk​>0 and orthonormal uku_kuk​, vkv_kvk​. Write PU=∑kukuk∗P_U = \sum_k u_k u_k^*PU​=∑k​uk​uk∗​, PV=∑kvkvk∗P_V = \sum_k v_k v_k^*PV​=∑k​vk​vk∗​ and E=∑kukvk∗E = \sum_k u_k v_k^*E=∑k​uk​vk∗​. The matrix obeys the strong incoherence property with parameter μ>0\mu > 0μ>0 if, for all indices a,a′,b,b′a, a', b, b'a,a′,b,b′,

∣⟨ea,PUea′⟩−rn1a=a′∣≤μrn,∣⟨eb,PVeb′⟩−rn1b=b′∣≤μrn,∣Eab∣≤μrn.\Bigl|\langle e_a, P_U e_{a'}\rangle - \tfrac{r}{n}1_{a=a'}\Bigr| \le \mu\tfrac{\sqrt r}{n},\qquad \Bigl|\langle e_b, P_V e_{b'}\rangle - \tfrac{r}{n}1_{b=b'}\Bigr| \le \mu\tfrac{\sqrt r}{n},\qquad |E_{ab}| \le \mu\tfrac{\sqrt r}{n}.​⟨ea​,PU​ea′​⟩−nr​1a=a′​​≤μnr​​,​⟨eb​,PV​eb′​⟩−nr​1b=b′​​≤μnr​​,∣Eab​∣≤μnr​​.

For a set Ω⊂[n]×[n]\Omega \subset [n]\times[n]Ω⊂[n]×[n] of observed positions, the nuclear-norm program is

minimize ∥X∥∗subject to Xab=Mab  ((a,b)∈Ω).(I.3)\text{minimize } \|X\|_* \quad \text{subject to } X_{ab} = M_{ab}\ \ ((a,b)\in\Omega). \qquad \text{(I.3)}minimize ∥X∥∗​subject to Xab​=Mab​  ((a,b)∈Ω).(I.3)

In the uniform model Ω\OmegaΩ is a uniformly random mmm-subset of [n]×[n][n]\times[n][n]×[n]; in the Bernoulli model each entry is included independently with probability p=m/n2p = m/n^2p=m/n2.

The proof works with the tangent space TTT at MMM and its projection PT(X)=PUX+XPV−PUXPV\mathcal P_T(X) = P_UX + XP_V - P_UXP_VPT​(X)=PU​X+XPV​−PU​XPV​, the sampling projection PΩ\mathcal P_\OmegaPΩ​, and the centered operators QΩ=p−1PΩ−I\mathcal Q_\Omega = p^{-1}\mathcal P_\Omega - \mathcal IQΩ​=p−1PΩ​−I and QT=PT−ρ′I\mathcal Q_T = \mathcal P_T - \rho'\mathcal IQT​=PT​−ρ′I, where ρ=r/n\rho = r/nρ=r/n and ρ′=2ρ−ρ2\rho' = 2\rho - \rho^2ρ′=2ρ−ρ2. The candidate certificate YYY of (III.10) is the matrix of least Frobenius norm with PΩ(Y)=Y\mathcal P_\Omega(Y) = YPΩ​(Y)=Y and PT(Y)=E\mathcal P_T(Y) = EPT​(Y)=E.

Formalization targets

Goal: Theorem 1.1, general-rank form (I.11)

There is an absolute constant CCC such that, for every strongly incoherent MMM of rank rrr and every m≤n2m \le n^2m≤n2,

m≥Cμ4nr2(log⁡n)2  ⟹  Pr⁡uniform[M is the unique solution of (I.3)]≥1−n−3.m \ge C\mu^4 n r^2(\log n)^2 \implies \Pr_{\text{uniform}}\bigl[M \text{ is the unique solution of (I.3)}\bigr] \ge 1 - n^{-3}.m≥Cμ4nr2(logn)2⟹uniformPr​[M is the unique solution of (I.3)]≥1−n−3.

Milestones

  1. Lemma 3.1: a matrix YYY supported on Ω\OmegaΩ with PT(Y)=E\mathcal P_T(Y) = EPT​(Y)=E and ∥PT⊥(Y)∥<1\|\mathcal P_{T^\perp}(Y)\| < 1∥PT⊥​(Y)∥<1, together with injectivity of PΩ\mathcal P_\OmegaPΩ​ on TTT, certifies that MMM is the unique solution (already proved on the platform).
  2. Lemma 5.1 (exponent bound): ∣J∣+∣K∣−∣Q∣−∣Ω∣≤−∣Q′∣+1|J|+|K|-|Q|-|\Omega| \le -|Q'|+1∣J∣+∣K∣−∣Q∣−∣Ω∣≤−∣Q′∣+1 for every admissible pair.
  3. Lemma 5.2 (pair counting): at most (Cj(k+1))2j(k+1)+q(Cj(k+1))^{2j(k+1)+q}(Cj(k+1))2j(k+1)+q strongly admissible pairs have ∣Q′∣=q|Q'| = q∣Q′∣=q.
  4. Theorem 3.4 (moment bound I): with A=(QΩQT)kQΩ(E)A = (\mathcal Q_\Omega\mathcal Q_T)^k\mathcal Q_\Omega(E)A=(QΩ​QT​)kQΩ​(E) and rμ=μ2rr_\mu = \mu^2 rrμ​=μ2r,
Etrace⁡(A∗A)j≤(Cj(k+1))2j(k+1) n (nrμ2/m)j(k+1).\mathbb E\operatorname{trace}(A^*A)^j \le (Cj(k+1))^{2j(k+1)}\, n\,(n r_\mu^2/m)^{j(k+1)}.Etrace(A∗A)j≤(Cj(k+1))2j(k+1)n(nrμ2​/m)j(k+1).
  1. Corollary 3.5: under the goal's sampling condition and the Bernoulli model, with probability at least 1−n−31-n^{-3}1−n−3, PΩ\mathcal P_\OmegaPΩ​ is injective on TTT and ∥PT⊥(Y)∥≤1/2\|\mathcal P_{T^\perp}(Y)\| \le 1/2∥PT⊥​(Y)∥≤1/2.

The Bernoulli-to-uniform transfer (at most doubling the failure probability) is already on the platform and is included as a supporting item.

Significance

Theorem 1.1 shows that a tractable convex program recovers every strongly incoherent matrix of bounded rank from O(n(log⁡n)2)O(n(\log n)^2)O(n(logn)2) random entries, while Theorem 1.7 of the same paper shows that no method can succeed with fewer than order nlog⁡nn\log nnlogn. The gap is a single logarithmic factor. The result also requires nothing of the singular values, only of the singular vectors.

The theorem is proved in the literature, and later work improved the rank dependence (Theorem 1.2 of the same paper, and the golfing-scheme results of Gross and Recht). As far as is known, none of these results has a machine-checked proof. The mission produces a formal version of the full moment-method argument. Its combinatorial core, the admissible-pair calculus of Sections IV–V, is a self-contained counting problem for closed paths in a grid and is reusable for other trace-moment bounds of random operators. The Candès–Recht mission on the platform already supplies the deterministic duality step (Lemma 3.1) and the model transfer.

Difficulty

The obvious route bounds the Neumann series ∑k∥(QΩPT)kQΩ(E)∥\sum_k \|(\mathcal Q_\Omega\mathcal P_T)^k\mathcal Q_\Omega(E)\|∑k​∥(QΩ​PT​)kQΩ​(E)∥ term by term with noncommutative Khintchine inequalities and decoupling. That is how the earlier n6/5n^{6/5}n6/5 bound was obtained, and it degrades as kkk grows because the indicator variables in the higher terms are strongly coupled. The moment method replaces these tools by an exact expansion of Etrace⁡(A∗A)j\mathbb E\operatorname{trace}(A^*A)^jEtrace(A∗A)j as a sum over "spider" configurations of paths in [n]×[n][n]\times[n][n]×[n]. The difficulty moves into combinatorics. Configurations have to be grouped by admissible pairs, the exponent of nnn has to be matched against the powers of 1/p1/p1/p (Lemma 5.1), and the configurations have to be counted with enough precision that the sum over qqq converges (Lemma 5.2). A naive count of pairs gives (2j(k+1))4j(k+1)(2j(k+1))^{4j(k+1)}(2j(k+1))4j(k+1), which is too large by a square.

Formalization scope

  • Square case. Theorem 1.1 is printed for n1×n2n_1\times n_2n1​×n2​ matrices, but the paper proves only the square case (Section I-H: "we shall work exclusively with square matrices"). Every statement is for Matrix (Fin n) (Fin n) ℝ.
  • General rank. The goal and Corollary 3.5 are stated in the general-rank form (I.11), m≥Cμ4nr2(log⁡n)2m \ge C\mu^4 n r^2(\log n)^2m≥Cμ4nr2(logn)2. The paper states this form explicitly on p. 2055, and the proof of Corollary 3.5 derives it as (III.26). For r=O(1)r = O(1)r=O(1) it is the printed Theorem 1.1 and the printed Corollary 3.5.
  • Constants. Every constant ("numerical constant CCC", c0c_0c0​, and O(M)M:=(CM)MO(M)^M := (CM)^MO(M)M:=(CM)M) is an existential absolute constant quantified before nnn, rrr, mmm, MMM, μ\muμ, jjj, kkk and qqq. A constant allowed to depend on nnn or MMM would make (I.11) unsatisfiable for large CCC and the goal vacuous; that formalization is ruled out.
  • Standing assumptions. The paper assumes n≥C′n \ge C'n≥C′ and m≥2nrm \ge 2nrm≥2nr (I.22) throughout. In the goal and in Corollary 3.5 they are absorbed by CCC, since strong incoherence forces μ≥1\mu \ge 1μ≥1. Theorem 3.4 carries 2nr≤m2nr \le m2nr≤m explicitly. Theorem 3.4 omits r=O(1)r = O(1)r=O(1) and (I.10), since Section V uses only its own proviso m≥nrμ2m \ge n r_\mu^2m≥nrμ2​. Every statement also carries m≤n2m \le n^2m≤n2, without which the uniform model is empty.
  • Probability. The uniform model is the platform's successProb (a ratio of finite counts). The Bernoulli model uses bernoulliEventProb and bernoulliExpectation with p=m/n2p = m/n^2p=m/n2. The logarithm is natural, and the failure probability is written 1 / n^3.
  • Recovery. "Unique solution of (I.3)" is IsUniqueMinimizer: every other matrix that agrees with MMM on Ω\OmegaΩ has strictly larger nuclear norm. Stating recovery conditionally on the existence of a certificate would reduce the goal to Lemma 3.1; the goal instead bounds the probability of recovery itself.
  • Admissible pairs. The index i∈[j]i \in [j]i∈[j] is 0-based, the cyclic successor is finRotate, and the lexicographic order is compared through positions. Pair values are counted in Fin (2j(k+1)+1), which contains every admissible value, so the count is exact and finite.
  • New definitions. centeredTangentProjection (QT\mathcal Q_TQT​), momentMatrix (AAA), and the admissible-pair calculus. Strong incoherence (A1–A2) is the shared definition CandesTao.Shared.StrongIncoherence, used by this mission and by the companion mission II. The QT\mathcal Q_TQT​ definition is drafted independently in mission II.

Contributions are welcome on any milestone. Lemmas 5.1 and 5.2 are finite combinatorics and need no analysis. Theorem 3.4 additionally needs the expansion (IV.4) of the trace moment and the moment bounds for centered Bernoulli variables of Section IV-C. Corollary 3.5 also uses Theorem 3.2 (Rudelson selection estimate) and Lemma 3.3 (replacing PT\mathcal P_TPT​ by QT\mathcal Q_TQT​), which are milestones of the companion mission The Power of Convex Relaxation: Near-Optimal Matrix Completion II.

Selected references

  • E. J. Candès and T. Tao, The Power of Convex Relaxation: Near-Optimal Matrix Completion, IEEE Trans. Inf. Theory 56(5):2053–2080, 2010. https://doi.org/10.1109/TIT.2010.2044061
  • E. J. Candès and B. Recht, Exact Matrix Completion via Convex Optimization, Found. Comput. Math. 9(6):717–772, 2009. https://doi.org/10.1007/s10208-009-9045-5
  • D. Gross, Recovering Low-Rank Matrices From Few Coefficients in Any Basis, IEEE Trans. Inf. Theory 57(3):1548–1566, 2011. https://doi.org/10.1109/TIT.2011.2104999
  • B. Recht, A Simpler Approach to Matrix Completion, J. Mach. Learn. Res. 12:3413–3430, 2011. https://jmlr.org/papers/v12/recht11a.html
14 thms2 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability+1·Captain: mikedeng1

High-Dimensional Probability X: Exact Sparse RecoveryTextbook

Motivation

Compressed sensing asks a question that looks impossible at first: can a signal x∈Rnx\in\mathbb R^nx∈Rn be reconstructed exactly from far fewer than nnn linear measurements y=Ax∈Rmy=Ax\in\mathbb R^my=Ax∈Rm, m≪nm\ll nm≪n? Classical linear algebra says no — an underdetermined system has infinitely many solutions. But if xxx is known in advance to be sparse (most of its coordinates are zero), the extra structure makes recovery possible: solving the convex program that minimizes the ℓ1\ell_1ℓ1​ norm of a candidate solution, subject to matching the measurements, recovers xxx exactly, for a measurement matrix AAA with a suitable geometric property. This idea, developed by Candès, Romberg, Tao and Donoho in the mid-2000s, underlies modern MRI acceleration, single-pixel cameras, and sparse signal processing generally.

The chapter isolates the exact geometric property a measurement matrix needs — the restricted isometry property (RIP) — and proves, purely by linear algebra with no probability involved, that RIP alone is sufficient for exact recovery by ℓ1\ell_1ℓ1​ minimization. (A companion result, outside this mission, shows random sub-gaussian matrices satisfy RIP with high probability once mmm is large enough, which is what makes the deterministic guarantee here practically useful; this mission formalizes the deterministic half.)

Setting

For a vector vvv indexed by a finite set, write ∥v∥0\|v\|_0∥v∥0​ for its number of non-zero coordinates (so vvv is sss-sparse if ∥v∥0≤s\|v\|_0\le s∥v∥0​≤s), ∥v∥1:=∑i∣vi∣\|v\|_1:=\sum_i|v_i|∥v∥1​:=∑i​∣vi​∣ for its ℓ1\ell_1ℓ1​ norm, and ∥v∥2:=∑ivi2\|v\|_2:=\sqrt{\sum_i v_i^2}∥v∥2​:=∑i​vi2​​ for its Euclidean norm.

An m×nm\times nm×n matrix AAA satisfies the restricted isometry property (RIP) with parameters α,β,s\alpha,\beta,sα,β,s if

α∥v∥2  ≤  ∥Av∥2  ≤  β∥v∥2for every s-sparse v∈Rn,\alpha\|v\|_2 \;\le\; \|Av\|_2 \;\le\; \beta\|v\|_2 \qquad\text{for every } s\text{-sparse } v\in\mathbb R^n,α∥v∥2​≤∥Av∥2​≤β∥v∥2​for every s-sparse v∈Rn,

i.e. AAA acts as an approximate isometry on every sss-sparse vector — equivalently (the book's own Exercise 10.5.9), the singular values of every m×sm\times sm×s column-submatrix of AAA lie in [α,β][\alpha,\beta][α,β].

Given a matrix AAA and measurements y=Axy=Axy=Ax for an unknown sparse xxx, the exact-recovery program is

minimize ∥x′∥1subject toy=Ax′.\text{minimize } \|x'\|_1 \quad\text{subject to}\quad y = Ax'.minimize ∥x′∥1​subject toy=Ax′.

Formalization targets

Goal (Theorem 10.5.10, RIP implies exact recovery)

∃ x^=xwheneverx^ solves the exact-recovery program for y=Ax,\exists\,\hat x = x \quad\text{whenever}\quad \hat x \text{ solves the exact-recovery program for } y=Ax,∃x^=xwheneverx^ solves the exact-recovery program for y=Ax,

precisely: suppose AAA satisfies RIP with parameters α,β,(1+λ)s\alpha,\beta,(1+\lambda)sα,β,(1+λ)s where λ>(β/α)2\lambda>(\beta/\alpha)^2λ>(β/α)2; then for every sss-sparse xxx, every x^\hat xx^ that is feasible (Ax^=AxA\hat x=AxAx^=Ax) and ℓ1\ell_1ℓ1​-optimal among feasible vectors satisfies x^=x\hat x=xx^=x. No constant here is hard-coded beyond the book's own explicit threshold λ>(β/α)2\lambda>(\beta/\alpha)^2λ>(β/α)2 — the weakest stable form of the claim.

Significance

RIP isolates exactly the geometric mechanism that makes ℓ1\ell_1ℓ1​-minimization work for sparse recovery: once a matrix is known to satisfy it, exact recovery is a deterministic, provable consequence with no appeal to randomness, no failure probability, and no measurement-count formula to verify beyond the RIP parameters themselves. This clean separation — a purely geometric sufficient condition (RIP), proved separately (in the book's Theorem 10.5.11, outside this mission) to hold with high probability for random sub-gaussian matrices — is the template compressed sensing theory follows throughout: geometric/deterministic guarantee first, probabilistic verification that random constructions meet it second. The theorem is one of the two standard routes (with the direct probabilistic argument of Theorem 10.5.1) to the chapter's central claim that m=O(slog⁡n)m=O(s\log n)m=O(slogn) measurements suffice to recover any sss-sparse signal in Rn\mathbb R^nRn — exponentially fewer than the nnn measurements a naive linear-algebraic argument would need.

The result itself, and the RIP framework, are classical and well-established (Candès-Tao 2005). This mission formalizes the deterministic linear-algebra core of the argument — the statement infrastructure (RIP, sparsity, the exact-recovery program stated as an explicit optimization problem) and the goal theorem — for a solver to close with a proof.

Difficulty

The natural first idea for showing x^=x\hat x=xx^=x is to try to bound the recovery error h:=x^−xh:=\hat x-xh:=x^−x directly using ∥Ah∥2\|Ah\|_2∥Ah∥2​ (which vanishes, since both xxx and x^\hat xx^ are feasible) together with RIP applied to hhh itself — but hhh need not be sparse at all: it is the difference of two sparse-ish vectors and can have full support. The actual argument decomposes hhh's support into blocks by descending magnitude (the support I0I_0I0​ of xxx, then the λs\lambda sλs largest remaining coordinates I1I_1I1​, then the next λs\lambda sλs, and so on), applies RIP only to the leading block I0,1=I0∪I1I_{0,1}=I_0\cup I_1I0,1​=I0​∪I1​ (which genuinely has bounded sparsity ≤(1+λ)s\le(1+\lambda)s≤(1+λ)s), and separately bounds the contribution of every later block using the fact that x^\hat xx^ is ℓ1\ell_1ℓ1​-optimal (so ∥hI0c∥1≤∥hI0∥1\|h_{I_0^c}\|_1\le\|h_{I_0}\|_1∥hI0c​​∥1​≤∥hI0​​∥1​, the "cone constraint"): each later block's ℓ2\ell_2ℓ2​ norm is controlled by the ℓ1\ell_1ℓ1​ mass of the previous block divided by its size. This is a genuinely multi-step argument combining a purely geometric fact (RIP on one bounded-sparsity block) with a purely combinatorial one (the magnitude-sorted decomposition), and the "obvious" idea of applying RIP to hhh as a whole does not typecheck, since RIP says nothing about vectors with more than (1+λ)s(1+\lambda)s(1+λ)s non-zero entries.

Formalization scope

Vectors are plain functions ι → ℝ on a finite index type, not EuclideanSpace ℝ ι: the latter's fixed ℓ2\ell_2ℓ2​ norm instance cannot also host the ℓ1\ell_1ℓ1​ norm the program's objective needs, so both norms (L2Norm, L1Norm) are defined directly by their defining sums on the same underlying type. Sparsity (Sparsity) takes a real-valued threshold s : ℝ, matching that the RIP parameter (1+λ)s(1+\lambda)s(1+λ)s used by the goal theorem is a real number even at integer base sparsity. A solution x^\hat xx^ "of the program" is formalized as an explicit argmin membership — feasibility (A.mulVec xhat = A.mulVec x) conjoined with optimality over the exact feasible set (∀ x', A.mulVec x' = A.mulVec x → l1Norm xhat ≤ l1Norm x') — never "there exists an estimator such that", the trivialization risk this chapter's own triage brief flags explicitly (shared with Chapter 3's Max-Cut): an existential reading would prove a different, strictly weaker statement. The conclusion is stated for every such x^\hat xx^, not one witness, matching that RIP forces uniqueness.

This mission covers Theorem 10.5.10 only, as the sole item; the probabilistic goal Theorem 10.5.1 (exact recovery for random sub-gaussian measurement matrices, which needs Theorem 10.5.10 together with a separate probabilistic argument, Theorem 10.5.11, that random matrices satisfy RIP), and the Lasso guarantee (Theorem 10.6.1), are both left out for lack of session time: each would need a fresh probabilistic apparatus (independent isotropic sub-gaussian random rows, a failure-probability bound) built from scratch in this chapter's own sub-namespace, with no reusable published definition from an earlier chunk. L2Norm, L1Norm, Sparsity and RIP are reusable by any later chapter or mission needing sparse vectors or the restricted isometry property; solvers' contributions are welcome on completing the proof of Theorem 10.5.10 itself (the magnitude-sorted support decomposition sketched under Difficulty above), and, beyond this mission's current scope, on Theorem 10.5.11 and Theorem 10.5.1.

Selected references

  • E. J. Candès, T. Tao, Decoding by linear programming, IEEE Transactions on Information Theory 51 (2005), 4203–4215. https://doi.org/10.1109/TIT.2005.858979
  • D. L. Donoho, Compressed sensing, IEEE Transactions on Information Theory 52 (2006), 1289–1306. https://doi.org/10.1109/TIT.2006.871582
  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 10. https://doi.org/10.1017/9781108231596
5 thms2 active usersReviewed
🏆Completed
Machine LearningProbabilityStatistics·Captain: mikedeng1

High-Dimensional Probability VII: Slepian's Inequality for Gaussian ProcessesTextbook

Motivation

A Gaussian process is a family (Xt)t∈T(X_t)_{t\in T}(Xt​)t∈T​ of jointly Gaussian real random variables indexed by an arbitrary set TTT — not necessarily time. The canonical example is Xt=⟨g,t⟩X_t = \langle g, t\rangleXt​=⟨g,t⟩ for ttt ranging over a subset T⊆RnT\subseteq\mathbb R^nT⊆Rn and ggg a standard Gaussian vector in Rn\mathbb R^nRn; this single family already encodes questions as varied as the operator norm of a random matrix, the size of a random projection, and the metric complexity of a convex body. In every one of these applications the object of interest reduces to the same quantity: Esup⁡t∈TXtE\sup_{t\in T} X_tEsupt∈T​Xt​, the expected supremum of the process.

Bounding Esup⁡t∈TXtE\sup_{t\in T} X_tEsupt∈T​Xt​ directly is hard — computing it exactly is possible only in special cases, such as the reflection principle for Brownian motion. Slepian's inequality (David Slepian, 1962) sidesteps this by comparison: if a second Gaussian process (Yt)t∈T(Y_t)_{t\in T}(Yt​)t∈T​ has matching variances and at-least-as-large pairwise increments as (Xt)t∈T(X_t)_{t\in T}(Xt​)t∈T​, then YYY's supremum stochastically dominates XXX's. This turns a hard direct estimate into a search for a simpler comparison process — the technique that Sudakov and Fernique later sharpened by dropping the equal-variance hypothesis (Theorem 7.2.11), and that Sudakov used to derive a purely geometric lower bound on Esup⁡t∈TXtE\sup_{t\in T}X_tEsupt∈T​Xt​ from the covering numbers of (T,d)(T,d)(T,d) (Theorem 7.4.1, Sudakov's minoration inequality). Together these results are the entry point to the theory of Gaussian width and generic chaining that occupies the rest of the book (Chapters 7–9, 11), and they underlie sharp bounds on random matrices (Section 7.3), random projections (Chapter 9), and high-dimensional geometry more broadly (Adler and Taylor, Random Fields and Geometry, Springer, 2007; Talagrand, Upper and Lower Bounds for Stochastic Processes, Springer, 2014).

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P). A random process indexed by a set TTT is a family (Xt)t∈T(X_t)_{t\in T}(Xt​)t∈T​ of real random variables on Ω\OmegaΩ. It is a Gaussian process if every finite linear combination ∑t∈T0atXt\sum_{t\in T_0} a_t X_t∑t∈T0​​at​Xt​ (T0⊆TT_0\subseteq TT0​⊆T finite, at∈Ra_t\in \mathbb Rat​∈R) is a (possibly degenerate) normal random variable — equivalently, every finite marginal (Xt)t∈T0(X_t)_{t\in T_0}(Xt​)t∈T0​​ is a multivariate Gaussian vector. A process is mean zero if EXt=0EX_t = 0EXt​=0 for every ttt.

For a mean zero process, the increments d(t,s):=∥Xt−Xs∥L2=(E(Xt−Xs)2)1/2d(t,s) := \lVert X_t - X_s\rVert_{L^2} = (E(X_t - X_s)^2)^{1/2}d(t,s):=∥Xt​−Xs​∥L2​=(E(Xt​−Xs​)2)1/2 always define a (pseudo)metric on TTT — the canonical metric — turning the otherwise unstructured index set into a metric space. For a metric space (T,d)(T,d)(T,d) and $\varepsilon

0,the∗∗coveringnumber∗∗, the **covering number** ,the∗∗coveringnumber∗∗N(T,d,\varepsilon)isthesmallestcardinalityofafinitesubsetis the smallest cardinality of a finite subsetisthesmallestcardinalityofafinitesubsetN\subseteq Tsuchthateverypointofsuch that every point ofsuchthateverypointofTiswithinis withiniswithin\varepsilonofsomepointofof some point ofofsomepointofN(an(an(an\varepsilon−net);-net); −net);N(T,d,\varepsilon) := \infty$ if no finite net exists.

Because TTT need not be countable, sup⁡t∈TXt(ω)\sup_{t\in T} X_t(\omega)supt∈T​Xt​(ω) need not be a measurable function of ω\omegaω. Following the book's own convention, every quantity built from this supremum — Esup⁡t∈TXtE\sup_{t\in T}X_tEsupt∈T​Xt​ and P{sup⁡t∈TXt≥τ}P\{\sup_{t\in T}X_t\ge\tau\}P{supt∈T​Xt​≥τ} — is instead defined through the process's finite-dimensional marginals: as the supremum, over finite nonempty T0⊆TT_0\subseteq TT0​⊆T, of Emax⁡t∈T0XtE\max_{t\in T_0}X_tEmaxt∈T0​​Xt​ (respectively P{max⁡t∈T0Xt≥τ}P\{\max_{t\in T_0}X_t\ge\tau\}P{maxt∈T0​​Xt​≥τ}). This sidesteps the measurability question entirely, at the cost of the quantity possibly being +∞+\infty+∞.

Formalization targets

Slepian's inequality (Theorem 7.2.1, goal)

Let (Xt)t∈T(X_t)_{t\in T}(Xt​)t∈T​ and (Yt)t∈T(Y_t)_{t\in T}(Yt​)t∈T​ be mean zero Gaussian processes with EXt2=EYt2EX_t^2 = EY_t^2EXt2​=EYt2​ and E(Xt−Xs)2≤E(Yt−Ys)2E(X_t-X_s)^2 \le E(Y_t-Y_s)^2E(Xt​−Xs​)2≤E(Yt​−Ys​)2 for all t,s∈Tt,s\in Tt,s∈T. Then for every τ∈R\tau\in\mathbb Rτ∈R,

P{sup⁡t∈TXt≥τ}≤P{sup⁡t∈TYt≥τ},P\{\sup_{t\in T} X_t \ge \tau\} \le P\{\sup_{t\in T} Y_t \ge \tau\},P{t∈Tsup​Xt​≥τ}≤P{t∈Tsup​Yt​≥τ},

and consequently Esup⁡t∈TXt≤Esup⁡t∈TYtE\sup_{t\in T} X_t \le E\sup_{t\in T} Y_tEsupt∈T​Xt​≤Esupt∈T​Yt​.

Sudakov-Fernique's inequality (Theorem 7.2.11, milestone)

Under only the increment hypothesis E(Xt−Xs)2≤E(Yt−Ys)2E(X_t-X_s)^2 \le E(Y_t-Y_s)^2E(Xt​−Xs​)2≤E(Yt​−Ys​)2 (no equal-variance hypothesis),

Esup⁡t∈TXt≤Esup⁡t∈TYt.E\sup_{t\in T} X_t \le E\sup_{t\in T} Y_t.Et∈Tsup​Xt​≤Et∈Tsup​Yt​.

This is the weaker-hypothesis, strictly more applicable form: it is what Sudakov's minoration inequality and the sharp Gaussian random matrix bound of Section 7.3 both invoke.

Sudakov's minoration inequality (Theorem 7.4.1, milestone)

Let (Xt)t∈T(X_t)_{t\in T}(Xt​)t∈T​ be a mean zero Gaussian process with canonical metric ddd. For every ε≥0\varepsilon\ge 0ε≥0 at which N(T,d,ε)=:NN(T,d,\varepsilon)=:NN(T,d,ε)=:N is finite,

Esup⁡t∈TXt≥c ε log⁡NE\sup_{t\in T} X_t \ge c\,\varepsilon\,\sqrt{\log N}Et∈Tsup​Xt​≥cεlogN​

for an absolute constant c>0c>0c>0. This is the weakest, most stable form of the bound: it names no numerical value for ccc, so it survives any later sharpening of the constant.

Slepian's inequality, finite-dimensional case (Theorem 7.2.9, milestone)

The vector-indexed special case of Theorem 7.2.1 (TTT finite), proved first by Gaussian interpolation and then extended to the general index set.

Significance

The results themselves. Slepian's inequality is the founding comparison theorem for Gaussian processes; Sudakov-Fernique's inequality is its practically indispensable generalization, used routinely to bound suprema of Gaussian processes without needing to track variances explicitly. Sudakov's minoration inequality is the first bridge from the probability of a Gaussian process to the metric geometry of its index set, complementing Dudley's upper bound (Chapter 8) and together giving matching bounds — up to a logarithmic factor, and exactly in many cases of interest — on Esup⁡t∈TXtE\sup_{t\in T}X_tEsupt∈T​Xt​ purely from the covering numbers of (T,d)(T,d)(T,d). Downstream, this machinery gives the sharp bound E∥A∥≤m+nE\lVert A\rVert \le \sqrt m + \sqrt nE∥A∥≤m​+n​ on Gaussian random matrices (Section 7.3), underlies the Gaussian width used throughout convex geometry and compressed sensing (Chapters 9, 11), and bounds the covering numbers of polytopes and other convex sets (Corollary 7.4.4).

Formalizing it. All three inequalities are proved by the book (Gaussian interpolation and integration by parts for Slepian/Sudakov-Fernique; a direct application of Sudakov-Fernique to a well-chosen comparison process for Sudakov's minoration), so this mission's work is formalizing the statements faithfully and precisely — including the finite-marginal convention needed to make Esup⁡t∈TXtE\sup_{t\in T}X_tEsupt∈T​Xt​ and P{sup⁡t∈TXt≥τ}P\{\sup_{t\in T}X_t\ge\tau\}P{supt∈T​Xt​≥τ} meaningful for an uncountable index set without begging the underlying measurability question. The Gaussian interpolation technique itself (Lemmas 7.2.3, 7.2.5, 7.2.7) is not part of this mission's formalization scope; it is the proof method for the milestones and belongs to solvers closing them.

Difficulty

The obvious first idea — bound Esup⁡tXtE\sup_t X_tEsupt​Xt​ by controlling each XtX_tXt​ separately, e.g. via a union bound over a net — throws away exactly the structure Slepian-type comparisons exploit: the joint Gaussianity across ttt, not marginal tail behavior at each fixed ttt. A union bound needs a net and a modulus of continuity to begin with; Slepian's and Sudakov-Fernique's inequalities need neither — they compare two processes directly through their covariance structure, which is what makes the technique (Gaussian interpolation: continuously deform the covariance of one process into the other's, and track how a smooth, nearly-indicator functional behaves along the path) work with no assumption on TTT beyond the two hypotheses stated. The genuine difficulty is the smooth-interpolation argument itself — showing that Ef(Z(u))E f(Z(u))Ef(Z(u)) is monotone in uuu for the right choice of test function fff — which is exactly the part left as a milestone for solvers to formalize, not sketched here per the mission format's own rule against proof ideas.

Formalization scope

Esup⁡t∈TXtE\sup_{t\in T}X_tEsupt∈T​Xt​ (ProcessESup) is valued in EReal, not ℝ: the finite-marginal supremum a real-valued definition would silently default to the junk value 000 when the set of finite-marginal expectations is unbounded above — exactly the case the book itself records as Esup⁡t∈TXt=∞E\sup_{t\in T}X_t=\inftyEsupt∈T​Xt​=∞ (Exercise 7.4.2, a non-relatively-compact index set). P\{\sup_{t\in T}X_t\ge\tau\} (ProcessTailProb) stays real-valued, since it is always bounded in [0,1][0,1][0,1] and so carries no such risk. Both are defined through finite nonempty subsets of TTT, per the book's own footnote to Section 7.2; no separability, continuity, or countability assumption is placed on TTT itself.

Gaussianity is Mathlib's ProbabilityTheory.IsGaussianProcess — every finite restriction of the process has a Gaussian law — which is definitionally the book's Definition 7.1.10 ("every finite linear combination is Gaussian"); mean-zero is stated as an explicit hypothesis alongside it. Integrability of every quantity appearing under an expectation is not stated as a separate hypothesis: Fernique's theorem (already in Mathlib for general Gaussian measures) guarantees a Gaussian process has finite moments of every order, exactly as the book takes for granted.

Sudakov's minoration inequality (Theorem 7.4.1) is formalized for the case the book's own proof actually covers — N(T,d,ε)N(T,d,\varepsilon)N(T,d,ε) finite, taken as a hypothesis = (N : ℕ) rather than as a case split inside the conclusion — since the book itself defers the infinite-covering-number case to a separate, unproved exercise (7.4.2). This keeps TTT fully general (still possibly uncountable) at every fixed ε\varepsilonε where the net is finite, which rules out a trivializing reading of the theorem: nothing here forces TTT itself to be finite or countable, only the covering number at the scale ε\varepsilonε in play, which is the book's own hypothesis.

Definitions reusable beyond this mission: ProcessESup, ProcessTailProb, CanonicalMetric, and CoveringNumber are exactly the substrate Chapters 8 ("Dudley's Integral Inequality"), 9 ("The Matrix Deviation Inequality"), and 11 ("Dvoretzky-Milman's Theorem") need for Gaussian width and generic chaining; per this series' plan those missions restate them locally (drafts cannot import another draft's definitions), using this chunk's forms as the faithful reference. Contributions closing the Gaussian-interpolation machinery (Lemmas 7.2.3–7.2.8) as a reusable definitions layer, beyond what any one milestone needs, are welcome.

Selected references

  • Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018. https://www.math.uci.edu/~rvershyn/papers/HDP-book/HDP-book.pdf
  • D. Slepian, "The one-sided barrier problem for Gaussian noise", Bell System Technical Journal 41 (1962), 463–501.
  • V. N. Sudakov, "Gaussian random processes and measures of solid angles in Hilbert space", Soviet Mathematics Doklady 12 (1971), 412–415.
  • X. Fernique, "Regularité des trajectoires des fonctions aléatoires gaussiennes", in École d'Été de Probabilités de Saint-Flour IV-1974, Springer Lecture Notes in Mathematics 480 (1975), 1–96.
  • M. Talagrand, Upper and Lower Bounds for Stochastic Processes: Modern Methods and Classical Problems, Springer, 2014.
11 thms2 active usersReviewed
🏆Completed
Machine LearningProbabilityStatistics·Captain: mikedeng1

High-Dimensional Probability II: Concentration Inequalities for Sums of Independent Random VariablesTextbook

Motivation

The central limit theorem tells us that a normalized sum of independent random variables converges in distribution to a Gaussian. For applications — bounding the failure probability of a randomized algorithm, controlling the error of a Monte Carlo estimator, proving a generalization bound in learning theory — a limiting distribution is not enough: what is needed is a single, explicit, non-asymptotic inequality that holds for every fixed sample size NNN, not merely as N→∞N \to \inftyN→∞. Hoeffding's inequality (Wassily Hoeffding, 1963) and Bernstein's inequality (Sergei Bernstein, 1920s–1940s, in the form used here due to Vadim Bennett and later authors) are the two archetypal answers: both give an explicit Gaussian-type tail bound for a weighted sum of independent random variables, valid for every NNN, with all constants made explicit. They are the workhorses behind concentration of measure, high-dimensional statistics, and the non-asymptotic analysis of randomized algorithms; a textbook trying to reach the Johnson–Lindenstrauss lemma, random matrix norms, or the restricted isometry property has to pass through this chapter first, because every one of those results is itself an application of a weighted-sum concentration inequality to a specific choice of random variables.

The central limit theorem's own error term is the obstruction that direct concentration inequalities are built to avoid: the Berry–Esseen theorem (Andrew C. Berry, 1941; Carl-Gustav Esseen, 1942) bounds the normal approximation's error at order 1/N1/\sqrt N1/N​, which is too slow to recover a genuinely exponential tail bound for finite NNN. Hoeffding's and Bernstein's inequalities are proved instead by a direct argument — bounding the moment generating function of the sum and optimizing a Markov/Chernoff exponential tilt — that never invokes the central limit theorem or its error term at all.

The sub-gaussian and sub-exponential norms

Fix a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P). For a real random variable XXX on (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P), define its sub-gaussian norm

∥X∥ψ2:=inf⁡{t>0:Eexp⁡(X2/t2) is finite and ≤2}\|X\|_{\psi_2} := \inf\{t > 0 : \mathbb E \exp(X^2/t^2) \text{ is finite and } \le 2\}∥X∥ψ2​​:=inf{t>0:Eexp(X2/t2) is finite and ≤2}

and its sub-exponential norm

∥X∥ψ1:=inf⁡{t>0:Eexp⁡(∣X∣/t) is finite and ≤2}.\|X\|_{\psi_1} := \inf\{t > 0 : \mathbb E \exp(|X|/t) \text{ is finite and } \le 2\}.∥X∥ψ1​​:=inf{t>0:Eexp(∣X∣/t) is finite and ≤2}.

In both definitions, the requirement that the exponential moment be finite (i.e. that the moment-generating integrand be integrable), and not merely satisfy "≤2\le 2≤2" as a bare inequality, is essential: without it a moment that is genuinely infinite for a given ttt would vacuously count as "≤2\le 2≤2" under the Bochner integral's convention that a non-integrable function integrates to 000, and every random variable — however heavy-tailed — would trivially have norm 000. XXX is called sub-gaussian (respectively sub-exponential) when this infimum is over a nonempty set, i.e. when some finite ttt makes the moment finite and at most 222. These are genuine norms (up to the identification of almost-surely-equal random variables) on the vector space of random variables for which they are finite, and they are the natural non-asymptotic yardsticks for tail heaviness: ∥X∥ψ2<∞\|X\|_{\psi_2} < \infty∥X∥ψ2​​<∞ characterizes a Gaussian-type tail P{∣X∣≥t}≤2exp⁡(−ct2/∥X∥ψ22)P\{|X| \ge t\} \le 2\exp(-ct^2/\|X\|_{\psi_2}^2)P{∣X∣≥t}≤2exp(−ct2/∥X∥ψ2​2​), while ∥X∥ψ1<∞\|X\|_{\psi_1} < \infty∥X∥ψ1​​<∞ characterizes an exponential-type tail P{∣X∣≥t}≤2exp⁡(−ct/∥X∥ψ1)P\{|X| \ge t\} \le 2\exp(-ct/\|X\|_{\psi_1})P{∣X∣≥t}≤2exp(−ct/∥X∥ψ1​​). Every bounded random variable — in particular every Bernoulli or Rademacher (symmetric Bernoulli) random variable — is sub-gaussian, and the square of a sub-gaussian random variable is sub-exponential; a genuinely sub-exponential (not sub-gaussian) example is the squared coordinate gi2g_i^2gi2​ of a standard Gaussian vector, or the exponential distribution itself.

Formalization targets

Goal — Theorem 2.8.2 (Bernstein's inequality, weighted sum). Let X1,…,XNX_1, \dots, X_NX1​,…,XN​ be independent, mean-zero, sub-exponential random variables on (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P), and let a=(a1,…,aN)∈RNa = (a_1, \dots, a_N) \in \mathbb R^Na=(a1​,…,aN​)∈RN. Then, for every t≥0t \ge 0t≥0,

P{∣∑i=1NaiXi∣≥t}  ≤  2exp⁡[−cmin⁡(t2K2∥a∥22,tK∥a∥∞)],P\Bigl\{\Bigl|\sum_{i=1}^N a_i X_i\Bigr| \ge t\Bigr\} \;\le\; 2\exp\left[-c\min\left(\frac{t^2}{K^2\|a\|_2^2}, \frac{t}{K\|a\|_\infty}\right)\right],P{​i=1∑N​ai​Xi​​≥t}≤2exp[−cmin(K2∥a∥22​t2​,K∥a∥∞​t​)],

where K=max⁡i∥Xi∥ψ1K = \max_i \|X_i\|_{\psi_1}K=maxi​∥Xi​∥ψ1​​ and c>0c > 0c>0 is an absolute constant that does not depend on NNN, the XiX_iXi​, aaa, or ttt.

The goal is deliberately the weighted and sub-exponential form, the weakest of the chapter's results that is still stable under the improvements a solver might find: it neither fixes ai≡1a_i \equiv 1ai​≡1 (the unweighted Theorem 2.8.1, a special case) nor restricts to the lighter sub-gaussian tail (Theorem 2.6.3, which follows from a strictly stronger hypothesis). Both weaker theorems, plus Hoeffding's and Chernoff's inequalities, are included as milestones because Bernstein's own proof is built directly from them.

Significance

The result itself. Bernstein's inequality is the two-tail-regime concentration bound: a sub-gaussian tail exp⁡(−ct2/(K∥a∥2)2)\exp(-ct^2/(K\|a\|_2)^2)exp(−ct2/(K∥a∥2​)2) near the mean, transitioning to a heavier sub-exponential tail exp⁡(−ct/(K∥a∥∞))\exp(-ct/(K\|a\|_\infty))exp(−ct/(K∥a∥∞​)) far from it, exactly the behavior one should expect from a mixture of light-tailed terms with one heavy-tailed outlier. It underlies the concentration of quadratic forms (Chapter 6's Hanson–Wright inequality controls ∑εiεj\sum \varepsilon_i \varepsilon_j∑εi​εj​-type terms, which are themselves products of sub-gaussians and hence sub-exponential by Lemma 2.7.7), and it is the standard tool for bounding empirical-process suprema whose summands are not bounded but merely light-tailed.

Formalizing it. No formalization of Bernstein's inequality — in either the weighted or unweighted, or sub-gaussian or sub-exponential form — exists yet on Prove2Me (GET /theorems?q=Bernstein and q=sub-exponential return no relevant hits, checked 2026-09-17). What this mission produces is not just the statement but the machinery underneath it: a working Orlicz-norm treatment of ψ1\psi_1ψ1​ and ψ2\psi_2ψ2​ that a later mission (the Hanson–Wright inequality, or any future chapter that needs sub-exponential concentration) can build on directly.

Difficulty

The obvious first idea — squaring both sides and applying Chebyshev, as one does to prove the weak law of large numbers — gives only a polynomial tail bound decaying like 1/N1/N1/N, far too weak to be useful (this is exactly the point made by the chapter's opening discussion of the coin-tossing example, comparing the linear decay from Chebyshev against the target exponential decay). The central limit theorem promises the right shape of tail asymptotically but, per Berry–Esseen, with an error of order 1/N1/\sqrt N1/N​ that swamps any exponential gain for large deviations — the CLT approximation is simply not valid in the tail regime the inequality needs. The actual argument instead controls the moment generating function of the full sum directly and optimizes an exponential (Chernoff) tilt; this is why the sub-gaussian and sub-exponential norms — MGF-control objects, not moment or tail objects per se — are the right technical vehicle, even though Proposition 2.5.2 and 2.7.1 show all these characterizations are equivalent up to constants. The min of two terms in Bernstein's exponent is not an artifact of a loose proof: it reflects a genuinely two-regime tail (Gaussian near the mean, exponential in the far tail), and collapsing it to a single term in either direction would either be false (dropping the exponential term) or needlessly weak (dropping the Gaussian term, which is what a naive union bound over the worst single term would give).

Formalization scope

Random variables are ℝ-valued functions on an explicit probability space (Ω, mΩ, P) (Ω : Type, MeasurableSpace Ω, P : Measure Ω, [IsProbabilityMeasure P]), matching the book's setup throughout. Independence is Mathlib's ProbabilityTheory.iIndepFun, and tail probabilities are stated with P.real, Mathlib's ℝ-valued measure evaluation, which corresponds directly to the book's P{⋅}P\{\cdot\}P{⋅}.

Both Orlicz norms are defined locally, as genuine infima matching Definitions 2.5.6 and 2.7.5 verbatim (subgaussianNorm, subexponentialNorm, each sInf {t > 0 : Integrable (fun ω => E[...]) P ∧ E[...] ≤ 2}), rather than reused from Mathlib's HasSubgaussianMGF (Mathlib.Probability.Moments.SubGaussian). The Integrable conjunct is not optional dressing: Mathlib's Bochner integral of a non-integrable function is 0 by convention, so a bare E[...] ≤ 2 (without asserting integrability) would be satisfied by every t for which the moment is actually infinite, collapsing the sub-gaussian norm of a standard Gaussian (and, symmetrically, the sub-exponential norm of any heavy-tailed variable) to 0 — a trivializing formalization the mission was moderated to rule out. The same Integrable conjunct appears in every moment hypothesis (general_hoeffding, bernstein_unweighted, bernstein_weighted): ∃ s > 0, Integrable (...) P ∧ ∫ ... ≤ 2, so that the hypothesis is not satisfied vacuously by non-integrable exponential moments either. HasSubgaussianMGF bounds the moment generating function directly with a variance-proxy parameter σ2\sigma^2σ2 (E exp(tX) ≤ exp(c t²/2)), which is a different object definitionally from the Orlicz ψ2\psi_2ψ2​ norm — equivalent up to a constant factor by the book's own Proposition 2.5.2, but not interchangeable without restating that equivalence — and Mathlib has no sub-exponential analogue at all. Since the goal theorem and two of its milestones need the sub-exponential norm, one consistent convention (the book's own Orlicz norms) is used for both ψ1\psi_1ψ1​ and ψ2\psi_2ψ2​ throughout the mission, rather than mixing Mathlib's MGF-based sub-gaussian convention with a locally defined sub-exponential one.

Every occurrence of the book's "ccc is an absolute constant" is formalized as a genuine existential quantifier fixed before the random variables, the vector a, and t are introduced: ∃ c : ℝ, 0 < c ∧ ∀ ..., P.real {...} ≤ 2 * Real.exp (-(c * ...)). No numeral is substituted for c anywhere; a solver's proof may use any positive constant it can establish, exactly mirroring the book's own non-constructive existence claims. The trivializing formalization this rules out is fixing c to a specific small numeral (which would be a strictly stronger, easier, and unfaithful claim) or, in the other direction, weakening the statement by allowing c to depend on N, the XiX_iXi​, a, or t (which would make the theorem vacuous, since any such bound trivially holds for a small enough ccc depending on the instance).

Chernoff's inequality (Theorem 2.3.1) needs no Orlicz norm — Bernoulli parameters pip_ipi​ are given directly via P.real {X i = 1} = p i ∧ P.real {X i = 0} = 1 - p i, and the conclusion uses Real.rpow (^ on ℝ → ℝ → ℝ) for the real exponent ttt in (eμ/t)t(e\mu/t)^t(eμ/t)t. Hoeffding's inequality for symmetric Bernoulli variables (Theorem 2.2.2) is likewise self-contained, needing only the two-point probability hypothesis defining the Rademacher distribution.

Selected references

  • W. Hoeffding, Probability Inequalities for Sums of Bounded Random Variables, Journal of the American Statistical Association 58(301), 1963. https://doi.org/10.2307/2282952
  • S. Bernstein, The Theory of Probabilities, Gastehizdat Publishing House, Moscow, 1946 (Russian; the inequality is due to Bernstein's earlier 1920s–1930s work, this textbook states the modern sub-exponential form following later expositions).
  • A. C. Berry, The Accuracy of the Gaussian Approximation to the Sum of Independent Variates, Transactions of the American Mathematical Society 49(1), 1941. https://doi.org/10.2307/1990053
  • C.-G. Esseen, On the Liapunoff Limit of Error in the Theory of Probability, Arkiv för Matematik, Astronomi och Fysik A28, 1942.
  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 2. https://doi.org/10.1017/9781108231596
7 thms2 active usersReviewed
🏆Completed
Machine LearningProbabilityStatistics·Captain: mikedeng1

High-Dimensional Probability I: Approximate Carathéodory's TheoremTextbook

Motivation

Many arguments in high-dimensional geometry, statistics and computer science need to approximate a point of a convex set by an average of a handful of extreme points, rather than represent it exactly. The classical Carathéodory theorem (1907) answers the exact question: every point of the convex hull of a set T⊆RnT \subseteq \mathbb{R}^nT⊆Rn is a convex combination of at most n+1n+1n+1 points of TTT. That bound is tight and grows with the dimension nnn, which makes it useless whenever nnn is large — exactly the regime of interest in high-dimensional probability.

B. Maurey's empirical method — an unpublished 1980–81 result reported by G. Pisier, "Remarques sur un résultat non publié de B. Maurey," Séminaire d'Analyse Fonctionnelle 1980–1981 — and later applied by B. Carl to bound covering numbers of operators between Banach spaces (Inequalities of Bernstein-Jackson-type and the degree of compactness of operators in Banach spaces, Ann. Inst. Fourier 35(3), 1985, 79–118), replaces the exact question with an approximate one and removes the dimension dependence entirely: to approximate xxx to accuracy ε\varepsilonε, the number of points needed depends only on ε\varepsilonε, never on nnn. Vershynin's High-Dimensional Probability opens with this result as its "Appetizer," using it to illustrate the book's central theme — that randomness is a tool for constructing deterministic combinatorial objects — before any probabilistic machinery has been introduced.

Setting

A convex combination of finitely many points z1,…,zm∈Rnz_1, \dots, z_m \in \mathbb{R}^nz1​,…,zm​∈Rn is a sum ∑i=1mλizi\sum_{i=1}^m \lambda_i z_i∑i=1m​λi​zi​ with λi≥0\lambda_i \ge 0λi​≥0 and ∑iλi=1\sum_i \lambda_i = 1∑i​λi​=1. The convex hull conv⁡(T)\operatorname{conv}(T)conv(T) of a set T⊆RnT \subseteq \mathbb{R}^nT⊆Rn is the set of all convex combinations of all finite collections of points of TTT. The diameter of TTT is diam⁡(T)=sup⁡{∥s−t∥2:s,t∈T}\operatorname{diam}(T) = \sup\{\|s-t\|_2 : s, t \in T\}diam(T)=sup{∥s−t∥2​:s,t∈T}, the Euclidean norm throughout.

The classical Carathéodory theorem states that every x∈conv⁡(T)x \in \operatorname{conv}(T)x∈conv(T) is a convex combination of at most n+1n+1n+1 points of TTT — with n+1n+1n+1 generally unavoidable, attained by a simplex. The question this mission answers is different: given that we are willing to approximate xxx rather than represent it exactly, and willing to use only combinations with equal coefficients 1/k1/k1/k (an average of kkk points, with repetition allowed), how large must kkk be as a function of the desired accuracy?

Formalization targets

Goal — Theorem 0.0.2, Approximate Carathéodory's theorem

diam(T)≤1, x∈conv⁡(T), k∈Z>0 ⟹ ∃ x1,…,xk∈T:∥x−1k∑j=1kxj∥2≤1k.\text{diam}(T) \le 1,\ x \in \operatorname{conv}(T),\ k \in \mathbb{Z}_{>0} \ \Longrightarrow\ \exists\, x_1,\dots,x_k \in T:\quad \left\| x - \frac{1}{k}\sum_{j=1}^{k} x_j \right\|_2 \le \frac{1}{\sqrt{k}}.diam(T)≤1, x∈conv(T), k∈Z>0​ ⟹ ∃x1​,…,xk​∈T:​x−k1​j=1∑k​xj​​2​≤k​1​.

The quantifiers are exactly this order: for every bounded TTT, every point of its convex hull, and every target kkk, such an averaging set exists. This is the weakest stable statement carrying the theorem's content — the number of points kkk does not depend on the dimension nnn, and the coefficients are forced to be uniform — and it is the form the corollary below invokes directly.

Milestone — Corollary 0.0.4, Covering polytopes by balls

P=conv⁡(T), ∣T∣=N, diam⁡(P)≤1, ε>0 ⟹ ∃ C, ∣C∣≤N⌈1/ε2⌉:P⊆⋃c∈CB‾(c,ε).P = \operatorname{conv}(T),\ |T| = N,\ \operatorname{diam}(P) \le 1,\ \varepsilon > 0 \ \Longrightarrow\ \exists\, C,\ |C| \le N^{\lceil 1/\varepsilon^2 \rceil}:\quad P \subseteq \bigcup_{c \in C} \overline{B}(c, \varepsilon).P=conv(T), ∣T∣=N, diam(P)≤1, ε>0 ⟹ ∃C, ∣C∣≤N⌈1/ε2⌉:P⊆c∈C⋃​B(c,ε).

This is a direct application of the goal to computational geometry's covering problem: how many balls of radius ε\varepsilonε are needed to cover a polytope, and where should they be centered.

Significance

The result itself. The approximate Carathéodory theorem is the prototype of a dimension-free approximation result: whenever a set is bounded, a fixed number of points (depending only on the target accuracy, not the ambient dimension) suffices to approximate any point of its convex hull. This is what makes possible dimension-independent covering-number bounds such as Corollary 0.0.4, which in turn are the starting point for the book's later treatment of entropy, packing and generic chaining (Chapters 4, 7–8). The technique generalizes far beyond Rn\mathbb{R}^nRn: it underlies covering-number bounds for operators between Banach spaces (Carl's original application) and is a recurring device in learning theory for bounding the size of an ε\varepsilonε-net of a hypothesis class.

Formalizing it. Both results are elementary and already fully proved in the literature; no open mathematical content remains. What this mission contributes is a machine-checked, faithful Lean statement of Maurey's construction and its corollary, phrased over Mathlib's existing convex-hull and metric-diameter machinery, so that later missions in this series (concentration inequalities, Johnson–Lindenstrauss, chaining) can build on a verified base case of "probability constructs a deterministic covering," and so that the empirical method itself becomes a reusable, linked component on the platform. The proof of the goal (via the probabilistic argument sketched by the book: interpret a convex combination as a probability distribution, average kkk i.i.d. samples, and bound the variance) is left open for solvers.

Difficulty

The identity that makes the proof work — averaging kkk independent copies of a random vector concentrates around its mean at rate 1/k1/\sqrt{k}1/k​ in mean-square — is a two-line computation once the convex combination is reinterpreted probabilistically. The step that is easy to miss is this reinterpretation itself: nothing in the statement mentions probability, so the "obvious" attack of manipulating the convex-combination weights directly, or trying to construct x1,…,xkx_1,\dots,x_kx1​,…,xk​ by some explicit combinatorial recipe, does not see a path to a bound independent of nnn. The probabilistic argument produces the points non-constructively, via an averaging/existence argument (the expected squared distance is small, so some realization achieves it) rather than an explicit formula — a solver has to introduce a probability space and a random vector that does not appear anywhere in the formal statement to be proved.

Formalization scope

Both results are stated over EuclideanSpace ℝ (Fin n) for an explicit dimension n : ℕ, so ‖·‖ is the Euclidean norm and Mathlib's Metric.diam is used directly for diam⁡(T)=sup⁡{∥s−t∥2}\operatorname{diam}(T) = \sup\{\|s-t\|_2\}diam(T)=sup{∥s−t∥2​}. The convex hull is Mathlib's convexHull ℝ T; by Mathlib's convexHull_eq, this already coincides with the book's own definition of a convex combination of finitely many points of TTT, so no bespoke convex-combination definition is introduced — this mission needs no supporting definitions of its own. In the corollary, "a polytope PPP with NNN vertices" is formalized, following the book's own proof, as P=conv⁡(T)P = \operatorname{conv}(T)P=conv(T) for a finite vertex set TTT with #T=N\#T = N#T=N, rather than via a separate Polytope structure (which Mathlib does not provide and the book's argument does not need). The covering bound N⌈1/ε2⌉N^{\lceil 1/\varepsilon^2\rceil}N⌈1/ε2⌉ is an exponent, not a product with NNN — matching the book's own proof, which counts the NkN^kNk ordered kkk-tuples of vertices with repetition, k:=⌈1/ε2⌉k := \lceil 1/\varepsilon^2\rceilk:=⌈1/ε2⌉; the typeset "N⌈1/ε2⌉N\lceil 1/\varepsilon^2\rceilN⌈1/ε2⌉" in the corollary statement is the same juxtaposition-as-exponent notation the proof uses for "NkN^kNk" one line earlier.

A trivializing formalization is ruled out explicitly: the goal must hold for every integer k>0k > 0k>0 and every x∈conv⁡(T)x \in \operatorname{conv}(T)x∈conv(T), not merely some convenient choice — e.g. k=1k = 1k=1 together with x∈Tx \in Tx∈T trivially satisfies the inequality but proves nothing about the theorem's actual content, that a fixed, dimension-independent kkk works uniformly over all points of the hull. The formal statement quantifies TTT, then xxx, then kkk, and only then asserts existence of the x1,…,xkx_1,\dots,x_kx1​,…,xk​, exactly in that order.

Classical Carathéodory (Theorem 0.0.1, stated for context in the source but not used by either formalized result's proof) is not drafted here: Mathlib already proves the corresponding statement via affine independence (Caratheodory.eq_pos_convex_span_of_mem_convexHull, Analysis/Convex/Caratheodory.lean), from which the book's "n+1n+1n+1 points" bound follows via AffineIndependent.card_le_finrank_succ. It is not added as a kind: reference milestone because no corresponding theorem is yet published on the Prove2Me platform to point at (checked 2026-09-17: GET /theorems?q=Caratheodory returns only unrelated tropical-convexity results), and re-drafting existing Mathlib content as a new platform theorem would duplicate rather than reuse it.

Selected references

  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, DOI 10.1017/9781108231596, Appetizer (pp. 1–5).
  • G. Pisier, "Remarques sur un résultat non publié de B. Maurey," Séminaire d'Analyse Fonctionnelle (Maurey–Schwartz), 1980–1981, exposé no. 5. numdam.org/item/SAF_1980-1981____A5_0
  • B. Carl, "Inequalities of Bernstein-Jackson-type and the degree of compactness of operators in Banach spaces," Annales de l'Institut Fourier, 35(3), 1985, 79–118. numdam.org/item/AIF_1985__35_3_79_0
2 thms2 active usersReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

The Risk of Expected Utility Under Parameter Uncertainty I: Closed-Form Out-of-Sample Utility Variance of the Shrinkage Mean-Variance PortfolioResearch Paper

Why out-of-sample utility risk matters

A portfolio chosen from historical returns can look attractive in the data used to construct it and deliver a different result when evaluated under the population return distribution. The gap is driven by estimation error in both the mean return and covariance matrix. A mean of future utility values describes average performance, but it does not describe how much that utility varies across possible estimation samples. Lassance, Martín-Utrera and Simaan study this variation for a portfolio that blends an estimated mean-variance choice with an estimated global-minimum-variance choice. Their closed-form variance makes the sampling risk of that blend an explicit function of market and sample parameters. The source for this mission is the authors’ SSRN manuscript, version dated August 18, 2023, including its Internet Appendix; appendix pages are cited as IA pages.

The market and the estimated portfolio

There are NNN risky stocks. Their excess-return vector has population mean μ∈RN\mu\in\mathbb R^Nμ∈RN and positive-definite population covariance Σ∈RN×N\Sigma\in\mathbb R^{N\times N}Σ∈RN×N. The investor has risk aversion γ>0\gamma>0γ>0. A portfolio is a vector of weights www whose entries sum to one. Its population mean-variance utility is

U(w)=w⊤μ−γ2w⊤Σw.U(w)=w^\top\mu-\frac{\gamma}{2}w^\top\Sigma w.U(w)=w⊤μ−2γ​w⊤Σw.

Write eee for the vector of ones. The global-minimum-variance portfolio and its variance are wg=Σ−1e(e⊤Σ−1e)−1w_g=\Sigma^{-1}e(e^\top\Sigma^{-1}e)^{-1}wg​=Σ−1e(e⊤Σ−1e)−1 and σg2=(e⊤Σ−1e)−1\sigma_g^2=(e^\top\Sigma^{-1}e)^{-1}σg2​=(e⊤Σ−1e)−1. Its mean is μg=μ⊤Σ−1e σg2\mu_g=\mu^\top\Sigma^{-1}e\,\sigma_g^2μg​=μ⊤Σ−1eσg2​. The population matrix B=Σ−1(I−ewg⊤)B=\Sigma^{-1}(I-ew_g^\top)B=Σ−1(I−ewg⊤​) maps the mean vector to a zero-cost portfolio. The variance of that portfolio is ψ2=μ⊤Σ−1μ−μg2/σg2\psi^2=\mu^\top\Sigma^{-1}\mu-\mu_g^2/\sigma_g^2ψ2=μ⊤Σ−1μ−μg2​/σg2​. These quantities are computed from μ\muμ and Σ\SigmaΣ; they are not independent inputs. These definitions are equations (3)–(7) of the manuscript.

The investor observes TTT independent return vectors r1,…,rTr_1,\ldots,r_Tr1​,…,rT​, each with multivariate Gaussian law N(μ,Σ)\mathcal N(\mu,\Sigma)N(μ,Σ). The sample mean is μ^=T−1∑trt\hat\mu=T^{-1}\sum_t r_tμ^​=T−1∑t​rt​, and the sample covariance is Σ^=T−1∑t(rt−μ^)(rt−μ^)⊤\hat\Sigma=T^{-1}\sum_t(r_t-\hat\mu)(r_t-\hat\mu)^\topΣ^=T−1∑t​(rt​−μ^​)(rt​−μ^​)⊤. Replacing the population parameters in wgw_gwg​ and BBB by these estimates gives the sample GMV portfolio w^g\hat w_gw^g​ and the sample zero-cost portfolio w^z=B^μ^\hat w_z=\hat B\hat\muw^z​=B^μ^​. The estimated mean-variance portfolio is w^⋆=w^g+γ−1w^z\hat w^\star=\hat w_g+\gamma^{-1}\hat w_zw^⋆=w^g​+γ−1w^z​. At shrinkage intensity κ∈[0,1]\kappa\in[0,1]κ∈[0,1], the portfolio under study is w^⋆(κ)=(1−κ)w^g+κw^⋆\hat w^\star(\kappa)=(1-\kappa)\hat w_g+\kappa\hat w^\starw^⋆(κ)=(1−κ)w^g​+κw^⋆. Its out-of-sample utility, U(w^⋆(κ))U(\hat w^\star(\kappa))U(w^⋆(κ)), is evaluated using population μ\muμ and Σ\SigmaΣ. It is random because the weights depend on the sample. These choices are fixed by equations (9)–(12) and Assumption 2 of the manuscript.

Formalization targets

The goal is Proposition 1, equations (13)–(19). Under N≥2N\ge2N≥2 and T>N+7T>N+7T>N+7, it asserts that the utility has a finite second moment and that

V[U(w^⋆(κ))]=V[U(w^g)]+Δ(κ),Δ(κ)=a1κ4+a2κ3+a3κ2+a4κ.\mathbb V[U(\hat w^\star(\kappa))] =\mathbb V[U(\hat w_g)]+\Delta(\kappa),\qquad \Delta(\kappa)=a_1\kappa^4+a_2\kappa^3+a_3\kappa^2+a_4\kappa.V[U(w^⋆(κ))]=V[U(w^g​)]+Δ(κ),Δ(κ)=a1​κ4+a2​κ3+a3​κ2+a4​κ.

The coefficients a1,…,a4a_1,\ldots,a_4a1​,…,a4​ and V[U(w^g)]\mathbb V[U(\hat w_g)]V[U(w^g​)] are the exact rational expressions in T,N,γ,σg2,ψ2T,N,\gamma,\sigma_g^2,\psi^2T,N,γ,σg2​,ψ2 on pp. 14–15 of the manuscript. In particular, the result covers every κ∈[0,1]\kappa\in[0,1]κ∈[0,1], including the sample GMV portfolio at κ=0\kappa=0κ=0 and the sample mean-variance portfolio at κ=1\kappa=1κ=1.

The milestones follow the quantities named in the authors’ proof, Section IA.10. Equation (IA43) gives the covariance matrix of the random weights, and (IA44) gives the variance of their population mean return. The jointly distributed mean-return and return-variance pair in (IA45)–(IA48) supplies the setting for two auxiliary moment identities, (IA53) and (IA57). Equations (IA49), (IA59), and (IA60) give the first and second moments needed for return variance and mean return; (IA68) gives their covariance. All are statements from the Internet Appendix, pp. IA35–IA39.

What the result supplies

The expression tells an investor how the sampling risk of utility changes with the shrinkage intensity, sample size, stock count, risk aversion, and the two population variance parameters. The later comparison of variance-minimizing, mean-maximizing, and robustness-maximizing intensities uses this formula. Without Proposition 1, those comparisons have no explicit OOSU risk function to analyze. The result is already proved in the paper; this mission asks for its Lean proof and for reusable formal statements of the associated Gaussian portfolio and moment identities. No machine-checked proof of this paper’s proposition is included in the draft.

Where the difficulty lies

The sample covariance is random and its inverse appears in the estimated weights. Taking the variance of utility therefore involves inverse-covariance terms and moments beyond those needed for expected utility. The requirement T>N+7T>N+7T>N+7 is tied to existence of the fourth negative moment of a chi-squared variable in (IA57). A direct calculation that replaces random weights by their population counterparts loses the dependence on the estimation sample. A calculation from separate marginal laws also does not determine the covariance between mean return and return variance; the representation in (IA47)–(IA48) describes them jointly.

Formalization scope

The Lean market uses vectors Fin N → ℝ, matrices indexed by Fin N, and returns in EuclideanSpace ℝ (Fin N) to use Mathlib’s multivariate Gaussian law. The sample has Fin T observations on a probability space. Its covariance divisor is exactly TTT, as in (9). The standing assumptions are N≥2N\ge2N≥2, T>N+7T>N+7T>N+7, Σ≻0\Sigma\succ0Σ≻0, γ>0\gamma>0γ>0, and independent, identically distributed Gaussian returns. Every theorem about a variance or covariance explicitly asserts finite second moments; expectation statements explicitly assert integrability. The source’s finite-variance convention is thereby represented without Lean’s default value for a nonintegrable variance.

The left side of the goal is the probability-theory variance of utility under the sampling law. It is not defined by the closed formula. Likewise σg2\sigma_g^2σg2​, μg\mu_gμg​, and ψ2\psi^2ψ2 are computed from the market; independence is part of the sampling hypothesis. In the auxiliary representation, the chi-squared law is the squared norm of independent standard normals. The zero-degree cases and footnote 6’s N=2,3N=2,3N=2,3 rules are encoded explicitly. Mathlib’s matrix inverse and real division are total operations; their values on singular sample covariances or zero denominators do not alter the distributions because those events have probability zero under the stated assumptions. Contributions establishing the sample-covariance distribution, the joint representation, the negative moments, and the final variance identity are within scope and can support other Gaussian portfolio results.

Selected references

  • N. Lassance, A. Martín-Utrera, and M. Simaan, The Risk of Expected Utility under Parameter Uncertainty, authors’ SSRN manuscript dated August 18, 2023, subsequently in Management Science (2024). SSRN 3855546; DOI 10.1287/mnsc.2023.00178.
12 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Change-Point Detection in Dynamic Networks with Missing Links III: The Dyadic-Grid Matrix CUSUM Test Detects an Unknown Change Time Above Energy 4(1+ϵ)(6ω_n/T)^{1/2} + C log(4n log₂T/(α∧β))/√TResearch Paper

Detecting a change in a partially observed network

Many networks are recorded as a sequence of snapshots: contact networks in epidemiology, communication graphs, brain connectivity measured over time, trade or transport links. A basic statistical question is whether the law generating the snapshots changed at some point. Two features make the question hard in practice. The networks are often sparse, so each snapshot carries little information. And links are missing: a pair of vertices is observed only with some probability, so an absent edge may mean "no link" or "not sampled".

Enikeeva and Klopp (arXiv:2106.14470, Operations Research, 2025) give minimax bounds for this testing problem. They treat both a known change time (Theorems 1 and 2) and an unknown change time (Theorem 3). This mission formalizes the unknown-time case, where the test scans a dyadic grid of candidate times. Two companion missions formalize the known-time upper bound (Theorem 1) and the lower bound (Theorem 2).

Setting

There are nnn vertices and TTT time points. At time ttt the statistician observes a symmetric matrix Yt∈{0,1}n×nY^t\in\{0,1\}^{n\times n}Yt∈{0,1}n×n with zero diagonal, Yijt=ΩijtAijtY^t_{ij}=\Omega^t_{ij}A^t_{ij}Yijt​=Ωijt​Aijt​. Here AtA^tAt is the adjacency matrix of the network and Ωt\Omega^tΩt records which pairs were sampled. The entries YijtY^t_{ij}Yijt​, i<ji<ji<j, are independent over pairs and times, and

Yijt∼Bernoulli((Π⊙Θt)ij),Y^t_{ij}\sim\mathrm{Bernoulli}\big((\Pi\odot\Theta^t)_{ij}\big),Yijt​∼Bernoulli((Π⊙Θt)ij​),

where Θt∈[0,1]n×n\Theta^t\in[0,1]^{n\times n}Θt∈[0,1]n×n is the connection-probability matrix (symmetric, zero diagonal), Π\PiΠ is the sampling matrix (symmetric, entries in (0,1](0,1](0,1], unit diagonal), and ⊙\odot⊙ is the entrywise product.

The sparsity level ωn\omega_nωn​ bounds the expected observed degree: (Θ,Π)∈Sn(ωn)(\Theta,\Pi)\in\mathcal S_n(\omega_n)(Θ,Π)∈Sn​(ωn​) when ∥Π⊙Θ∥1,∞=max⁡j∑i∣(Π⊙Θ)ij∣≤ωn\|\Pi\odot\Theta\|_{1,\infty}=\max_j\sum_i|(\Pi\odot\Theta)_{ij}|\le\omega_n∥Π⊙Θ∥1,∞​=maxj​∑i​∣(Π⊙Θ)ij​∣≤ωn​.

Under the null hypothesis Θt=Θ0\Theta^t=\Theta^0Θt=Θ0 for all ttt. Under the alternative there is τ∈DT={1,…,T−1}\tau\in\mathcal D_T=\{1,\dots,T-1\}τ∈DT​={1,…,T−1} with Θt=Θ0\Theta^t=\Theta^0Θt=Θ0 for t≤τt\le\taut≤τ and Θt=Θ0+ΔΘτ\Theta^t=\Theta^0+\Delta\Theta^\tauΘt=Θ0+ΔΘτ for t>τt>\taut>τ. Both parameter pairs lie in Sn(ωn)\mathcal S_n(\omega_n)Sn​(ωn​), and the jump has energy at least RRR:

q(τ/T) ∥Π⊙ΔΘτ∥2→2≥R,q(x)=x(1−x),q(\tau/T)\,\|\Pi\odot\Delta\Theta^\tau\|_{2\to2}\ge R,\qquad q(x)=\sqrt{x(1-x)},q(τ/T)∥Π⊙ΔΘτ∥2→2​≥R,q(x)=x(1−x)​,

where ∥⋅∥2→2\|\cdot\|_{2\to2}∥⋅∥2→2​ is the spectral norm. A test ψ\psiψ maps the data to {0,1}\{0,1\}{0,1}. Its type I error α(ψ)\alpha(\psi)α(ψ) is the largest rejection probability over the null class. Its type II error β(ψ,R)\beta(\psi,R)β(ψ,R) is the largest acceptance probability over all τ∈DT\tau\in\mathcal D_Tτ∈DT​ and all alternatives of energy at least RRR.

The Matrix CUSUM at time ttt contrasts the averages before and after ttt:

ZT(t)=t(T−t)T(1t∑s=1tYs−1T−t∑s=t+1TYs),1≤t≤T−1.Z_T(t)=\sqrt{\frac{t(T-t)}{T}}\Big(\frac1t\sum_{s=1}^tY^s-\frac1{T-t}\sum_{s=t+1}^TY^s\Big),\qquad1\le t\le T-1.ZT​(t)=Tt(T−t)​​(t1​s=1∑t​Ys−T−t1​s=t+1∑T​Ys),1≤t≤T−1.

The dyadic grid is T={2k}∪{T−2k}\mathcal T=\{2^k\}\cup\{T-2^k\}T={2k}∪{T−2k}, 0≤k≤⌊log⁡2(T/2)⌋0\le k\le\lfloor\log_2(T/2)\rfloor0≤k≤⌊log2​(T/2)⌋. Fix ϵ∈(0,1/2]\epsilon\in(0,1/2]ϵ∈(0,1/2]. The test (14) of the paper rejects when

max⁡t∈T∥ZT(t)∥2→2>Hα,n,T=22(1+ϵ)ωn+Cϵlog⁡4nlog⁡2(T)α.\max_{t\in\mathcal T}\|Z_T(t)\|_{2\to2}>H_{\alpha,n,T}=2\sqrt2(1+\epsilon)\sqrt{\omega_n}+C_\epsilon\log\frac{4n\log_2(T)}{\alpha}.t∈Tmax​∥ZT​(t)∥2→2​>Hα,n,T​=22​(1+ϵ)ωn​​+Cϵ​logα4nlog2​(T)​.

Formalization targets

Goal: Theorem 3

For every ϵ∈(0,1/2]\epsilon\in(0,1/2]ϵ∈(0,1/2] there are constants Cϵ>0C_\epsilon>0Cϵ​>0 and CCC, depending only on ϵ\epsilonϵ, such that for all n≥1n\ge1n≥1, T≥2T\ge2T≥2, ωn≥0\omega_n\ge0ωn​≥0 and α,β∈(0,1)\alpha,\beta\in(0,1)α,β∈(0,1): if

R ≥ 4(1+ϵ)(6ωnT)1/2+CTlog⁡(4nlog⁡2(T)α∧β),R\ \ge\ 4(1+\epsilon)\Big(\frac{6\omega_n}{T}\Big)^{1/2}+\frac{C}{\sqrt T}\log\Big(\frac{4n\log_2(T)}{\alpha\wedge\beta}\Big),R ≥ 4(1+ϵ)(T6ωn​​)1/2+T​C​log(α∧β4nlog2​(T)​),

then the grid test with threshold Hα,n,TH_{\alpha,n,T}Hα,n,T​ has α(ψn,T)≤α\alpha(\psi_{n,T})\le\alphaα(ψn,T​)≤α and β(ψn,T,R)≤β\beta(\psi_{n,T},R)\le\betaβ(ψn,T​,R)≤β.

Milestones

  • the signal-plus-noise decomposition ZT(t)=−μTτ(t) Π⊙ΔΘτ+ξ(t)Z_T(t)=-\mu^\tau_T(t)\,\Pi\odot\Delta\Theta^\tau+\xi(t)ZT​(t)=−μTτ​(t)Π⊙ΔΘτ+ξ(t) and the maximum μTτ(τ)=T q(τ/T)\mu^\tau_T(\tau)=\sqrt T\,q(\tau/T)μTτ​(τ)=T​q(τ/T), display (7);
  • the grid facts T⊆DT\mathcal T\subseteq\mathcal D_TT⊆DT​ and ∣T∣≤2log⁡2T|\mathcal T|\le2\log_2T∣T∣≤2log2​T;
  • the grid captures signal: for every τ∈DT\tau\in\mathcal D_Tτ∈DT​ some t∈Tt\in\mathcal Tt∈T has μTτ(t)≥T q(τ/T)/3\mu^\tau_T(t)\ge\sqrt T\,q(\tau/T)/\sqrt3μTτ​(t)≥T​q(τ/T)/3​;
  • Proposition 11, the Bandeira–van Handel bound for symmetric random matrices with independent bounded entries;
  • Lemma 12, the noise bound for the CUSUM at a fixed time;
  • Lemma 5 (level) and Lemma 6 (power above 46(1+ϵ)(ωn/T)1/2+3CϵT(log⁡4nlog⁡2Tα+log⁡2nβ)4\sqrt6(1+\epsilon)(\omega_n/T)^{1/2}+\frac{\sqrt3C_\epsilon}{\sqrt T}(\log\frac{4n\log_2T}\alpha+\log\frac{2n}\beta)46​(1+ϵ)(ωn​/T)1/2+T​3​Cϵ​​(logα4nlog2​T​+logβ2n​)).

Significance

Theorem 3 shows that not knowing the change time costs at most a constant factor and a log⁡log⁡T\log\log TloglogT term in the detection energy. Together with the lower bound of Theorem 2, which is of order (ωn/T)1/2(\omega_n/T)^{1/2}(ωn​/T)1/2, this makes the grid test rate-optimal when ωn\omega_nωn​ grows at least polylogarithmically in nnn (Remark 3 of the paper). The statistic depends on the data only through spectral norms of O(log⁡T)O(\log T)O(logT) CUSUM matrices, so it is cheap to compute. The threshold needs only the degree bound ωn\omega_nωn​, which can be estimated from the observed degrees.

The paper's proof is complete on paper apart from one step noted below. No part of it is machine-checked. Formalizing it produces a checked finite model of Bernoulli network data with missing links, a reusable Matrix CUSUM, and a precise statement of a Bandeira–van Handel type bound for symmetric matrices with independent bounded entries. That bound is a standard tool in random-matrix statistics and is not yet available in Mathlib or on the platform.

Difficulty

The level of the test is a union bound over the grid combined with a high-probability bound on ∥ξ(t)∥2→2\|\xi(t)\|_{2\to2}∥ξ(t)∥2→2​ at a fixed time. The hard part is that bound, Lemma 12. A matrix Bernstein inequality gives a leading term σlog⁡(n/δ)\sigma\sqrt{\log(n/\delta)}σlog(n/δ)​, which is too large. The statement needs the sharp form 22(1+ϵ)σ+Cϵlog⁡(2n/δ)2\sqrt2(1+\epsilon)\sigma+C_\epsilon\log(2n/\delta)22​(1+ϵ)σ+Cϵ​log(2n/δ), where the variance proxy σ\sigmaσ enters without a logarithmic factor. Proposition 11 supplies this only for matrices whose entries are bounded by σ∗\sigma_*σ∗​. The entries of ξ(t)\xi(t)ξ(t) are sums over time and are only bounded by about log⁡(n/δ)\sqrt{\log(n/\delta)}log(n/δ)​ with high probability. The paper applies Proposition 11 "given the event" {∥ξ(t)∥∞≤σ∗}\{\|\xi(t)\|_\infty\le\sigma_*\}{∥ξ(t)∥∞​≤σ∗​}, but conditioning on that event destroys centring and independence, so a truncation argument is missing there.

The power analysis is elementary once Lemma 12 is available. Its one subtlety is that the change time ranges over all of DT\mathcal D_TDT​, while the test inspects only the grid.

Formalization scope

  • Data and probability. Only YYY is modelled; the latent At,ΩtA^t,\Omega^tAt,Ωt are integrated out. An observation is a Boolean function of a 0-based time index and of a pair i<ji<ji<j. Probabilities are finite sums of products of Bernoulli weights, so every test is measurable and no measure theory enters the model. Proposition 11 is the only measure-theoretic statement.
  • Classes. The sampling class carries the paper's standing assumptions Πii=1\Pi_{ii}=1Πii​=1, Πij>0\Pi_{ij}>0Πij​>0. The errors are real suprema of sets of probabilities; an empty alternative has type II error 000.
  • Spectral norm. ∥⋅∥2→2\|\cdot\|_{2\to2}∥⋅∥2→2​ is the published HighDimProb.RandomMatrices.matrixOpNorm.
  • Grid and test. ⌊log⁡2(T/2)⌋\lfloor\log_2(T/2)\rfloor⌊log2​(T/2)⌋ is Nat.log 2 (T / 2). "max⁡t∈T∥ZT(t)∥>H\max_{t\in\mathcal T}\|Z_T(t)\|>Hmaxt∈T​∥ZT​(t)∥>H" is "∃t∈T\exists t\in\mathcal T∃t∈T, ∥ZT(t)∥>H\|Z_T(t)\|>H∥ZT​(t)∥>H". The threshold uses the real log⁡2T\log_2Tlog2​T.
  • Constants. CϵC_\epsilonCϵ​ and CCC are quantified existentially before n,T,ωn,α,β,Rn,T,\omega_n,\alpha,\beta,Rn,T,ωn​,α,β,R. A version with the constants chosen after nnn or TTT would be trivial, because huge constants silence the test or empty the alternative. The goal does not assume Lemma 12's conclusion. Lemmas 5 and 6 take it as a hypothesis, and Lemma 12 states that it is satisfiable. The test ranges over all functions of the data, and the alternative over all τ∈DT\tau\in\mathcal D_Tτ∈DT​.
  • Disclosed additions and corrections. The theorems assume n≥1n\ge1n≥1, T≥2T\ge2T≥2 and ωn≥0\omega_n\ge0ωn​≥0, which the paper leaves implicit. Proposition 11 assumes m≥1m\ge1m≥1 and cϵ>0c_\epsilon>0cϵ​>0. Independence in Proposition 11 and Lemma 12 refers to the entries with i≤ji\le ji≤j (i<ji<ji<j) of a symmetric matrix. The grid statement is the inequality ∣T∣≤2log⁡2T|\mathcal T|\le2\log_2T∣T∣≤2log2​T: the printed equality ∣T∣=2+2⌊log⁡2(T/2)⌋|\mathcal T|=2+2\lfloor\log_2(T/2)\rfloor∣T∣=2+2⌊log2​(T/2)⌋ fails when the two halves overlap, as at T=4T=4T=4. Lemma 5 is stated with "≤α\le\alpha≤α", as its proof concludes, rather than the printed "less than α\alphaα". The grid-signal milestone is stated as an existence claim, because the printed choice τ/2≤t∗<τ\tau/2\le t^*<\tauτ/2≤t∗<τ has no solution at τ=1\tau=1τ=1.

Welcome contributions: a proof of Proposition 11, or of any sharp spectral-norm bound that implies it; a rigorous proof of Lemma 12, repairing the conditioning step; and the elementary grid lemmas.

Selected references

  • F. Enikeeva and O. Klopp, Change-point detection in dynamic networks with missing links, Operations Research, 2025; arXiv:2106.14470v2. https://arxiv.org/abs/2106.14470
  • A. S. Bandeira and R. van Handel, Sharp nonasymptotic bounds on the norm of random matrices with independent entries, Annals of Probability 44(4), 2016. https://doi.org/10.1214/15-AOP1025
  • H. Liu, C. Gao and R. J. Samworth, Minimax rates in sparse, high-dimensional change point detection, Annals of Statistics 49(2), 2021. https://doi.org/10.1214/20-AOS1994
12 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Change-Point Detection in Dynamic Networks with Missing Links II: At a Known Time the Matrix CUSUM Test Has Level α and Type II Error ≤ β Above Energy 4√2(1+ϵ)(ω_n/T)^{1/2} + C log(n/(α∧β))/√TResearch Paper

Motivation

Networks observed over time, such as communication graphs, contact networks and financial exposure graphs, often change structure abruptly. Change-point detection asks whether the law of the network changed during the observation window. In practice not every pair of nodes is observed at every time: links are missing because of sampling, privacy or measurement failure. Enikeeva and Klopp (arXiv:2106.14470, published in Operations Research, 2025) give the minimax detection boundary for this problem in a sparse inhomogeneous random graph model with missing links, for a change at a known time and at an unknown time.

This mission formalizes the upper bound at a known time (their Theorem 1): a test based on the spectral norm of a matrix-valued CUSUM statistic has level α\alphaα and type II error at most β\betaβ as soon as the change is a constant multiple of (ωn/T)1/2(\omega_n/T)^{1/2}(ωn​/T)1/2 plus a logarithmic term. The companion missions of this series formalize the matching lower bound (Theorem 2) and the unknown-time test (Theorem 3).

Setting

There are nnn vertices and TTT snapshots. At time ttt the network has a symmetric, zero-diagonal connection-probability matrix Θt∈[0,1]n×n\Theta^t\in[0,1]^{n\times n}Θt∈[0,1]n×n, and each pair i<ji<ji<j is sampled independently with probability Πij>0\Pi_{ij}>0Πij​>0, where the sampling matrix Π\PiΠ is symmetric with Πii=1\Pi_{ii}=1Πii​=1. What is observed is Yt∈{0,1}n×nY^t\in\{0,1\}^{n\times n}Yt∈{0,1}n×n, symmetric with zero diagonal, whose entries YijtY^t_{ij}Yijt​, i<ji<ji<j, are independent Bernoulli variables with success probability (Π⊙Θt)ij(\Pi\odot\Theta^t)_{ij}(Π⊙Θt)ij​, independent over ttt; ⊙\odot⊙ is the entrywise product.

The column-wise norm ∥M∥1,∞=max⁡j∑i∣Mij∣\|M\|_{1,\infty}=\max_j\sum_i|M_{ij}|∥M∥1,∞​=maxj​∑i​∣Mij​∣ measures the largest expected observed degree. The null class is

Sn(ωn)={(Θ,Π): Θ∈Cn0, Π∈Cn, ∥Π⊙Θ∥1,∞≤ωn}.\mathcal S_n(\omega_n)=\{(\Theta,\Pi):\ \Theta\in\mathcal C^0_n,\ \Pi\in\mathcal C_n,\ \|\Pi\odot\Theta\|_{1,\infty}\le\omega_n\}.Sn​(ωn​)={(Θ,Π): Θ∈Cn0​, Π∈Cn​, ∥Π⊙Θ∥1,∞​≤ωn​}.

A change at time τ∈{1,…,T−1}\tau\in\{1,\dots,T-1\}τ∈{1,…,T−1} replaces Θb=Θ0\Theta^b=\Theta^0Θb=Θ0 by Θa=Θ0+ΔΘτ\Theta^a=\Theta^0+\Delta\Theta^\tauΘa=Θ0+ΔΘτ after time τ\tauτ. With q(x)=x(1−x)q(x)=\sqrt{x(1-x)}q(x)=x(1−x)​ and the spectral norm ∥⋅∥2→2\|\cdot\|_{2\to2}∥⋅∥2→2​, the change-point energy is q(τ/T)∥Π⊙ΔΘτ∥2→2q(\tau/T)\|\Pi\odot\Delta\Theta^\tau\|_{2\to2}q(τ/T)∥Π⊙ΔΘτ∥2→2​, and the alternative class Wn,Tτ(ωn,r)\mathcal W^\tau_{n,T}(\omega_n,r)Wn,Tτ​(ωn​,r) collects the pairs in Sn(ωn)\mathcal S_n(\omega_n)Sn​(ωn​) whose energy is at least rrr.

A test ψ\psiψ maps the data to {0,1}\{0,1\}{0,1}. Its type I error α(ψ)\alpha(\psi)α(ψ) is the supremum over the null class of the probability of rejecting, and its type II error β(ψ,R)\beta(\psi,R)β(ψ,R) is the supremum over Wn,Tτ(ωn,R)\mathcal W^\tau_{n,T}(\omega_n,R)Wn,Tτ​(ωn​,R) of the probability of accepting.

The Matrix CUSUM is

ZT(t)=t(T−t)T(1t∑s=1tYs−1T−t∑s=t+1TYs),1≤t≤T−1,Z_T(t)=\sqrt{\frac{t(T-t)}{T}}\Big(\frac1t\sum_{s=1}^tY^s-\frac1{T-t}\sum_{s=t+1}^TY^s\Big),\qquad 1\le t\le T-1,ZT​(t)=Tt(T−t)​​(t1​s=1∑t​Ys−T−t1​s=t+1∑T​Ys),1≤t≤T−1,

and the test at the known time τ\tauτ is

ψn,Tτ(Y)=1{∥ZT(τ)∥2→2>Hα,n},Hα,n=22(1+ϵ)ωn+Cϵlog⁡(2n/α),\psi^\tau_{n,T}(Y)=\mathbf 1\big\{\|Z_T(\tau)\|_{2\to2}>H_{\alpha,n}\big\},\qquad H_{\alpha,n}=2\sqrt2(1+\epsilon)\sqrt{\omega_n}+C_\epsilon\log(2n/\alpha),ψn,Tτ​(Y)=1{∥ZT​(τ)∥2→2​>Hα,n​},Hα,n​=22​(1+ϵ)ωn​​+Cϵ​log(2n/α),

with ϵ∈(0,1/2]\epsilon\in(0,1/2]ϵ∈(0,1/2] and CϵC_\epsilonCϵ​ a constant depending only on ϵ\epsilonϵ.

Formalization targets

Goal: Theorem 1

For every ϵ∈(0,1/2]\epsilon\in(0,1/2]ϵ∈(0,1/2] there are constants Cϵ>0C_\epsilon>0Cϵ​>0 and CCC, depending only on ϵ\epsilonϵ, such that for all n≥1n\ge1n≥1, 1≤τ≤T−11\le\tau\le T-11≤τ≤T−1, ωn≥0\omega_n\ge0ωn​≥0 and α,β∈(0,1)\alpha,\beta\in(0,1)α,β∈(0,1): if

Rn,τ≥42(1+ϵ)(ωnT)1/2+CT1/2log⁡(nα∧β),R_{n,\tau}\ge4\sqrt2(1+\epsilon)\Big(\frac{\omega_n}{T}\Big)^{1/2}+\frac{C}{T^{1/2}}\log\Big(\frac{n}{\alpha\wedge\beta}\Big),Rn,τ​≥42​(1+ϵ)(Tωn​​)1/2+T1/2C​log(α∧βn​),

then α(ψn,Tτ)≤α\alpha(\psi^\tau_{n,T})\le\alphaα(ψn,Tτ​)≤α and β(ψn,Tτ,Rn,τ)≤β\beta(\psi^\tau_{n,T},R_{n,\tau})\le\betaβ(ψn,Tτ​,Rn,τ​)≤β. The constants are existential and are not pinned to particular values; the statement asserts the shape of the boundary.

Milestones

  1. Display (7): ZT(t)=−μTτ(t) Π⊙ΔΘτ+ξ(t)Z_T(t)=-\mu^\tau_T(t)\,\Pi\odot\Delta\Theta^\tau+\xi(t)ZT​(t)=−μTτ​(t)Π⊙ΔΘτ+ξ(t), with ξ(t)\xi(t)ξ(t) the CUSUM of the centred observations, and max⁡tμTτ(t)=μTτ(τ)=T q(τ/T)\max_t\mu^\tau_T(t)=\mu^\tau_T(\tau)=\sqrt T\,q(\tau/T)maxt​μTτ​(t)=μTτ​(τ)=T​q(τ/T).
  2. Proposition 11 (Bandeira and van Handel): for a symmetric m×mm\times mm×m matrix WWW with independent centred entries bounded by σ∗\sigma_*σ∗​,
P{∥W∥2→2≥22(1+ϵ)σ+x}≤m e−x2/(cϵσ∗2).\mathbb P\{\|W\|_{2\to2}\ge2\sqrt2(1+\epsilon)\sigma+x\}\le m\,e^{-x^2/(c_\epsilon\sigma_*^2)}.P{∥W∥2→2​≥22​(1+ϵ)σ+x}≤me−x2/(cϵ​σ∗2​).
  1. Lemma 12: with probability larger than 1−δ1-\delta1−δ,
∥ξ(t)∥2→2≤22(1+ϵ)t(T−t)T[1t2∑s≤t∥Bs∥1,∞+1(T−t)2∑s>t∥Bs∥1,∞]1/2+Cϵlog⁡2nδ.\|\xi(t)\|_{2\to2}\le2\sqrt2(1+\epsilon)\sqrt{\tfrac{t(T-t)}{T}}\Big[\tfrac1{t^2}\sum_{s\le t}\|B^s\|_{1,\infty}+\tfrac1{(T-t)^2}\sum_{s>t}\|B^s\|_{1,\infty}\Big]^{1/2}+C_\epsilon\log\tfrac{2n}{\delta}.∥ξ(t)∥2→2​≤22​(1+ϵ)Tt(T−t)​​[t21​s≤t∑​∥Bs∥1,∞​+(T−t)21​s>t∑​∥Bs∥1,∞​]1/2+Cϵ​logδ2n​.
  1. Lemma 3: the test has type I error at most α\alphaα.
  2. Lemma 4: under Rn,τ≥42(1+ϵ)(ωn/T)1/2+CϵT−1/2(log⁡(2n/α)+log⁡(2n/β))R_{n,\tau}\ge4\sqrt2(1+\epsilon)(\omega_n/T)^{1/2}+C_\epsilon T^{-1/2}(\log(2n/\alpha)+\log(2n/\beta))Rn,τ​≥42​(1+ϵ)(ωn​/T)1/2+Cϵ​T−1/2(log(2n/α)+log(2n/β)) the type II error is at most β\betaβ.

Significance

Theorem 1 is the upper half of the minimax detection boundary for a change at a known time. Together with Theorem 2 of the same paper (a lower bound of order (ωn/T)1/2(\omega_n/T)^{1/2}(ωn​/T)1/2) it shows that, up to the logarithmic term, the CUSUM test in spectral norm is rate-optimal, and that missing links enter only through the observed degree bound ωn=max⁡∥Π⊙Θ∥1,∞\omega_n=\max\|\Pi\odot\Theta\|_{1,\infty}ωn​=max∥Π⊙Θ∥1,∞​. The same noise bound (Lemma 12) drives the unknown-time test of Theorem 3.

The result is proved in the paper; no machine-checked version exists. Formalizing it produces a checked finite-sample statement with explicit leading constant 42(1+ϵ)4\sqrt2(1+\epsilon)42​(1+ϵ), a reusable formal Bernoulli network model with missing links, and, through Proposition 11, a formal statement of the Bandeira–van Handel tail bound, which is used well beyond change-point problems. The printed proof of Lemma 12 applies Proposition 11 after conditioning on the event {∥ξ(t)∥∞≤σ∗}\{\|\xi(t)\|_\infty\le\sigma_*\}{∥ξ(t)∥∞​≤σ∗​}, which destroys centring and independence; a complete proof needs a truncation argument that the paper does not give.

Difficulty

Under the null the CUSUM is pure noise, so both errors reduce to a high-probability bound on ∥ξ(t)∥2→2\|\xi(t)\|_{2\to2}∥ξ(t)∥2→2​ whose leading term is exactly 22(1+ϵ)ωn2\sqrt2(1+\epsilon)\sqrt{\omega_n}22​(1+ϵ)ωn​​ after rescaling. Matrix Bernstein inequalities give a bound with an extra log⁡n\sqrt{\log n}logn​ factor on the leading term, which is too weak for the stated threshold; the sharp constant requires the Bandeira–van Handel inequality, whose proof goes through moment comparisons for random matrices with non-identically distributed entries. The entries of ξ(t)\xi(t)ξ(t) are themselves sums over time with coefficients up to order T\sqrt TT​ in aggregate, so the boundedness hypothesis of Proposition 11 does not hold directly and must be recovered with probability bounds. Finally, the level and the power must hold for the same threshold constant CϵC_\epsilonCϵ​, uniformly in nnn, TTT, τ\tauτ and the parameters.

Formalization scope

An observation is a function from the TTT snapshots and the pairs i<ji<ji<j to Booleans; time is 0-based in Lean (snapshot sss is the paper's s+1s+1s+1). The latent adjacency and sampling matrices are integrated out: only YYY is modelled, by its exact product-Bernoulli law, and probabilities are finite sums over the finite observation space, so every test is measurable. Tests are Boolean-valued (true rejects). The sampling class carries the paper's standing assumptions Πii=1\Pi_{ii}=1Πii​=1 and Πij>0\Pi_{ij}>0Πij​>0. Errors are real suprema over sets contained in [0,1][0,1][0,1]; an empty alternative class has type II error 000. The spectral norm is the published HighDimProb.RandomMatrices.matrixOpNorm. Proposition 11 alone uses measure theory, with independence of the entries on and above the diagonal and an added (implicit) m≥1m\ge1m≥1.

Disclosed readings: (24) prints κn\kappa_nκn​, which is read as ωn\omega_nωn​ as in the proof; Lemma 12's matrices are the symmetric, zero-diagonal centred observations of the model; Lemmas 3 and 4 take "CϵC_\epsilonCϵ​ is a constant of Lemma 12" (with Cϵ>0C_\epsilon>0Cϵ​>0) as a hypothesis, stated as a predicate. The goal does not assume that predicate: it asserts the existence of CϵC_\epsilonCϵ​ and CCC, both chosen before nnn, TTT, τ\tauτ, ωn\omega_nωn​, α\alphaα, β\betaβ and RRR, so neither constant can be tuned to the instance, and tests range over all functions of the data. Choosing huge constants does not trivialize the goal, since for large TTT the energy condition is met by nonempty alternatives that the test must detect.

The development needs: the product-Bernoulli law of the network, the Matrix CUSUM algebra, the Bandeira–van Handel inequality, and a truncation argument for Lemma 12. The Setting and Proposition 11 are reusable for the unknown-time test and for spectral methods on random graphs. Proofs of any milestone, and alternative routes to Lemma 12, are welcome.

Selected references

  • F. Enikeeva and O. Klopp, Change-point detection in dynamic networks with missing links, Operations Research, 2025; arXiv:2106.14470v2. https://arxiv.org/abs/2106.14470
  • A. S. Bandeira and R. van Handel, Sharp nonasymptotic bounds on the norm of random matrices with independent entries, Annals of Probability 44(4), 2016. https://doi.org/10.1214/15-AOP1025
  • Yu. I. Ingster and I. A. Suslina, Nonparametric Goodness-of-Fit Testing under Gaussian Models, Springer, 2003. https://doi.org/10.1007/978-0-387-21580-8
9 thms1 active userReviewed
🏆Completed
Numerical AnalysisProbability·Captain: tc

Gaussian Random Matrices III: Extreme Singular Values and ConcentrationTextbook

Motivation

A tall N×nN\times nN×n matrix with independent standard normal entries is, with high probability, a near-isometry: all its singular values lie in [N−n, N+n][\sqrt N-\sqrt n,\ \sqrt N+\sqrt n][N​−n​, N​+n​] up to Gaussian fluctuations. This is Gordon's theorem together with Gaussian concentration (Vershynin 2012, Theorem 5.32 and Corollary 5.35), the non-asymptotic counterpart of the Bai–Yin law and the model result for the whole theory of non-asymptotic random matrices. In randomized numerical linear algebra the same two ingredients give the expected spectral norm of SΓTS\Gamma TSΓT (Halko–Martinsson–Tropp 2011, Proposition 10.1 (10.2)), its second moment (Tropp–Webber 2023, Lemma B.1), and the lower tail of σmin⁡\sigma_{\min}σmin​ of a Gaussian sketch, which controls the inverse moments E σmin⁡−2p\mathbb E\,\sigma_{\min}^{-2p}Eσmin−2p​ that appear in the analysis of sketching algorithms with rank truncation. None of these results is available in Mathlib; this mission proves them.

Setting

A standard Gaussian matrix A∈RN×nA\in\mathbb R^{N\times n}A∈RN×n has independent N(0,1)\mathcal N(0,1)N(0,1) entries; its law is γN,n\gamma_{N,n}γN,n​. Its extreme singular values are

smin⁡(A)=inf⁡∥x∥2=1∥Ax∥2,smax⁡(A)=sup⁡∥x∥2=1∥Ax∥2=∥A∥,s_{\min}(A)=\inf_{\|x\|_2=1}\|Ax\|_2,\qquad s_{\max}(A)=\sup_{\|x\|_2=1}\|Ax\|_2=\|A\|,smin​(A)=∥x∥2​=1inf​∥Ax∥2​,smax​(A)=∥x∥2​=1sup​∥Ax∥2​=∥A∥,

the infimum and supremum over the unit sphere of Rn\mathbb R^nRn (n≥1n\ge1n≥1); ∥A∥\|A\|∥A∥ is the spectral norm. For a wide matrix G∈Rk×tG\in\mathbb R^{k\times t}G∈Rk×t, k≤tk\le tk≤t, the usual σmin⁡(G)\sigma_{\min}(G)σmin​(G) is smin⁡(GT)s_{\min}(G^{\mathsf T})smin​(GT). The Frobenius norm is ∥A∥F=(∑i,jAij2)1/2\|A\|_F=(\sum_{i,j}A_{ij}^2)^{1/2}∥A∥F​=(∑i,j​Aij2​)1/2; a function hhh on matrices is LLL-Lipschitz if ∣h(X)−h(Y)∣≤L∥X−Y∥F|h(X)-h(Y)|\le L\|X-Y\|_F∣h(X)−h(Y)∣≤L∥X−Y∥F​. A chi-square variable with ddd degrees of freedom is χd2=∑i=1dgi2\chi_d^2=\sum_{i=1}^d g_i^2χd2​=∑i=1d​gi2​ for independent standard normals gig_igi​. The letter eee denotes Euler's number.

Formalization targets

Goal — deviation of the extreme singular values (Vershynin, Corollary 5.35)

For every t≥0t\ge0t≥0, with probability at least 1−2e−t2/21-2e^{-t^2/2}1−2e−t2/2,

N−n−t ≤ smin⁡(A)andsmax⁡(A) ≤ N+n+t.\sqrt N-\sqrt n-t\ \le\ s_{\min}(A)\qquad\text{and}\qquad s_{\max}(A)\ \le\ \sqrt N+\sqrt n+t .N​−n​−t ≤ smin​(A)andsmax​(A) ≤ N​+n​+t.

This is the goal because it is the statement users of Gaussian matrices quote: a quantitative near-isometry with explicit sub-Gaussian deviations. It follows from the expectation bounds (Gordon) and concentration, both of which are milestones.

Milestones

  • Gaussian concentration for Lipschitz functions of a Gaussian matrix: P{h(G)≥Eh(G)+Lt}≤e−t2/2\mathbb P\{h(G)\ge\mathbb E h(G)+Lt\}\le e^{-t^2/2}P{h(G)≥Eh(G)+Lt}≤e−t2/2 (HMT Proposition 10.3; Vershynin Proposition 5.34).
  • Gordon–Chevet bound. E∥SΓT∥≤∥S∥∥T∥F+∥S∥F∥T∥\mathbb E\|S\Gamma T\|\le\|S\|\|T\|_F+\|S\|_F\|T\|E∥SΓT∥≤∥S∥∥T∥F​+∥S∥F​∥T∥ (HMT Proposition 10.1 (10.2), A.2) and its second-moment form (E∥SΓT∥2)1/2≤∥S∥∥T∥F+∥S∥F∥T∥(\mathbb E\|S\Gamma T\|^2)^{1/2}\le\|S\|\|T\|_F+\|S\|_F\|T\|(E∥SΓT∥2)1/2≤∥S∥∥T∥F​+∥S∥F​∥T∥ (Tropp–Webber Lemma B.1).
  • Gordon's theorem. N−n≤Esmin⁡(A)≤Esmax⁡(A)≤N+n\sqrt N-\sqrt n\le\mathbb E s_{\min}(A)\le\mathbb E s_{\max}(A)\le\sqrt N+\sqrt nN​−n​≤Esmin​(A)≤Esmax​(A)≤N​+n​ (Vershynin Theorem 5.32).
  • One-sided tail of smin⁡s_{\min}smin​. P{smin⁡(A)≤N−n−u}≤e−u2/2\mathbb P\{s_{\min}(A)\le\sqrt N-\sqrt n-u\}\le e^{-u^2/2}P{smin​(A)≤N​−n​−u}≤e−u2/2 for u≥0u\ge0u≥0 (Davidson–Szarek Theorem II.13; one-sided form of Vershynin Corollary 5.35).
  • Chi-square lower tail. P{χd2≤u}≤(eu/d)d/2\mathbb P\{\chi_d^2\le u\}\le(eu/d)^{d/2}P{χd2​≤u}≤(eu/d)d/2 for 0≤u≤d0\le u\le d0≤u≤d (Dasgupta–Gupta Lemma 2.2).
  • Small-ball bound for smin⁡s_{\min}smin​. P{smin⁡(A)≤s}≤n(e ns2N−n+1)(N−n+1)/2\mathbb P\{s_{\min}(A)\le s\}\le n\bigl(\frac{e\,ns^2}{N-n+1}\bigr)^{(N-n+1)/2}P{smin​(A)≤s}≤n(N−n+1ens2​)(N−n+1)/2 for s≥0s\ge0s≥0, ns2≤N−n+1ns^2\le N-n+1ns2≤N−n+1, from the invertibility-via-distance lemma of Rudelson–Vershynin (Lemma 3.5), rotational invariance and the chi-square lower tail.

Significance

The results. Gordon's theorem is sharp: Esmin⁡\mathbb E s_{\min}Esmin​ and Esmax⁡\mathbb E s_{\max}Esmax​ are pinned to within O(1)O(1)O(1) of the Bai–Yin limits for every N,nN,nN,n. Gaussian concentration upgrades it to tail bounds with the optimal sub-Gaussian rate, and the Chevet-type bound is the same mechanism for SΓTS\Gamma TSΓT, where it yields the expected spectral error of the randomized SVD. The small-ball bound covers the other regime, s→0s\to0s→0, with polynomial decay of the exact order N−n+1N-n+1N−n+1; together the two tails make every negative moment Esmin⁡(A)−2p\mathbb E s_{\min}(A)^{-2p}Esmin​(A)−2p, 2p<N−n+12p<N-n+12p<N−n+1, finite and explicitly bounded, which is what the early-truncated analysis needs.

Formalizing them. Mathlib has the standard Gaussian measure on finite-dimensional inner product spaces but neither Gaussian concentration for Lipschitz functions, nor Slepian's or Gordon's comparison inequalities, nor any result on singular values of random matrices. These are foundational pieces of high-dimensional probability whose formalization would be reused far beyond this series.

Difficulty

The upper bound in Gordon's theorem is proved by Slepian's comparison lemma for the Gaussian process (u,v)↦⟨Au,v⟩(u,v)\mapsto\langle Au,v\rangle(u,v)↦⟨Au,v⟩ on Sn−1×SN−1S^{n-1}\times S^{N-1}Sn−1×SN−1, and the lower bound by Gordon's minimax comparison inequality for max⁡vmin⁡u⟨Au,v⟩\max_v\min_u\langle Au,v\ranglemaxv​minu​⟨Au,v⟩; both require a theory of Gaussian processes indexed by continuous parameter sets, or at least a discretization argument with careful limits. Gaussian concentration (Tsirelson–Ibragimov–Sudakov) is usually proved through the Gaussian logarithmic Sobolev inequality or the Ornstein–Uhlenbeck semigroup, with a smoothing step to pass from smooth to Lipschitz functions. Both are long developments with no Mathlib support. The elementary alternatives do not reach the stated constants: an ε\varepsilonε-net argument bounds E∥A∥\mathbb E\|A\|E∥A∥ by C(N+n)C(\sqrt N+\sqrt n)C(N​+n​) with C>1C>1C>1, and a union bound over rows for the small-ball estimate is exactly how the stated bound is obtained, but it needs the fact that the distance from a Gaussian vector to a fixed (n−1)(n-1)(n−1)-dimensional subspace is a χN−n+1\chi_{N-n+1}χN−n+1​ variable, which again rests on rotational invariance.

Formalization scope

Matrices are sampled from the product measure γN,n\gamma_{N,n}γN,n​ on arrays. smin⁡s_{\min}smin​ is sMin, the real infimum over the unit sphere of Rn\mathbb R^nRn; n≥1n\ge1n≥1 is assumed so the sphere is nonempty, and N≥nN\ge nN≥n is not assumed for Gordon's theorem (for N<nN<nN<n one has smin⁡=0s_{\min}=0smin​=0 and the lower bound is trivial, as in the source). smax⁡s_{\max}smax​ is Mathlib's ℓ2\ell_2ℓ2​ operator norm. Expectation bounds are stated together with integrability of their integrands, so the Lean convention that non-integrable functions integrate to 000 cannot trivialize them. Probabilities are measures in [0,∞][0,\infty][0,∞] compared with ofReal⁡\operatorname{ofReal}ofReal of the real bound; the goal's lower bound 1−2e−t2/21-2e^{-t^2/2}1−2e−t2/2 uses truncated subtraction and is vacuous for t≤2log⁡2t\le\sqrt{2\log2}t≤2log2​, exactly as in the source. Gaussian concentration is stated with L>0L>0L>0 and t≥0t\ge0t≥0, which the sources leave implicit (for L=0L=0L=0 or t<0t<0t<0 the event has probability one). Results that the sketching literature states for wide k×tk\times tk×t matrices are stated here for tall N×nN\times nN×n matrices via σmin⁡(G)=smin⁡(GT)\sigma_{\min}(G)=s_{\min}(G^{\mathsf T})σmin​(G)=smin​(GT), with (N,n)=(t,k)(N,n)=(t,k)(N,n)=(t,k).

Welcome contributions: Gaussian concentration for Lipschitz functions on Rd\mathbb R^dRd (any proof), Slepian's and Gordon's inequalities, the 111-Lipschitz property of smin⁡s_{\min}smin​ and smax⁡s_{\max}smax​, the chi-square Chernoff bounds, and the law of the distance from a Gaussian vector to a subspace.

Selected references

  • N. Halko, P.-G. Martinsson, J. A. Tropp, Finding structure with randomness: probabilistic algorithms for constructing approximate matrix decompositions, SIAM Review 53(2), 217–288, 2011. https://arxiv.org/abs/0909.4061
  • J. A. Tropp, R. J. Webber, Randomized algorithms for low-rank matrix approximation: design, analysis, and applications, 2023. https://arxiv.org/abs/2306.12418
  • R. Vershynin, Introduction to the non-asymptotic analysis of random matrices, in Compressed Sensing: Theory and Applications, Cambridge University Press, 2012. https://arxiv.org/abs/1011.3027
  • L. Isserlis, On a formula for the product-moment coefficient of any order of a normal frequency distribution in any number of variables, Biometrika 12, 134–139, 1918. https://doi.org/10.1093/biomet/12.1-2.134
  • S. Dasgupta, A. Gupta, An elementary proof of a theorem of Johnson and Lindenstrauss, Random Structures & Algorithms 22, 60–65, 2003. https://doi.org/10.1002/rsa.10073
  • M. Rudelson, R. Vershynin, The Littlewood–Offord problem and invertibility of random matrices, Advances in Mathematics 218, 600–633, 2008. https://arxiv.org/abs/math/0703503
  • Y. Chen, J. Dongarra, Condition numbers of Gaussian random matrices, SIAM J. Matrix Anal. Appl. 27(3), 603–620, 2005. https://doi.org/10.1137/040616413
  • A. Edelman, Eigenvalues and condition numbers of random matrices, SIAM J. Matrix Anal. Appl. 9(4), 543–560, 1988. https://doi.org/10.1137/0609045
  • Y. Gordon, Some inequalities for Gaussian processes and applications, Israel J. Math. 50, 265–289, 1985. https://doi.org/10.1007/BF02759761
  • K. R. Davidson, S. J. Szarek, Local operator theory, random matrices and Banach spaces, Handbook of the Geometry of Banach Spaces, Vol. 1, 317–366, 2001. https://doi.org/10.1016/S1874-5849(01)80010-3
  • M. Ledoux, The Concentration of Measure Phenomenon, AMS Mathematical Surveys and Monographs 89, 2001. https://doi.org/10.1090/surv/089

Shared definitions: the items of this mission import Definitions.Def_GaussianMatrix_basic, a draft of Mission I; submit that proposal first so the import resolves at compile time.

Series: I. Rotation Invariance and Moment Identities · II. Inverse Moments of the Pseudoinverse · III. Extreme Singular Values and Concentration. All three missions share the definition bundle GaussianMatrix_basic, published with Mission I, and the namespace GaussianMatrix.

8 thms1 active userReviewed
Numerical AnalysisProbability·Captain: tc

Gaussian Random Matrices II: Inverse Moments of the PseudoinverseTextbook

Motivation

The expected error of the randomized SVD with a k×(k+p)k\times(k+p)k×(k+p) Gaussian test matrix is (1+kp−1)1/2\bigl(1+\tfrac{k}{p-1}\bigr)^{1/2}(1+p−1k​)1/2 times the optimal error (Halko–Martinsson–Tropp 2011, Theorem 10.5). The factor kp−1\tfrac{k}{p-1}p−1k​ is E∥G†∥F2\mathbb E\|G^{\dagger}\|_F^2E∥G†∥F2​ for a k×(k+p)k\times(k+p)k×(k+p) standard Gaussian matrix GGG: the quality of every Gaussian sketching method is governed by inverse moments of a Gaussian matrix — moments of its pseudoinverse, equivalently of the inverse of the Wishart matrix GGTGG^{\mathsf T}GGT. The expected spectral error uses E∥G†∥\mathbb E\|G^{\dagger}\|E∥G†∥ instead (Tropp–Webber 2023, Lemmas B.2–B.3), and deviation bounds use tail estimates for both norms (HMT Proposition 10.4). None of these inverse moments is available in Mathlib. This mission proves them.

Setting

A standard Gaussian matrix G∈Rr×kG\in\mathbb R^{r\times k}G∈Rr×k has independent N(0,1)\mathcal N(0,1)N(0,1) entries; its law is γr,k\gamma_{r,k}γr,k​. Throughout, GGG is wide or square, r≤kr\le kr≤k, so that GGT∈Rr×rGG^{\mathsf T}\in\mathbb R^{r\times r}GGT∈Rr×r is almost surely invertible; GGTGG^{\mathsf T}GGT is a Wishart matrix with kkk degrees of freedom and (GGT)−1(GG^{\mathsf T})^{-1}(GGT)−1 is inverse-Wishart.

The pseudoinverse of a full-row-rank matrix is G†=GT(GGT)−1G^{\dagger}=G^{\mathsf T}(GG^{\mathsf T})^{-1}G†=GT(GGT)−1. Its norms are determined by the inverse Wishart matrix:

∥G†∥F2=tr⁡(GGT)−1,∥G†∥2=∥(GGT)−1∥=σmin⁡(G)−2,\|G^{\dagger}\|_F^2=\operatorname{tr}(GG^{\mathsf T})^{-1},\qquad \|G^{\dagger}\|^2=\|(GG^{\mathsf T})^{-1}\|=\sigma_{\min}(G)^{-2},∥G†∥F2​=tr(GGT)−1,∥G†∥2=∥(GGT)−1∥=σmin​(G)−2,

where ∥⋅∥F\|\cdot\|_F∥⋅∥F​ is the Frobenius norm, ∥⋅∥\|\cdot\|∥⋅∥ the spectral norm (largest singular value) and σmin⁡(G)\sigma_{\min}(G)σmin​(G) the smallest of the rrr singular values of GGG. The letter eee denotes Euler's number.

Formalization targets

Goal — Tropp–Webber inverse spectral moment (Lemma B.3)

For integer 1≤p≤181\le p\le181≤p≤18 and k≥r+2pk\ge r+2pk≥r+2p,

(E ∥(GGT)−1∥p)1/p≤e2(k+r)2(k−r)2.\Bigl(\mathbb E\,\bigl\|(GG^{\mathsf T})^{-1}\bigr\|^p\Bigr)^{1/p}\le\frac{e^2(k+r)}{2(k-r)^2}.(E​(GGT)−1​p)1/p≤2(k−r)2e2(k+r)​.

The case p=1p=1p=1 is E∥G†∥2≤e2(k+r)/(2(k−r)2)\mathbb E\|G^{\dagger}\|^2\le e^2(k+r)/(2(k-r)^2)E∥G†∥2≤e2(k+r)/(2(k−r)2), the spectral inverse moment at the heart of expected spectral-norm error bounds. It is the goal because it is the one inverse moment that is not an exact formula: its proof passes through Edelman's bound on the density of λmin⁡(GGT)\lambda_{\min}(GG^{\mathsf T})λmin​(GGT) and an explicit integration, and it implies the expectation bound of HMT Proposition 10.2 by Jensen's inequality.

Milestones

  • Inverse-Wishart mean. E(GGT)−1=1k−r−1Ir\mathbb E(GG^{\mathsf T})^{-1}=\frac{1}{k-r-1}I_rE(GGT)−1=k−r−11​Ir​ for r≤k−2r\le k-2r≤k−2 (Tropp–Webber Lemma B.2).
  • Frobenius inverse moment. E∥G†∥F2=rk−r−1\mathbb E\|G^{\dagger}\|_F^2=\frac{r}{k-r-1}E∥G†∥F2​=k−r−1r​ for k−r≥2k-r\ge2k−r≥2 (HMT Proposition 10.2 (10.3) and A.5).
  • Second-order inverse-Wishart moments. E∥G†∥F4=r2(k−r)−2r(r−1)(k−r)(k−r−1)(k−r−3)\mathbb E\|G^{\dagger}\|_F^4=\frac{r^2(k-r)-2r(r-1)}{(k-r)(k-r-1)(k-r-3)}E∥G†∥F4​=(k−r)(k−r−1)(k−r−3)r2(k−r)−2r(r−1)​ and E∥(GGT)−1∥F2=r(k−1)(k−r)(k−r−1)(k−r−3)\mathbb E\|(GG^{\mathsf T})^{-1}\|_F^2=\frac{r(k-1)}{(k-r)(k-r-1)(k-r-3)}E∥(GGT)−1∥F2​=(k−r)(k−r−1)(k−r−3)r(k−1)​ for r≤k−4r\le k-4r≤k−4 (Tropp–Webber Lemma B.2).
  • Chen–Dongarra tail. P{∥G†∥>t}≤12π(k−r+1)(ekk−r+1)k−r+1t−(k−r+1)\mathbb P\{\|G^{\dagger}\|>t\}\le\frac{1}{\sqrt{2\pi(k-r+1)}}\bigl(\frac{e\sqrt k}{k-r+1}\bigr)^{k-r+1}t^{-(k-r+1)}P{∥G†∥>t}≤2π(k−r+1)​1​(k−r+1ek​​)k−r+1t−(k−r+1) for k≥r≥2k\ge r\ge2k≥r≥2, t>0t>0t>0 (HMT Proposition A.3).
  • Expected spectral norm of the pseudoinverse. E∥G†∥≤ekk−r\mathbb E\|G^{\dagger}\|\le\frac{e\sqrt k}{k-r}E∥G†∥≤k−rek​​ for r≥2r\ge2r≥2, k≥r+1k\ge r+1k≥r+1 (HMT Proposition 10.2 (10.4) and A.4).
  • Frobenius tail. P{∥G†∥F2>12rk−rt}≤4t−(k−r)/2\mathbb P\{\|G^{\dagger}\|_F^2>\frac{12r}{k-r}t\}\le4t^{-(k-r)/2}P{∥G†∥F2​>k−r12r​t}≤4t−(k−r)/2 for k−r≥4k-r\ge4k−r≥4, t≥1t\ge1t≥1 (HMT Theorem A.6).

Significance

The results. Combined with the second-moment identity and block independence of Mission I, the Frobenius inverse moment gives the expected Frobenius error of the randomized SVD and of generalized Nyström; the spectral inverse moment gives the expected spectral error and the core-noise bounds of truncated sketching methods; the two tail bounds give the large-deviation statements of HMT §10.3. The second-order inverse-Wishart moments quantify the variance of ∥G†∥F2\|G^{\dagger}\|_F^2∥G†∥F2​, which Tropp–Webber use for concentration of the randomized SVD error.

Formalizing them. The inverse-Wishart mean and the second-order moments are classical multivariate-statistics formulas (Muirhead; von Rosen) with no Mathlib counterpart. The Chen–Dongarra tail requires the exact distribution of σmin⁡\sigma_{\min}σmin​, or at least Edelman's density bound; the Frobenius tail is HMT's own argument through the bidiagonal (Householder) model of a Gaussian matrix and chi-square moment estimates. Every statement here is a proved theorem in the literature; none has a machine-checked proof.

Difficulty

There is no Wishart distribution in Mathlib. The direct approach — compute the density of GGTGG^{\mathsf T}GGT and integrate — needs the Wishart density, a change of variables on the cone of positive-definite matrices, and the matrix-variate gamma function. The classical route to the mean avoids this: by rotational invariance (GGT)−1(GG^{\mathsf T})^{-1}(GGT)−1 has the same law as Q(GGT)−1QTQ(GG^{\mathsf T})^{-1}Q^{\mathsf T}Q(GGT)−1QT for every orthogonal QQQ, so its mean is a multiple of the identity, and the trace is ∑i1/χk−r+12\sum_i 1/\chi^2_{k-r+1}∑i​1/χk−r+12​-type quantities whose means are elementary; making "the diagonal entries of (GGT)−1(GG^{\mathsf T})^{-1}(GGT)−1 are reciprocals of χk−r+12\chi^2_{k-r+1}χk−r+12​ variables" rigorous requires the Gram–Schmidt (QR) decomposition of a Gaussian matrix and the independence of its factors. The spectral inverse moment needs a lower-tail bound for λmin⁡(GGT)\lambda_{\min}(GG^{\mathsf T})λmin​(GGT) of the exact order t(k−r+1)/2t^{(k-r+1)/2}t(k−r+1)/2; a union bound over rows loses a factor rrr and does not give the stated constant. The naive attempt to bound E∥G†∥2\mathbb E\|G^{\dagger}\|^2E∥G†∥2 by E∥G†∥F2\mathbb E\|G^{\dagger}\|_F^2E∥G†∥F2​ loses a factor rrr as well.

Formalization scope

GGG is sampled from the product measure γr,k\gamma_{r,k}γr,k​ on arrays; (⋅)−1(\cdot)^{-1}(⋅)−1 is Mathlib's total matrix inverse, equal to 000 on the null set where GGTGG^{\mathsf T}GGT is singular, and G†G^{\dagger}G† is defined as GT(GGT)−1G^{\mathsf T}(GG^{\mathsf T})^{-1}GT(GGT)−1 (pinvR). Every inequality is stated together with integrability of its integrand, so the Lean convention that a non-integrable function integrates to 000 cannot make a bound vacuous; identities with nonzero right-hand sides force integrability on their own but are also stated with it. The inverse-Wishart mean is stated entrywise. Tail bounds are inequalities between a measure in [0,∞][0,\infty][0,∞] and ofReal⁡\operatorname{ofReal}ofReal of the real bound. Real powers with non-integer exponents are Mathlib's rpow; all bases are positive under the hypotheses. The spectral norm is Mathlib's ℓ2\ell_2ℓ2​ operator norm. The sizes follow Tropp–Webber (G∈Rr×kG\in\mathbb R^{r\times k}G∈Rr×k); HMT's k×(k+p)k\times(k+p)k×(k+p) and m×nm\times nm×n conventions are translated in each item's source field.

Welcome contributions: a Wishart/inverse-Wishart library (QR decomposition of a Gaussian matrix, Bartlett decomposition, chi-square moments E Ξ−q=Γ(k/2−q)/(2qΓ(k/2))\mathbb E\,\Xi^{-q}=\Gamma(k/2-q)/(2^q\Gamma(k/2))EΞ−q=Γ(k/2−q)/(2qΓ(k/2))), and the distribution of σmin⁡\sigma_{\min}σmin​ of a Gaussian matrix (Edelman).

Selected references

  • N. Halko, P.-G. Martinsson, J. A. Tropp, Finding structure with randomness: probabilistic algorithms for constructing approximate matrix decompositions, SIAM Review 53(2), 217–288, 2011. https://arxiv.org/abs/0909.4061
  • J. A. Tropp, R. J. Webber, Randomized algorithms for low-rank matrix approximation: design, analysis, and applications, 2023. https://arxiv.org/abs/2306.12418
  • R. Vershynin, Introduction to the non-asymptotic analysis of random matrices, in Compressed Sensing: Theory and Applications, Cambridge University Press, 2012. https://arxiv.org/abs/1011.3027
  • L. Isserlis, On a formula for the product-moment coefficient of any order of a normal frequency distribution in any number of variables, Biometrika 12, 134–139, 1918. https://doi.org/10.1093/biomet/12.1-2.134
  • S. Dasgupta, A. Gupta, An elementary proof of a theorem of Johnson and Lindenstrauss, Random Structures & Algorithms 22, 60–65, 2003. https://doi.org/10.1002/rsa.10073
  • M. Rudelson, R. Vershynin, The Littlewood–Offord problem and invertibility of random matrices, Advances in Mathematics 218, 600–633, 2008. https://arxiv.org/abs/math/0703503
  • Y. Chen, J. Dongarra, Condition numbers of Gaussian random matrices, SIAM J. Matrix Anal. Appl. 27(3), 603–620, 2005. https://doi.org/10.1137/040616413
  • A. Edelman, Eigenvalues and condition numbers of random matrices, SIAM J. Matrix Anal. Appl. 9(4), 543–560, 1988. https://doi.org/10.1137/0609045
  • Y. Gordon, Some inequalities for Gaussian processes and applications, Israel J. Math. 50, 265–289, 1985. https://doi.org/10.1007/BF02759761
  • K. R. Davidson, S. J. Szarek, Local operator theory, random matrices and Banach spaces, Handbook of the Geometry of Banach Spaces, Vol. 1, 317–366, 2001. https://doi.org/10.1016/S1874-5849(01)80010-3
  • M. Ledoux, The Concentration of Measure Phenomenon, AMS Mathematical Surveys and Monographs 89, 2001. https://doi.org/10.1090/surv/089

Shared definitions: the items of this mission import Definitions.Def_GaussianMatrix_basic, a draft of Mission I; submit that proposal first so the import resolves at compile time.

Series: I. Rotation Invariance and Moment Identities · II. Inverse Moments of the Pseudoinverse · III. Extreme Singular Values and Concentration. All three missions share the definition bundle GaussianMatrix_basic, published with Mission I, and the namespace GaussianMatrix.

13 thms1 active userReviewed
🏆Completed
Numerical AnalysisProbability·Captain: tc

Gaussian Random Matrices I: Rotation Invariance and Moment IdentitiesTextbook

Motivation

Randomized algorithms for low-rank approximation — the randomized SVD of Halko, Martinsson and Tropp (HMT 2011), generalized Nyström, randomized subspace iteration, one-pass sketching (Tropp–Webber 2023) — multiply the input matrix by a random test matrix Ω\OmegaΩ with independent standard normal entries. Every error bound for these methods rests on a small number of facts about such standard Gaussian matrices: they are invariant under rotations, disjoint blocks of a rotated copy are independent, and the second and fourth moments of a linearly transformed Gaussian matrix are given by explicit formulas. These facts are classical, but none of them is available in Mathlib, so a Lean development of randomized numerical linear algebra currently has to carry every one of them as an explicit hypothesis of its main theorems. This mission removes those hypotheses.

Setting

For p,m∈Np,m\in\mathbb Np,m∈N, a standard Gaussian matrix of size p×mp\times mp×m is a random matrix Γ∈Rp×m\Gamma\in\mathbb R^{p\times m}Γ∈Rp×m whose pmpmpm entries are independent N(0,1)\mathcal N(0,1)N(0,1) random variables. Its law, written γp,m\gamma_{p,m}γp,m​, is the product measure ⨂i<p⨂j<mN(0,1)\bigotimes_{i<p}\bigotimes_{j<m}\mathcal N(0,1)⨂i<p​⨂j<m​N(0,1) on real p×mp\times mp×m arrays.

For a real matrix AAA, ∥A∥F2=∑i,jAij2\|A\|_F^2=\sum_{i,j}A_{ij}^2∥A∥F2​=∑i,j​Aij2​ is the squared Frobenius norm; rank⁡A\operatorname{rank}ArankA is the dimension of its column space. A matrix V1∈Rn×kV_1\in\mathbb R^{n\times k}V1​∈Rn×k has orthonormal columns when V1TV1=IkV_1^{\mathsf T}V_1=I_kV1T​V1​=Ik​; a square such matrix is orthogonal. For t≥1t\ge1t≥1, a matrix S∈Rn×tS\in\mathbb R^{n\times t}S∈Rn×t with independent N(0,1/t)\mathcal N(0,1/t)N(0,1/t) entries is written S=t−1/2ΩS=t^{-1/2}\OmegaS=t−1/2Ω with Ω∼γn,t\Omega\sim\gamma_{n,t}Ω∼γn,t​, so that SST=1tΩΩTSS^{\mathsf T}=\tfrac1t\Omega\Omega^{\mathsf T}SST=t1​ΩΩT is an unbiased sketch of the identity.

Formalization targets

Goal — Gaussian approximate matrix multiplication

For fixed M∈Ra×nM\in\mathbb R^{a\times n}M∈Ra×n, N∈Rb×nN\in\mathbb R^{b\times n}N∈Rb×n and S∈Rn×tS\in\mathbb R^{n\times t}S∈Rn×t with independent N(0,1/t)\mathcal N(0,1/t)N(0,1/t) entries,

E ∥MSSTNT−MNT∥F2=∥M∥F2∥N∥F2+∥MNT∥F2t≤2t∥M∥F2∥N∥F2.\mathbb E\,\bigl\|MSS^{\mathsf T}N^{\mathsf T}-MN^{\mathsf T}\bigr\|_F^2=\frac{\|M\|_F^2\|N\|_F^2+\|MN^{\mathsf T}\|_F^2}{t}\le\frac2t\|M\|_F^2\|N\|_F^2 .E​MSSTNT−MNT​F2​=t∥M∥F2​∥N∥F2​+∥MNT∥F2​​≤t2​∥M∥F2​∥N∥F2​.

This is the exact mean-squared error of the sketched product MSSTNTMSS^{\mathsf T}N^{\mathsf T}MSSTNT as an estimator of MNTMN^{\mathsf T}MNT, a direct consequence of Isserlis' pairing formula for Gaussian fourth moments. It is the goal because it is the one fourth-moment computation the series needs and because every other identity in the mission is a step towards it.

Milestones

  • Rotational invariance. UΓV∼γp,mU\Gamma V\sim\gamma_{p,m}UΓV∼γp,m​ for orthogonal U∈Rp×pU\in\mathbb R^{p\times p}U∈Rp×p, V∈Rm×mV\in\mathbb R^{m\times m}V∈Rm×m (HMT §10.1).
  • Blocks of a rotated Gaussian matrix. For V1∈Rn×kV_1\in\mathbb R^{n\times k}V1​∈Rn×k with orthonormal columns, V1TΩ∼γk,tV_1^{\mathsf T}\Omega\sim\gamma_{k,t}V1T​Ω∼γk,t​; for orthonormal V1,V2V_1,V_2V1​,V2​ with V1TV2=0V_1^{\mathsf T}V_2=0V1T​V2​=0, the blocks V1TΩV_1^{\mathsf T}\OmegaV1T​Ω and V2TΩV_2^{\mathsf T}\OmegaV2T​Ω are independent (HMT, proof of Theorem 10.5).
  • Second moment. E∥SΓT∥F2=∥S∥F2∥T∥F2\mathbb E\|S\Gamma T\|_F^2=\|S\|_F^2\|T\|_F^2E∥SΓT∥F2​=∥S∥F2​∥T∥F2​ (HMT Proposition 10.1 (10.1); Tropp–Webber Lemma B.1).
  • Fourth moment. E∥SΓT∥F4=(∥S∥F2∥T∥F2)2+2∥STS∥F2∥TTT∥F2\mathbb E\|S\Gamma T\|_F^4=(\|S\|_F^2\|T\|_F^2)^2+2\|S^{\mathsf T}S\|_F^2\|TT^{\mathsf T}\|_F^2E∥SΓT∥F4​=(∥S∥F2​∥T∥F2​)2+2∥STS∥F2​∥TTT∥F2​, the Isserlis formula for the Gaussian quadratic form tr⁡(ΓTSTS Γ TTT)\operatorname{tr}(\Gamma^{\mathsf T}S^{\mathsf T}S\,\Gamma\,TT^{\mathsf T})tr(ΓTSTSΓTTT); its special case E∥Ω∥F4=(kt)2+2kt\mathbb E\|\Omega\|_F^4=(kt)^2+2ktE∥Ω∥F4​=(kt)2+2kt is the chi-square second moment (HMT Proposition A.8).
  • Full rank. rank⁡Γ=min⁡{p,m}\operatorname{rank}\Gamma=\min\{p,m\}rankΓ=min{p,m} almost surely (HMT, proof of Theorem 10.5 and Proposition A.5).

Significance

The results. Rotational invariance and block independence are the mechanism behind every conditioning argument in randomized linear algebra: writing the right singular vectors of the input as [V1 V2][V_1\ V_2][V1​ V2​], the sketch splits into independent standard Gaussian blocks Ω1=V1TΩ\Omega_1=V_1^{\mathsf T}\OmegaΩ1​=V1T​Ω and Ω2=V2TΩ\Omega_2=V_2^{\mathsf T}\OmegaΩ2​=V2T​Ω, and one may condition on Ω1\Omega_1Ω1​ while treating Ω2\Omega_2Ω2​ as fresh. The second-moment identity then turns the deterministic range-finder bound ∥Σ2Ω2Ω1†∥F\|\Sigma_2\Omega_2\Omega_1^{\dagger}\|_F∥Σ2​Ω2​Ω1†​∥F​ into ∥Σ2∥F2 E∥Ω1†∥F2\|\Sigma_2\|_F^2\,\mathbb E\|\Omega_1^{\dagger}\|_F^2∥Σ2​∥F2​E∥Ω1†​∥F2​, and the approximate-multiplication identity gives the one-pass error terms. Almost-sure full rank is what makes Ω1†\Omega_1^{\dagger}Ω1†​ a genuine pseudoinverse.

Formalizing them. Mathlib has the one-dimensional Gaussian measure, product measures, independence of coordinate projections, and (recently) the standard Gaussian measure on a finite-dimensional inner product space together with its invariance under linear isometries. None of the matrix-level statements above is in Mathlib. Once proved here they are reusable by every later mission in the series and by any formalization of randomized low-rank approximation, whose expectation-level inputs (e.g. E∥Σ2Ω2Ω1†∥F2=kt−k−1∥Σ2∥F2\mathbb E\|\Sigma_2\Omega_2\Omega_1^{\dagger}\|_F^2=\frac{k}{t-k-1}\|\Sigma_2\|_F^2E∥Σ2​Ω2​Ω1†​∥F2​=t−k−1k​∥Σ2​∥F2​) follow from these milestones together with the inverse moments of Mission II.

Difficulty

Rotational invariance is not a computation with densities on Rpm\mathbb R^{pm}Rpm that Mathlib supports out of the box: the clean route is through characteristic functions or through the basis-independence of the standard Gaussian on an inner product space, transported along the linear isometry Γ↦UΓV\Gamma\mapsto U\Gamma VΓ↦UΓV of Rp×m\mathbb R^{p\times m}Rp×m with the Frobenius inner product. Independence of the blocks requires identifying [V1 V2]TΩ[V_1\ V_2]^{\mathsf T}\Omega[V1​ V2​]TΩ with a product measure and then projecting onto disjoint coordinate sets, with a completion of [V1 V2][V_1\ V_2][V1​ V2​] to an orthogonal matrix when k+r<nk+r<nk+r<n. The moment identities are finite computations, but the fourth-moment identity needs the Gaussian moments Eg4=3\mathbb E g^4=3Eg4=3, Eg2=1\mathbb E g^2=1Eg2=1 organized through Isserlis' pairing formula over a four-fold sum of indices; the obvious entrywise expansion produces O((pm)4)O((pm)^4)O((pm)4) terms that must be collapsed symbolically. Almost-sure full rank is the statement that the zero set of a nonzero polynomial (det⁡\detdet of a maximal square submatrix) is Lebesgue-null, which must be established for the product Gaussian measure.

Formalization scope

The sample space is the function type Rp→Rm→R\mathbb R^{p}\to\mathbb R^{m}\to\mathbb RRp→Rm→R with the product σ\sigmaσ-algebra; a sample is viewed as a matrix through the identity map of\mathrm{of}of. Expectations are real Bochner integrals: for an identity with a nonzero right-hand side this forces integrability, and the integrands here are polynomials in Gaussian entries. Laws are stated as equalities of pushforward measures; independence is Mathlib's IndepFun. Dimensions may be 000; all statements remain true in that case. The hypothesis V1TV1=IkV_1^{\mathsf T}V_1=I_kV1T​V1​=Ik​ silently forces k≤nk\le nk≤n (vacuous otherwise), which matches the source.

The definition bundle GaussianMatrix_basic supplies the law γp,m\gamma_{p,m}γp,m​, ∥⋅∥F2\|\cdot\|_F^2∥⋅∥F2​, ∥⋅∥F\|\cdot\|_F∥⋅∥F​, the spectral norm (Mathlib's ℓ2\ell_2ℓ2​ operator norm), the smallest singular value and the pseudoinverse G†=GT(GGT)−1G^{\dagger}=G^{\mathsf T}(GG^{\mathsf T})^{-1}G†=GT(GGT)−1; it is shared by the whole series. Welcome contributions: the Gaussian integration-by-parts and Isserlis lemmas for finite index sets, the identification of γp,m\gamma_{p,m}γp,m​ with Mathlib's stdGaussian on the Frobenius inner product space, and the "polynomial zero sets are null" lemma for product measures.

Selected references

  • N. Halko, P.-G. Martinsson, J. A. Tropp, Finding structure with randomness: probabilistic algorithms for constructing approximate matrix decompositions, SIAM Review 53(2), 217–288, 2011. https://arxiv.org/abs/0909.4061
  • J. A. Tropp, R. J. Webber, Randomized algorithms for low-rank matrix approximation: design, analysis, and applications, 2023. https://arxiv.org/abs/2306.12418
  • R. Vershynin, Introduction to the non-asymptotic analysis of random matrices, in Compressed Sensing: Theory and Applications, Cambridge University Press, 2012. https://arxiv.org/abs/1011.3027
  • L. Isserlis, On a formula for the product-moment coefficient of any order of a normal frequency distribution in any number of variables, Biometrika 12, 134–139, 1918. https://doi.org/10.1093/biomet/12.1-2.134
  • S. Dasgupta, A. Gupta, An elementary proof of a theorem of Johnson and Lindenstrauss, Random Structures & Algorithms 22, 60–65, 2003. https://doi.org/10.1002/rsa.10073
  • M. Rudelson, R. Vershynin, The Littlewood–Offord problem and invertibility of random matrices, Advances in Mathematics 218, 600–633, 2008. https://arxiv.org/abs/math/0703503
  • Y. Chen, J. Dongarra, Condition numbers of Gaussian random matrices, SIAM J. Matrix Anal. Appl. 27(3), 603–620, 2005. https://doi.org/10.1137/040616413
  • A. Edelman, Eigenvalues and condition numbers of random matrices, SIAM J. Matrix Anal. Appl. 9(4), 543–560, 1988. https://doi.org/10.1137/0609045
  • Y. Gordon, Some inequalities for Gaussian processes and applications, Israel J. Math. 50, 265–289, 1985. https://doi.org/10.1007/BF02759761
  • K. R. Davidson, S. J. Szarek, Local operator theory, random matrices and Banach spaces, Handbook of the Geometry of Banach Spaces, Vol. 1, 317–366, 2001. https://doi.org/10.1016/S1874-5849(01)80010-3
  • M. Ledoux, The Concentration of Measure Phenomenon, AMS Mathematical Surveys and Monographs 89, 2001. https://doi.org/10.1090/surv/089

Series: I. Rotation Invariance and Moment Identities · II. Inverse Moments of the Pseudoinverse · III. Extreme Singular Values and Concentration. All three missions share the definition bundle GaussianMatrix_basic, published with Mission I, and the namespace GaussianMatrix.

8 thms1 active userReviewed
Graph TheoryProbability·Captain: mikedeng1

Spectral Statistics of Erdős–Rényi Graphs I: Local Semicircle Law: Local Semicircle Law for the Sparse Noncentered Matrix A = H + f|e⟩⟨e| Down to Spectral Scale η ≈ 1/NResearch Paper

Motivation

The adjacency matrix of an Erdős–Rényi random graph contains a large deterministic mean as well as random fluctuations. The mean affects the largest eigenvalue, while the centered fluctuations determine much of the remaining spectrum. A local spectral law must describe both pieces at a resolution fine enough to distinguish eigenvalues within a narrow energy window. Erdős, Knowles, Yau and Yin established such estimates for a broader class of sparse symmetric matrices and their noncentered rank-one deformations in Spectral statistics of Erdős–Rényi graphs I. This mission formalizes the paper's Theorem 2.9, with the centered-matrix law and eleven intermediate results of the paper as milestones.

The paper treats the graph matrix through a model that also allows other sparse distributions. Its parameters qNq_NqN​ and fNf_NfN​ separate sparsity from the size of the deterministic mean. That separation matters: the normalized resolvent trace can obey a local semicircle law even when the deformation produces a distinguished top eigenvalue. The formal target therefore concerns the deformed matrix itself, rather than replacing it with the centered matrix.

Setting

For each size NNN, let HN=(hij)H_N=(h_{ij})HN​=(hij​) be a real symmetric random matrix. Entries indexed by the upper triangle are independent, centered, and have variance 1/N1/N1/N. Their higher moments obey

E∣hij∣p≤CpNqNp−2,3≤p≤(log⁡N)A0log⁡log⁡N.\mathbf E|h_{ij}|^p\le\frac{C^p}{Nq_N^{p-2}},\qquad 3\le p\le(\log N)^{A_0\log\log N}.E∣hij​∣p≤NqNp−2​Cp​,3≤p≤(logN)A0​loglogN.

The sparsity parameter qNq_NqN​ lies between (log⁡N)3ξN(\log N)^{3\xi_N}(logN)3ξN​ and CNC\sqrt NCN​, and the logarithmic parameter satisfies 1+a0≤ξN≤A0log⁡log⁡N1+a_0\le\xi_N\le A_0\log\log N1+a0​≤ξN​≤A0​loglogN, with a0>0a_0>0a0​>0 and A0≥10A_0\ge10A0​≥10. Define eN=N−1/2(1,…,1)e_N=N^{-1/2}(1,\ldots,1)eN​=N−1/2(1,…,1) and the noncentered matrix AN=HN+fN∣eN⟩⟨eN∣A_N=H_N+f_N|e_N\rangle\langle e_N|AN​=HN​+fN​∣eN​⟩⟨eN​∣, where 0≤fN≤NC0\le f_N\le N^C0≤fN​≤NC. The projection ∣eN⟩⟨eN∣|e_N\rangle\langle e_N|∣eN​⟩⟨eN​∣ has every entry equal to 1/N1/N1/N. These are Definitions 2.1 and 2.2 of the source paper, pp. 5–6.

For a complex number z=E+iηz=E+i\etaz=E+iη with η>0\eta>0η>0, the resolvents are G(z)=(HN−zI)−1G(z)=(H_N-zI)^{-1}G(z)=(HN​−zI)−1 and G~(z)=(AN−zI)−1\widetilde G(z)=(A_N-zI)^{-1}G(z)=(AN​−zI)−1. Their normalized traces are m(z)=N−1Tr⁡G(z)m(z)=N^{-1}\operatorname{Tr}G(z)m(z)=N−1TrG(z) and m~(z)=N−1Tr⁡G~(z)\widetilde m(z)=N^{-1}\operatorname{Tr}\widetilde G(z)m(z)=N−1TrG(z). The comparison object is the semicircle density ρsc(x)=(2π)−1[4−x2]+\rho_{\mathrm{sc}}(x)=(2\pi)^{-1}\sqrt{[4-x^2]_+}ρsc​(x)=(2π)−1[4−x2]+​​ and its Stieltjes transform msc(z)=∫Rρsc(x)/(x−z) dxm_{\mathrm{sc}}(z)=\int_{\mathbb R}\rho_{\mathrm{sc}}(x)/(x-z)\,dxmsc​(z)=∫R​ρsc​(x)/(x−z)dx. Put κE=∣∣E∣−2∣\kappa_E=\bigl||E|-2\bigr|κE​=​∣E∣−2​ and D={E+iη:∣E∣≤Σ, 0<η≤3}D=\{E+i\eta:|E|\le\Sigma,\ 0<\eta\le3\}D={E+iη:∣E∣≤Σ, 0<η≤3} for a fixed Σ≥3\Sigma\ge3Σ≥3. These definitions appear in Section 2, pp. 7–9.

An NNN-dependent event has (ξ,ν)(\xi,\nu)(ξ,ν)-high probability when its failure probability is at most exp⁡[−ν(log⁡N)ξN]\exp[-\nu(\log N)^{\xi_N}]exp[−ν(logN)ξN​] for all sufficiently large NNN. The spectral estimates below refer to single events on which the claimed bound holds at every z∈Dz\in Dz∈D simultaneously.

Formalization targets

Main goal: the local law for A

Theorem 2.9 assumes ξN∼(A0/2)log⁡log⁡N\xi_N\sim(A_0/2)\log\log NξN​∼(A0​/2)loglogN and qN≥(log⁡N)C1ξNq_N\ge(\log N)^{C_1\xi_N}qN​≥(logN)C1​ξN​. Its first conclusion is that, with (ξ,ν)(\xi,\nu)(ξ,ν)-high probability, every z=E+iη∈Dz=E+i\eta\in Dz=E+iη∈D satisfies

∣m~(z)−msc(z)∣≤(log⁡N)C2ξN(min⁡{1qN2κE+η,1qN}+1Nη).|\widetilde m(z)-m_{\mathrm{sc}}(z)|\le(\log N)^{C_2\xi_N}\left(\min\left\{\frac1{q_N^2\sqrt{\kappa_E+\eta}},\frac1{q_N}\right\}+\frac1{N\eta}\right).∣m(z)−msc​(z)∣≤(logN)C2​ξN​(min{qN2​κE​+η​1​,qN​1​}+Nη1​).

Under the additional bound fN≤C0Nf_N\le C_0\sqrt NfN​≤C0​N​, its second conclusion controls every entry at every z∈Dz\in Dz∈D:

∣G~ij(z)−δijmsc(z)∣≤(log⁡N)C2ξN(1qN+Im⁡msc(z)Nη+1Nη).|\widetilde G_{ij}(z)-\delta_{ij}m_{\mathrm{sc}}(z)|\le(\log N)^{C_2\xi_N}\left(\frac1{q_N}+\sqrt{\frac{\operatorname{Im}m_{\mathrm{sc}}(z)}{N\eta}}+\frac1{N\eta}\right).∣Gij​(z)−δij​msc​(z)∣≤(logN)C2​ξN​(qN​1​+NηImmsc​(z)​​+Nη1​).

The constants C1,C2C_1,C_2C1​,C2​ are universal and positive. The probability exponent ν>0\nu>0ν>0 may depend on the fixed parameters named in the theorem. Both conclusions, including the extra condition on fNf_NfN​ in the second, are retained from Theorem 2.9, pp. 9–10.

Milestones

The milestones follow the paper's own sequence of numbered results.

  1. Properties of mscm_{\mathrm{sc}}msc​ (Lemma 3.2): ∣msc∣∼1|m_{\mathrm{sc}}|\sim1∣msc​∣∼1, ∣1−msc2∣∼κE+η|1-m_{\mathrm{sc}}^2|\sim\sqrt{\kappa_E+\eta}∣1−msc2​∣∼κE​+η​, and the size of Im⁡msc\operatorname{Im}m_{\mathrm{sc}}Immsc​ inside and outside the spectrum.
  2. Resolvent identities for minors (Lemma 3.4) and the self-consistent equation Gii=1/(−z−msc−([v]−Υi))G_{ii}=1/(-z-m_{\mathrm{sc}}-([v]-\Upsilon_i))Gii​=1/(−z−msc​−([v]−Υi​)) (Lemma 3.10); both are deterministic.
  3. Large deviation bounds for linear and quadratic forms in independent variables with the sparse moment decay (Lemma 3.8 (ii)).
  4. The weak local semicircle law for HHH (Theorem 3.1) on DL={∣E∣≤Σ, (log⁡N)LN−1≤η≤3}D_L=\{|E|\le\Sigma,\ (\log N)^LN^{-1}\le\eta\le3\}DL​={∣E∣≤Σ, (logN)LN−1≤η≤3}, L≥8ξL\ge8\xiL≥8ξ.
  5. Fluctuation averaging (Lemma 4.1 (4.2)): the average [Z]=N−1∑iZi[Z]=N^{-1}\sum_iZ_i[Z]=N−1∑i​Zi​ of the fluctuation terms is much smaller than each ZiZ_iZi​.
  6. The a priori norm bound ∥H∥≤2+(log⁡N)ξq−1/2\|H\|\le2+(\log N)^\xi q^{-1/2}∥H∥≤2+(logN)ξq−1/2 (Lemma 4.3) and the strong local law for HHH (Theorem 2.8, the analogue of the goal for f=0f=0f=0).
  7. Interlacing of the eigenvalues of HHH and AAA (Lemma 6.1) and the near-orthogonality ∑α≠N∣⟨vα,e⟩∣2=O(f−2)\sum_{\alpha\ne N}|\langle v_\alpha,e\rangle|^2=O(f^{-2})∑α=N​∣⟨vα​,e⟩∣2=O(f−2) of eee to the non-top eigenvectors of AAA (Corollary 6.7).
  8. The trace comparison ∣Λ~−Λ∣≤π/(Nη)|\widetilde\Lambda-\Lambda|\le\pi/(N\eta)∣Λ−Λ∣≤π/(Nη) (Lemma 7.1), which yields the first conclusion of the goal from Theorem 2.8.
  9. Entrywise control of G~\widetilde GG on the event Ω~(η)\widetilde\Omega(\eta)Ω(η) that Λ~d+Λ~o≤(log⁡N)−ξ\widetilde\Lambda_d+\widetilde\Lambda_o\le(\log N)^{-\xi}Λd​+Λo​≤(logN)−ξ on the line Im⁡z=η\operatorname{Im}z=\etaImz=η: the off-diagonal bound Λ~o≤CΦ\widetilde\Lambda_o\le C\PhiΛo​≤CΦ (Proposition 7.6 (7.14)) and the diagonal bounds of Lemma 7.7, with Φ=(log⁡N)ξ/q+(log⁡N)2ξ(Im⁡m~/(Nη)+1/(Nη))\Phi=(\log N)^\xi/q+(\log N)^{2\xi}(\sqrt{\operatorname{Im}\widetilde m/(N\eta)}+1/(N\eta))Φ=(logN)ξ/q+(logN)2ξ(Imm/(Nη)​+1/(Nη)).

Significance

The trace estimate gives quantitative control over spectral mass at local scales, including near the edges E=±2E=\pm2E=±2. The entrywise estimate says more: each resolvent entry is close to the diagonal semicircle approximation with an error that records both sparsity and finite-size effects. The paper's later results derive density-of-states and eigenvector statements from these local controls. Those consequences are outside this mission's goal.

The intended formal development supplies reusable definitions of sparse symmetric ensembles, high-probability events, semicircle transforms, and complex resolvents, followed by exact statements of the paper's estimates. Mathlib contains no local semicircle law, for Wigner or for sparse matrices, and no Stieltjes transform of the semicircle distribution; the local law, the large deviation bounds and the interlacing lemma are each reusable beyond this paper.

Difficulty

The deterministic rank-one comparison controls the normalized trace but does not by itself control each entry of G~\widetilde GG. The entrywise estimate must account for the deformation and for fluctuations caused by sparse entries. Near the spectral edges, the stability scale of the semicircle transform changes with κE+η\kappa_E+\etaκE​+η; a bound that is uniform in the bulk does not automatically retain the paper's edge behavior. The theorem also asks for one event covering a continuum of zzz values, so a collection of separate fixed-zzz probability bounds has the wrong quantifier order. These are substantive parts of Sections 3–7, beyond algebraic manipulation of resolvents.

Formalization scope

Lean represents all HNH_NHN​ on one probability space and takes their entries to be real, symmetric, measurable random variables, independent in the upper triangle. Conditions involving log⁡log⁡N\log\log NloglogN and the moments hold for all sufficiently large NNN; this avoids impossible small-NNN parameter bounds and matches the asymptotic theorem. The moment order ppp is real, as in the paper. Each finite expectation has an explicit integrability condition. A single positive constant CCC is used for the moment, sparsity, and deformation bounds: replacing several fixed constants by their maximum preserves all three inequalities.

Matrix indices use Fin N rather than the paper's 1,…,N1,\ldots,N1,…,N. The resolvent is a complex matrix formed by coercing the real matrix before subtracting zIzIzI. Every result that uses it restricts η>0\eta>0η>0 eventually or explicitly; its inverse at a singular input is never used to make a claim. The semicircle transform is defined by the paper's integral, and 4−x2\sqrt{4-x^2}4−x2​ uses Lean's nonnegative square root, implementing the positive part. The high-probability predicate evaluates the measure of arbitrary sets, so it can state the intersection over all zzz without a separate measurability assumption on that intersection. Positive qNq_NqN​ and positive square-root arguments follow eventually from the model and z∈Dz\in Dz∈D.

The deterministic Lemmas 3.2, 3.4, 3.10, 6.1 and 7.1 are stated for every real symmetric matrix and every zzz with η>0\eta>0η>0 (Lemma 3.2 on DDD); the paper's DLD_LDL​ is contained there. Minors keep the original index names, and Gkl(T)G^{(\mathbb T)}_{kl}Gkl(T)​ is only used for k,l∉Tk,l\notin\mathbb Tk,l∈/T. ZiZ_iZi​ is the explicit expression of (3.15). Ordered eigenvalues are the sorted roots of the characteristic polynomial. Statements the paper makes "for fixed zzz" (Lemmas 4.1, 7.7, Proposition 7.6) are uniform in zzz: one threshold N0N_0N0​ serves every zzz. The unnamed constants CCC, ν\nuν, KKK are chosen after the fixed parameters and before the random matrices; the universal C1,C2C_1,C_2C1​,C2​ come first.

Trivializing encodings are ruled out: every resolvent is taken at η>0\eta>0η>0, so the junk inverse of a singular matrix never enters; the model is satisfiable (independent Rademacher signs divided by N\sqrt NN​ with qN=Nq_N=\sqrt NqN​=N​ and ξN=(A0/2)log⁡log⁡N\xi_N=(A_0/2)\log\log NξN​=(A0​/2)loglogN satisfy it for large NNN); each event of the goal is one intersection over all z∈Dz\in Dz∈D, not a family of pointwise bounds; the constants appear in the paper's order; and the goal is about A=H+f∣e⟩⟨e∣A=H+f|e\rangle\langle e|A=H+f∣e⟩⟨e∣ with fff allowed to be large, so it does not reduce to Theorem 2.8.

Part (iii) of Lemma 3.8 is not a milestone: the printed (3.22) omits the diagonal variance term (N−2∑i∣Bii∣2)1/2(N^{-2}\sum_i|B_{ii}|^2)^{1/2}(N−2∑i​∣Bii​∣2)1/2, without which it fails for Rademacher variables with q≍Nq\asymp\sqrt Nq≍N​. Contributions of proofs of any milestone, and of the missing groundwork (Stieltjes transforms of measures, Schur complements of resolvents, moment bounds for sums of independent variables), are welcome.

Selected references

  • L. Erdős, A. Knowles, H.-T. Yau and J. Yin, Spectral statistics of Erdős–Rényi graphs I: Local semicircle law, Annals of Probability 41(3B), 2013, pp. 2279–2375. arXiv:1103.1919v5; DOI:10.1214/11-AOP734.
16 thms1 active userReviewed
Information TheoryProbabilityStatistics·Captain: mikedeng1

Universality in Polytope Phase Transitions and Message Passing Algorithms 2: State Evolution, Empirical Averages of Polynomial AMP Iterates Converge to Gaussian ExpectationsResearch Paper

Motivation

Approximate message passing (AMP) is an iterative method for large systems with random matrices. At each step, every coordinate receives a weighted combination of nonlinear messages from all other coordinates, together with a correction for dependence created by earlier steps. For symmetric random matrices, the correction makes a simple description of the high-dimensional iterates possible: a finite collection of covariance matrices predicts their limiting distributions. Bayati, Lelarge and Montanari prove this state evolution statement for polynomial AMP on a broad class of independent sub-Gaussian matrix entries, rather than only Gaussian entries (paper, §§1.2–1.3). It gives a precise distributional account of an algorithm whose coordinates are coupled at every iteration.

The paper has three distinct headline results. Its Theorem 3 compares AMP moments under two matrix laws with equal entry variances, and its Theorem 2 concerns projected cross-polytopes. This mission targets Theorem 4, which identifies the limit of empirical averages of AMP iterates with a Gaussian expectation. The companion missions address the other results; the statements here use their own copy of the paper's AMP model because draft definitions cannot yet be imported across proposals (paper, pp. 5, 8–9).

Setting

For each size NNN, let A(N)A(N)A(N) be a random symmetric N×NN\times NN×N matrix with zero diagonal. Its entries above the diagonal are independent, centered, and sub-Gaussian at scale C/NC/NC/N. Each coordinate iii carries a polynomial map fi(⋅;t):Rq→Rqf^i(\cdot;t):\mathbb R^q\to\mathbb R^qfi(⋅;t):Rq→Rq at iteration ttt and an initial vector xi0x_i^0xi0​. Their coefficients have degree at most ddd and a uniform bound CCC. The AMP orbit is

xit+1=∑jAijfj(xjt;t)−∑jAij2Jfj(xjt;t)fi(xit−1;t−1).x_i^{t+1}=\sum_j A_{ij}f^j(x_j^t;t) -\sum_j A_{ij}^{2}Jf^j(x_j^t;t)f^i(x_i^{t-1};t-1).xit+1​=j∑​Aij​fj(xjt​;t)−j∑​Aij2​Jfj(xjt​;t)fi(xit−1​;t−1).

The second sum is the Onsager memory term; it is absent at t=0t=0t=0. Here JfjJf^jJfj is the Jacobian, so its product with the preceding qqq-vector is another qqq-vector. The initial vectors obey an exponential bound on their squared Euclidean norms. These assumptions form the paper's (C,d)(C,d)(C,d)-regularity condition (Definitions 2–4, pp. 6–7).

A converging sequence has a fixed finite set of classes a∈[k]a\in[k]a∈[k]. Coordinate iii belongs to CaNC_a^NCaN​ for one class aaa, whose proportion approaches ca∈(0,1)c_a\in(0,1)ca​∈(0,1). A symmetric nonnegative matrix WWW specifies entry variances: if i∈CaNi\in C_a^Ni∈CaN​ and j∈CbNj\in C_b^Nj∈CbN​, then EAij2=Wab/N\mathbb E A_{ij}^2=W_{ab}/NEAij2​=Wab​/N. Independent labels Y(i)Y(i)Y(i) have class-dependent laws PaP_aPa​, each a finite mixture of Gaussian laws that may be degenerate. The polynomial maps have the common form fi(x;t)=g(x,Y(i),a,t)f^i(x;t)=g(x,Y(i),a,t)fi(x;t)=g(x,Y(i),a,t) for i∈CaNi\in C_a^Ni∈CaN​ (Definition 5, pp. 8–9).

The empirical second moments of g(xi0,Y(i),a,0)g(x_i^0,Y(i),a,0)g(xi0​,Y(i),a,0) converge in probability to a prescribed positive semidefinite matrix Σ^a0\widehat\Sigma_a^0Σa0​. For t≥1t\ge1t≥1, state evolution defines

Σat=∑bcbWabΣ^bt−1,Σ^at=E[g(Zat,Ya,a,t)g(Zat,Ya,a,t)T],\Sigma_a^t=\sum_b c_bW_{ab}\widehat\Sigma_b^{t-1},\qquad \widehat\Sigma_a^t=\mathbb E\big[g(Z_a^t,Y_a,a,t)g(Z_a^t,Y_a,a,t)^{\mathsf T}\big],Σat​=b∑​cb​Wab​Σbt−1​,Σat​=E[g(Zat​,Ya​,a,t)g(Zat​,Ya​,a,t)T],

where Zat∼N(0,Σat)Z_a^t\sim\mathcal N(0,\Sigma_a^t)Zat​∼N(0,Σat​) is independent of Ya∼PaY_a\sim P_aYa​∼Pa​. The index t−1t-1t−1 in the first formula and ttt in the second are essential (equations (1.9)–(1.11), p. 9).

Formalization targets

Coordinate moments and concentration

For a nonnegative multi-index mmm and a coordinate sequence eventually in class aaa, Proposition 4 identifies the Gaussian limit of each moment. Proposition 5 says the variance of the class-average monomial tends to zero:

E[(xi(N)t)m]⟶E[(Zat)m],Var⁡ ⁣(1∣CaN∣∑i∈CaN(xit)m)⟶0.\mathbb E[(x_{i(N)}^t)^m]\longrightarrow\mathbb E[(Z_a^t)^m],\qquad \operatorname{Var}\!\left(\frac1{|C_a^N|}\sum_{i\in C_a^N}(x_i^t)^m\right)\longrightarrow0.E[(xi(N)t​)m]⟶E[(Zat​)m],Var​∣CaN​∣1​i∈CaN​∑​(xit​)m​⟶0.

The diagonal two-time identity (4.4) is another milestone: Σat,t\Sigma_a^{t,t}Σat,t​ has four blocks, each equal to Σat\Sigma_a^tΣat​. These are the paper's stated intermediate targets (pp. 15, 30, 32).

Main goal: Theorem 4

For t≥1t\ge1t≥1, class aaa, and every locally Lipschitz function ψ\psiψ with ∣ψ(x,y)∣≤K(1+∥x∥22+∥y∥22)K|\psi(x,y)|\le K(1+\|x\|_2^2+\|y\|_2^2)^K∣ψ(x,y)∣≤K(1+∥x∥22​+∥y∥22​)K for some KKK, prove convergence in probability:

1∣CaN∣∑j∈CaNψ(xjt,Y(j))⟶E[ψ(Zat,Ya)].\frac1{|C_a^N|}\sum_{j\in C_a^N}\psi(x_j^t,Y(j)) \longrightarrow \mathbb E[\psi(Z_a^t,Y_a)].∣CaN​∣1​j∈CaN​∑​ψ(xjt​,Y(j))⟶E[ψ(Zat​,Ya​)].

The target covers polynomial-growth test functions, including functions beyond monomials. The expectation on the right is under the product law of the Gaussian state and the independent class label (Theorem 4, p. 9).

Significance

The theorem assigns a computable asymptotic distribution to each class of AMP coordinates at every fixed positive iteration time. It can be used to evaluate empirical observables without tracking the full coupled NNN-dimensional random trajectory. The class weights and variance profile permit heterogeneous coordinates, while the sub-Gaussian assumption covers more matrix laws than a Gaussian-only statement (paper, Introduction and Theorem 4).

The paper proves this result. The mission's Lean statements are compilation-checked targets, with proofs still to be formalized. A completed development would establish the measure-theoretic meaning of the covariance recursion and its Gaussian expectations, as well as the moment and concentration claims needed for the empirical limit. The polynomial representation, random-matrix regularity predicate, and Gaussian transport are reusable for other AMP results from the same paper.

Difficulty

The matrix A(N)A(N)A(N) is reused at every AMP iteration, so a new coordinate is correlated with earlier coordinates and with the matrix entries that produced them. A direct independent-summand argument for its Gaussian limit is unavailable. The memory term is tuned to this dependence, and any formal proof must account for its exact Jacobian and squared-entry form. Passing from individual moments to empirical averages also requires control of correlations between different coordinates. The target allows locally Lipschitz functions with polynomial growth, so convergence for a fixed monomial alone does not finish the job (paper, §4.7).

Formalization scope

Vectors in Rq\mathbb R^qRq are functions Fin q → ℝ; squared Euclidean norms are explicit sums of coordinate squares. Polynomials use bounded real coefficient arrays as in (4.10), with an explicit Jacobian. Fin N uses zero-based indices. The orbit stores the current and preceding iterates and omits the memory term at t=0t=0t=0. A single probability space carries all sizes; matrix entries, labels, coefficients, and initial vectors have explicit measurability and independence conditions.

The paper's displayed sub-Gaussian formula conflicts with its stated C/NC/NC/N scale, so the model uses the scale required by its moment estimates and imposes the moment-generating bound for all real arguments. Its initial exponential bound is read almost surely at every size, which ensures the expectations used by the paper are well-defined. Label-dependent polynomial coefficients are measurable. The full label vector is independent of the matrix and initial vectors; this makes explicit the independence needed for Theorem 4's Gaussian-label product law. Independence of the induced polynomial coefficients alone would not imply it when ggg ignores part of a label. The initial covariance limit is entrywise convergence in probability; finite-dimensional equivalence makes this the same matrix convergence. Class averages divide by the class cardinality, even though that expression has Lean's default value at an empty class for a small NNN. Positive limiting class fractions make those finite exceptions irrelevant.

Gaussian laws live on Mathlib's Euclidean space and are transported to coordinate vectors. Theorems explicitly assert positive semidefiniteness or integrability where a non-PSD covariance, non-integrable expectation, or non-square-integrable variance could otherwise give a default value. The source's Y(i)Y(i)Y(i) in (1.12) is read as Y(j)Y(j)Y(j), its summation index, and its final covariance as Σat\Sigma_a^tΣat​. The Gaussian covariance is computed by the recursion above; it is not defined from the proposed limit. Contributions establishing moment bounds, covariance positivity, Gaussian integrability, the three milestones, or the full Theorem 4 are within scope.

Selected references

  • M. Bayati, M. Lelarge and A. Montanari, Universality in polytope phase transitions and message passing algorithms, Annals of Applied Probability 25(2), 2015, 753–822. arXiv:1207.7321v2; DOI:10.1214/14-AAP1010.
12 thms1 active userReviewed
Convex OptimizationDiscrete GeometryInformation Theory+1·Captain: mikedeng1

Universality in Polytope Phase Transitions and Message Passing Algorithms 3: Projected Cross-Polytopes Have Weak Neighborliness ρ∗(δ) for Sub-Gaussian Matrices with a Gaussian ComponentResearch Paper

Why this phase transition matters

Sparse recovery asks when a vector with few nonzero coordinates can be reconstructed from fewer linear measurements than unknowns. A related geometric question asks how many faces of a high-dimensional cross-polytope survive a random linear projection. The two questions meet at the same threshold: uniqueness of a minimum-one-norm solution corresponds to a face of the projected cross-polytope. For Gaussian measurement matrices this threshold was known before the work of Bayati, Lelarge and Montanari, from Donoho's face-counting analysis (Donoho 2006); the same curve was later identified as the transition of approximate message passing (Donoho, Maleki and Montanari 2009). Their 2015 paper establishes the same weak-neighborliness curve for a broader class of independent sub-Gaussian entries with a nonzero Gaussian component. The result addresses the universality question posed for these projections: does the asymptotic transition depend on the full entry distribution or only on broad features of the matrix law?

The mathematical theorem is established in that paper. This mission records its statement in Lean and leaves the machine-checked proof open. The relevant statement is Theorem 2 on page 5 of the pinned arXiv version 2, rather than a claim about every random projection without a Gaussian component.

Polytopes, faces, and random matrices

The cross-polytope CnC_nCn​ is the unit ball for the coordinate one-norm in Rn\mathbb R^nRn:

Cn={x∈Rn:∑i=1n∣xi∣≤1}.C_n=\left\{x\in\mathbb R^n:\sum_{i=1}^n|x_i|\leq1\right\}.Cn​={x∈Rn:i=1∑n​∣xi​∣≤1}.

For an m×nm\times nm×n matrix AAA, the projected polytope ACnAC_nACn​ consists of all AxAxAx with x∈Cnx\in C_nx∈Cn​. Write F(Q;ℓ)F(Q;\ell)F(Q;ℓ) for the number of nonempty faces of QQQ whose affine dimension is ⌊ℓ⌋\lfloor\ell\rfloor⌊ℓ⌋. The weak neighborliness level ρ∈(0,1)\rho\in(0,1)ρ∈(0,1) of a random sequence Qn⊆Rm(n)Q_n\subseteq\mathbb R^{m(n)}Qn​⊆Rm(n) means that, for every ξ>0\xi>0ξ>0, the ratio F(Qn;m(n)ρ(1−ξ))/F(Cn;m(n)ρ(1−ξ))F(Q_n;m(n)\rho(1-\xi))/F(C_n;m(n)\rho(1-\xi))F(Qn​;m(n)ρ(1−ξ))/F(Cn​;m(n)ρ(1−ξ)) converges in probability to one, while the analogous ratio with 1+ξ1+\xi1+ξ converges in probability to zero. Both limits belong to the definition; the first alone would record only survival below a candidate threshold.

The matrices have m(n)=⌊nδ⌋m(n)=\lfloor n\delta\rfloorm(n)=⌊nδ⌋ rows for a fixed sampling ratio δ∈(0,1)\delta\in(0,1)δ∈(0,1). Within each matrix, the entries are independent, centered, unit-variance, and sub-Gaussian with one scale factor independent of nnn. They also admit a decomposition A(n)=A~(n)+ν0G(n)A(n)=\widetilde A(n)+\nu_0G(n)A(n)=A(n)+ν0​G(n), where ν0>0\nu_0>0ν0​>0 and the entries of G(n)G(n)G(n) are independent standard normal variables, jointly independent of A~(n)\widetilde A(n)A(n). The theorem imposes no independence between matrices with different values of nnn Bayati–Lelarge–Montanari, Theorem 2.

Formalization targets

Let ϕ\phiϕ and Φ\PhiΦ be the density and distribution function of a standard normal random variable. The paper defines its phase boundary through a positive parameter α\alphaα:

fδ(α)=2ϕ(α)α+2(ϕ(α)−αΦ(−α)),fρ(α)=1−αΦ(−α)ϕ(α).f_\delta(\alpha)=\frac{2\phi(\alpha)}{\alpha+2\bigl(\phi(\alpha)-\alpha\Phi(-\alpha)\bigr)},\qquad f_\rho(\alpha)=1-\frac{\alpha\Phi(-\alpha)}{\phi(\alpha)}.fδ​(α)=α+2(ϕ(α)−αΦ(−α))2ϕ(α)​,fρ​(α)=1−ϕ(α)αΦ(−α)​.

Footnote 3 states that fδf_\deltafδ​ decreases from one to zero on the nonnegative half-line, so each δ∈(0,1)\delta\in(0,1)δ∈(0,1) has exactly one positive parameter. The goal, Theorem 2, says that whenever fδ(α)=δf_\delta(\alpha)=\deltafδ​(α)=δ, the sequence A(n)CnA(n)C_nA(n)Cn​ has weak neighborliness fρ(α)f_\rho(\alpha)fρ​(α) in probability. The Lean theorem spells out this parameter relation; it does not apply an inverse function at an argument outside a proved range.

The milestone list covers the two scalar results identifying the boundary, a deterministic condition for exact recovery, and the compressed-sensing transition. With ZZZ standard normal and u+=max⁡(u,0)u_+=\max(u,0)u+​=max(u,0), the scalar function is

Gε(α)=ε(1+α2)+2(1−ε)E[(Z−α)+2].G_\varepsilon(\alpha)=\varepsilon(1+\alpha^2)+2(1-\varepsilon)\mathbb E[(Z-\alpha)_+^2].Gε​(α)=ε(1+α2)+2(1−ε)E[(Z−α)+2​].

Lemma 8 gives its unique positive minimizer and its minimum value. Lemma 9 relates that minimum to both sides of the boundary. The scalar state evolution σt+12=F(σt2,ασt)\sigma_{t+1}^2=\mathsf F(\sigma_t^2,\alpha\sigma_t)σt+12​=F(σt2​,ασt​), with F(σ2,θ)=δ−1E{[η(X+σZ;θ)−X]2}\mathsf F(\sigma^2,\theta)=\delta^{-1}\mathbb E\{[\eta(X+\sigma Z;\theta)-X]^2\}F(σ2,θ)=δ−1E{[η(X+σZ;θ)−X]2} and η(u;θ)=sign⁡(u)(∣u∣−θ)+\eta(u;\theta)=\operatorname{sign}(u)(|u|-\theta)_+η(u;θ)=sign(u)(∣u∣−θ)+​ soft thresholding, has slope Gε(α)/δG_\varepsilon(\alpha)/\deltaGε​(α)/δ at the origin and is concave (Lemma 7). Lemma 10 shows that a two-time correlation map Fα,ε\mathcal F_{\alpha,\varepsilon}Fα,ε​ satisfies Fα,ε(Q)>Q\mathcal F_{\alpha,\varepsilon}(Q)>QFα,ε​(Q)>Q on [0,1)[0,1)[0,1). Theorem 10, cited from Bürgisser and Cucker, bounds the probability that a Gaussian-perturbed rectangular matrix has a small least singular value:

P{σN(B+νG)≤νz}≤(a1z)M−N+1.\mathbb P\{\sigma_N(B+\nu G)\le\nu z\}\le(a_1z)^{M-N+1}.P{σN​(B+νG)≤νz}≤(a1​z)M−N+1.

Lemma 5 gives a recovery condition based on an approximate dual certificate and singular-value bounds. Theorem 8 states that minimum-one-norm recovery succeeds with probability tending to one below the boundary and fails with probability tending to one above it Bayati–Lelarge–Montanari, pp. 39–41, 60–61.

What a formal proof would establish

The goal would certify that the same face-count transition applies to every entry law in the stated class, including laws that are not identically distributed across the matrix. The conclusion is geometric: it counts faces of an actual projected one-norm ball. The recovery milestone provides a second way to state the threshold for sparse signals. Together they make the normalization and the two sides of the transition explicit, so future variants can compare their assumptions and conclusions with a fixed formal statement.

No machine-checked proof of Theorem 2 or of the selected milestones is known. The declarations are open Lean statements over explicit definitions. A complete development would formalize the known argument in the paper, including the probabilistic estimates and the bridge from recovery probabilities to face counts. Sharper results that remove the Gaussian component would be separate theorems with their own hypotheses.

Where the difficulty lies

The count of surviving faces depends on many supports and sign patterns simultaneously. Matching means and variances of matrix entries does not make their finite-dimensional face counts equal. Likewise, controlling recovery for one fixed signal does not immediately control the fraction of all faces. Near the boundary, exact recovery also requires uniform singular-value information for many column submatrices. These are the points where elementary concentration for a single entry or a single support is insufficient. The source paper treats the geometric statement and the recovery transition under a Gaussian-component condition; a proof that silently assumes full Gaussianity would miss its universality claim.

Formalization scope

Vectors are functions on Fin n, and every one-norm is an explicit sum of absolute values. The squared Euclidean norm is a sum of coordinate squares; the default norm on Fin n → ℝ is not used for it. Face counts reuse the published Grunbaum2003.faceCount definition, with dimension ⌊ℓ⌋\lfloor\ell\rfloor⌊ℓ⌋ for nonnegative ℓ\ellℓ; negative dimensions have zero nonempty faces. The two limits in weak neighborliness use convergence in measure, which expresses convergence in probability here. The printed lower ratio has a zero denominator for ξ>1\xi>1ξ>1, so that limit is stated for 0<ξ≤10<\xi\leq10<ξ≤1. Ratios at small nnn may involve zero denominators, but the asymptotic assertion concerns arbitrarily large nnn.

Theorem 2 uses variance one and an N(0,1)N(0,1)N(0,1) Gaussian component. Theorem 8 instead uses variance 1/m(n)1/m(n)1/m(n) and an N(0,1/m(n))N(0,1/m(n))N(0,1/m(n)) component, exactly as printed. Sub-Gaussianity uses Mathlib's moment-generating-function predicate for all real parameters; this is the operative two-sided reading of the paper's stated scale condition. The scalar Gaussian expectation in GεG_\varepsilonGε​ is accompanied by an explicit integrability conclusion in Lemma 8, excluding Lean's zero value for a nonintegrable integral. The restricted least singular value is the infimum of output norms on unit column vectors. This gives zero when a wide submatrix has a kernel and is the bound needed by Lemma 5. The state-evolution map is written as a function of σ2\sigma^2σ2, and its derivative at 000 is a right derivative. In Lemma 10 the law of X∞X_\inftyX∞​ is the three-atom mixture on {0,+∞,−∞}\{0,+\infty,-\infty\}{0,+∞,−∞}, with the split of the mass ε\varepsilonε between the two infinite atoms left free. The page's clause Fα,ε′(1)<1\mathcal F'_{\alpha,\varepsilon}(1)<1Fα,ε′​(1)<1 is stated for α>α∗(ε)\alpha>\alpha_*(\varepsilon)α>α∗​(ε), since the derivative equals 111 at α=α∗\alpha=\alpha_*α=α∗​. Theorem 10 quantifies ν>0\nu>0ν>0 and z>0z>0z>0, which the page leaves implicit.

The random-matrix predicates require measurability, independence within each nnn, the stated marginal laws, and independence of G(n)G(n)G(n) from A~(n)\widetilde A(n)A(n). They leave the matrix law otherwise arbitrary. The weak-neighborliness predicate contains both face-ratio limits and 0<ρ<10<\rho<10<ρ<1; neither the goal nor a milestone defines the threshold by assuming its conclusion. A full proof needs reusable facts about Gaussian integrals, independence of finite arrays, random face counts, restricted singular values, and the relation between projected faces and unique one-norm recovery. Contributions establishing those facts or closing any of the listed theorem statements are within scope.

Selected references

  • Mohsen Bayati, Marc Lelarge and Andrea Montanari, Universality in polytope phase transitions and message passing algorithms, Annals of Applied Probability 25(2), 2015. arXiv:1207.7321v2
  • David L. Donoho, High-dimensional centrally symmetric polytopes with neighborliness proportional to dimension, Discrete & Computational Geometry 35, 617–652, 2006. MR2225676
  • David L. Donoho, Arian Maleki and Andrea Montanari, Message-passing algorithms for compressed sensing, Proceedings of the National Academy of Sciences 106, 18914–18919, 2009. doi:10.1073/pnas.0909892106
  • Peter Bürgisser and Felipe Cucker, Smoothed analysis of Moore–Penrose inversion, SIAM Journal on Matrix Analysis and Applications 31, 2769–2783, 2010. MR2740632
16 thms1 active userReviewed
Linear algebraProbability·Captain: mikedeng1

User-Friendly Tail Bounds for Sums of Random Matrices III: The Matrix Chernoff Inequality for Sums of Independent Positive-Semidefinite Random MatricesResearch Paper

Motivation

The classical Chernoff bound controls the probability that a sum of independent, nonnegative, uniformly bounded random variables deviates from its mean, with exponentially small tails governed by the Kullback–Leibler divergence between two Bernoulli laws. Many problems in numerical linear algebra, graph sparsification, compressed sensing and randomized algorithms instead require control of a sum of independent random matrices: the smallest singular value of a random matrix with independent columns, the spectrum of a sampled Laplacian, or the conditioning of a random submatrix. For these, what matters is not a scalar sum but the extreme eigenvalues of a random positive-semidefinite matrix.

Ahlswede and Winter (2002) introduced a matrix version of the Laplace transform method and proved a matrix Chernoff bound for identically distributed summands. Tropp's paper (arXiv:1004.4389, Found. Comput. Math. 2012) replaced the Golden–Thompson step of their argument with Lieb's concavity theorem, obtaining a master tail bound for independent sums, and derived from it matrix Chernoff, Bernstein and Azuma inequalities that require no identical distribution and lose only a dimensional factor. This mission formalizes the matrix Chernoff inequalities of §5 of that paper.

Timeline:

  • 2002, Ahlswede–Winter: matrix Laplace transform method; matrix Chernoff bound for i.i.d. summands via Golden–Thompson.
  • 2010, Oliveira: a variant of the Laplace transform method used in Proposition 3.1 of the paper.
  • 2010–2012, Tropp: master tail bound via Lieb's theorem (Theorem 3.6), and Theorem 5.1 / Corollary 5.2 for independent, non-identical psd summands.

Setting

All matrices are d×dd\times dd×d complex matrices with d≥1d\ge1d≥1. For a self-adjoint (Hermitian) matrix AAA, λmax⁡(A)\lambda_{\max}(A)λmax​(A) and λmin⁡(A)\lambda_{\min}(A)λmin​(A) are its algebraically largest and smallest eigenvalues. The semidefinite order A≼BA\preccurlyeq BA≼B means that B−AB-AB−A is positive semidefinite (psd). Functions of a self-adjoint matrix are defined spectrally: if A=QΛQ∗A = Q\Lambda Q^*A=QΛQ∗ then f(A)=Qf(Λ)Q∗f(A) = Qf(\Lambda)Q^*f(A)=Qf(Λ)Q∗; this gives the matrix exponential eAe^AeA and, on positive-definite matrices, the matrix logarithm log⁡A\log AlogA.

A random matrix is a measurable map X:Ω→Cd×dX:\Omega\to\mathbb C^{d\times d}X:Ω→Cd×d on a probability space (Ω,F,P)(\Omega,\mathcal F,\mathbb P)(Ω,F,P), and its expectation EX\mathbb E XEX is taken entrywise. The matrix moment generating function of XXX is θ↦E eθX\theta\mapsto\mathbb E\,e^{\theta X}θ↦EeθX.

The objects of the mission are independent random Hermitian matrices X1,…,XnX_1,\dots,X_nX1​,…,Xn​ that are almost surely psd contractions: Xk≽0X_k\succcurlyeq0Xk​≽0 and λmax⁡(Xk)≤1\lambda_{\max}(X_k)\le1λmax​(Xk​)≤1. Their average expectation has extreme eigenvalues

μˉmin⁡=λmin⁡(1n∑k=1nEXk),μˉmax⁡=λmax⁡(1n∑k=1nEXk),\bar\mu_{\min} = \lambda_{\min}\Big(\frac1n\sum_{k=1}^n\mathbb E X_k\Big),\qquad \bar\mu_{\max}=\lambda_{\max}\Big(\frac1n\sum_{k=1}^n\mathbb E X_k\Big),μˉ​min​=λmin​(n1​k=1∑n​EXk​),μˉ​max​=λmax​(n1​k=1∑n​EXk​),

and the binary information divergence is

D(a ∥ u)=a(log⁡a−log⁡u)+(1−a)(log⁡(1−a)−log⁡(1−u)),a,u∈[0,1].\mathrm D(a\,\|\,u) = a(\log a-\log u)+(1-a)(\log(1-a)-\log(1-u)),\qquad a,u\in[0,1].D(a∥u)=a(loga−logu)+(1−a)(log(1−a)−log(1−u)),a,u∈[0,1].

In Lean these are lambdaMax, lambdaMin, mexp, mlog, mean and binDiv in the namespace MatrixTail.Chernoff.

Formalization targets

Goal: Theorem 5.1 (Matrix Chernoff I)

P{λmin⁡(1n∑kXk)≤α}≤d e−n D(α∥μˉmin⁡)(0≤α≤μˉmin⁡),\mathbb P\Big\{\lambda_{\min}\Big(\tfrac1n\textstyle\sum_k X_k\Big)\le\alpha\Big\}\le d\,e^{-n\,\mathrm D(\alpha\|\bar\mu_{\min})}\quad(0\le\alpha\le\bar\mu_{\min}),P{λmin​(n1​∑k​Xk​)≤α}≤de−nD(α∥μˉ​min​)(0≤α≤μˉ​min​), P{λmax⁡(1n∑kXk)≥α}≤d e−n D(α∥μˉmax⁡)(μˉmax⁡≤α≤1).\mathbb P\Big\{\lambda_{\max}\Big(\tfrac1n\textstyle\sum_k X_k\Big)\ge\alpha\Big\}\le d\,e^{-n\,\mathrm D(\alpha\|\bar\mu_{\max})}\quad(\bar\mu_{\max}\le\alpha\le1).P{λmax​(n1​∑k​Xk​)≥α}≤de−nD(α∥μˉ​max​)(μˉ​max​≤α≤1).

Milestones

  1. Theorem 3.6 (master tail bound): for every θ>0\theta>0θ>0 at which the mgfs exist, P{λmax⁡(∑kXk)≥t}≤e−θttr⁡exp⁡(∑klog⁡E eθXk)\mathbb P\{\lambda_{\max}(\sum_kX_k)\ge t\}\le e^{-\theta t}\operatorname{tr}\exp(\sum_k\log\mathbb E\,e^{\theta X_k})P{λmax​(∑k​Xk​)≥t}≤e−θttrexp(∑k​logEeθXk​).
  2. Corollary 3.9: the same with the mgfs under one logarithm, d⋅exp⁡(−θt+nlog⁡λmax⁡(1n∑kE eθXk))d\cdot\exp(-\theta t+n\log\lambda_{\max}(\frac1n\sum_k\mathbb E\,e^{\theta X_k}))d⋅exp(−θt+nlogλmax​(n1​∑k​EeθXk​)).
  3. Lemma 5.8 (Chernoff mgf): E eθX≼I+(eθ−1)EX\mathbb E\,e^{\theta X}\preccurlyeq\mathbf I+(e^\theta-1)\mathbb E XEeθX≼I+(eθ−1)EX for a random psd contraction XXX.
  4. Display (5.1): P{λmax⁡(∑kXk)≥t}≤dexp⁡(−θt+nlog⁡(1+(eθ−1)μˉmax⁡))\mathbb P\{\lambda_{\max}(\sum_kX_k)\ge t\}\le d\exp(-\theta t+n\log(1+(e^\theta-1)\bar\mu_{\max}))P{λmax​(∑k​Xk​)≥t}≤dexp(−θt+nlog(1+(eθ−1)μˉ​max​)).
  5. Display (5.2): P{λmin⁡(∑kXk)≤t}≤dexp⁡(θt+nlog⁡(1−(1−e−θ)μˉmin⁡))\mathbb P\{\lambda_{\min}(\sum_kX_k)\le t\}\le d\exp(\theta t+n\log(1-(1-e^{-\theta})\bar\mu_{\min}))P{λmin​(∑k​Xk​)≤t}≤dexp(θt+nlog(1−(1−e−θ)μˉ​min​)).

Further statement

Corollary 5.2 (Matrix Chernoff II), the form usually quoted: with λmax⁡(Xk)≤R\lambda_{\max}(X_k)\le Rλmax​(Xk​)≤R, μmin⁡,μmax⁡\mu_{\min},\mu_{\max}μmin​,μmax​ the extreme eigenvalues of ∑kEXk\sum_k\mathbb E X_k∑k​EXk​,

P{λmin⁡(∑kXk)≤(1−δ)μmin⁡}≤d[e−δ(1−δ)1−δ]μmin⁡/R,P{λmax⁡(∑kXk)≥(1+δ)μmax⁡}≤d[eδ(1+δ)1+δ]μmax⁡/R.\mathbb P\{\lambda_{\min}(\textstyle\sum_kX_k)\le(1-\delta)\mu_{\min}\}\le d\Big[\tfrac{e^{-\delta}}{(1-\delta)^{1-\delta}}\Big]^{\mu_{\min}/R},\quad \mathbb P\{\lambda_{\max}(\textstyle\sum_kX_k)\ge(1+\delta)\mu_{\max}\}\le d\Big[\tfrac{e^{\delta}}{(1+\delta)^{1+\delta}}\Big]^{\mu_{\max}/R}.P{λmin​(∑k​Xk​)≤(1−δ)μmin​}≤d[(1−δ)1−δe−δ​]μmin​/R,P{λmax​(∑k​Xk​)≥(1+δ)μmax​}≤d[(1+δ)1+δeδ​]μmax​/R.

Significance

Theorem 5.1 matches the strongest scalar Chernoff bound for independent, non-identical Bernoulli trials, up to the factor ddd, which cannot be removed (coupon collector, Remark 5.6). Corollary 5.2 is the version used in applications: lower bounds on the smallest singular value of matrices with independent columns (Remark 5.4), spectral sparsification, column subset selection and random sampling of matrices. Remark 5.5 derives from it the expectation bound Eλmax⁡(∑kXk)≤Cmax⁡{μmax⁡,Rlog⁡d}\mathbb E\lambda_{\max}(\sum_kX_k)\le C\max\{\mu_{\max},R\log d\}Eλmax​(∑k​Xk​)≤Cmax{μmax​,Rlogd}.

The results are proved in the paper, from Lieb's concavity theorem. As far as is known, no machine-checked proof of a matrix Chernoff inequality exists in Lean or Mathlib. A formalization yields a reusable statement for the random-matrix and randomized-numerical-linear-algebra literature, and the milestones (the master bound, the single-logarithm corollary and the semidefinite mgf bound) are reusable beyond this mission.

Difficulty

The scalar Chernoff argument uses E eθ(X+Y)=E eθX E eθY\mathbb E\,e^{\theta(X+Y)}=\mathbb E\,e^{\theta X}\,\mathbb E\,e^{\theta Y}Eeθ(X+Y)=EeθXEeθY for independent X,YX,YX,Y. For matrices eA+B≠eAeBe^{A+B}\neq e^Ae^BeA+B=eAeB unless AAA and BBB commute, so the trace of the mgf of a sum does not factor. The Golden–Thompson inequality handles two summands but does not extend to three, which is why the Ahlswede–Winter bound needed identical distributions. The master bound (Theorem 3.6) requires Lieb's concavity theorem, which has no counterpart in Mathlib. Corollary 3.9 in addition needs operator concavity of the matrix logarithm, and Lemma 5.8 needs the transfer of a scalar inequality to the semidefinite order through the spectral calculus.

Formalization scope

Matrices are Matrix (Fin d) (Fin d) ℂ with [NeZero d]; the semidefinite order is Mathlib's MatrixOrder (A ≤ B ↔ (B − A).PosSemidef). exp and log of a matrix are the continuous functional calculus cfc. λmax⁡\lambda_{\max}λmax​, λmin⁡\lambda_{\min}λmin​ are sSup/sInf of the real spectrum. Expectation is entrywise. Random matrices are measurable with respect to the Borel σ-algebra on matrices, independence is iIndepFun, and the probability measure is a probability measure. The summands are Hermitian for every outcome; "psd" and "λmax⁡≤1\lambda_{\max}\le1λmax​≤1" hold almost surely. The sequence has n≥1n\ge1n≥1 terms wherever an average 1/n1/n1/n appears. An infimum over θ>0\theta>0θ>0 is stated as a bound for every admissible θ>0\theta>0θ>0; integrability of eθXke^{\theta X_k}eθXk​ is a hypothesis only in Theorem 3.6 and Corollary 3.9, where the summands are unbounded. In Lean log⁡0=0\log 0=0log0=0, so at the boundary values μˉ∈{0,1}\bar\mu\in\{0,1\}μˉ​∈{0,1} the divergence is finite where the paper's is +∞+\infty+∞; this only weakens the stated bound.

A formalization in which d=0d=0d=0 (empty spectrum, λmax⁡=0\lambda_{\max}=0λmax​=0) or n=0n=0n=0 (the average 1/0=01/0=01/0=0) were allowed, or in which the range of α\alphaα were dropped, would state a different, partly false theorem; these cases are excluded.

A complete development needs Lieb's theorem or another route to the master bound, operator concavity of the logarithm, the spectral mapping theorem and the transfer rule for the functional calculus on Hermitian matrices, monotonicity of the trace exponential, and the scalar optimization in θ\thetaθ. Contributions of any of these as stand-alone lemmas are welcome.

Selected references

  • J. A. Tropp, User-Friendly Tail Bounds for Sums of Random Matrices, arXiv:1004.4389v7 (2011); Found. Comput. Math. 12 (2012) 389–434. https://arxiv.org/abs/1004.4389, https://doi.org/10.1007/s10208-011-9099-z
  • R. Ahlswede, A. Winter, Strong converse for identification via quantum channels, IEEE Trans. Inform. Theory 48 (2002) 569–579. https://doi.org/10.1109/18.985947
  • E. H. Lieb, Convex trace functions and the Wigner–Yanase–Dyson conjecture, Adv. Math. 11 (1973) 267–288. https://doi.org/10.1016/0001-8708(73)90011-X
  • R. I. Oliveira, Sums of random Hermitian matrices and an inequality by Rudelson, Electron. Commun. Probab. 15 (2010) 203–212. https://arxiv.org/abs/1004.3821
8 thms1 active userReviewed
🏆Completed
Linear algebraProbability·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 8: Lieb’s ConcavityTextbook

Prove Lieb’s concavity theorem (Theorem 8.1.1, also stated as Theorem 3.4.1): for fixed Hermitian H, the function A ↦ tr exp(H + log A) is concave on positive-definite matrices. This is the deterministic foundation of Chapter 3’s probabilistic argument.

Milestones follow the book’s route through generalized Klein, relative-entropy nonnegativity, variational trace formulas, operator Jensen, matrix perspectives, and joint convexity of relative entropy. Logarithm and trace-exponential monotonicity are included as reusable comparisons. The domain allows noncommuting positive-definite matrices without trace normalization.

Source: Tropp, January 2015 version, Chapter 8. Lean statements compile; proofs remain open.

Shared definitions: Chapter 3; submit that draft first.

Series: Ch. 3 | Ch. 4 | Ch. 5 | Ch. 6 | Ch. 7 | Ch. 8.

12 thms1 active userReviewed
🏆Completed
Linear algebraProbability·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 4: Gaussian and Rademacher SeriesTextbook

Control the spectral norm of a matrix series with independent standard Gaussian or Rademacher coefficients. The goal is Theorem 4.1.1, including its variance identity, expected-norm estimate, and tail bound for rectangular complex matrices.

Milestones are the Gaussian and Rademacher matrix mgf/cgf estimates (Lemmas 4.6.2–3) and the Hermitian series bound (Theorem 4.6.1). The formulation keeps the source’s constants, both coefficient laws, and the zero-variance case. The shared Chapter 3 tools connect these transform estimates to concentration.

Source: Tropp, January 2015 version, Chapter 4. Lean statements compile; proofs remain open.

Shared definitions: Chapter 3; submit that draft first.

Series: Ch. 3 | Ch. 4 | Ch. 5 | Ch. 6 | Ch. 7 | Ch. 8.

10 thms1 active userReviewed
🏆Completed
Linear algebraProbability·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 7: Intrinsic DimensionTextbook

Replace ambient matrix dimension by intrinsic dimension, the ratio of trace to spectral norm. The goal is intrinsic Matrix Bernstein (Theorem 7.3.1). Intrinsic Matrix Chernoff (Theorem 7.2.1) is a second major target within the mission.

Supporting milestones include the generalized Laplace bound, intrinsic-dimension trace estimate, block-diagonal identities, Hermitian Bernstein, and the expected-norm corollary. The statements retain the source’s constants, threshold restrictions, and matrix-valued mean or variance bounds. Nonzero proxies keep intrinsic dimension well-defined; the expectation constant is universal.

Source: Tropp, January 2015 version, Chapter 7. Lean statements compile; proofs remain open.

Shared definitions: Chapter 3; submit that draft first.

Series: Ch. 3 | Ch. 4 | Ch. 5 | Ch. 6 | Ch. 7 | Ch. 8.

17 thms1 active userReviewed
🏆Completed
Linear algebraProbability·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 6: Matrix BernsteinTextbook

Control the spectral norm of a sum of independent, centered, bounded rectangular random matrices. The goal is Matrix Bernstein (Theorem 6.1.1), including the variance identity and both expected-norm and tail estimates.

Milestones cover Hermitian dilation, variance additivity, the bounded-summand mgf/cgf estimate (Lemma 6.6.2), and Hermitian Bernstein (Theorem 6.6.1). Chapter 3 supplies the general Laplace-transform machinery. The formulation uses the Euclidean operator norm, preserves the one-sided eigenvalue assumption in the Hermitian result, and includes deterministic zero sums.

Source: Tropp, January 2015 version, Chapter 6. Lean statements compile; proofs remain open.

Shared definitions: Chapter 3; submit that draft first.

Series: Ch. 3 | Ch. 4 | Ch. 5 | Ch. 6 | Ch. 7 | Ch. 8.

14 thms1 active userReviewed
PreviousPage 2 of 3Next

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