NLA-lib Explorer

NLAlib.Ops.le_weightEnvelope

Library · theorem

A primitive cost at any admitted shape is below the explicit finite envelope.

NLAlib.Ops.le_weightEnvelope (weight : List ℕ → ℕ) {arity extent : ℕ} {ds : List ℕ}
  (hl : ds.length ≤ arity) (hx : ∀ x ∈ ds, x ≤ extent) :
  weight ds ≤ Ops.weightEnvelope weight arity extent

Full source on GitHub

Import NLAlib.Ops.WeightEnvelope.