Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck 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!, and (x0+⋯+xm−1)n=∑ι ⁣(nk)∏i<mxiki in R

Statement

Let m,n∈N and k∈W(n,m), that is k:m→N with ∑i<mki=n (The multinomial coefficient (nk0,…,km−1) as the number of ordered partitions of an n-set into blocks of prescribed sizes). Then:

  1. The closed formula, in N. (nk)⋅∏i<mki!  =  n!, so in R the quotient ι(n!)/∏i<mι(ki!) is ι(nk), the canonical natural of a count.
  2. The expansion, in R. For x:m→R, (∑i<mxi)n  =  ∑k∈W(n,m)ι(nk)∏i<mxi ki, the outer sum being the sum over the finite index set W(n,m) (The sum ∑i∈Sai 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; the commutative-ring version is a separate statement, to be made where rings exist. See the Remarks of The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k.

Facts & Assumptions

Given: Naturals m, n, a tuple k∈W(n,m), a list x:m→R, and a finite set A with ∣A∣=n. For m=σ(M) write k′:M→N for the shifted tuple kj′:=kσ(j).

[L2]

Multinomial coefficients (The multinomial coefficient (nk0,…,km−1) as the number of ordered partitions of an n-set into blocks of prescribed sizes): ∣B(A,k)∣=(∣A∣k); B(A,k) and W(n,m) are finite; (0 )=1 for the empty tuple; and W(n,0) is { () } for n=0 and ∅ for n≥1.

[L7]

ι is additive, multiplicative, injective, and commutes with finite sums and products (clauses 0, 6, 7 of Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak), The canonical natural ι(n)=n⋅1F of a field); R is a field (Field); powers obey a0=1, aσ(j)=aja (Integer powers am).

Proof

technique · induction
1.1

Notation for both inductions. For m=σ(M) and k∈W(n,σ(M)), splitting the sum at index 1 ([L5]) gives n=∑i<σ(M)ki=k0+∑j<Mkj′, so k′∈W(n−k0,M) and k0≤n; the same splitting for products gives ∏i<σ(M)ki!=k0!⋅∏j<Mkj′!.

givenL5L8
1.2

Base case of clause 1, at m=0. Then W(n,0) is nonempty only for n=0, and there (0 )=1, the empty product of factorials is 1 and 0!=1, so the identity reads 1⋅1=1.

baseL2L5L6
1.3

Inductive hypothesis for clause 1: fix M and assume (Nk′)∏j<Mkj′!=N! for every N and every k′∈W(N,M).

ih
1.4

Base case of clause 2, at m=0. The left-hand side is (∑i<0xi)n=0 n. If n=0 this is 1, and the right-hand side is the single term ι(0 )∏i<0xiki=1⋅1=1. If n≥1 then 0 n=0 and W(n,0)=∅, so the right-hand side is an empty sum, equal to 0.

L2L5L7
2.1

Inductive step for clause 1. Let m=σ(M), k∈W(n,σ(M)), and let A be finite with ∣A∣=n. The map c↦(c−1[{0}], c′′), where c′′(a) is the unique i with c(a)=σ(i) for a∉c−1[{0}], sends B(A,k) to the set of pairs (S,c′′) with S∈[A]k0 and c′′∈B(A∖S,k′); it is well defined because c(a)≠0 off the first fibre, every nonzero natural is a unique successor, and ∣c′′−1[{j}]∣=∣c−1[{σ(j)}]∣=kj′. Its two-sided inverse sends (S,c′′) to the colouring equal to 0 on S and to σ(c′′(a)) off S. The pairs form the union of the pairwise disjoint sets {S}×B(A∖S,k′) indexed by S∈[A]k0, and ∣A∖S∣=n−k0 by [L3], so each has (n−k0k′) elements. Hence (nk)=(nk0)(n−k0k′) by [L3] and [L8]. Multiplying by ∏i<σ(M)ki!=k0!∏j<Mkj′! and using the hypothesis of step 1.3 at N=n−k0 gives (nk)∏i<σ(M)ki!=(nk0) k0!⋅((n−k0k′)∏j<Mkj′!)=(nk0) k0! (n−k0)!=n! by [L4], since k0≤n.

step 1.1step 1.3L2L3L4L6L8construct
3.1

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

step 1.2step 2.1L1L6L7
4.1

Inductive step for clause 2. Assume clause 2 at M, for every n and every list of length M. Let x:σ(M)→R, put y:=∑i<Mxi and z:=xM, so ∑i<σ(M)xi=y+z by [L5]. The map Φ(j,κ):=κ^, where κ^ restricts to κ on M and κ^M:=n−j, is a bijection from the disjoint union of the sets {j}×W(j,M), j<σ(n), onto W(n,σ(M)): it lands there because ∑i<σ(M)κ^i=j+(n−j)=n, and its inverse sends κ^ to the pair (∑i<Mκ^i, κ^↾M), the two constructions being mutually inverse by [L8]. Moreover ι(nj) ι(jκ)=ι(nκ^): by step 3.1 and [L4], both (nκ^) and (nj)(jκ) become n! after multiplication by the nonzero natural (∏i<Mκi!)(n−j)!, so they are equal by cancellation. And ∏i<Mxiκi⋅z n−j=∏i<σ(M)xiκ^i by the product recursion clause. Now [L4] gives (y+z)n=∑j<σ(n)ι(nj)y jz n−j; substituting the inductive hypothesis for y j, distributing the scalar ι(nj)z n−j over the inner sum by the scaling clause of [L5], and then applying [L3] to the partition of W(n,σ(M)) into the images of the sets W(j,M) under Φ yields (∑i<σ(M)xi)n=∑κ^∈W(n,σ(M))ι(nκ^)∏i<σ(M)xiκ^i.

step 1.4step 3.1assume-hypL2L3L4L5L6L7L8construct
5.1

By step 1.4, step 4.1 and induction, clause 2 holds for every m∈N, every n and every list x.

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 · two levels

68 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources