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 twelvefold way
Statement
Fix positive integers and . Then the twelve standard ball-box counts are:
- labelled balls to labelled boxes, arbitrary: ;
- labelled balls to labelled boxes, injective: ;
- labelled balls to labelled boxes, surjective: ;
- unlabelled balls to labelled boxes, arbitrary: ;
- unlabelled balls to labelled boxes, injective: ;
- unlabelled balls to labelled boxes, surjective: ;
- labelled balls to unlabelled boxes, arbitrary: ;
- labelled balls to unlabelled boxes, injective: if , otherwise ;
- labelled balls to unlabelled boxes, surjective: ;
- unlabelled balls to unlabelled boxes, arbitrary: the number of partitions of with at most parts;
- unlabelled balls to unlabelled boxes, injective: if , otherwise ;
- unlabelled balls to unlabelled boxes, surjective: .
Facts & Assumptions
Given: positive integers and , interpreted by the conventions of Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table.
The set of functions from an -element set to a -element set has cardinality (The set of functions between finite sets is finite, with ).
The injections from an -element set to a -element set are counted by (The number of injections from a -element set into an -element set is ).
The Stirling number counts partitions of an -element set into exactly nonempty blocks (The Stirling numbers of the second kind and the Bell numbers).
Weak compositions of into parts are counted by , and compositions of into positive parts are counted by (For the number of weak compositions of into parts is , and the number of compositions is for , Compositions of into positive parts are counted by ).
The three unlabelled-to-unlabelled cells are the counts proved in The unlabelled-to-unlabelled cells of the twelvefold way.
Proof
For labelled balls and labelled boxes, clause 1 is [L1] and clause 2 is [L2]. For clause 3, a surjection has nonempty fibres, which form a partition of into exactly blocks; conversely, labelling the blocks of any such partition by the elements of recovers a surjection. By [L3], there are therefore surjections.
For unlabelled balls and labelled boxes, the data are occupancy vectors . Arbitrary placements are weak compositions, so clause 4 is [L4]. Surjective placements are positive compositions, so clause 6 is [L4]. Injective placements are exactly the - occupancy vectors with total , so one chooses which of the labelled boxes are occupied; this gives clause 5, namely .
For labelled balls and unlabelled boxes, one remembers only the fibres and forgets their labels. Thus a surjective placement is exactly a partition of into nonempty blocks, giving clause 9 as by [L3]. An arbitrary placement uses some number of nonempty boxes with , so clause 7 is the sum of the counts over those . For injective placements every fibre is a singleton, hence there is one orbit when and none when , proving clause 8.
Clauses 10, 11, and 12 are exactly the three conclusions of [L5].
Depends on
- Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table
- The set $A^{B}$ of functions $B \to A$ between finite sets is finite, with $\lvert A^{B}\rvert = \lvert A\rvert^{\lvert B\rvert}$
- The number of injections from a $k$-element set into an $n$-element set is $n^{\underline{k}}$
- A finite set $A$ with $\lvert A\rvert = n$ has exactly $n!$ bijections onto itself, and $n!$ bijections onto any set of the same cardinality
- For $m \ge 1$ the number of weak compositions of $n$ into $m$ parts is $\binom{n+m-1}{m-1}$, and the number of compositions is $\binom{n-1}{m-1}$ for $n \ge 1$
- Compositions of $n$ into $k$ positive parts are counted by $\binom{n-1}{k-1}$
- The Stirling numbers of the second kind and the Bell numbers
- The Stirling numbers of the second kind are given by $S(n,k)=\frac{1}{k!}\sum_{i=0}^k(-1)^i\binom{k}{i}(k-i)^n$
- The unlabelled-to-unlabelled cells of the twelvefold way
Used by
Dependency tree · two levels
42 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
- Alexander Hulpke, Combinatorics notes (standard reference, not scraped)
- Darij Grinberg, Enumerative Combinatorics: class notes (standard reference, not scraped)