NLAlib.Schur.schurPipeline_scale_completes
Library · theorem
The scaling of the pipeline on any scalar machine: from a run memory holding a matrix and a word \mathbf{x} in S, the scaling stores some matrix.
NLAlib.Schur.schurPipeline_scale_completes {O Q : Type} [Ops.Has Ops.ScalarOp O]
{Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar Mch I) {n nr nq k F T L : ℕ}
{qs : List ℝ} {a p uo f : ℕ × ℕ} {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ}
(hm : Schur.SchurPipelineMem n qs a p uo f L m) {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
(hA : HoldsMatrix a A m.store) {x : ℝ} (hx : m.store.get L 0 = some x) :
Ops.Writes Ops.Mode.total I τ
((Ops.Stmt.call (Ops.Has.inj (Ops.ScalarOp.lit 1)) [] []
[{ buf := 6, off := Ops.IExp.const 0 }]).seq
((Ops.Stmt.call (Ops.Has.inj Ops.ScalarOp.div) []
[{ buf := 6, off := Ops.IExp.const 0 }, { buf := 5, off := Ops.IExp.const 0 }]
[{ buf := 6, off := Ops.IExp.const 0 }]).seq
(Ops.Stmt.loop (Ops.IExp.const 2 * (Ops.IExp.var 0 * Ops.IExp.var 0))
(Ops.Stmt.call (Ops.Has.inj Ops.ScalarOp.mul) []
[{ buf := 0, off := Ops.IExp.var 6 + Ops.IExp.var 11 },
{ buf := 6, off := Ops.IExp.const 0 }]
[{ buf := 0, off := Ops.IExp.var 6 + Ops.IExp.var 11 }]))))
(Schur.schurPipelineEnv n nr nq k F T a p uo f L)
(Ops.Store.inBlock (L + 1) 0 1 ⊔ Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(fun m' ↦
Schur.SchurPipelineMem n qs a p uo f L m' ∧
m'.store.get L 0 = some x ∧ ∃ A₁, HoldsMatrix a A₁ m'.store)
mImport NLAlib.Eigensolvers.Schur.Completion.