Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exercise 8.1 — Courant–Fischer variational representation of γj(Q)\gamma_j(Q)γj​(Q)

Proved
WainwrightHDS.EigPert.courant_fischer

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

courant-fischereigenvaluessymmetric-matrices

Let QQQ be a real symmetric d×dd \times dd×d matrix and let j∈{2,…,d}j \in \{2, \dots, d\}j∈{2,…,d}. Let Vj−1\mathcal{V}_{j-1}Vj−1​ be the collection of all linear subspaces V⊆Rd\mathbb{V} \subseteq \mathbb{R}^dV⊆Rd of dimension j−1j - 1j−1, and V⊥\mathbb{V}^\perpV⊥ the orthogonal complement of V\mathbb{V}V. Then the jjj-th largest eigenvalue of QQQ is

γj(Q)  =  min⁡V∈Vj−1 max⁡u∈V⊥∩Sd−1⟨u,Qu⟩,\gamma_j(Q) \;=\; \min_{\mathbb{V} \in \mathcal{V}_{j-1}} \ \max_{u \in \mathbb{V}^\perp \cap \mathbb{S}^{d-1}} \langle u, Qu\rangle ,γj​(Q)=V∈Vj−1​min​ u∈V⊥∩Sd−1max​⟨u,Qu⟩,

where both the minimum and the maximum are attained.

This min–max characterization is the tool the book suggests for proving Weyl's inequality (8.9) (Exercise 8.3), which in turn controls the eigengap of the perturbed matrix in Theorem 8.5.

Formalization Note The statement says that γj(Q)\gamma_j(Q)γj​(Q) is the least element of the set of values ccc for which some subspace V\mathbb{V}V of dimension j−1j-1j−1 makes ccc the greatest value of ⟨u,Qu⟩\langle u, Qu\rangle⟨u,Qu⟩ over unit vectors u∈V⊥u \in \mathbb{V}^\perpu∈V⊥ (IsLeast / IsGreatest, so attainment is part of the claim).

Differences from the source:

  • encoding: j ∈ {2, …, d}, γ_j, subspaces of dimension j − 1 → j : Fin d with 1 ≤ j.val, gamma Q hQ j, finrank V = j.val; reason: Lean indices are 0-based, the book's j is j.val + 1; same instances
  • encoding: symmetric matrix Q → Q.IsHermitian over ℝ; reason: for real matrices Hermitian means Qᵀ = Q; same instances
Preamble
import Mathlib
import Definitions.Def_WainwrightHDS_EigPert_gamma
Formal statement
namespace WainwrightHDS.EigPert

/-- **Exercise 8.1 (Courant–Fischer variational representation), Eq. (8.41).**
Wainwright, *High-Dimensional Statistics: A Non-Asymptotic Viewpoint*, Cambridge University
Press 2019, p. 256 (PDF p. 276), Exercise 8.1:
"For a given integer `j ∈ {2, …, d}`, let `𝒱_{j−1}` denote the collection of all subspaces of
dimension `j−1`. For any symmetric matrix `Q`, show that the `j`th largest eigenvalue is given by
`γ_j(Q) = min_{V ∈ 𝒱_{j−1}} max_{u ∈ V^⊥ ∩ S^{d−1}} ⟨u, Qu⟩`."

For a symmetric `Q` and a 0-based index `j` with `1 ≤ j` (the book's `j + 1 ∈ {2, …, d}`), the
value `gamma Q hQ j` is the least element of the set of numbers `c` such that, for some subspace
`V` of dimension `j`, `c` is the greatest value of `⟨u, Qu⟩` over unit vectors `u ∈ V^⊥`.

**Formalization Note.** Index base: the book's `γ_j` with `j ∈ {2, …, d}` is `gamma Q hQ j'`
with `j' = j − 1 ∈ {1, …, d − 1}`, and the subspaces have dimension `j' = j − 1`. Both "min" and
"max" are stated as attained (`IsLeast`, `IsGreatest`). -/
theorem courant_fischer {d : ℕ} (Q : Matrix (Fin d) (Fin d) ℝ) (hQ : Q.IsHermitian)
    (j : Fin d) (hj : 1 ≤ j.val) :
    IsLeast
      {c : ℝ | ∃ V : Submodule ℝ (EuclideanSpace ℝ (Fin d)), Module.finrank ℝ V = j.val ∧
        IsGreatest ((fun u => inner ℝ u (Matrix.toEuclideanLin Q u)) ''
          {u | u ∈ Vᗮ ∧ ‖u‖ = 1}) c}
      (gamma Q hQ j) := by sorry

end WainwrightHDS.EigPert
Source
Wainwright, High-Dimensional Statistics, Cambridge University Press 2019, p. 256 (PDF p. 276), Exercise 8.1, Eq. (8.41)

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