NLA-lib Explorer

NLAlib.dotProduct_add_pos_of_spectrum_subset_Icc

Library · theorem

The computed curvature is positive for a nonzero direction: if the spectrum of the symmetric \mathbf{A} lies in [a, a'], a > 0, \mathbf{s} = \mathbf{A}\mathbf{p} + \mathbf{e} with \|\mathbf{e}\| \le \varepsilon\|\mathbf{A}\|_2\|\mathbf{p}\| and \lvert e'\rvert \le \varepsilon\|\mathbf{p}\|\|\mathbf{s}\|, and 3\varepsilon a' \le a, then \mathbf{p}^{\mathsf{T}}\mathbf{s} + e' > 0. So the division by the computed \mathbf{p}^{\mathsf{T}}\mathbf{A}\mathbf{p} succeeds. [StrakosTichy2002, (7.14)].

NLAlib.dotProduct_add_pos_of_spectrum_subset_Icc {n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ}
  (hA : Aᵀ = A) {a a' ε : ℝ} (ha : 0 < a) (hs : spectrum ℝ A ⊆ Set.Icc a a') (hε : 0 ≤ ε)
  (hsmall : 3 * ε * a' ≤ a) {p e : Fin n → ℝ} {e' : ℝ} (hp : p ≠ 0)
  (he : ‖WithLp.toLp 2 e‖ ≤ ε * specNorm A * ‖WithLp.toLp 2 p‖)
  (he' : |e'| ≤ ε * ‖WithLp.toLp 2 p‖ * ‖WithLp.toLp 2 (A *ᵥ p + e)‖) : 0 < p ⬝ᵥ (A *ᵥ p + e) + e'

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGRun.