Alphabeta Math
CorollaryStatement: 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.

If XX is nonempty, some row fibre is at least the average size and some row fibre is at most the average size

Statement

Let XX and YY be finite sets with XX \ne \varnothing, let RX×YR \subseteq X \times Y, and let RxR_x be its row fibres (A relation RX×YR \subseteq X \times Y between finite sets, its row fibres RxR_x and its column fibres RyR^y). Since X0\lvert X\rvert \ne 0, the real number

μ  :=  ι(R)ι(X)\mu \;:=\; \frac{\iota(\lvert R\rvert)}{\iota(\lvert X\rvert)}

is defined, where ι:NR\iota : \mathbb{N} \to \mathbb{R} is the canonical natural (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field). Then there are x+,xXx_{+}, x_{-} \in X with

ι(Rx+)  μandι(Rx)  μ.\iota(\lvert R_{x_{+}}\rvert) \ \ge\ \mu \qquad\text{and}\qquad \iota(\lvert R_{x_{-}}\rvert) \ \le\ \mu .

The two elements need not be distinct, and neither inequality need be an equality: μ\mu is a real number and a fibre size is a natural number, so no fibre need meet the average exactly.

Facts & Assumptions

Given: Finite sets XX \ne \varnothing and YY, a relation RX×YR \subseteq X \times Y with row fibres RxR_x, and a fixed enumeration φ:XX\varphi : \lvert X\rvert \to X of XX, which exists because XX is finite (The cardinality A\lvert A\rvert of a finite set).

[L2]

The bridge over a finite index set: for a finite SS and c:SNc : S \to \mathbb{N}, ι(iSci)=iSι(ci)\iota\big(\sum_{i \in S} c_i\big) = \sum_{i \in S}\iota(c_i). This is not a clause of The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form and is derived here: both sides are computed through one and the same enumeration ψ:SS\psi : \lvert S\rvert \to S, and ι(k<ncψ(k))=k<nι(cψ(k))\iota\big(\sum_{k<n} c_{\psi(k)}\big) = \sum_{k<n}\iota(c_{\psi(k)}) is clause 6 of Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k).

[L3]

A constant real summand: iSλ=ι(S)λ\sum_{i \in S}\lambda = \iota(\lvert S\rvert)\,\lambda for λR\lambda \in \mathbb{R} (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form, clause (c)).

[L4]

Additivity and the vanishing test over a finite index set: for u,v:SRu, v : S \to \mathbb{R} one has iS(ui+vi)=iSui+iSvi\sum_{i \in S}(u_i + v_i) = \sum_{i \in S}u_i + \sum_{i \in S}v_i; and if ui0u_i \ge 0 for every iSi \in S and iSui=0\sum_{i \in S}u_i = 0, then ui=0u_i = 0 for every iSi \in S. Both are clauses 1 and 4 of Laws of finite sums and finite products applied to the list kuψ(k)k \mapsto u_{\psi(k)} through an enumeration ψ\psi of SS (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form, Finite sums and finite products, by recursion); for the second, ψ\psi is onto SS, so every value of uu is some uψ(k)u_{\psi(k)}.

[L6]

X=0\lvert X\rvert = 0 if and only if X=X = \varnothing (The cardinality A\lvert A\rvert of a finite set, clause (b)).

[L7]

R\mathbb{R} is an ordered field: its order is total, a nonzero element has a multiplicative inverse, and a<ba < b is equivalent to ba>0b - a > 0 (Ordered field, Field).

Proof

technique · contradiction
1.1

Since XX \ne \varnothing, [L6] gives X0\lvert X\rvert \ne 0, hence X1\lvert X\rvert \ge 1 and ι(X)>0\iota(\lvert X\rvert) > 0 by [L5]; in particular ι(X)0\iota(\lvert X\rvert) \ne 0, so μ=ι(R)/ι(X)\mu = \iota(\lvert R\rvert)/\iota(\lvert X\rvert) names a single real number and ι(X)μ=ι(R)\iota(\lvert X\rvert)\,\mu = \iota(\lvert R\rvert).

givenL5L6L7
1.2

Applying [L2] to the list xRxx \mapsto \lvert R_x\rvert and then [L1] gives xXι(Rx)=ι(xXRx)=ι(R)\sum_{x \in X}\iota(\lvert R_x\rvert) = \iota\big(\sum_{x \in X}\lvert R_x\rvert\big) = \iota(\lvert R\rvert).

L1L2
1.3

A positive list over a nonempty finite index set has nonzero sum: if w:XRw : X \to \mathbb{R} has wx>0w_x > 0 for every xXx \in X and xXwx=0\sum_{x \in X}w_x = 0, then wx0w_x \ge 0 for every xx, so [L4] forces wx=0w_x = 0 for every xXx \in X; as XX has an element, its value is then both 00 and positive, which is impossible.

assume-contraL4L7
2.1

By [L3] with the constant μ\mu, xXμ=ι(X)μ=ι(R)\sum_{x \in X}\mu = \iota(\lvert X\rvert)\,\mu = \iota(\lvert R\rvert), the second equality by step 1.1.

step 1.1L3
3.1

Suppose there were no x+x_{+} with ι(Rx+)μ\iota(\lvert R_{x_{+}}\rvert) \ge \mu. Since the order of R\mathbb{R} is total, ι(Rx)<μ\iota(\lvert R_x\rvert) < \mu for every xXx \in X, so wx:=μι(Rx)w_x := \mu - \iota(\lvert R_x\rvert) is positive for every xx; and by additivity, step 1.2 and step 2.1, xXwx+xXι(Rx)=xXμ\sum_{x \in X}w_x + \sum_{x \in X}\iota(\lvert R_x\rvert) = \sum_{x \in X}\mu, that is xXwx=ι(R)ι(R)=0\sum_{x \in X}w_x = \iota(\lvert R\rvert) - \iota(\lvert R\rvert) = 0, contradicting step 1.3. So some x+Xx_{+} \in X has ι(Rx+)μ\iota(\lvert R_{x_{+}}\rvert) \ge \mu.

step 1.2step 1.3step 2.1L4L7
3.2

Suppose there were no xx_{-} with ι(Rx)μ\iota(\lvert R_{x_{-}}\rvert) \le \mu. Then ι(Rx)>μ\iota(\lvert R_x\rvert) > \mu for every xXx \in X, so wx:=ι(Rx)μw_x := \iota(\lvert R_x\rvert) - \mu is positive for every xx; the same computation gives xXwx=ι(R)ι(R)=0\sum_{x \in X}w_x = \iota(\lvert R\rvert) - \iota(\lvert R\rvert) = 0, again contradicting step 1.3. So some xXx_{-} \in X has ι(Rx)μ\iota(\lvert R_{x_{-}}\rvert) \le \mu.

step 1.2step 1.3step 2.1L4L7
4.1

Steps 3.1 and 3.2 are the two assertions of the statement.

step 3.1step 3.2discharge-contradiction

Remarks

  • Why XX \ne \varnothing is a hypothesis and not decoration. It is used twice: to make ι(X)\iota(\lvert X\rvert) invertible, so that μ\mu exists at all, and to produce the element at which the vanishing test is contradicted. With X=X = \varnothing there is no fibre to exhibit and no quotient to compare it to.

  • The average lives in R\mathbb{R} and the fibre sizes live in N\mathbb{N}. A quotient of two natural numbers is not in general a natural number, so the comparison has to be made after both sides are carried into R\mathbb{R} by ι\iota. This is the reason the statement is written with ι\iota throughout rather than as RxR/X\lvert R_x\rvert \ge \lvert R\rvert/\lvert X\rvert, which is not an inequality between elements of one ordered set.

  • Nothing is claimed about attainment. The proof produces an x+x_{+} and an xx_{-} and no more; a relation whose fibre sizes all differ from μ\mu exists, and it is exhibited on the companion page.

Depends on

Used by

Dependency tree · next 3 levels

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