NLAlib.Schur.schurPipelineWith_completes
Library · theorem
The pipeline runs to completion on any scalar machine with exact natural literals up to n + 1, index literals and exact comparisons, given stages that complete: it writes only the matrix, the accumulator and the flag. No rounding model is needed.
NLAlib.Schur.schurPipelineWith_completes {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ}
{n : ℕ} (hS : Ops.IsScalar Mch I) (hL : Ops.IsIndexLit Mch I)
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hC : Ops.IsCmp id I) {Nm Reg Red Core : Ops.Stmt O Q}
{k F T : ℕ} {qR qC : List ℝ} (hNm : Schur.CompletingNormEstimate (n + 1) Nm I)
(hReg :
∀ {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {a q : ℕ × ℕ} (A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ),
HoldsMatrix a A μ.store →
μ.store.readBlock q.1 q.2 qR.length = some qR →
μ.Live [a, q] →
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(Ops.Store.inBlock q.1 q.2 qR.length) →
Ops.Writes Ops.Mode.total I τ Reg (Ops.Env.frame [n + 1, qR.length] [a, q, a])
(Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(fun μ' ↦ ∃ A', HoldsMatrix a A' μ'.store) μ)
(hRed : Schur.CompletingReducer (n + 1) Red I)
(hCore : Schur.CompletingSchurCore k F T (n + 1) qC Core I)
{A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {a p uo f : ℕ × ℕ} {μ : Ops.Mem ℝ}
(hin : Schur.SchurPipelineInput (qR ++ qC) a p uo f A μ) (τ : Ops.Tape ℝ) :
Ops.Writes Ops.Mode.total I τ (Schur.schurPipelineWith Nm Reg Red Core)
(Ops.Env.frame [n + 1, qR.length, qC.length, k, F, T] [a, p, a, uo, f]) (Schur.schurFp n a uo f)
(fun x ↦ True) μImport NLAlib.Eigensolvers.Schur.Completion.