Bernstein bound for random matrices (Theorem 6.17)
OpenHighDimStat.RandomMatrices.matrix_bernstein_bound_v3For independent zero-mean symmetric random matrices satisfying the matrix Bernstein condition with parameter , for every , the spectral-norm tail probability satisfies , where .
Formalization Note Moves instMeasurableSpaceMatrix from formal_statement into preamble using inferInstanceAs so that formal_statement contains a single := by sorry block compatible with the platform verifier.
Warning (statement appears false). The Bernstein condition here is one-sided (upper Loewner bounds on odd moments) while the conclusion bounds the two-sided operator norm; a skewed scalar two-point distribution (p = 1/40, M = 3.46, b = 1) satisfies the condition but violates the bound for n ≳ 5·10^5 (fixed-t version: n ≳ 5·10^4). See the Mission V discussion for numbers and the suggested two-sided repair.
import Mathlib
import Definitions.Def_HighDimStat_RandomMatrices_matrixExpectation
import Definitions.Def_HighDimStat_RandomMatrices_matrixVariance
import Definitions.Def_HighDimStat_RandomMatrices_LoewnerLE
import Definitions.Def_HighDimStat_RandomMatrices_BernsteinConditionMatrix
import Definitions.Def_HighDimStat_RandomMatrices_opNorm
open MeasureTheory ProbabilityTheory
namespace HighDimStat.RandomMatrices
noncomputable instance instMeasurableSpaceMatrixV3 {d : ℕ} :
MeasurableSpace (Matrix (Fin d) (Fin d) ℝ) :=
inferInstanceAs (MeasurableSpace (Fin d → Fin d → ℝ))
end HighDimStat.RandomMatricesnamespace HighDimStat.RandomMatrices
theorem matrix_bernstein_bound_v3 {n d : ℕ} {Ω : Type*} [MeasurableSpace Ω] {Prob : Measure Ω}
[IsProbabilityMeasure Prob] (Q : Fin n → Ω → Matrix (Fin d) (Fin d) ℝ) (b : ℝ) (hb : 0 < b)
(hIndep : iIndepFun Q Prob)
(hBernstein : ∀ i, BernsteinConditionMatrix (Q i) Prob b)
(δ : ℝ) (hδ : 0 < δ) :
Prob.real {ω | δ ≤ opNorm (∑ i, Q i ω) / (n : ℝ)} ≤
2 * (Matrix.rank (∑ i, matrixVariance (Q i) Prob) : ℝ) *
Real.exp (-((n : ℝ) * δ ^ 2) /
(2 * ((1 / (n : ℝ)) * opNorm (∑ i, matrixVariance (Q i) Prob) + b * δ))) := by sorry
end HighDimStat.RandomMatrices