Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-16
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.

Triangle counting lemma for three pairwise regular vertex sets

Statement

Let X,Y,Z be pairwise disjoint nonempty vertex sets such that all three cross-pairs are ϵ-regular. Write d(X,Y)=a,d(X,Z)=b,d(Y,Z)=c, and suppose a,b≥2ϵ. Then the number of ordered triples (x,y,z)∈X×Y×Z spanning a triangle is at least (1−2ϵ)(a−ϵ)(b−ϵ)(c−ϵ)∣X∣∣Y∣∣Z∣. When c<ϵ, the right side is nonpositive and the inequality is interpreted literally.

Facts & Assumptions

Given: Three vertex sets satisfying the hypotheses in the Statement.

[L1]

In an ϵ-regular pair (X,Y) of density d, and for Y′⊆Y with ∣Y′∣≥ϵ∣Y∣, fewer than ϵ∣X∣ vertices x∈X have ∣N(x)∩Y′∣<(d−ϵ)∣Y′∣, and separately fewer than ϵ∣X∣ have ∣N(x)∩Y′∣>(d+ϵ)∣Y′∣ (In a regular pair, fewer than ϵ∣X∣ vertices have too small a degree into a large subset, and fewer than ϵ∣X∣ have too large a degree).

[L2]

If (Y,Z) is ϵ-regular, then any subsets of sizes at least ϵ∣Y∣ and ϵ∣Z∣ have density at least d(Y,Z)−ϵ (ϵ-regular pairs and self-regular vertex sets).

Proof

technique · direct
1.1givenL1algebra

By [L1], fewer than ϵ∣X∣ vertices have fewer than (a−ϵ)∣Y∣ neighbours in Y, and fewer than ϵ∣X∣ have fewer than (b−ϵ)∣Z∣ neighbours in Z. Thus at least (1−2ϵ)∣X∣ vertices x∈X satisfy both lower bounds.

2.1step 1.1algebra

For each such x, put Yx=N(x)∩Y and Zx=N(x)∩Z. Since a,b≥2ϵ, step 1.1 gives ∣Yx∣≥ϵ∣Y∣ and ∣Zx∣≥ϵ∣Z∣.

3.1step 2.1L2

By [L2], there are at least (c−ϵ)∣Yx∣∣Zx∣ edges between Yx and Zx, and each produces a unique triangle (x,y,z).

4.1step 1.1step 3.1algebra∎

Since a≤1 and a≥2ϵ, we have ϵ≤1/2, so 1−2ϵ≥0. If c<ϵ then c−ϵ<0 makes the claimed lower bound nonpositive, while the triangle count is nonnegative, so the inequality holds. If c≥ϵ then c−ϵ≥0, so substituting the bounds ∣Yx∣≥(a−ϵ)∣Y∣ and ∣Zx∣≥(b−ϵ)∣Z∣ of step 1.1 into (c−ϵ)∣Yx∣∣Zx∣ preserves the inequality of step 3.1; summing over the at least (1−2ϵ)∣X∣ good choices of x gives exactly the claimed product bound.

Depends on

Used by

Dependency tree · two levels

3 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