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.
Set Partitions, Stirling Numbers and Exponential Generating Functions — Examples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Combinatorial Classes and the Symbolic Method
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Formal Power Series
- Foundations of the Real Numbers for Analysis
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- Permutation Statistics, Inversions and Eulerian Numbers
- Polynomial Rings, the Division Algorithm and Roots
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Set Partitions, Stirling Numbers and Exponential Generating Functions
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
These examples keep the page concrete. They list the partitions of , compare the three standard computations of , and show the Stirling inversion numerically in small size. They also separate Bell numbers from ordered Bell numbers, record a small Lah number and an involution count, and pin down three common boundary mistakes: Bell numbers are not ordered Bell numbers, is not the raw surjection count, and exponential generating functions multiply only for the labelled product.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
The set partitions of grouped by their number of blocks
Example
The partitions of are:
- one block: ;
- two blocks: , , , , , , ;
- three blocks: , , , , , ;
- four blocks: .
So
and therefore .
computed by recurrence, inclusion-exclusion, and direct listing
Example
Three standard computations agree:
- recurrence:
- inclusion-exclusion:
- direct listing: The set partitions of grouped by their number of blocks shows exactly seven two-block partitions of .
Thus all three routes give the same value .
The Stirling triangles invert up to size
Example
For , the lower-triangular matrices are
Multiplying them gives the identity matrix, which is the concrete size- instance of The signed first-kind and second-kind Stirling numbers are inverse transition matrices.
Ordered Bell numbers already differ from Bell numbers at
Example
For , the Bell number is
The ordered Bell number is larger because each partition with blocks can be ordered in ways:
So the ordered Bell sequence already differs from the Bell sequence at .
The involutions of and their cycle decomposition
Example
The involutions of are exactly the permutations whose cycle lengths are all or :
- one with four fixed points: ;
- six with one transposition: , , , , , ;
- three with two disjoint transpositions: , , .
Hence , agreeing with the EGF from Standard labelled specializations give involutions, ordered Bell numbers, and partitions without singletons.
The Lah number
Example
The closed formula gives
So there are partitions of into two nonempty blocks when each block is internally linearly ordered.
The set partitions of with no singleton blocks
Example
The partitions of with every block of size at least are:
So the count is .
Set partitions whose blocks are all singletons have EGF
Example
There is exactly one partition of into singleton blocks, namely
So the counting sequence is constantly , and the corresponding exponential generating function is
FALSE: Bell numbers count ordered set partitions
Statement
False claim: the Bell number counts ordered set partitions of .
Facts & Assumptions
Given: The Bell numbers and ordered Bell numbers already discussed on this page.
Proof
But the ordered set partitions of are counted by . Since , the Bell numbers do not count ordered set partitions.
Therefore the claim is false.
FALSE: counts surjections
Statement
False claim: for all , the number is the number of surjections .
Facts & Assumptions
Given: The surjection formula and the second-kind inclusion-exclusion formula.
Proof
But The number of surjections from an -element set onto a -element set is , read in through gives the surjection count . Since , does not count surjections themselves; it counts them only after dividing by .
Therefore the claim is false.
FALSE: exponential generating functions multiply without the labelled-product hypothesis
Statement
False claim: whenever two labelled classes and are combined in any way, the exponential generating function of the result is the product of the EGFs of and .
Facts & Assumptions
Given: The labelled product rule of The labelled constructions translate into the usual exponential-generating-function rules.
Proof
The product rule of The labelled constructions translate into the usual exponential-generating-function rules applies to the labelled product , where the label set is split into two disjoint parts, one for the -object and one for the -object.
If that disjointness requirement is dropped, two one-label structures can be forced to live on the same label. Then the combined object has size , whereas the EGF product would place it in degree . So multiplication is not a free rule about arbitrary combinations; it is the rule for the labelled product and depends on that hypothesis.
Therefore the claim is false.
Two set partitions can have the same block-size multiset and still be different
Statement refuted
Refuted claim: a set partition is determined by the multiset of its block sizes.
Facts & Assumptions
Given: The partitions and of .
Proof
Both and are set partitions of , and both have block-size multiset .
But is a block of and not of , so . Thus the same block sizes do not determine the partition.
Therefore the claim is false.
The second-kind inclusion-exclusion formula does not count permutations by cycles
Statement refuted
Refuted claim: the inclusion-exclusion formula for also counts permutations of with exactly cycles.
Facts & Assumptions
Given: The case , .
Proof
The second-kind formula gives .
But the permutations of with exactly one cycle are the two -cycles and , so . Therefore the second-kind formula does not count permutations by cycles.
Hence the claim is false.
Sources
- Andrew Lin, 18.212 Algebraic Combinatorics, Lecture 11
- Herbert S. Wilf, generatingfunctionology, 2nd ed., §3.8
- Kenneth P. Bogart, Combinatorics Through Guided Discovery, §3.1.5
- Philippe Flajolet and Robert Sedgewick, Analytic Combinatorics — Symbolic Combinatorics
- Herbert S. Wilf, generatingfunctionology, 2nd ed., §3.6