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.
Conventions fixed on this page, and what counting is deliberately not done here
This item is the page's ledger: every convention the page fixes, with the item that fixes it, and a statement of what is deliberately left to later pages.
Conventions fixed here
contains . Every index range on this page starts at , so runs over and over . A cardinality may be , a part of a composition may be , and a claim true only from the second index onwards is false as stated. Three items exist only because of this: the alternating row sum of , and for carries the hypothesis , For the number of weak compositions of into parts is , and the number of compositions is for carries , and the composition count carries .
is defined for finite only, and is a natural number. The cardinality of a finite set fixes this, and what makes it well posed is claim 3 of the pigeonhole principle. It is not a cardinal number: Cardinal (initial ordinal) and cardinality ↗ is a later and different object and nothing here uses it or any cardinal arithmetic.
The empty sum is , the empty product is , and are one convention. Each is the base clause of a recursion carried out on this page, in Finite sums and finite products of natural numbers, and in , The factorial and the falling factorial , defined by recursion in and Exponentiation of natural numbers, , and its agreement with the integer power in respectively, and each agrees with the already-published Finite sums and finite products, by recursion and Integer powers . Nothing was imported and nothing was stipulated twice.
Counts live in ; identities involving subtraction or division live in . A natural number is a von Neumann natural, hence a set, and is not an element of ; it enters through the canonical natural . That is why the binomial theorem's coefficient is , and why Laws of finite sums and products in , and proves that commutes with finite sums and products and is injective. Injectivity is the licence to prove an identity between counts by proving it in .
is a count, and integrality is a theorem. The set of -element subsets and the binomial coefficient defines it as , so it is a natural number by construction; that it also equals is for ; hence , the quotient is a natural number, and . The same holds for the multinomial coefficient (The multinomial coefficient as the number of ordered partitions of an -set into blocks of prescribed sizes).
Three notions of finite sum will coexist in the library, and each is introduced with a bridge to the previous one: over an initial segment (Finite sums and finite products, by recursion), over a finite index set (The sum over a finite index set, and its product form, well posed because of A finite sum is unchanged by a permutation of its index range: for every bijection ), and in an arbitrary monoid (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity ↗, later in the reading order). The bridges are what stop them drifting into three unrelated notions.
Truncated difference. On this page always means the unique with when , and otherwise. No negative number is ever formed, and each statement true only under says so.
What is deliberately not here
These are statements about the reading order, not about the library as a whole.
- Inclusion and exclusion, the systematic repair of a count whose blocks overlap. The sum rule needs disjointness, and the companion page shows what goes wrong without it; the correction term belongs to the next page of this track.
- The number of surjections, and the counting of set partitions and of unordered partitions of an integer. All are natural sequels to the material here and none is available yet.
- The binomial theorem for a commutative ring. The proof given here uses only commutativity, associativity, distributivity and natural-number multiples, so the ring statement is true; it cannot be stated until rings exist (Ring: an abelian group under addition and a monoid under multiplication, with multiplication distributing over addition on both sides ↗).
- Group vocabulary for . The count is proved here, about a set of bijections. The group structure and the name symmetric group are The symmetric group : the bijections of a set under composition ↗, later in the reading order, and a page there may cite the count from here.
- Asymptotics of , Stirling's formula among them. These need the logarithm and a good deal of integration, all far later in the reading order.
Every forward pointer above is orientation only: no item on this page depends on anything named in this section.
Depends on
- $\sum_{k<n+1}\binom{n}{k} = 2^{n}$, and $\sum_{k<n+1}(-1)^{k}\iota\!\binom{n}{k} = 0$ for $n \ge 1$
- The cardinality $\lvert A\rvert$ of a finite set
- Finite sums and finite products of natural numbers, $\sum_{k<n} a_k$ and $\prod_{k<n} a_k$ in $\mathbb{N}$
- The sum $\sum_{i \in S} a_i$ over a finite index set, and its product form
- The factorial $n!$ and the falling factorial $n^{\underline{k}}$, defined by recursion in $\mathbb{N}$
- Exponentiation of natural numbers, $m^{n}$, and its agreement with the integer power in $\mathbb{R}$
- The set $[A]^{k}$ of $k$-element subsets and the binomial coefficient $\binom{n}{k} := \lvert [n]^{k}\rvert$
- The multinomial coefficient $\binom{n}{k_0,\dots,k_{m-1}}$ as the number of ordered partitions of an $n$-set into blocks of prescribed sizes
- $\binom{n}{k}\,k!\,(n-k)! = n!$ for $k \le n$; hence $\binom{n}{k}\,k! = n^{\underline{k}}$, the quotient $n!/(k!(n-k)!)$ is a natural number, and $\binom{n}{k} = \binom{n}{n-k}$
- The binomial theorem in $\mathbb{R}$: $(x+y)^{n} = \sum_{k<n+1} \iota\!\binom{n}{k}\, x^{k} y^{\,n-k}$
- 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$
- Finite sums and finite products, by recursion
- Integer powers $a^m$
- A finite sum is unchanged by a permutation of its index range: $\sum_{k<n} a_{\pi(k)} = \sum_{k<n} a_k$ for every bijection $\pi : n \to n$
- Laws of finite sums and products in $\mathbb{N}$, and $\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k)$
Used by
Nothing in the library uses this result yet.
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 88 results over 30 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
- Empty product (Wikipedia) (standard reference, not scraped)
- Binomial coefficient (Wikipedia) (standard reference, not scraped)
- Twelvefold way (Wikipedia) (standard reference, not scraped)