NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.TwoPassOut.exists_norm_sub_sub_sum_le

Library · theorem

Both rounded passes give a normwise representation witness with the exact sum of their computed coefficients. The coefficients are ghost data discarded by the program.

NLAlib.Krylov.Lanczos.Reorth.TwoPassOut.exists_norm_sub_sub_sum_le {K : Type} [Inhabited K]
  {dec : K → ℝ} {ed ea : ℝ} {n k : ℕ} {qs ws ws' : List K}
  (h : Krylov.Lanczos.Reorth.TwoPassOut dec ed ea n k qs ws ws') (ha : 0 ≤ ea) :
  ∃ mid h₁ h₂,
    Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs ws mid h₁ ∧
      Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs mid ws' h₂ ∧
        ‖WithLp.toLp 2
              (Ops.decv dec n ws' -
                (Ops.decv dec n ws -
                  ∑ j ∈ Finset.range k,
                    (dec (Ops.vec h₁ j) + dec (Ops.vec h₂ j)) • fun i ↦
                      dec (Ops.vec qs (j * n + ↑i))))‖ ≤
          ((1 + ea) ^ k - 1) *
              (‖WithLp.toLp 2 (Ops.decv dec n ws)‖ +
                ∑ j ∈ Finset.range k,
                  |dec (Ops.vec h₁ j)| * ‖WithLp.toLp 2 fun i ↦ dec (Ops.vec qs (j * n + ↑i))‖) +
            ((1 + ea) ^ k - 1) *
              (‖WithLp.toLp 2 (Ops.decv dec n mid)‖ +
                ∑ j ∈ Finset.range k,
                  |dec (Ops.vec h₂ j)| * ‖WithLp.toLp 2 fun i ↦ dec (Ops.vec qs (j * n + ↑i))‖)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.SweepBounds.