Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 5, p. 8:8 — elementary symmetric sums and the bound on ∣h(t)∣|h(t)|∣h(t)∣

Proved
TraceEstimation.Gaussian.elementary_symmetric_bound

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

elementary-symmetric-polynomialsinequalitiesp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1trace-estimation

Two elementary estimates used in the proof of Theorem 5.2.

  1. Let x1,…,xnx_1, \ldots, x_nx1​,…,xn​ be non-negative real numbers. For every i=1,…,ni = 1, \ldots, ni=1,…,n,
∑S⊆[n]∣S∣=i∏j∈Sxj≤(∑j=1nxj)i.\sum_{\substack{S \subseteq [n] \\ |S| = i}} \prod_{j\in S} x_j \le \left(\sum_{j=1}^{n} x_j\right)^i .S⊆[n]∣S∣=i​∑​j∈S∏​xj​≤(j=1∑n​xj​)i.
  1. Let λ1,…,λn≥0\lambda_1, \ldots, \lambda_n \ge 0λ1​,…,λn​≥0, let τ=∑jλj\tau = \sum_j \lambda_jτ=∑j​λj​ and let hhh be the higher-order term h(t)=∑s=2n(−2)sts∑∣S∣=s∏i∈Sλih(t) = \sum_{s=2}^{n}(-2)^s t^s \sum_{|S| = s} \prod_{i\in S} \lambda_ih(t)=∑s=2n​(−2)sts∑∣S∣=s​∏i∈S​λi​. For every t≥0t \ge 0t≥0,
∣h(t)∣≤∑j=2n(2τt)j.|h(t)| \le \sum_{j=2}^{n}(2\tau t)^j .∣h(t)∣≤j=2∑n​(2τt)j.

In the paper the λi\lambda_iλi​ are the eigenvalues of a symmetric positive semi-definite matrix AAA, so they are non-negative and τ=trace(A)\tau = \mathrm{trace}(A)τ=trace(A); the bound controls the correction term in the moment generating function (1).

Formalization Note Part 2 is stated for an arbitrary non-negative vector λ\lambdaλ, which includes the eigenvalue vector of any positive semi-definite matrix. The page states part 2 without the range of ttt; the proof uses it at t=t0>0t = t_0 > 0t=t0​>0, and t≥0t \ge 0t≥0 is the range in which it follows from part 1.

Preamble
import Mathlib
import Definitions.Def_TraceEstimation_Gaussian_hPoly
Formal statement
namespace TraceEstimation.Gaussian

/-- Section 5, p. 8:8, first two displays (Avron–Toledo). (a) For non-negative reals
`x_1, …, x_n` and every `i = 1, …, n`, `∑_{S ⊆ [n], |S| = i} ∏_{j ∈ S} x_j ≤ (∑_j x_j)^i`.
(b) Consequently, for non-negative eigenvalues `λ_1, …, λ_n` with `τ = ∑ λ_j` and every
`t ≥ 0`, `|h(t)| ≤ ∑_{j=2}^n (2 τ t)^j`. -/
theorem elementary_symmetric_bound {n : ℕ} :
    (∀ x : Fin n → ℝ, (∀ j, 0 ≤ x j) → ∀ i : ℕ, 1 ≤ i → i ≤ n →
      ∑ S ∈ (Finset.univ : Finset (Fin n)).powersetCard i, ∏ j ∈ S, x j ≤ (∑ j, x j) ^ i) ∧
    (∀ lam : Fin n → ℝ, (∀ j, 0 ≤ lam j) → ∀ t : ℝ, 0 ≤ t →
      |hPoly lam t| ≤ ∑ j ∈ Finset.Icc 2 n, (2 * (∑ k, lam k) * t) ^ j) := by sorry

end TraceEstimation.Gaussian
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:8, Section 5, first and second unnumbered displays
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me