NLA-lib Explorer

NLAlib.Ops.PairMatrix.stmtPeak_identity_le

Library · theorem

Identity needs only the larger literal implementation workspace, with no allocated buffer.

NLAlib.Ops.PairMatrix.stmtPeak_identity_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  (W : Op → List ℕ → ℕ) (n y : ℕ) :
  Ops.stmtPeak W Ops.PairMatrix.identity [n, y] ≤
    max (W (Ops.Has.inj (Ops.ScalarOp.lit 0)) []) (W (Ops.Has.inj (Ops.ScalarOp.lit 1)) [])

Full source on GitHub

Import NLAlib.Ops.Blas.Matrix.