Alphabeta Math
RemarkRemark: AI-generatedProof: Not applicablejudge 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 contains 0. Every index range on this page starts at 0, so ∑k<n runs over k=0,…,n−1 and ∑k<n+1 over k=0,…,n. A cardinality may be 0, a part of a composition may be 0, 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, and ∑k<n+1(−1)kι ⁣(nk)=0 for n≥1 carries the hypothesis n≥1, For m≥1 the number of weak compositions of n into m parts is (n+m−1m−1), and the number of compositions is (n−1m−1) for n≥1 carries m≥1, and the composition count carries n≥1.

∣A∣ is defined for finite A only, and is a natural number. The cardinality ∣A∣ 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 0, the empty product is 1, 0!=1 and 00=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 and ∏k<nak in N, The factorial n! and the falling factorial nk‾, defined by recursion in N and Exponentiation of natural numbers, mn, and its agreement with the integer power in R respectively, and each agrees with the already-published Finite sums and finite products, by recursion and Integer powers am. Nothing was imported and nothing was stipulated twice.

Counts live in N; identities involving subtraction or division live in R. A natural number is a von Neumann natural, hence a set, and is not an element of R; it enters through the canonical natural ι. That is why the binomial theorem's coefficient is ι(nk), and why Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak) 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 R.

(nk) is a count, and integrality is a theorem. The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣ defines it as ∣[n]k∣, so it is a natural number by construction; that it also equals n!/(k!(n−k)!) is (nk) k! (n−k)!=n! for k≤n; hence (nk) k!=nk‾, the quotient n!/(k!(n−k)!) is a natural number, and (nk)=(nn−k). The same holds for the multinomial coefficient (The multinomial coefficient (nk0,…,km−1) as the number of ordered partitions of an n-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 ∑i∈Sai 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 for every bijection π:n→n), and in an arbitrary monoid (The product g0g1⋯gn−1 of a finite list in a monoid, by recursion, with the empty product (n=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 n−m always means the unique j with m+j=n when m≤n, and 0 otherwise. No negative number is ever formed, and each statement true only under m≤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). The count n! is proved here, about a set of bijections. The group structure and the name symmetric group are The symmetric group Sym⁡(X): the bijections of a set X under composition ↗, later in the reading order, and a page there may cite the count from here.
  • Asymptotics of 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 · two levels

63 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