NLA-lib Explorer

NLAlib.Ops.StdModel.specNorm_perturbWords_sub_le

Library · theorem

Standard rounding

The rounding of a scaled Gaussian perturbation ([BanksGarzaVargasSrivastava2025, Theorem 1.1], the perturbation step): on a machine with the standard model at 0 \le \boldsymbol{u} \le 1/100, for N \ge 1, \gamma \ge 0, a complex \mathbf{A} of order N and real words \mathbf{x}, the computed \widehat{\mathbf{A}} (NLAlib.Ops.Machine.perturbWords) and the complex matrix \mathbf{G} of the words (NLAlib.Computation.tapeComplexMatrix, entries (\mathbf{x}_{2k} + i \mathbf{x}_{2k+1})/\sqrt2) satisfy \Bigl\|\widehat{\mathbf{A}} - \Bigl(\mathbf{A} + \frac{\gamma}{\sqrt N}\mathbf{G}\Bigr)\Bigr\|_2 \le 20N\boldsymbol{u}\Bigl(\|\mathbf{A}\|_2 + \frac{\gamma}{\sqrt N}\|\mathbf{G}\|_2\Bigr).

NLAlib.Ops.StdModel.specNorm_perturbWords_sub_le {M : Ops.Machine ℝ} {u : ℝ}
  (hM : Ops.StdModel u id M) (hu0 : 0 ≤ u) (hu : u ≤ 1 / 100) {N : ℕ} (hN : 1 ≤ N) {γ : ℝ}
  (hγ : 0 ≤ γ) (A : Matrix (Fin N) (Fin N) ℂ) (x : ℕ → ℝ) :
  specNorm (M.perturbWords γ A x - (A + ↑(γ / √↑N) • Computation.tapeComplexMatrix x N)) ≤
    20 * ↑N * u * (specNorm A + γ / √↑N * specNorm (Computation.tapeComplexMatrix x N))

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSampling.