Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge 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.

The sum rule: a finite disjoint union is finite with ∣A∪B∣=∣A∣+∣B∣ and ∣⋃i∈IAi∣=∑i∈I∣Ai∣, and a sum over a finite index set splits along a partition

Statement

  1. Two blocks. If A and B are finite and disjoint, then A∪B is finite and ∣A∪B∣=∣A∣+∣B∣ (The cardinality ∣A∣ of a finite set).
  2. A finite partition. If I is a finite set and (Ai)i∈I is a family of finite sets that are pairwise disjoint, then ⋃i∈IAi is finite and ∣⋃i∈IAi∣=∑i∈I∣Ai∣, the sum being that of The sum ∑i∈Sai over a finite index set, and its product form.
  3. Splitting a sum along a partition of its index set. Let S be finite, let J be finite, and let (Sj)j∈J be pairwise disjoint subsets of S with ⋃j∈JSj=S. Then for a:S→R or a:S→N, ∑i∈Sai=∑j∈J(∑i∈Sjai),∏i∈Sai=∏j∈J(∏i∈Sjai). In particular ∑i∈S∪Tai=∑i∈Sai+∑i∈Tai for disjoint finite S and T.

Disjointness is a hypothesis and not a formality. It is spent at exactly one step, the injectivity of the splice map, and dropping it makes clause 1 false; the companion page carries that false statement with its smallest witness.

ABp;q>0f(0)¢¢¢f(p¡1)g(0)¢¢¢g(q¡1)0¢¢¢p¡1p¢¢¢p+q¡1h(k)=f(k)h(p+j)=g(j)h:p+q¡!A[B

Facts & Assumptions

Given: Finite sets as in the statement, and the truncated difference and the two finite sums of Finite sums and finite products of natural numbers, ∑k<nak and ∏k<nak in N. Throughout, ∗ denotes either + or ⋅ on R or on N, e the corresponding identity, and ★k<nck the associated iterated operation; the four cases are proved by one argument, as in A finite sum is unchanged by a permutation of its index range: ∑k<naπ(k)=∑k<nak for every bijection π:n→n.

[L2]

Cardinality (The cardinality ∣A∣ of a finite set): ∣A∣ is the unique natural with A≈∣A∣; ∣n∣=n; ∣∅∣=0; a bijection transports finiteness and cardinality.

[L3]

Sums over a finite index set (The sum ∑i∈Sai over a finite index set, and its product form): ∑i∈Sai=∑k<naφ(k) for any bijection φ:∣S∣→S, the value being independent of φ; ∑i∈nai=∑k<nak; reindexing along a bijection T→S leaves the value unchanged; and ∑i∈∅ai=e.

[L4]

Recursion clauses: ★k<0ck=e and ★k<σ(n)ck=(★k<nck)∗cn (Finite sums and finite products of natural numbers, ∑k<nak and ∏k<nak in N, Finite sums and finite products, by recursion).

[L5]

Splitting at an index: for p≤N and q=N−p, ★k<Nck=(★k<pck)∗(★j<qcp+j) (clause 3 of Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak), clause 3 of Laws of finite sums and finite products).

[L6]

Order and addition in N: p≤k gives a unique j with p+j=k; p+j<p+q  ⟺  j<q; addition is commutative; σ(m)=m+1 (Order on the natural numbers, Addition is cancellative, Order is compatible with addition, Addition is commutative, Addition of natural numbers, On N the order is membership: m<n  ⟺  m∈n).

[L7]

Maps (Injection, surjection, bijection, Equinumerous sets, A≈B and A⪯B): composites and inverses of bijections are bijections, and an injective surjection is a bijection.

Proof

technique · induction
1.1

The splice map. Let A, B be finite and disjoint, put p:=∣A∣, q:=∣B∣, and fix bijections f:p→A and g:q→B. Define h:p+q→A∪B by h(k)=f(k) when k<p, and, when p≤k, by h(k)=g(j) for the unique j with p+j=k; that j satisfies j<q because p+j=k<p+q. The map h is well defined by [L6], it is surjective because every element of A∪B is some f(k) or some g(j), and it is injective: two indices below p are separated by the injectivity of f, two indices at least p by the injectivity of g together with the uniqueness of j, and an index below p from one at least p because f(k)∈A, g(j)∈B and A∩B=∅. The last of these three cases is the only use of disjointness in the whole proof.

L6L7construct
1.2

Base cases of the two inductions below, at m=0. A family indexed by 0=∅ has empty union, so ∣⋃k<0Bk∣=∣∅∣=0=∑k<0∣Bk∣; and a partition of S indexed by 0 forces S=∅, so both sides of clause 3 are e.

baseL2L3L4
1.3

Inductive hypothesis for both inductions, at m: for pairwise disjoint finite B0,…,Bm−1 the union ⋃k<mBk is finite with cardinality ∑k<m∣Bk∣; and for a partition of a finite set S into pairwise disjoint S0,…,Sm−1 one has ★i∈Sai=★k<m(★i∈Skai).

ih
2.1

Clause 1. By step 1.1 the map h is a bijection p+q→A∪B, so A∪B≈p+q; hence A∪B is finite and ∣A∪B∣=∣p+q∣=p+q=∣A∣+∣B∣.

step 1.1L2L7
3.1

Clause 3 for two blocks. Let S, T be finite and disjoint and a defined on S∪T. With p=∣S∣, q=∣T∣ and the bijections f,g,h of step 1.1 for the pair S, T, step 2.1 gives ∣S∪T∣=p+q, so h may be used as the enumeration in [L3]. Then ★i∈S∪Tai=★k<p+qah(k)=(★k<pah(k))∗(★j<qah(p+j))=(★k<paf(k))∗(★j<qag(j))=(★i∈Sai)∗(★i∈Tai), using [L5] at the second equality.

step 1.1step 2.1L3L5
3.2

Inductive step for clause 2, in the case of an index set σ(m). Let B0,…,Bm be pairwise disjoint and finite. Then ⋃k<σ(m)Bk=(⋃k<mBk)∪Bm, and these two sets are disjoint because each Bk with k<m is disjoint from Bm. By the hypothesis of step 1.3 the first is finite with cardinality ∑k<m∣Bk∣, so clause 1 makes the union finite with cardinality ∑k<m∣Bk∣+∣Bm∣=∑k<σ(m)∣Bk∣ by [L4].

step 1.3step 2.1L4
4.1

Clause 2. By step 1.2, step 3.2 and induction, the statement holds for every family indexed by a natural number m. For a general finite index set I take a bijection φ:m→I with m=∣I∣; then ⋃i∈IAi=⋃k<mAφ(k) and ∑i∈I∣Ai∣=∑k<m∣Aφ(k)∣ by the definition of the sum over a finite index set, so the two statements coincide.

step 1.2step 3.2L1L3
5.1

Inductive step for clause 3, index set σ(m). Let S be finite and partitioned into pairwise disjoint S0,…,Sm, and put S′:=⋃k<mSk, which is finite by [L8] and disjoint from Sm. The hypothesis of step 1.3 applies to the partition of S′ into S0,…,Sm−1, and step 3.1 applies to the disjoint pair S′, Sm, giving ★i∈Sai=(★i∈S′ai)∗(★i∈Smai)=(★k<m★i∈Skai)∗(★i∈Smai)=★k<σ(m)(★i∈Skai) by [L4].

step 1.3step 3.1step 4.1L4L8
6.1

Clause 3. By step 1.2, step 5.1 and induction it holds for every index set that is a natural number, and the general finite J follows by reindexing along a bijection m→J exactly as in step 4.1. The two-block form is step 3.1.

step 1.2step 3.1step 5.1L1L3
7.1

Clause 1 is step 2.1, clause 2 is step 4.1 and clause 3 is step 6.1; since ∗ was an arbitrary one of the four operations, both the sum and the product forms of clause 3 are proved.

step 2.1step 4.1step 6.1discharge-induction∎

Remarks

  • Why the splice map is built once. The same bijection p+q→A∪B proves clause 1 and, used as an enumeration, proves the two-block case of clause 3. Building it twice, once for cardinalities and once for sums, would be two chances to get the index arithmetic wrong.

  • The subtraction in the splice is legitimate. Writing h(k)=g(k−p) for k≥p means: the unique j with p+j=k, which exists by the definition of ≤ and is unique by cancellation. No negative number is formed anywhere.

  • Clause 3 is what the multinomial theorem needs. Its outer sum is indexed by the set of weak compositions of n into m parts, and the induction on m partitions that index set by the value of the last part. Without clause 3 that step could not be taken.

Depends on

Used by

…and 31 more results.

Dependency tree · two levels

53 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