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.
For a finite symmetric irreflexive relation the sum of the neighbour counts is twice the number of unordered related pairs
Example
Let be a finite set and symmetric and irreflexive (A relation between finite sets, its row fibres and its column fibres , clause (d)), with neighbour counts . Put
the set of two-element subsets of whose elements are related. Then, in ,
A concrete instance. With and the symmetric irreflexive relation whose related unordered pairs are , and , the neighbour counts are , , , , summing to , and .
The extreme instance. If relates every pair of distinct elements of then and for every , where ; the identity then reads , which is A finite set with elements has exactly two-element subsets, and .
Facts & Assumptions
Given: A finite set , a symmetric irreflexive relation , the neighbour counts , and the set above.
is finite, and so is and hence its subset (A relation between finite sets, its row fibres and its column fibres , clause (a), The set of -element subsets and the binomial coefficient , for finite , A subset of a finite set is finite, with , and equality holds if and only if ).
The sum rule for a finite partition, and a constant natural summand (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, clause (c)). In particular, if and , then the disjoint union gives (The cardinality of a finite set, Finite sums and finite products of natural numbers, and in ).
If , then , is a bijection , so ; more generally, a bijection from a finite set transports its cardinality to the codomain (The cardinality of a finite set, clauses (a) and (c), Injection, surjection, bijection).
and for every (A finite set with elements has exactly two-element subsets, and ).
Verification
The pairing map. For irreflexivity gives , so has exactly two elements by [L4] and lies in ; write , a map . It is surjective, since every is for some by the definition of .
Every fibre of has exactly two elements. Let with . A pair with has , so is or ; and both of these lie in , since at least one of them does and is symmetric. So , which has two elements because .
Counting by the fibres of . The fibres of are pairwise disjoint finite sets indexed by the finite set , with union , so [L3] gives .
Combining with [L1], , which is the identity. In the extreme case where relates every pair of distinct elements, and the neighbours of are exactly , so by [L3]; the identity therefore reads by [L3] and [L5].
Remarks
-
Where symmetry is spent. Only in step 1.2, to know that both ordered pairs over a related unordered pair lie in ; without it a fibre could have one element and the factor would be wrong. Irreflexivity is spent in step 1.1, to know that really is a two-element set.
-
This is double counting of one set, not two computations of two sets. The relation is counted once by its row fibres, which gives the sum of the neighbour counts, and once by the fibres of , which gives twice the number of related unordered pairs. Both are instances of the sum rule over a partition.
-
No graph vocabulary is used. The data are a finite set and a symmetric irreflexive relation on it, and is a set of two-element subsets. Nothing among this page's declared prerequisites defines a graph, and nothing here needs one.
Depends on
- Double counting: $\sum_{x \in X}\lvert R_x\rvert = \lvert R\rvert = \sum_{y \in Y}\lvert R^y\rvert$ for a relation between finite sets
- A relation $R \subseteq X \times Y$ between finite sets, its row fibres $R_x$ and its column fibres $R^y$
- A finite set with $n$ elements has exactly $\binom{n}{2}$ two-element subsets, and $2\binom{n}{2} = n(n-1)$
- The set $[A]^{k}$ of $k$-element subsets and the binomial coefficient $\binom{n}{k} := \lvert [n]^{k}\rvert$
- The sum $\sum_{i \in S} a_i$ over a finite index set, and its product form
- 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 cardinality $\lvert A\rvert$ of a finite set
- Injection, surjection, bijection
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
- $\lvert\mathcal{P}(A)\rvert = 2^{\lvert A\rvert}$ for finite $A$
- Finite sums and finite products of natural numbers, $\sum_{k<n} a_k$ and $\prod_{k<n} a_k$ in $\mathbb{N}$
Used by
Nothing in the library uses this result yet.
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 78 results over 27 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
- Handshaking lemma (Wikipedia) (standard reference, not scraped)
- Double counting (proof technique) (Wikipedia) (standard reference, not scraped)
- Graph Theory, Chapter 1 (King Saud University notes) (standard reference, not scraped)