Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 8.5, p. 244 — ∣Ψ(Δ^;P)∣≤2(1−ϱ2)∣∣∣P~∣∣∣2+2ϱ1−ϱ2 ∥p~∥2|\Psi(\widehat\Delta; P)| \le 2(1-\varrho^2)|||\widetilde P|||_2 + 2\varrho\sqrt{1-\varrho^2}\,\|\tilde p\|_2∣Ψ(Δ;P)∣≤2(1−ϱ2)∣∣∣P∣∣∣2​+2ϱ1−ϱ2​∥p~​∥2​

Proved
WainwrightHDS.EigPert.abs_psi_le

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

eigenvectorsmatrix-perturbationprincipal-component-analysis

Let UUU be an orthogonal d×dd \times dd×d matrix (d≥1d \ge 1d≥1) whose first column is θ∗\theta^*θ∗, let PPP be a real symmetric d×dd \times dd×d matrix, and write P~=U⊤PU\widetilde P = U^\top P UP=U⊤PU with off-diagonal block p~∈Rd−1\tilde p \in \mathbb{R}^{d-1}p~​∈Rd−1 as in (8.11). Let θ^\widehat\thetaθ be a unit vector with

ϱ:=⟨θ^,θ∗⟩≥0,\varrho := \langle \widehat\theta, \theta^* \rangle \ge 0,ϱ:=⟨θ,θ∗⟩≥0,

and let Δ^=θ^−θ∗\widehat\Delta = \widehat\theta - \theta^*Δ=θ−θ∗. Then

∣Ψ(Δ^;P)∣  ≤  2(1−ϱ2) ∣∣∣P~∣∣∣2  +  2ϱ1−ϱ2 ∥p~∥2.\bigl|\Psi(\widehat\Delta; P)\bigr| \;\le\; 2(1 - \varrho^2)\, |||\widetilde P|||_2 \;+\; 2\varrho\sqrt{1 - \varrho^2}\, \|\tilde p\|_2 .​Ψ(Δ;P)​≤2(1−ϱ2)∣∣∣P∣∣∣2​+2ϱ1−ϱ2​∥p~​∥2​.

This is the bound on the right-hand side of the basic inequality (8.15) that, combined with Lemma 8.6 and ∣∣∣P~∣∣∣2=∣∣∣P∣∣∣2|||\widetilde P|||_2 = |||P|||_2∣∣∣P∣∣∣2​=∣∣∣P∣∣∣2​, yields the perturbation bound (8.12).

Formalization Note The first column of UUU is column 0; θ∗\theta^*θ∗ is automatically a unit vector (a column of an orthogonal matrix), and ϱ≤1\varrho \le 1ϱ≤1 follows from the Cauchy–Schwarz inequality, so neither is a hypothesis. The operator norm is that of P~=U⊤PU\widetilde P = U^\top P UP=U⊤PU, as printed.

Differences from the source:

  • generalization: U the orthonormal matrix of eigenvectors of Σ with first column θ*, θ* the maximal eigenvector of Σ, θ̂ the maximal eigenvector of Σ̂ → U any orthogonal matrix with first column θ*, θ̂ any unit vector, no Σ; reason: the display's derivation (θ̂ = ϱθ* + √(1−ϱ²) z with z ⊥ θ*, Uᵀθ* = e₁, ‖z̃‖ ≤ 1, |p̃₁₁| ≤ |||P̃|||₂) uses only these facts; taking U and θ̂ from the proof of Theorem 8.5 recovers the page's display
  • encoding: ϱ ∈ [0, 1] → 0 ≤ ϱ; reason: ϱ ≤ 1 holds for unit vectors by Cauchy–Schwarz; same instances
  • encoding: first column of U, p̃ ∈ ℝ^{d−1} → column 0, matrices over Fin (n + 1), ptilde U P; reason: 0-based indices; same instances
Preamble
import Mathlib
import Definitions.Def_WainwrightHDS_EigPert_opNorm2
import Definitions.Def_WainwrightHDS_EigPert_ptilde
import Definitions.Def_WainwrightHDS_EigPert_psi
Formal statement
namespace WainwrightHDS.EigPert

open Matrix

/-- **Bound on `|Ψ(Δ̂; P)|` in the proof of Theorem 8.5.**
Wainwright, *High-Dimensional Statistics: A Non-Asymptotic Viewpoint*, Cambridge University
Press 2019, Section 8.2.1, proof of Theorem 8.5, display following (8.16), p. 244 (PDF p. 264):
"since `‖z̃‖₂ ≤ 1` and `|p̃₁₁| ≤ |||P̃|||₂`, we have
`|Ψ(Δ̂; P)| ≤ 2(1 − ϱ²)|||P̃|||₂ + 2ϱ√(1 − ϱ²)‖p̃‖₂`", with `ϱ = ⟨θ̂, θ*⟩ ∈ [0, 1]`,
`P̃ = UᵀPU` and `p̃` as in (8.11).

Let `U` be an orthogonal `d × d` matrix (`d = n + 1`) whose first column is `θ*`, let `P` be
symmetric, and let `θ̂` be a unit vector with `ϱ := ⟨θ̂, θ*⟩ ≥ 0`. Then
`|Ψ(θ̂ − θ*; P)| ≤ 2(1 − ϱ²)|||UᵀPU|||₂ + 2ϱ√(1 − ϱ²)‖p̃‖₂`.

**Formalization Note.** On the page `U` is the orthonormal matrix of eigenvectors of `Σ` with first
column `θ*` and `θ̂` is the maximal eigenvector of `Σ̂`; the display uses only that `U` is
orthogonal with first column `θ*` and that `θ̂` is a unit vector, which is what is assumed here.
`θ*` is a unit vector because it is a column of an orthogonal matrix; `ϱ ≤ 1` follows by
Cauchy–Schwarz. Indices 0-based: the first column is column `0`. -/
theorem abs_psi_le {n : ℕ} (U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℝ)
    (hU : U ∈ Matrix.orthogonalGroup (Fin (n + 1)) ℝ)
    (θstar : EuclideanSpace ℝ (Fin (n + 1))) (hU0 : ∀ i, U i 0 = θstar i)
    (P : Matrix (Fin (n + 1)) (Fin (n + 1)) ℝ) (hP : P.IsHermitian)
    (θhat : EuclideanSpace ℝ (Fin (n + 1))) (hθhat : ‖θhat‖ = 1)
    (hρ : 0 ≤ inner ℝ θhat θstar) :
    |psi θstar P (θhat - θstar)| ≤
      2 * (1 - (inner ℝ θhat θstar) ^ 2) * opNorm2 (Uᵀ * P * U) +
        2 * inner ℝ θhat θstar * Real.sqrt (1 - (inner ℝ θhat θstar) ^ 2) * ‖ptilde U P‖ := by sorry

end WainwrightHDS.EigPert
Source
Wainwright, High-Dimensional Statistics, Cambridge University Press 2019, Section 8.2.1, proof of Theorem 8.5, display following (8.16), p. 244 (PDF p. 264)

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