NLAlib.Schur.schurPipeline_checked
Library · theorem
What the generic certificate states: at every admitted size, for every admitted input, every interpretation satisfying the contracts of the model and every tape, the run of the fixed program from the supplied buffers succeeds within the scratch, the budget, the work, the span and the memory of the specification, and its final memory satisfies the output condition (NLAlib.Ops.Inputs.Checked). The deterministic claim is termination within the footprint only. The accuracy is a statement about the stages, with probability over the draws: for the dense instance it is NLAlib.Schur.denseSchurClaim.
NLAlib.Schur.schurPipeline_checked {Mch : Ops.Machine ℝ} {words : ℕ → ℝ → ℝ → List ℝ}
{sizes : ℕ → ℝ → ℝ → Fin 6 → ℕ} {admitted : ∃ d, Schur.SchurSizes Mch sizes d} (sU : ℕ)
(Nm Reg Red Core : Ops.Stmt SmallEig.SmallEigOp ShiftedQR.Tst)
(WNm WReg WRed WCore : (Fin 6 → ℕ) → ℕ)
(hNm : ∀ (d : Fin 6 → ℕ), Ops.Count.size (Ops.stmtCost Nm.instrument [d 0 + 1, 0, 0]) ≤ WNm d)
(hReg :
∀ (d : Fin 6 → ℕ),
Ops.Count.size (Ops.stmtCost Reg.instrument [d 0 + 1, d 1, 0, 0, 0]) ≤ WReg d)
(hRed :
∀ (d : Fin 6 → ℕ), Ops.Count.size (Ops.stmtCost Red.instrument [d 0 + 1, 0, 0, 0, 0]) ≤ WRed d)
(hCore :
∀ (d : Fin 6 → ℕ),
Ops.Count.size
(Ops.stmtCost Core.instrument [d 0 + 1, d 2, d 3, d 4, d 5, 0, d 1, 0, 0, 0, 0]) ≤
WCore d)
(hwords : ∀ (n : ℕ) (δ φ : ℝ), (words n δ φ).length = sizes n δ φ 1 + sizes n δ φ 2)
(ht :
(Schur.schurPipelineProgram Nm Reg Red Core).wellTyped SmallEig.smallEigResources
(Schur.schurPipelineProblem Mch words sizes admitted).formats =
true)
(hmeets :
∀ (d : Fin 6 → ℕ),
Schur.SchurSizes Mch sizes d →
∀ (x : (Schur.schurPipelineProblem Mch words sizes admitted).Input d)
(I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ),
(SmallEig.smallEigModel (Schur.schurPipelineProblem Mch words sizes admitted) Mch
sU).contracts
d x I →
(Schur.schurPipelineRoutine Nm Reg Red Core).Meets I
(Schur.schurPipelineSpec (words (d 0) (↑x).1.δ (↑x).1.φ) (List.ofFn d))) :
((Schur.schurPipelineInputs Mch words sizes admitted).cast
(Schur.schurPipelineRoutine Nm Reg Red Core) ⋯ ⋯).Checked
(Schur.schurPipelineAlgorithm sU Nm Reg Red Core WNm WReg WRed WCore hNm hReg hRed hCore hwords
ht hmeets)Import NLAlib.Eigensolvers.Schur.Certification.