Matrix.PosDef.isGreatest_re_quadForm_sub_cgIterate_div
Library · theorem
General form: sizes are index types
The worst case of CG is the spectrum minimax value: for n nonempty and positive definite \mathbf{A}, a start \mathbf{x}_0 and q, the largest ratio \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{A}\mathbf{x}_\star, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 / \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 over \mathbf{x}_\star \ne \mathbf{x}_0 is \mathsf{residualMinimax}(\sigma(\mathbf{A}), q)^2: the equation of Matrix.PosDef.exists_re_quadForm_sub_cgIterate_eq_residualMinimax_sq_mul with the bound Matrix.PosDef.re_quadForm_sub_cgIterate_le_residualMinimax_sq_mul. [Greenbaum1979]; locator to verify. Result: cg-spectrum-minimax-sharp
Matrix.PosDef.isGreatest_re_quadForm_sub_cgIterate_div.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosDef) [Nonempty n]
(x₀ : n → 𝕜) (q : ℕ) :
IsGreatest
((fun xs ↦
RCLike.re (quadForm A (xs - cgIterate A (A *ᵥ xs) x₀ q)) /
RCLike.re (quadForm A (xs - x₀))) ''
{xs | xs ≠ x₀})
(residualMinimax (spectrum ℝ A) q ^ 2)Import NLAlib.Krylov.LinearSystems.WorstCase.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.