Theorem 4:4 — residual, error-function and error-vector bounds via Rayleigh quotients
ProvedConjGrad.ErrorDecrease.Supplement.theorem_4_4conjugate-gradientslinear-algebranumerical-analysisp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a real symmetric positive definite matrix, the solution of , and the Rayleigh quotient (4:12). For every estimate , with error vector , residual and error function ,
The bounds convert the computable residual into two-sided estimates of the error function and of the length of the error vector.
Formalization Note Vectors are Fin n → ℝ; and is the published rayleigh (with ). is real, symmetric and positive definite (A.PosDef), the paper's standing assumption.
Differences from the source:
- encoding: the quotients for an estimate → every , with and so that at all members are ; reason: at the source's quantities are undefined or zero; for the statement is the source's
Preamble
import Mathlib import Definitions.Def_ConjGrad_ErrorDecrease_errorFun import Definitions.Def_ConjGrad_ErrorDecrease_rayleigh open Matrix
Formal statement
namespace ConjGrad.ErrorDecrease.Supplement
/-- Theorem 4:4 (Hestenes–Stiefel 1952, p. 413): for every estimate `x`, with error vector
`y = h − x` and residual `r = k − Ax`, the bounds (4:11), (4:13) and (4:14). -/
theorem theorem_4_4 {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (hA : A.PosDef)
(k h : Fin n → ℝ) (hh : A *ᵥ h = k) (x : Fin n → ℝ) :
((k - A *ᵥ x) ⬝ᵥ (k - A *ᵥ x)) / rayleigh A (k - A *ᵥ x) ≤ errorFun A h x ∧
errorFun A h x ≤ ((k - A *ᵥ x) ⬝ᵥ (k - A *ᵥ x)) / rayleigh A (h - x) ∧
rayleigh A (h - x) ≤ rayleigh A (k - A *ᵥ x) ∧
Real.sqrt ((k - A *ᵥ x) ⬝ᵥ (k - A *ᵥ x)) / rayleigh A (k - A *ᵥ x) ≤
Real.sqrt ((h - x) ⬝ᵥ (h - x)) ∧
Real.sqrt ((h - x) ⬝ᵥ (h - x)) ≤
Real.sqrt ((k - A *ᵥ x) ⬝ᵥ (k - A *ᵥ x)) / rayleigh A (h - x) := by sorry
end ConjGrad.ErrorDecrease.Supplement
Source
Hestenes & Stiefel, Methods of Conjugate Gradients for Solving Linear Systems, J. Res. Natl. Bur. Stand. 49(6) (1952), DOI 10.6028/jres.049.044, p. 413, Theorem 4:4, eqs. (4:11)–(4:14) (PDF p. 5)