NLAlib.Ops.Examples.runs_mgs_link_seq
Library · theorem
Standard rounding
The concrete corollary: mgs linked through the profile of sequential summation, down to scalar arithmetic meeting the standard model at the unit roundoff u. One application of the certificate of the profile; the accuracy parameters are those of the profile, the counts are pushed forward. No proof about the algorithm or its loops.
NLAlib.Ops.Examples.runs_mgs_link_seq {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Inhabited K] [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] {M : Ops.Machine K}
{u : ℝ} {dec : K → ℝ} (hM : Ops.StdModel u dec M) (hu : 0 ≤ u) {I : Ops.Interp Op Tst K}
(hI : Ops.IsScalar M I) {τ : Ops.Tape K} {n k : ℕ} {Q w R : ℕ × ℕ} {μ : Ops.Mem K}
{qs ws : List K} (hQw : Q.1 ≠ w.1) (hQR : Q.1 ≠ R.1) (hwR : w.1 ≠ R.1) (hl : μ.Live [Q, w, R])
(hq : μ.store.readBlock Q.1 Q.2 (k * n) = some qs) (hw : μ.store.readBlock w.1 w.2 n = some ws)
(hwl : w.2 + n ≤ μ.store.len w.1) (hR : R.2 + (k + 1) ≤ μ.store.len R.1) :
Ops.ConditionalRuns I (Ops.Blas.ws 0) τ (Ops.Stmt.link Ops.Blas.seq.table Ops.Examples.mgs)
(Ops.Env.frame [n, k] [Q, w, w, R]) μ
(k •
(n • Ops.Blas.sc Ops.ScalarOp.mul +
(Ops.Blas.sc (Ops.ScalarOp.lit 0) +
((1 - (1 - n)) • Ops.Blas.sc Ops.ScalarOp.copy +
(n - 1) • Ops.Blas.sc Ops.ScalarOp.add)) +
(Ops.Blas.sc Ops.ScalarOp.neg +
n • (Ops.Blas.sc Ops.ScalarOp.mul + Ops.Blas.sc Ops.ScalarOp.add))) +
(n • Ops.Blas.sc Ops.ScalarOp.mul +
(Ops.Blas.sc (Ops.ScalarOp.lit 0) +
((1 - (1 - n)) • Ops.Blas.sc Ops.ScalarOp.copy +
(n - 1) • Ops.Blas.sc Ops.ScalarOp.add) +
Ops.Blas.sc Ops.ScalarOp.sqrt)))
(Ops.Examples.mgsPeak (Ops.Blas.ws 0) n)
(Ops.Examples.MgsRounded dec (Ops.Blas.seq.err u) n k w R qs ws μ)Import NLAlib.Ops.Examples.GramSchmidt.