Theorem (Matrix.PosDef.exists_inv_add_le_re_quadForm_cfc_cfc_mulVec_sub_lanczosFA). The factor (R + 1)^2/(4R) is attained for a shifted inverse: for positive definite \mathbf{A} with at least q + 1 \ge 2 distinct eigenvalues, \nu > 0 on the spectrum, a shift s \ge 0, any two eigenvalues \mathbf{x}_1, \mathbf{x}_2 and 0 < \eta \le 1, there is \mathbf{b} such that, for f(z) = (z + s)^{-1}, the Lanczos-FA error \mathbf{e} = f(\mathbf{A})\mathbf{b} - \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) is nonzero and some \mathbf{y} \in \mathcal{K}_q(\mathbf{A}, \mathbf{b}) has (1 - \eta)^2\,\frac{(R + 1)^2}{4R}\,\|f(\mathbf{A})\mathbf{b} - \mathbf{y}\|_{\nu(\mathbf{A})}^2 \le \|\mathbf{e}\|_{\nu(\mathbf{A})}^2 \,, \qquad R = \frac{\nu(\mathbf{x}_1)(\mathbf{x}_2 + s)}{\nu(\mathbf{x}_2)(\mathbf{x}_1 + s)} \,, written in the statement as (\nu(\mathbf{x}_1)(\mathbf{x}_2 + s) + \nu(\mathbf{x}_2)(\mathbf{x}_1 + s))^2/(4\,\nu(\mathbf{x}_1)(\mathbf{x}_2 + s)\,\nu(\mathbf{x}_2)(\mathbf{x}_1 + s)). For the pair maximising R this is the factor of Matrix.PosDef.re_quadForm_cfc_cfc_mulVec_sub_lanczosFA_le_of_hasStieltjesMeasure for \mu = \delta_s: the near-optimality factor cannot be improved, for any \nu and any s. The vector \mathbf{b} lives on q + 1 eigenvalues containing \mathbf{x}_1, \mathbf{x}_2, with spectral weights for which the error ratio is [ChenPersson2026, (15)]. [ChenPersson2026, proof of Theorem 2]; the method is Greenbaum's [Greenbaum1979].
Headline (provisional)
Lean statement and details
Matrix.PosDef.exists_inv_add_le_re_quadForm_cfc_cfc_mulVec_sub_lanczosFA.{u_1, u_2} {𝕜 : Type u_1}
[RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosDef) {q : ℕ}
(hq : 0 < q) (hcard : q + 1 ≤ (spectrum ℝ A).ncard) {ν : ℝ → ℝ} (hν : ∀ x ∈ spectrum ℝ A, 0 < ν x)
{s : ℝ} (hs : 0 ≤ s) {x₁ x₂ : ℝ} (hx₁ : x₁ ∈ spectrum ℝ A) (hx₂ : x₂ ∈ spectrum ℝ A) {η : ℝ}
(hη : 0 < η) (hη₁ : η ≤ 1) :
∃ b,
0 <
RCLike.re
(quadForm (cfc ν A)
(cfc (fun x ↦ (x + s)⁻¹) A *ᵥ b - lanczosFA A (fun x ↦ (x + s)⁻¹) b q)) ∧
∃ y ∈ krylovSpace A b q,
(1 - η) ^ 2 *
((ν x₁ * (x₂ + s) + ν x₂ * (x₁ + s)) ^ 2 /
(4 * (ν x₁ * (x₂ + s)) * (ν x₂ * (x₁ + s)))) *
RCLike.re (quadForm (cfc ν A) (cfc (fun x ↦ (x + s)⁻¹) A *ᵥ b - y)) ≤
RCLike.re
(quadForm (cfc ν A)
(cfc (fun x ↦ (x + s)⁻¹) A *ᵥ b - lanczosFA A (fun x ↦ (x + s)⁻¹) b q))