NLA-lib Explorer

NLAlib.Schur.denseSchurProgram_wp

Library · theorem

The dense Schur program terminates on every admitted input, interpretation of the model and tape, and writes only the matrix, the accumulator and the flag (NLAlib.Schur.denseSchur_completes, no rounding model). An end statement in operand form: no other declaration of the library is proved from it.

NLAlib.Schur.denseSchurProgram_wp {Mch : Ops.Machine ℝ}
  {admitted : ∃ d, Schur.SchurSizes Mch Schur.denseSchurSizes d} {sU sG : ℕ} {d : Fin 6 → ℕ}
  (hd : Schur.SchurSizes Mch Schur.denseSchurSizes d)
  (x : (Schur.denseSchurProblem Mch admitted).Input d)
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ}
  (hI : (SmallEig.smallEigModel (Schur.denseSchurProblem Mch admitted) Mch sU).contracts d x I)
  (τ : Ops.Tape ℝ) :
  Ops.Wp Ops.Mode.total I τ
    (Schur.schurPipelineProgram Schur.frobNormStage (SmallEig.ginibrePerturb sG) hessenbergReduceQ
        (ShiftedQR.roundedShQRSchur sG)).body
    (Ops.Program.environment d)
    (fun m ↦
      Ops.Store.EqOff (Schur.schurFp (d 0) (0, 0) (2, 0) (3, 0))
        ((Schur.denseSchurProblem Mch admitted).initial d x).store m.store)
    ((Schur.denseSchurProblem Mch admitted).initial d x)

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Certification.