NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.IsPrefix.advance

Library · theorem

One actual rounded recurrence extends the mathematical prefix, including its first step. The input cache envelope comes from initialization or the previous rounded dot.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.IsPrefix.advance {n j : ℕ} {A : Matrix (Fin n) (Fin n) ℝ}
  {b : Fin n → ℝ} {em u ed ea e rho rho' : ℝ} {s s' : CGState ℝ (Fin n)}
  (h : Krylov.CG.HSCG.Carried.Rounded.IsPrefix A b e j s rho)
  (hstep : Krylov.CG.HSCG.Carried.Rounded.RoundBounds em u ed ea A s s' rho rho') (hA : Aᵀ = A)
  (hu : 0 ≤ u) (hd : 0 ≤ ed) (ha : 0 ≤ ea) (hem : em ≤ e) (hue : u ≤ e) (hde : ed ≤ e)
  (hae : ea ≤ e) (he : e ≤ 1 / 100) (hcache : |rho - s.r ⬝ᵥ s.r| ≤ ed * ∑ i, |s.r i * s.r i|) :
  Krylov.CG.HSCG.Carried.Rounded.IsPrefix A b e (j + 1) s' rho'

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Prefix.