NLAlib.Schur.schurPipelineWith_terminates
Library · theorem
This statement changed in the recorded rename: 2026-11-schur-tighten.
Standard rounding
The pipeline terminates on every tape with a regularizer that terminates storing some matrix, a reducer and a terminating core, and stores a matrix in the block of \mathbf{A} and an accumulator with \|\widehat{\mathbf{U}}^{\mathsf H}\widehat{\mathbf{U}} - \mathbf{I}\|_2 \le 2\varepsilon + \varepsilon^2, \varepsilon = (1 + \varepsilon_{H,U})(1 + \varepsilon_{C,U}) - 1.
NLAlib.Schur.schurPipelineWith_terminates {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 ℝ}
{u : ℝ} {n : ℕ} (hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) (hL : Ops.IsIndexLit Mch I)
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hC : Ops.IsCmp id I) (hu1 : u ≤ 1)
{Nm Reg Red Core : Ops.Stmt O Q} {k F T : ℕ} {c₁ c₂ εHU εHT εCU : ℝ} {qR qC : List ℝ}
(hNm : Schur.FrobNormEstimateContract c₁ c₂ (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.HessenbergReducerContract εHU εHT (n + 1) Red I)
(hCore : Schur.TerminatingSchurCore εCU k F T (n + 1) qC Core I) (hc₁ : 0 < c₁) (hεHU : 0 ≤ εHU)
(hεCU : 0 ≤ εCU) {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)
(Schur.SchurOrth a uo (2 * ((1 + εHU) * (1 + εCU) - 1) + ((1 + εHU) * (1 + εCU) - 1) ^ 2)) μImport NLAlib.Eigensolvers.Schur.Pipeline.