NLA-lib Explorer

NLAlib.ShiftedQR.exactAlgorithm_runs_with_work_le

Library · theorem

Every admitted raw input, every interpreter meeting the jointly realized exact model and every tape have a successful canonical execution whose full work and span are bounded by the explicit polynomial expression. Its stored output is the certified nearby-matrix root output; no successful-run, decoupling-success, or zero-kernel-cost assumption is added.

NLAlib.ShiftedQR.exactAlgorithm_runs_with_work_le
  (kernelWork kernelWorkspace : ShiftedQR.EigenvalueKernelOp → List ℕ → ℕ) {d : Fin 5 → ℕ}
  (hd : ShiftedQR.deflationProblem.valid d) (x : ShiftedQR.deflationProblem.Input d)
  (I : Ops.Interp ShiftedQR.Op ShiftedQR.Tst ℝ)
  (hI :
    (ShiftedQR.model ShiftedQR.deflationProblem ShiftedQR.exactRoutines
          (ShiftedQR.resources kernelWork kernelWorkspace)).contracts
      d x I)
  (tape : Ops.Tape ℝ) :
  ∃ st,
    Ops.exec (ShiftedQR.deflationProgram ShiftedQR.scalarDecouple) I
          (ShiftedQR.resources kernelWork kernelWorkspace) ShiftedQR.deflationProblem.formats tape d
          (ShiftedQR.deflationProblem.initial d x) =
        some st ∧
      (ShiftedQR.resources kernelWork kernelWorkspace).work st.cost ≤
          ShiftedQR.exactPolynomialWork kernelWork d ∧
        (ShiftedQR.resources kernelWork kernelWorkspace).span st.cost ≤
            ShiftedQR.exactPolynomialWork kernelWork d ∧
          (ShiftedQR.deflationSpecification ShiftedQR.scalarDecouple kernelWork
                kernelWorkspace).good
            d x tape st.cost st.mem

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Cost.