NLAlib.Krylov.GolubKahan.Band.Rounded.runs_linkedSolve
Library · theorem
Total counted execution of the linked program under rounded contracts, with the executed history. Let the lower interpretation have products with \mathbf{A} and \mathbf{A}^{\mathsf{H}} within the allowances \delta, \delta' and draws that return the words of the tape, let the scheme E be certified against the rounded contract of a basis extension with parameters (\eta_0, \mu, \varepsilon) at the dimensions admitted by ok, cost at most κ d at the dimensions d and use at most w scratch, and let every lower primitive have workspace at most w. If ok admits every extension of the run, then on five live output blocks in distinct buffers with room for the output lengths the linked program terminates within the counts NLAlib.Krylov.GolubKahan.Band.linkedSolveCount and the scratch \max(m, n)\,\mathbf{b} + w, consumes n\mathbf{b} samples, and the stored blocks decode to a rounded run for \mathbf{A}. There is no orthogonality, rank or nonbreakdown hypothesis.
NLAlib.Krylov.GolubKahan.Band.Rounded.runs_linkedSolve {K Lo Tst : Type}
[Ops.Has Ops.OperatorPairOp Lo] [Ops.Has Ops.SampleOp Lo] [Inhabited K] {dec : K → ℝ}
{m n b q : ℕ} {A : Matrix (Fin m) (Fin n) ℝ} {I : Ops.Interp Lo Tst K} {E : Ops.Stmt Lo Tst}
{δ δ' η₀ μ ε : ℝ} {ok : ℕ → ℕ → ℕ → Prop} (hA : Ops.IsMatvecPair dec A δ δ' I)
(hSample : Ops.IsSample I) (hE : (Ops.extendRoutine E).Meets I (Ops.extendSpec dec η₀ μ ε ok))
(κ : List ℕ → Ops.Count Lo Tst) (W : Lo → List ℕ → ℕ) (w : ℕ)
(hcost :
∀ (d offs : List ℕ),
d.length = 3 →
offs.length = 5 → Ops.stmtCost E (d ++ offs) ≤ κ d ∧ Ops.stmtPeak W E (d ++ offs) ≤ w)
(hW : ∀ (o : Lo) (ds : List ℕ), W o ds ≤ w) (stream : ℕ) (hok₀ : ok n 0 b)
(hokU : ∀ j < q, ok m (j * b) b) (hokV : ∀ j < q, ok n ((j + 1) * b) b) {τ : Ops.Tape K}
{ν : Ops.Mem K} {U V G R S : ℕ × ℕ} (hbuf : [U.1, V.1, G.1, R.1, S.1].Nodup)
(hl : ν.Live [U, V, G, R, S])
(hz : ν.Room [U, V, G, R, S] (Krylov.GolubKahan.Band.outLens m n b q)) :
Ops.ConditionalRuns I W τ (Krylov.GolubKahan.Band.linkedSolve E stream)
(Ops.Env.frame [m, n, b, q] [U, V, G, R, S]) ν
(Krylov.GolubKahan.Band.linkedSolveCount κ stream m n b q) ((m + (n - m)) * b + w) fun ν' ↦
ν'.pos = ν.pos + n * b ∧
∃ us vs gs rs ss,
ν'.readBlocks [U, V, G, R, S] (Krylov.GolubKahan.Band.outLens m n b q) =
some [us, vs, gs, rs, ss] ∧
Krylov.GolubKahan.Band.StoredOut dec m n b q
(Krylov.GolubKahan.Band.IsRoundedStoredRun A δ δ' η₀ μ ε b q)
(τ.window stream ν.pos (n * b)) us vs gs rs ssImport NLAlib.Krylov.GolubKahan.Band.Linked.