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 number of injections from a -element set into an -element set is
Statement
Let and be finite sets, and , and write
Then is finite and (The factorial and the falling factorial , defined by recursion in ).
The two boundary readings are part of the statement. At there is exactly one injection, the empty function, and . For there is none, and .
Facts & Assumptions
Given: Finite sets , with and . The truncated difference is that of Finite sums and finite products of natural numbers, and in .
Induction (The principle of mathematical induction).
Cardinality (The cardinality of a finite set): exactly when ; a bijection transports finiteness and cardinality; .
The falling factorial (The factorial and the falling factorial , defined by recursion in ): , , and for .
is finite for finite , (The set of functions between finite sets is finite, with ), and a subset of a finite set is finite, with (A subset of a finite set is finite, with , and equality holds if and only if , clauses 1 and 2).
The sum rule (The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition): for disjoint finite , ; and a pairwise disjoint family of finite sets indexed by a finite set has finite union with cardinality the sum of the cardinalities. Together with (The sum over a finite index set, and its product form).
Maps (Injection, surjection, bijection, Equinumerous sets, and ): a map with a two-sided inverse is a bijection; the restriction of an injection is an injection; an injection is a bijection onto its image.
Order and cancellation in : implies ; if then ; trichotomy (Addition is cancellative, Order on the natural numbers, Trichotomy of the order on ).
Proof
Base case . Then , and the only function is the empty function, which is injective because injectivity is a condition on pairs of points of the domain and there are none. So has cardinality .
Inductive hypothesis: fix and assume that for all finite , with and the set is finite with cardinality .
Setting up the inductive step. Let , so ; fix and put , which is finite with by [L4], [L5] and cancellation, exactly as in the count of . Put and define by ; this lands in because is injective and for , so . The map is a two-sided inverse: the extension is injective precisely because . So is a bijection. Finally is finite by [L4].
The case . Then by [L3], so the hypothesis of step 1.2 gives , that is ; hence and by step 1.3, so its cardinality is . And as well, so by [L3]. Both sides are .
The case . For each the image is a subset of with , since is a bijection onto its image; and is the disjoint union of and , so by [L5] and therefore by [L7]. Now is the union of the pairwise disjoint sets indexed by , each of cardinality because is a bijection; so [L5] gives , using the hypothesis of step 1.2 and [L3]. With step 1.3 this is .
The two cases are exhaustive by trichotomy, so the statement holds at whenever it holds at ; with step 1.1 it holds for every , and the two boundary readings are step 1.1 and step 2.1.
Remarks
-
The two regimes of the falling factorial are the two cases of the proof. was defined by a single recursion whose factor is truncated at , and step 2.1 is exactly the regime where that truncation bites. Writing the cases out is what keeps the theorem true past instead of only up to it.
-
Pigeonhole is not needed. That no injection exists when is here a consequence of the induction rather than a citation of The pigeonhole principle on ; the two agree, and the lemma remains what makes well posed in the first place.
-
The count is of a set of functions. is a subset of , so its finiteness comes from The set of functions between finite sets is finite, with and A subset of a finite set is finite, with , and equality holds if and only if rather than being assumed.
Depends on
- The factorial $n!$ and the falling factorial $n^{\underline{k}}$, defined by recursion in $\mathbb{N}$
- 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}$
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
- The sum rule: a finite disjoint union is finite with $\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert$ and $\lvert\bigcup_{i \in I} A_i\rvert = \sum_{i \in I}\lvert A_i\rvert$, and a sum over a finite index set splits along a partition
- The sum $\sum_{i \in S} a_i$ over a finite index set, and its product form
- Finite sums and finite products of natural numbers, $\sum_{k<n} a_k$ and $\prod_{k<n} a_k$ in $\mathbb{N}$
- The cardinality $\lvert A\rvert$ of a finite set
- Injection, surjection, bijection
- Equinumerous sets, $A \approx B$ and $A \preceq B$
- The principle of mathematical induction
- Order on the natural numbers
- Addition is cancellative
- Trichotomy of the order on $\mathbb{N}$
Used by
- All 8 functions 3 → 2, the 0 injections 3 → 2, and the 8 subsets of a 3-element set Example
- Choosing a committee: binom103 = 120, and the ordered count 10^underline3 = 720 Example
- A finite set A with | A| = n has exactly n! bijections onto itself, and n! bijections onto any set of the same cardinality Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 74 results over 25 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
- Falling and rising factorials (Wikipedia) (standard reference, not scraped)
- Permutation (Wikipedia) (standard reference, not scraped)
- R. Stanley, Enumerative Combinatorics, Vol. 1, Ch. 1 (standard reference, not scraped)
- Twelvefold way (Wikipedia) (standard reference, not scraped)