Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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.

In a finite set with a symmetric irreflexive relation and at least two elements, two elements have equally many neighbours

Example

Let VV be a finite set with N:=V2N := \lvert V\rvert \ge 2, and let RV×VR \subseteq V \times V be symmetric and irreflexive (A relation RX×YR \subseteq X \times Y between finite sets, its row fibres RxR_x and its column fibres RyR^y, clause (d)). Write d(x):=Rxd(x) := \lvert R_x\rvert for the number of neighbours of xx. Then there are xyx \ne y in VV with d(x)=d(y)d(x) = d(y).

The point is that the possible values of dd are 0,1,,N10, 1, \dots, N-1, which is as many values as VV has elements, so counting alone does not settle it. What settles it is that the two extreme values cannot both occur: if some x0x_0 has no neighbour then no yy can be a neighbour of everything else, since it would then be a neighbour of x0x_0.

Concretely, with V:=3={0,1,2}V := 3 = \{0,1,2\} and R:={(0,1),(1,0)}R := \{(0,1),(1,0)\}, the neighbour counts are d(0)=1d(0) = 1, d(1)=1d(1) = 1 and d(2)=0d(2) = 0, and the elements 00 and 11 have equally many neighbours.

Facts & Assumptions

Given: A finite set VV with N=V2N = \lvert V\rvert \ge 2, a symmetric irreflexive relation RV×VR \subseteq V \times V, and the neighbour counts d(x)=Rxd(x) = \lvert R_x\rvert.

[L1]

RxV{x}R_x \subseteq V \setminus \{x\} by irreflexivity, and RxR_x is finite, so d(x)V{x}d(x) \le \lvert V\setminus\{x\}\rvert (A relation RX×YR \subseteq X \times Y between finite sets, its row fibres RxR_x and its column fibres RyR^y, A subset of a finite set is finite, with BA\lvert B\rvert \le \lvert A\rvert, and equality holds if and only if B=AB = A, clauses 1 and 2).

[L4]

Symmetry: xRyx \in R_y if and only if yRxy \in R_x (A relation RX×YR \subseteq X \times Y between finite sets, its row fibres RxR_x and its column fibres RyR^y, clause (d)).

[L5]

The counting form of the strong pigeonhole principle: if A>1B\lvert A\rvert > 1\cdot\lvert B\rvert then some fibre of any f:ABf : A \to B has more than one element (If A>kB\lvert A\rvert > k\lvert B\rvert then every f:ABf : A \to B has a fibre with more than kk elements, and for nonempty BB some fibre has at least A/B\lceil \lvert A\rvert / \lvert B\rvert\rceil elements, clause 1, Injection, surjection, bijection).

[L6]

Order and membership in N\mathbb{N}: kN2k \le N-2 if and only if k<N1k < N-1, that is kN1k \in N-1; N2N \ge 2 gives N11N-1 \ge 1 and (N1)1=N2(N-1)-1 = N-2; and exactly one of p<qp<q, p=qp=q, q<pq<p holds (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, Order on the natural numbers, Trichotomy of the order on N\mathbb{N}, Order is compatible with addition, The natural numbers N\mathbb{N} (von Neumann), 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}).

[L7]

Every natural number is a finite set whose cardinality is itself; in particular N1=N1|N-1|=N-1 (The cardinality A\lvert A\rvert of a finite set, clause (a)).

Verification

technique · cases
1.1

By [L1] and [L2], d(x)N1d(x) \le N-1 for every xVx \in V; and N2N \ge 2, so N11N-1 \ge 1 by [L6].

givenL1L2L6
1.2

The two extreme values cannot both be attained. Suppose d(x0)=0d(x_0) = 0 and d(y)=N1d(y) = N-1 for some x0,yVx_0, y \in V. Then x0yx_0 \ne y, since 0N10 \ne N-1 by [L6]; by [L3] we have Ry=V{y}R_y = V\setminus\{y\}, so x0Ryx_0 \in R_y, so yRx0y \in R_{x_0} by [L4], so d(x0)1d(x_0) \ge 1, contradicting d(x0)=0d(x_0) = 0.

L1L3L4L6
2.1

Case (a): no xVx \in V has d(x)=0d(x) = 0. Then 1d(x)N11 \le d(x) \le N-1 for every xx, so d(x)1N2d(x) - 1 \le N-2, that is d(x)1N1d(x)-1 \in N-1 by [L6]; thus xd(x)1x \mapsto d(x)-1 maps VV into the set N1N-1, whose cardinality is N1N-1. Since N>N1N > N-1, [L5] gives two distinct xyx \ne y with d(x)1=d(y)1d(x)-1 = d(y)-1, and since both counts are at least 11 this forces d(x)=d(y)d(x) = d(y).

assume-case posstep 1.1L5L6L7
2.2

Case (b): some x0Vx_0 \in V has d(x0)=0d(x_0) = 0. Then by step 1.2 no yy has d(y)=N1d(y) = N-1, so d(x)N2d(x) \le N-2 for every xx by [L1], [L2] and [L6], that is d(x)N1d(x) \in N-1; thus dd maps VV into the set N1N-1, of cardinality N1N-1. Since N>N1N > N-1, [L5] gives two distinct xyx \ne y with d(x)=d(y)d(x) = d(y).

assume-case zerostep 1.1step 1.2L1L2L5L6L7
3.1

The two cases are exhaustive, so in either case two distinct elements of VV have equally many neighbours.

step 2.1step 2.2cases-exhaustive

Remarks

  • Where N2N \ge 2 is spent. Twice: to make N1N-1 at least 11, so that the set of possible values is nonempty and the shift by 11 in case (a) lands inside N1N-1; and to make 00 and N1N-1 different, which is what step 1.2 needs.

  • Why the naive count is not enough. The values of dd lie in a set of NN naturals and VV has NN elements, so the pigeonhole principle says nothing until the range is cut down. Both cases cut it to N1N-1 values, one by removing 00 and one by removing N1N-1, and the exclusion of the other extreme is what licenses the cut.

  • Symmetry and irreflexivity are both used. Irreflexivity gives the bound d(x)N1d(x) \le N-1; symmetry is what turns "x0x_0 is a neighbour of yy" into "yy is a neighbour of x0x_0" in step 1.2. Neither can be dropped.

Depends on

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: 73 results over 26 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