Represent weighted allocations as weak compositions
ProvedOAI.PiExponent.LiteralAnalytic.allocationSum_eq_weakCompositionFiber_cardnumber-theoryopenai-pi-exponent-017
The weighted allocation sum counts assignments of total k to the expanded slots Σ i, Fin (e i), grouped by their block totals. Zero exponents give empty blocks, which contribute only when their block total is zero.
Preamble
import Mathlib.Tactic import Definitions.Def_allocationSum import Definitions.Def_weakCompositionFiber open scoped BigOperators
Formal statement
theorem OAI.PiExponent.LiteralAnalytic.allocationSum_eq_weakCompositionFiber_card
{σ : Type*} [Fintype σ] [DecidableEq σ]
(e : σ → ℕ) (k : ℕ) :
OAI.PiExponent.LiteralAnalytic.allocationSum e k =
Fintype.card
(OAI.PiExponent.LiteralAnalytic.weakCompositionFiber (Σ i, Fin (e i)) k) := by sorrySource