Alphabeta Math
RemarkRemark: AI-generatedProof: Not applicableSession-authored (Fable 5 assisted)judge 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.

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

N\mathbb{N} contains 00. Every index range on this page starts at 00, so k<n\sum_{k<n} runs over k=0,,n1k = 0, \dots, n-1 and k<n+1\sum_{k<n+1} over k=0,,nk = 0, \dots, n. A cardinality may be 00, a part of a composition may be 00, 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 k<n+1(nk)=2n\sum_{k<n+1}\binom{n}{k} = 2^{n}, and k<n+1(1)kι ⁣(nk)=0\sum_{k<n+1}(-1)^{k}\iota\!\binom{n}{k} = 0 for n1n \ge 1 carries the hypothesis n1n \ge 1, For m1m \ge 1 the number of weak compositions of nn into mm parts is (n+m1m1)\binom{n+m-1}{m-1}, and the number of compositions is (n1m1)\binom{n-1}{m-1} for n1n \ge 1 carries m1m \ge 1, and the composition count carries n1n \ge 1.

A\lvert A\rvert is defined for finite AA only, and is a natural number. The cardinality A\lvert A\rvert 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 00, the empty product is 11, 0!=10! = 1 and 00=10^{0} = 1 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, k<nak\sum_{k<n} a_k and k<nak\prod_{k<n} a_k in N\mathbb{N}, The factorial n!n! and the falling factorial nkn^{\underline{k}}, defined by recursion in N\mathbb{N} and Exponentiation of natural numbers, mnm^{n}, and its agreement with the integer power in R\mathbb{R} respectively, and each agrees with the already-published Finite sums and finite products, by recursion and Integer powers ama^m. Nothing was imported and nothing was stipulated twice.

Counts live in N\mathbb{N}; identities involving subtraction or division live in R\mathbb{R}. A natural number is a von Neumann natural, hence a set, and is not an element of R\mathbb{R}; it enters through the canonical natural ι\iota. That is why the binomial theorem's coefficient is ι(nk)\iota\binom{n}{k}, and why Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k) proves that ι\iota commutes with finite sums and products and is injective. Injectivity is the licence to prove an identity between counts by proving it in R\mathbb{R}.

(nk)\binom{n}{k} is a count, and integrality is a theorem. The set [A]k[A]^{k} of kk-element subsets and the binomial coefficient (nk):=[n]k\binom{n}{k} := \lvert [n]^{k}\rvert defines it as [n]k\lvert [n]^{k}\rvert, so it is a natural number by construction; that it also equals n!/(k!(nk)!)n!/(k!(n-k)!) is (nk)k!(nk)!=n!\binom{n}{k}\,k!\,(n-k)! = n! for knk \le n; hence (nk)k!=nk\binom{n}{k}\,k! = n^{\underline{k}}, the quotient n!/(k!(nk)!)n!/(k!(n-k)!) is a natural number, and (nk)=(nnk)\binom{n}{k} = \binom{n}{n-k}. The same holds for the multinomial coefficient (The multinomial coefficient (nk0,,km1)\binom{n}{k_0,\dots,k_{m-1}} as the number of ordered partitions of an nn-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 iSai\sum_{i \in S} a_i 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: k<naπ(k)=k<nak\sum_{k<n} a_{\pi(k)} = \sum_{k<n} a_k for every bijection π:nn\pi : n \to n), and in an arbitrary monoid (The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) 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 nmn - m always means the unique jj with m+j=nm + j = n when mnm \le n, and 00 otherwise. No negative number is ever formed, and each statement true only under mnm \le n 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 Bij(A)\operatorname{Bij}(A). The count n!n! is proved here, about a set of bijections. The group structure and the name symmetric group are The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition , later in the reading order, and a page there may cite the count from here.
  • Asymptotics of n!n!, 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

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