NLA-lib Explorer

NLAlib.Ops.StdModel.abs_sub_mul_sqrtHalf_le

Library · theorem

Standard rounding

A rounded real Gaussian word multiplied by the actual normalization word approximates its ideal complex component with relative error 2*(c+3)*u. The normalization error is stated on that actual word, independently of any distribution assumption.

NLAlib.Ops.StdModel.abs_sub_mul_sqrtHalf_le {K : Type} {M : Ops.Machine K} {dec : K → ℝ} {u c : ℝ}
  (h : Ops.StdModel u dec M) (hu : 0 ≤ u) (hc : 0 ≤ c) (hcu : (c + 3) * u ≤ 1 / 10) {Ω : ℝ}
  (roundGaussian : ℝ → K)
  (hround : ∀ (x : ℝ), |x| ≤ 2 * Ω → |dec (roundGaussian x) - x| ≤ c * u * |x|)
  (hnorm : |√2 * dec M.sqrtHalf - 1| ≤ (2 + u) * u) (w : ℝ) (hw : |√2 * w| ≤ 2 * Ω) :
  |w - dec (M.mul (roundGaussian (√2 * w)) M.sqrtHalf)| ≤ 2 * ((c + 3) * u) * |w|

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSampling.