NLA-lib Explorer

NLAlib.CGRun.p_ne_zero_of_r_ne_zero

Library · theorem

For a successful run with spectrum in [a,a'], a>0 and k^2\sqrt{k}\varepsilon(a'/a)^2\le10^{-5}, a nonzero residual after the last step implies that the terminal search direction is nonzero. This derives the direction certificates from the spectral and precision inputs; it does not assume a next-curvature test.

NLAlib.CGRun.p_ne_zero_of_r_ne_zero {n k : ℕ} (C : CGRun n k) {a a' : ℝ} (ha : 0 < a)
  (hs : spectrum ℝ C.A ⊆ Set.Icc a a') (hsmall : ↑k ^ 2 * √↑k * C.ε * (a' / a) ^ 2 ≤ 1 / 10 ^ 5)
  (hr : C.r k ≠ 0) : C.p k ≠ 0

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGRunSpectrum.