NLA-lib Explorer

NLAlib.SmallEig.smallEigProgram_work_le

Library · theorem

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

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

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Certification.