NLA-lib Explorer

NLAlib.isOrthErr_of_one_pass

Library · theorem

One classical Gram–Schmidt pass meets the guarantee with a first-order input term: from residual and projection-error bounds, NLAlib.IsOrthErr holds with \varepsilon_1 = 0, \varepsilon_2 = c_1, \varepsilon_3 = \sqrt{1+\eta_0}(\eta_0 + c_1); this is why one pass is not enough (the loss is divided by the admissibility ratio). [GiraudLangouRozloznikVandenEshof2005, Theorem 1].

NLAlib.isOrthErr_of_one_pass {n j : ℕ} {V : Matrix (Fin n) (Fin j) ℝ} {w w₁ : Fin n → ℝ}
  {h₁ : Fin j → ℝ} {η₀ c₁ : ℝ}
  (hres : specNorm (Vᵀ * V - 1) ≤ η₀ → ‖WithLp.toLp 2 (w - V *ᵥ h₁ - w₁)‖ ≤ c₁ * ‖WithLp.toLp 2 w‖)
  (hw₁ :
    specNorm (Vᵀ * V - 1) ≤ η₀ →
      ‖WithLp.toLp 2 (w₁ - (w - V *ᵥ Vᵀ *ᵥ w))‖ ≤ c₁ * ‖WithLp.toLp 2 w‖) :
  IsOrthErr η₀ 0 c₁ (√(1 + η₀) * (η₀ + c₁)) V w h₁ w₁

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.ClassicalGramSchmidt.