NLA-lib Explorer

NLAlib.Ops.Dense.matrixWeight_le_kernelWeight

Library · theorem

Pointwise matrix costs bounded by a largest-dimension cost give the corresponding actual kernel-weight bound. No monotonicity of the dimension cost is needed here.

NLAlib.Ops.Dense.matrixWeight_le_kernelWeight {Tst : Type} (matrixWork : Ops.MatrixOp → List ℕ → ℕ)
  (T : ℕ → ℕ)
  (hWork : ∀ (o : Ops.MatrixOp) (ds : List ℕ), matrixWork o ds ≤ T (List.foldr max 0 ds))
  (c : Ops.Count Ops.DenseOp Tst) :
  (Ops.Count.weight (Ops.Dense.matrixWeight matrixWork)) c ≤ (Ops.Dense.kernelWeight T) c

Full source on GitHub

Import NLAlib.Ops.Profiles.DenseWork.