NLA-lib Explorer

NLAlib.hasSubexponentialMGF_quadForm_sub_diagonal

Library · theorem

This statement changed in the recorded rename: 2026-10-rules.

The off-diagonal part of a quadratic form in independent real coordinates, each sub-Gaussian with proxy c, is sub-exponential with variance proxy 18 c^2 \|\mathbf{A}\|_{\mathsf{F}}^2 and scale 12 c \|\mathbf{A}\|_2. The off-diagonal part \sum_{i \ne j} \mathbf{A}_{i,j} \mathbf{x}_i \mathbf{x}_j is written quadForm (A - diagonal (diag A)) x; the norms are those of \mathbf{A} itself, in \mathbb{R}_{\ge 0} as ‖frobNorm A‖₊ and ‖specNorm A‖₊. [Vershynin2018, proof of Theorem 6.2.1]; the off-diagonal step of the Hanson–Wright inequality, with the decoupling constant 4 of the random cuts and explicit constants in place of the source's unspecified ones.

NLAlib.hasSubexponentialMGF_quadForm_sub_diagonal.{u_1, u_2} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {n : Type u_2} [Fintype n] {x : Ω → n → ℝ} {c : ℝ≥0} [DecidableEq n]
  (hind : iIndepFun (fun i ω ↦ x ω i) μ) (h : ∀ (i : n), HasSubgaussianMGF (fun ω ↦ x ω i) c μ)
  (A : Matrix n n ℝ) :
  HasSubexponentialMGF (fun ω ↦ quadForm (A - diagonal A.diag) (x ω))
    (18 * c ^ 2 * ‖frobNorm A‖₊ ^ 2) (12 * c * ‖specNorm A‖₊) μ

Full source on GitHub

Import NLAlib.Probability.QuadraticForm.HansonWright.OffDiagonal.