NLA-lib Explorer

NLAlib.ShiftedQR.shqrSmallEigProgram_work_le

Library · theorem

The work and span of every run: under the unit costs NLAlib.SmallEig.smallEigResources, every successful counted run of the program has work and span at most NLAlib.ShiftedQR.shqrSmallEigWork at its sizes.

NLAlib.ShiftedQR.shqrSmallEigProgram_work_le {K : Type} (sG : ℕ)
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst K} {τ : Ops.Tape K}
  {formats : Fin 5 → Ops.StorageFormat} {d : Fin 5 → ℕ} {m : Ops.Mem K}
  {st : Ops.St (SmallEig.SmallEigOp ⊕ Ops.Bookkeeping) ShiftedQR.Tst K}
  (hr :
    Ops.exec (ShiftedQR.shqrSmallEigProgram sG) I SmallEig.smallEigResources formats τ d m =
      some st) :
  SmallEig.smallEigResources.work st.cost ≤ ShiftedQR.shqrSmallEigWork d ∧
    SmallEig.smallEigResources.span st.cost ≤ ShiftedQR.shqrSmallEigWork d

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSmallEigCertification.