NLA-lib Explorer

NLAlib.SpectralBisection.sign_matrixShapes

Library · theorem

Every multiplication inside the fixed capped sign program has the square input shape. The cap and all operand offsets are independent of the matrix dimension bound.

NLAlib.SpectralBisection.sign_matrixShapes (n k cap : ℕ) (offs : List ℕ) (hk : k ≤ n) :
  (Ops.stmtCost (Sign.program (Ops.Has.inj Ops.MatrixOp.mul)) ([k, cap] ++ offs)).CallsSatisfy
    (SpectralBisection.MatrixShape n)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.MatrixShapes.