NLA-lib Explorer

NLAlib.SpectralBisection.sign_matrixWork_le

Library · theorem

The capped sign implementation uses at most one initial matrix product and two products per possible loop round. Scalar work and queries are separate; no monotonicity of T is needed.

NLAlib.SpectralBisection.sign_matrixWork_le (T : ℕ → ℕ) (k cap : ℕ) (offs : List ℕ) :
  Ops.stmtWeightedCost (Ops.Dense.matrixWeight (Ops.MatrixOp.dimensionWeight T)) (fun x x_1 ↦ 0)
      (Sign.program (Ops.Has.inj Ops.MatrixOp.mul)) ([k, cap] ++ offs) ≤
    (2 * cap + 1) * T k

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.SignWork.