Lemma 7.8: concentration of the sample covariance matrix
ProvedWirtingerFlow.covariance_concentration- Gaussian model. For every there are constants and such that, whenever and , with probability at least ,
and on this event
- Coded diffraction model. For every and every bound there is a constant such that, for every admissible law with bound and , whenever and , the same two conclusions hold (with ) with probability at least .
Formalization Note is allowed to depend on . A constant that works for every does not exist: is a Gamma variable, which deviates from by more than with probability of order . That exceeds once , for large.
import Mathlib import Definitions.Def_WirtingerFlow_Basic open MeasureTheory ProbabilityTheory Complex Matrix
namespace WirtingerFlow
theorem covariance_concentration :
(∀ δ : ℝ, 0 < δ → ∃ c γ : ℝ, 0 < c ∧ 0 < γ ∧
∀ n m : ℕ, 1 ≤ n → 1 ≤ m → c * n * Real.log n ≤ m →
gaussModel m n {A | ¬ (opNorm (1 - covMat (rows A)) ≤ δ ∧
∀ h : Sig n, (1 - δ) * ‖h‖ ^ 2 ≤ 1 / (m : ℝ) * ∑ r, ‖inner ℂ (rows A r) h‖ ^ 2 ∧
1 / (m : ℝ) * ∑ r, ‖inner ℂ (rows A r) h‖ ^ 2 ≤ (1 + δ) * ‖h‖ ^ 2)} ≤
ENNReal.ofReal (2 * Real.exp (-γ * m))) ∧
(∀ δ : ℝ, 0 < δ → ∀ M : ℝ, ∃ c : ℝ, 0 < c ∧
∀ ν : Measure ℂ, IsAdmissible ν M → ∫ d, ‖d‖ ^ 2 ∂ν = 1 →
∀ n L : ℕ, 1 ≤ n → 1 ≤ L → c * Real.log n ^ 3 ≤ L →
cdpModel ν L n {d | ¬ (opNorm (1 - covMat (cdpVecs d)) ≤ δ ∧
∀ h : Sig n, (1 - δ) * ‖h‖ ^ 2 ≤
1 / ((L * n : ℕ) : ℝ) * ∑ r, ‖inner ℂ (cdpVecs d r) h‖ ^ 2 ∧
1 / ((L * n : ℕ) : ℝ) * ∑ r, ‖inner ℂ (cdpVecs d r) h‖ ^ 2 ≤ (1 + δ) * ‖h‖ ^ 2)} ≤
ENNReal.ofReal (1 / (n : ℝ) ^ 2)) := by sorry
end WirtingerFlowRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement is a conjunction of two independent claims, (I) about the Gaussian model and (II) about the coded diffraction model. Throughout:
- is the natural logarithm.
- on is the Euclidean norm.
- is conjugate-linear in the first argument.
- is the identity matrix.
- For a complex matrix , is its spectral (operator) norm as a linear map on with the Euclidean norm.
- For sampling vectors , the sample covariance matrix is , where is the matrix with entry .
For given and such vectors, the good event is the conjunction of:
Both claims bound the probability of the complement of , meaning the set of samples where at least one of these conditions fails. Probabilities are the product measure evaluated on that set. Note that when the lower inequality holds automatically.
(I) Gaussian model.
Under the Gaussian model, a sample is an array of independent entries. Each entry is a standard complex Gaussian with independent , each of variance . The sampling vectors are the rows of , and .
The claim: for every real there exist real constants and , depending only on , such that for all natural numbers and with ,
For we have , so the size condition reduces to .
(II) Coded diffraction model.
The claim: for every real and every real , there exists a real constant , depending only on and and not on , , or , with the following property. Let be any measure on satisfying the six conditions below, where :
- is a probability measure;
- has the same law as ;
- almost surely;
- ;
- ;
- , together with the normalization , so that .
Then the conclusion holds for all natural numbers and with .
The sample is an array , for and , with i.i.d. entries of law . There are sampling vectors, indexed by pairs with , and given by
The normalization in and in the quadratic form is . The conclusion is
Edge cases for (II):
- Vacuous for small . Conditions 3 and 6 force . So for , including every , no admissible exists and claim (II) holds vacuously.
- Trivial at . For the size condition reduces to , and the bound is trivial.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.