NLA-lib Explorer

NLAlib.SpectralBisection.workSpecification

Library · def

Raw-word output, exact tape use and scratch cleanup, with a full static instruction budget, independent allocation polynomial, and matrix-work charge (L + 1) * (2 * cap + 11) * T n. Scalar, sampling, literal, query and structural work retain their full static charges. Scratch adds the finite matrix-workspace envelope; memory includes the supplied capacities. The dense profile is sequential, so work and span have the same bound.

NLAlib.SpectralBisection.workSpecification {K : Type} [Inhabited K] (M : Ops.Machine K)
  (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (domain : (Fin 3 → ℕ) → Prop)
  (admitted : ∃ d, domain d) (matrixWorkspace : Ops.MatrixOp → List ℕ → ℕ) (T : ℕ → ℕ) :
  Ops.Specification Ops.DenseOp (Ops.CmpTst ⊕ Ops.IdxTst)
    (SpectralBisection.problem domain admitted)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.WorkSpecification.