Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Linear algebra

222 missions · 133 completed

Missions

Open89Completed133All222
ProbabilityRandom Matrix Theory·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
ProbabilityRandom Matrix Theory·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
ProbabilityRandom Matrix Theory·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
ProbabilityRandom Matrix Theory·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
ProbabilityRandom Matrix Theory·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
🏆Completed
ProbabilityRandom Matrix Theory·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 5: Matrix ChernoffTextbook

Bound the extreme eigenvalues of a sum of independent positive-semidefinite random matrices. The goal is the complete Matrix Chernoff theorem (Theorem 5.1.1): both expectation estimates, both tails, and the identities for the mean’s extreme eigenvalues.

The supporting milestone is the matrix mgf/cgf estimate (Lemma 5.4.1); Chapter 3 supplies the master bounds. The Lean statement retains the different lower- and upper-tail deviation ranges, permits zero mean eigenvalues, and handles a zero summand bound explicitly.

Source: Tropp, January 2015 version, Chapter 5. 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.

8 thms1 active userReviewed
🏆Completed
ProbabilityRandom Matrix Theory·Captain: tc

An Introduction to Matrix Concentration Inequalities Ch 3: Matrix Laplace TransformTextbook

Develop the reusable matrix Laplace-transform method behind Tropp’s concentration inequalities. The goal is Theorem 3.6.1: upper and lower tail and expectation bounds for sums of independent Hermitian random matrices, expressed through their matrix cumulant-generating functions.

Milestones cover the eigenvalue tail and expectation bounds (Propositions 3.2.1–2), probabilistic Lieb inequality (Corollary 3.4.2), and trace-cgf subadditivity (Lemma 3.5.1). This mission also supplies the series’ shared spectral, probability, and dilation definitions. Lieb’s underlying concavity theorem is the Chapter 8 goal.

The Lean statements give bounds for each admissible transform parameter, with explicit integrability hypotheses; optimization recovers the source’s infimum/supremum forms.

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

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

8 thms1 active userReviewed
Graph TheoryTheoretical Computer Science·Captain: mikedeng1

Spectral Sparsification of Graphs 3: Sparsifying the Contraction and Pulling It Back Approximates a Graph with Heavy Intra-Part Edges to Within (1+ε)(1+1/c)²Research Paper

Motivation

A spectral sparsifier of a weighted graph GGG is a graph G~\widetilde GG on the same vertices, with few edges, whose Laplacian quadratic form is within a factor σ\sigmaσ of that of GGG on every vector. Spielman and Teng introduced the notion in their work on nearly-linear-time solvers for symmetric diagonally dominant linear systems (Spielman–Teng 2004; arXiv:0808.4134): a sparsifier can replace a dense graph as a preconditioner, and it preserves every cut value up to the same factor, strengthening the cut sparsifiers of Benczúr and Karger (BK96).

Their construction first handles graphs whose edge weights lie in a bounded range. Arbitrary weights need an extra idea, which §10.2 of Spectral Sparsification of Graphs formalizes as Lemma 10.2 (Pullback): when a graph's vertex classes are held together by edges far heavier than those between them, one may contract each class to a single vertex, sparsify the much smaller contracted graph, and pull the result back to the original vertices. The approximation factor degrades only by (1+1/c)2(1+1/c)^2(1+1/c)2, where ccc measures the gap between heavy and light weights. The same contraction idea goes back to Benczúr and Karger's treatment of weighted cut sparsifiers.

Setting

A weighted graph G=(V,E,w)G=(V,E,w)G=(V,E,w) on a finite set VVV, n=∣V∣n=|V|n=∣V∣, is a symmetric function w:V×V→R≥0w:V\times V\to\mathbb R_{\ge 0}w:V×V→R≥0​ with w(v,v)=0w(v,v)=0w(v,v)=0; its edges are the pairs with w(u,v)≠0w(u,v)\ne 0w(u,v)=0. Its Laplacian quadratic form is

xTLGx=∑(u,v)∈Ew(u,v) (x(u)−x(v))2,x∈RV.x^TL_Gx=\sum_{(u,v)\in E}w(u,v)\,(x(u)-x(v))^2,\qquad x\in\mathbb R^V .xTLG​x=(u,v)∈E∑​w(u,v)(x(u)−x(v))2,x∈RV.

A graph G~\widetilde GG is a σ\sigmaσ-approximation of GGG if 1σxTLG~x≤xTLGx≤σ xTLG~x\frac1\sigma x^TL_{\widetilde G}x\le x^TL_Gx\le\sigma\, x^TL_{\widetilde G}xσ1​xTLG​x≤xTLG​x≤σxTLG​x for all xxx. We write G≼G′G\preccurlyeq G'G≼G′ when xTLGx≤xTLG′xx^TL_Gx\le x^TL_{G'}xxTLG​x≤xTLG′​x for all xxx, G+G′G+G'G+G′ for the graph whose weights are the sums, and (u,v)(u,v)(u,v) for the single edge {u,v}\{u,v\}{u,v} of weight 111.

Let V1,…,VkV_1,\dots,V_kV1​,…,Vk​ be a partition of VVV with map π:V→{1,…,k}\pi:V\to\{1,\dots,k\}π:V→{1,…,k}. Write E0=∂(V1,…,Vk)E_0=\partial(V_1,\dots,V_k)E0​=∂(V1​,…,Vk​) for the edges between different parts, E1=E−E0E_1=E-E_0E1​=E−E0​, and G0=(V,E0,w)G_0=(V,E_0,w)G0​=(V,E0​,w), G1=(V,E1,w)G_1=(V,E_1,w)G1​=(V,E1​,w). The contraction of GGG under π\piπ is the graph HHH on {1,…,k}\{1,\dots,k\}{1,…,k} with weight z(i,j)=∑π(u)=i, π(v)=jw(u,v)z(i,j)=\sum_{\pi(u)=i,\,\pi(v)=j}w(u,v)z(i,j)=∑π(u)=i,π(v)=j​w(u,v) for i≠ji\ne ji=j and no self-loops. Given a graph H~\widetilde HH on {1,…,k}\{1,\dots,k\}{1,…,k}, a graph G~\widetilde GG on VVV is a pullback of H~\widetilde HH under π\piπ if every edge of G~\widetilde GG joins different parts, H~\widetilde HH is the contraction of G~\widetilde GG, and for every edge (i,j)(i,j)(i,j) of H~\widetilde HH exactly one edge (u,v)(u,v)(u,v) of G~\widetilde GG has π(u)=i\pi(u)=iπ(u)=i, π(v)=j\pi(v)=jπ(v)=j. A pullback thus has as many edges as H~\widetilde HH.

Formalization targets

Goal: Lemma 10.2 (Pullback), pp. 36–37

Let 0≤ϵ<1/20\le\epsilon<1/20≤ϵ<1/2, c≥3c\ge3c≥3, let H~\widetilde HH be a (1+ϵ)(1+\epsilon)(1+ϵ)-approximation of the contraction of G0G_0G0​ under π\piπ, and let G~0\widetilde G_0G0​ be a pullback of H~\widetilde HH. Assume (1) each ViV_iVi​ is connected by edges in E1E_1E1​, (2) every edge in E1E_1E1​ has weight at least c2n3c^2n^3c2n3, (3) every edge in E0E_0E0​ has weight 111. Then

G~0+G1  is an  α-approximation of G,α=(1+ϵ)(1+1c)2.\widetilde G_0+G_1\ \text{ is an }\ \alpha\text{-approximation of } G,\qquad \alpha=(1+\epsilon)\Big(1+\frac1c\Big)^2 .G0​+G1​  is an  α-approximation of G,α=(1+ϵ)(1+c1​)2.

Milestones (proof of Lemma 10.2, pp. 37–38)

Choose representatives vi∈Viv_i\in V_ivi​∈Vi​; let FFF, F~\widetilde FF be the copies of HHH, H~\widetilde HH on {v1,…,vk}\{v_1,\dots,v_k\}{v1​,…,vk​}, and I=F+G1I=F+G_1I=F+G1​, I~=F~+G1\widetilde I=\widetilde F+G_1I=F+G1​.

  • Lemma 10.3 (path inequality): for a path from uuu to vvv with edge weights w1,…,wk>0w_1,\dots,w_k>0w1​,…,wk​>0, (u,v)≼(1/w1+⋯+1/wk)F(u,v)\preccurlyeq(1/w_1+\dots+1/w_k)F(u,v)≼(1/w1​+⋯+1/wk​)F.
  • (20), (21): for a,ba,ba,b in different parts and fff the unit edge between vπ(a),vπ(b)v_{\pi(a)},v_{\pi(b)}vπ(a)​,vπ(b)​,
(a,b)≼(1+1c)(f+1cn2G1),f≼(1+1c)((a,b)+1cn2G1).(a,b)\preccurlyeq\Big(1+\frac1c\Big)\Big(f+\frac{1}{cn^2}G_1\Big),\qquad f\preccurlyeq\Big(1+\frac1c\Big)\Big((a,b)+\frac{1}{cn^2}G_1\Big).(a,b)≼(1+c1​)(f+cn21​G1​),f≼(1+c1​)((a,b)+cn21​G1​).
  • Summed bound: G0≼(1+1/c) [F+12cG1]G_0\preccurlyeq(1+1/c)\,[F+\tfrac1{2c}G_1]G0​≼(1+1/c)[F+2c1​G1​].
  • Claim (a): III is a (1+1/c)(1+1/c)(1+1/c)-approximation of GGG.
  • Claim (b): I~\widetilde II is a (1+ϵ)(1+\epsilon)(1+ϵ)-approximation of III.
  • Claim (c): I~\widetilde II is a (1+1/c)(1+1/c)(1+1/c)-approximation of G~0+G1\widetilde G_0+G_1G0​+G1​.

The constants are the paper's; the goal is the lemma as printed.

Significance

Lemma 10.2 is the reduction from arbitrary weights to bounded weights in Spielman and Teng's sparsification algorithm (Sparsify, §10.2): the edges of each weight scale are sparsified on a graph in which all much heavier edges have been contracted, so the number of vertices handled at each scale stays small, and the total size of the sparsifier is only a logarithmic factor larger than in the bounded-weight case. The statement itself is purely about quadratic forms and holds for any approximation H~\widetilde HH of the contraction, however it was obtained; it applies equally to later sparsification methods such as sampling by effective resistances.

The lemma is proved in the paper. As far as is known, none of these statements has a machine-checked proof: Mathlib has the Laplacian of a simple graph (SimpleGraph.lapMatrix) but no weighted Laplacian order, no contraction of weighted graphs and no notion of spectral approximation. The mission produces those objects and a complete formal proof of the lemma and its intermediate claims.

Difficulty

The individual steps are elementary, but the proof combines three kinds of bookkeeping. Lemma 10.3 is a Cauchy–Schwarz inequality along a path, which must be applied to a path assembled from two walks inside parts and one edge between representatives; obtaining a simple path of length at most nnn from the connectivity hypothesis requires shortening walks. The summed bounds require recognising that the copies of the unit edges between representatives add up exactly to FFF, which uses hypothesis 3 and the fact that contraction counts each edge between two parts once. Claim (c) needs, in addition, that the total weight of F~\widetilde FF is at most (1+ϵ)(1+\epsilon)(1+ϵ) times that of FFF and that each pullback edge has the weight of its image edge. The constants are tight in one place: (1+1/c)(1+ϵ)≤2(1+1/c)(1+\epsilon)\le 2(1+1/c)(1+ϵ)≤2 requires both c≥3c\ge3c≥3 and ϵ≤1/2\epsilon\le 1/2ϵ≤1/2.

A natural shortcut, comparing G~0\widetilde G_0G0​ with G0G_0G0​ directly, fails: G~0\widetilde G_0G0​ and G0G_0G0​ have different edges, and their Laplacians are only comparable through the heavy intra-part edges.

Formalization scope

A weighted graph is a function w : V → V → ℝ on a Fintype V with IsWGraph w (symmetric, nonnegative, zero diagonal); sums and scalar multiples are pointwise. lapForm w x is 12∑u,vw(u,v)(x(u)−x(v))2\frac12\sum_{u,v}w(u,v)(x(u)-x(v))^221​∑u,v​w(u,v)(x(u)−x(v))2, IsApprox σ w̃ w keeps both inequalities of the definition, and GraphLE is ≼\preccurlyeq≼. The partition is a surjective map π : V → Fin k (nonempty parts). G0G_0G0​, G1G_1G1​ are crossPart w π, intraPart w π; hypothesis 1 is reachability, between any two vertices of the same part, in the simple graph of E1E_1E1​-edges. Representatives are any r : Fin k → V with π (r i) = i, and liftAlong r z places a graph on Fin k on them; the goal does not mention representatives. nnn is Fintype.card V.

Two hypotheses implicit in the paper are explicit: ϵ≥0\epsilon\ge0ϵ≥0 (with ϵ<0\epsilon<0ϵ<0 the lemma is false), and that every edge of a pullback joins two different parts (contraction cannot see an edge inside a part, so without this a pullback could carry an arbitrary heavy edge and the lemma would be false). In Lemma 10.3 the edge weights are positive and the path has at least one edge.

A trivializing formalization is ruled out: dropping hypothesis 2 or 3, allowing ϵ<0\epsilon<0ϵ<0 or intra-part pullback edges, or letting the pullback forget the uniqueness of the edge over each (i,j)(i,j)(i,j) makes the statement false or weaker, and stating only one of the two inequalities of σ\sigmaσ-approximation is a different theorem. Every statement here keeps both.

The algorithm Sparsify and its analysis (Lemma 10.4, Theorem 10.5, Proposition 10.6, Theorem 10.7, Lemmas 10.8–10.9) and all running-time claims are out of scope. The weighted Laplacian form, its additivity and nonnegativity, and the transport of a quadratic form along an injective vertex map are reusable beyond this mission; contributions of such general lemmas, and a proof of Lemma 10.3 by Cauchy–Schwarz, are welcome.

Selected references

  • D. A. Spielman, S.-H. Teng, Spectral Sparsification of Graphs, arXiv:0808.4134v3, 2010; SIAM J. Comput. 40(4), 2011. https://arxiv.org/abs/0808.4134
  • D. A. Spielman, S.-H. Teng, Nearly-Linear Time Algorithms for Graph Partitioning, Graph Sparsification, and Solving Linear Systems, STOC 2004. https://arxiv.org/abs/cs/0310051
  • A. A. Benczúr, D. R. Karger, Approximating s-t Minimum Cuts in Õ(n²) Time, STOC 1996; Randomized Approximation Schemes for Cuts and Flows in Capacitated Graphs, arXiv:cs/0207078. https://arxiv.org/abs/cs/0207078
  • P. Diaconis, D. Stroock, Geometric Bounds for Eigenvalues of Markov Chains, Ann. Appl. Probab. 1(1), 1991. https://doi.org/10.1214/aoap/1177005980
12 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

On the Rank of Extreme Matrices in Semidefinite Programs and the Multiplicity of Optimal Eigenvalues: If m > k(n − k), Extreme Optima of Affine EV_k Have λ_k = λ_{k+1} with Multiplicity ≥ n − τResearch Paper

Motivation

Minimizing the sum of the kkk largest eigenvalues of a symmetric matrix that depends affinely on parameters is a basic problem of eigenvalue optimization (survey: A. S. Lewis and M. L. Overton, Eigenvalue optimization, Acta Numerica 5, 1996, doi:10.1017/S0962492900002646). Its objective is convex, and fkf_kfk​ is differentiable at BBB exactly when λk(B)>λk+1(B)\lambda_k(B)>\lambda_{k+1}(B)λk​(B)>λk+1​(B); at optimal solutions the eigenvalues tend to coalesce, which makes the problem a model problem of nonsmooth optimization. G. Pataki, On the rank of extreme matrices in semidefinite programs and the multiplicity of optimal eigenvalues (Math. Oper. Res. 23(2), 1998, doi:10.1287/moor.23.2.339), gives a quantitative explanation in terms of the number of free parameters.

The paper also proves a bound on the rank of extreme points of semidefinite programs, now often called the Pataki bound (also obtained by Barvinok, 1995): an extreme point XXX of {X⪰0:Ai∙X=bi, i≤m}\{X\succeq0: A_i\bullet X=b_i,\ i\le m\}{X⪰0:Ai​∙X=bi​, i≤m} satisfies rank⁡X(rank⁡X+1)/2≤m\operatorname{rank}X(\operatorname{rank}X+1)/2\le mrankX(rankX+1)/2≤m. This bound is used throughout low-rank semidefinite optimization, for instance in the Burer–Monteiro approach.

Setting

Sn\mathcal S^nSn is the space of real symmetric n×nn\times nn×n matrices, X⪰0X\succeq0X⪰0 means XXX is symmetric positive semidefinite, and A∙B=∑i,jaijbijA\bullet B=\sum_{i,j}a_{ij}b_{ij}A∙B=∑i,j​aij​bij​. For B∈SnB\in\mathcal S^nB∈Sn, λ1(B)≥⋯≥λn(B)\lambda_1(B)\ge\dots\ge\lambda_n(B)λ1​(B)≥⋯≥λn​(B) are its eigenvalues and, for k∈{1,…,n}k\in\{1,\dots,n\}k∈{1,…,n},

fk(B)=λ1(B)+⋯+λk(B).f_k(B)=\lambda_1(B)+\dots+\lambda_k(B).fk​(B)=λ1​(B)+⋯+λk​(B).

The multiplicity mult⁡(λi(B))\operatorname{mult}(\lambda_i(B))mult(λi​(B)) is the largest p≥1p\ge1p≥1 with λj(B)=⋯=λj+p−1(B)\lambda_j(B)=\dots=\lambda_{j+p-1}(B)λj​(B)=⋯=λj+p−1​(B) for some j≤i≤j+p−1j\le i\le j+p-1j≤i≤j+p−1.

A face of a convex set SSS is a convex F⊆SF\subseteq SF⊆S such that x∈Fx\in Fx∈F, y,z∈Sy,z\in Sy,z∈S, x=12(y+z)x=\tfrac12(y+z)x=21​(y+z) imply y,z∈Fy,z\in Fy,z∈F; an extreme point is a one-point face; dim⁡S\dim SdimS is the maximal number of affinely independent points of SSS, minus one. Write t(i)=i(i+1)/2t(i)=i(i+1)/2t(i)=i(i+1)/2 and

τ(l,r,s)=max⁡{ i+j: t(i)+t(j)≤l, i≤r, j≤s }.\tau(l,r,s)=\max\{\,i+j:\ t(i)+t(j)\le l,\ i\le r,\ j\le s\,\}.τ(l,r,s)=max{i+j: t(i)+t(j)≤l, i≤r, j≤s}.

Let A0,A1,…,Am∈SnA_0,A_1,\dots,A_m\in\mathcal S^nA0​,A1​,…,Am​∈Sn be linearly independent, A(x)=A0+∑i=1mxiAiA(x)=A_0+\sum_{i=1}^mx_iA_iA(x)=A0​+∑i=1m​xi​Ai​, and assume m≥1m\ge1m≥1 and k<nk<nk<n (the standing assumptions of §4). The affine eigenvalue problem is

(EVk)min⁡{fk(A(x)): x∈Rm},(EV_k)\qquad\min\{f_k(A(x)):\ x\in\mathbb R^m\},(EVk​)min{fk​(A(x)): x∈Rm},

and Θ\ThetaΘ denotes its set of optimal solutions, a closed convex set. For B∈SnB\in\mathcal S^nB∈Sn the semidefinite program

min⁡ kz+I∙Vs.t.V,W⪰0,zI+V−W=B(3.14)\min\ kz+I\bullet V\quad\text{s.t.}\quad V,W\succeq0,\quad zI+V-W=B \tag{3.14}min kz+I∙Vs.t.V,W⪰0,zI+V−W=B(3.14)

has optimal value fk(B)f_k(B)fk​(B); Ωk(B)\Omega_k(B)Ωk​(B) is its set of optimal solutions (z,V,W)(z,V,W)(z,V,W).

Formalization targets

Goal: Theorem 4.3

If x∗x^*x∗ is an extreme point of Θ\ThetaΘ and m>k(n−k)m>k(n-k)m>k(n−k), then

λk(A(x∗))=λk+1(A(x∗))andmult⁡(λk(A(x∗))) ≥ n−τ(t(n)−m−1, k−1, n−k−1).\lambda_k(A(x^*))=\lambda_{k+1}(A(x^*))\qquad\text{and}\qquad \operatorname{mult}(\lambda_k(A(x^*)))\ \ge\ n-\tau\big(t(n)-m-1,\,k-1,\,n-k-1\big).λk​(A(x∗))=λk+1​(A(x∗))andmult(λk​(A(x∗))) ≥ n−τ(t(n)−m−1,k−1,n−k−1).

Milestones

  1. Theorem 2.1: on a face FFF of the primal feasible set, t(rank⁡X)≤m+dim⁡Ft(\operatorname{rank}X)\le m+\dim Ft(rankX)≤m+dimF; on a face GGG of the dual feasible set, t(rank⁡Z)≤t(n)−m+dim⁡Gt(\operatorname{rank}Z)\le t(n)-m+\dim Gt(rankZ)≤t(n)−m+dimG.
  2. Theorem 2.2: the multi-block version ∑jt(rank⁡Xj)≤m−q+dim⁡G\sum_jt(\operatorname{rank}X_j)\le m-q+\dim G∑j​t(rankXj​)≤m−q+dimG for programs with ppp semidefinite blocks and qqq free variables.
  3. Lemmas 3.1, 3.2 and Theorem 3.3: the optimal value of (3.14) and an explicit description of Ωk(B)\Omega_k(B)Ωk​(B) through an eigendecomposition B=QDiag⁡(λ)QTB=Q\operatorname{Diag}(\lambda)Q^TB=QDiag(λ)QT.
  4. The rank identity of §3: rank⁡V+rank⁡W+mult⁡(λk(B))=n\operatorname{rank}V+\operatorname{rank}W+\operatorname{mult}(\lambda_k(B))=nrankV+rankW+mult(λk​(B))=n on Ωk(B)\Omega_k(B)Ωk​(B) when λk(B)=λk+1(B)\lambda_k(B)=\lambda_{k+1}(B)λk​(B)=λk+1​(B).
  5. Lemma 4.2 and (4.31): {x∗}×Ωk(A(x∗))\{x^*\}\times\Omega_k(A(x^*)){x∗}×Ωk​(A(x∗)) is a face of the feasible set of the lifted SDP (4.26), of dimension 111 or 000 according as λk>λk+1\lambda_k>\lambda_{k+1}λk​>λk+1​ or λk=λk+1\lambda_k=\lambda_{k+1}λk​=λk+1​.
  6. Lemma 4.1: Θ\ThetaΘ contains no line, so it has extreme points whenever it is nonempty.

Significance

The theorem says that once the number of free parameters mmm exceeds k(n−k)k(n-k)k(n−k), the kkk-th and (k+1)(k+1)(k+1)-st eigenvalues necessarily coincide at extreme optimal solutions, so fk∘Af_k\circ Afk​∘A is typically nonsmooth at its minimizers, and it bounds from below the dimension of the subdifferential ∂fk(A(x∗))\partial f_k(A(x^*))∂fk​(A(x∗)), which is t(mult⁡(λk))t(\operatorname{mult}(\lambda_k))t(mult(λk​)). The intermediate rank bounds of §2 are reusable on their own for any semidefinite program.

The results are proved in the paper. As far as is known, none of them (neither the Pataki rank bound, nor the semidefinite characterization of fkf_kfk​, nor Theorem 4.3) has a machine-checked proof. Formalizing them produces a library of faces and dimensions of spectrahedra, the SDP representation of the Ky Fan sum fkf_kfk​, and the multiplicity bound itself.

Difficulty

Extremality of x∗x^*x∗ in Θ\ThetaΘ is a statement in the parameter space Rm\mathbb R^mRm and gives no direct information on the spectrum of A(x∗)A(x^*)A(x∗): perturbation arguments on the eigenvalues alone break down precisely at the coalesced eigenvalues the theorem is about, where fkf_kfk​ is not differentiable. The quantitative bound (4.30) also needs more than the optimal value fk(A(x∗))f_k(A(x^*))fk​(A(x∗)): it depends on the whole optimal set Ωk(A(x∗))\Omega_k(A(x^*))Ωk​(A(x∗)), on the dimension of faces of spectrahedra, and on an exact count relating the ranks of the optimal V,WV,WV,W to the multiplicity of λk\lambda_kλk​. None of these (faces and dimension of spectrahedra, the semidefinite representation of fkf_kfk​, eigenvalue run lengths) is in Mathlib.

Formalization scope

Matrices are Matrix (Fin n) (Fin n) ℝ; A∙BA\bullet BA∙B is the published BurerMonteiro.RankIncrease.frob, the primal and dual feasible sets are the published IsPrimalFeasible/IsDualFeasible, and λi(B)\lambda_i(B)λi​(B) is the published ProjLikeRetr.Spectral.eig B ⟨i-1,_⟩ (Mathlib's nonincreasing eigenvalues, 0-based). Every matrix whose eigenvalues are taken is assumed symmetric. Faces, extreme points and dimension are defined as on p. 341; dimension is integer valued with dim⁡∅=−1\dim\emptyset=-1dim∅=−1. All rank bounds are compared in Z\mathbb ZZ. Θ\ThetaΘ is the argmin set {x:fk(A(x))≤fk(A(y)) ∀y}\{x: f_k(A(x))\le f_k(A(y))\ \forall y\}{x:fk​(A(x))≤fk​(A(y)) ∀y} and Ωk(B)\Omega_k(B)Ωk​(B) is the set of feasible points no worse than every feasible point; no infimum is used. Optimal values are stated as least elements of the set of feasible objective values.

Hypotheses added relative to the page, each disclosed in its item: 1≤k<n1\le k<n1≤k<n in the statements of §3, which mention λk+1\lambda_{k+1}λk+1​; k≥1k\ge1k≥1 (p. 340) in every §4 statement; one common matrix order in Theorem 2.2; and λk(B)=λk+1(B)\lambda_k(B)=\lambda_{k+1}(B)λk​(B)=λk+1​(B) in the rank identity of p. 348, which is false as printed when λk(B)>λk+1(B)\lambda_k(B)>\lambda_{k+1}(B)λk​(B)>λk+1​(B) (n=2n=2n=2, k=1k=1k=1, B=diag⁡(2,0)B=\operatorname{diag}(2,0)B=diag(2,0) gives 3≠23\ne23=2) and is used in the paper only in the equal case. The linear independence of A0,…,AmA_0,\dots,A_mA0​,…,Am​ is kept with A0A_0A0​ included, as on p. 348.

Trivializing formalizations are ruled out: Θ\ThetaΘ is not defined through a possibly junk infimum, a face must be convex and contained in the set, the dimension is not a junk 000, mult⁡\operatorname{mult}mult is the run length of equal eigenvalues and not a constant or an index, and the eigenvalues are only ever taken of symmetric matrices.

A complete development needs: the rank–dimension bound for faces of spectrahedra (reusable for any SDP), the semidefinite characterization of fkf_kfk​ with its optimal set, and convexity facts on Θ\ThetaΘ. Proofs of any milestone, alternative proofs of the rank bounds, and the general smooth case of §5 are welcome.

Selected references

  • G. Pataki, On the rank of extreme matrices in semidefinite programs and the multiplicity of optimal eigenvalues, Mathematics of Operations Research 23(2), 339–358, 1998. https://doi.org/10.1287/moor.23.2.339
  • A. I. Barvinok, Problems of distance geometry and convex properties of quadratic maps, Discrete & Computational Geometry 13, 189–202, 1995. https://doi.org/10.1007/BF02574037
  • M. L. Overton and R. S. Womersley, Optimality conditions and duality theory for minimizing sums of the largest eigenvalues of symmetric matrices, Mathematical Programming 62, 321–357, 1993. https://doi.org/10.1007/BF01585173
  • F. Alizadeh, Interior point methods in semidefinite programming with applications to combinatorial optimization, SIAM Journal on Optimization 5(1), 13–51, 1995. https://doi.org/10.1137/0805002
  • A. S. Lewis and M. L. Overton, Eigenvalue optimization, Acta Numerica 5, 149–190, 1996. https://doi.org/10.1017/S0962492900002646
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970.
14 thms1 active userReviewed
Theoretical Computer Science·Captain: marwahaha

Complex Matrix Multiplication Below 2.258 and Rectangular BoundsOpen Problem

Motivation

Rectangular matrix products arise when the two outer dimensions are much larger than the inner dimension. The dual exponent records the largest inner growth rate compatible with arithmetic exponent two. The source manuscript presents the surrounding research claim.

Setting

For k∈[0,1], ω_ℂ(1,k,1) is the infimum of exponents for multiplying an n×⌈nᵏ⌉ matrix by a ⌈nᵏ⌉×n matrix over ℂ. The dual exponent α is the supremum of k for which this infimum equals two.

Formalization target

Prove the strict bound

αC>93200=0.465.\alpha_{\mathbb C}>\frac{93}{200}=0.465.αC​>20093​=0.465.

The additional published rectangular endpoint asserts ω_ℂ(1,709/1000,1)<523/250=2.092.

The selected formal target is OAI.MatrixMultiplication.complex_alpha_gt_93_div_200.

Significance and status

Strictness is part of both statements. The supplied goal concerns the complex dual exponent; the manuscript title’s square bound and broader field claims are not attached formal targets. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

An algorithm for one size does not establish an asymptotic exponent. The definition quantifies over every positive slack and all positive sizes with one bound constant for each slack.

Formalization scope

Algorithms are division-free arithmetic programs with constants and input gates of cost zero and addition, subtraction and multiplication of cost one. Correctness is quantified over all input matrices. The dual exponent is a real supremum of exact exponent-two shapes, using the prescribed inner-dimension ceiling.

Selected references

  • OpenAI, Complex Matrix Multiplication Below 2.258 and Rectangular Bounds, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
3 thms1 active userReviewed
Complexity TheoryTheoretical Computer Science·Captain: wurtle

Finite tensor savings and exact Fourier circuitsResearch Paper

Motivation

The discrete Fourier transform of length nnn is computed by the fast Fourier transform with O(nlog⁡n)O(n\log n)O(nlogn) arithmetic operations, and this has been the benchmark since Cooley and Tukey (1965). Whether Ω(nlog⁡n)\Omega(n\log n)Ω(nlogn) operations are necessary is one of the basic open questions of algebraic complexity theory. Lower bounds of order nlog⁡nn\log nnlogn are known only under restrictions on the algorithm: bounded coefficients, unitary 2×22\times22×2 gates on exactly nnn registers, or bounded conditioning of intermediate maps. In the unrestricted model of linear circuits, where coefficients are arbitrary complex numbers and only arithmetic operations are counted, the question remained open. This mission concerns that unrestricted question.

Timeline

  • 1958. Good gives the multidimensional (coprime-factor) form of the Fourier transform (doi:10.1111/j.2517-6161.1958.tb00300.x).
  • 1965. Cooley and Tukey publish the fast Fourier transform (doi:10.1090/S0025-5718-1965-0178586-1).
  • 1969–1970. Rabiner, Schafer and Rader (chirp zzz-transform) and Bluestein reduce arbitrary lengths to convolution (doi:10.1109/TAU.1969.1162034, doi:10.1109/TAU.1970.1162132).
  • 1973. Morgenstern proves an Ω(nlog⁡n)\Omega(n\log n)Ω(nlogn) lower bound for linear circuits with bounded coefficients (doi:10.1145/321752.321761).
  • 2013–2014. Ailon proves lower bounds for 2×22\times22×2 unitary gate models and for well-conditioned computations (arXiv:1305.4745, arXiv:1403.1307).
  • 2023. Alman and Rao improve the leading constants for power-of-two transforms via matrix non-rigidity (doi:10.1145/3564246.3585188).
  • 2025. Alman and Li characterize asymptotic sizes of depth-two circuits for Kronecker powers (arXiv:2509.14489).

The source of this mission, an OpenAI preprint dated September 25, 2026, claims that the Ω(nlog⁡n)\Omega(n\log n)Ω(nlogn) lower bound fails in the unrestricted complex linear-circuit model.

Setting

For n≥2n\ge2n≥2 let ζn=e2πi/n\zeta_n=e^{2\pi i/n}ζn​=e2πi/n and Fn=(ζnjk)0≤j,k<nF_n=(\zeta_n^{jk})_{0\le j,k<n}Fn​=(ζnjk​)0≤j,k<n​. A linear circuit of length nnn has inputs x0,…,xn−1x_0,\dots,x_{n-1}x0​,…,xn−1​ and the constant 000, followed by a finite sequence of gates. Each gate computes u+vu+vu+v, u−vu-vu−v or λu\lambda uλu from previously available values u,vu,vu,v, where λ∈C\lambda\in\mathbb Cλ∈C is a fixed coefficient; each gate costs one. Values may be reused arbitrarily, and the nnn outputs are designated available values. The circuit computes FnF_nFn​ if its outputs equal FnxF_nxFn​x for every x∈Cnx\in\mathbb C^nx∈Cn. Coefficients may depend on nnn and have no bound on size or description; depth, storage and conditioning are unrestricted. Let L(n)L(n)L(n) be the minimum number of gates.

Formalization targets

Goal: Theorem 1.1

lim inf⁡n→∞L(n)nlog⁡2n=0,\liminf_{n\to\infty}\frac{L(n)}{n\log_2 n}=0,n→∞liminf​nlog2​nL(n)​=0,

equivalently: for every c>0c>0c>0 and every N0≥2N_0\ge2N0​≥2 there are n≥N0n\ge N_0n≥N0​ and an exact circuit for FnF_nFn​ with fewer than c nlog⁡2nc\,n\log_2 ncnlog2​n gates. The Lean statement OAI.ExactFourier.main_theorem is this second form and is open on the platform.

The statement does not assert an upper bound for every length, a uniform construction, or anything about numerical stability. A companion OpenAI preprint gives a quantitative all-length bound in a model that also charges coefficient preparation; that result is not part of this mission.

Significance

The theorem refutes the assertion that L(n)≥c nlog⁡2nL(n)\ge c\,n\log_2nL(n)≥cnlog2​n for some fixed c>0c>0c>0 and all large nnn in the unrestricted linear model. It shows that the known lower bounds necessarily depend on their restrictions (bounded coefficients, conditioning, unitary gates). The mechanism, a single finite tensor saving amplified through tensor powers, is a general tool: one strict improvement over the standard axis-by-axis algorithm for one tensor power of one nonmonomial matrix yields an exponent improvement for all tensor powers.

The result is claimed in an OpenAI preprint; it has not been peer reviewed and no machine-checked proof exists. The existence part of the argument is non-constructive (it proceeds by contradiction through price functions and compactness), so a formal proof is a meaningful check.

Difficulty

Leading-constant improvements of the FFT do not change the nlog⁡nn\log nnlogn scale, and every classical structural algorithm (Cooley–Tukey, Good–Thomas, chirp) has that scale. A gain in the exponent of the logarithm needs a saving that compounds across many tensor factors; but a saving for one tensor power of a small matrix does not obviously transfer to Fourier matrices of growing length, because Fourier factorizations introduce diagonal twiddle factors and change the coordinate set. In addition, the existence of a single finite saving is itself not exhibited explicitly and must be proved.

Formalization scope

  • Gate w is add i j, sub i j or scale c i with c : ℂ, referencing the www values available so far.
  • Program n k is a list of kkk gates in topological order; values 0,…,n−10,\dots,n-10,…,n−1 are the inputs and value nnn is the constant 000 (via Fin.snoc x 0).
  • Circuit n has size, a program of that size, and outputs : Fin n → Fin (n+1+size); output selection is free.
  • fourierMatrix n j k = zeta n ^ (j*k) with zeta n = exp(2πi/n); Computes is equality with mulVec for every input.
  • MainStatement: for every real c>0c>0c>0 and N0≥2N_0\ge2N0​≥2 there are n≥N0n\ge N_0n≥N0​ and a computing circuit with size < c * n * logb 2 n.

A complete development needs tensor products of matrices and circuits, the Chinese Remainder (Good–Thomas) identification of FrsF_{rs}Frs​ with Fr⊗FsF_r\otimes F_sFr​⊗Fs​ for coprime r,sr,sr,s, a Toeplitz/Vandermonde factorization of FrF_rFr​ on its own coordinates, and the price-function existence argument (separation, compactness, feedback). Contributions formalizing Lemma 2.3 (tensor amplification) and Proposition 3.4 (transfer of a finite win to Fourier circuits) are natural first steps.

Selected references

  • OpenAI, Finite tensor savings and exact Fourier circuits, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Finite-tensor-savings-and-exact-Fourier-circuits-September-25-2026/main.pdf
  • J. W. Cooley, J. W. Tukey, An algorithm for the machine calculation of complex Fourier series, Math. Comp., 1965. https://doi.org/10.1090/S0025-5718-1965-0178586-1
  • J. Morgenstern, Note on a lower bound on the linear complexity of the fast Fourier transform, J. ACM, 1973. https://doi.org/10.1145/321752.321761
  • N. Ailon, A lower bound for Fourier transform computation in a linear model over 2×2 unitary gates, preprint, 2013. https://arxiv.org/abs/1305.4745
  • N. Ailon, An Ω((nlog⁡n)/R)\Omega((n\log n)/R)Ω((nlogn)/R) lower bound for Fourier transform computation in the RRR-well conditioned model, preprint, 2014. https://arxiv.org/abs/1403.1307
  • J. Alman, K. Rao, Faster Walsh–Hadamard and discrete Fourier transforms from matrix non-rigidity, STOC 2023. https://doi.org/10.1145/3564246.3585188
  • I. J. Good, The interaction algorithm and practical Fourier analysis, J. R. Stat. Soc. B, 1958. https://doi.org/10.1111/j.2517-6161.1958.tb00300.x
  • J. Alman, B. Li, Kronecker powers, orthogonal vectors, and the asymptotic spectrum, preprint, 2025. https://arxiv.org/abs/2509.14489
2 thms1 active userReviewed
Complexity TheoryTheoretical Computer Science·Captain: wurtle

Staggered extraction for exact matrix multiplication over every fieldResearch Paper

Motivation: the matrix-multiplication exponent

Multiplying two n×nn\times nn×n matrices by the schoolbook method costs about n3n^3n3 operations. The matrix-multiplication exponent ωF\omega_FωF​ of a field FFF is the infimum of exponents τ\tauτ such that n×nn\times nn×n matrices over FFF can be multiplied with O(nτ+o(1))O(n^{\tau+o(1)})O(nτ+o(1)) additions, subtractions and multiplications. It governs the asymptotic cost of a central bilinear operation and of the many algorithms built from it (determinants, inversion, linear systems). Bounding ω\omegaω has driven algebraic complexity theory since 1969. In recent years the bounds have moved in the third and fourth decimal place, with each improvement coming from a finer analysis of the same tensor-power framework.

Background

  • 1969 — Strassen's seven-product algorithm gives ω≤log⁡27\omega\le\log_27ω≤log2​7 (Strassen 1969).
  • 1980–1987 — Approximate bilinear algorithms (Bini 1980), the asymptotic sum inequality (Schönhage 1981) and the laser method (Strassen 1987).
  • 1990 — Coppersmith and Winograd introduce the tensor family CWq\mathrm{CW}_qCWq​ and progression-free extraction (J. Symbolic Comput. 1990).
  • 2010–2014 — Higher tensor powers: Stothers (fourth power; with Davie, Proc. Roy. Soc. Edinburgh 2013), Vassilevska Williams (eighth power, STOC 2012), Le Gall (thirty-second power, ISSAC 2014).
  • 2023–2024 — The refined laser method gives ω<2.3728596\omega<2.3728596ω<2.3728596 (Alman–Vassilevska Williams, TheoretiCS 2024). Asymmetric hashing reduces combination loss (Duan–Wu–Zhou). Finer variable sharing follows (Vassilevska Williams–Xu–Xu–Zhou).
  • 2024–2026 — Successive asymmetric compatibility tests (Alman–Duan–Vassilevska Williams–Xu–Xu–Zhou, arXiv:2404.16349). Dupont et al. optimize the eighth-power instance of this framework to ω<2.371177\omega<2.371177ω<2.371177 (arXiv:2608.16884).
  • 2026 — An OpenAI preprint, Staggered extraction for exact matrix multiplication over every field (OpenAI Math Release, September 24, 2026), claims ωF<2.371054886006746\omega_F<2.371054886006746ωF​<2.371054886006746 for every fixed field FFF, including every positive characteristic. It has not been peer reviewed, and the claim has not been formally verified.

Setting

Fix a field FFF. An arithmetic program is a straight-line sequence of gates, each a constant from FFF, an input entry, or the sum, difference or product of two earlier gates. Its cost counts the addition, subtraction and multiplication gates. A program multiplies n×nn\times nn×n matrices if designated registers equal the entries of ABABAB for every pair of input matrices A,BA,BA,B over FFF. A real number τ\tauτ is admissible if for every ε>0\varepsilon>0ε>0 there is C>0C>0C>0 such that for every n≥1n\ge1n≥1 some correct program has cost at most C nτ+εC\,n^{\tau+\varepsilon}Cnτ+ε, and

ωF=inf⁡{τ∈R: τ admissible over F}.\omega_F=\inf\{\tau\in\mathbb R:\ \tau\text{ admissible over }F\}.ωF​=inf{τ∈R: τ admissible over F}.

In Lean this is MatrixAllFields.MatrixMultiplication.Arithmetic.omega F, defined for every F : Type u with [Field F].

Formalization targets

Goal: the exponent bound over every field (Theorem 1.1)

∀ F field:ωF<2.371054886006746.\forall\,F\ \text{field}:\qquad \omega_F<2.371054886006746 .∀F field:ωF​<2.371054886006746.

The Lean statement also contains the numerical comparison 2.371054886006746<2.3710562.371054886006746<2.3710562.371054886006746<2.371056, which carries no mathematical content (the source writes the comparison as <2.371054887<2.371054887<2.371054887). This is Theorem 1.1 of the source. The goal is published on the platform with status Open: no machine-checked proof exists yet.

Significance

The result itself. If the source's argument and certificate are correct, the theorem lowers the best stated bound on ω\omegaω from 2.3711772.3711772.371177 (Dupont et al.) to 2.3710552.3710552.371055, and it does so uniformly over all fields, with exact algorithms in every positive characteristic. Any improvement in ω\omegaω lowers the exponent of every algorithm reducible to matrix multiplication. The method — pooling directional capacities across extraction depths and staggering lots so that one lot sits at each splitting stage — shows that combination losses in the asymmetric framework can be traded across depths.

Formalizing it. Bounds of this type rest on long chains of tensor-power constructions, recovery arguments and large rational parameter tables, checked in the source by an accompanying verifier with interval certificates for logarithms. A machine-checked proof would certify the whole chain from the arithmetic model to the final rational inequality. It would also give Mathlib the asymptotic sum inequality and Coppersmith–Winograd machinery, which every future bound on ω\omegaω needs.

Difficulty

Every recent improvement fights extraction losses. Restricting a tensor power to a direct sum of independent matrix products wastes variables whenever whole blocks must be disjoint, while the final products only need disjoint subsets. Prescribed marginals may also allow several joint distributions. Earlier analyses take the minimum of three directional capacities separately at each depth, so a shortage on one side at one depth is lost. Using capacity across depths requires that variables deleted in earlier extractions (to resolve conflicts or impose type conditions) can still be recovered exactly, over the original field and with only subexponentially many extra copies. Positive characteristic rules out arguments that divide by small integers or rely on characteristic-zero identities.

Formalization scope

  • The model is division-free straight-line programs over an arbitrary field F : Type u, with free constants from FFF and unit cost for add, sub and mul. This matches the source's "scalar additions and multiplications".
  • AdmissibleExponent F τ asks, for each ε>0\varepsilon>0ε>0, for one constant C>0C>0C>0 that works for every n≥1n\ge1n≥1. omega F is the sInf of the admissible set, which is nonempty (schoolbook algorithm) and bounded below by the output size, so a junk value cannot make the strict inequality true.
  • The goal quantifies over every field, including finite fields, so a proof cannot use characteristic-zero arguments or embeddings into C\mathbb CC.
  • The second conjunct is a trivially true rational comparison and can be ignored.
  • Infrastructure needed: tensor rank and border rank over arbitrary fields, the asymptotic sum inequality, the Coppersmith–Winograd tensor and its powers, method-of-types counting, and verified rational/logarithm interval arithmetic for the parameter certificate. All of this is reusable for other matrix-multiplication results.

Selected references

  • V. Strassen, Gaussian elimination is not optimal, Numer. Math. 13 (1969), 354–356. https://doi.org/10.1007/BF02165411
  • D. Bini, Relations between exact and approximate bilinear algorithms. Applications, Calcolo 17 (1980), 87–97. https://doi.org/10.1007/BF02575865
  • A. Schönhage, Partial and total matrix multiplication, SIAM J. Comput. 10 (1981), 434–455. https://doi.org/10.1137/0210032
  • V. Strassen, Relative bilinear complexity and matrix multiplication, J. reine angew. Math. 375/376 (1987), 406–443. https://doi.org/10.1515/crll.1987.375-376.406
  • D. Coppersmith and S. Winograd, Matrix multiplication via arithmetic progressions, J. Symbolic Comput. 9 (1990), 251–280. https://doi.org/10.1016/S0747-7171(08)80013-2
  • A. M. Davie and A. J. Stothers, Improved bound for complexity of matrix multiplication, Proc. Roy. Soc. Edinburgh Sect. A 143 (2013), 351–369. https://doi.org/10.1017/S0308210511001648
  • V. Vassilevska Williams, Multiplying matrices faster than Coppersmith–Winograd, STOC 2012, 887–898. https://doi.org/10.1145/2213977.2214056
  • F. Le Gall, Powers of tensors and fast matrix multiplication, ISSAC 2014, 296–303. https://arxiv.org/abs/1401.7714v1
  • J. Alman and V. Vassilevska Williams, A refined laser method and faster matrix multiplication, TheoretiCS 3 (2024), Art. 21. https://doi.org/10.46298/theoretics.24.21
  • R. Duan, H. Wu and R. Zhou, Faster matrix multiplication via asymmetric hashing, arXiv:2210.10173. https://arxiv.org/abs/2210.10173v5
  • V. Vassilevska Williams, Y. Xu, Z. Xu and R. Zhou, New bounds for matrix multiplication: from alpha to omega, arXiv:2307.07970. https://arxiv.org/abs/2307.07970v2
  • J. Alman, R. Duan, V. Vassilevska Williams, Y. Xu, Z. Xu and R. Zhou, More asymmetry yields faster matrix multiplication, arXiv:2404.16349v3. https://arxiv.org/abs/2404.16349v3
  • E. Dupont et al., Improving the matrix multiplication exponent with modern optimization, arXiv:2608.16884 (2026). https://doi.org/10.48550/arXiv.2608.16884
  • OpenAI, Staggered extraction for exact matrix multiplication over every field, OpenAI Math Release preprint, September 24, 2026 (Theorem 1.1, p. 2). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Staggered-extraction-for-exact-matrix-multiplication-over-every-field-September-24-2026/Staggered-extraction-for-exact-matrix-multiplication-over-every-field-September-24-2026.pdf
2 thms1 active userReviewed
Convex OptimizationNumerical Analysis·Captain: mikedeng1

Low-rank Matrix Recovery via Iteratively Reweighted Least Squares Minimization 1: IRLS-M Converges to the Nuclear-Norm Minimizer Under the Strong Rank Null Space PropertyResearch Paper

Motivation

Many data problems ask for a matrix of low rank from far fewer linear measurements than it has entries: matrix completion (recommender systems, where a few ratings of a large user–item table are observed), system identification, and quantum state tomography. Minimizing the rank under the measurement constraints is NP-hard in general. The standard convex surrogate replaces the rank by the nuclear norm, the sum of the singular values, and recovers the low-rank matrix exactly when the measurement map is well conditioned on low-rank matrices (Recht, Fazel, Parrilo 2010; Candès, Recht 2009).

Solving the nuclear norm problem at scale is itself a numerical challenge: interior point methods do not scale, and first-order methods such as singular value thresholding (Cai, Candès, Shen 2010) need many iterations. Fornasier, Rauhut and Ward proposed an alternative, iteratively reweighted least squares for matrices (IRLS-M), which replaces the nonsmooth problem by a sequence of weighted least squares problems whose weights are recomputed from the current iterate. It is the matrix analogue of the IRLS method for sparse vectors of Daubechies, DeVore, Fornasier, Güntürk 2010, and a closely related algorithm was studied at the same time by Mohan and Fazel (Allerton 2010; journal version JMLR 2012).

Timeline. 2008–2010: nuclear norm recovery under rank restricted isometry (Recht–Fazel–Parrilo) and the rank null space property (Recht–Xu–Hassibi). 2010: convergence of IRLS for ℓ1\ell_1ℓ1​ under the vector null space property (Daubechies et al.). 2010–2011: IRLS-M and its convergence under the strong rank null space property (this paper, arXiv:1010.2471, SIAM J. Optim. 21(4), 2011).

Setting

Throughout, XXX is a real n×pn\times pn×p matrix with n≤pn\le pn≤p, with singular values σ1(X)≥⋯≥σn(X)≥0\sigma_1(X)\ge\dots\ge\sigma_n(X)\ge0σ1​(X)≥⋯≥σn​(X)≥0. The Frobenius norm is ∥X∥F\|X\|_F∥X∥F​, the nuclear norm is ∥X∥∗=∑iσi(X)\|X\|_*=\sum_i\sigma_i(X)∥X∥∗​=∑i​σi​(X), and ⟨X,Y⟩=∑i,jXijYij\langle X,Y\rangle=\sum_{i,j}X_{ij}Y_{ij}⟨X,Y⟩=∑i,j​Xij​Yij​. A linear measurement map S:Rn×p→Rm\mathcal S:\mathbb R^{n\times p}\to\mathbb R^mS:Rn×p→Rm is given by matrices A1,…,AmA_1,\dots,A_mA1​,…,Am​ through S(X)l=⟨Al,X⟩\mathcal S(X)_l=\langle A_l,X\rangleS(X)l​=⟨Al​,X⟩; the data are M∈Rm\mathscr M\in\mathbb R^mM∈Rm.

The best kkk-rank approximation error is ρk(X)∗=min⁡rank⁡Z≤k∥X−Z∥∗\rho_k(X)_*=\min_{\operatorname{rank}Z\le k}\|X-Z\|_*ρk​(X)∗​=minrankZ≤k​∥X−Z∥∗​. The map S\mathcal SS has the strong rank null space property (SRNSP) of order kkk with constant η∈(0,1)\eta\in(0,1)η∈(0,1) if every nonzero X∈ker⁡SX\in\ker\mathcal SX∈kerS and every split X=X1+X2X=X_1+X_2X=X1​+X2​ with rank⁡X1≤k\operatorname{rank}X_1\le krankX1​≤k admit another split X=H1+H2X=H_1+H_2X=H1​+H2​ with rank⁡H1≤2k\operatorname{rank}H_1\le2krankH1​≤2k, ⟨H1,H2⟩=0\langle H_1,H_2\rangle=0⟨H1​,H2​⟩=0, X1H2T=0X_1H_2^{\mathsf T}=0X1​H2T​=0, X1TH2=0X_1^{\mathsf T}H_2=0X1T​H2​=0 and ∥H1∥∗≤η∥H2∥∗\|H_1\|_*\le\eta\|H_2\|_*∥H1​∥∗​≤η∥H2​∥∗​.

For ε>0\varepsilon>0ε>0 the weight of XXX is W=UΣε−1UTW=U\Sigma_\varepsilon^{-1}U^{\mathsf T}W=UΣε−1​UT, where XXT=UΣ2UTXX^{\mathsf T}=U\Sigma^2U^{\mathsf T}XXT=UΣ2UT and Σε=diag⁡(max⁡{σj,ε})\Sigma_\varepsilon=\operatorname{diag}(\max\{\sigma_j,\varepsilon\})Σε​=diag(max{σj​,ε}). The IRLS-M algorithm with parameters K∈NK\in\mathbb NK∈N and γ>0\gamma>0γ>0 starts from W0=IW^0=IW0=I, ε0=1\varepsilon_0=1ε0​=1 and repeats

Xℓ∈arg⁡min⁡S(X)=M∥(Wℓ−1)1/2X∥F2,εℓ=min⁡{εℓ−1,γσK+1(Xℓ)},X^\ell\in\arg\min_{\mathcal S(X)=\mathscr M}\|(W^{\ell-1})^{1/2}X\|_F^2,\qquad\varepsilon_\ell=\min\{\varepsilon_{\ell-1},\gamma\sigma_{K+1}(X^\ell)\},Xℓ∈argS(X)=Mmin​∥(Wℓ−1)1/2X∥F2​,εℓ​=min{εℓ−1​,γσK+1​(Xℓ)},

with WℓW^\ellWℓ the weight of XℓX^\ellXℓ at level εℓ\varepsilon_\ellεℓ​; it stops when εℓ=0\varepsilon_\ell=0εℓ​=0. Two functionals organize the analysis: J(X,W)=12(∥W1/2X∥F2+∥W−1/2∥F2)\mathcal J(X,W)=\tfrac12(\|W^{1/2}X\|_F^2+\|W^{-1/2}\|_F^2)J(X,W)=21​(∥W1/2X∥F2​+∥W−1/2∥F2​), of which IRLS-M is an alternating minimization, and Jε(X)=∑i=1njε(σi(X))\mathcal J_\varepsilon(X)=\sum_{i=1}^n j^\varepsilon(\sigma_i(X))Jε​(X)=∑i=1n​jε(σi​(X)) with jε(u)=∣u∣j^\varepsilon(u)=|u|jε(u)=∣u∣ for ∣u∣≥ε|u|\ge\varepsilon∣u∣≥ε and (u2+ε2)/(2ε)(u^2+\varepsilon^2)/(2\varepsilon)(u2+ε2)/(2ε) otherwise.

Formalization targets

Goal: Theorem 6.11

For γ=1/n\gamma=1/nγ=1/n, any KKK, a surjective S\mathcal SS and any run (Xℓ,εℓ)(X^\ell,\varepsilon_\ell)(Xℓ,εℓ​):

(i)S SRNSP of order K, εℓ→0 ⟹ Xℓ→Xˉ, rank⁡Xˉ≤K, Xˉ=the unique nuclear norm minimizer.\text{(i)}\quad \mathcal S\ \text{SRNSP of order }K,\ \varepsilon_\ell\to0\ \Longrightarrow\ X^\ell\to\bar X,\ \operatorname{rank}\bar X\le K,\ \bar X=\text{the unique nuclear norm minimizer.}(i)S SRNSP of order K, εℓ​→0 ⟹ Xℓ→Xˉ, rankXˉ≤K, Xˉ=the unique nuclear norm minimizer.

(ii) If εℓ→ε>0\varepsilon_\ell\to\varepsilon>0εℓ​→ε>0, the iterates are relatively compact, their accumulation points minimize Jε\mathcal J_\varepsilonJε​ on the feasible set, and the sequence converges when that minimizer is unique; under the SRNSP with η<1−2/(K−2)\eta<1-2/(K-2)η<1−2/(K−2), every accumulation point Xˉ\bar XXˉ satisfies, for every feasible XXX and k<K−2η/(1−η)k<K-2\eta/(1-\eta)k<K−2η/(1−η),

∥X−Xˉ∥∗≤Λρk(X)∗,Λ=4(1+η)2(1−η)2((K−k)(1−η)−2η)+2(1+η)1−η.\|X-\bar X\|_*\le\Lambda\rho_k(X)_*,\qquad\Lambda=\frac{4(1+\eta)^2}{(1-\eta)^2((K-k)(1-\eta)-2\eta)}+\frac{2(1+\eta)}{1-\eta}.∥X−Xˉ∥∗​≤Λρk​(X)∗​,Λ=(1−η)2((K−k)(1−η)−2η)4(1+η)2​+1−η2(1+η)​.

(iii) Under the same SRNSP, if a feasible matrix of rank at most kkk exists, then εℓ→0\varepsilon_\ell\to0εℓ​→0.

Milestones

In attack order: the weighted least squares step (Lemma 5.1, the optimality condition (5.4)); the weight step (Lemma 5.2, Proposition 5.3); monotonicity of J\mathcal JJ along the run (Proposition 6.1); singular value facts (Weyl's Theorem 7.1, attainment of ρk\rho_kρk​ at the spectral truncation, Lemma 6.10, Proposition 7.2); null space theory (Theorem 6.3, the inverse triangle inequality Lemma 6.6 with (6.5), Corollary 6.7); and the two steps of the proof of (ii), the optimality condition (6.10) for Jε\mathcal J_\varepsilonJε​ and the bound (6.11).

Significance

Theorem 6.11 is the convergence guarantee of IRLS-M. Combined with the fact that a small rank restricted isometry constant implies the SRNSP (Proposition 6.8, the companion mission), it yields Proposition 2.1 of the paper: under δ4K<2−1\delta_{4K}<\sqrt2-1δ4K​<2​−1, IRLS-M recovers every rank-kkk matrix exactly and approximately low-rank matrices stably. Part (iii) says that the algorithm detects exact low-rank data on its own: the smoothing parameter must vanish.

The result is proved on paper; no machine-checked proof exists. A complete formalization would give a machine-checked convergence proof of an IRLS-type method; none is on the platform, for vectors or matrices. It also produces reusable matrix analysis: Weyl's perturbation bound for singular values, the nuclear norm best rank-kkk approximation (a Mirsky-type theorem), additivity of the nuclear norm under orthogonality, the null space characterization of nuclear norm recovery, and optimality conditions for spectral functions.

Difficulty

Two steps resist the obvious argument. First, the weight update is a constrained minimization over the positive definite cone; identifying its solution (Proposition 5.3) requires a duality or spectral argument rather than setting a gradient to zero, because the constraint W⪯ε−1IW\preceq\varepsilon^{-1}IW⪯ε−1I is active on small singular values. Second, in case (ii) the limit functional Jε\mathcal J_\varepsilonJε​ is convex but not strictly convex, so accumulation points cannot be pinned down by uniqueness; the analysis must instead pass the optimality condition (5.4) of the iterates to the limit, using continuity of the weights in the iterate, and derive (6.10). The step relating ∇Jε\nabla\mathcal J_\varepsilon∇Jε​ to WXˉW\bar XWXˉ needs the differentiability of unitarily invariant spectral functions, which the paper imports from Lewis and Sendov. Weyl's inequality and the spectral truncation facts, routine on paper, are not yet in Mathlib for rectangular matrices.

Formalization scope

All matrices are real (Matrix (Fin n) (Fin p) ℝ); the paper treats real and complex matrices alike. The paper's standing assumption n≤pn\le pn≤p is a hypothesis wherever n×nn\times nn×n objects (XXTXX^{\mathsf T}XXT, WWW, γ=1/n\gamma=1/nγ=1/n, Jε\mathcal J_\varepsilonJε​) occur. Nuclear norm, Frobenius norm, trace inner product and singular values come from the published definition HighDimStat_MatrixRank_Core; sv X i is σi+1(X)\sigma_{i+1}(X)σi+1​(X), 0-based. The measurement map is given by measurement matrices (observationOp), which represents every linear map to Rm\mathbb R^mRm. The weight is defined with Mathlib's continuous functional calculus, and W1/2W^{1/2}W1/2 is cfc Real.sqrt W. The algorithm is the relation IsRun: each Xℓ+1X^{\ell+1}Xℓ+1 is some minimizer of (2.9), X0X^0X0 is free, and εj=0\varepsilon_j=0εj​=0 after a stop. Accumulation points are MapClusterPt; uniqueness of a nuclear norm minimizer is a strict inequality against every other feasible matrix.

The goal cannot be satisfied vacuously: IsRun has a run for every surjective S\mathcal SS and every M\mathscr MM (Lemma 5.1 supplies the minimizers), it carries no positivity or uniqueness assumption a real run could violate, and the theorem keeps all three parts, including the unique-minimizer clause of (i) and the error bound of (ii) for every feasible XXX and every admissible kkk.

Two printed slips are corrected and disclosed: (5.5) omits the factor 12\tfrac1221​ of (5.1), and (6.5) reverses the bracket of (6.4) at ρk=0\rho_k=0ρk​=0. Contributions welcome: Weyl's inequality and the Mirsky-type truncation theorem for rectangular matrices, the spectral calculus behind Propositions 5.3 and (6.10), and proofs of the null space results, which are independent of the algorithm.

Selected references

  • M. Fornasier, H. Rauhut, R. Ward, Low-rank matrix recovery via iteratively reweighted least squares minimization, SIAM J. Optim. 21(4), 2011. https://arxiv.org/abs/1010.2471 (v4 is the version formalized)
  • B. Recht, M. Fazel, P. A. Parrilo, Guaranteed minimum-rank solutions of linear matrix equations via nuclear norm minimization, SIAM Review 52(3), 2010. https://doi.org/10.1137/070697835
  • B. Recht, W. Xu, B. Hassibi, Null space conditions and thresholds for rank minimization, Math. Program. 127, 2011. https://doi.org/10.1007/s10107-010-0422-2
  • I. Daubechies, R. DeVore, M. Fornasier, C. S. Güntürk, Iteratively reweighted least squares minimization for sparse recovery, Comm. Pure Appl. Math. 63(1), 2010. https://doi.org/10.1002/cpa.20303
  • K. Mohan, M. Fazel, Iterative reweighted least squares for matrix rank minimization, Proc. Allerton Conference, 2010; journal version Iterative reweighted algorithms for matrix rank minimization, JMLR 13, 2012. https://jmlr.org/papers/v13/mohan12a.html
  • E. J. Candès, B. Recht, Exact matrix completion via convex optimization, Found. Comput. Math. 9, 2009. https://doi.org/10.1007/s10208-009-9045-5
  • J.-F. Cai, E. J. Candès, Z. Shen, A singular value thresholding algorithm for matrix completion, SIAM J. Optim. 20(4), 2010. https://doi.org/10.1137/080738970
  • A. S. Lewis, H. S. Sendov, Nonsmooth analysis of singular values. I: Theory, Set-Valued Analysis 13(3), 2005. https://doi.org/10.1007/s11228-004-7197-7
18 thms1 active userReviewed
ProbabilityRandom Matrix Theory·Captain: mikedeng1

Random Matrices: Universality of ESDs and the Circular Law 2: The ESD of A_n/√n Converges to μ iff the Normalized Log-Determinants of A_n/√n − zI Converge to μ's Log-Potential for a.e. zResearch Paper

Motivation

The eigenvalues of a large non-Hermitian random matrix are hard to study directly. For Hermitian matrices, the empirical spectral distribution (ESD) is controlled by the resolvent and the Stieltjes transform, both stable under small perturbations. For non-Hermitian matrices no such tool exists: eigenvalues can move a long way under tiny perturbations, and the moment method fails because moments do not determine a measure on C\mathbb CC. The route that works, going back to Girko (1984) and used by Bai (1997), Götze–Tikhomirov (2007), Pan–Zhou (2007) and Tao–Vu (2008), passes through logarithmic determinants. The identity 1nlog⁡∣det⁡(A−zI)∣=∫log⁡∣w−z∣ dμA(w)\frac1n\log|\det(A-zI)|=\int\log|w-z|\,d\mu_A(w)n1​log∣det(A−zI)∣=∫log∣w−z∣dμA​(w) links the ESD μA\mu_AμA​ to a scalar quantity. That scalar is computable from the singular values of A−zIA-zIA−zI, which are eigenvalues of a Hermitian matrix.

Tao and Vu, with an appendix by Krishnapur (Ann. Probab. 38 (2010) 2023–2065), turn this link into an exact criterion. Theorem 1.15 of that paper states that the ESD of a normalized i.i.d. random matrix converges to a measure μ\muμ if and only if the normalized log-determinants converge to the logarithmic potential of μ\muμ for almost every zzz. The same holds for a regularized version built from the singular values. This mission formalizes Theorem 1.15 and the main steps of its proof (§8 and Appendix A of the published article).

Setting

Let xxx be a complex random variable with Ex=0\mathbf E x=0Ex=0 and E∣x∣2=1\mathbf E|x|^2=1E∣x∣2=1, and let (xij)i,j≥1(x_{ij})_{i,j\ge1}(xij​)i,j≥1​ be independent copies of xxx on a probability space (Ω,P)(\Omega,\mathbf P)(Ω,P). For each nnn, Xn=(xij)1≤i,j≤nX_n=(x_{ij})_{1\le i,j\le n}Xn​=(xij​)1≤i,j≤n​. Let MnM_nMn​ be deterministic n×nn\times nn×n complex matrices with

(1.3)sup⁡n1n2∥Mn∥22<∞,∥M∥22=∑i,j∣mij∣2,\text{(1.3)}\qquad\sup_n\frac1{n^2}\|M_n\|_2^2<\infty,\qquad\|M\|_2^2=\sum_{i,j}|m_{ij}|^2,(1.3)nsup​n21​∥Mn​∥22​<∞,∥M∥22​=i,j∑​∣mij​∣2,

and put An=Mn+XnA_n=M_n+X_nAn​=Mn​+Xn​.

For A∈Mn(C)A\in M_n(\mathbb C)A∈Mn​(C) with eigenvalues λ1,…,λn\lambda_1,\dots,\lambda_nλ1​,…,λn​, counted with algebraic multiplicity, the ESD is μA=1n∑iδλi\mu_A=\frac1n\sum_i\delta_{\lambda_i}μA​=n1​∑i​δλi​​. Its singular values are σ1(A)≥⋯≥σn(A)≥0\sigma_1(A)\ge\dots\ge\sigma_n(A)\ge0σ1​(A)≥⋯≥σn​(A)≥0. A sequence of random measures μn\mu_nμn​ converges in probability to a deterministic μ\muμ if, for every continuous compactly supported f:C→Rf:\mathbb C\to\mathbb Rf:C→R, ∫f dμn−∫f dμ\int f\,d\mu_n-\int f\,d\mu∫fdμn​−∫fdμ tends to 000 in probability. It converges almost surely if, with probability one, ∫f dμn→∫f dμ\int f\,d\mu_n\to\int f\,d\mu∫fdμn​→∫fdμ for all such fff at once. The logarithmic potential of a measure μ\muμ is z↦∫log⁡∣w−z∣ dμ(w)z\mapsto\int\log|w-z|\,d\mu(w)z↦∫log∣w−z∣dμ(w).

Hypothesis (1.4) states that, for almost every zzz, the ESDs of the deterministic matrices (1nMn−zI)(1nMn−zI)∗(\frac1{\sqrt n}M_n-zI)(\frac1{\sqrt n}M_n-zI)^*(n​1​Mn​−zI)(n​1​Mn​−zI)∗ converge to a limit.

In Lean everything lives in the namespace UnivESD.LogDet. The ESD is esd, the one-based singular value is sv, logPotential is the logarithmic potential, and ConvInProb/ConvAS/ESDConvInProb/ESDConvAS are the modes of convergence. IIDArray is the entry model, HSBound is (1.3), shiftA M xs z n ω is 1nAn−zI\frac1{\sqrt n}A_n-zIn​1​An​−zI, and Cond14 is (1.4).

Formalization targets

Goal: Theorem 1.15

Let μ\muμ be a probability measure on C\mathbb CC with ∫∣z∣2 dμ<∞\int|z|^2\,d\mu<\infty∫∣z∣2dμ<∞. The following are equivalent:

  1. μ1nAn→μ\mu_{\frac1{\sqrt n}A_n}\to\muμn​1​An​​→μ in probability;
  2. for a.e. zzz, 1nlog⁡∣det⁡(1nAn−zI)∣→∫Clog⁡∣w−z∣ dμ(w)\displaystyle\frac1n\log\Big|\det\big(\tfrac1{\sqrt n}A_n-zI\big)\Big|\to\int_{\mathbb C}\log|w-z|\,d\mu(w)n1​log​det(n​1​An​−zI)​→∫C​log∣w−z∣dμ(w) in probability;
  3. for a.e. zzz there are εn>0\varepsilon_n>0εn​>0, εn→0\varepsilon_n\to0εn​→0, with
1nlog⁡det⁡((1nAn−zI)(1nAn−zI)∗+εnI)→2∫Clog⁡∣w−z∣ dμ(w)\frac1n\log\det\Big(\big(\tfrac1{\sqrt n}A_n-zI\big)\big(\tfrac1{\sqrt n}A_n-zI\big)^*+\varepsilon_nI\Big)\to2\int_{\mathbb C}\log|w-z|\,d\mu(w)n1​logdet((n​1​An​−zI)(n​1​An​−zI)∗+εn​I)→2∫C​log∣w−z∣dμ(w)

in probability.

Under (1.4) the same equivalence holds with almost sure convergence throughout.

Milestones, in the order the proof uses them

  • (8.1): for a.e. zzz, w↦log⁡∣w−z∣w\mapsto\log|w-z|w↦log∣w−z∣ is μ\muμ-integrable.
  • Lemma A.3 (Weyl's comparison for products): ∏j≤J∣λj∣≤∏j≤Jσj(A)\prod_{j\le J}|\lambda_j|\le\prod_{j\le J}\sigma_j(A)∏j≤J​∣λj​∣≤∏j≤J​σj​(A) and ∏j≥Jσj(A)≤∏j≥J∣λj∣\prod_{j\ge J}\sigma_j(A)\le\prod_{j\ge J}|\lambda_j|∏j≥J​σj​(A)≤∏j≥J​∣λj​∣.
  • (8.3): P(σn−i≤ci/n)=O(exp⁡(−n0.01))\mathbf P(\sigma_{n-i}\le ci/n)=O(\exp(-n^{0.01}))P(σn−i​≤ci/n)=O(exp(−n0.01)) for 2n0.99≤i≤n−12n^{0.99}\le i\le n-12n0.99≤i≤n−1.
  • (8.2): 1n∑i=1n(log⁡σi2+εn−log⁡σi)→0\frac1n\sum_{i=1}^n\big(\log\sqrt{\sigma_i^2+\varepsilon_n}-\log\sigma_i\big)\to0n1​∑i=1n​(logσi2​+εn​​−logσi​)→0 almost surely.
  • p. 2057: almost surely, eventually, 1n∑(1−κ)n<i≤nlog⁡1σi≤O(κlog⁡1κ)\frac1n\sum_{(1-\kappa)n<i\le n}\log\frac1{\sigma_i}\le O(\kappa\log\frac1\kappa)n1​∑(1−κ)n<i≤n​logσi​1​≤O(κlogκ1​), and the same bound for log⁡1∣λi∣\log\frac1{|\lambda_i|}log∣λi​∣1​.

Significance

Theorem 1.15 reduces convergence of a non-Hermitian ESD to a family of scalar limit statements. Each of these can be attacked through Hermitian tools, because the regularized log-determinant in (iii) is a smooth functional of the singular values. Corollary 1.16 of the paper derives from it a practical criterion: the ESD converges to μ\muμ once the singular value distributions of 1nAn−zI\frac1{\sqrt n}A_n-zIn​1​An​−zI converge for a.e. zzz to laws ηz\eta_zηz​ with ∫log⁡t dηz=2∫log⁡∣w−z∣ dμ\int\log t\,d\eta_z=2\int\log|w-z|\,d\mu∫logtdηz​=2∫log∣w−z∣dμ. With the universality principle (Theorem 1.5, the companion mission) and Mehta's computation for complex Gaussian matrices, this yields the circular law for i.i.d. matrices with finite variance.

The theorem is proved in the source. To our knowledge neither it nor any of its milestones has a machine-checked proof. Mathlib has the ingredients for the objects (characteristic polynomials and their roots, LinearMap.singularValues, the strong law of large numbers) but not the results. A formal proof would give the platform its first verified bridge between eigenvalue and singular value asymptotics. Lemma A.3 alone, Weyl's multiplicative majorization, is a standard linear-algebra fact absent from Mathlib.

Difficulty

Two things make the obvious argument fail. First, log⁡\loglog is unbounded at 000. Vague convergence of μ1nAn\mu_{\frac1{\sqrt n}A_n}μn​1​An​​ controls ∫f dμn\int f\,d\mu_n∫fdμn​ only for continuous compactly supported fff, while log⁡∣w−z∣\log|w-z|log∣w−z∣ has a singularity at w=zw=zw=z and grows at infinity. Passing between (i) and (ii) therefore requires uniform control of the eigenvalues (and singular values) near 000 after the shift: the contribution of the smallest ones must vanish. Second, eigenvalues are not stable under perturbation, so this control cannot be read off the eigenvalues. It has to come from the singular values, through a lower-tail bound on σn−i\sigma_{n-i}σn−i​ that is exponentially small in a power of nnn, and through a deterministic inequality transferring bounds from singular values to eigenvalues. The smallest singular values (iii below n0.99n^{0.99}n0.99) need a separate polynomial lower bound (the paper's Lemma 4.1, posed in the companion mission). The tail bound in its printed form is false at that end of the range.

Formalization scope

Conventions committed to in Lean:

  • The ESD is n−1n^{-1}n−1 times the sum of Dirac masses over the root multiset of the characteristic polynomial, so multiplicities are kept. Test functions are real-valued, continuous and compactly supported. Almost sure ESD convergence uses one null set for all test functions.
  • The matrices XnX_nXn​ are the top-left corners of one infinite i.i.d. array. In-probability statements do not depend on how the XnX_nXn​ are coupled across nnn, but almost-sure statements do, and the paper's proof applies the strong law to this array. The limit in (1.4) is required to be a probability measure, which is equivalent under (1.3).
  • The second-moment condition on μ\muμ is Integrable (‖w‖²) μ. The logarithmic potential is a Bochner integral, which is 000 when not integrable; by (8.1) this happens only for a null set of zzz, which "for a.e. zzz" ignores.
  • Real.log 0 = 0. In (ii), a singular matrix would contribute 000 instead of −∞-\infty−∞; for this model the determinant is almost surely nonzero eventually. Every milestone with log⁡σi\log\sigma_ilogσi​ or log⁡∣λi∣\log|\lambda_i|log∣λi​∣ carries positivity of those quantities in its conclusion.
  • Singular values are one-based (sv A i is Mathlib's singularValues (i-1)). Eigenvalue enumerations are Fin n-indexed, and the paper's λi\lambda_iλi​ is index i−1i-1i−1.
  • The paper's O(⋅)O(\cdot)O(⋅) constants are existential and fixed before nnn. In the κlog⁡(1/κ)\kappa\log(1/\kappa)κlog(1/κ) bounds the constant is fixed before κ\kappaκ; a κ\kappaκ-dependent constant would make the bounds empty.

Disclosed corrections to the printed text:

  1. (iii)'s matrix. Theorem 1.15 prints a mis-bracketed product, and (1.8) prints (C+εnI)(C∗+εnI)(C+\varepsilon_nI)(C^*+\varepsilon_nI)(C+εn​I)(C∗+εn​I). The Lean uses CC∗+εnICC^*+\varepsilon_nICC∗+εn​I with C=1nAn−zIC=\frac1{\sqrt n}A_n-zIC=n​1​An​−zI, the matrix of (8.2) and of the proof of Corollary 1.16.
  2. (8.3)'s range. It is printed for 1≤i≤n−n0.991\le i\le n-n^{0.99}1≤i≤n−n0.99, which is false for small iii: for Gaussian entries and Mn=0M_n=0Mn​=0, nσn−1n\sigma_{n-1}nσn−1​ has a non-degenerate limit law. It is posed on 2n0.99≤i≤n−12n^{0.99}\le i\le n-12n0.99≤i≤n−1, the range the proof covers and the use needs.
  3. Lemma A.3, second inequality. It is posed for 1≤J≤n1\le J\le n1≤J≤n, since σ0\sigma_0σ0​ is undefined. The eigenvalues are ordered ∣λ1∣≥⋯≥∣λn∣|\lambda_1|\ge\dots\ge|\lambda_n|∣λ1​∣≥⋯≥∣λn​∣, not ∣λ1∣≤⋯≤∣λn∣|\lambda_1|\le\dots\le|\lambda_n|∣λ1​∣≤⋯≤∣λn​∣ as printed: the printed order is a slip. With it, both inequalities are weaker than Weyl's and cannot support the use on p. 2057, which orders the eigenvalues decreasingly. The decreasing order implies the printed form.
  4. (8.2) and (8.1). (8.2) is stated for every deterministic εn>0\varepsilon_n>0εn​>0 with εn→0\varepsilon_n\to0εn​→0; the proof uses nothing else. (8.1) is stated as μ\muμ-integrability plus local integrability of z↦∫∣log⁡∣w−z∣∣ dμ(w)z\mapsto\int|\log|w-z||\,d\mu(w)z↦∫∣log∣w−z∣∣dμ(w).

A trivializing formalization is ruled out by construction. The goal mentions only AnA_nAn​ and μ\muμ. The proof's comparison ensemble Bn=n diag(λi)B_n=\sqrt n\,\mathrm{diag}(\lambda_i)Bn​=n​diag(λi​) is not a hypothesis. No statement takes a log-potential or a log-determinant as an input that could be fixed to make it hold.

The companion mission (Theorem 1.5, universality) poses Theorem 2.1 (the replacement principle), Lemma 1.7 (tightness) and Lemma 4.1 (least singular value), which the proof here also uses. They are not restated here. Once that mission is published they belong here as references. Contributions are welcome on the linear-algebra layer (Lemma A.3, multiplicative Weyl majorization), the Fubini argument of (8.1), and the singular-value tail bound (8.3). These are reusable well beyond this paper.

Selected references

  • T. Tao, V. Vu (appendix by M. Krishnapur), Random matrices: Universality of ESDs and the circular law, Ann. Probab. 38(5) (2010) 2023–2065. https://doi.org/10.1214/10-AOP534 (source of this mission; published version).
  • V. L. Girko, The circular law, Teor. Veroyatnost. i Primenen. 29 (1984) 669–679. https://doi.org/10.1137/1129095
  • Z. D. Bai, Circular law, Ann. Probab. 25(1) (1997) 494–529. https://doi.org/10.1214/aop/1024404298
  • F. Götze, A. Tikhomirov, The circular law for random matrices, Ann. Probab. 38(4) (2010) 1444–1491. https://doi.org/10.1214/09-AOP522
  • T. Tao, V. Vu, Random matrices: the circular law, Commun. Contemp. Math. 10(2) (2008) 261–307. https://doi.org/10.1142/S0219199708002788
  • H. Weyl, Inequalities between the two kinds of eigenvalues of a linear transformation, Proc. Natl. Acad. Sci. USA 35 (1949) 408–411. https://doi.org/10.1073/pnas.35.7.408
10 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

The Primal-Dual Active Set Strategy as a Semismooth Newton Method III: Global Convergence under the Norm and Cone ConditionsResearch Paper

Motivation

Obstacle problems, contact problems and control-constrained optimal control problems lead, after discretization, to complementarity systems of the form "find y≤ψy \le \psiy≤ψ and λ≥0\lambda \ge 0λ≥0 with Ay+λ=fAy + \lambda = fAy+λ=f and λi(yi−ψi)=0\lambda_i(y_i - \psi_i) = 0λi​(yi​−ψi​)=0". The primal-dual active set strategy solves such systems by guessing which constraints are active, solving one linear system, and updating the guess. It is widely used because each iteration is a single linear solve and, in practice, it terminates after few iterations.

Hintermüller, Ito and Kunisch (SIAM J. Optim. 13(3), 2002; authors' version hal-01660511v1) showed that the strategy is a semismooth Newton method applied to a reformulation of the complementarity system with a max-function. This gives local superlinear convergence. For global convergence, from arbitrary initial data, the paper gives three sufficient conditions on the matrix AAA: the M-matrix case (Theorem 3.2), the condition of Theorem 3.3 treated in this mission, and small perturbations of M-matrices (Theorem 3.4). Theorem 3.3 is the one that goes beyond sign patterns: it covers P-matrices whose blocks satisfy a norm bound and a cone condition, with the sum of the components of yyy serving as a merit function.

Setting

Fix n≥0n \ge 0n≥0, a matrix A∈Rn×nA \in \mathbb{R}^{n \times n}A∈Rn×n, vectors f,ψ∈Rnf, \psi \in \mathbb{R}^nf,ψ∈Rn and a parameter c>0c > 0c>0. Vectors are ordered componentwise. The problem is

Ay+λ=f,λ−max⁡(0,λ+c(y−ψ))=0,(3.1)Ay + \lambda = f, \qquad \lambda - \max\big(0, \lambda + c(y - \psi)\big) = 0, \tag{3.1}Ay+λ=f,λ−max(0,λ+c(y−ψ))=0,(3.1)

with the maximum taken componentwise. In the paper's notation the matrix is AAA and the index sets are calligraphic: A\mathcal{A}A (active) and I\mathcal{I}I (inactive).

A P-matrix is a square matrix all of whose principal minors are positive. For an index set I⊆{1,…,n}\mathcal{I} \subseteq \{1,\dots,n\}I⊆{1,…,n} with complement A\mathcal{A}A, AIA_{\mathcal{I}}AI​ is the principal submatrix of AAA on I\mathcal{I}I, and AIAA_{\mathcal{I}\mathcal{A}}AIA​ is the submatrix with rows in I\mathcal{I}I and columns in A\mathcal{A}A. For a P-matrix every AIA_{\mathcal{I}}AI​ is invertible.

The primal-dual active set algorithm starts from an arbitrary pair (y0,λ0)(y^0, \lambda^0)(y0,λ0). Given (yk,λk)(y^k, \lambda^k)(yk,λk) it sets

Ak={i:λik+c(yik−ψi)>0},Ik={i:λik+c(yik−ψi)≤0},\mathcal{A}_k = \{ i : \lambda^k_i + c(y^k_i - \psi_i) > 0 \}, \qquad \mathcal{I}_k = \{ i : \lambda^k_i + c(y^k_i - \psi_i) \le 0 \},Ak​={i:λik​+c(yik​−ψi​)>0},Ik​={i:λik​+c(yik​−ψi​)≤0},

and determines (yk+1,λk+1)(y^{k+1}, \lambda^{k+1})(yk+1,λk+1) from

Ayk+1+λk+1=f,yk+1=ψ on Ak,λk+1=0 on Ik.Ay^{k+1} + \lambda^{k+1} = f, \qquad y^{k+1} = \psi \text{ on } \mathcal{A}_k, \qquad \lambda^{k+1} = 0 \text{ on } \mathcal{I}_k .Ayk+1+λk+1=f,yk+1=ψ on Ak​,λk+1=0 on Ik​.

For a rectangular matrix BBB, B+B_+B+​ is the matrix of the positive parts max⁡(0,bij)\max(0, b_{ij})max(0,bij​) of its entries, and ∥⋅∥1\|\cdot\|_1∥⋅∥1​ is the matrix norm subordinate to the one-norms, i.e. the maximal absolute column sum. Thus ∥B+∥1=max⁡j∑imax⁡(0,bij)\|B_+\|_1 = \max_j \sum_i \max(0, b_{ij})∥B+​∥1​=maxj​∑i​max(0,bij​).

Formalization targets

Goal: Theorem 3.3

If AAA is a P-matrix and for every partition of {1,…,n}\{1, \dots, n\}{1,…,n} into disjoint sets I\mathcal{I}I and A\mathcal{A}A

∥(AI−1AIA)+∥1<1and∑i∈I(AI−1v)i≥0  for all v≥0,\big\|(A_{\mathcal{I}}^{-1} A_{\mathcal{I}\mathcal{A}})_+\big\|_1 < 1 \qquad\text{and}\qquad \sum_{i \in \mathcal{I}} (A_{\mathcal{I}}^{-1} v)_i \ge 0 \ \text{ for all } v \ge 0,​(AI−1​AIA​)+​​1​<1andi∈I∑​(AI−1​v)i​≥0  for all v≥0,

then for every solution x∗=(y∗,λ∗)x^* = (y^*, \lambda^*)x∗=(y∗,λ∗) of (3.1) and every run of the algorithm, xk=(yk,λk)→x∗x^k = (y^k, \lambda^k) \to x^*xk=(yk,λk)→x∗.

Milestones

The proof in the paper passes through the following claims, in order: the sign facts λIkk≤0\lambda^k_{\mathcal{I}_k} \le 0λIk​k​≤0 and yAkk≥ψAky^k_{\mathcal{A}_k} \ge \psi_{\mathcal{A}_k}yAk​k​≥ψAk​​ for k≥1k \ge 1k≥1; the update formula on the inactive set derived from the Newton system (3.3); inequality (3.6); inequality (3.7),

∑i=1n(yik+1−yik)≤−∥yk−ψ∥1,Ak+∥(AIk−1AIkAk)+∥1 ∥yk−ψ∥1,Ak;\sum_{i=1}^n (y^{k+1}_i - y^k_i) \le -\|y^k - \psi\|_{1,\mathcal{A}_k} + \big\|(A_{\mathcal{I}_k}^{-1} A_{\mathcal{I}_k\mathcal{A}_k})_+\big\|_1 \, \|y^k - \psi\|_{1,\mathcal{A}_k};i=1∑n​(yik+1​−yik​)≤−∥yk−ψ∥1,Ak​​+​(AIk​−1​AIk​Ak​​)+​​1​∥yk−ψ∥1,Ak​​;

and the fact that a repeated active set yields a solution of (3.1).

Companion statements

Existence of a run from every initial pair when AAA is a P-matrix; Remark 3.3 (an M-matrix satisfies the conditions of Theorem 3.3); and the stronger conclusion of the proof, that every run reaches x∗x^*x∗ after finitely many steps.

Significance

Theorem 3.3 gives global convergence of the primal-dual active set strategy for a class of matrices that is not restricted to M-matrices, and identifies M(y)=∑iyi\mathcal{M}(y) = \sum_i y_iM(y)=∑i​yi​ as a merit function under its two conditions. The paper points out that the result applies to discretizations of control-constrained optimal control problems, where the system matrix is generally not an M-matrix, and Remark 3.3 shows that the M-matrix case falls under it.

The result is proved on paper; none of it has been machine-checked. A formal development would produce a checked global convergence theorem for a semismooth Newton method, together with reusable statements about principal blocks of P-matrices and the subordinate one-norm of a positive part. The step from "the merit function does not increase" to convergence is the part of the paper's argument that a formal proof has to make fully precise (see below).

Difficulty

The obvious route is the paper's: show that ∑iyik\sum_i y^k_i∑i​yik​ decreases strictly until the active set repeats, conclude that no active set can recur, and use finiteness of the set of possible active sets. The inequalities (3.6) and (3.7) give only a non-strict decrease. The paper's assertion "<0< 0<0, unless yk+1=yky^{k+1} = y^kyk+1=yk" does not follow from them as written: the right-hand side of (3.7) vanishes when yk=ψy^k = \psiyk=ψ on Ak\mathcal{A}_kAk​, and the cone condition permits ∑i∈I(AI−1λIk)i=0\sum_{i \in \mathcal{I}} (A_{\mathcal{I}}^{-1}\lambda^k_{\mathcal{I}})_i = 0∑i∈I​(AI−1​λIk​)i​=0 with λIk≠0\lambda^k_{\mathcal{I}} \neq 0λIk​=0. A complete proof has to exclude cycling among active sets at equal merit value by a further argument. That is the central difficulty of this mission, and the reason the strict part of (3.7) is not stated as a milestone.

Formalization scope

Vectors are Fin n → ℝ and matrices Matrix (Fin n) (Fin n) ℝ; index sets are Finset (Fin n) and blocks are submatrices along the subtype inclusion. The P-matrix predicate is the published definition RobinsonSR.Schur.IsPMatrix (every nonempty principal minor is positive). The algorithm is encoded as a relation between consecutive iterates, and a run is an infinite sequence related step by step with arbitrary initial data; the stopping option of the algorithm is not modelled. The solution of (3.1) enters as a hypothesis: for a P-matrix it exists and is unique, so no assumption beyond the paper is made. Convergence is convergence of (yk,λk)(y^k, \lambda^k)(yk,λk) in Rn×Rn\mathbb{R}^n \times \mathbb{R}^nRn×Rn. The parameter c>0c > 0c>0 is the paper's standing assumption.

Conventions committed to:

  • both conditions of Theorem 3.3 range over every index set, including I=∅\mathcal{I} = \emptysetI=∅ and I={1,…,n}\mathcal{I} = \{1,\dots,n\}I={1,…,n};
  • ∥B+∥1\|B_+\|_1∥B+​∥1​ is the maximal column sum of the positive part, computed as a supremum in R≥0\mathbb{R}_{\ge 0}R≥0​, and equals 000 for a matrix with no columns;
  • the cone condition is ∑i∈I(AI−1v)i≥0\sum_{i\in\mathcal{I}}(A_{\mathcal{I}}^{-1}v)_i \ge 0∑i∈I​(AI−1​v)i​≥0 for v≥0v \ge 0v≥0, not entrywise nonnegativity of AI−1A_{\mathcal{I}}^{-1}AI−1​;
  • the milestones on the iterates hold from k=1k = 1k=1 on, as in the paper.

The goal does not assume a decrease of the merit function or finite termination; a formalization that adds either as a hypothesis would be trivial and is ruled out. The run-existence companion shows that the hypothesis "let (yk,λk)(y^k,\lambda^k)(yk,λk) be a run" can be met, so the goal is not vacuous.

A complete development needs: invertibility of principal blocks of a P-matrix, the block form of one step, the elementary estimate of ∑i(Bx)i\sum_i (B x)_i∑i​(Bx)i​ by ∥B+∥1∑jxj\|B_+\|_1 \sum_j x_j∥B+​∥1​∑j​xj​ for x≥0x \ge 0x≥0, and an argument that excludes cycling. Proofs of any milestone, of the companion statements, or of the goal through an argument other than the paper's are welcome.

Selected references

  • M. Hintermüller, K. Ito, K. Kunisch, The primal-dual active set strategy as a semismooth Newton method, SIAM J. Optim. 13(3):865–888, 2002. https://doi.org/10.1137/S1052623401383558 ; authors' version https://hal.science/hal-01660511v1
  • A. Berman, R. J. Plemmons, Nonnegative Matrices in the Mathematical Sciences, Academic Press, 1979 (SIAM Classics reprint 1994). https://doi.org/10.1137/1.9781611971262
10 thms1 active userReviewed
ProbabilityRandom Matrix Theory·Captain: mikedeng1

Random Matrices: Universality of ESDs and the Circular Law 1: For i.i.d. Zero-Mean Unit-Variance Entries, the ESD of (M_n + X_n)/√n Does Not Depend on the Entry Distribution in the LimitResearch Paper

Motivation

The eigenvalues of a large random matrix with independent entries follow deterministic limiting laws. For non-Hermitian matrices with i.i.d. entries of mean zero and variance one, the circular law asserts that the eigenvalues of 1nXn\frac1{\sqrt n}X_nn​1​Xn​ become uniformly distributed on the unit disk. These laws are used across statistics (covariance and signal-plus-noise models), numerical analysis (spectra of perturbed matrices), mathematical physics and the theory of neural networks; what makes them usable is universality: the limit depends only on the mean and variance of the entries, not on their distribution.

Timeline of the circular law and its universality:

  • 1965: Ginibre computes the joint eigenvalue density for complex Gaussian entries; Mehta (1967) derives the circular law in that case.
  • 1984: Girko proposes a general approach via log-determinants; his argument has gaps.
  • 1997: Bai gives the first rigorous proof for continuous entries with finite (2+η)(2+\eta)(2+η)-th moment and bounded density.
  • 2007–2008: Götze–Tikhomirov, Pan–Zhou and Tao–Vu remove the density assumption under extra moment conditions, using lower bounds on the least singular value.
  • 2010: Tao and Vu (Ann. Probab. 38 (2010) 2023–2065) prove universality under the minimal assumption of finite variance, and with a deterministic shift MnM_nMn​; the circular law in full generality follows.

This mission formalizes the main universality theorem of that paper (Theorem 1.5) together with the lemmas its proof rests on.

Setting

Let AAA be an n×nn\times nn×n complex matrix with eigenvalues λ1,…,λn\lambda_1,\dots,\lambda_nλ1​,…,λn​, counted with algebraic multiplicity. Its empirical spectral distribution (ESD) is the probability measure

μA=1n∑i=1nδλi\mu_A=\frac1n\sum_{i=1}^n\delta_{\lambda_i}μA​=n1​i=1∑n​δλi​​

on C\mathbb CC. The Hilbert–Schmidt norm is ∥A∥22=trace(AA∗)=∑i,j∣aij∣2\|A\|_2^2=\mathrm{trace}(AA^*)=\sum_{i,j}|a_{ij}|^2∥A∥22​=trace(AA∗)=∑i,j​∣aij​∣2.

A complex random variable xxx has zero mean and unit variance if Ex=0\mathbf E x=0Ex=0 and E∣x∣2=1\mathbf E|x|^2=1E∣x∣2=1. Given such xxx and yyy, let Xn=(xij)1≤i,j≤nX_n=(x_{ij})_{1\le i,j\le n}Xn​=(xij​)1≤i,j≤n​ and Yn=(yij)1≤i,j≤nY_n=(y_{ij})_{1\le i,j\le n}Yn​=(yij​)1≤i,j≤n​ have entries that are i.i.d. copies of xxx, resp. yyy. Let MnM_nMn​ be deterministic n×nn\times nn×n matrices with

sup⁡n1n2∥Mn∥22<∞,(1.3)\sup_n\frac1{n^2}\|M_n\|_2^2<\infty,\qquad(1.3)nsup​n21​∥Mn​∥22​<∞,(1.3)

and set An=Mn+XnA_n=M_n+X_nAn​=Mn​+Xn​, Bn=Mn+YnB_n=M_n+Y_nBn​=Mn​+Yn​.

Measures on C\mathbb CC carry the vague topology: test functions are continuous compactly supported f:C→Rf:\mathbb C\to\mathbb Rf:C→R. The random measures μ1nAn−μ1nBn\mu_{\frac1{\sqrt n}A_n}-\mu_{\frac1{\sqrt n}B_n}μn​1​An​​−μn​1​Bn​​ converge to zero in probability if, for every test function fff and ε>0\varepsilon>0ε>0,

P(∣∫f dμ1nAn−∫f dμ1nBn∣≥ε)→0,\mathbf P\Bigl(\Bigl|\int f\,d\mu_{\frac1{\sqrt n}A_n}-\int f\,d\mu_{\frac1{\sqrt n}B_n}\Bigr|\ge\varepsilon\Bigr)\to0,P(​∫fdμn​1​An​​−∫fdμn​1​Bn​​​≥ε)→0,

and almost surely if, with probability one, the difference of integrals tends to zero for every test function. The additional hypothesis

(1.4)μ(1nMn−zI)(1nMn−zI)∗ converges for almost every z∈C(1.4)\qquad \mu_{(\frac1{\sqrt n}M_n-zI)(\frac1{\sqrt n}M_n-zI)^*}\ \text{converges for almost every } z\in\mathbb C(1.4)μ(n​1​Mn​−zI)(n​1​Mn​−zI)∗​ converges for almost every z∈C

concerns only the deterministic shift.

Formalization targets

Goal: Theorem 1.5 (universality principle)

μ1nAn−μ1nBn⟶0 in probability;(1.4) ⟹ μ1nAn−μ1nBn⟶0 almost surely.\mu_{\frac1{\sqrt n}A_n}-\mu_{\frac1{\sqrt n}B_n}\longrightarrow0\ \text{in probability};\qquad (1.4)\ \Longrightarrow\ \mu_{\frac1{\sqrt n}A_n}-\mu_{\frac1{\sqrt n}B_n}\longrightarrow0\ \text{almost surely}.μn​1​An​​−μn​1​Bn​​⟶0 in probability;(1.4) ⟹ μn​1​An​​−μn​1​Bn​​⟶0 almost surely.

The statement involves no limiting law: it compares two ensembles, so it holds whether or not μ1nAn\mu_{\frac1{\sqrt n}A_n}μn​1​An​​ itself converges.

Milestones

The proof combines three results, each a milestone:

  • Theorem 2.1 (replacement principle), in probability and almost surely: if 1n2(∥An∥22+∥Bn∥22)\frac1{n^2}(\|A_n\|_2^2+\|B_n\|_2^2)n21​(∥An​∥22​+∥Bn​∥22​) is bounded and, for almost every zzz, 1nlog⁡∣det⁡(1nAn−zI)∣−1nlog⁡∣det⁡(1nBn−zI)∣→0\frac1n\log|\det(\frac1{\sqrt n}A_n-zI)|-\frac1n\log|\det(\frac1{\sqrt n}B_n-zI)|\to0n1​log∣det(n​1​An​−zI)∣−n1​log∣det(n​1​Bn​−zI)∣→0, then μ1nAn−μ1nBn→0\mu_{\frac1{\sqrt n}A_n}-\mu_{\frac1{\sqrt n}B_n}\to0μn​1​An​​−μn​1​Bn​​→0.
  • Lemma 1.7 (tightness): 1n2∥An∥22\frac1{n^2}\|A_n\|_2^2n21​∥An​∥22​ and ∫∣z∣2 dμ1nAn\int|z|^2\,d\mu_{\frac1{\sqrt n}A_n}∫∣z∣2dμn​1​An​​ are almost surely bounded.
  • Proposition 2.2 (converging determinant): for every zzz, the log-determinant difference (2.2) tends to zero in probability, and almost surely if (1.4) holds at zzz.

Supporting milestones: the linear-algebra Lemmas A.1 (interlacing), A.2 (Weyl's second-moment inequality) and A.4 (negative second moment); the probabilistic dominated convergence Lemma 3.1; Girko's identity (Lemma 3.3); the least singular value bound (Lemma 4.1); the lower tail bound for distances to subspaces (Proposition 5.1); and the high- and low-dimensional row contributions (Lemmas 4.2 and 4.3).

Significance

The result. Theorem 1.5 with Mn=0M_n=0Mn​=0 and yyy complex Gaussian transfers Mehta's computation for the Ginibre ensemble to every zero-mean unit-variance entry distribution: this is the circular law under the optimal moment assumption (Theorem 1.10 of the paper). With nonzero MnM_nMn​ it gives universality for perturbed and non-centred matrices, including results with entries of nonzero mean. The replacement principle (Theorem 2.1) is a general tool: it reduces vague convergence of non-Hermitian ESDs to convergence of log-determinants and applies to ensembles without independent entries.

Formalizing it. The theorem is proved in the paper; no part of it, and no ESD of a non-Hermitian matrix, has been formalized. The mission produces a machine-checked statement of universality in the vague topology and a library of reusable pieces: ESDs of complex matrices, convergence of random measures in probability and almost surely, interlacing and Weyl-type inequalities for singular values, and Girko's identity. Lemmas 4.1 and 5.1 rest on results the paper cites (Tao–Vu's least singular value bound, Talagrand's concentration inequality); formalizing those is part of the work.

Difficulty

The ESD of a non-Hermitian matrix is not stable under small perturbations: eigenvalues of a nearly singular matrix can move a long way, so the moment method and the Stieltjes transform method that settle the Hermitian case do not apply. The log-determinant 1nlog⁡∣det⁡(1nAn−zI)∣\frac1n\log|\det(\frac1{\sqrt n}A_n-zI)|n1​log∣det(n​1​An​−zI)∣ is a stable proxy only if the small singular values of 1nAn−zI\frac1{\sqrt n}A_n-zIn​1​An​−zI are controlled, and with only a second moment on the entries the entries can be unbounded, which defeats standard concentration arguments. The obvious approach, comparing AnA_nAn​ and BnB_nBn​ by swapping entries one at a time, needs smooth bounded statistics of the matrix, and the log-determinant is neither: it is unbounded near singular matrices.

Formalization scope

Matrices are Matrix (Fin n) (Fin n) ℂ; eigenvalues are the roots of the characteristic polynomial as a multiset, so the ESD counts algebraic multiplicity; for n=0n=0n=0 the ESD is the zero measure, harmless because every statement is asymptotic. The Hilbert–Schmidt norm is written as an explicit sum, not Mathlib's default (sup) matrix norm. Singular values are Mathlib's zero-indexed LinearMap.singularValues, shifted so that σ1\sigma_1σ1​ is the largest.

Conventions committed to:

  • Coupling. XnX_nXn​ is the top-left n×nn\times nn×n corner of one infinite i.i.d. array; the almost-sure statements depend on this choice, the in-probability ones do not. No relation between the xxx- and yyy-arrays is assumed.
  • (1.4) asks for a probability measure as the vague limit; under (1.3) any vague limit of these ESDs is one.
  • Almost sure convergence of ESDs uses one null set for all test functions.
  • Junk values. Lean has log⁡0=0\log 0=0log0=0 and 1/0=01/0=01/0=0. Theorem 2.1 therefore states its "determinants are nonzero" clause explicitly, and Proposition 2.2 concludes it (the paper's (2.2) is −∞-\infty−∞ at a vanishing determinant, so its convergence includes nonvanishing); Lemmas 4.2 and 4.3 assert positivity of the row distances they take logarithms of; Lemma 3.1's (1+δ)(1+\delta)(1+δ)-moment is a lower integral with values in [0,∞][0,\infty][0,∞], since a Bochner integral would vanish for non-integrable functions and make the hypothesis vacuous.
  • O(⋅)O(\cdot)O(⋅) constants are existential and fixed before the quantities they must not depend on: before ε\varepsilonε in Lemmas 4.2 and 4.3, before the sample point in Lemma 4.1, after ccc and before n,d,Wn,d,Wn,d,W and the row shift in Proposition 5.1.
  • Section 4 setting. Lemmas 4.2 and 4.3 carry the standing reductions of §4 as hypotheses: z=0z=0z=0, the row bound (4.2) ∥Zi∥=O(n)\|Z_i\|=O(\sqrt n)∥Zi​∥=O(n​) for n/2≤i≤nn/2\le i\le nn/2≤i≤n (which the paper obtains by permuting rows), and, for Lemma 4.3, convergence of μ1nMnMn∗\mu_{\frac1nM_nM_n^*}μn1​Mn​Mn∗​​. Proposition 5.1 quantifies over every deterministic row shift.
  • Printed slip. On p. 2045 the YiY_iYi​ are called "the rows of 1nBn\frac1{\sqrt n}B_nn​1​Bn​" and then normalized again; here YiY_iYi​ are the rows of BnB_nBn​, matching XiX_iXi​.

A trivializing formalization is excluded: the goal mentions only ESDs, i.i.d. entries, (1.3) and (1.4) — no log-determinant or singular value hypothesis — and its in-probability half holds without (1.4). Lemmas 6.3 and 6.4 and the internal Lemmas 3.2, 3.4, 5.3, 6.1, 6.6, 6.7 and Theorems 5.2, B.1 are not posed. Contributions are welcome on any milestone, and particularly on the deterministic Lemmas A.1, A.2, A.4 and 3.3, which are reusable well beyond this mission.

Selected references

  • T. Tao, V. Vu (appendix by M. Krishnapur), Random matrices: universality of ESDs and the circular law, The Annals of Probability 38(5) (2010) 2023–2065. https://doi.org/10.1214/10-AOP534 (the source; the published article is the citation basis)
  • J. Ginibre, Statistical ensembles of complex, quaternion, and real matrices, J. Math. Phys. 6 (1965) 440–449. https://doi.org/10.1063/1.1704292
  • V. L. Girko, The circular law, Teor. Veroyatnost. i Primenen. 29 (1984) 669–679; English translation Theory Probab. Appl. 29 (1985) 694–706. https://doi.org/10.1137/1129095
  • Z. D. Bai, Circular law, Ann. Probab. 25 (1997) 494–529. https://doi.org/10.1214/aop/1024404298
  • T. Tao, V. Vu, Random matrices: the circular law, Commun. Contemp. Math. 10 (2008) 261–307. https://doi.org/10.1142/S0219199708002788
  • R. B. Dozier, J. W. Silverstein, On the empirical distribution of eigenvalues of large dimensional information-plus-noise-type matrices, J. Multivariate Anal. 98 (2007) 678–694. https://doi.org/10.1016/j.jmva.2006.09.006
17 thms1 active userReviewed
OptimizationProbabilityRandom Matrix Theory·Captain: mikedeng1

Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization 2: Nearly Isometric Random Maps Have δ_r ≤ δ with Probability 1 − e^(−c₁p) Once p ≥ c₀r(m+n)log(mn)Research Paper

Motivation

Many problems in system identification, collaborative filtering, low-dimensional embedding and model reduction ask for the matrix of least rank in an affine space. Affine rank minimization — given a linear map A:Rm×n→Rp\mathcal A:\mathbb R^{m\times n}\to\mathbb R^pA:Rm×n→Rp and b∈Rpb\in\mathbb R^pb∈Rp, find a matrix of minimum rank with A(X)=b\mathcal A(X)=bA(X)=b — is NP-hard in general. Recht, Fazel and Parrilo (arXiv:0706.4138; SIAM Review 52(3), 2010, doi:10.1137/070697835) showed that the convex relaxation which minimizes the nuclear norm ∥X∥∗\|X\|_*∥X∥∗​ (the sum of the singular values) instead of the rank recovers the minimum-rank solution exactly whenever A\mathcal AA satisfies a restricted isometry property on low-rank matrices. That deterministic theorem is the subject of the companion mission in this series.

A deterministic condition is only useful if maps satisfying it exist and are common. This mission formalizes the paper's second main result: random linear maps from a broad class — including Gaussian, symmetric Bernoulli and sparse random matrices — satisfy the restricted isometry property with overwhelming probability once the number of measurements ppp is of order r(m+n)log⁡(mn)r(m+n)\log(mn)r(m+n)log(mn). This parallels the role of random matrices in compressed sensing (Candès–Tao 2005; Baraniuk, Davenport, DeVore and Wakin 2008), where the vector restricted isometry property is established for random measurement matrices by a concentration and covering argument.

Setting

Write ⟨X,Y⟩=Tr⁡(X⊤Y)\langle X,Y\rangle=\operatorname{Tr}(X^\top Y)⟨X,Y⟩=Tr(X⊤Y) for the trace inner product on Rm×n\mathbb R^{m\times n}Rm×n and ∥X∥F\|X\|_F∥X∥F​ for the Frobenius norm. A linear map A:Rm×n→Rp\mathcal A:\mathbb R^{m\times n}\to\mathbb R^pA:Rm×n→Rp is given by ppp measurement matrices X1,…,XpX_1,\dots,X_pX1​,…,Xp​ through A(X)i=⟨Xi,X⟩\mathcal A(X)_i=\langle X_i,X\rangleA(X)i​=⟨Xi​,X⟩; ∥A(X)∥\|\mathcal A(X)\|∥A(X)∥ is the Euclidean norm in Rp\mathbb R^pRp, and ∥A∥=sup⁡{∥A(X)∥:∥X∥F≤1}\|\mathcal A\|=\sup\{\|\mathcal A(X)\|:\|X\|_F\le1\}∥A∥=sup{∥A(X)∥:∥X∥F​≤1} is the operator norm.

The rrr-restricted isometry constant δr(A)\delta_r(\mathcal A)δr​(A) (Definition 3.1) is the smallest δ≥0\delta\ge0δ≥0 such that

(1−δ)∥X∥F≤∥A(X)∥≤(1+δ)∥X∥Ffor all X with rank⁡X≤r.(1-\delta)\|X\|_F\le\|\mathcal A(X)\|\le(1+\delta)\|X\|_F\qquad\text{for all }X\text{ with }\operatorname{rank}X\le r.(1−δ)∥X∥F​≤∥A(X)∥≤(1+δ)∥X∥F​for all X with rankX≤r.

A random linear map A\mathcal AA is nearly isometrically distributed (Definition 4.1) if for every XXX, E∥A(X)∥2=∥X∥F2\mathbb E\|\mathcal A(X)\|^2=\|X\|_F^2E∥A(X)∥2=∥X∥F2​; for every X≠0X\ne0X=0 and 0<ϵ<10<\epsilon<10<ϵ<1,

P(∣∥A(X)∥2−∥X∥F2∣≥ϵ∥X∥F2)≤2exp⁡(−p2(ϵ2/2−ϵ3/3));\mathbb P\big(\big|\|\mathcal A(X)\|^2-\|X\|_F^2\big|\ge\epsilon\|X\|_F^2\big)\le2\exp\Big(-\frac p2\big(\epsilon^2/2-\epsilon^3/3\big)\Big);P(​∥A(X)∥2−∥X∥F2​​≥ϵ∥X∥F2​)≤2exp(−2p​(ϵ2/2−ϵ3/3));

and for some γ>0\gamma>0γ>0 and all t>0t>0t>0, P(∥A∥≥1+mn/p+t)≤exp⁡(−γpt2)\mathbb P(\|\mathcal A\|\ge1+\sqrt{mn/p}+t)\le\exp(-\gamma pt^2)P(∥A∥≥1+mn/p​+t)≤exp(−γpt2).

For subspaces T1,T2T_1,T_2T1​,T2​ of a Euclidean space, the projection distance is ρ(T1,T2)=∥PT1−PT2∥\rho(T_1,T_2)=\|P_{T_1}-P_{T_2}\|ρ(T1​,T2​)=∥PT1​​−PT2​​∥, the operator norm of the difference of the orthogonal projections (4.10). For subspaces V⊆RmV\subseteq\mathbb R^mV⊆Rm, W⊆RnW\subseteq\mathbb R^nW⊆Rn, the subspace Σ(V,W)⊆Rm×n\Sigma(V,W)\subseteq\mathbb R^{m\times n}Σ(V,W)⊆Rm×n consists of the matrices whose column space lies in VVV and whose row space lies in WWW.

Formalization targets

Goal: Theorem 4.2

Fix 0<δ<10<\delta<10<δ<1. There are c0,c1>0c_0,c_1>0c0​,c1​>0 depending only on δ\deltaδ such that for all 1≤r≤m≤n1\le r\le m\le n1≤r≤m≤n with mn≥2mn\ge2mn≥2, all p≥c0 r(m+n)log⁡(mn)p\ge c_0\,r(m+n)\log(mn)p≥c0​r(m+n)log(mn), and every nearly isometric random map A:Rm×n→Rp\mathcal A:\mathbb R^{m\times n}\to\mathbb R^pA:Rm×n→Rp,

P(δr(A)>δ)≤e−c1p.\mathbb P\big(\delta_r(\mathcal A)>\delta\big)\le e^{-c_1p}.P(δr​(A)>δ)≤e−c1​p.

Milestones

  • Lemma 4.3. For a fixed subspace UUU with d=dim⁡U≤pd=\dim U\le pd=dimU≤p and 0<δ<10<\delta<10<δ<1, the map is a δ\deltaδ-isometry on all of UUU except with probability at most 2(12/δ)dexp⁡(−p2(δ2/8−δ3/24))2(12/\delta)^d\exp(-\frac p2(\delta^2/8-\delta^3/24))2(12/δ)dexp(−2p​(δ2/8−δ3/24)).
  • Lemma 4.4. If A\mathcal AA is a δ\deltaδ-isometry on a ddd-dimensional U1U_1U1​, it is a δ′\delta'δ′-isometry on any ddd-dimensional U2U_2U2​, with δ′=δ+(1+∥A∥)ρ(U1,U2)\delta'=\delta+(1+\|\mathcal A\|)\rho(U_1,U_2)δ′=δ+(1+∥A∥)ρ(U1​,U2​).
  • (4.17). ρ(Σ(V1,W1),Σ(V2,W2))≤ρ(V1,V2)+ρ(W1,W2)\rho(\Sigma(V_1,W_1),\Sigma(V_2,W_2))\le\rho(V_1,V_2)+\rho(W_1,W_2)ρ(Σ(V1​,W1​),Σ(V2​,W2​))≤ρ(V1​,V2​)+ρ(W1​,W2​).
  • Lemma 4.5. For 0<ϵ≤10<\epsilon\le10<ϵ≤1, the family {Σ(V,W):dim⁡V=dim⁡W=r}\{\Sigma(V,W):\dim V=\dim W=r\}{Σ(V,W):dimV=dimW=r} has an ϵ\epsilonϵ-net in ρ\rhoρ of size at most (2C0/ϵ)r(m+n−2r)(2C_0/\epsilon)^{r(m+n-2r)}(2C0​/ϵ)r(m+n−2r), with C0C_0C0​ absolute.

Significance

The theorem supplies the hypothesis of the paper's recovery theorem for random measurements: with δ=1/10\delta=1/10δ=1/10 and rank 5r5r5r, it shows that O(r(m+n)log⁡(mn))O(r(m+n)\log(mn))O(r(m+n)log(mn)) random linear measurements suffice for nuclear norm minimization to recover every matrix of rank at most rrr exactly. Since a rank-rrr matrix has r(m+n−r)r(m+n-r)r(m+n−r) degrees of freedom, this is within a logarithmic factor of the information-theoretic count. The result made the nuclear norm heuristic a guaranteed method and seeded the theory of low-rank matrix recovery, including matrix completion.

The result is proved in the paper, though Lemma 4.5 rests on Szarek's covering estimates for the Grassmannian, cited without proof. To the best of the curators' search of the platform, none of these statements is machine-checked: there is no formal treatment of the matrix restricted isometry property, of nets on Grassmannians in the projection metric, or of nearly isometric random maps. A formalization would supply the probabilistic half of a fully verified low-rank recovery guarantee, together with reusable pieces — the projection distance, the stability of near isometry under subspace perturbation, and a covering bound for Grassmannians.

Difficulty

The set of matrices of rank at most rrr is not a subspace, so concentration for one matrix and a union bound over a single net in Rm×n\mathbb R^{m\times n}Rm×n do not suffice: a net of the unit ball of all matrices has size exponential in mnmnmn, which would require ppp of order mnmnmn. The set must instead be covered by finitely many r2r^2r2-dimensional subspaces, which requires a quantitative covering of the Grassmannians G(m,r)G(m,r)G(m,r) and G(n,r)G(n,r)G(n,r) in the projection distance — the content of Lemma 4.5, whose source in the literature (Szarek) does not give the constant explicitly. A second subtlety is that the event "A\mathcal AA is a near-isometry on all of a subspace" involves an uncountable family of matrices, and the bound for the supremum of ∥A(X)∥\|\mathcal A(X)\|∥A(X)∥ over a unit sphere has to be controlled from the finitely many points of a net.

Formalization scope

All statements live in the namespace MinRankRecovery.RandomRIP. Matrices are Matrix (Fin m) (Fin n) ℝ; the Frobenius norm and the trace inner product come from the published module HighDimStat_MatrixRank_Core. A linear map is represented by its ppp measurement matrices Xs : Fin p → Matrix (Fin m) (Fin n) ℝ, which loses no generality. A random map is Xs : Ω → Fin p → Matrix … on a probability space (Ω, μ), with measurable entries.

Conventions committed to:

  • δr\delta_rδr​ is the infimum of the admissible δ≥0\delta\ge0δ≥0 and is defined for every rrr; the paper's 1≤r≤m≤n1\le r\le m\le n1≤r≤m≤n appears as hypotheses of the goal.
  • ∥A∥\|\mathcal A\|∥A∥ is a supremum over the nonempty, bounded Frobenius unit ball.
  • (4.1) includes integrability. (4.2) is imposed for X≠0X\ne0X=0 only, since at X=0X=0X=0 the printed inequality fails for large ppp. γ\gammaγ in (4.3) may depend on the distribution and dimensions.
  • Probability statements bound the (outer) measure of the failure event, since events quantified over all matrices need not be measurable.
  • For ρ\rhoρ and Σ(V,W)\Sigma(V,W)Σ(V,W), matrices are vectorized into EuclideanSpace ℝ (Fin m × Fin n), which carries the Frobenius inner product. Lemma 4.4 is stated on EuclideanSpace ℝ ι for any finite index type.
  • Real.log is the natural logarithm.

Two printed statements are corrected. Theorem 4.2 assumes mn≥2mn\ge2mn≥2: at m=n=r=1m=n=r=1m=n=r=1, log⁡(mn)=0\log(mn)=0log(mn)=0 and a two-point random scalar map is nearly isometric while violating the conclusion. Lemma 4.5 is posed for 0<ϵ≤10<\epsilon\le10<ϵ≤1, since for large ϵ\epsilonϵ the right side drops below 111.

The constants c0,c1c_0,c_1c0​,c1​ of the goal are quantified before the dimensions, the distribution and γ\gammaγ; a formalization in which they may depend on m,n,p,rm,n,p,rm,n,p,r or on the distribution, or in which the near-isometry hypothesis is unsatisfiable, would be trivial and is ruled out by these choices.

A complete development needs: orthogonal projections and operator norms on finite-dimensional inner product spaces (Mathlib), volumetric ϵ\epsilonϵ-nets of spheres in subspaces, covering bounds for real Grassmannians in the projection metric, and the measure-theoretic union bound. The Grassmannian covering bound and the stability lemma are reusable beyond this mission. Contributions of any milestone, including Lemma 4.5 on its own, are welcome.

Selected references

  • B. Recht, M. Fazel, P. A. Parrilo, Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization, SIAM Review 52(3):471–501, 2010. Preprint arXiv:0706.4138v1. https://arxiv.org/abs/0706.4138
  • E. J. Candès, T. Tao, Decoding by Linear Programming, IEEE Trans. Inform. Theory 51(12), 2005. https://doi.org/10.1109/TIT.2005.858979
  • R. Baraniuk, M. Davenport, R. DeVore, M. Wakin, A Simple Proof of the Restricted Isometry Property for Random Matrices, Constructive Approximation 28(3), 2008. https://doi.org/10.1007/s00365-007-9003-x
  • S. J. Szarek, Metric entropy of homogeneous spaces, in Quantum Probability, Banach Center Publ. 43, 1998. https://arxiv.org/abs/math/9701213
  • E. J. Candès, Y. Plan, Tight Oracle Inequalities for Low-Rank Matrix Recovery From a Minimal Number of Noisy Random Measurements, IEEE Trans. Inform. Theory 57(4), 2011. https://arxiv.org/abs/1001.0339
9 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

Projection-like Retractions on Matrix Manifolds IV: Within σ_r(X̄)/2 of a Rank-r Matrix, the Truncated SVD Is the Unique Nearest Matrix of Rank Exactly rResearch Paper

Motivation

Optimization over sets of matrices of fixed rank comes up in low-rank matrix completion, model reduction, and the low-rank approximation of solutions of large matrix equations. A standard approach treats the constraint set as a Riemannian manifold and runs gradient or Newton-type methods on it (Absil, Mahony & Sepulchre 2008). Each iteration takes a step in the tangent space and then has to return to the manifold. A map that does this to first order is called a retraction, and its cost is often what decides whether a manifold method is practical.

Absil and Malick (2012) study retractions defined by projection: step to X+ZX+ZX+Z in the ambient space, then take the nearest point of the manifold. Their Proposition 3.2 shows that for any CkC^kCk submanifold (k≥2k\ge2k≥2) this projective retraction is a retraction. Section 3.2 makes it explicit for the manifold of fixed-rank matrices: near any matrix of rank rrr, the nearest matrix of rank exactly rrr is the truncated singular value decomposition (Proposition 3.3). Section 4.4 also gives a closed form for a second retraction on the same manifold, the orthographic retraction (Proposition 4.11).

Setting

Fix natural numbers nnn, mmm and r≥1r\ge1r≥1. The space Rn×m\mathbb R^{n\times m}Rn×m of real n×mn\times mn×m matrices carries the Frobenius norm ∥X∥2=∑i,jXij2=trace⁡(X⊤X)\|X\|^2=\sum_{i,j}X_{ij}^2=\operatorname{trace}(X^\top X)∥X∥2=∑i,j​Xij2​=trace(X⊤X) (3.6). The fixed-rank set is

Rr={X∈Rn×m: rank⁡(X)=r},\mathcal R_r=\{X\in\mathbb R^{n\times m}:\ \operatorname{rank}(X)=r\},Rr​={X∈Rn×m: rank(X)=r},

a smooth submanifold of Rn×m\mathbb R^{n\times m}Rn×m. It is not closed: its closure is the set of matrices of rank at most rrr.

A singular value decomposition (3.5) of XXX is a factorization X=UΣV⊤X=U\Sigma V^\topX=UΣV⊤ in which U=[u1,…,un]∈Rn×nU=[u_1,\dots,u_n]\in\mathbb R^{n\times n}U=[u1​,…,un​]∈Rn×n and V=[v1,…,vm]∈Rm×mV=[v_1,\dots,v_m]\in\mathbb R^{m\times m}V=[v1​,…,vm​]∈Rm×m are orthogonal and Σ∈Rn×m\Sigma\in\mathbb R^{n\times m}Σ∈Rn×m is zero off its diagonal. The diagonal of Σ\SigmaΣ holds the singular values of XXX in nonincreasing order,

σ1(X)≥σ2(X)≥⋯≥σmin⁡{n,m}(X)≥0,\sigma_1(X)\ge\sigma_2(X)\ge\cdots\ge\sigma_{\min\{n,m\}}(X)\ge0,σ1​(X)≥σ2​(X)≥⋯≥σmin{n,m}​(X)≥0,

and σi(X)=0\sigma_i(X)=0σi​(X)=0 for i>min⁡{n,m}i>\min\{n,m\}i>min{n,m}. A matrix has rank rrr exactly when σr(X)>0=σr+1(X)\sigma_r(X)>0=\sigma_{r+1}(X)σr​(X)>0=σr+1​(X). The truncated SVD of rank rrr is X^=∑i=1rσi(X)uivi⊤\hat X=\sum_{i=1}^r\sigma_i(X)u_iv_i^\topX^=∑i=1r​σi​(X)ui​vi⊤​ (3.7).

For a set QQQ and a point XXX, the projection PQ(X)P_Q(X)PQ​(X) is the set of nearest points: the Y∈QY\in QY∈Q with ∥X−Y∥≤∥X−W∥\|X-Y\|\le\|X-W\|∥X−Y∥≤∥X−W∥ for all W∈QW\in QW∈Q. For a set that is not closed, PQ(X)P_Q(X)PQ​(X) may be empty or contain several points.

Formalization targets

Goal: Proposition 3.3

Let Xˉ∈Rr\bar X\in\mathcal R_rXˉ∈Rr​. For every XXX with ∥X−Xˉ∥<σr(Xˉ)/2\|X-\bar X\|<\sigma_r(\bar X)/2∥X−Xˉ∥<σr​(Xˉ)/2 and every singular value decomposition X=UΣV⊤X=U\Sigma V^\topX=UΣV⊤,

PRr(X)={∑i=1rσi(X) uivi⊤}.P_{\mathcal R_r}(X)=\Bigl\{\sum_{i=1}^r\sigma_i(X)\,u_iv_i^\top\Bigr\}.PRr​​(X)={i=1∑r​σi​(X)ui​vi⊤​}.

The projection exists, is unique, and is the truncated SVD. The radius σr(Xˉ)/2\sigma_r(\bar X)/2σr​(Xˉ)/2 and the strict inequality are those of the paper.

Milestones

The paper's proof goes through four claims, which are the milestones in attack order:

  1. Weyl's bound (§3.2, proof of Proposition 3.3, citing Horn–Johnson 7.3.8): ∣σi(Xˉ)−σi(X)∣≤∥X−Xˉ∥|\sigma_i(\bar X)-\sigma_i(X)|\le\|X-\bar X\|∣σi​(Xˉ)−σi​(X)∣≤∥X−Xˉ∥ for every i≥1i\ge1i≥1.
  2. Eckart–Young (3.7): for every singular value decomposition of XXX, X^\hat XX^ is a nearest matrix to XXX of rank at most rrr.
  3. The gap (3.8): if rank⁡Xˉ=r\operatorname{rank}\bar X=rrankXˉ=r and ∥X−Xˉ∥<σr(Xˉ)/2\|X-\bar X\|<\sigma_r(\bar X)/2∥X−Xˉ∥<σr​(Xˉ)/2, then σr+1(X)<σr(Xˉ)/2<σr(X)\sigma_{r+1}(X)<\sigma_r(\bar X)/2<\sigma_r(X)σr+1​(X)<σr​(Xˉ)/2<σr​(X).
  4. Uniqueness under a gap (§3.2, proof of Proposition 3.3, citing Helmke–Moore): if σr(X)>σr+1(X)\sigma_r(X)>\sigma_{r+1}(X)σr​(X)>σr+1​(X), then X^\hat XX^ is the only nearest matrix of rank at most rrr.

Further result: Proposition 4.11

Write X=U[Σ0000]V⊤X=U\left[\begin{smallmatrix}\Sigma_0&0\\0&0\end{smallmatrix}\right]V^\topX=U[Σ0​0​00​]V⊤ (4.7), with Σ0\Sigma_0Σ0​ the positive diagonal of nonzero singular values, and a tangent vector Z=U[ACB0]V⊤Z=U\left[\begin{smallmatrix}A&C\\B&0\end{smallmatrix}\right]V^\topZ=U[AB​C0​]V⊤ (4.8). If Σ0+A\Sigma_0+AΣ0​+A is invertible, the orthographic retraction is

R(X,Z)=U[Σ0+ACBB(Σ0+A)−1C]V⊤.R(X,Z)=U\begin{bmatrix}\Sigma_0+A&C\\B&B(\Sigma_0+A)^{-1}C\end{bmatrix}V^\top .R(X,Z)=U[Σ0​+AB​CB(Σ0​+A)−1C​]V⊤.

Here R(X,Z)R(X,Z)R(X,Z) is the nearest point to X+ZX+ZX+Z of Rr∩(X+Z+NRr(X))\mathcal R_r\cap(X+Z+N_{\mathcal R_r}(X))Rr​∩(X+Z+NRr​​(X)).

Significance

The result. Proposition 3.3 reduces the projective retraction on Rr\mathcal R_rRr​ to one truncated singular value decomposition. With Proposition 3.2 this gives an explicit, computable retraction for Riemannian optimization on fixed-rank matrices. It is used, for instance, in low-rank matrix completion algorithms. The point is local: Rr\mathcal R_rRr​ is not closed, so far from Rr\mathcal R_rRr​ the nearest matrix of rank exactly rrr need not exist, and the proposition gives an explicit radius on which it does exist and is unique. Proposition 4.11 gives a second retraction that needs only products of matrices and one r×rr\times rr×r inverse.

Formalizing it. All results here are proved, on paper. To the best of a search of Mathlib and the Prove2Me catalog, none is machine-checked. Mathlib has singular values of linear maps between finite-dimensional inner product spaces (LinearMap.singularValues), but no singular value decomposition in matrix form, no Weyl perturbation inequality for singular values, and no Eckart–Young theorem. A complete development would add these, and the Eckart–Young theorem with its uniqueness case is a standard result of numerical linear algebra in its own right.

Difficulty

The proof in the paper is short only because it cites three facts, and each of them is a real piece of matrix analysis.

  • Weyl's bound needs the variational (min–max) description of singular values, which Mathlib does not have for singular values.
  • Eckart–Young requires comparing ∥X−Y∥\|X-Y\|∥X−Y∥ with the singular values of XXX for every YYY of rank at most rrr, not only for those diagonal in the same bases. The obvious approach, writing YYY in the singular bases of XXX, fails because YYY need not be diagonal there.
  • Uniqueness under the gap requires showing that every minimizer is diagonal in some singular bases of XXX and then using the gap to fix its support. Without the gap uniqueness fails: for X=I2X=I_2X=I2​ and r=1r=1r=1 every uu⊤uu^\topuu⊤ with ∥u∥=1\|u\|=1∥u∥=1 is a nearest point.

A further subtlety: Proposition 3.3 must hold for any singular value decomposition of XXX. Singular vectors are not unique, so the proof has to show that the truncation does not depend on the choice under the gap (3.8).

Formalization scope

Matrices are Matrix (Fin n) (Fin m) ℝ with Mathlib's Frobenius norm (open scoped Matrix.Norms.Frobenius). The projection is the published platform predicate RandomGradFree.Nonsmooth.IsMetricProjection, and PRr(X)P_{\mathcal R_r}(X)PRr​​(X) is the set {Y | IsMetricProjection (rankSet r) X Y}. The set equality with a singleton states existence, uniqueness and the formula together.

Conventions committed to:

  • sv X i is σi(X)\sigma_i(X)σi​(X), 1-based as on the page. It is Mathlib's 0-based singularValues of Matrix.toEuclideanLin X at i - 1, so the index 000 is meaningless and every statement uses indices ≥1\ge1≥1.
  • IsSVD X U S V is the predicate of (3.5). The singular value decomposition is a hypothesis of the theorems, never a choice made inside them, so the theorems hold for every singular value decomposition.
  • truncSVD r U S V is ∑i≤rΣiiuivi⊤\sum_{i\le r}\Sigma_{ii}u_iv_i^\top∑i≤r​Σii​ui​vi⊤​, written with the diagonal of S. That these entries are the singular values σi(X)\sigma_i(X)σi​(X) is a fact to be proved, not part of the definition.
  • The hypothesis r≥1r\ge1r≥1 is added, because σr\sigma_rσr​ needs it (and R0={0}\mathcal R_0=\{0\}R0​={0}). It is the only hypothesis of Proposition 3.3 not printed on the page.
  • In Proposition 4.11, matrices use the block index types Fin r ⊕ Fin p and Fin r ⊕ Fin q. The tangent vector and the normal space are taken in the form the page gives, and invertibility of Σ0+A\Sigma_0+AΣ0​+A is an explicit hypothesis. In the paper's proof it comes from "ZZZ in a neighborhood of the origin".

A formalization in which the radius is replaced by a smaller one, the projection is taken onto the matrices of rank at most rrr, or the singular value decomposition is chosen inside the statement is a different theorem and is ruled out.

Wanted contributions, all reusable beyond this mission:

  • existence of a singular value decomposition in matrix form, and the identification of its diagonal with singularValues;
  • Weyl's inequality for singular values;
  • the Eckart–Young theorem and its uniqueness case;
  • the Schur-complement rank formula for 2×22\times22×2 block matrices, used for Proposition 4.11.

Selected references

  • P.-A. Absil and J. Malick, Projection-like retractions on matrix manifolds, SIAM J. Optim. 22(1):135–158, 2012. https://doi.org/10.1137/100802529 (authors' version HAL hal-00651608v2: https://hal.science/hal-00651608v2)
  • P.-A. Absil, R. Mahony and R. Sepulchre, Optimization Algorithms on Matrix Manifolds, Princeton University Press, 2008. https://press.princeton.edu/absil
  • C. Eckart and G. Young, The approximation of one matrix by another of lower rank, Psychometrika 1(3):211–218, 1936. https://doi.org/10.1007/BF02288367
  • R. A. Horn and C. R. Johnson, Matrix Analysis, Cambridge University Press, 1985 (§7.3, §7.4). https://doi.org/10.1017/CBO9780511810817
  • U. Helmke and J. B. Moore, Optimization and Dynamical Systems, Springer, 1994 (Ch. 5). https://doi.org/10.1007/978-1-4471-3467-1
8 thms1 active userReviewed
🏆Completed
Machine LearningProbability·Captain: Minghui

Fine-Tuning Can Distort Pretrained Features: Perfect-Feature LP-FT SeparationResearch Paper

Why initialization matters for transfer learning

Transfer learning starts with a representation learned on an earlier task and adapts it to a new one. Two common choices are linear probing, which changes only the final linear predictor, and fine-tuning, which changes the representation as well. These procedures optimize related training objectives, but their behavior away from the training data can differ. Kumar and coauthors study this distinction through two-layer linear networks, alongside experiments with nonlinear networks. This mission formalizes their perfect-feature LP-FT result, rather than the empirical claims or the general imperfect-feature comparison. See Section 3.4, Proposition 3.7, PDF p. 10.

LP-FT first learns a head by linear probing and then uses that head to initialize full fine-tuning. The perfect-feature setting isolates the effect of head initialization: the representation already contains exactly the features needed to predict the labels, but the head initially need not use them correctly. The mathematical question is whether joint training preserves or loses the representation's ability to predict outside the observed training subspace.

Linear predictors, training data, and OOD loss

An input is a vector x∈Rdx\in\mathbb R^dx∈Rd. A feature extractor is a matrix B∈Rk×dB\in\mathbb R^{k\times d}B∈Rk×d, and a head is a vector v∈Rkv\in\mathbb R^kv∈Rk. Together they predict v⊤Bxv^\top Bxv⊤Bx, with effective weight vector B⊤vB^\top vB⊤v. The fixed matrix X∈Rn×dX\in\mathbb R^{n\times d}X∈Rn×d contains the nnn training inputs as rows. Their span is S=rowspace⁡(X)S=\operatorname{rowspace}(X)S=rowspace(X), with dimension mmm.

The ground truth has orthonormal-row features B⋆B_\starB⋆​ and a nonzero head v⋆v_\starv⋆​. Write w⋆=B⋆⊤v⋆w_\star=B_\star^\top v_\starw⋆​=B⋆⊤​v⋆​ and Y=Xw⋆Y=Xw_\starY=Xw⋆​. Perfect pretrained features mean B0=UB⋆B_0=UB_\starB0​=UB⋆​ for an orthogonal matrix UUU. The corresponding aligned head is u=Uv⋆u=Uv_\staru=Uv⋆​. The dimensions satisfy 1≤k≤m1\le k\le m1≤k≤m and m+k<dm+k<dm+k<d.

The two geometric assumptions require the orthogonal projections from R0=rowspace⁡(B0)R_0=\operatorname{rowspace}(B_0)R0​=rowspace(B0​) into SSS and into S⊥S^\perpS⊥ to be injective. In this dimension regime these are exactly the positive largest-principal-angle cosine conditions used by the paper. They demand more than two subspaces having some nonorthogonal directions. The Lean definition spells out injectivity of v↦ΠTB0⊤vv\mapsto\Pi_T B_0^\top vv↦ΠT​B0⊤​v for each T∈{S,S⊥}T\in\{S,S^\perp\}T∈{S,S⊥}. See Definition 3.2 and Appendix A.1, PDF pp. 7 and 22-23.

An out-of-distribution law μ\muμ is any probability measure on Rd\mathbb R^dRd with a finite second moment and positive-definite uncentered second-moment matrix Σ=Eμ[xx⊤]\Sigma=\mathbb E_\mu[xx^\top]Σ=Eμ​[xx⊤]. Its mean need not be zero. Define

LOOD(v,B)=Ex∼μ[(v⊤Bx−w⋆⊤x)2].L_{\rm OOD}(v,B)=\mathbb E_{x\sim\mu} [(v^\top Bx-w_\star^\top x)^2].LOOD​(v,B)=Ex∼μ​[(v⊤Bx−w⋆⊤​x)2].

Both training methods use the unnormalized loss L^(v,B)=∥XB⊤v−Y∥22\widehat L(v,B)=\|XB^\top v-Y\|_2^2L(v,B)=∥XB⊤v−Y∥22​. Fine-tuning follows its gradient flow in both parameters; linear probing keeps B=B0B=B_0B=B0​. Time is real and nonnegative. These are the paper's equations (3.2)-(3.3), PDF p. 6.

Formalization targets

The goal is Proposition 3.7 in an explicit nonzero-signal regime. For σ>0\sigma>0σ>0, initialize an FT head with independent Gaussian coordinates, v0∼N(0,σ2Ik)v_0\sim\mathcal N(0,\sigma^2I_k)v0​∼N(0,σ2Ik​). Establish

Pr⁡ ⁣[∀t≥0,LOOD(vFT(t),BFT(t))>0]=1.\Pr\!\left[\forall t\ge0,\quad L_{\rm OOD}(v_{\rm FT}(t),B_{\rm FT}(t))>0\right]=1.Pr[∀t≥0,LOOD​(vFT​(t),BFT​(t))>0]=1.

Linear probing, from any initial head, must converge to uuu. Fine-tuning initialized at its limit must satisfy

vLP(t)⟶u,∀t≥0,LOOD(vLP-FT(t),BLP-FT(t))=0.v_{\rm LP}(t)\longrightarrow u,\qquad \forall t\ge0,\quad L_{\rm OOD}(v_{\rm LP\text{-}FT}(t),B_{\rm LP\text{-}FT}(t))=0.vLP​(t)⟶u,∀t≥0,LOOD​(vLP-FT​(t),BLP-FT​(t))=0.

The probability-one event applies to all times simultaneously. The goal also asserts existence of the relevant global flows; a conditional claim about a possibly nonexistent trajectory would not suffice. The statement does not assert a numerical error lower bound or a positive time-infimum.

Seven milestones supply the supporting results: global flow existence and FT uniqueness; unchanged features orthogonal to the training span; the balancedness invariant; the second-moment identity for OOD risk; almost-sure Gaussian head misalignment; exact LP recovery; and stationarity after LP initialization. The principal source is Appendices A.2 and A.7, PDF pp. 23-31 and 45-47.

What the result establishes

The result distinguishes two initializations of the same joint-training procedure. In this idealized setting, a head obtained by linear probing gives zero OOD loss throughout subsequent fine-tuning, while a Gaussian head almost surely has positive OOD loss at every finite time. The conclusion concerns population squared prediction error, not classification accuracy or a finite test-set estimate.

The paper establishes the mathematical claim; this mission asks for a Lean proof of the stated model and result. The scope is deliberately limited to perfect pretrained features. It does not claim an LP-FT upper bound for imperfect features, which the authors identify as a further challenge in Section 3.4, PDF p. 10. A completed development would also provide reusable components for finite dimensional gradient flows, factorized linear models, and population risk.

Why the proof needs the training dynamics

The training loss alone does not select a unique effective predictor in an overparameterized problem. Knowing that a predictor fits the observed examples therefore does not determine its OOD loss. Formalization must track the head and feature extractor together, and it must distinguish parameter stationarity from a claim that a derivative happens to vanish at one time. The Gaussian conclusion also requires one event controlling an uncountable set of times; separate probability-one statements for individual times would be weaker.

Formalization scope and conventions

Vectors use Mathlib's finite dimensional real Euclidean spaces. Matrices are represented as continuous linear maps, with Euclidean adjoints and operator norms. The feature update is written explicitly as the Frobenius-gradient equation; it is not a gradient with respect to the operator norm. Differentiability is imposed within [0,∞)[0,\infty)[0,∞), including the right derivative at zero.

The dimensions, nonzero target, positive Gaussian scale, finite second moments, and projection injectivity are explicit. The nonzero target restricts the formalization to the regime of the Gaussian alignment argument in Lemma A.12; k≤mk\le mk≤m makes the identifiability condition used in Proposition A.20 precise. The random-head law is the scaled standard Gaussian measure. No randomness of the fixed training matrix or independence from an additional data draw is assumed.

The model contains no assumed convergence, invariant, or desired risk bound. Each of those is a theorem obligation. The well-posedness milestone makes explicit an analytic prerequisite of the source's flow notation. The risk milestone uses the identity in (A.29)-(A.32), avoiding the reversed inequality printed in (A.28). The quantitative constant in Theorem 3.3 is outside this mission. Source-aligned proofs and the supporting analysis infrastructure are welcome; changing the learning rule or assuming a milestone inside the model would change the task.

Selected references

  • Ananya Kumar, Aditi Raghunathan, Robbie Jones, Tengyu Ma, and Percy Liang, Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution, ICLR 2022, arXiv:2202.10054v1. Main target: Section 3.4, Proposition 3.7, PDF p. 10, equations (3.10)-(3.11); proof: Appendix A.7, PDF pp. 45-47, Proposition A.20 and (A.208)-(A.218). Supporting invariants: Appendix A.2, PDF p. 24, Lemmas A.3-A.4, equations (A.15)-(A.20). Gaussian alignment: Appendix A.3, PDF pp. 34-35, Lemmas A.11-A.12.
9 thms1 active userReviewed
🏆Completed
Mathematical Physics·Captain: ShapeZero

The spectrum of the octonionic two-generator flowTextbook

Motivation

This mission is pure mathematics about objects it defines itself: an octonion multiplication built from the Fano plane of the companion mission The role postulates force exactly seven points, and the matrix of the linear map

p  ↦  p a+b pp \;\mapsto\; p\,a + b\,pp↦pa+bp

for two unit imaginary octonions a,ba, ba,b. It is motivated by the two-generator D8 flow ψ˙=ψa+bψ\dot\psi = \psi a + b\psiψ˙​=ψa+bψ in the Shape Zero derivation (00_START_HERE/MODEL_SPEC.md §1b; 02_synthesis/D8_SYNTHESIS.md). The statements below do not depend on that motivation.

Result. For a=e1a = e_1a=e1​ and b=c e1+s e2b = c\,e_1 + s\,e_2b=ce1​+se2​ with c2+s2=1c^2 + s^2 = 1c2+s2=1, the characteristic polynomial of M=Ra+LbM = R_a + L_bM=Ra​+Lb​ is

X2 (X2+4) (X2+(2−2c))2.X^2\,(X^2 + 4)\,\bigl(X^2 + (2 - 2c)\bigr)^2 .X2(X2+4)(X2+(2−2c))2.

With c=cos⁡θc = \cos\thetac=cosθ, 2−2c=4sin⁡2(θ/2)2 - 2c = 4\sin^2(\theta/2)2−2c=4sin2(θ/2), so the eigenvalues are 0,0,±2i0, 0, \pm 2i0,0,±2i and ±2isin⁡(θ/2)\pm 2i\sin(\theta/2)±2isin(θ/2) (each twice), and the ratio of the two nonzero frequencies is 1/sin⁡(θ/2)1/\sin(\theta/2)1/sin(θ/2).

What this mission does NOT prove.

  • Only the canonical pair. It proves the result for a=e1a = e_1a=e1​, b=cos⁡θ e1+sin⁡θ e2b = \cos\theta\, e_1 + \sin\theta\, e_2b=cosθe1​+sinθe2​. That every pair of unit imaginary octonions at angle θ\thetaθ gives the same spectrum follows from the classical fact that G2G_2G2​ acts transitively on such pairs — not formalized here.
  • Nothing about any model. It says nothing about which angle, if any, a physical model selects, or whether the D8 flow plays a role in one.
  • One orientation. The octonion table uses one orientation of the Fano lines; all valid orientations give isomorphic algebras, and the spectrum is basis-independent, but only this table is formalized.

Setting

Write e0=1,e1,…,e7e_0 = 1, e_1, \dots, e_7e0​=1,e1​,…,e7​ for the standard basis of R8\mathbb{R}^8R8. The imaginary unit eue_ueu​ (u=1,…,7u = 1, \dots, 7u=1,…,7) is labelled by the Fano point u−1u - 1u−1. For each line {l,l+1,l+3}\{l, l+1, l+3\}{l,l+1,l+3} (mod 777) of the companion mission's Fano plane RolesForceSeven.fanoLine, the product is oriented cyclically along the ordered triple (l,l+1,l+3)(l, l+1, l+3)(l,l+1,l+3):

el+1 el+2=el+4,el+2 el+4=el+1,el+4 el+1=el+2e_{l+1}\,e_{l+2} = e_{l+4}, \qquad e_{l+2}\,e_{l+4} = e_{l+1}, \qquad e_{l+4}\,e_{l+1} = e_{l+2}el+1​el+2​=el+4​,el+2​el+4​=el+1​,el+4​el+1​=el+2​

(unit indices mod 777, shifted into 1,…,71, \dots, 71,…,7), with the reversed products negative, eu2=−1e_u^2 = -1eu2​=−1, and e0e_0e0​ the identity. This defines OctonionD8.octTable and the bilinear product OctonionD8.omul on R8\mathbb{R}^8R8.

For a,b∈R8a, b \in \mathbb{R}^8a,b∈R8, Rmat a is the matrix of p↦p ap \mapsto p\,ap↦pa and Lmat b the matrix of p↦b pp \mapsto b\,pp↦bp (column jjj is the image of eje_jej​). The flow matrix is

M=flowMat  c  s=Re1+Lce1+se2.M = \texttt{flowMat}\;c\;s = R_{e_1} + L_{c e_1 + s e_2}.M=flowMatcs=Re1​​+Lce1​+se2​​.

The Fano plane is imported from the companion mission, not restated. The reordering blockEquiv and the two blocks blockA c s, blockB c s are defined explicitly for the milestones.

Formalization targets

Goal: the characteristic polynomial

c2+s2=1  ⟹  χM(X)=X2 (X2+4) (X2+(2−2c))2.c^2 + s^2 = 1 \;\Longrightarrow\; \chi_M(X) = X^2\,(X^2 + 4)\,\bigl(X^2 + (2 - 2c)\bigr)^2 .c2+s2=1⟹χM​(X)=X2(X2+4)(X2+(2−2c))2.

This is OctonionD8.flow_charpoly. The hypothesis c2+s2=1c^2 + s^2 = 1c2+s2=1 is the only one, and it is needed: without it the characteristic polynomial differs.

Milestones — the proof outline

The proof goes through an invariant-subspace decomposition. Reorder the basis as (e0,e1,e2,e4∣e3,e5,e6,e7)(e_0, e_1, e_2, e_4 \mid e_3, e_5, e_6, e_7)(e0​,e1​,e2​,e4​∣e3​,e5​,e6​,e7​) (OctonionD8.blockEquiv).

  1. M1 (block-diagonal form). For all real c,sc, sc,s, in the reordered basis MMM is block diagonal: M=(A00B)M = \begin{pmatrix} A & 0 \\ 0 & B \end{pmatrix}M=(A0​0B​), with explicit 4×44\times44×4 blocks AAA on (e0,e1,e2,e4)(e_0, e_1, e_2, e_4)(e0​,e1​,e2​,e4​) and BBB on (e3,e5,e6,e7)(e_3, e_5, e_6, e_7)(e3​,e5​,e6​,e7​) (OctonionD8.blockA, OctonionD8.blockB).
  2. M2 (block AAA). If c2+s2=1c^2 + s^2 = 1c2+s2=1, then χA(X)=X2 (X2+4)\chi_A(X) = X^2\,(X^2 + 4)χA​(X)=X2(X2+4).
  3. M3 (block BBB). If c2+s2=1c^2 + s^2 = 1c2+s2=1, then χB(X)=(X2+(2−2c))2\chi_B(X) = \bigl(X^2 + (2 - 2c)\bigr)^2χB​(X)=(X2+(2−2c))2.

The goal follows: the characteristic polynomial is unchanged by reordering the basis, and that of a block-diagonal matrix is the product of the blocks' characteristic polynomials.

Further results (after the goal)

  • It is the octonions: the norm is multiplicative. For all p,q∈R8p, q \in \mathbb{R}^8p,q∈R8, ∑k(pq)k2=(∑ipi2)(∑jqj2)\sum_k (pq)_k^2 = \bigl(\sum_i p_i^2\bigr)\bigl(\sum_j q_j^2\bigr)∑k​(pq)k2​=(∑i​pi2​)(∑j​qj2​) — the eight-square identity, which certifies that the table defines a normed (composition) algebra, the octonions, rather than some other algebra.
  • The flow conserves the norm. MT=−MM^{\mathsf T} = -MMT=−M.
  • An annihilating polynomial. If c2+s2=1c^2 + s^2 = 1c2+s2=1, then M (M2+4) (M2+(2−2c))=0M\,(M^2 + 4)\,\bigl(M^2 + (2 - 2c)\bigr) = 0M(M2+4)(M2+(2−2c))=0.

Corollary: the frequencies

For 0<θ<π0 < \theta < \pi0<θ<π, with c=cos⁡θc = \cos\thetac=cosθ and s=sin⁡θs = \sin\thetas=sinθ, the roots over C\mathbb{C}C of the characteristic polynomial, with multiplicity, are exactly

0, 0, ±2i, ±2isin⁡(θ/2), ±2isin⁡(θ/2),0,\ 0,\ \pm 2i,\ \pm 2i\sin(\theta/2),\ \pm 2i\sin(\theta/2),0, 0, ±2i, ±2isin(θ/2), ±2isin(θ/2),

and 0<sin⁡(θ/2)<10 < \sin(\theta/2) < 10<sin(θ/2)<1. So the two nonzero frequencies 222 and 2sin⁡(θ/2)2\sin(\theta/2)2sin(θ/2) are distinct, and their ratio is 1/sin⁡(θ/2)1/\sin(\theta/2)1/sin(θ/2). Uses 2−2cos⁡θ=4sin⁡2(θ/2)2 - 2\cos\theta = 4\sin^2(\theta/2)2−2cosθ=4sin2(θ/2).

Significance

The result itself. It gives the spectrum of the two-generator flow for the canonical pair in closed form, for every angle, from an octonion table built on the formalized Fano plane.

Formalizing it. The spectrum had been checked numerically and symbolically only.

Numerical and symbolic cross-check (independent code)

checkresult
table from the companion mission's Fano lines is a normed algebra (200 random pairs)true
eigenvalue magnitudes {0×2, 2sin⁡(θ/2)×4, 2×2}\{0 \times 2,\ 2\sin(\theta/2) \times 4,\ 2 \times 2\}{0×2, 2sin(θ/2)×4, 2×2} at 5°, 30°, 60°, 76.3°, 90°, 120°, 150°max error 1.8×10−151.8\times10^{-15}1.8×10−15
symbolic characteristic polynomial (sympy, s2=1−c2s^2 = 1 - c^2s2=1−c2)X2(X2+4)(X2+2−2c)2X^2(X^2 + 4)(X^2 + 2 - 2c)^2X2(X2+4)(X2+2−2c)2

These agree with the repository's shape_zero_tests/d8_closed_form.py (frequencies {0,2sin⁡(θ/2),2}\{0, 2\sin(\theta/2), 2\}{0,2sin(θ/2),2} to 5×10−115\times10^{-11}5×10−11), which uses a different octonion table.

Difficulty

Moderate. The goal needs the characteristic polynomial of an 8×88\times88×8 matrix with symbolic entries; a direct determinant expansion is expensive. The milestones take the invariant-subspace route: the block-diagonal form (M1) is an entrywise computation from the octonion table, and each 4×44\times44×4 block's characteristic polynomial (M2, M3) is a small determinant, reduced with c2+s2=1c^2 + s^2 = 1c2+s2=1. The further results are large but mechanical polynomial identities (the eight-square identity; the annihilating polynomial), where the risk is performance, not ideas.

Formalization scope

  • Vectors are Fin 8 → ℝ; matrices are Matrix (Fin 8) (Fin 8) ℝ, with column jjj the image of the basis vector eje_jej​.
  • The characteristic polynomial is Mathlib's Matrix.charpoly over R\mathbb{R}R; the corollary maps it to C\mathbb{C}C and uses Polynomial.roots, a multiset, so multiplicities are part of the statement.
  • The table is one fixed orientation of the Fano lines; G2G_2G2​-invariance and other orientations are out of scope.

Selected references

  • Wikipedia, Octonion. https://en.wikipedia.org/wiki/Octonion
  • Wikipedia, Fano plane. https://en.wikipedia.org/wiki/Fano_plane
  • Shape Zero repository (motivation only). https://github.com/ShapeZeroSZ/shape-zero
11 thms1 active userReviewed
🏆Completed
Mathematical Physics·Captain: ShapeZero

Zero net power forces every link coupling to be symmetric, in any dimensionTextbook

Motivation

The Shape Zero model (Shape Zero LLC, unpublished) couples neighbouring nodes through a velocity-dependent force, one coupling matrix per link. The companion mission Zero net power forces every link coupling to be symmetric (rings of ≥ 3 sites) proves that a coupling doing no net work (a passive coupling) must have every link matrix symmetric — but only on a one-dimensional ring. The model's base is three-dimensional. This mission extends the result to a periodic cubic lattice with any number q of spatial axes, so it covers q = 3 directly and reduces exactly to the ring result at q = 1.

What this mission does NOT prove. As with the companion missions, commuting with the complex structure JJJ is not derived here; it remains a modelling premise. This mission shows only that passivity forces symmetry on every link in every direction.

Setting

Fix natural numbers qqq (number of axes), LLL (sites along each axis) and ddd. A site is a point x∈(Z/LZ)qx \in (\mathbb{Z}/L\mathbb{Z})^qx∈(Z/LZ)q of the periodic cubic lattice; x±eax \pm e_ax±ea​ is the site one step forward or back along axis aaa, wrapping around. Each link — a site xxx together with an axis aaa — carries its own real d×dd\times dd×d matrix W(x,a)W(x,a)W(x,a), and each site carries a velocity v(x)∈Rdv(x) \in \mathbb{R}^dv(x)∈Rd. The force on site xxx is

F(x)=∑a(W(x,a) v(x+ea)−W(x−ea,a) v(x−ea)),F(x) = \sum_{a} \Bigl( W(x,a)\, v(x+e_a) - W(x-e_a,a)\, v(x-e_a) \Bigr),F(x)=a∑​(W(x,a)v(x+ea​)−W(x−ea​,a)v(x−ea​)),

where the second term uses the matrix of the link behind xxx. The total power is

PW(v)=∑xv(x)⋅F(x).P_W(v) = \sum_{x} v(x) \cdot F(x).PW​(v)=x∑​v(x)⋅F(x).

In Lean, sites are Site q L = Fin q → Fin L, the step is shift x a s (update coordinate aaa by sss in Fin L), and the power is PassivityTorus.power q L d W v. The coupling is passive when PW(v)=0P_W(v) = 0PW​(v)=0 for every vvv.

Formalization targets

Goal: passive if and only if every link is symmetric (L≥3L \ge 3L≥3)

L≥3  ⟹  (∀v,  PW(v)=0)  ⟺  (∀x,a,  W(x,a)T=W(x,a)).L \ge 3 \;\Longrightarrow\; \Bigl(\forall v,\; P_W(v) = 0\Bigr) \iff \Bigl(\forall x, a,\; W(x,a)^{\mathsf T} = W(x,a)\Bigr).L≥3⟹(∀v,PW​(v)=0)⟺(∀x,a,W(x,a)T=W(x,a)).

This is PassivityTorus.passive_iff_symm, for every qqq and ddd.

Milestones

  1. M1. Stepping back then forward along an axis returns to the start.
  2. M2 (power identity, every qqq, LLL). PW(v)=∑x∑av(x)⋅((W(x,a)−W(x,a)T) v(x+ea))P_W(v) = \sum_x \sum_a v(x) \cdot \bigl((W(x,a) - W(x,a)^{\mathsf T})\, v(x+e_a)\bigr)PW​(v)=∑x​∑a​v(x)⋅((W(x,a)−W(x,a)T)v(x+ea​)).
  3. M3 (symmetric links are passive, every LLL).
  4. M4 (passive forces symmetric, L≥3L \ge 3L≥3).

Significance

The result itself. It is the dimension-independent form of the passivity theorem: whatever the number of spatial axes, a per-link coupling does no net work for every motion exactly when every link matrix is symmetric. It removes the one-dimensional restriction from the step that justifies restricting the model's coupling class to symmetric matrices.

Formalizing it. The ring result has been machine-checked; the lattice extension had been checked numerically only (identity error ≤3.6×10−14\le 3.6\times10^{-14}≤3.6×10−14 at (q,L)=(1,3),(2,3),(3,3),(3,4)(q,L) = (1,3), (2,3), (3,3), (3,4)(q,L)=(1,3),(2,3),(3,3),(3,4)). A proof covers every qqq, L≥3L \ge 3L≥3 and ddd.

Difficulty

The algebra is the ring argument; the difficulty is bookkeeping. The incoming term must be reindexed by the one-step shift, which is a bijection of the torus, and the converse needs a test motion supported on two neighbouring sites xxx and x+eax+e_ax+ea​ together with a proof that no other link joins them.

The hypothesis L≥3L \ge 3L≥3 is necessary. At L=2L = 2L=2 the step forward and the step back along an axis reach the same site. This is proved (in Lean, locally): for every q≥1q \ge 1q≥1, putting the same non-symmetric matrix (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}(00​10​) on every link of the L=2L = 2L=2 lattice gives exactly zero power for every velocity field, so passivity does not force symmetry there. Weakening the hypothesis makes the goal false.

Formalization scope

  • The lattice is periodic in every axis, with the same LLL along each; [NeZero L] is needed for the literal 111 in Fin L and is implied by L≥3L \ge 3L≥3 in the goal.
  • There is one matrix per site per axis, with no relation assumed between links.
  • Passivity is quantified over all velocity fields; everything is real.
  • q=0q = 0q=0 (a single site, no links) and d=0d = 0d=0 are included; both sides of the goal hold trivially there, and this is not a trivialization since the statement is quantified over all qqq and ddd.

Selected references

  • Wikipedia, Symmetric matrix. https://en.wikipedia.org/wiki/Symmetric_matrix
  • Wikipedia, Passivity (engineering). https://en.wikipedia.org/wiki/Passivity_(engineering)
  • Mathlib, Mathlib.Data.Matrix.Mul (dot product ⬝ᵥ, matrix–vector product *ᵥ). https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Mul.html
6 thms1 active userReviewed
🏆Completed
Mathematical Physics·Captain: ShapeZero

Zero net power forces every link coupling to be symmetric (rings of ≥ 3 sites)Textbook

Motivation

The Shape Zero model (Shape Zero LLC, unpublished) couples neighbouring nodes on a ring through a velocity-dependent force, with one coupling matrix per link. A companion mission, The passivity-admissible couplings have dimension n² = dim u(n), shows that real matrices which are symmetric and commute with a complex structure JJJ form a space of dimension n2=dim⁡u(n)n^2 = \dim \mathfrak{u}(n)n2=dimu(n). That mission deliberately takes symmetry as given. This mission supplies the reason for it: a coupling that never does net work (a passive coupling) must have every link matrix symmetric, provided the ring has at least three sites.

Together the two missions give the chain

passive  ⟹  every Wi symmetric(this mission),\text{passive} \;\Longrightarrow\; \text{every } W_i \text{ symmetric} \qquad\text{(this mission)},passive⟹every Wi​ symmetric(this mission), symmetric+commutes with J  ⟹  dim⁡=n2(companion mission).\text{symmetric} + \text{commutes with } J \;\Longrightarrow\; \dim = n^2 \qquad\text{(companion mission)}.symmetric+commutes with J⟹dim=n2(companion mission).

What these two missions do NOT prove. Commuting with JJJ is not derived here. It is the requirement that the coupling respect each node's complex structure, and in the model it is imposed, not forced by passivity. After both missions the proved content is: passivity forces symmetry, and symmetric JJJ-compatible couplings have the dimension of u(n)\mathfrak{u}(n)u(n). The JJJ-compatibility step remains a modelling premise. In addition, the coupling space consists of the Hermitian matrices, which match u(n)\mathfrak{u}(n)u(n) in dimension; the Lie algebra u(n)\mathfrak{u}(n)u(n) itself appears only after multiplying by iii (Unitary group).

Setting

Let NNN and ddd be natural numbers with N≥1N \ge 1N≥1. A ring has NNN sites labelled by Z/NZ={0,…,N−1}\mathbb{Z}/N\mathbb{Z} = \{0, \dots, N-1\}Z/NZ={0,…,N−1}, so site N−1N-1N−1 is next to site 000; indices i+1i + 1i+1 and i−1i - 1i−1 are taken modulo NNN. Each site carries a velocity vector vi∈Rdv_i \in \mathbb{R}^dvi​∈Rd, and each link i→i+1i \to i+1i→i+1 carries a real d×dd \times dd×d link matrix WiW_iWi​. The force on site iii is

Fi=Wi vi+1−Wi−1 vi−1,F_i = W_i\, v_{i+1} - W_{i-1}\, v_{i-1},Fi​=Wi​vi+1​−Wi−1​vi−1​,

where the second term uses the previous link's matrix Wi−1W_{i-1}Wi−1​. The total power delivered by the coupling is

PW(v)=∑i∈Z/NZvi⋅(Wi vi+1−Wi−1 vi−1).P_W(v) = \sum_{i \in \mathbb{Z}/N\mathbb{Z}} v_i \cdot \bigl( W_i\, v_{i+1} - W_{i-1}\, v_{i-1} \bigr).PW​(v)=i∈Z/NZ∑​vi​⋅(Wi​vi+1​−Wi−1​vi−1​).

In the Lean development this is PassivityRing.power N d W v, with sites indexed by Fin N (whose addition and subtraction wrap around modulo NNN), vectors in Fin d → ℝ, and ⋅\cdot⋅ the dot product ⬝ᵥ. The coupling is passive when PW(v)=0P_W(v) = 0PW​(v)=0 for every choice of velocities vvv.

Formalization targets

Goal: passive if and only if every link is symmetric (rings of at least 3 sites)

N≥3  ⟹  (∀v,  PW(v)=0)  ⟺  (∀i,  WiT=Wi).N \ge 3 \;\Longrightarrow\; \Bigl( \forall v,\; P_W(v) = 0 \Bigr) \iff \Bigl( \forall i,\; W_i^{\mathsf T} = W_i \Bigr).N≥3⟹(∀v,PW​(v)=0)⟺(∀i,WiT​=Wi​).

This is PassivityRing.passive_iff_symm. It holds for every ddd and every family of link matrices, with no assumption relating different links.

Milestones

  1. M1 (power identity, every NNN). PW(v)=∑ivi⋅((Wi−WiT) vi+1)P_W(v) = \sum_i v_i \cdot \bigl((W_i - W_i^{\mathsf T})\, v_{i+1}\bigr)PW​(v)=∑i​vi​⋅((Wi​−WiT​)vi+1​).
  2. M2 (symmetric links are passive, every NNN). If every WiW_iWi​ is symmetric, then PW(v)=0P_W(v) = 0PW​(v)=0 for all vvv.
  3. M3 (passive forces symmetric, N≥3N \ge 3N≥3). If PW(v)=0P_W(v) = 0PW​(v)=0 for all vvv, then every WiW_iWi​ is symmetric.

Significance

The result itself. The goal turns a physical requirement — no net work for any motion — into an exact algebraic condition on each link separately. It is the step that justifies restricting the companion mission's coupling class to symmetric matrices, so that the dimension count n2n^2n2 applies to the passive couplings of the model rather than to an assumed class.

Formalizing it. The model's claim has so far been checked numerically at ring sizes 1,2,3,4,71, 2, 3, 4, 71,2,3,4,7. A machine-checked proof covers every N≥3N \ge 3N≥3 and every ddd, makes the role of the hypothesis N≥3N \ge 3N≥3 explicit, and separates what is proved (passivity forces symmetry) from what remains a modelling premise (JJJ-compatibility).

Difficulty

The forward direction and the power identity are finite-sum bookkeeping. The central difficulty is the converse: the hypothesis constrains a single scalar quantity summed around the ring, and it must be shown to constrain each link matrix individually. On small rings this fails because distinct terms of the sum coincide, so the argument depends on the ring being large enough that neighbouring sites are genuinely distinct, and in Lean that is modular arithmetic on Fin N.

The hypothesis N≥3N \ge 3N≥3 is necessary, not a convenience:

  • N=1N = 1N=1: the site is its own neighbour on both sides, so the force is W0v0−W0v0=0W_0 v_0 - W_0 v_0 = 0W0​v0​−W0​v0​=0 and the power vanishes for every W0W_0W0​, symmetric or not.
  • N=2N = 2N=2: the power reduces to v0⋅(D−DT) v1v_0 \cdot (D - D^{\mathsf T})\, v_1v0​⋅(D−DT)v1​ with D=W0−W1D = W_0 - W_1D=W0​−W1​, so it depends only on the difference of the two link matrices. Taking both links equal to the same non-symmetric matrix, for example (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}(00​10​), gives zero power for all velocities.

Weakening the hypothesis to 2≤N2 \le N2≤N, or dropping it, makes the goal false.

Formalization scope

  • Sites are Fin N with its wrap-around arithmetic, so i+1i + 1i+1 and i−1i - 1i−1 go around the ring; [NeZero N] is required for the literal 111 in Fin N and is implied by N≥3N \ge 3N≥3 in the goal.
  • There is one matrix per link, W : Fin N → Matrix (Fin d) (Fin d) ℝ, not a single shared matrix, and no relation between different links is assumed.
  • Passivity is quantified over all velocity configurations v : Fin N → (Fin d → ℝ).
  • Everything is real (ℝ); symmetry is (W i)ᵀ = W i.
  • d=0d = 0d=0 is included; there both sides of the goal hold trivially. This is not a trivialization, since the statement is quantified over all ddd.

M1 and M2 hold for every N≥1N \ge 1N≥1 and carry no ring-size hypothesis; M3 and the goal require N≥3N \ge 3N≥3. The development needs only Mathlib's finite sums, dot products, matrix–vector products and Fin arithmetic.

Selected references

  • B. C. Hall, Lie Groups, Lie Algebras, and Representations: An Elementary Introduction, 2nd ed., Graduate Texts in Mathematics 222, Springer, 2015. https://doi.org/10.1007/978-3-319-13467-3
  • Wikipedia, Unitary group. https://en.wikipedia.org/wiki/Unitary_group
  • Wikipedia, Symmetric matrix. https://en.wikipedia.org/wiki/Symmetric_matrix
  • Mathlib, Mathlib.Data.Matrix.Mul (dot product ⬝ᵥ, matrix–vector product *ᵥ). https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Mul.html
5 thms1 active userReviewed
PreviousPage 9 of 9Next

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