NLAlib.Krylov.CG.HSPCG.Rounded.zeroStartRoutine_meets
Library · theorem
Standard rounding Relative-error BLAS Oracle: matrix–vector product
Rounded preconditioned conjugate gradient from the zero iterate meets its specification: literal-zero initialization and raw spectral precision give the capped rounded prefix. The right-hand side may be zero; no successful execution or computed-trajectory assumption is required.
NLAlib.Krylov.CG.HSPCG.Rounded.zeroStartRoutine_meets {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
[Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] [Ops.Has Ops.CmpTst Tst]
{F : Ops.Machine ℝ} {em u e : ℝ} {ε : Ops.Blas1Err} {ok : ℕ → Prop} {n : ℕ}
{A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P} {I : Ops.Interp Op Tst ℝ}
(hS : Ops.IsScalar F I) (hF : Ops.StdModel u id F) (hB : Ops.IsBlas1 id ε ok I) (hok : ok n)
(hA : Ops.IsMatvec id A (em * specNorm A) I)
(hP :
I.IsFn Ops.Mode.total (Ops.Tagged.inj Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp.matvec)
(Ops.matvecFn O.mulVec) (Ops.MatvecOperands n n))
(hD :
I.IsFn Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot) (Ops.dotSeqFn F)
(Ops.OutApart fun x ↦ True))
(hCmp : Ops.IsCmp id I) (hAT : Aᵀ = A) (hPT : Pᵀ = P) {a a' p p' : ℝ} (ha : 0 < a) (hp : 0 < p)
(hAs : spectrum ℝ A ⊆ Set.Icc a a') (hPs : spectrum ℝ P ⊆ Set.Icc p p') (hu : 0 ≤ u)
(hd : 0 ≤ ε.dot n) (haa : 0 ≤ ε.axpy) (hem : em ≤ e) (hue : u ≤ e) (hde : ε.dot n ≤ e)
(hae : ε.axpy ≤ e) (he : e ≤ 1 / 100) (hOe : O.ε ≤ e) (hAp : 6 * e * a' ≤ a)
(hPp : 6 * e * p' ≤ p) :
Krylov.CG.HSPCG.Rounded.zeroStartRoutine.Meets I
(Krylov.CG.HSPCG.Rounded.zeroStartSpec A P O e a a' p p')Import NLAlib.Krylov.CG.HSPCG.Rounded.ZeroStart.