Coarse induced-count predictions and labelled three-vertex counts #
For a graph J on Fin 3 and a finite graph G, J.inducedGraphCount3 G counts the labelled
induced copies of J in G: the injective maps g : Fin 3 → V with
J.Adj i j ↔ G.Adj (g i) (g j) for all i, j. Nonedges of J must go to nonedges of G, and
there is no division by automorphisms of J. This is the number of graph embeddings J ↪g G.
The coarse prediction is defined for every finite linearly ordered vertex type of J.
The counting estimates below specialize to three vertices.
Given a partition P of the vertices, J.coarseInducedGraphEstimate G P predicts this count from
the edge densities between parts. Each assignment φ of the three vertices of J to three
distinct parts contributes the volume ∏ i, #(φ i) times, for each pair i < j, the edge density
d(φ i, φ j) if J.Adj i j and the nonedge density 1 - d(φ i, φ j) otherwise. Assignments with
a repeated part are not predicted.
The counting lemma for a regular partition compares the two part by part. The actual count splits
the same way: the induced copies with vertices in three distinct parts are counted separately for
each assignment, and at most 3 * m * (card V) ^ 2 induced copies meet some part twice when all
parts have size at most m.
For a τ-uniform equipartition, the coarse prediction counts the induced copies with vertices in
three distinct parts up to an error of 15 τ (card V) ^ 3. An assignment whose three pairs of
parts are τ-uniform contributes an error of at most 3 τ times its volume, by the counting
lemma for three cells. Each other assignment contributes an error of at most its volume, and
Mathlib's Finpartition.IsEquipartition.sum_nonUniforms_lt bounds the total volume of these by
3 * 4 τ (card V) ^ 3, one term for each of the three pairs that may fail to be uniform.
Main definitions #
SimpleGraph.inducedGraphCount3 J G: the number of labelled induced copies ofJinG.SimpleGraph.coarseInducedGraphEstimate J G P: its prediction from the densities ofP.
Main results #
SimpleGraph.inducedGraphCount3_eq_card_embedding: the count is the number of embeddingsJ ↪g G.SimpleGraph.inducedGraphCount3_eq_sum: the count splits along the parts containing the three vertices.SimpleGraph.sum_card_induced_le_inducedGraphCount3andSimpleGraph.inducedGraphCount3_le_sum_card_induced_add: the induced copies with vertices in three distinct parts account for all but at most3 * m * (card V) ^ 2induced copies.SimpleGraph.abs_sum_card_induced_sub_coarseInducedGraphEstimate_le: for aτ-uniform equipartition, the coarse prediction counts the induced copies with vertices in three distinct parts up to an error of15 τ (card V) ^ 3.SimpleGraph.inducedGraphCount3_le_coarseInducedGraphEstimate_addandSimpleGraph.coarseInducedGraphEstimate_sub_le_inducedGraphCount3: the induced counting lemma for aτ-uniform equipartition whose parts have at mostmvertices.
References #
- Y. Zhao, Graph Theory and Additive Combinatorics, Cambridge University Press (2023), Chapter 2 (the graph regularity method: the graph counting lemma and strong regularity).
- A comparable repeated-cell bound, for real weights dominated by the volume of cell triples, is
sum_nontransversal_weight_leinRegularityLemmata/Relational/DiagonalGate.leanofcameronfreer/regularity-lemmataat commit315ef979f55f31cc43cd791302519d9a34cc2dc0.
The coarse prediction of the labelled induced count of J in G from a partition P
of the vertices. Each
assignment φ of the vertices of J to distinct parts of P contributes the volume
∏ i, #(φ i) times, for each pair i < j, the edge density d(φ i, φ j) if J.Adj i j and the
nonedge density 1 - d(φ i, φ j) otherwise (SimpleGraph.patternDensity).
Instances For
The coarse prediction is nonnegative: edge and nonedge densities lie in [0, 1].
The number of labelled induced copies of a graph J on Fin 3 in G: the injective maps
g : Fin 3 → V such that g i and g j are adjacent in G exactly when i and j are adjacent
in J. Nonedges of J must go to nonedges of G, and there is no division by automorphisms
of J.
Instances For
The labelled induced copies of J in G are the graph embeddings J ↪g G.
Splitting the labelled induced copies of J along the parts of P containing the images of
the three vertices.
Summing, over the assignments φ of the vertices of J to three distinct parts of P, the
induced copies of J in the box of φ gives at most J.inducedGraphCount3 G.
Repeated-cell bound. If every part of P has at most m vertices, then all but at most
3 * m * (card V) ^ 2 labelled induced copies of J have their three vertices in three distinct
parts of P.
Induced counting lemma for a uniform equipartition, transversal part. If Q is a
τ-uniform equipartition with τ > 0, then summing, over the assignments φ of the vertices of
J to three distinct parts of Q, the induced copies of J in the box of φ gives the coarse
prediction J.coarseInducedGraphEstimate G Q up to an error of at most 15 τ (card V) ^ 3.
Induced counting lemma for a uniform equipartition, upper bound. If Q is a τ-uniform
equipartition with τ > 0 whose parts have at most m vertices, then J.inducedGraphCount3 G
exceeds the coarse prediction from Q by at most 15 τ (card V) ^ 3 + 3 m (card V) ^ 2.
Induced counting lemma for a uniform equipartition, lower bound. If Q is a τ-uniform
equipartition with τ > 0, then J.inducedGraphCount3 G falls short of the coarse prediction
from Q by at most 15 τ (card V) ^ 3.