Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-29
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The multinomial coefficient equals n!/i<mki!n!/\prod_{i<m} k_i!, and (x0++xm1)n=ι ⁣(nk)i<mxiki(x_0+\dots+x_{m-1})^{n} = \sum \iota\!\binom{n}{k}\prod_{i<m} x_i^{k_i} in R\mathbb{R}

Statement

Let m,nNm, n \in \mathbb{N} and kW(n,m)k \in \mathcal{W}(n,m), that is k:mNk : m \to \mathbb{N} with i<mki=n\sum_{i<m}k_i = n (The multinomial coefficient (nk0,,km1)\binom{n}{k_0,\dots,k_{m-1}} as the number of ordered partitions of an nn-set into blocks of prescribed sizes). Then:

  1. The closed formula, in N\mathbb{N}. (nk)i<mki!  =  n!,\binom{n}{k}\cdot\prod_{i<m} k_i! \;=\; n! , so in R\mathbb{R} the quotient ι(n!)/i<mι(ki!)\iota(n!)\big/\prod_{i<m}\iota(k_i!) is ι(nk)\iota\binom{n}{k}, the canonical natural of a count.
  2. The expansion, in R\mathbb{R}. For x:mRx : m \to \mathbb{R}, (i<mxi)n  =  kW(n,m)ι(nk)i<mxiki,\Big(\sum_{i<m} x_i\Big)^{n} \;=\; \sum_{k \in \mathcal{W}(n,m)} \iota\binom{n}{k}\prod_{i<m} x_i^{\,k_i}, the outer sum being the sum over the finite index set W(n,m)\mathcal{W}(n,m) (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form) and the inner product the real finite product of Finite sums and finite products, by recursion.

As with the binomial theorem, the identity is stated in R\mathbb{R}; the commutative-ring version is a separate statement, to be made where rings exist. See the Remarks of The binomial theorem in R\mathbb{R}: (x+y)n=k<n+1ι ⁣(nk)xkynk(x+y)^{n} = \sum_{k<n+1} \iota\!\binom{n}{k}\, x^{k} y^{\,n-k}.

Facts & Assumptions

Given: Naturals mm, nn, a tuple kW(n,m)k \in \mathcal{W}(n,m), a list x:mRx : m \to \mathbb{R}, and a finite set AA with A=n\lvert A\rvert = n. For m=σ(M)m = \sigma(M) write k:MNk' : M \to \mathbb{N} for the shifted tuple kj:=kσ(j)k'_j := k_{\sigma(j)}.

[L2]

Multinomial coefficients (The multinomial coefficient (nk0,,km1)\binom{n}{k_0,\dots,k_{m-1}} as the number of ordered partitions of an nn-set into blocks of prescribed sizes): B(A,k)=(Ak)\lvert\mathcal{B}(A,k)\rvert = \binom{\lvert A\rvert}{k}; B(A,k)\mathcal{B}(A,k) and W(n,m)\mathcal{W}(n,m) are finite; (0 )=1\binom{0}{\ } = 1 for the empty tuple; and W(n,0)\mathcal{W}(n,0) is {()}\{\,()\,\} for n=0n = 0 and \varnothing for n1n \ge 1.

[L7]

ι\iota is additive, multiplicative, injective, and commutes with finite sums and products (clauses 0, 6, 7 of Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k), The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field); R\mathbb{R} is a field (Field); powers obey a0=1a^{0} = 1, aσ(j)=ajaa^{\sigma(j)} = a^{j}a (Integer powers ama^m).

Proof

technique · induction
1.1

Notation for both inductions. For m=σ(M)m = \sigma(M) and kW(n,σ(M))k \in \mathcal{W}(n,\sigma(M)), splitting the sum at index 11 ([L5]) gives n=i<σ(M)ki=k0+j<Mkjn = \sum_{i<\sigma(M)}k_i = k_0 + \sum_{j<M} k'_j, so kW(nk0,M)k' \in \mathcal{W}(n - k_0, M) and k0nk_0 \le n; the same splitting for products gives i<σ(M)ki!=k0!j<Mkj!\prod_{i<\sigma(M)}k_i! = k_0!\cdot\prod_{j<M}k'_j!.

givenL5L8
1.2

Base case of clause 1, at m=0m = 0. Then W(n,0)\mathcal{W}(n,0) is nonempty only for n=0n = 0, and there (0 )=1\binom{0}{\ } = 1, the empty product of factorials is 11 and 0!=10! = 1, so the identity reads 11=11 \cdot 1 = 1.

baseL2L5L6
1.3

Inductive hypothesis for clause 1: fix MM and assume (Nk)j<Mkj!=N!\binom{N}{k'}\prod_{j<M}k'_j! = N! for every NN and every kW(N,M)k' \in \mathcal{W}(N,M).

ih
1.4

Base case of clause 2, at m=0m = 0. The left-hand side is (i<0xi)n=0n\big(\sum_{i<0}x_i\big)^{n} = 0^{\,n}. If n=0n = 0 this is 11, and the right-hand side is the single term ι(0 )i<0xiki=11=1\iota\binom{0}{\ }\prod_{i<0}x_i^{k_i} = 1\cdot 1 = 1. If n1n \ge 1 then 0n=00^{\,n} = 0 and W(n,0)=\mathcal{W}(n,0) = \varnothing, so the right-hand side is an empty sum, equal to 00.

L2L5L7
2.1

Inductive step for clause 1. Let m=σ(M)m = \sigma(M), kW(n,σ(M))k \in \mathcal{W}(n,\sigma(M)), and let AA be finite with A=n\lvert A\rvert = n. The map c(c1[{0}],c)c \mapsto \big(c^{-1}[\{0\}],\, c''\big), where c(a)c''(a) is the unique ii with c(a)=σ(i)c(a) = \sigma(i) for ac1[{0}]a \notin c^{-1}[\{0\}], sends B(A,k)\mathcal{B}(A,k) to the set of pairs (S,c)(S, c'') with S[A]k0S \in [A]^{k_0} and cB(AS,k)c'' \in \mathcal{B}(A\setminus S, k'); it is well defined because c(a)0c(a) \ne 0 off the first fibre, every nonzero natural is a unique successor, and c1[{j}]=c1[{σ(j)}]=kj\lvert c''^{-1}[\{j\}]\rvert = \lvert c^{-1}[\{\sigma(j)\}]\rvert = k'_j. Its two-sided inverse sends (S,c)(S,c'') to the colouring equal to 00 on SS and to σ(c(a))\sigma(c''(a)) off SS. The pairs form the union of the pairwise disjoint sets {S}×B(AS,k)\{S\}\times\mathcal{B}(A\setminus S,k') indexed by S[A]k0S \in [A]^{k_0}, and AS=nk0\lvert A\setminus S\rvert = n-k_0 by [L3], so each has (nk0k)\binom{n-k_0}{k'} elements. Hence (nk)=(nk0)(nk0k)\binom{n}{k} = \binom{n}{k_0}\binom{n-k_0}{k'} by [L3] and [L8]. Multiplying by i<σ(M)ki!=k0!j<Mkj!\prod_{i<\sigma(M)}k_i! = k_0!\prod_{j<M}k'_j! and using the hypothesis of step 1.3 at N=nk0N = n-k_0 gives (nk)i<σ(M)ki!=(nk0)k0!((nk0k)j<Mkj!)=(nk0)k0!(nk0)!=n!\binom{n}{k}\prod_{i<\sigma(M)}k_i! = \binom{n}{k_0}\,k_0!\cdot\Big(\binom{n-k_0}{k'}\prod_{j<M}k'_j!\Big) = \binom{n}{k_0}\,k_0!\,(n-k_0)! = n! by [L4], since k0nk_0 \le n.

step 1.1step 1.3L2L3L4L6L8construct
3.1

Clause 1 holds for every mm, by step 1.2, step 2.1 and induction. The real form follows: applying ι\iota gives ι(nk)i<mι(ki!)=ι(n!)\iota\binom{n}{k}\prod_{i<m}\iota(k_i!) = \iota(n!), and each ι(ki!)\iota(k_i!) is nonzero by [L6] and [L7], so the product is invertible in R\mathbb{R}.

step 1.2step 2.1L1L6L7
4.1

Inductive step for clause 2. Assume clause 2 at MM, for every nn and every list of length MM. Let x:σ(M)Rx : \sigma(M) \to \mathbb{R}, put y:=i<Mxiy := \sum_{i<M}x_i and z:=xMz := x_M, so i<σ(M)xi=y+z\sum_{i<\sigma(M)}x_i = y + z by [L5]. The map Φ(j,κ):=κ^\Phi(j,\kappa) := \widehat{\kappa}, where κ^\widehat{\kappa} restricts to κ\kappa on MM and κ^M:=nj\widehat{\kappa}_M := n-j, is a bijection from the disjoint union of the sets {j}×W(j,M)\{j\}\times\mathcal{W}(j,M), j<σ(n)j < \sigma(n), onto W(n,σ(M))\mathcal{W}(n,\sigma(M)): it lands there because i<σ(M)κ^i=j+(nj)=n\sum_{i<\sigma(M)}\widehat{\kappa}_i = j + (n-j) = n, and its inverse sends κ^\widehat{\kappa} to the pair (i<Mκ^i, κ^M)\big(\sum_{i<M}\widehat{\kappa}_i,\ \widehat{\kappa}\restriction M\big), the two constructions being mutually inverse by [L8]. Moreover ι(nj)ι(jκ)=ι(nκ^)\iota\binom{n}{j}\,\iota\binom{j}{\kappa} = \iota\binom{n}{\widehat{\kappa}}: by step 3.1 and [L4], both (nκ^)\binom{n}{\widehat{\kappa}} and (nj)(jκ)\binom{n}{j}\binom{j}{\kappa} become n!n! after multiplication by the nonzero natural (i<Mκi!)(nj)!\big(\prod_{i<M}\kappa_i!\big)(n-j)!, so they are equal by cancellation. And i<Mxiκiznj=i<σ(M)xiκ^i\prod_{i<M}x_i^{\kappa_i}\cdot z^{\,n-j} = \prod_{i<\sigma(M)}x_i^{\widehat{\kappa}_i} by the product recursion clause. Now [L4] gives (y+z)n=j<σ(n)ι(nj)yjznj(y+z)^{n} = \sum_{j<\sigma(n)}\iota\binom{n}{j}y^{\,j}z^{\,n-j}; substituting the inductive hypothesis for yjy^{\,j}, distributing the scalar ι(nj)znj\iota\binom{n}{j}z^{\,n-j} over the inner sum by the scaling clause of [L5], and then applying [L3] to the partition of W(n,σ(M))\mathcal{W}(n,\sigma(M)) into the images of the sets W(j,M)\mathcal{W}(j,M) under Φ\Phi yields (i<σ(M)xi)n=κ^W(n,σ(M))ι(nκ^)i<σ(M)xiκ^i\big(\sum_{i<\sigma(M)}x_i\big)^{n} = \sum_{\widehat{\kappa}\in\mathcal{W}(n,\sigma(M))}\iota\binom{n}{\widehat{\kappa}}\prod_{i<\sigma(M)}x_i^{\widehat{\kappa}_i}.

step 1.4step 3.1assume-hypL2L3L4L5L6L7L8construct
5.1

By step 1.4, step 4.1 and induction, clause 2 holds for every mNm \in \mathbb{N}, every nn and every list xx.

step 1.4step 4.1L1
6.1

Clause 1 is step 3.1 and clause 2 is step 5.1.

step 3.1step 5.1discharge-induction

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 97 results over 32 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources