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

∑i∈S∑j∈Taij=∑(i,j)∈S×Taij=∑j∈T∑i∈Saij for finite index sets S and T

Statement

Let S and T be finite sets and let a:S×T→R, or a:S×T→N, written aij for a(i,j). Then S×T is finite and

∑i∈S(∑j∈Taij)  =  ∑p∈S×Tap  =  ∑j∈T(∑i∈Saij),

all three sums being the sums over a finite index set of The sum ∑i∈Sai 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 and ∏k<nak in N when they are natural.

This is not a clause of 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. 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 0 (respectively 1 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 S and T, and a list a defined on S×T with values in R or in N.

[L2]

Splitting along a partition: if P is finite, J is finite, and (Pj)j∈J are pairwise disjoint subsets of P whose union is P, then ∑p∈Pap=∑j∈J(∑p∈Pjap), for real-valued and for natural-valued a alike (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, clause 3).

[L3]

Reindexing along a bijection: if h:V→P is a bijection of finite sets then ∑v∈Vah(v)=∑p∈Pap (The sum ∑i∈Sai 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 i∈S put Pi:={i}×T. Each Pi is a subset of the finite set S×T, hence finite; the family (Pi)i∈S is pairwise disjoint, because a point of Pi has first coordinate i; and its union is S×T, because every p∈S×T is (i,j) for some i∈S and j∈T.

L1construct
1.2

The column slices. For j∈T put Qj:=S×{j}. The same three observations with the coordinates exchanged show that each Qj is finite, that the family (Qj)j∈T is pairwise disjoint, and that its union is S×T.

L1construct
1.3

The slice bijections. For i∈S the map hi:T→Pi, hi(j):=(i,j), takes its values in Pi by definition and has the second-coordinate map as a two-sided inverse, so it is a bijection; likewise gj:S→Qj, gj(i):=(i,j), is a bijection for each j∈T.

L3L4construct
2.1

Splitting the sum over S×T along the row slices gives ∑p∈S×Tap=∑i∈S(∑p∈Piap).

step 1.1L2
2.2

Splitting it along the column slices gives ∑p∈S×Tap=∑j∈T(∑p∈Qjap).

step 1.2L2
2.3

Reindexing each inner sum along the bijection of step 1.3 gives ∑p∈Piap=∑j∈Tahi(j)=∑j∈Taij for every i∈S, and ∑p∈Qjap=∑i∈Saij for every j∈T.

step 1.3L3
3.1

Substituting step 2.3 into step 2.1 and into step 2.2 gives ∑i∈S(∑j∈Taij)=∑p∈S×Tap=∑j∈T(∑i∈Saij), 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×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 · two levels

37 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