NLA-lib Explorer

NLAlib.Ops.StoredDense.stmtPeak_impl_zero

Library · theorem

Dense application reserves exactly one extra scalar cell when lower primitives require no additional workspace. The payload does not grow with the matrix dimensions.

NLAlib.Ops.StoredDense.stmtPeak_impl_zero {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (m n : ℕ)
  (offs : List ℕ) : Ops.stmtPeak (fun x x_1 ↦ 0) Ops.StoredDense.impl ([m, n] ++ offs) = 1

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredDense.