NLAlib.Computation.IsSubstTrace.exists_sum_add_mul_eq
Library · theorem
This statement changed in the recorded rename: 2026-11-rounding-factor.
Headline of forward-substitution-backward-error
Backward error of forward substitution [Higham2002, Theorem 8.5], from [Higham2002, Lemma 8.4], with the factor of [CarsonMaShao2026, (3)]: under the standard model with 0 \le u < 1, if every diagonal entry t_{ii} (i < n) is nonzero, a trace \hat{\mathbf{x}} of forward substitution solves a nearby system exactly: for some \Delta t_{ij} with \lvert \Delta t_{ij} \rvert \le \gamma_n \lvert t_{ij} \rvert (j \le i < n), \gamma_n = (1 - u)^{-n} - 1, \sum_{j \le i} (t_{ij} + \Delta t_{ij})\,\hat{\mathbf{x}}_j = \mathbf{b}_i \qquad (i < n)\,. Result: forward-substitution-backward-error
NLAlib.Computation.IsSubstTrace.exists_sum_add_mul_eq {u : ℝ} {n : ℕ} {t : ℕ → ℕ → ℝ} {b x : ℕ → ℝ}
(h : Computation.IsSubstTrace (fun x ↦ Computation.RelErr u) t b n x) (hdiag : ∀ i < n, t i i ≠ 0)
(hu : 0 ≤ u) (hu1 : u < 1) :
∃ Δ,
(∀ i < n, ∀ j ≤ i, |Δ i j| ≤ Computation.roundingFactor n u * |t i j|) ∧
∀ i < n, ∑ j ∈ Finset.range (i + 1), (t i j + Δ i j) * x j = b iImport NLAlib.Matrix.FinitePrecision.Traces.