NLA-lib Explorer

NLAlib.Schur.verifiedSchurRoutine_meets

Library · theorem

Standard rounding

The verified dense Schur routine meets its specification on every tape: on a machine with the standard model at \boldsymbol{u} \le NLAlib.Schur.uVerifiedSchur, index literals, exact natural literals up to n + 1, exact toNat and comparisons, draws that store the tape entry and an exact polar disk sampler, for 0 < \delta \le 1 and every complex \mathbf{A} of order n + 1, a flag 0 certifies the Schur form with the errors \delta and 58R\boldsymbol{u} (NLAlib.Schur.verifiedSchur_writes), R = NLAlib.Schur.denseSchurRotations at the internal backward error.

NLAlib.Schur.verifiedSchurRoutine_meets {Mch : Ops.Machine ℝ}
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ} {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))
  (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I) (hSmp : Ops.IsSample I) {sU sG : ℕ}
  (hDisk : ShiftedQR.IsPolarDiskSampler sU I) (A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) {δ φ : ℝ}
  (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hu : u ≤ Schur.uVerifiedSchur n δ φ) :
  (Schur.verifiedSchurRoutine sG).Meets I
    (Schur.verifiedSchurSpec A (Schur.verifiedSchurParams u n δ φ)
      (n :: (Schur.denseSchurDims n (Schur.verifiedSchurDelta n δ) φ).tail) δ
      (58 * ↑(Schur.denseSchurRotations n (Schur.verifiedSchurDelta n δ) φ) * u))

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.VerifiedCertificate.