Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)
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.

iSjTaij=(i,j)S×Taij=jTiSaij\sum_{i \in S}\sum_{j \in T} a_{ij} = \sum_{(i,j) \in S \times T} a_{ij} = \sum_{j \in T}\sum_{i \in S} a_{ij} for finite index sets SS and TT

Statement

Let SS and TT be finite sets and let a:S×TRa : S \times T \to \mathbb{R}, or a:S×TNa : S \times T \to \mathbb{N}, written aija_{ij} for a(i,j)a(i,j). Then S×TS \times T is finite and

iS(jTaij)  =  pS×Tap  =  jT(iSaij),\sum_{i \in S}\Big(\sum_{j \in T} a_{ij}\Big) \;=\; \sum_{p \in S \times T} a_p \;=\; \sum_{j \in T}\Big(\sum_{i \in S} a_{ij}\Big),

all three sums being the sums over a finite index set of The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form, carried by Finite sums and finite products, by recursion when the values are real and by 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} when they are natural.

This is not a clause of The sum rule: a finite disjoint union is finite with AB=A+B\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert and iIAi=iIAi\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. That theorem splits one sum along a partition of its own index set; the identity above exchanges the roles of two different index sets, and it is what an argument that counts a set of pairs in two ways needs. Both outer index sets may be empty, in which case all three quantities are 00 (respectively 11 for the product form of the underlying recursion), since a sum over the empty index set is the empty sum.

Facts & Assumptions

Given: Finite sets SS and TT, and a list aa defined on S×TS \times T with values in R\mathbb{R} or in N\mathbb{N}.

[L2]

Splitting along a partition: if PP is finite, JJ is finite, and (Pj)jJ(P_j)_{j \in J} are pairwise disjoint subsets of PP whose union is PP, then pPap=jJ(pPjap)\sum_{p \in P} a_p = \sum_{j \in J}\big(\sum_{p \in P_j} a_p\big), for real-valued and for natural-valued aa alike (The sum rule: a finite disjoint union is finite with AB=A+B\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert and iIAi=iIAi\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, clause 3).

[L3]

Reindexing along a bijection: if h:VPh : V \to P is a bijection of finite sets then vVah(v)=pPap\sum_{v \in V} a_{h(v)} = \sum_{p \in P} a_p (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form, clause (b)).

[L4]

A map with a two-sided inverse is a bijection (Injection, surjection, bijection).

Proof

technique · direct
1.1

The row slices. For iSi \in S put Pi:={i}×TP_i := \{i\} \times T. Each PiP_i is a subset of the finite set S×TS \times T, hence finite; the family (Pi)iS(P_i)_{i \in S} is pairwise disjoint, because a point of PiP_i has first coordinate ii; and its union is S×TS \times T, because every pS×Tp \in S \times T is (i,j)(i,j) for some iSi \in S and jTj \in T.

L1construct
1.2

The column slices. For jTj \in T put Qj:=S×{j}Q_j := S \times \{j\}. The same three observations with the coordinates exchanged show that each QjQ_j is finite, that the family (Qj)jT(Q_j)_{j \in T} is pairwise disjoint, and that its union is S×TS \times T.

L1construct
1.3

The slice bijections. For iSi \in S the map hi:TPih_i : T \to P_i, hi(j):=(i,j)h_i(j) := (i,j), takes its values in PiP_i by definition and has the second-coordinate map as a two-sided inverse, so it is a bijection; likewise gj:SQjg_j : S \to Q_j, gj(i):=(i,j)g_j(i) := (i,j), is a bijection for each jTj \in T.

L3L4construct
2.1

Splitting the sum over S×TS \times T along the row slices gives pS×Tap=iS(pPiap)\sum_{p \in S \times T} a_p = \sum_{i \in S}\big(\sum_{p \in P_i} a_p\big).

step 1.1L2
2.2

Splitting it along the column slices gives pS×Tap=jT(pQjap)\sum_{p \in S \times T} a_p = \sum_{j \in T}\big(\sum_{p \in Q_j} a_p\big).

step 1.2L2
2.3

Reindexing each inner sum along the bijection of step 1.3 gives pPiap=jTahi(j)=jTaij\sum_{p \in P_i} a_p = \sum_{j \in T} a_{h_i(j)} = \sum_{j \in T} a_{ij} for every iSi \in S, and pQjap=iSaij\sum_{p \in Q_j} a_p = \sum_{i \in S} a_{ij} for every jTj \in T.

step 1.3L3
3.1

Substituting step 2.3 into step 2.1 and into step 2.2 gives iS(jTaij)=pS×Tap=jT(iSaij)\sum_{i \in S}\big(\sum_{j \in T} a_{ij}\big) = \sum_{p \in S \times T} a_p = \sum_{j \in T}\big(\sum_{i \in S} a_{ij}\big), which is the statement.

step 2.1step 2.2step 2.3

Remarks

  • What is actually used. Only the splitting clause and the reindexing clause, and each of them is stated for a real-valued and for a natural-valued summand. One argument therefore proves both readings, and nothing about subtraction or about the order enters.

  • Why the slices and not an induction. The two partitions of S×TS \times T are the same set cut two ways, so the identity is a statement about one sum, not a statement relating two recursions. That is why no induction appears and why the empty cases need no separate treatment: a sum over an empty index set is the empty sum, and the argument passes through it unchanged.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 68 results over 22 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