NLA-lib Explorer

NLAlib.Schur.denseSchur_checked

Library · theorem

What the 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 of the stored Schur form holds with probability over the draws: NLAlib.Schur.denseSchurClaim.

NLAlib.Schur.denseSchur_checked (Mch : Ops.Machine ℝ)
  (admitted : ∃ d, Schur.SchurSizes Mch Schur.denseSchurSizes d) (sU sG : ℕ) :
  ((Schur.schurPipelineInputs Mch Schur.denseSchurParams Schur.denseSchurSizes admitted).cast
        (Schur.schurPipelineRoutine Schur.frobNormStage (SmallEig.ginibrePerturb sG)
          hessenbergReduceQ (ShiftedQR.roundedShQRSchur sG))
        ⋯ ⋯).Checked
    (Schur.denseSchurAlgorithm Mch admitted sU sG)

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Certification.