NLAlib.Krylov.CG.HSCG.Carried.Rounded.runs_solve_seq
Library · theorem
Standard rounding Oracle: matrix–vector product
The complete linked rounded solver succeeds under input-only spectral precision and returns its actual existing run and residual-gap bound. The matrix-vector oracle is rounded; all BLAS calls are implemented through the same rounded scalar machine.
NLAlib.Krylov.CG.HSCG.Carried.Rounded.runs_solve_seq {K Op Tst : Type} [Inhabited K]
[Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
[Ops.Has Ops.CmpTst Tst] [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op]
[Ops.Apart Ops.Blas1Op Ops.OperatorOp Op] {M : Ops.Machine K} {dec : K → ℝ} {em u e : ℝ}
{n cap : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
(hM : Ops.StdModel u dec M) (hA : Ops.IsMatvec dec A (em * specNorm A) I) (hCmp : Ops.IsCmp dec I)
(hAT : Aᵀ = A) {a a' : ℝ} (ha : 0 < a) (hspec : spectrum ℝ A ⊆ Set.Icc a a') (hu : 0 ≤ u)
(hem : em ≤ e) (hue : u ≤ e) (hde : (Ops.Blas.seq.err u).dot n ≤ e)
(hae : (Ops.Blas.seq.err u).axpy ≤ e) (he : e ≤ 1 / 100) (hprec : 3 * e * a' ≤ a)
(hwindow : ↑cap ^ 2 * √↑cap * e * (a' / a) ^ 2 ≤ 1 / 10 ^ 5) {τ : Ops.Tape K} {μ : Ops.Mem K}
{b x r p v : ℕ × ℕ} {bs xs : List K} (hbx : b.1 ≠ x.1) (hbr : b.1 ≠ r.1) (hbp : b.1 ≠ p.1)
(hbv : b.1 ≠ v.1) (hxr : x.1 ≠ r.1) (hxp : x.1 ≠ p.1) (hxv : x.1 ≠ v.1) (hrp : r.1 ≠ p.1)
(hrv : r.1 ≠ v.1) (hpv : p.1 ≠ v.1) (hl : μ.Live [b, x, r, p, v])
(hbs : μ.store.readBlock b.1 b.2 n = some bs) (hxs : μ.store.readBlock x.1 x.2 n = some xs)
(hx0 : Ops.decv dec n xs = 0) (hz : μ.Room [x, r, p, v] [n, n, n, 1]) :
Ops.ConditionalRuns I (Ops.Blas.ws 0) τ
(Ops.Stmt.link Ops.Blas.seq.table Krylov.CG.HSCG.Carried.Rounded.solve)
(Ops.Env.frame [n, cap] [b, x, x, r, p, v]) μ
(Krylov.CG.HSCG.Carried.Rounded.seqSolveCount n cap) (2 * n + 4) fun μ' ↦
μ'.pos = μ.pos ∧
Krylov.CG.HSCG.Carried.Rounded.Output dec A (Ops.decv dec n bs) e cap x r p v μ'Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Linked.