NLA-lib Explorer

NLAlib.Ops.Examples.weight_split_le

Library · theorem

The weighted count of a split, for every superadditive weight: at most T k.

NLAlib.Ops.Examples.weight_split_le {Op : Type} {T : ℕ → ℕ}
  (hT : ∀ (a b : ℕ), T a + T b ≤ T (a + b)) (o : Op) {k v : ℕ} (hv : v ≤ k) :
  (Ops.Examples.kernWeight T)
      (Ops.Count.test Ops.IdxTst.toNat [] + (Ops.Count.one o [v] + Ops.Count.one o [k - v])) ≤
    T k

Full source on GitHub

Import NLAlib.Ops.Examples.Split.