Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7.7 (Azuma cgf) — log E[e^{2εθX} | X] ≼ 2θ²A² when X² ≼ A²

Proved
MatrixTail.Azuma.lemma7_7

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

cumulant-generating-functionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1rademacherrandom-matrices

Let AAA be a fixed self-adjoint d×dd\times dd×d complex matrix, let ε\varepsilonε be a Rademacher random variable and let θ∈R\theta\in\mathbb Rθ∈R. For every self-adjoint matrix xxx with x2⪯A2x^2\preceq A^2x2⪯A2,

log⁡E e2εθx⪯2θ2A2.\log \mathbb E\, e^{2\varepsilon\theta x} \preceq 2\theta^2A^2 .logEe2εθx⪯2θ2A2.

In the paper the lemma is stated for a random self-adjoint matrix XXX with X2⪯A2X^2\preceq A^2X2⪯A2 and a Rademacher ε\varepsilonε independent of XXX: log⁡E[e2εθX∣X]⪯2θ2A2\log\mathbb E[e^{2\varepsilon\theta X}\mid X]\preceq 2\theta^2A^2logE[e2εθX∣X]⪯2θ2A2. Because ε\varepsilonε is independent of XXX, the conditional expectation given XXX is the function x↦Ee2εθxx\mapsto\mathbb E e^{2\varepsilon\theta x}x↦Ee2εθx evaluated at XXX, so the statement above, for every admissible value xxx, is the paper's lemma. It is the conditional bound on the matrix cumulant generating function of a symmetrized difference used at each step of the proof of the matrix Azuma inequality.

Formalization Note Exponential and logarithm are defined by the continuous functional calculus; Ee2εθx\mathbb E e^{2\varepsilon\theta x}Ee2εθx is positive definite, so its logarithm is the paper's. The expectation is entrywise and ⪯\preceq⪯ is the semidefinite order.

Preamble
import Mathlib
import Definitions.Def_MatrixTail_Azuma_Model

open MeasureTheory ProbabilityTheory
open scoped MatrixOrder ComplexOrder ENNReal
Formal statement
namespace MatrixTail.Azuma

/-- **Lemma 7.7 (Azuma cgf).** Tropp, *User-Friendly Tail Bounds for Sums of Random Matrices*,
arXiv:1004.4389v7, p. 29: "Suppose that `X` is a random s.a. matrix and `A` is a fixed s.a. matrix that satisfy
`X² ≼ A²`. Let `ε` be a Rademacher random variable independent from `X`. Then
`log E[e^{2εθX} | X] ≼ 2θ²A²` for `θ ∈ ℝ`."

**Formalization Note.**
* Complex Hermitian `d × d` matrices; `exp`, `log` are `cfc Real.exp`, `cfc Real.log` (`mexp`, `mlog`); `E` is
  the entrywise expectation (`mean`); `≼` is the Loewner order under `MatrixOrder`.
* **The conditioning is resolved by independence.** Since `ε` is independent of `X`, the conditional
  expectation `E[e^{2εθX} | X]` is the function `x ↦ E e^{2εθx}` evaluated at `X`. The statement is therefore
  posed for every fixed Hermitian `x` with `x² ≼ A²` (the values `X` takes almost surely): for each such `x`,
  `log E e^{2εθx} ≼ 2θ²A²`. Applied at `x = X(ω)` this is the paper's almost-sure inequality. The content
  (`E e^{2εθx} = cosh(2θx) ≼ e^{2θ²x²}` and the operator monotonicity of `log` together with `x² ≼ A²`) is
  intact. `E e^{2εθx}` is positive definite, where `log` is the paper's (2.7).
* No integrability hypothesis: `ε = ±1` almost surely, so `e^{2εθx}` is bounded. `P` is a probability
  measure. -/
theorem lemma7_7 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    {d : ℕ} (x A : Matrix (Fin d) (Fin d) ℂ) (hx : x.IsHermitian) (hA : A.IsHermitian)
    (hxA : x ^ 2 ≤ A ^ 2) (ε : Ω → ℝ) (hε : IsRademacher P ε) (θ : ℝ) :
    mlog (mean P (fun ω => mexp ((2 * ε ω * θ) • x))) ≤ (2 * θ ^ 2) • A ^ 2 := by sorry

end MatrixTail.Azuma
Source
Tropp, User-Friendly Tail Bounds for Sums of Random Matrices, arXiv:1004.4389v7, p. 29, Lemma 7.7 (Azuma cgf)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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