NLAlib.norm_sub_mulVec_sub_le_norm_add_sum
Library · theorem
Over any finite prefix satisfying the three defect update equations, the residual gap is bounded by its initial norm plus the sum of the local defect bounds. No assumption is imposed on the initial gap, coefficient signs, or positivity of a cached scalar.
NLAlib.norm_sub_mulVec_sub_le_norm_add_sum.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
{n : Type u_3} [Fintype m] [Fintype n] (A : Matrix m n 𝕜) (b : m → 𝕜) (x p ex : ℕ → n → 𝕜)
(r s es er : ℕ → m → 𝕜) (α : ℕ → 𝕜) (k : ℕ) (hs : ∀ j < k, s j = A *ᵥ p j + es j)
(hx : ∀ j < k, x (j + 1) = x j + α j • p j + ex j)
(hr : ∀ j < k, r (j + 1) = r j - α j • s j + er j) :
‖WithLp.toLp 2 (b - A *ᵥ x k - r k)‖ ≤
‖WithLp.toLp 2 (b - A *ᵥ x 0 - r 0)‖ +
∑ j ∈ Finset.range k,
(‖α j‖ * ‖WithLp.toLp 2 (es j)‖ + specNorm A * ‖WithLp.toLp 2 (ex j)‖ +
‖WithLp.toLp 2 (er j)‖)Import NLAlib.Matrix.FinitePrecision.ResidualGap.