NLA-lib Explorer

NLAlib.Ops.sum_range_le_nsmul

Library · theorem

A count of the slot values below n dominated by one count G is at most n̂ • G.

NLAlib.Ops.sum_range_le_nsmul {Op Tst : Type} {N M : ℕ} {f : ℕ → Ops.Count Op Tst}
  {G : Ops.Count Op Tst} (hN : N ≤ M) (hf : ∀ i < N, f i ≤ G) : ∑ i ∈ Finset.range N, f i ≤ M • G

Full source on GitHub

Import NLAlib.Ops.MonomialWork.