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.
Double counting: for a relation between finite sets
Statement
Let and be finite sets and let , with row fibres and column fibres as in A relation between finite sets, its row fibres and its column fibres . Then, in ,
the sums being those of The sum over a finite index set, and its product form.
Both index sets may be empty. If then , every column fibre is empty, and all three quantities are ; the same holds with the roles of and exchanged.
Facts & Assumptions
Given: Finite sets and , a relation , and its fibres.
, every and every are finite, so all the cardinalities written below are defined (A relation between finite sets, its row fibres and its column fibres , clause (a), The cardinality of a finite set).
The row slices and column slices are pairwise disjoint within their respective families and each family has union by clause (c); they are finite because clause (b) bijects them with the finite fibres from [L1] (A relation between finite sets, its row fibres and its column fibres , clauses (b) and (c), The cardinality of a finite set, clause (c)).
and , by the slice bijections of clause (b) of A relation between finite sets, its row fibres and its column fibres and the transport clause (c) of The cardinality of a finite set (Injection, surjection, bijection).
The sum rule for a finite partition: if is a family of pairwise disjoint finite sets indexed by a finite set , then is finite with (The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition, clause 2, The sum over a finite index set, and its product form).
Proof
The row slices form a family of pairwise disjoint finite sets indexed by the finite set , and their union is , so [L4] gives .
The column slices form a family of pairwise disjoint finite sets indexed by the finite set , and their union is , so [L4] gives .
Replacing each summand of step 1.1 by and each summand of step 1.2 by , which is legitimate by [L3] since the two lists have the same values at every index, gives .
Remarks
-
Where the hypotheses are spent. Finiteness of and of is what makes the two index sets legitimate index sets for a sum, and finiteness of is what makes defined. Disjointness of the slices is automatic, since a slice is determined by one coordinate of its points, which is why no hypothesis of that kind appears in the statement.
-
The count stays in . Every quantity here is a cardinality, and the sums are the -valued ones. Nothing is embedded into until an identity with a subtraction or a division has to be written.
Depends on
- A relation $R \subseteq X \times Y$ between finite sets, its row fibres $R_x$ and its column fibres $R^y$
- The sum rule: a finite disjoint union is finite with $\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert$ and $\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
- The sum $\sum_{i \in S} a_i$ over a finite index set, and its product form
- The cardinality $\lvert A\rvert$ of a finite set
- Injection, surjection, bijection
Used by
- If X is nonempty, some row fibre is at least the average size and some row fibre is at most the average size Corollary
- A relation whose row fibres all differ from the average size, so the averaging principle gives a bound that no fibre meets exactly Counterexample
- For a finite symmetric irreflexive relation the sum of the neighbour counts is twice the number of unordered related pairs Example
- Facial boundary walks of a connected plane graph sum to 2|E|, and if every such walk has length at least g then g|F|≤2|E| Lemma
- The conventions this page fixes: the empty intersection, where the counts live, the first index of every sum, and what the declared prerequisites do not supply Remark
- Cauchy-Frobenius orbit counting: |G| |X/G|=∑_g∈ G|Xᵍ| for a finite group action Theorem
- Handshake lemma: the sum of the vertex degrees is twice the number of edges Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 65 results over 23 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
- Double counting (proof technique) (Wikipedia) (standard reference, not scraped)
- R. Stanley, Enumerative Combinatorics, Vol. 1, Ch. 1 (standard reference, not scraped)