NLA-lib Explorer

NLAlib.CGS2.passOut_norm_bounds

Library · theorem

The three bounds of one rounded classical pass under a bound of the spectral norm. For a stored basis \mathbf{V} of k columns with \lVert\mathbf{V}\rVert_2 \le 1 + \eta, dot errors e_d \ge 0, update errors e_a \ge 0 and (k+1)e_d(1+\eta)^2 + ((1+e_a)^k - 1)(1 + k(1+e_d)(1+\eta)^2) \le c, the coefficients \mathbf{h} and the output \mathbf{w}' of the pass on \mathbf{w} satisfy \lVert\mathbf{h} - \mathbf{V}^{\mathsf{T}}\mathbf{w}\rVert \le c\lVert\mathbf{w}\rVert, \lVert\mathbf{w} - \mathbf{V}\mathbf{h} - \mathbf{w}'\rVert \le c\lVert\mathbf{w}\rVert and \lVert\mathbf{w}' - (\mathbf{w} - \mathbf{V}\mathbf{V}^{\mathsf{T}}\mathbf{w})\rVert \le c\lVert\mathbf{w}\rVert. The form of NLAlib.Krylov.Lanczos.Reorth.PassOut.norm_bounds without orthonormality: the stored columns may be zero.

NLAlib.CGS2.passOut_norm_bounds {K : Type} [Inhabited K] {dec : K → ℝ} {ed ea η c : ℝ} {n k : ℕ}
  {qs ws ws' hs : List K} (h : Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs ws ws' hs)
  (hd : 0 ≤ ed) (ha : 0 ≤ ea) (hη : 0 ≤ η)
  (hbudget :
    (↑k + 1) * ed * (1 + η) ^ 2 + ((1 + ea) ^ k - 1) * (1 + ↑k * (1 + ed) * (1 + η) ^ 2) ≤ c)
  (hspec : specNorm (Krylov.Lanczos.basisMatrix dec n qs k) ≤ 1 + η) :
  ‖WithLp.toLp 2
          ((fun j ↦ dec (Ops.vec hs ↑j)) -
            (Krylov.Lanczos.basisMatrix dec n qs k)ᵀ *ᵥ Ops.decv dec n ws)‖ ≤
      c * ‖WithLp.toLp 2 (Ops.decv dec n ws)‖ ∧
    ‖WithLp.toLp 2
            ((Ops.decv dec n ws -
                Krylov.Lanczos.basisMatrix dec n qs k *ᵥ fun j ↦ dec (Ops.vec hs ↑j)) -
              Ops.decv dec n ws')‖ ≤
        c * ‖WithLp.toLp 2 (Ops.decv dec n ws)‖ ∧
      ‖WithLp.toLp 2
            (Ops.decv dec n ws' -
              (Ops.decv dec n ws -
                Krylov.Lanczos.basisMatrix dec n qs k *ᵥ
                  (Krylov.Lanczos.basisMatrix dec n qs k)ᵀ *ᵥ Ops.decv dec n ws))‖ ≤
        c * ‖WithLp.toLp 2 (Ops.decv dec n ws)‖

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.PassSupport.