Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 6.1, proof — trace(A) κf(A)≥rank(A) λn\mathrm{trace}(A)\,\kappa_f(A) \ge \mathrm{rank}(A)\,\lambda_ntrace(A)κf​(A)≥rank(A)λn​

Proved
TraceEstimation.Rayleigh.rank_mul_lambdaMax_le

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

condition-numbereigenvaluesp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1trace-estimation

Let A∈Rn×nA \in \mathbb{R}^{n\times n}A∈Rn×n be a nonzero symmetric positive semi-definite matrix, let λn\lambda_nλn​ be its largest eigenvalue, and let κf(A)\kappa_f(A)κf​(A) be the ratio between its largest and smallest nonzero eigenvalue. Then

trace(A)⋅κf(A)  ≥  rank(A) λn.\mathrm{trace}(A)\cdot\kappa_f(A) \;\ge\; \mathrm{rank}(A)\,\lambda_n .trace(A)⋅κf​(A)≥rank(A)λn​.

This linear-algebra inequality converts the largest eigenvalue, which bounds a single sample zTAzz^TAzzTAz, into a multiple of the trace, so that the range of each sample is measured relative to the quantity being estimated.

Formalization Note The page derives the inequality from an indexing 0=λ1=⋯=λk≤⋯≤λn0 = \lambda_1 = \cdots = \lambda_k \le \cdots \le \lambda_n0=λ1​=⋯=λk​≤⋯≤λn​ with k=n−rank(A)+1k = n - \mathrm{rank}(A) + 1k=n−rank(A)+1 and writes κf(A)=λn/λk\kappa_f(A) = \lambda_n/\lambda_kκf​(A)=λn​/λk​; with that kkk, λk=0\lambda_k = 0λk​=0, whereas κf\kappa_fκf​ needs λk\lambda_kλk​ to be the smallest nonzero eigenvalue (an off-by-one slip). Only the inequality is stated, with κf\kappa_fκf​ as defined in kappaF. The hypothesis A≠0A \ne 0A=0 excludes the placeholder value of κf(0)\kappa_f(0)κf​(0).

Preamble
import Mathlib
import Definitions.Def_TraceEstimation_Rayleigh_kappaF
Formal statement
namespace TraceEstimation.Rayleigh

open Matrix

/-- Avron–Toledo, proof of Theorem 6.1 (p. 8:10), first display: for a symmetric positive
semi-definite `A ≠ 0` with largest eigenvalue `λ_n` and `κ_f(A)` the ratio of its largest to its
smallest nonzero eigenvalue,
`trace(A) · κ_f(A) ≥ rank(A) · λ_n`.
(The page indexes the eigenvalues as `0 = λ_1 = ⋯ = λ_k ≤ ⋯ ≤ λ_n` with `k = n − rank(A) + 1`,
which makes `λ_k = 0`; the intended `λ_k` is the smallest nonzero eigenvalue. Only the
inequality is stated.) -/
theorem rank_mul_lambdaMax_le {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (hA : A.PosSemidef)
    (hA0 : A ≠ 0) :
    (A.rank : ℝ) * lambdaMax hA.isHermitian ≤ A.trace * kappaF hA.isHermitian := by sorry

end TraceEstimation.Rayleigh
Source
Avron and Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, J. ACM 58(2), Article 8 (2011), p. 8:10, Section 6, proof of Theorem 6.1, display 1
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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