Introduction
The work of Thomason [10] and Chung, Graham and Wilson [1 ] established the equivalence of several asymptotic counting and spectral conditions for dense graph sequences. Simonovits and Sós [9 ] subsequently proved that the counts of any fixed graph containing an edge determine quasirandomness when tested in every vertex subset. More precisely, let F F F have m m m vertices and e ( F ) > 0 e(F)>0 e ( F ) > 0 , let 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 , and let v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ . Then the identities N ( F , G n ; U m ) = p e ( F ) ∣ U ∣ m + o ( v n m ) N(F,G_n;U^m)=p^{e(F)}|U|^m+o(v_n^m) N ( F , G n ; U m ) = p e ( F ) ∣ U ∣ m + o ( v n m ) , uniformly over U ⊆ V ( G n ) U\subseteq V(G_n) U ⊆ V ( G n ) , characterize p p p -quasirandomness. Conlon, Fox and Sudakov [2 ] later obtained polynomial quantitative bounds for this hereditary counting condition.
A natural question is whether quasirandomness can also be characterized by counts across disjoint vertex classes of prescribed sizes. We consider this problem in a setting that allows several vertices of F F F to lie in the same class. The properties P m p ( F ; α ) \mathcal{P}_m^p(F;\boldsymbol{\alpha}) P m p ( F ; α ) and P ~ m p ( F ; α ) \widetilde{\mathcal{P}}_m^p(F;\boldsymbol{\alpha}) P m p ( F ; α ) retain a fixed labelling of F F F and average over all labellings, respectively. The formal definitions, including the uniform error terms and integer rounding, are given in Section 2. When each vertex of F F F is assigned to a distinct class, we call the counts transversal and omit the subscript m \mathbf{m} m . We write N ~ \widetilde{N} N for the average of labelled counts over all assignments of the vertices of F F F to the prescribed sets. We call class proportions complementary when their sum is one. Our aim is to determine which of these restricted counting properties characterize p p p -quasirandomness.
Huang and Lee [4 ] proved that balanced transversal counts characterize quasirandomness for complete graphs on at least three vertices. Janson and Sós [6, Theorems 2.11 and 2.12 showed that, for every graph containing an edge, symmetrized transversal counts characterize quasirandomness whenever the class proportions are not balanced. In the balanced case, they established the same conclusion for graphs with at least two edges that are regular, are stars, or have at least two components containing edges. They conjectured that the conclusion holds for every graph with at least two edges, as stated below.
Conjecture 1.1 (Janson–Sós [6 Conjecture 2.13] ). Let F F F be a graph on m m m vertices with e ( F ) > 1 e(F)>1 e ( F ) > 1 , and let 0 < p ≤ 1 0<p\le1 0 < p ≤ 1 . If a graph sequence ( G n ) (G_n) ( G n ) with v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ satisfies
N ~ ( F , G n ; U 1 , … , U m ) = p e ( F ) ∏ i = 1 m ∣ U i ∣ + o ( v n m ) \widetilde{N}(F,G_n;U_1,\ldots,U_m)=p^{e(F)}\prod_{i=1}^{m}|U_i|+o(v_n^m) N ( F , G n ; U 1 , … , U m ) = p e ( F ) i = 1 ∏ m ∣ U i ∣ + o ( v n m ) uniformly over all pairwise disjoint sets U 1 , … , U m ⊆ V ( G n ) U_1,\ldots,U_m\subseteq V(G_n) U 1 , … , U m ⊆ V ( G n ) with ∣ U i ∣ = ⌊ v n / m ⌋ |U_i|=\lfloor v_n/m\rfloor ∣ U i ∣ = ⌊ v n / m ⌋ , then ( G n ) (G_n) ( G n ) is p p p -quasirandom.
The main results of this paper give two classifications of restricted-count conditions. The first concerns symmetrized counts in which a class may be repeated; the second concerns labelled transversal counts. We state them first, before describing the balanced-count theorem and the rigidity principle used in their proofs. Janson [7 ] introduced repeated-class profiles, in which several vertices of F F F may be assigned to the same class. For at least three classes, the following theorem gives the full classification.
Theorem 1.2. Let F F F be a graph on m m m vertices with e ( F ) > 0 e(F)>0 e ( F ) > 0 , let m = ( m 1 , … , m r ) \mathbf{m}=(m_1,\ldots,m_r) m = ( m 1 , … , m r ) be a vector of positive integers with ∑ j = 1 r m j = m \sum_{j=1}^{r}m_j=m ∑ j = 1 r m j = m , and let α = ( α 1 , … , α r ) \boldsymbol{\alpha}=(\alpha_1,\ldots,\alpha_r) α = ( α 1 , … , α r ) have positive entries with ∑ j = 1 r α j ≤ 1 \sum_{j=1}^{r}\alpha_j\le1 ∑ j = 1 r α j ≤ 1 . If r ≥ 3 r\ge3 r ≥ 3 and 0 < p < 1 0<p<1 0 < p < 1 , then P ~ m ( F ; α ) \widetilde{\mathcal{P}}_{\mathbf{m}}(F;\boldsymbol{\alpha}) P m ( F ; α ) is a p p p -quasirandom property if and only if
e ( F ) > 1 or α ≠ m / m . e(F)>1 \qquad\text{or}\qquad\boldsymbol{\alpha}\ne\mathbf{m}/m. e ( F ) > 1 or α = m / m .
Thus every graph with at least two edges is forcing for every admissible profile with at least three classes. For a graph consisting of one edge and any number of isolated vertices, the condition fails to characterize p p p -quasirandomness precisely when α j = m j / m \alpha_j=m_j/m α j = m j / m for every j j j . Taking r = m r=m r = m and m 1 = ⋯ = m m = 1 m_1=\cdots=m_m=1 m 1 = ⋯ = m m = 1 recovers the symmetrized assertion of Theorem 1.5 for 0 < p < 1 0<p<1 0 < p < 1 . The endpoint p = 1 p=1 p = 1 is treated separately in Lemma 2.3 , which applies to every graph containing an edge and every admissible profile.
The second classification concerns labelled transversal counts. In this setting, Hatami, Hatami and Li [3 ] characterized the functions whose integrals vanish over products of disjoint sets of prescribed measures. They used this characterization to prove that labelled transversal counts characterize quasirandomness for graphs with twin vertices, and proposed the following conjecture.
Conjecture 1.3 (Hatami–Hatami–Li [3 Conjecture 6.1] ). Let F ≠ K 2 F\ne K_2 F = K 2 be a labelled graph on m m m vertices with e ( F ) > 0 e(F)>0 e ( F ) > 0 , let 0 < p ≤ 1 0<p\le1 0 < p ≤ 1 , and let α i > 0 \alpha_i>0 α i > 0 satisfy ∑ i = 1 m α i ≤ 1 \sum_{i=1}^{m}\alpha_i\le1 ∑ i = 1 m α i ≤ 1 . Then P ( F ; α ) \mathcal{P}(F;\boldsymbol{\alpha}) P ( F ; α ) is a p p p -quasirandom property.
We establish the following classification, including the classical case F = K 2 F=K_2 F = K 2 .
Theorem 1.4. Let F F F be a labelled graph on m m m vertices with e ( F ) > 0 e(F)>0 e ( F ) > 0 , let 0 < p < 1 0<p<1 0 < p < 1 , and let α i > 0 \alpha_i>0 α i > 0 with ∑ i = 1 m α i ≤ 1 \sum_{i=1}^{m}\alpha_i\le1 ∑ i = 1 m α i ≤ 1 . Then P ( F ; α ) \mathcal{P}(F;\boldsymbol{\alpha}) P ( F ; α ) is a p p p -quasirandom property unless F = K 2 F=K_2 F = K 2 and α 1 = α 2 = 1 / 2 \alpha_1=\alpha_2=1/2 α 1 = α 2 = 1/2 . In that exceptional case, it is not a p p p -quasirandom property.
Together with Lemma 2.3, this proves Conjecture 1.3 for 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 and answers [6 Problem 2.16] affirmatively. In particular, a graph consisting of one edge and at least one isolated vertex is forcing for every labelled transversal profile, although its balanced symmetrized condition fails for 0 < p < 1 0 < p < 1 0 < p < 1 . Since the exceptional K 2 K_2 K 2 test admits a two-type graphon counterexample, the classification also answers [6 Problems 2.15 and 2.17] affirmatively.
The common ingredient in these classifications is the resolution of the balanced transversal-count conjecture of Janson and Sós [6 ] , stated above. The theorem includes labelled counts as well as their symmetrized counterparts.
Theorem 1.5. Let F F F be a graph on m m m vertices with e ( F ) > 1 e(F)>1 e ( F ) > 1 , and let 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 . Then both P ~ ( F ; 1 / m , … , 1 / m ) \widetilde{\mathcal{P}}(F;1/m,\ldots,1/m) P ( F ; 1/ m , … , 1/ m ) and P ( F ; 1 / m , … , 1 / m ) \mathcal{P}(F;1/m,\ldots,1/m) P ( F ; 1/ m , … , 1/ m ) are p p p -quasirandom properties.
Theorem 1.5 requires no connectedness or regularity assumption and allows isolated vertices. Its proof completes the algebraic reduction of Janson and Sós by a degree-sequence inequality. The resulting additive rigidity statement (Corollary 3.7 ) provides a common ingredient for both classifications.
The arguments underlying Theorem 1.2 also settle two conjectures of Janson [7 ] . The first, [7 Conjecture 5.20] , concerns the functional nullspace of the restricted averages. We show that, with at least three classes, this nullspace contains only mean-zero additive functions: all higher Walsh levels are excluded by the non-divisibility theorem for grouped elementary symmetric polynomials (Theorem 4.2 ). The definitions are given in § 2 . The second, [7 Conjecture 6.3] , asserts that profiles whose nullspace consists exactly of the mean-zero additive functions are forcing whenever e ( F ) > 1 e(F)>1 e ( F ) > 1 . Corollary 3.8 proves the more general assertion that, for e ( F ) > 1 e(F)>1 e ( F ) > 1 and 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 , forcing holds whenever every function in the nullspace is mean-zero and additive, regardless of the number of classes.
For two classes, however, higher Walsh levels may survive, and the conclusion of Theorem 1.2 need not hold. This provides an obstruction to the following conjecture of Janson, which extends the forcing assertion to all repeated-class profiles with more than one class.
Conjecture 1.6 (Janson [7 Conjecture 6.7] ). Let F F F have at least two edges, let 0 < p < 1 0 < p < 1 0 < p < 1 , and let ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) be an admissible profile with r > 1 r>1 r > 1 . Then P ~ m ( F ; α ) \widetilde{\mathcal{P}}_{\mathbf{m}}(F;\boldsymbol{\alpha}) P m ( F ; α ) is a p p p -quasirandom property.
A particular case is the crossing-triangle question, corresponding to F = K 3 F=K_3 F = K 3 , m = ( 2 , 1 ) \mathbf{m}=(2,1) m = ( 2 , 1 ) and α = ( 1 / 3 , 2 / 3 ) \boldsymbol{\alpha}=(1/3,2/3) α = ( 1/3 , 2/3 ) , posed in [6 Problem 9.5] and restated in [7 Problem 6.8] . Here the counted triangles have exactly two vertices in the class of proportion 1 / 3 1/3 1/3 and one in the class of proportion 2 / 3 2/3 2/3 . Since the labelled and symmetrized triangle counts coincide, this case concerns a single counting condition. The following proposition gives a counterexample for every p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) .
Proposition 1.7. For every 0 < p < 1 0 < p < 1 0 < p < 1 , there is a graph sequence ( G n ) (G_n) ( G n ) with v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ such that
N ( K 3 , G n ; U , U , V ) = p 3 ∣ U ∣ 2 ∣ V ∣ + o ( v n 3 ) N(K_3,G_n;U,U,V)=p^3|U|^2|V|+o(v_n^3) N ( K 3 , G n ; U , U , V ) = p 3 ∣ U ∣ 2 ∣ V ∣ + o ( v n 3 ) uniformly over all disjoint sets U , V ⊆ V ( G n ) U,V\subseteq V(G_n) U , V ⊆ V ( G n ) with ∣ U ∣ = ⌊ v n / 3 ⌋ |U|=\lfloor v_n/3\rfloor ∣ U ∣ = ⌊ v n /3 ⌋ and ∣ V ∣ = ⌊ 2 v n / 3 ⌋ |V|=\lfloor2v_n/3\rfloor ∣ V ∣ = ⌊ 2 v n /3 ⌋ , while
lim n → ∞ 2 e ( G n ) v n 2 < p . \lim_{n\to\infty}\frac{2e(G_n)}{v_n^2}<p. n → ∞ lim v n 2 2 e ( G n ) < p . In particular, ( G n ) (G_n) ( G n ) is not p p p -quasirandom.
Proposition 1.7 answers the crossing-triangle question negatively and disproves Conjecture 1.6. The construction realizes a nonzero discrepancy in H 3 , 2 \mathcal{H}_{3,2} H 3 , 2 whose integral vanishes over every prescribed product of classes. At p = 4 − 1 / 3 p = 4^{-1/3} p = 4 − 1/3 , the sequence K 3 t ⊔ K 3 t K_{3t} \sqcup K_{3t} K 3 t ⊔ K 3 t provides a direct finite example. These counterexamples have limiting edge density different from p p p and therefore do not settle the variant in which edge density p p p is also required. The general classification for two complementary classes remains open.
Outline of the proofs. The distinction between the classification results and the two-class counterexamples arises from the different functional nullspaces of the restricted-count conditions. The graphon transfer principle reduces forcing to the constancy of a subgraph kernel. For balanced counts, the Janson–Sós algebraic reduction yields a triple ( U , V , S ) (U,V,S) ( U , V , S ) satisfying a system of equations. The four equations indexed by 0 0 0 , 1 1 1 , m − 1 m-1 m − 1 , m m m , together with a scalar inequality for the degree sequence of F F F , force this triple to be constant. This proves Theorem 1.5 and, through the balanced-count condition, the additive rigidity needed in the two classifications.
For symmetrized repeated-class counts, Janson’s nullspace characterization expresses the discrepancy in terms of bad Walsh levels. When r ≥ 3 r \ge3 r ≥ 3 , the grouped elementary symmetric polynomials have no linear divisor whose coefficients are all positive at levels k ≥ 2 k \ge2 k ≥ 2 . Thus only the additive level survives, and additive rigidity settles the case e ( F ) > 1 e(F) > 1 e ( F ) > 1 ; the single-edge case determines the exception. For labelled transversal counts, the characterization of Hatami, Hatami and Li gives direct vanishing for noncomplementary proportions; for complementary proportions, higher Walsh components vanish under symmetrization. This again gives an additive reduction. With two repeated classes, a second-order component may survive. The crossing-triangle counterexamples realize this obstruction by a two-type graphon.
The paper is organized as follows. § 2 introduces the restricted counts, graphons and the two functional characterizations. § 3 proves the balanced-count theorem and additive rigidity. § 4 establishes polynomial non-divisibility, classifies the bad indices and proves the symmetrized repeated-class classification. § 5 settles the labelled transversal case. Finally, § 6 constructs the two-class counterexamples and states the remaining classification problem.
Preliminaries
We fix the counting conventions and class profiles, then record the graphon transfer principle and the functional characterizations used below.
Graphs and restricted subgraph counts
All graphs considered in this paper are finite, undirected and simple. For a graph G = ( V ( G ) , E ( G ) ) G=(V(G),E(G)) G = ( V ( G ) , E ( G )) , put v ( G ) = ∣ V ( G ) ∣ v(G)=|V(G)| v ( G ) = ∣ V ( G ) ∣ and e ( G ) = ∣ E ( G ) ∣ e(G)=|E(G)| e ( G ) = ∣ E ( G ) ∣ . Let [ m ] = { 1 , … , m } [m]=\{1,\ldots,m\} [ m ] = { 1 , … , m } . Throughout, F F F is a fixed graph with vertex set [ m ] [m] [ m ] and e = e ( F ) > 0 e=e(F)>0 e = e ( F ) > 0 . For subsets U 1 , … , U m ⊆ V ( G ) U_1,\ldots,U_m \subseteq V(G) U 1 , … , U m ⊆ V ( G ) , let N ( F , G ; U 1 , … , U m ) N(F,G;U_1,\ldots,U_m) N ( F , G ; U 1 , … , U m ) denote the number of injective maps ϕ : [ m ] → V ( G ) \phi:[m]\to V(G) ϕ : [ m ] → V ( G ) such that ϕ ( i ) ∈ U i \phi(i)\in U_i ϕ ( i ) ∈ U i for every i ∈ [ m ] i\in[m] i ∈ [ m ] and { ϕ ( i ) , ϕ ( j ) } ∈ E ( G ) \{\phi(i),\phi(j)\}\in E(G) { ϕ ( i ) , ϕ ( j )} ∈ E ( G ) whenever { i , j } ∈ E ( F ) \{i,j\}\in E(F) { i , j } ∈ E ( F ) . Thus N N N counts labelled copies of F F F with prescribed vertex memberships; these copies need not be induced. To average over the assignments of the labels to the prescribed sets, let S m \mathfrak{S}_m S m be the group of all permutations of [ m ] [m] [ m ] and define
N ~ ( F , G ; U 1 , … , U m ) = 1 m ! ∑ π ∈ S m N ( F , G ; U π ( 1 ) , … , U π ( m ) ) . \widetilde{N}(F,G;U_1,\ldots,U_m)=\frac{1}{m!}\sum_{\pi\in\mathfrak{S}_m}N(F,G;U_{\pi(1)},\ldots,U_{\pi(m)}). N ( F , G ; U 1 , … , U m ) = m ! 1 π ∈ S m ∑ N ( F , G ; U π ( 1 ) , … , U π ( m ) ) .
The sets U i U_i U i need not be disjoint or distinct. For a positive integer a a a , the notation U a U^a U a in an argument list denotes a a a consecutive occurrences of U U U . In particular, if m 1 , … , m r m_1,\ldots,m_r m 1 , … , m r are positive integers with ∑ j = 1 r m j = m \sum_{j=1}^r m_j=m ∑ j = 1 r m j = m , then N ( F , G ; U 1 m 1 , … , U r m r ) N(F,G;U_1^{m_1},\ldots,U_r^{m_r}) N ( F , G ; U 1 m 1 , … , U r m r ) denotes the count obtained by repeating each U j U_j U j exactly m j m_j m j times. The same convention applies to N ~ \widetilde{N} N .
Let ( G n ) (G_n) ( G n ) be a graph sequence with v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ . For U ⊆ V ( G n ) U\subseteq V(G_n) U ⊆ V ( G n ) , let G n [ U ] G_n[U] G n [ U ] denote the subgraph induced by U U U . Given p ∈ [ 0 , 1 ] p\in[0,1] p ∈ [ 0 , 1 ] , we call ( G n ) (G_n) ( G n ) p p p -quasirandom if e ( G n [ U ] ) = p ∣ U ∣ 2 / 2 + o ( v n 2 ) e(G_n[U])=p|U|^2/2+o(v_n^2) e ( G n [ U ]) = p ∣ U ∣ 2 /2 + o ( v n 2 ) uniformly over U ⊆ V ( G n ) U\subseteq V(G_n) U ⊆ V ( G n ) . Fix 1 ≤ r ≤ m 1\le r\le m 1 ≤ r ≤ m , a vector m = ( m 1 , … , m r ) \mathbf{m}=(m_1,\ldots,m_r) m = ( m 1 , … , m r ) of positive integers with ∑ j = 1 r m j = m \sum_{j=1}^r m_j=m ∑ j = 1 r m j = m , and a vector α = ( α 1 , … , α r ) \boldsymbol{\alpha}=(\alpha_1,\ldots,\alpha_r) α = ( α 1 , … , α r ) of positive reals with ∑ j = 1 r α j ≤ 1 \sum_{j=1}^r\alpha_j\le1 ∑ j = 1 r α j ≤ 1 . We call ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) an admissible profile , where m \mathbf{m} m and α \boldsymbol{\alpha} α specify the class multiplicities and proportions, respectively. All these parameters are independent of n n n . The sequence ( G n ) (G_n) ( G n ) satisfies the labelled restricted-count property P m p ( F ; α ) P_{\mathbf{m}}^p(F;\boldsymbol{\alpha}) P m p ( F ; α ) if
N ( F , G n ; U 1 m 1 , … , U r m r ) = p e ( F ) ∏ j = 1 r ∣ U j ∣ m j + o ( v n m ) N(F,G_n;U_1^{m_1},\ldots,U_r^{m_r})=p^{e(F)}\prod_{j=1}^r |U_j|^{m_j}+o(v_n^m) N ( F , G n ; U 1 m 1 , … , U r m r ) = p e ( F ) j = 1 ∏ r ∣ U j ∣ m j + o ( v n m )
uniformly over all pairwise disjoint sets U 1 , … , U r ⊆ V ( G n ) U_1,\ldots,U_r\subseteq V(G_n) U 1 , … , U r ⊆ V ( G n ) with ∣ U j ∣ = ⌊ α j v n ⌋ |U_j|=\lfloor\alpha_jv_n\rfloor ∣ U j ∣ = ⌊ α j v n ⌋ for every j ∈ [ r ] j\in[r] j ∈ [ r ] . Replacing N N N by N ~ \widetilde{N} N defines the symmetrized restricted-count property P ~ m p ( F ; α ) \widetilde{P}_{\mathbf{m}}^p(F;\boldsymbol{\alpha}) P m p ( F ; α ) . Uniformity means that the absolute error is at most ε n v n m \varepsilon_nv_n^m ε n v n m for some ε n → 0 \varepsilon_n\to0 ε n → 0 independent of the permitted vertex sets. When r = m r=m r = m , necessarily m 1 = ⋯ = m m = 1 m_1=\cdots=m_m=1 m 1 = ⋯ = m m = 1 ; we then omit the subscript m \mathbf{m} m and call the counts transversal . A profile is balanced if α = m / m \boldsymbol{\alpha}=\mathbf{m}/m α = m / m , that is, α j = m j / m \alpha_j=m_j/m α j = m j / m for every j ∈ [ r ] j\in[r] j ∈ [ r ] . A count property is a p p p -quasirandom property, or forcing for fixed p p p , if it holds precisely for the p p p -quasirandom graph sequences.
For T ⊆ V ( F ) T\subseteq V(F) T ⊆ V ( F ) , write T c = V ( F ) ∖ T T^c=V(F)\setminus T T c = V ( F ) ∖ T , put e F ( T ) = e ( F [ T ] ) e_F(T)=e(F[T]) e F ( T ) = e ( F [ T ]) , and let e F ( T , T c ) e_F(T,T^c) e F ( T , T c ) denote the number of edges with one endpoint in each part. For i ∈ [ m ] i\in[m] i ∈ [ m ] , write d i = d F ( i ) d_i=d_F(i) d i = d F ( i ) for its degree in F F F . A factor with exponent zero is interpreted as 1, including when its base is zero. For a nonnegative integer a a a , the notation u [ a ] u^{[a]} u [ a ] denotes a list of a a a copies of u u u , with u [ 0 ] u^{[0]} u [ 0 ] denoting the empty list.
Graphons and the transfer principle
A graphon is a symmetric measurable function W : [ 0 , 1 ] 2 → [ 0 , 1 ] W:[0,1]^2\to[0,1] W : [ 0 , 1 ] 2 → [ 0 , 1 ] . Write λ \lambda λ for Lebesgue measure on [ 0 , 1 ] [0,1] [ 0 , 1 ] and its product spaces. For a graph F F F on [ m ] [m] [ m ] , define the labelled and symmetrized subgraph kernels by
Ψ F , W ( x 1 , … , x m ) = ∏ i j ∈ E ( F ) W ( x i , x j ) , Ψ ~ F , W = Sym Ψ F , W , \Psi_{F,W}(x_1,\ldots,x_m)=\prod_{ij\in E(F)}W(x_i,x_j),\qquad\widetilde{\Psi}_{F,W}=\operatorname{Sym}\Psi_{F,W}, Ψ F , W ( x 1 , … , x m ) = ij ∈ E ( F ) ∏ W ( x i , x j ) , Ψ F , W = Sym Ψ F , W ,
where, for a measurable function f f f on [ 0 , 1 ] m [0,1]^m [ 0 , 1 ] m ,
Sym f ( x 1 , … , x m ) = ( m ! ) − 1 ∑ π ∈ S m f ( x π ( 1 ) , … , x π ( m ) ) . \operatorname{Sym}f(x_1,\ldots,x_m)=(m!)^{-1}\sum_{\pi\in S_m}f(x_{\pi(1)},\ldots,x_{\pi(m)}). Sym f ( x 1 , … , x m ) = ( m ! ) − 1 π ∈ S m ∑ f ( x π ( 1 ) , … , x π ( m ) ) .
Equalities between measurable functions are understood almost everywhere. For a real integrable kernel K K K on [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 , define its cut norm by
∥ K ∥ □ = sup B , C ⊆ [ 0 , 1 ] ∣ ∫ B × C K ( x , y ) d x d y ∣ , \lVert K\rVert_{\square}=\sup_{B,C\subseteq[0,1]}\left|\int_{B\times C}K(x,y)\,\mathrm{d}x\,\mathrm{d}y\right|, ∥ K ∥ □ = B , C ⊆ [ 0 , 1 ] sup ∫ B × C K ( x , y ) d x d y ,
where the supremum is over all measurable sets B , C B,C B , C . The cut distance between graphons U , V U,V U , V is δ □ ( U , V ) = inf φ ∥ U − V φ ∥ □ \delta_{\square}(U,V)=\inf_{\varphi}\lVert U-V^\varphi\rVert_{\square} δ □ ( U , V ) = inf φ ∥ U − V φ ∥ □ , where V φ ( x , y ) = V ( φ ( x ) , φ ( y ) ) V^\varphi(x,y)=V(\varphi(x),\varphi(y)) V φ ( x , y ) = V ( φ ( x ) , φ ( y )) and the infimum is over measure-preserving bijections φ \varphi φ of [ 0 , 1 ] [0,1] [ 0 , 1 ] , understood modulo null sets.
To associate a graphon with a finite graph G G G on N ≥ 1 N\ge1 N ≥ 1 vertices, enumerate its vertices as v 1 , … , v N v_1,\ldots,v_N v 1 , … , v N and partition [ 0 , 1 ] [0,1] [ 0 , 1 ] into measurable cells I 1 , … , I N I_1,\ldots,I_N I 1 , … , I N , each of measure 1 / N 1/N 1/ N . Set W G ( x , y ) = 1 W_G(x,y)=1 W G ( x , y ) = 1 on I i × I j I_i\times I_j I i × I j if v i v j ∈ E ( G ) v_iv_j\in E(G) v i v j ∈ E ( G ) , and set W G ( x , y ) = 0 W_G(x,y)=0 W G ( x , y ) = 0 otherwise. The choice of vertex ordering and cells does not affect its cut-distance equivalence class. A graph sequence ( G n ) (G_n) ( G n ) with v ( G n ) → ∞ v(G_n)\to\infty v ( G n ) → ∞ is p p p -quasirandom if and only if δ □ ( W G n , p ) → 0 \delta_{\square}(W_{G_n},p)\to0 δ □ ( W G n , p ) → 0 , where p p p also denotes the constant graphon; see [8 , 5 ] . This characterization allows us to translate restricted counting conditions into integral identities for graphons. We first record the standard counting property of quasirandom graph sequences.
Lemma 2.1 (Uniform restricted counting [6 Lemma 2.4] ). Let ( G n ) (G_n) ( G n ) be a p p p -quasirandom graph sequence with v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ , where p ∈ [ 0 , 1 ] p\in[0,1] p ∈ [ 0 , 1 ] , and let F F F be a fixed graph on [ m ] [m] [ m ] with e = e ( F ) > 0 e=e(F)>0 e = e ( F ) > 0 . Then
N ( F , G n ; U 1 , … , U m ) = p e ∏ i = 1 m ∣ U i ∣ + o ( v n m ) N(F,G_n;U_1,\ldots,U_m)=p^e\prod_{i=1}^{m}|U_i|+o(v_n^m) N ( F , G n ; U 1 , … , U m ) = p e i = 1 ∏ m ∣ U i ∣ + o ( v n m ) uniformly over all subsets U 1 , … , U m ⊆ V ( G n ) U_1,\ldots,U_m\subseteq V(G_n) U 1 , … , U m ⊆ V ( G n ) . The same conclusion holds with N ~ \widetilde{N} N in place of N N N .
The sets in Lemma 2.1 need not be disjoint or distinct. Thus the lemma applies to repeated classes and shows that every p p p -quasirandom sequence satisfies each of the restricted-count conditions considered here. To prove that such a condition is forcing, it therefore suffices to establish the converse implication. The following transfer principle expresses this implication in terms of graphon integral identities.
Lemma 2.2 (Restricted-count transfer [7 Lemma 3.3] ). Let F F F be a graph on [ m ] [m] [ m ] with e = e ( F ) > 0 e=e(F)>0 e = e ( F ) > 0 , let ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) be an admissible profile, and let 0 < p < 1 0<p<1 0 < p < 1 . Then P m p ( F ; α ) \mathcal{P}^{p}_{m}(F;\boldsymbol{\alpha}) P m p ( F ; α ) is a p p p -quasirandom property if and only if every graphon W W W satisfying
∫ A 1 m 1 × ⋯ × A r m r Ψ F , W ( x ) d x = p e ∏ j = 1 r α j m j \int_{A_1^{m_1}\times\cdots\times A_r^{m_r}}\Psi_{F,W}(\mathbf{x})\,d\mathbf{x}=p^e\prod_{j=1}^{r}\alpha_j^{m_j} ∫ A 1 m 1 × ⋯ × A r m r Ψ F , W ( x ) d x = p e j = 1 ∏ r α j m j for all pairwise disjoint measurable sets A 1 , … , A r ⊆ [ 0 , 1 ] A_1,\ldots,A_r\subseteq[0,1] A 1 , … , A r ⊆ [ 0 , 1 ] with λ ( A j ) = α j \lambda(A_j)=\alpha_j λ ( A j ) = α j is equal to p p p almost everywhere. Here x = ( x 1 , … , x m ) \mathbf{x}=(x_1,\ldots,x_m) x = ( x 1 , … , x m ) and d x = d x 1 ⋯ d x m d\mathbf{x}=dx_1\cdots dx_m d x = d x 1 ⋯ d x m . The same equivalence holds for P ~ m p ( F ; α ) \widetilde{\mathcal{P}}^{p}_{m}(F;\boldsymbol{\alpha}) P m p ( F ; α ) with Ψ ~ F , W \widetilde{\Psi}_{F,W} Ψ F , W in place of Ψ F , W \Psi_{F,W} Ψ F , W .
More precisely, suppose that v ( G n ) → ∞ v(G_n)\to\infty v ( G n ) → ∞ and δ □ ( W G n , W ) → 0 \delta_{\square}(W_{G_n},W)\to0 δ □ ( W G n , W ) → 0 . Then ( G n ) (G_n) ( G n ) satisfies P m p ( F ; α ) \mathcal{P}^{p}_{m}(F;\boldsymbol{\alpha}) P m p ( F ; α ) if and only if W W W satisfies the displayed integral identities. The analogous statement holds for symmetrized counts and kernels.
For transversal counts, the corresponding transfer results are given in [6 Lemmas 3.1 and 3.4] . The stronger formulation in Lemma 2.2 uses the same partition-approximation argument as these results. The relevant uniform estimate is
∣ ∫ B 1 × ⋯ × B m ( Ψ F , U − Ψ F , V ) ∣ ≤ e ( F ) ∥ U − V ∥ □ , \left|\int_{B_1\times\cdots\times B_m}(\Psi_{F,U}-\Psi_{F,V})\right|\le e(F)\lVert U-V\rVert_{\square}, ∫ B 1 × ⋯ × B m ( Ψ F , U − Ψ F , V ) ≤ e ( F ) ∥ U − V ∥ □ ,
valid for graphons U , V U,V U , V and arbitrary measurable sets B 1 , … , B m B_1,\ldots,B_m B 1 , … , B m , including repeated sets. To see this, telescope over the edges of F F F and fix the remaining coordinates; each summand is controlled by the cut norm with two weights in [ 0 , 1 ] [0,1] [ 0 , 1 ] . The same bound holds after symmetrization. For a graph on N N N vertices, excluding noninjective maps changes the count by O ( N m − 1 ) O(N^{m-1}) O ( N m − 1 ) , uniformly in the vertex classes. Changing each class by O ( 1 ) O(1) O ( 1 ) vertices has the same order of effect. These estimates, together with the standard partition-approximation argument in the cited transfer results, give the uniform errors and integer rounding in the statement.
Thus the forcing problem reduces to showing that the prescribed integral identities imply W = p W=p W = p almost everywhere. A nonconstant graphon satisfying the identities yields a graph sequence with the restricted counts that is not p p p -quasirandom.
A graphon has two types if there is a measurable partition [ 0 , 1 ] = B 1 ∪ B 2 [0,1]=B_1\cup B_2 [ 0 , 1 ] = B 1 ∪ B 2 , with λ ( B 1 ) , λ ( B 2 ) > 0 \lambda(B_1),\lambda(B_2)>0 λ ( B 1 ) , λ ( B 2 ) > 0 , such that W W W is constant almost everywhere on each B i × B j B_i\times B_j B i × B j , for i , j ∈ { 1 , 2 } i,j\in\{1,2\} i , j ∈ { 1 , 2 } . The counterexamples constructed below have this form. Before introducing the functional characterizations used to prove forcing, we treat the endpoint p = 1 p=1 p = 1 , which is excluded from the standing assumptions of [7 ] .
Lemma 2.3. Let F F F be a simple graph on [ m ] [m] [ m ] with e ( F ) > 0 e(F)>0 e ( F ) > 0 , and let ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) be an admissible profile. Every graph sequence satisfying P m 1 ( F ; α ) \mathcal{P}^{1}_{m}(F;\boldsymbol{\alpha}) P m 1 ( F ; α ) or P ~ m 1 ( F ; α ) \widetilde{\mathcal{P}}^{1}_{m}(F;\boldsymbol{\alpha}) P m 1 ( F ; α ) is 1-quasirandom.
Proof. Let ( G n ) (G_n) ( G n ) satisfy either condition, put N = v ( G n ) N=v(G_n) N = v ( G n ) , and set k j = ⌊ α j N ⌋ k_j=\lfloor\alpha_jN\rfloor k j = ⌊ α j N ⌋ for j ∈ [ r ] j\in[r] j ∈ [ r ] . Since every α j > 0 \alpha_j>0 α j > 0 and the multiplicities are fixed, we may assume that k j ≥ m j k_j\ge m_j k j ≥ m j for every j j j . Moreover, ∑ j k j ≤ N \sum_j k_j\le N ∑ j k j ≤ N .
Choose a uniformly random ordering of V ( G n ) V(G_n) V ( G n ) and form U 1 , … , U r U_1,\ldots,U_r U 1 , … , U r from successive blocks of sizes k 1 , … , k r k_1,\ldots,k_r k 1 , … , k r . This gives a uniformly distributed ordered family of disjoint classes of the prescribed sizes. For any fixed injection ϕ : [ m ] → V ( G n ) \phi:[m]\to V(G_n) ϕ : [ m ] → V ( G n ) , its images occupy uniformly distributed distinct positions in the ordering. The probability that they have the prescribed class memberships is therefore q N = ∏ j = 1 r ( k j ) m j / ( N ) m q_N=\prod_{j=1}^{r}(k_j)_{m_j}/(N)_m q N = ∏ j = 1 r ( k j ) m j / ( N ) m , where ( a ) b = a ( a − 1 ) ⋯ ( a − b + 1 ) (a)_b=a(a-1)\cdots(a-b+1) ( a ) b = a ( a − 1 ) ⋯ ( a − b + 1 ) and ( a ) 0 = 1 (a)_0=1 ( a ) 0 = 1 .
Write C n = N ( F , G n ; V ( G n ) m ) C_n=N(F,G_n;V(G_n)^m) C n = N ( F , G n ; V ( G n ) m ) . By linearity of expectation, the expected labelled restricted count is q N C n q_NC_n q N C n . Each summand in the symmetrized count also assigns exactly m j m_j m j vertices to U j U_j U j for every j j j , so its expectation is likewise q N C n q_NC_n q N C n . Averaging the assumed counting identity thus gives, under either hypothesis,
∏ j = 1 r ( k j ) m j ( N ) m C n = ∏ j = 1 r k j m j + o ( N m ) . \frac{\prod_{j=1}^{r}(k_j)_{m_j}}{(N)_m}C_n=\prod_{j=1}^{r}k_j^{m_j}+o(N^m). ( N ) m ∏ j = 1 r ( k j ) m j C n = j = 1 ∏ r k j m j + o ( N m ) . The error remains o ( N m ) o(N^m) o ( N m ) because it is uniform over all admissible class families. Since k j = α j N + O ( 1 ) k_j=\alpha_jN+O(1) k j = α j N + O ( 1 ) and every α j > 0 \alpha_j>0 α j > 0 , we have ∏ j ( k j ) m j = Θ ( N m ) \prod_j(k_j)_{m_j}=\Theta(N^m) ∏ j ( k j ) m j = Θ ( N m ) and ∏ j k j m j / ∏ j ( k j ) m j → 1 \prod_j k_j^{m_j}/\prod_j(k_j)_{m_j}\to1 ∏ j k j m j / ∏ j ( k j ) m j → 1 . Consequently,
C n ( N ) m = ∏ j k j m j ∏ j ( k j ) m j + o ( N m ) ∏ j ( k j ) m j = 1 + o ( 1 ) . \frac{C_n}{(N)_m}=\frac{\prod_j k_j^{m_j}}{\prod_j(k_j)_{m_j}}+\frac{o(N^m)}{\prod_j(k_j)_{m_j}}=1+o(1). ( N ) m C n = ∏ j ( k j ) m j ∏ j k j m j + ∏ j ( k j ) m j o ( N m ) = 1 + o ( 1 ) . Fix an edge x y ∈ E ( F ) xy\in E(F) x y ∈ E ( F ) . Every copy counted by C n C_n C n maps ( x , y ) (x,y) ( x , y ) to an ordered adjacent pair in G n G_n G n , giving 2 e ( G n ) 2e(G_n) 2 e ( G n ) choices. Once these images are fixed, there are at most ( N − 2 ) m − 2 (N-2)_{m-2} ( N − 2 ) m − 2 injective assignments of the remaining vertices. Hence C n ≤ 2 e ( G n ) ( N − 2 ) m − 2 C_n\le2e(G_n)(N-2)_{m-2} C n ≤ 2 e ( G n ) ( N − 2 ) m − 2 , and therefore
1 − o ( 1 ) ≤ C n ( N ) m ≤ 2 e ( G n ) N ( N − 1 ) ≤ 1. 1-o(1)\le\frac{C_n}{(N)_m}\le\frac{2e(G_n)}{N(N-1)}\le1. 1 − o ( 1 ) ≤ ( N ) m C n ≤ N ( N − 1 ) 2 e ( G n ) ≤ 1. It follows that the number of missing edges, M n = ( N 2 ) − e ( G n ) M_n=\binom{N}{2}-e(G_n) M n = ( 2 N ) − e ( G n ) , is o ( N 2 ) o(N^2) o ( N 2 ) . For every U ⊆ V ( G n ) U\subseteq V(G_n) U ⊆ V ( G n ) , the number of missing edges within U U U is at most M n M_n M n . Thus
∣ e ( G n [ U ] ) − ∣ U ∣ 2 2 ∣ ≤ M n + N 2 = o ( N 2 ) \left|e(G_n[U])-\frac{|U|^2}{2}\right|\le M_n+\frac{N}{2}=o(N^2) e ( G n [ U ]) − 2 ∣ U ∣ 2 ≤ M n + 2 N = o ( N 2 ) uniformly over all U U U . This proves that ( G n ) (G_n) ( G n ) is 1-quasirandom.
Walsh decompositions and restricted averages
For S = { i 1 < ⋯ < i k } ⊆ [ m ] S=\{i_1<\cdots<i_k\}\subseteq[m] S = { i 1 < ⋯ < i k } ⊆ [ m ] , write x S = ( x i 1 , … , x i k ) x_S=(x_{i_1},\ldots,x_{i_k}) x S = ( x i 1 , … , x i k ) . Every real-valued f ∈ L 2 ( [ 0 , 1 ] m ) f\in L^2([0,1]^m) f ∈ L 2 ([ 0 , 1 ] m ) has a unique orthogonal generalized Walsh decomposition f = ∑ S ⊆ [ m ] f S f=\sum_{S\subseteq[m]}f_S f = ∑ S ⊆ [ m ] f S , where f ∅ = ∫ f f_{\varnothing}=\int f f ∅ = ∫ f is constant and, for nonempty S S S , the component f S f_S f S depends only on x S x_S x S and has integral zero in each coordinate in S S S . Explicitly,
f S = ∑ T ⊆ S ( − 1 ) ∣ S ∣ − ∣ T ∣ P T f , P T f ( x T ) = ∫ [ 0 , 1 ] [ m ] ∖ T f ( x ) d x [ m ] ∖ T , f_S=\sum_{T\subseteq S}(-1)^{|S|-|T|}P_Tf,\qquad P_Tf(x_T)=\int_{[0,1]^{[m]\setminus T}}f(x)\,dx_{[m]\setminus T}, f S = T ⊆ S ∑ ( − 1 ) ∣ S ∣ − ∣ T ∣ P T f , P T f ( x T ) = ∫ [ 0 , 1 ] [ m ] ∖ T f ( x ) d x [ m ] ∖ T ,
where P T f P_Tf P T f is regarded as a function on [ 0 , 1 ] m [0,1]^m [ 0 , 1 ] m independent of the coordinates outside T T T ; see [3 Section 2] . A function of k k k variables is alternating if interchanging any two coordinates changes its sign.
For symmetric functions, we collect the Walsh components of the same order. For 1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m , let H m , k \mathcal{H}_{m,k} H m , k be the subspace of L 2 ( [ 0 , 1 ] m ; R ) L^2([0,1]^m;\mathbb{R}) L 2 ([ 0 , 1 ] m ; R ) consisting of functions of the form
∑ S ⊆ [ m ] ∣ S ∣ = k g ( x S ) , \sum_{\substack{S\subseteq[m]\\ |S|=k}} g(x_S), S ⊆ [ m ] ∣ S ∣ = k ∑ g ( x S ) ,
where g ∈ L 2 ( [ 0 , 1 ] k ; R ) g\in L^2([0,1]^k;\mathbb{R}) g ∈ L 2 ([ 0 , 1 ] k ; R ) is symmetric and has integral zero in each coordinate. Let H m , 0 \mathcal{H}_{m,0} H m , 0 be the space of constants. These spaces give the orthogonal decomposition of the symmetric subspace by Walsh order. In particular, the first level is the space of mean-zero additive functions:
H m , 1 = { ∑ i = 1 m h ( x i ) : h ∈ L 2 ( [ 0 , 1 ] ; R ) , ∫ 0 1 h = 0 } . \mathcal{H}_{m,1}=\left\{\sum_{i=1}^{m}h(x_i):h\in L^2([0,1];\mathbb{R}),\ \int_0^1 h=0\right\}. H m , 1 = { i = 1 ∑ m h ( x i ) : h ∈ L 2 ([ 0 , 1 ] ; R ) , ∫ 0 1 h = 0 } .
Given an admissible profile ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) , let M m , α \mathcal{M}_{\mathbf{m},\boldsymbol{\alpha}} M m , α be the space of symmetric real-valued functions in L 2 ( [ 0 , 1 ] m ) L^2([0,1]^m) L 2 ([ 0 , 1 ] m ) whose integrals vanish over every product A 1 m 1 × ⋯ × A r m r A_1^{m_1}\times\cdots\times A_r^{m_r} A 1 m 1 × ⋯ × A r m r , where A 1 , … , A r ⊆ [ 0 , 1 ] A_1,\ldots,A_r\subseteq[0,1] A 1 , … , A r ⊆ [ 0 , 1 ] are pairwise disjoint measurable sets with λ ( A j ) = α j \lambda(A_j)=\alpha_j λ ( A j ) = α j . Janson’s characterization describes this nullspace as an orthogonal sum of Walsh levels and determines the levels by a polynomial divisibility criterion.
To state this criterion, let e k ( y 1 , … , y m ) = ∑ 1 ≤ i 1 < ⋯ < i k ≤ m y i 1 ⋯ y i k e_k(y_1,\ldots,y_m)=\sum_{1\le i_1<\cdots<i_k\le m}y_{i_1}\cdots y_{i_k} e k ( y 1 , … , y m ) = ∑ 1 ≤ i 1 < ⋯ < i k ≤ m y i 1 ⋯ y i k be the elementary symmetric polynomial of degree k k k , with e 0 = 1 e_0=1 e 0 = 1 , and define
E k ( z 1 , … , z r ) = e k ( z 1 , … , z 1 ⏟ m 1 , … , z r , … , z r ⏟ m r ) , 0 ≤ k ≤ m . (1) E_k(z_1,\ldots,z_r)=e_k(\underbrace{z_1,\ldots,z_1}_{m_1},\ldots,\underbrace{z_r,\ldots,z_r}_{m_r}),\qquad0\le k\le m. \tag*{(1)} E k ( z 1 , … , z r ) = e k ( m 1 z 1 , … , z 1 , … , m r z r , … , z r ) , 0 ≤ k ≤ m . (1)
Put L α ( z ) = ∑ j = 1 r α j z j L_{\boldsymbol{\alpha}}(z)=\sum_{j=1}^{r}\alpha_jz_j L α ( z ) = ∑ j = 1 r α j z j , with divisibility understood in R [ z 1 , … , z r ] \mathbb{R}[z_1,\ldots,z_r] R [ z 1 , … , z r ] . If ∑ j α j = 1 \sum_j\alpha_j=1 ∑ j α j = 1 , define the set of bad indices by K = { k ∈ [ m ] : L α ∣ E k } \mathcal{K}=\{k\in[m]:L_{\boldsymbol{\alpha}}\mid E_k\} K = { k ∈ [ m ] : L α ∣ E k } ; if ∑ j α j < 1 \sum_j\alpha_j<1 ∑ j α j < 1 , set K = ∅ \mathcal{K}=\varnothing K = ∅ .
Theorem 2.4 (Janson [7 Theorems 4.4 and 5.5, (5.3)] ). For every admissible profile ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) ,
M m , α = ⨁ k ∈ K H m , k , \mathcal{M}_{\mathbf{m},\boldsymbol{\alpha}}=\bigoplus_{k\in\mathcal{K}}\mathcal{H}_{m,k}, M m , α = k ∈ K ⨁ H m , k , where the sum is orthogonal and the empty sum denotes { 0 } \{0\} { 0 } .
Thus the bad indices are precisely the Walsh orders annihilated by all the prescribed restricted averages. The index zero is never bad, since a nonzero constant has nonzero integral over every admissible product. Applying Theorem 2.4 to the centred symmetrized subgraph kernel shows that the graphon integral identities in Lemma 2.2 are equivalent to
Ψ ~ F , W − p e ( F ) ∈ ⨁ k ∈ K H m , k . (2) \widetilde{\Psi}_{F,W}-p^{e(F)}\in\bigoplus_{k\in\mathcal{K}}\mathcal{H}_{m,k}. \tag*{(2)} Ψ F , W − p e ( F ) ∈ k ∈ K ⨁ H m , k . (2)
Together with Lemma 2.2, this reduces the forcing problem to determining whether (2.2) implies W = p W=p W = p almost everywhere. In particular, if K ⊆ { 1 } \mathcal{K}\subseteq\{1\} K ⊆ { 1 } , the only possible discrepancy from the constant kernel is additive.
For labelled counts, the subgraph kernel need not be symmetric, so Theorem 2.4 does not apply directly. We instead use the following consequence of the functional characterization of Hatami, Hatami and Li.
Lemma 2.5 (Hatami–Hatami–Li [3 Theorem 3.1 and Corollary 3.4] ). Let α 1 , … , α m > 0 \alpha_1,\ldots,\alpha_m>0 α 1 , … , α m > 0 satisfy ∑ i = 1 m α i ≤ 1 \sum_{i=1}^{m}\alpha_i\le1 ∑ i = 1 m α i ≤ 1 , and let f ∈ L 2 ( [ 0 , 1 ] m ; R ) f\in L^2([0,1]^m;\mathbb{R}) f ∈ L 2 ([ 0 , 1 ] m ; R ) satisfy ∫ A 1 × ⋯ × A m f = 0 \int_{A_1\times\cdots\times A_m}f=0 ∫ A 1 × ⋯ × A m f = 0 for every pairwise disjoint family of measurable sets A 1 , … , A m ⊆ [ 0 , 1 ] A_1,\ldots,A_m\subseteq[0,1] A 1 , … , A m ⊆ [ 0 , 1 ] with λ ( A i ) = α i \lambda(A_i)=\alpha_i λ ( A i ) = α i . If ∑ i α i < 1 \sum_i\alpha_i<1 ∑ i α i < 1 , then f = 0 f=0 f = 0 almost everywhere. If ∑ i α i = 1 \sum_i\alpha_i=1 ∑ i α i = 1 , the generalized Walsh decomposition f = ∑ S ⊆ [ m ] f S f=\sum_{S\subseteq[m]}f_S f = ∑ S ⊆ [ m ] f S satisfies f ∅ = 0 f_\varnothing=0 f ∅ = 0 , and every component f S f_S f S with ∣ S ∣ ≥ 2 |S|\ge2 ∣ S ∣ ≥ 2 is alternating in the coordinates indexed by S S S .
We shall use only the necessary conditions in Lemma 2.5 . These imply that full symmetrization leaves at most a mean-zero additive term. Indeed, for ∣ S ∣ ≥ 2 |S| \ge2 ∣ S ∣ ≥ 2 , let τ \tau τ interchange two coordinates in S S S . Alternation gives f S ∘ τ = − f S f_S \circ\tau=-f_S f S ∘ τ = − f S , while Sym ( f S ∘ τ ) = Sym f S \operatorname{Sym}(f_S \circ\tau)=\operatorname{Sym} f_S Sym ( f S ∘ τ ) = Sym f S by the definition of symmetrization. Hence Sym f S = 0 \operatorname{Sym} f_S=0 Sym f S = 0 . For a singleton component, write f { i } ( x ) = h i ( x i ) f_{\{i\}}(x)=h_i(x_i) f { i } ( x ) = h i ( x i ) , where ∫ 0 1 h i = 0 \int_0^1 h_i=0 ∫ 0 1 h i = 0 . Then Sym f { i } = m − 1 ∑ j = 1 m h i ( x j ) \operatorname{Sym} f_{\{i\}}=m^{-1}\sum_{j=1}^{m}h_i(x_j) Sym f { i } = m − 1 ∑ j = 1 m h i ( x j ) . Consequently, when ∑ i α i = 1 \sum_i\alpha_i=1 ∑ i α i = 1 ,
Sym f ( x 1 , … , x m ) = ∑ j = 1 m h ( x j ) , h = 1 m ∑ i = 1 m h i , ∫ 0 1 h = 0. \operatorname{Sym} f(x_1,\ldots,x_m)=\sum_{j=1}^{m}h(x_j),\qquad h=\frac{1}{m}\sum_{i=1}^{m}h_i,\qquad\int_0^1 h=0. Sym f ( x 1 , … , x m ) = j = 1 ∑ m h ( x j ) , h = m 1 i = 1 ∑ m h i , ∫ 0 1 h = 0.
Thus the labelled counting condition also reduces, after symmetrization, to an additive discrepancy. This allows the labelled classification to use the same additive rigidity statement as the symmetrized classification.
Balanced counts and additive rigidity
We prove Theorem 1.5 by completing the algebraic reduction of Janson and Sós. Their reduction associates a nonconstant triple ( U , V , S ) (U,V,S) ( U , V , S ) satisfying a finite algebraic system with any counterexample to the balanced-count conjecture. The four equations indexed by 0 , 1 , m − 1 , m 0,1,m-1,m 0 , 1 , m − 1 , m suffice to force U = V = S U=V=S U = V = S . The key step is the following scalar inequality for exponents determined by the degree sequence of F F F .
Lemma 3.1. Let m ≥ 3 m\ge3 m ≥ 3 , and let a 1 , … , a m ∈ [ 0 , 1 ] a_1,\ldots,a_m\in[0,1] a 1 , … , a m ∈ [ 0 , 1 ] satisfy ∑ i = 1 m a i = m − 2 \sum_{i=1}^{m}a_i=m-2 ∑ i = 1 m a i = m − 2 , with at least one a i ∈ ( 0 , 1 ) a_i\in(0,1) a i ∈ ( 0 , 1 ) . Set g ( t ) = ∑ i = 1 m t a i − ( m − 1 ) t g(t)=\sum_{i=1}^{m}t^{a_i}-(m-1)t g ( t ) = ∑ i = 1 m t a i − ( m − 1 ) t for t > 0 t>0 t > 0 . Then no pair 0 < x < 1 < y 0<x<1<y 0 < x < 1 < y satisfies g ( x ) = y g(x)=y g ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x .
Proof. Since g ( 1 ) = 1 g(1)=1 g ( 1 ) = 1 and g ′ ( 1 ) = ∑ i a i − ( m − 1 ) = − 1 g'(1)=\sum_i a_i-(m-1)=-1 g ′ ( 1 ) = ∑ i a i − ( m − 1 ) = − 1 , the tangent line to g g g at 1 1 1 is 2 − t 2-t 2 − t . Define h ( t ) = g ( t ) − ( 2 − t ) = ∑ i = 1 m t a i − ( m − 2 ) t − 2 h(t)=g(t)-(2-t)=\sum_{i=1}^{m}t^{a_i}-(m-2)t-2 h ( t ) = g ( t ) − ( 2 − t ) = ∑ i = 1 m t a i − ( m − 2 ) t − 2 for t > 0 t>0 t > 0 . Then h h h is smooth on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) and h ( 1 ) = h ′ ( 1 ) = 0 h(1)=h'(1)=0 h ( 1 ) = h ′ ( 1 ) = 0 . Moreover,
h ′ ′ ( t ) = ∑ i = 1 m a i ( a i − 1 ) t a i − 2 < 0 , h ′ ′ ′ ( t ) = ∑ i = 1 m a i ( a i − 1 ) ( a i − 2 ) t a i − 3 > 0 h''(t)=\sum_{i=1}^{m}a_i(a_i-1)t^{a_i-2}<0,\qquad h'''(t)=\sum_{i=1}^{m}a_i(a_i-1)(a_i-2)t^{a_i-3}>0 h ′′ ( t ) = i = 1 ∑ m a i ( a i − 1 ) t a i − 2 < 0 , h ′′′ ( t ) = i = 1 ∑ m a i ( a i − 1 ) ( a i − 2 ) t a i − 3 > 0 for every t > 0 t>0 t > 0 . Indeed, exponents in { 0 , 1 } \{0,1\} { 0 , 1 } contribute zero to both sums, whereas each exponent in ( 0 , 1 ) (0,1) ( 0 , 1 ) contributes negatively to the first and positively to the second. Thus h ′ h' h ′ is strictly decreasing and h ′ ′ h'' h ′′ is strictly increasing. As h ′ ( 1 ) = 0 h'(1)=0 h ′ ( 1 ) = 0 , the function h h h is strictly increasing on ( 0 , 1 ) (0,1) ( 0 , 1 ) and strictly decreasing on ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) . Consequently, h ( t ) < h ( 1 ) = 0 h(t)<h(1)=0 h ( t ) < h ( 1 ) = 0 whenever t ≠ 1 t\ne1 t = 1 .
Suppose that 0 < x < 1 < y 0<x<1<y 0 < x < 1 < y satisfies g ( x ) = y g(x)=y g ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x . Then h ( x ) = h ( y ) = x + y − 2 < 0 h(x)=h(y)=x+y-2<0 h ( x ) = h ( y ) = x + y − 2 < 0 , and hence x + y < 2 x+y<2 x + y < 2 . Putting A = 1 − x A=1-x A = 1 − x and B = y − 1 B=y-1 B = y − 1 , we obtain 0 < B < A < 1 0<B<A<1 0 < B < A < 1 . Define D ( t ) = h ( 1 + t ) − h ( 1 − t ) D(t)=h(1+t)-h(1-t) D ( t ) = h ( 1 + t ) − h ( 1 − t ) for ∣ t ∣ < 1 |t|<1 ∣ t ∣ < 1 . Differentiation gives D ′ ( t ) = h ′ ( 1 + t ) + h ′ ( 1 − t ) D'(t)=h'(1+t)+h'(1-t) D ′ ( t ) = h ′ ( 1 + t ) + h ′ ( 1 − t ) and D ′ ′ ( t ) = h ′ ′ ( 1 + t ) − h ′ ′ ( 1 − t ) D''(t)=h''(1+t)-h''(1-t) D ′′ ( t ) = h ′′ ( 1 + t ) − h ′′ ( 1 − t ) . Thus D ( 0 ) = D ′ ( 0 ) = 0 D(0)=D'(0)=0 D ( 0 ) = D ′ ( 0 ) = 0 , and the strict increase of h ′ ′ h'' h ′′ implies D ′ ′ ( t ) > 0 D''(t)>0 D ′′ ( t ) > 0 for 0 < t < 1 0<t<1 0 < t < 1 . Integrating twice yields D ( t ) = ∫ 0 t ( t − s ) D ′ ′ ( s ) d s > 0 D(t)=\int_0^t(t-s)D''(s)\,\mathrm{d}s>0 D ( t ) = ∫ 0 t ( t − s ) D ′′ ( s ) d s > 0 for 0 < t < 1 0<t<1 0 < t < 1 . These integrations involve only positive arguments of h h h ; in particular, for 0 ≤ t ≤ A 0\le t\le A 0 ≤ t ≤ A , those arguments lie in [ 1 − A , 1 + A ] ⊂ ( 0 , ∞ ) [1-A,1+A]\subset(0,\infty) [ 1 − A , 1 + A ] ⊂ ( 0 , ∞ ) . Taking t = A t=A t = A therefore gives h ( 1 − A ) < h ( 1 + A ) h(1-A)<h(1+A) h ( 1 − A ) < h ( 1 + A ) .
Finally, since A > B > 0 A>B>0 A > B > 0 and h h h is strictly decreasing on ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) ,
h ( x ) = h ( 1 − A ) < h ( 1 + A ) < h ( 1 + B ) = h ( y ) , h(x)=h(1-A)<h(1+A)<h(1+B)=h(y), h ( x ) = h ( 1 − A ) < h ( 1 + A ) < h ( 1 + B ) = h ( y ) , contrary to h ( x ) = h ( y ) h(x)=h(y) h ( x ) = h ( y ) .
Remark 3.2. The assumption that some a i ∈ ( 0 , 1 ) a_i \in(0,1) a i ∈ ( 0 , 1 ) is necessary. If all a i ∈ { 0 , 1 } a_i \in\{0,1\} a i ∈ { 0 , 1 } , then ∑ i a i = m − 2 \sum_i a_i=m-2 ∑ i a i = m − 2 implies that exactly two exponents are zero and the others are one. Thus g ( t ) = 2 − t g(t)=2-t g ( t ) = 2 − t , and every x ∈ ( 0 , 1 ) x\in(0,1) x ∈ ( 0 , 1 ) , with y = 2 − x y=2-x y = 2 − x , satisfies g ( x ) = y g(x)=y g ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x .
For a graph with degree sequence d 1 , … , d m d_1,\ldots,d_m d 1 , … , d m and e > 1 e>1 e > 1 edges, the handshaking identity gives ∑ i = 1 m ( 1 − d i / e ) = m − 2 \sum_{i=1}^{m}(1-d_i/e)=m-2 ∑ i = 1 m ( 1 − d i / e ) = m − 2 . Applying Lemma 3.1 with exponents a i = 1 − d i / e a_i=1-d_i/e a i = 1 − d i / e yields the following obstruction to solutions on opposite sides of 1.
Proposition 3.3. Let F F F be a simple graph with vertex set { v 1 , … , v m } \{v_1,\ldots,v_m\} { v 1 , … , v m } and e = e ( F ) > 1 e=e(F)>1 e = e ( F ) > 1 edges, and write d i = d F ( v i ) d_i=d_F(v_i) d i = d F ( v i ) for i ∈ [ m ] i\in[m] i ∈ [ m ] . Then no pair 0 < u < 1 < v 0<u<1<v 0 < u < 1 < v satisfies
∑ i = 1 m u e − d i = ( m − 1 ) u e + v e (3) \sum_{i=1}^{m}u^{e-d_i}=(m-1)u^e+v^e \tag*{(3)} i = 1 ∑ m u e − d i = ( m − 1 ) u e + v e (3) ∑ i = 1 m v e − d i = u e + ( m − 1 ) v e . (4) \sum_{i=1}^{m}v^{e-d_i}=u^e+(m-1)v^e. \tag*{(4)} i = 1 ∑ m v e − d i = u e + ( m − 1 ) v e . (4) Proof. Since F F F is simple and e > 1 e>1 e > 1 , we have m ≥ 3 m\ge3 m ≥ 3 . Put a i = 1 − d i / e a_i=1-d_i/e a i = 1 − d i / e for i ∈ [ m ] i\in[m] i ∈ [ m ] . The bounds 0 ≤ d i ≤ e 0\le d_i\le e 0 ≤ d i ≤ e give a i ∈ [ 0 , 1 ] a_i\in[0,1] a i ∈ [ 0 , 1 ] , while the handshaking identity yields ∑ i a i = m − e − 1 ∑ i d i = m − 2 \sum_i a_i=m-e^{-1}\sum_i d_i=m-2 ∑ i a i = m − e − 1 ∑ i d i = m − 2 .
To verify that some a i ∈ ( 0 , 1 ) a_i\in(0,1) a i ∈ ( 0 , 1 ) , choose distinct edges e 1 , e 2 ∈ E ( F ) e_1,e_2\in E(F) e 1 , e 2 ∈ E ( F ) . These are distinct two-element vertex sets, so there is a vertex v ℓ ∈ e 1 ∖ e 2 v_\ell\in e_1\setminus e_2 v ℓ ∈ e 1 ∖ e 2 . Since e 1 e_1 e 1 is incident with v ℓ v_\ell v ℓ and e 2 e_2 e 2 is not, we have 1 ≤ d ℓ ≤ e − 1 1\le d_\ell\le e-1 1 ≤ d ℓ ≤ e − 1 , and hence 0 < a ℓ < 1 0<a_\ell<1 0 < a ℓ < 1 . Thus a 1 , … , a m a_1,\ldots,a_m a 1 , … , a m satisfy all the hypotheses of Lemma 3.1.
Suppose that 0 < u < 1 < v 0<u<1<v 0 < u < 1 < v satisfies (3.1) and (3.2). Set x = u e x=u^e x = u e and y = v e y=v^e y = v e . Since e > 0 e>0 e > 0 , we have 0 < x < 1 < y 0<x<1<y 0 < x < 1 < y . Moreover, u , v > 0 u,v>0 u , v > 0 implies x a i = u e − d i x^{a_i}=u^{e-d_i} x a i = u e − d i and y a i = v e − d i y^{a_i}=v^{e-d_i} y a i = v e − d i for every i ∈ [ m ] i\in[m] i ∈ [ m ] . The two equations therefore become ∑ i x a i = ( m − 1 ) x + y \sum_i x^{a_i}=(m-1)x+y ∑ i x a i = ( m − 1 ) x + y and ∑ i y a i = x + ( m − 1 ) y \sum_i y^{a_i}=x+(m-1)y ∑ i y a i = x + ( m − 1 ) y . For g ( t ) = ∑ i t a i − ( m − 1 ) t g(t)=\sum_i t^{a_i}-(m-1)t g ( t ) = ∑ i t a i − ( m − 1 ) t , these identities give g ( x ) = y g(x)=y g ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x , contradicting Lemma 3.1. □ \square □
Proposition 3.3 establishes the degree-sequence assertion proposed in [6 Remark 7.8] . Isolated vertices contribute exponents equal to one and require no separate treatment. We now apply this obstruction to the algebraic system arising from balanced counts. The equations indexed by 0 and m m m determine the affine parameters c c c and b b b , while those indexed by 1 and m − 1 m-1 m − 1 lead, after rescaling, to the degree equations. The following theorem shows that these four equations already force the constant solution. In particular, it resolves [7 Problem 6.5] , which asks to exclude nonconstant solutions of the full system.
Theorem 3.4. Let F F F be a simple graph on m m m vertices with e = e ( F ) > 1 e=e(F)>1 e = e ( F ) > 1 . Suppose that U , V , S ≥ 0 U,V,S\ge0 U , V , S ≥ 0 and c , b ∈ R c,b\in\mathbb{R} c , b ∈ R , with ( c , b ) ≠ ( 0 , 0 ) (c,b)\ne(0,0) ( c , b ) = ( 0 , 0 ) , satisfy
∑ T ⊆ V ( F ) ∣ T ∣ = k U e F ( T ) V e F ( T c ) S e F ( T , T c ) = ( m k ) ( c + b k ) (5) \sum_{\substack{T\subseteq V(F)\\ |T|=k}}U^{e_F(T)}V^{e_F(T^c)}S^{e_F(T,T^c)}=\binom{m}{k}(c+bk) \tag*{(5)} T ⊆ V ( F ) ∣ T ∣ = k ∑ U e F ( T ) V e F ( T c ) S e F ( T , T c ) = ( k m ) ( c + bk ) (5) for every k ∈ { 0 , 1 , m − 1 , m } k\in\{0,1,m-1,m\} k ∈ { 0 , 1 , m − 1 , m } . Then U = V = S > 0 U=V=S>0 U = V = S > 0 and b = 0 b=0 b = 0 .
Proof. Enumerate the vertices of F F F as v 1 , … , v m v_1,\ldots,v_m v 1 , … , v m and write d i = d F ( v i ) d_i=d_F(v_i) d i = d F ( v i ) . The equations with k = 0 k=0 k = 0 and k = m k=m k = m give
V e = c , U e = c + m b . (6) V^e=c,\qquad U^e=c+mb. \tag*{(6)} V e = c , U e = c + mb . (6) For T = { v i } T=\{v_i\} T = { v i } , we have e F ( T ) = 0 e_F(T)=0 e F ( T ) = 0 , e F ( T c ) = e − d i e_F(T^c)=e-d_i e F ( T c ) = e − d i and e F ( T , T c ) = d i e_F(T,T^c)=d_i e F ( T , T c ) = d i . Taking T = { v i } T=\{v_i\} T = { v i } and T = V ( F ) ∖ { v i } T=V(F)\setminus\{v_i\} T = V ( F ) ∖ { v i } , respectively, therefore gives
∑ i = 1 m V e − d i S d i = m ( c + b ) , (7) \sum_{i=1}^{m}V^{e-d_i}S^{d_i}=m(c+b), \tag*{(7)} i = 1 ∑ m V e − d i S d i = m ( c + b ) , (7) ∑ i = 1 m U e − d i S d i = m ( c + ( m − 1 ) b ) . (8) \sum_{i=1}^{m}U^{e-d_i}S^{d_i}=m(c+(m-1)b). \tag*{(8)} i = 1 ∑ m U e − d i S d i = m ( c + ( m − 1 ) b ) . (8)
First suppose that U = V U=V U = V . Equation (6) gives b = 0 b=0 b = 0 and c = U e c=U^{e} c = U e . The assumption ( c , b ) ≠ ( 0 , 0 ) (c,b)\ne(0,0) ( c , b ) = ( 0 , 0 ) then implies U > 0 U>0 U > 0 . Equation (7) becomes ∑ i U e − d i S d i = m U e \sum_i U e^{-d_i}S^{d_i}=mU^{e} ∑ i U e − d i S d i = m U e . The left-hand side is strictly increasing as a function of S ≥ 0 S\ge0 S ≥ 0 : all coefficients U e − d i Ue^{-d_i} U e − d i are positive, all terms are nondecreasing, and at least one d i d_i d i is positive. Its value at S = U S=U S = U is m U e mU^{e} m U e , so S = U = V S=U=V S = U = V .
Suppose now that U ≠ V U\ne V U = V . Replacing T T T by T c T^c T c in (5) interchanges U U U and V V V and replaces k k k by m − k m-k m − k . Since ( m − k m − k ) = ( m k ) \binom{m-k}{m-k}=\binom{m}{k} ( m − k m − k ) = ( k m ) and c + b ( m − k ) = ( c + m b ) − b k c+b(m-k)=(c+mb)-bk c + b ( m − k ) = ( c + mb ) − bk , the parameters ( V , U , S , c + m b , − b ) (V,U,S,c+mb,-b) ( V , U , S , c + mb , − b ) also satisfy the four equations. Here the index set { 0 , 1 , m − 1 , m } \{0,1,m-1,m\} { 0 , 1 , m − 1 , m } is invariant under k ↦ m − k k\mapsto m-k k ↦ m − k , and the transformation ( c , b ) ↦ ( c + m b , − b ) (c,b)\mapsto(c+mb,-b) ( c , b ) ↦ ( c + mb , − b ) is invertible, so it preserves the condition ( c , b ) ≠ ( 0 , 0 ) (c,b)\ne(0,0) ( c , b ) = ( 0 , 0 ) . We may therefore assume that U > V ≥ 0 U>V\ge0 U > V ≥ 0 . By (6) , m b = U e − V e > 0 mb=U^{e}-V^{e}>0 mb = U e − V e > 0 , and hence b > 0 b>0 b > 0 .
We first show that S < U S<U S < U . If S ≥ U S\ge U S ≥ U , then U e − d i S d i ≥ U e Ue^{-d_i}S^{d_i}\ge U^{e} U e − d i S d i ≥ U e for every i i i . Equation (8) consequently yields
m U e ≤ ∑ i = 1 m U e − d i S d i = m ( c + ( m − 1 ) b ) = m ( U e − b ) < m U e . mU^{e}\le\sum_{i=1}^{m}Ue^{-d_i}S^{d_i}=m\bigl(c+(m-1)b\bigr)=m(U^{e}-b)<mU^{e}. m U e ≤ i = 1 ∑ m U e − d i S d i = m ( c + ( m − 1 ) b ) = m ( U e − b ) < m U e .
a contradiction.
Next suppose that V = 0 V=0 V = 0 . Then c = 0 c=0 c = 0 and U e = m b > 0 U^{e}=mb>0 U e = mb > 0 . Let q q q be the number of vertices of degree e e e . In (7) , a summand is zero when d i < e d_i<e d i < e and equals S e S^{e} S e when d i = e d_i=e d i = e . Thus q S e = m b = U e qS^{e}=mb=U^{e} q S e = mb = U e . There is at most one vertex of degree e e e : if two distinct vertices were incident with every edge, every edge would join those two vertices, and simplicity would imply e ≤ 1 e\le1 e ≤ 1 . Hence q ≤ 1 q\le1 q ≤ 1 , and the inequality S < U S<U S < U gives U e = q S e ≤ S e < U e U^{e}=qS^{e}\le S^{e}<U^{e} U e = q S e ≤ S e < U e , a contradiction. Therefore V > 0 V>0 V > 0 .
If S ≤ V S\le V S ≤ V , then ∑ i V e − d i S d i ≤ m V e < m ( V e + b ) = m ( c + b ) \sum_i Ve^{-d_i}S^{d_i}\le mV^{e}<m(V^{e}+b)=m(c+b) ∑ i V e − d i S d i ≤ m V e < m ( V e + b ) = m ( c + b ) , contrary to (7) . We have therefore obtained 0 < V < S < U 0<V<S<U 0 < V < S < U .
Finally, substitute c = V e c=V^{e} c = V e and b = ( U e − V e ) / m b=(U^{e}-V^{e})/m b = ( U e − V e ) / m into (7) and (8) . Dividing by S e > 0 S^{e}>0 S e > 0 and setting u = V / S u=V/S u = V / S and v = U / S v=U/S v = U / S gives
∑ i = 1 m u e − d i = ( m − 1 ) u e + v e , ∑ i = 1 m v e − d i = u e + ( m − 1 ) v e . \sum_{i=1}^{m}u e^{-d_i}=(m-1)u^{e}+v^{e},\qquad\sum_{i=1}^{m}v e^{-d_i}=u^{e}+(m-1)v^{e}. i = 1 ∑ m u e − d i = ( m − 1 ) u e + v e , i = 1 ∑ m v e − d i = u e + ( m − 1 ) v e .
Since 0 < u < 1 < v 0<u<1<v 0 < u < 1 < v , these equations contradict Proposition 3.3. Thus U ≠ V U\ne V U = V is impossible, and the first case gives U = V = S > 0 U=V=S>0 U = V = S > 0 and b = 0 b=0 b = 0 .
Although the full system contains an equation for every k = 0 , … , m k=0,\ldots,m k = 0 , … , m , Theorem 3.4 uses only the four indices 0 , 1 , m − 1 , m 0,1,m-1,m 0 , 1 , m − 1 , m and requires no connectedness or regularity assumption on F F F . The following implication of the Janson–Sós reduction connects this algebraic rigidity with balanced subgraph counts.
Lemma 3.6 (Janson–Sós [6 Lemma 6.3] ). Let F F F be a graph on m m m vertices with e ( F ) > 0 e(F)>0 e ( F ) > 0 . If P ~ ( F ; 1 / m , … , 1 / m ) \widetilde{\mathcal{P}}(F;1/m,\ldots,1/m) P ( F ; 1/ m , … , 1/ m ) is not a p p p -quasirandom property for some p ∈ ( 0 , 1 ] p\in(0,1] p ∈ ( 0 , 1 ] , then there exist U , V , S ≥ 0 U,V,S\ge0 U , V , S ≥ 0 , not all equal, and c , b ∈ R c,b\in\mathbb{R} c , b ∈ R , with ( c , b ) ≠ ( 0 , 0 ) (c,b)\ne(0,0) ( c , b ) = ( 0 , 0 ) , satisfying (5) for every k = 0 , … , m k=0,\ldots,m k = 0 , … , m .
The triple ( U , V , S ) (U,V,S) ( U , V , S ) in Lemma 3.6 arises from a two-type graphon: U , V U,V U , V are its within-type values, and S S S is its between-type value. The reduction ensures that the symmetrized subgraph kernel is additive, so its value on a tuple with k k k coordinates of the first type is affine in k k k . Expressing this value as an average over all placements of those coordinates gives (5) . Thus a counterexample to the balanced-count conjecture would produce the nonconstant solution excluded by Theorem 3.4, yielding the following proof.
Proof of Theorem 1.5. By Lemma 2.1, every p p p -quasirandom graph sequence satisfies both the labelled and symmetrized balanced counting conditions. It remains to prove the converse implications. The case p = 1 p=1 p = 1 follows from Lemma 2.3, so assume that 0 < p < 1 0<p<1 0 < p < 1 .
Suppose that P ~ ( F ; 1 / m , … , 1 / m ) \widetilde{\mathcal{P}}(F;1/m,\ldots,1/m) P ( F ; 1/ m , … , 1/ m ) is not a p p p -quasirandom property. By Lemma 3.6, there exist U , V , S ≥ 0 U,V,S\geq0 U , V , S ≥ 0 , not all equal, and c , b ∈ R c,b\in\mathbb{R} c , b ∈ R , with ( c , b ) ≠ ( 0 , 0 ) (c,b)\neq(0,0) ( c , b ) = ( 0 , 0 ) , satisfying (3.3) for every k = 0 , … , m k=0,\ldots,m k = 0 , … , m . In particular, the equations indexed by 0 , 1 , m − 1 , m 0,1,m-1,m 0 , 1 , m − 1 , m hold. Since F F F is simple and e ( F ) > 1 e(F)>1 e ( F ) > 1 , Theorem 3.4 gives U = V = S > 0 U=V=S>0 U = V = S > 0 and b = 0 b=0 b = 0 , contradicting the choice of the triple. Thus the symmetrized balanced counting condition characterizes p p p -quasirandomness.
Finally, suppose that a graph sequence satisfies the labelled balanced counting condition. Since all classes have the same prescribed size, every permutation of an admissible tuple is admissible. Averaging the labelled identities over S m \mathfrak{S}_m S m , with the uniform error unchanged, yields the symmetrized counting condition. The sequence is therefore p p p -quasirandom, proving the labelled assertion. □ \square □
The two classifications use the following consequence of Theorem 1.5, which is independent of the class profile. An additive symmetrized subgraph kernel has the same integral over every equipartition product. If its mean is positive, these integrals satisfy the balanced counting condition at a positive density, forcing the underlying graphon to be constant.
Corollary 3.7. Let F F F be a simple graph on m m m vertices with e ( F ) > 1 e(F)>1 e ( F ) > 1 , let W W W be a graphon, and let h ∈ L 1 ( [ 0 , 1 ] ; R ) h\in L^1([0,1];\mathbb{R}) h ∈ L 1 ([ 0 , 1 ] ; R ) satisfy μ = ∫ 0 1 h ( t ) d t > 0 \mu=\int_0^1 h(t)\,\mathrm{d}t>0 μ = ∫ 0 1 h ( t ) d t > 0 . If
Ψ ~ F , W ( x 1 , … , x m ) = ∑ i = 1 m h ( x i ) \widetilde{\Psi}_{F,W}(x_1,\ldots,x_m)=\sum_{i=1}^{m}h(x_i) Ψ F , W ( x 1 , … , x m ) = i = 1 ∑ m h ( x i ) for almost every ( x 1 , … , x m ) ∈ [ 0 , 1 ] m (x_1,\ldots,x_m)\in[0,1]^m ( x 1 , … , x m ) ∈ [ 0 , 1 ] m , then W = q W=q W = q almost everywhere on [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 and h = q e ( F ) / m h=q^{e(F)/m} h = q e ( F ) / m almost everywhere on [ 0 , 1 ] [0,1] [ 0 , 1 ] , where q = ( m μ ) 1 / e ( F ) ∈ ( 0 , 1 ] q=(m\mu)^{1/e(F)}\in(0,1] q = ( m μ ) 1/ e ( F ) ∈ ( 0 , 1 ] .
Proof. Put e = e ( F ) e=e(F) e = e ( F ) . Each function h ( x i ) h(x_i) h ( x i ) is integrable on [ 0 , 1 ] m [0,1]^m [ 0 , 1 ] m , so integrating the assumed identity and applying Fubini’s theorem gives 0 < m μ = ∫ [ 0 , 1 ] m Ψ ~ F , W ≤ 1 0<m\mu=\int_{[0,1]^m}\widetilde{\Psi}_{F,W}\leq1 0 < m μ = ∫ [ 0 , 1 ] m Ψ F , W ≤ 1 , where the upper bound follows from 0 ≤ Ψ ~ F , W ≤ 1 0\leq\widetilde{\Psi}_{F,W}\leq1 0 ≤ Ψ F , W ≤ 1 . Thus q = ( m μ ) 1 / e q=(m\mu)^{1/e} q = ( m μ ) 1/ e is well defined and belongs to ( 0 , 1 ] (0,1] ( 0 , 1 ] .
Let A 1 , … , A m A_1,\ldots,A_m A 1 , … , A m be any measurable partition of [ 0 , 1 ] [0,1] [ 0 , 1 ] with λ ( A i ) = 1 / m \lambda(A_i)=1/m λ ( A i ) = 1/ m for every i i i . By the assumed identity and Fubini’s theorem,
∫ A 1 × ⋯ × A m Ψ ~ F , W = ∑ i = 1 m ( ∏ j ≠ i λ ( A j ) ) ∫ A i h ( t ) d t = μ m m − 1 = q e ∏ i = 1 m λ ( A i ) . \begin{aligned}
\int_{A_1\times\cdots\times A_m}\widetilde{\Psi}_{F,W}
=\sum_{i=1}^{m}\left(\prod_{j\neq i}\lambda(A_j)\right)\int_{A_i}h(t)\,\mathrm{d}t \\
&=\frac{\mu}{m^{m-1}}=q^e\prod_{i=1}^{m}\lambda(A_i).
\end{aligned} ∫ A 1 × ⋯ × A m Ψ F , W = i = 1 ∑ m j = i ∏ λ ( A j ) ∫ A i h ( t ) d t = m m − 1 μ = q e i = 1 ∏ m λ ( A i ) .
Hence W W W satisfies the symmetrized balanced graphon counting condition with density parameter q q q . Since 0 < q ≤ 1 0<q\leq1 0 < q ≤ 1 , Theorem 1.5 and the graph-sequence–graphon correspondence [6 Lemma 3.4] imply that W = q W=q W = q almost everywhere.
For each pair i < j i<j i < j , Fubini’s theorem shows that the set of tuples for which W ( x i , x j ) ≠ q W(x_i,x_j)\neq q W ( x i , x j ) = q has measure zero. Outside the finite union of these exceptional sets, every factor in every product defining Ψ ~ F , W \widetilde{\Psi}_{F,W} Ψ F , W equals q q q . Thus Ψ ~ F , W = q e \widetilde{\Psi}_{F,W}=q^e Ψ F , W = q e almost everywhere, and the assumed identity gives ∑ i h ( x i ) = q e \sum_i h(x_i)=q^e ∑ i h ( x i ) = q e almost everywhere. Integrating with respect to x 2 , … , x m x_2,\ldots,x_m x 2 , … , x m yields h ( x 1 ) + ( m − 1 ) μ = q e = m μ h(x_1)+(m-1)\mu=q^e=m\mu h ( x 1 ) + ( m − 1 ) μ = q e = m μ for almost every x 1 x_1 x 1 . Therefore h = μ = q e / m h=\mu=q^e/m h = μ = q e / m almost everywhere. □ \square □
By (2.2), the inclusion M m , α ⊆ H m , 1 \mathcal{M}_{m,\alpha}\subseteq\mathcal{H}_{m,1} M m , α ⊆ H m , 1 ensures that the discrepancy from the constant subgraph kernel is additive. Corollary 3.7 therefore yields the following forcing criterion, with no restriction on the number of classes.
Corollary 3.8. Let F F F be a simple graph on m m m vertices with e ( F ) > 1 e(F)>1 e ( F ) > 1 , let 0 < p ≤ 1 0<p\le1 0 < p ≤ 1 , and let ( m , α ) (\mathbf{m},\alpha) ( m , α ) be an admissible profile. If M m , α ⊆ H m , 1 \mathcal{M}_{m,\alpha}\subseteq\mathcal{H}_{m,1} M m , α ⊆ H m , 1 , then P ~ m p ( F ; α ) \widetilde{\mathcal{P}}_{m}^{p}(F;\alpha) P m p ( F ; α ) is a p p p -quasirandom property.
Proof. Every p p p -quasirandom graph sequence satisfies the prescribed counting condition by Lemma 2.1. Conversely, the case p = 1 p=1 p = 1 follows from Lemma 2.3, so assume that 0 < p < 1 0<p<1 0 < p < 1 . Put e = e ( F ) e=e(F) e = e ( F ) . By Lemma 2.2, it suffices to consider a graphon W W W satisfying the prescribed symmetrized integral identities. By (2.2), Ψ ~ F , W e − p e ∈ M m , α ⊆ H m , 1 \widetilde{\Psi}_{F,W}^{e}-p^{e}\in\mathcal{M}_{m,\alpha}\subseteq\mathcal{H}_{m,1} Ψ F , W e − p e ∈ M m , α ⊆ H m , 1 . Thus there exists h 0 ∈ L 2 ( [ 0 , 1 ] ; R ) h_{0}\in L^{2}([0,1];\mathbb{R}) h 0 ∈ L 2 ([ 0 , 1 ] ; R ) with ∫ 0 1 h 0 = 0 \int_{0}^{1}h_{0}=0 ∫ 0 1 h 0 = 0 such that Ψ ~ F , W − p e = ∑ i = 1 m h 0 ( x i ) \widetilde{\Psi}_{F,W}-p^{e}=\sum_{i=1}^{m}h_{0}(x_{i}) Ψ F , W − p e = ∑ i = 1 m h 0 ( x i ) almost everywhere. Set h = h 0 + p e / m h=h_{0}+p^{e}/m h = h 0 + p e / m . Then h ∈ L 1 ( [ 0 , 1 ] ; R ) h\in L^{1}([0,1];\mathbb{R}) h ∈ L 1 ([ 0 , 1 ] ; R ) , ∫ 0 1 h = p e / m > 0 \int_{0}^{1}h=p^{e}/m>0 ∫ 0 1 h = p e / m > 0 , and Ψ ~ F , W = ∑ i = 1 m h ( x i ) \widetilde{\Psi}_{F,W}=\sum_{i=1}^{m}h(x_{i}) Ψ F , W = ∑ i = 1 m h ( x i ) almost everywhere. Corollary 3.7 therefore gives W = q W=q W = q almost everywhere, where q = ( m ∫ 0 1 h ) 1 / e = p q=(m\int_{0}^{1}h)^{1/e}=p q = ( m ∫ 0 1 h ) 1/ e = p . This proves the converse.
Corollary 3.8 settles [7 Conjecture 6.3] , while Theorem 3.4 resolves [7 Problem 6.5] . The hypothesis e ( F ) > 1 e(F)>1 e ( F ) > 1 is essential to the rigidity argument: when F F F has exactly one edge, the exponents in Lemma 3.1 are two zeros and m − 2 m-2 m − 2 ones, so its strictness hypothesis fails. The next section completes the repeated-class classification. We first show that, for profiles with at least three classes, only additive obstructions can occur. Additive rigidity then settles the case e ( F ) > 1 e(F)>1 e ( F ) > 1 , leaving the single-edge case to determine the exceptions.
Symmetrized repeated-class counts
In this section, we show that profiles with at least three classes admit only additive obstructions and then complete the classification. By Theorem 2.4, excluding higher-order bad indices amounts to showing that E k E_k E k , for k ≥ 2 k\ge2 k ≥ 2 , has no linear divisor with all coefficients positive when r ≥ 3 r\ge3 r ≥ 3 . To prove this non-divisibility statement, we first consider a two-value specialization of the elementary symmetric polynomial. The following lemma provides the root simplicity needed in the argument.
Lemma 4.1. Let A , B A,B A , B be positive integers, put N = A + B N=A+B N = A + B , and let 1 ≤ k ≤ N 1\le k\le N 1 ≤ k ≤ N . Then every negative real zero of
R A , B , k ( t ) = e k ( 1 , … , 1 ⏟ A , t , … , t ⏟ B ) R_{A,B,k}(t)=e_k(\underbrace{1,\ldots,1}_{A},\underbrace{t,\ldots,t}_{B}) R A , B , k ( t ) = e k ( A 1 , … , 1 , B t , … , t ) is simple.
Proof. If k = N k=N k = N , then R A , B , k ( t ) = t B R_{A,B,k}(t)=t^{B} R A , B , k ( t ) = t B , so there are no negative real zeros. Assume henceforth that 1 ≤ k < N 1\le k<N 1 ≤ k < N , and put d = N − k d=N-k d = N − k and H ( x ) = x A ( x − 1 ) B H(x)=x^{A}(x-1)^{B} H ( x ) = x A ( x − 1 ) B . The Leibniz formula and the homogeneity of e k e_k e k give, for x ≠ 0 x\ne0 x = 0 ,
H ( d ) ( x ) = d ! e k ( x , … , x ⏟ A , x − 1 , … , x − 1 ⏟ B ) = d ! x k R A , B , k ( 1 − 1 x ) . (9) H^{(d)}(x)=d!e_k(\underbrace{x,\ldots,x}_{A},\underbrace{x-1,\ldots,x-1}_{B})=d!x^{k}R_{A,B,k}\left(1-\frac{1}{x}\right). \tag*{(9)} H ( d ) ( x ) = d ! e k ( A x , … , x , B x − 1 , … , x − 1 ) = d ! x k R A , B , k ( 1 − x 1 ) . (9)
We first show by induction that every H ( j ) H^{(j)} H ( j ) , for 0 ≤ j ≤ N − 1 0\le j\le N-1 0 ≤ j ≤ N − 1 , has all its zeros in [ 0 , 1 ] [0,1] [ 0 , 1 ] , with every zero in ( 0 , 1 ) (0,1) ( 0 , 1 ) simple. The assertion holds for H H H , whose only zeros are 0 and 1. Suppose it holds for P = H ( j ) P=H^{(j)} P = H ( j ) , where j ≤ N − 2 j\le N-2 j ≤ N − 2 , and put n = deg P = N − j ≥ 2 n=\deg P=N-j\ge2 n = deg P = N − j ≥ 2 . Let z 1 < ⋯ < z ℓ z_{1}<\cdots<z_{\ell} z 1 < ⋯ < z ℓ be the distinct zeros of P P P , with multiplicities r 1 , … , r ℓ r_{1},\ldots,r_{\ell} r 1 , … , r ℓ . Each z i z_i z i lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and ∑ i r i = n \sum_i r_i=n ∑ i r i = n . If r i ≥ 2 r_i\ge2 r i ≥ 2 , then z i z_i z i is a zero of P ′ P' P ′ of multiplicity exactly r i − 1 r_i-1 r i − 1 . Rolle’s theorem also gives a zero of P ′ P' P ′ in each interval ( z i , z i + 1 ) (z_i,z_{i+1}) ( z i , z i + 1 ) . These gap zeros are distinct from the retained zeros, so they account for at least ∑ i ( r i − 1 ) + ( ℓ − 1 ) = n − 1 \sum_i(r_i-1)+(\ell-1)=n-1 ∑ i ( r i − 1 ) + ( ℓ − 1 ) = n − 1 zeros of P ′ P' P ′ , counted with multiplicity. Since deg P ′ = n − 1 \deg P'=n-1 deg P ′ = n − 1 , they account for all its zeros. Thus each gap contains exactly one zero, which is simple. Moreover, retained zeros can occur only at the endpoints, since every interior zero of P P P is simple by the induction hypothesis. Hence all zeros of P ′ P' P ′ lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and every interior zero is simple. This completes the induction.
Let t 0 < 0 t_0 < 0 t 0 < 0 be a zero of R A , B , k R_{A,B,k} R A , B , k , and set x 0 = 1 / ( 1 − t 0 ) x_0 = 1/(1-t_0) x 0 = 1/ ( 1 − t 0 ) . Then x 0 ∈ ( 0 , 1 ) x_0 \in(0,1) x 0 ∈ ( 0 , 1 ) and t 0 = 1 − 1 / x 0 t_0 = 1-1/x_0 t 0 = 1 − 1/ x 0 , so (9) gives H ( d ) ( x 0 ) = 0 H^{(d)}(x_0)=0 H ( d ) ( x 0 ) = 0 . Since 1 ≤ d ≤ N − 1 1 \le d \le N-1 1 ≤ d ≤ N − 1 , this zero is simple, and therefore H ( d + 1 ) ( x 0 ) ≠ 0 H^{(d+1)}(x_0) \ne0 H ( d + 1 ) ( x 0 ) = 0 . Differentiating (9) and using R A , B , k ( t 0 ) = 0 R_{A,B,k}(t_0)=0 R A , B , k ( t 0 ) = 0 yields
H ( d + 1 ) ( x 0 ) = d ! x 0 k − 2 R A , B , k ′ ( t 0 ) . H^{(d+1)}(x_0)=d!x_0^{k-2}R'_{A,B,k}(t_0). H ( d + 1 ) ( x 0 ) = d ! x 0 k − 2 R A , B , k ′ ( t 0 ) .
As x 0 > 0 x_0>0 x 0 > 0 , the prefactor is nonzero. Thus R A , B , k ′ ( t 0 ) ≠ 0 R'_{A,B,k}(t_0)\ne0 R A , B , k ′ ( t 0 ) = 0 , proving the assertion.
With the simplicity of the negative roots established, we now turn to the grouped polynomials E k E_k E k . A linear divisor with positive coefficients would first force those coefficients to be proportional to the group multiplicities. A variation of two group variables within its zero hyperplane then rules out such a divisor when r ≥ 3 r\ge3 r ≥ 3 .
Theorem 4.2. Let r ≥ 3 r\ge3 r ≥ 3 , let m 1 , … , m r m_1,\ldots,m_r m 1 , … , m r be positive integers with ∑ i = 1 r m i = m \sum_{i=1}^{r}m_i=m ∑ i = 1 r m i = m , and let 2 ≤ k ≤ m 2\le k\le m 2 ≤ k ≤ m . Then E k E_k E k has no linear divisor L ( z ) = ∑ i = 1 r α i z i L(z)=\sum_{i=1}^{r}\alpha_i z_i L ( z ) = ∑ i = 1 r α i z i with α i > 0 \alpha_i>0 α i > 0 for every i ∈ [ r ] i\in[r] i ∈ [ r ] .
Proof. Suppose, to the contrary, that E k = L Q E_k=LQ E k = L Q for some Q ∈ R [ z 1 , … , z r ] Q\in\mathbb{R}[z_1,\ldots,z_r] Q ∈ R [ z 1 , … , z r ] . If k = m k=m k = m , then E m ( z ) = ∏ i = 1 r z i m i E_m(z)=\prod_{i=1}^{r}z_i^{m_i} E m ( z ) = ∏ i = 1 r z i m i . At the point defined by z i = 1 z_i=1 z i = 1 for i ≠ r i\ne r i = r and z r = − ∑ i ≠ r α i / α r z_r=-\sum_{i\ne r}\alpha_i/\alpha_r z r = − ∑ i = r α i / α r , all coordinates are nonzero and L ( z ) = 0 L(z)=0 L ( z ) = 0 , whereas E m ( z ) ≠ 0 E_m(z)\ne0 E m ( z ) = 0 . This contradicts divisibility. Hence 2 ≤ k < m 2\le k<m 2 ≤ k < m .
To distinguish derivatives in the group variables from those in the individual variables of e k e_k e k , partition [ m ] [m] [ m ] into sets I 1 , … , I r I_1,\ldots,I_r I 1 , … , I r with ∣ I i ∣ = m i |I_i|=m_i ∣ I i ∣ = m i . Writing y = ( y 1 , … , y m ) y=(y_1,\ldots,y_m) y = ( y 1 , … , y m ) , we obtain E k ( z ) E_k(z) E k ( z ) from e k ( y ) e_k(y) e k ( y ) by setting y s = z i y_s=z_i y s = z i whenever s ∈ I i s\in I_i s ∈ I i . Thus differentiation with respect to z i z_i z i sums the partial derivatives with respect to the m i m_i m i variables indexed by I i I_i I i .
Fix j ∈ [ r ] j\in[r] j ∈ [ r ] , and put A = m − m j A=m-m_j A = m − m j and B = m j B=m_j B = m j . Consider the point z ∗ z^* z ∗ given by z i ∗ = 1 z_i^*=1 z i ∗ = 1 for i ≠ j i\ne j i = j and
z j ∗ = v = − ∑ i ≠ j α i α j < 0. z_j^*=v=-\frac{\sum_{i\ne j}\alpha_i}{\alpha_j}<0. z j ∗ = v = − α j ∑ i = j α i < 0. Since L ( z ∗ ) = 0 L(z^*)=0 L ( z ∗ ) = 0 , divisibility gives R A , B , k ( v ) = E k ( z ∗ ) = 0 R_{A,B,k}(v)=E_k(z^*)=0 R A , B , k ( v ) = E k ( z ∗ ) = 0 . By Lemma 4.1, R A , B , k ′ ( v ) ≠ 0 R'_{A,B,k}(v)\ne0 R A , B , k ′ ( v ) = 0 . Differentiating E k = L Q E_k=LQ E k = L Q at z ∗ z^* z ∗ yields
∂ i E k ( z ∗ ) = α i Q ( z ∗ ) ( i ∈ [ r ] ) . \partial_i E_k(z^*)=\alpha_i Q(z^*) \qquad(i\in[r]). ∂ i E k ( z ∗ ) = α i Q ( z ∗ ) ( i ∈ [ r ]) . In particular, α j Q ( z ∗ ) = ∂ j E k ( z ∗ ) = R A , B , k ′ ( v ) ≠ 0 \alpha_jQ(z^*)=\partial_jE_k(z^*)=R'_{A,B,k}(v)\ne0 α j Q ( z ∗ ) = ∂ j E k ( z ∗ ) = R A , B , k ′ ( v ) = 0 , so Q ( z ∗ ) ≠ 0 Q(z^*)\ne0 Q ( z ∗ ) = 0 .
All individual variables outside I j I_j I j have value 1 1 1 at this point. By symmetry of e k e_k e k , its partial derivatives with respect to these variables have a common value, say ρ \rho ρ . The chain rule therefore gives ∂ i E k ( z ∗ ) = m i ρ \partial_iE_k(z^*)=m_i\rho ∂ i E k ( z ∗ ) = m i ρ for every i ≠ j i\ne j i = j . Consequently, α i / m i = ρ / Q ( z ∗ ) \alpha_i/m_i=\rho/Q(z^*) α i / m i = ρ / Q ( z ∗ ) is independent of i ≠ j i\ne j i = j . Given any two distinct indices a , b ∈ [ r ] a,b\in[r] a , b ∈ [ r ] , the assumption r ≥ 3 r\ge3 r ≥ 3 allows a choice of j ∉ { a , b } j\notin\{a,b\} j ∈ / { a , b } . Hence α a / m a = α b / m b \alpha_a/m_a=\alpha_b/m_b α a / m a = α b / m b , and all coefficients of L L L are proportional to the corresponding multiplicities. Absorbing the common positive factor into Q Q Q , we may therefore assume that L ( z ) = ∑ i = 1 r m i z i L(z)=\sum_{i=1}^{r}m_i z_i L ( z ) = ∑ i = 1 r m i z i .
It remains to exclude this divisor. Fix j ∈ [ r ] j\in[r] j ∈ [ r ] again, and put A = m − m j A=m-m_j A = m − m j , B = m j B=m_j B = m j , u = 1 u=1 u = 1 , and v = − A / B v=-A/B v = − A / B . At the point z ∗ z^* z ∗ with z i ∗ = u z_i^*=u z i ∗ = u for i ≠ j i\ne j i = j and z j ∗ = v z_j^*=v z j ∗ = v , we have L ( z ∗ ) = A u + B v = 0 L(z^*)=Au+Bv=0 L ( z ∗ ) = A u + B v = 0 . Define
R = e k − 1 ( u [ A − 1 ] , v [ B ] ) , S = e k − 1 ( u [ A ] , v [ B − 1 ] ) . R=e_{k-1}(u^{[A-1]},v^{[B]}), \qquad S=e_{k-1}(u^{[A]},v^{[B-1]}). R = e k − 1 ( u [ A − 1 ] , v [ B ] ) , S = e k − 1 ( u [ A ] , v [ B − 1 ] ) . Here and below, these expressions denote values at the fixed pair ( u , v ) = ( 1 , − A / B ) (u,v)=(1,-A/B) ( u , v ) = ( 1 , − A / B ) . For i ≠ j i\ne j i = j , the chain rule gives ∂ i E k ( z ∗ ) = m i R \partial_iE_k(z^*)=m_iR ∂ i E k ( z ∗ ) = m i R , whereas ∂ j E k ( z ∗ ) = B S \partial_jE_k(z^*)=BS ∂ j E k ( z ∗ ) = B S . On the other hand, differentiating E k = L Q E_k=LQ E k = L Q at z ∗ z^* z ∗ gives ∂ i E k ( z ∗ ) = m i Q ( z ∗ ) \partial_iE_k(z^*)=m_iQ(z^*) ∂ i E k ( z ∗ ) = m i Q ( z ∗ ) for every i i i . Thus R = S = Q ( z ∗ ) R=S=Q(z^*) R = S = Q ( z ∗ ) .
Moreover, R A , B , k ( v ) = E k ( z ∗ ) = 0 R_{A,B,k}(v)=E_k(z^*)=0 R A , B , k ( v ) = E k ( z ∗ ) = 0 , and Lemma 4.1 gives B S = R A , B , k ′ ( v ) ≠ 0 BS=R'_{A,B,k}(v)\ne0 B S = R A , B , k ′ ( v ) = 0 . Therefore R = S ≠ 0 R=S\ne0 R = S = 0 .
Since A = ∑ i ≠ j m i ≥ r − 1 ≥ 2 A=\sum_{i\ne j}m_i\ge r-1\ge2 A = ∑ i = j m i ≥ r − 1 ≥ 2 , the quantities
D = e k − 2 ( u [ A − 2 ] , v [ B ] ) , E = e k − 2 ( u [ A − 1 ] , v [ B − 1 ] ) D=e_{k-2}(u^{[A-2]},v^{[B]}),\qquad E=e_{k-2}(u^{[A-1]},v^{[B-1]}) D = e k − 2 ( u [ A − 2 ] , v [ B ] ) , E = e k − 2 ( u [ A − 1 ] , v [ B − 1 ] )
are well defined. Expanding R R R and S S S by their respective final entries gives
R = e k − 1 ( u [ A − 1 ] , v [ B − 1 ] ) + v E , R=e_{k-1}(u^{[A-1]},v^{[B-1]})+vE, R = e k − 1 ( u [ A − 1 ] , v [ B − 1 ] ) + v E ,
S = e k − 1 ( u [ A − 1 ] , v [ B − 1 ] ) + u E . S=e_{k-1}(u^{[A-1]},v^{[B-1]})+uE. S = e k − 1 ( u [ A − 1 ] , v [ B − 1 ] ) + u E .
Hence 0 = R − S = ( v − u ) E 0=R-S=(v-u)E 0 = R − S = ( v − u ) E . Since v ≠ u v\ne u v = u , it follows that E = 0 E=0 E = 0 . If k = 2 k=2 k = 2 , this contradicts E = e 0 = 1 E=e_0=1 E = e 0 = 1 . We may therefore assume that k ≥ 3 k\ge3 k ≥ 3 .
Consider the homogeneous polynomial J ( s , t ) = e k − 1 ( s [ A − 1 ] , t [ B ] ) J(s,t)=e_{k-1}(s^{[A-1]},t^{[B]}) J ( s , t ) = e k − 1 ( s [ A − 1 ] , t [ B ] ) , of degree k − 1 k-1 k − 1 . At ( u , v ) (u,v) ( u , v ) , its partial derivatives are ∂ s J ( u , v ) = ( A − 1 ) D \partial_sJ(u,v)=(A-1)D ∂ s J ( u , v ) = ( A − 1 ) D and ∂ t J ( u , v ) = B E \partial_tJ(u,v)=BE ∂ t J ( u , v ) = B E . Euler’s identity therefore gives
u ( A − 1 ) D + v B E = ( k − 1 ) R . u(A-1)D+vBE=(k-1)R. u ( A − 1 ) D + v B E = ( k − 1 ) R .
Since E = 0 E=0 E = 0 , u = 1 u=1 u = 1 , A ≥ 2 A\ge2 A ≥ 2 , and R ≠ 0 R\ne0 R = 0 , we conclude that D ≠ 0 D\ne0 D = 0 .
Choose distinct indices a , b ∈ [ r ] ∖ { j } a,b\in[r]\setminus\{j\} a , b ∈ [ r ] ∖ { j } . Starting from z ∗ z^* z ∗ , vary the group variables along z a ( ε ) = u + ε / m a z_a(\varepsilon)=u+\varepsilon/m_a z a ( ε ) = u + ε / m a and z b ( ε ) = u − ε / m b z_b(\varepsilon)=u-\varepsilon/m_b z b ( ε ) = u − ε / m b , leaving all other variables fixed. Then L ( z ( ε ) ) = L ( z ∗ ) + ε − ε = 0 L(z(\varepsilon))=L(z^*)+\varepsilon-\varepsilon=0 L ( z ( ε )) = L ( z ∗ ) + ε − ε = 0 for every ε ∈ R \varepsilon\in\mathbb{R} ε ∈ R . Divisibility implies that E k ( z ( ε ) ) E_k(z(\varepsilon)) E k ( z ( ε )) is identically zero.
Let y s ( ε ) = z i ( ε ) y_s(\varepsilon)=z_i(\varepsilon) y s ( ε ) = z i ( ε ) for s ∈ I i s\in I_i s ∈ I i , and write h s = y s ′ ( 0 ) h_s=y_s'(0) h s = y s ′ ( 0 ) . These paths are affine, and h s = 1 / m a h_s=1/m_a h s = 1/ m a on I a I_a I a , h s = − 1 / m b h_s=-1/m_b h s = − 1/ m b on I b I_b I b , and h s = 0 h_s=0 h s = 0 elsewhere. In particular, ∑ s = 1 m h s = 0 \sum_{s=1}^{m}h_s=0 ∑ s = 1 m h s = 0 and ∑ s = 1 m h s 2 = 1 / m a + 1 / m b \sum_{s=1}^{m}h_s^2=1/m_a+1/m_b ∑ s = 1 m h s 2 = 1/ m a + 1/ m b . The polynomial e k e_k e k is affine in each individual variable, so its diagonal second partial derivatives vanish. For distinct indices s , t s,t s , t with h s h t ≠ 0 h_sh_t\ne0 h s h t = 0 , both corresponding variables have value u u u at ε = 0 \varepsilon=0 ε = 0 . Removing these two variables therefore gives ∂ y s ∂ y t e k ( y ( 0 ) ) = D \partial_{y_s}\partial_{y_t}e_k(y(0))=D ∂ y s ∂ y t e k ( y ( 0 )) = D . Since all second derivatives of the paths vanish, the chain rule yields
d 2 d ε 2 E k ( z ( ε ) ) ∣ ε = 0 = D ∑ s , t ∈ [ m ] s ≠ t h s h t = D [ ( ∑ s = 1 m h s ) 2 − ∑ s = 1 m h s 2 ] = − D ( 1 m a + 1 m b ) ≠ 0. \begin{aligned}
\left.\frac{d^2}{d\varepsilon^2}E_k(z(\varepsilon))\right|_{\varepsilon=0}
=D\sum_{\substack{s,t\in[m]\\s\ne t}}h_sh_t \\
&=D\left[\left(\sum_{s=1}^{m}h_s\right)^2-\sum_{s=1}^{m}h_s^2\right] \\
&=-D\left(\frac{1}{m_a}+\frac{1}{m_b}\right)\ne0.
\end{aligned} d ε 2 d 2 E k ( z ( ε )) ε = 0 = D s , t ∈ [ m ] s = t ∑ h s h t = D ( s = 1 ∑ m h s ) 2 − s = 1 ∑ m h s 2 = − D ( m a 1 + m b 1 ) = 0.
This contradicts the identity E k ( z ( ε ) ) = 0 E_k(z(\varepsilon))=0 E k ( z ( ε )) = 0 for every ε \varepsilon ε , and completes the proof.
Remark 4.3. Both restrictions r ≥ 3 r\ge3 r ≥ 3 and k ≥ 2 k\ge2 k ≥ 2 are necessary. For k = 1 k=1 k = 1 , the polynomial E 1 ( z ) = ∑ i = 1 r m i z i E_1(z)=\sum_{i=1}^{r}m_iz_i E 1 ( z ) = ∑ i = 1 r m i z i is itself a linear form with positive coefficients. For two groups with m 1 = m 2 = 2 m_1=m_2=2 m 1 = m 2 = 2 , one has E 3 ( z 1 , z 2 ) = 2 z 1 z 2 ( z 1 + z 2 ) E_3(z_1,z_2)=2z_1z_2(z_1+z_2) E 3 ( z 1 , z 2 ) = 2 z 1 z 2 ( z 1 + z 2 ) , which has the positive-coefficient linear divisor z 1 + z 2 z_1+z_2 z 1 + z 2 .
Combining Theorem 4.2 with the divisibility criterion in Theorem 2.4 gives a complete description of the bad indices for r ≥ 3 r\ge3 r ≥ 3 . No index k ≥ 2 k\ge2 k ≥ 2 is bad, as asserted in [7 Conjecture 5.20] , while the first index is bad precisely for balanced profiles.
Corollary 4.4. Let ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) be an admissible profile with r ≥ 3 r\ge3 r ≥ 3 . Then
K = { { 1 } , α = m / m , ∅ , α ≠ m / m . \mathcal{K}=
\begin{cases}
\{1\}, & \boldsymbol{\alpha}=\mathbf{m}/m,\\
\varnothing, & \boldsymbol{\alpha}\ne\mathbf{m}/m.
\end{cases} K = { { 1 } , ∅ , α = m / m , α = m / m .
Proof. If ∑ i = 1 r α i < 1 \sum_{i=1}^{r}\alpha_i < 1 ∑ i = 1 r α i < 1 , then K = ∅ \mathcal{K}=\varnothing K = ∅ by definition. In this case, α ≠ m / m \boldsymbol{\alpha} \ne\mathbf{m}/m α = m / m , since the entries of m / m \mathbf{m}/m m / m sum to 1.
Suppose that ∑ i = 1 r α i = 1 \sum_{i=1}^{r}\alpha_i=1 ∑ i = 1 r α i = 1 . The divisibility criterion in Theorem 2.4 , together with Theorem 4.2 , gives K ⊆ { 1 } \mathcal{K}\subseteq\{1\} K ⊆ { 1 } . Moreover, 1 ∈ K 1\in\mathcal{K} 1 ∈ K if and only if L α L_{\boldsymbol{\alpha}} L α divides E 1 ( z ) = ∑ i = 1 r m i z i E_1(z)=\sum_{i=1}^{r}m_i z_i E 1 ( z ) = ∑ i = 1 r m i z i . Since both polynomials are nonzero and linear, this is equivalent to E 1 = c L α E_1=cL_{\boldsymbol{\alpha}} E 1 = c L α for some constant c > 0 c>0 c > 0 , or m i = c α i m_i=c\alpha_i m i = c α i for every i i i . Summing these identities gives c = m c=m c = m . Conversely, if α = m / m \boldsymbol{\alpha}=\mathbf{m}/m α = m / m , then E 1 = m L α E_1=mL_{\boldsymbol{\alpha}} E 1 = m L α . Hence 1 ∈ K 1\in\mathcal{K} 1 ∈ K precisely when α = m / m \boldsymbol{\alpha}=\mathbf{m}/m α = m / m , proving the assertion. □
To complete Theorem 1.2 , we combine Corollary 4.4 with additive rigidity and the following single-edge criterion of Janson.
Lemma 4.5 (Janson [7 Example 6.10] ). Let F F F be a simple graph with e ( F ) = 1 e(F)=1 e ( F ) = 1 , let ( m , α ) (\mathbf{m},\boldsymbol{\alpha}) ( m , α ) be an admissible profile, and let 0 < p < 1 0<p<1 0 < p < 1 . Then P ~ m p ( F ; α ) \widetilde{\mathcal{P}}^{p}_{\mathbf{m}}(F;\boldsymbol{\alpha}) P m p ( F ; α ) is a p p p -quasirandom property if and only if K ∩ { 1 , 2 } = ∅ \mathcal{K}\cap\{1,2\}=\varnothing K ∩ { 1 , 2 } = ∅ .
Proof of Theorem 1.2. By Theorem 2.4 and Corollary 4.4, M m , α ⊆ H m , 1 \mathcal{M}_{\mathbf{m},\boldsymbol{\alpha}}\subseteq\mathcal{H}_{\mathbf{m},1} M m , α ⊆ H m , 1 . If e ( F ) > 1 e(F)>1 e ( F ) > 1 , Corollary 3.8 therefore shows that P ~ m p ( F ; α ) \widetilde{\mathcal{P}}^{p}_{\mathbf{m}}(F;\boldsymbol{\alpha}) P m p ( F ; α ) is a p p p -quasirandom property.
If e ( F ) = 1 e(F)=1 e ( F ) = 1 , Lemma 4.5 shows that the property is p p p -quasirandom if and only if K ∩ { 1 , 2 } = ∅ \mathcal{K}\cap\{1,2\}=\varnothing K ∩ { 1 , 2 } = ∅ . By Corollary 4.4, this is equivalent to α ≠ m / m \boldsymbol{\alpha}\ne\mathbf{m}/m α = m / m . The two cases give the asserted classification. □
The exceptional balanced single-edge profiles admit an explicit two-type witness. Fix 0 < p < 1 0<p<1 0 < p < 1 , let σ = 1 [ 0 , 1 / 2 ) − 1 [ 1 / 2 , 1 ] \sigma=\mathbf{1}_{[0,1/2)}-\mathbf{1}_{[1/2,1]} σ = 1 [ 0 , 1/2 ) − 1 [ 1/2 , 1 ] , choose 0 < ε < 1 2 min { p , 1 − p } 0<\varepsilon<\frac{1}{2}\min\{p,1-p\} 0 < ε < 2 1 min { p , 1 − p } , and set
W ( x , y ) = p + ε ( σ ( x ) + σ ( y ) ) . W(x,y)=p+\varepsilon\bigl(\sigma(x)+\sigma(y)\bigr). W ( x , y ) = p + ε ( σ ( x ) + σ ( y ) ) .
Then W W W is a nonconstant graphon. If e ( F ) = 1 e(F)=1 e ( F ) = 1 , averaging the positions of its two endpoints gives
Ψ ~ F , W − p = 2 ε m ∑ i = 1 m σ ( x i ) . \widetilde{\Psi}_{F,W}-p=\frac{2\varepsilon}{m}\sum_{i=1}^{m}\sigma(x_i). Ψ F , W − p = m 2 ε i = 1 ∑ m σ ( x i ) .
Consequently, for every admissible family A 1 , … , A r A_1,\ldots,A_r A 1 , … , A r ,
∫ A 1 m 1 × ⋯ × A r m r ( Ψ ~ F , W − p ) = 2 ε m ( ∏ j = 1 r α j m j ) ∑ j = 1 r m j α j ∫ A j σ . \int_{A_1^{m_1}\times\cdots\times A_r^{m_r}}
\bigl(\widetilde{\Psi}_{F,W}-p\bigr)
=
\frac{2\varepsilon}{m}
\left(\prod_{j=1}^{r}\alpha_j^{m_j}\right)
\sum_{j=1}^{r}\frac{m_j}{\alpha_j}\int_{A_j}\sigma. ∫ A 1 m 1 × ⋯ × A r m r ( Ψ F , W − p ) = m 2 ε ( j = 1 ∏ r α j m j ) j = 1 ∑ r α j m j ∫ A j σ .
If α j = m j / m \alpha_j=m_j/m α j = m j / m for every j j j , the sets form a partition up to null sets, and the final sum equals m ∫ 0 1 σ = 0 m\int_0^1\sigma=0 m ∫ 0 1 σ = 0 . Lemma 2.2 therefore gives a graph sequence satisfying the balanced symmetrized condition that is not p p p -quasirandom.
Labelled transversal counts
We now prove Theorem 1.4 . The case ∑ i α i < 1 \sum_i\alpha_i<1 ∑ i α i < 1 is already covered by [6 Theorem 2.11(ii)] . For complementary proportions, the calculation following Lemma 2.5 reduces the symmetrized discrepancy to an additive function, so Corollary 3.7 applies when e ( F ) > 1 e(F)>1 e ( F ) > 1 . For graphs with exactly one edge, we use the following classical edge-count classification; see [6 Example 2.10 and Theorem 2.11] .
Lemma 5.1 (Edge-count classification). Let 0 < p < 1 0<p<1 0 < p < 1 , and let β 1 , β 2 > 0 \beta_1,\beta_2>0 β 1 , β 2 > 0 satisfy β 1 + β 2 ≤ 1 \beta_1+\beta_2\le1 β 1 + β 2 ≤ 1 . Then P p ( K 2 ; β 1 , β 2 ) \mathcal{P}^{p}(K_2;\beta_1,\beta_2) P p ( K 2 ; β 1 , β 2 ) is a p p p -quasirandom property if and only if ( β 1 , β 2 ) ≠ ( 1 / 2 , 1 / 2 ) (\beta_1,\beta_2)\ne(1/2,1/2) ( β 1 , β 2 ) = ( 1/2 , 1/2 ) .
Proof of Theorem 1.4. Every p p p -quasirandom graph sequence satisfies the labelled counting condition by Lemma 2.1 . If ∑ i = 1 m α i < 1 \sum_{i=1}^{m}\alpha_i<1 ∑ i = 1 m α i < 1 , the conclusion follows from [6 Theorem 2.11(ii)] . If F = K 2 F=K_2 F = K 2 , the asserted classification is Lemma 5.1. Hence assume that ∑ i = 1 m α i = 1 \sum_{i=1}^{m}\alpha_i=1 ∑ i = 1 m α i = 1 and F ≠ K 2 F\ne K_2 F = K 2 , so m ≥ 3 m\ge3 m ≥ 3 .
By Lemma 2.2 , it suffices to show that every graphon W W W satisfying
∫ A 1 × ⋯ × A m Ψ F , W = p e ( F ) ∏ i = 1 m α i (10) \int_{A_1\times\cdots\times A_m}\Psi_{F,W}=p^{e(F)}\prod_{i=1}^{m}\alpha_i \tag*{(10)} ∫ A 1 × ⋯ × A m Ψ F , W = p e ( F ) i = 1 ∏ m α i (10)
for all pairwise disjoint measurable sets A 1 , … , A m A_1,\ldots,A_m A 1 , … , A m with λ ( A i ) = α i \lambda(A_i)=\alpha_i λ ( A i ) = α i is equal to p p p almost everywhere.
First suppose that e ( F ) > 1 e(F)>1 e ( F ) > 1 , and put f = Ψ F , W − p e ( F ) f=\Psi_{F,W}-p^{e(F)} f = Ψ F , W − p e ( F ) . Then f ∈ L 2 ( [ 0 , 1 ] m ; R ) f\in L^2([0,1]^m;\mathbb{R}) f ∈ L 2 ([ 0 , 1 ] m ; R ) , and (5.1) gives ∫ A 1 × ⋯ × A m f = 0 \int_{A_1\times\cdots\times A_m}f=0 ∫ A 1 × ⋯ × A m f = 0 for every admissible tuple.
By Lemma 2.5 and the symmetrization calculation following it, there is a function h 0 ∈ L 2 ( [ 0 , 1 ] ; R ) h_0\in L^2([0,1];\mathbb{R}) h 0 ∈ L 2 ([ 0 , 1 ] ; R ) with ∫ 0 1 h 0 = 0 \int_0^1h_0=0 ∫ 0 1 h 0 = 0 such that
Ψ ~ F , W ( x 1 , … , x m ) = p e ( F ) + ∑ j = 1 m h 0 ( x j ) \widetilde{\Psi}_{F,W}(x_1,\ldots,x_m)=p^{e(F)}+\sum_{j=1}^{m}h_0(x_j) Ψ F , W ( x 1 , … , x m ) = p e ( F ) + j = 1 ∑ m h 0 ( x j )
almost everywhere.
Set h = h 0 + p e ( F ) / m h=h_0+p^{e(F)}/m h = h 0 + p e ( F ) / m . Then h ∈ L 2 ( [ 0 , 1 ] ) ⊆ L 1 ( [ 0 , 1 ] ) h\in L^2([0,1])\subseteq L^1([0,1]) h ∈ L 2 ([ 0 , 1 ]) ⊆ L 1 ([ 0 , 1 ]) , ∫ 0 1 h = p e ( F ) / m > 0 \int_0^1h=p^{e(F)}/m>0 ∫ 0 1 h = p e ( F ) / m > 0 , and Ψ ~ F , W = ∑ j = 1 m h ( x j ) \widetilde{\Psi}_{F,W}=\sum_{j=1}^{m}h(x_j) Ψ F , W = ∑ j = 1 m h ( x j ) almost everywhere. Corollary 3.7 yields W = ( m ∫ 0 1 h ) 1 / e ( F ) = p W=(m\int_0^1h)^{1/e(F)}=p W = ( m ∫ 0 1 h ) 1/ e ( F ) = p almost everywhere.
It remains to consider e ( F ) = 1 e(F)=1 e ( F ) = 1 . Let a b ab ab be the unique edge of F F F , so Ψ F , W ( x ) = W ( x a , x b ) \Psi_{F,W}(x)=W(x_a,x_b) Ψ F , W ( x ) = W ( x a , x b ) . Take arbitrary disjoint measurable sets A a , A b A_a,A_b A a , A b with measures α a , α b \alpha_a,\alpha_b α a , α b . Their complement has measure 1 − α a − α b = ∑ i ∉ { a , b } α i 1-\alpha_a-\alpha_b=\sum_{i\notin\{a,b\}}\alpha_i 1 − α a − α b = ∑ i ∈ / { a , b } α i . By nonatomicity of Lebesgue measure, they extend to a full pairwise disjoint tuple A 1 , … , A m A_1,\ldots,A_m A 1 , … , A m of the prescribed measures. Fubini’s theorem and (5.1) give
( ∏ i ∉ { a , b } α i ) ∫ A a × A b W ( x , y ) d x d y = p ∏ i = 1 m α i . \left(\prod_{i\notin\{a,b\}}\alpha_i\right)\int_{A_a\times A_b}W(x,y)\,dx\,dy=p\prod_{i=1}^{m}\alpha_i. i ∈ / { a , b } ∏ α i ∫ A a × A b W ( x , y ) d x d y = p i = 1 ∏ m α i .
Dividing by the positive product yields ∫ A a × A b ( W − p ) = 0 \int_{A_a\times A_b}(W-p)=0 ∫ A a × A b ( W − p ) = 0 for every such pair. Since m ≥ 3 m\ge3 m ≥ 3 and all remaining proportions are positive, α a + α b < 1 \alpha_a+\alpha_b<1 α a + α b < 1 . Thus the labelled test for F F F implies an edge test with proportions whose sum is strictly less than one. Applying the two-variable case of Lemma 2.5 to W − p W-p W − p gives W = p W=p W = p almost everywhere.
Lemma 2.2 now completes the proof. □
For F = K 2 F=K_2 F = K 2 , the single-edge construction at the end of Section 4, with m = r = 2 m=r=2 m = r = 2 , gives a two-type witness for the exceptional profile ( 1 / 2 , 1 / 2 ) (1/2,1/2) ( 1/2 , 1/2 ) , since labelled and symmetrized edge counts coincide. Thus the classification answers [6 Problems 2.15 and 2.17] affirmatively.
The distinction between labelled and symmetrized counts is already visible for one edge and an isolated vertex: every labelled transversal profile is forcing, whereas the balanced symmetrized profile is not. We next consider two repeated classes, where a higher Walsh component can survive the restricted averages.
Two-class obstructions and counterexamples
For the profile ( m , α ) = ( ( 2 , 1 ) , ( 1 / 3 , 2 / 3 ) ) (\mathbf{m},\boldsymbol{\alpha})=((2,1),(1/3,2/3)) ( m , α ) = (( 2 , 1 ) , ( 1/3 , 2/3 )) , the grouped polynomial E 2 ( z 1 , z 2 ) = z 1 ( z 1 + 2 z 2 ) = 3 z 1 L α ( z ) E_2(z_1,z_2)=z_1(z_1+2z_2)=3z_1L_\alpha(z) E 2 ( z 1 , z 2 ) = z 1 ( z 1 + 2 z 2 ) = 3 z 1 L α ( z ) has the prescribed linear divisor. Hence 2 ∈ K 2\in\mathcal{K} 2 ∈ K , and the restricted averages annihilate H 3 , 2 \mathcal{H}_{3,2} H 3 , 2 . In this section, we prove Proposition 1.7 by constructing nonconstant graphons for every p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) , and then give a finite graph construction at p = 4 − 1 / 3 p=4^{-1/3} p = 4 − 1/3 .
For F = K 3 F=K_3 F = K 3 , labelled and symmetrized counts coincide. Let G G G have N N N vertices, and let U , V ⊆ V ( G ) U,V\subseteq V(G) U , V ⊆ V ( G ) be disjoint with ∣ U ∣ = ⌊ N / 3 ⌋ |U|=\lfloor N/3\rfloor ∣ U ∣ = ⌊ N /3 ⌋ and ∣ V ∣ = ⌊ 2 N / 3 ⌋ |V|=\lfloor2N/3\rfloor ∣ V ∣ = ⌊ 2 N /3 ⌋ . Then V ⊆ U c V\subseteq U^c V ⊆ U c and ∣ U c ∖ V ∣ ≤ 1 |U^c\setminus V|\leq1 ∣ U c ∖ V ∣ ≤ 1 , so replacing V V V by U c U^c U c changes N ( K 3 , G ; U , U , V ) N(K_3,G;U,U,V) N ( K 3 , G ; U , U , V ) by at most N 2 = o ( N 3 ) N^2=o(N^3) N 2 = o ( N 3 ) . It therefore suffices to establish the graphon identities over A 2 × A c A^2\times A^c A 2 × A c with λ ( A ) = 1 / 3 \lambda(A)=1/3 λ ( A ) = 1/3 .
Counterexamples for every density parameter
Let σ : [ 0 , 1 ] → { − 1 , 1 } \sigma:[0,1]\to\{-1,1\} σ : [ 0 , 1 ] → { − 1 , 1 } be measurable, taking each value on a set of measure 1 / 2 1/2 1/2 , and put Q σ ( x 1 , x 2 , x 3 ) = ∑ 1 ≤ i < j ≤ 3 σ ( x i ) σ ( x j ) Q_\sigma(x_1,x_2,x_3)=\sum_{1\leq i<j\leq3}\sigma(x_i)\sigma(x_j) Q σ ( x 1 , x 2 , x 3 ) = ∑ 1 ≤ i < j ≤ 3 σ ( x i ) σ ( x j ) . Then Q σ ∈ H 3 , 2 Q_\sigma\in\mathcal{H}_{3,2} Q σ ∈ H 3 , 2 and ∫ A 2 × A c Q σ = 0 \int_{A^2\times A^c}Q_\sigma=0 ∫ A 2 × A c Q σ = 0 whenever λ ( A ) = 1 / 3 \lambda(A)=1/3 λ ( A ) = 1/3 . For each p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) , the construction below gives a nonconstant graphon W W W satisfying Ψ K 3 , W − p 3 = c Q σ \Psi_{K_3,W}-p^3=cQ_\sigma Ψ K 3 , W − p 3 = c Q σ for some c ≠ 0 c\neq0 c = 0 and ∫ [ 0 , 1 ] 2 W < p \int_{[0,1]^2}W<p ∫ [ 0 , 1 ] 2 W < p . Approximating W W W in cut distance by finite simple graphs [8 ] and applying Lemma 2.2 then yields the required graph sequence.
Proof of Proposition 1.7. Fix 0 < p < 1 0<p<1 0 < p < 1 . Let B = [ 0 , 1 / 2 ) B=[0,1/2) B = [ 0 , 1/2 ) and σ = 1 B − 1 B c \sigma=1_B-1_{B^c} σ = 1 B − 1 B c , so that ∫ 0 1 σ = 0 \int_0^1\sigma=0 ∫ 0 1 σ = 0 and σ 2 = 1 \sigma^2=1 σ 2 = 1 . Set
b = 1 4 min { p , 1 − p } , a = ( p 3 − b 3 ) 1 / 3 , W ( x , y ) = a + b σ ( x ) σ ( y ) . b=\frac{1}{4}\min\{p,1-p\},\qquad a=(p^3-b^3)^{1/3},\qquad W(x,y)=a+b\sigma(x)\sigma(y). b = 4 1 min { p , 1 − p } , a = ( p 3 − b 3 ) 1/3 , W ( x , y ) = a + bσ ( x ) σ ( y ) .
Since 0 < b ≤ p / 4 0<b\leq p/4 0 < b ≤ p /4 , we have a 3 = p 3 − b 3 ≥ 63 b 3 a^3=p^3-b^3\geq63b^3 a 3 = p 3 − b 3 ≥ 63 b 3 , and hence a > b > 0 a>b>0 a > b > 0 . Moreover, a < p a<p a < p and b ≤ ( 1 − p ) / 4 b\leq(1-p)/4 b ≤ ( 1 − p ) /4 , so 0 < a − b ≤ W ( x , y ) ≤ a + b < p + ( 1 − p ) / 4 < 1 0<a-b\leq W(x,y)\leq a+b<p+(1-p)/4<1 0 < a − b ≤ W ( x , y ) ≤ a + b < p + ( 1 − p ) /4 < 1 . Thus W W W is a graphon. It takes the value a + b a+b a + b on B 2 ∪ ( B c ) 2 B^2\cup(B^c)^2 B 2 ∪ ( B c ) 2 and a − b a-b a − b on ( B × B c ) ∪ ( B c × B ) (B\times B^c)\cup(B^c\times B) ( B × B c ) ∪ ( B c × B ) , so it is nonconstant and has two types. Its edge density is ∫ [ 0 , 1 ] 2 W = a + b ( ∫ 0 1 σ ) 2 = a < p \int_{[0,1]^2}W=a+b(\int_0^1\sigma)^2=a<p ∫ [ 0 , 1 ] 2 W = a + b ( ∫ 0 1 σ ) 2 = a < p .
Define Q σ ( x 1 , x 2 , x 3 ) = ∑ 1 ≤ i < j ≤ 3 σ ( x i ) σ ( x j ) Q_\sigma(x_1,x_2,x_3)=\sum_{1\leq i<j\leq3}\sigma(x_i)\sigma(x_j) Q σ ( x 1 , x 2 , x 3 ) = ∑ 1 ≤ i < j ≤ 3 σ ( x i ) σ ( x j ) . Writing σ i = σ ( x i ) \sigma_i=\sigma(x_i) σ i = σ ( x i ) and using σ i 2 = 1 \sigma_i^2=1 σ i 2 = 1 , we obtain
Ψ K 3 , W ( x 1 , x 2 , x 3 ) = ( a + b σ 1 σ 2 ) ( a + b σ 1 σ 3 ) ( a + b σ 2 σ 3 ) = a 3 + b 3 + ( a 2 b + a b 2 ) Q σ ( x 1 , x 2 , x 3 ) = p 3 + a b ( a + b ) Q σ ( x 1 , x 2 , x 3 ) . \begin{aligned}
\Psi_{K_3,W}(x_1,x_2,x_3)
&=(a+b\sigma_1\sigma_2)(a+b\sigma_1\sigma_3)(a+b\sigma_2\sigma_3)\\
&=a^3+b^3+(a^2b+ab^2)Q_\sigma(x_1,x_2,x_3)\\
&=p^3+ab(a+b)Q_\sigma(x_1,x_2,x_3).
\end{aligned} Ψ K 3 , W ( x 1 , x 2 , x 3 ) = ( a + b σ 1 σ 2 ) ( a + b σ 1 σ 3 ) ( a + b σ 2 σ 3 ) = a 3 + b 3 + ( a 2 b + a b 2 ) Q σ ( x 1 , x 2 , x 3 ) = p 3 + ab ( a + b ) Q σ ( x 1 , x 2 , x 3 ) .
The function g ( x , y ) = σ ( x ) σ ( y ) g(x,y)=\sigma(x)\sigma(y) g ( x , y ) = σ ( x ) σ ( y ) is symmetric and has integral zero in each coordinate, so Q σ ∈ H 3 , 2 Q_\sigma\in\mathcal{H}_{3,2} Q σ ∈ H 3 , 2 . Moreover, Q σ = 3 Q_\sigma=3 Q σ = 3 on B 3 B^3 B 3 , which has positive measure. Since a b ( a + b ) > 0 ab(a+b)>0 ab ( a + b ) > 0 , the discrepancy Ψ K 3 , W − p 3 \Psi_{K_3,W}-p^3 Ψ K 3 , W − p 3 is a nonzero element of H 3 , 2 \mathcal{H}_{3,2} H 3 , 2 .
Let A ⊆ [ 0 , 1 ] A\subseteq[0,1] A ⊆ [ 0 , 1 ] be measurable, and put α = λ ( A ) \alpha=\lambda(A) α = λ ( A ) and z = ∫ A σ z=\int_A\sigma z = ∫ A σ . Then ∫ A c σ = − z \int_{A^c}\sigma=-z ∫ A c σ = − z . Fubini’s theorem gives
∫ A 2 × A c Q σ = ( 1 − α ) z 2 − α z 2 − α z 2 = ( 1 − 3 α ) z 2 . (11) \int_{A^2\times A^c}Q_\sigma=(1-\alpha)z^2-\alpha z^2-\alpha z^2=(1-3\alpha)z^2. \tag*{(11)} ∫ A 2 × A c Q σ = ( 1 − α ) z 2 − α z 2 − α z 2 = ( 1 − 3 α ) z 2 . (11)
This is the special case g ( x , y ) = σ ( x ) σ ( y ) g(x,y)=\sigma(x)\sigma(y) g ( x , y ) = σ ( x ) σ ( y ) of [6 (9.4)] . In particular, if λ ( A ) = 1 / 3 \lambda(A)=1/3 λ ( A ) = 1/3 , then
∫ A 2 × A c Ψ K 3 , W = p 3 λ ( A ) 2 λ ( A c ) . \int_{A^2\times A^c}\Psi_{K_3,W}=p^3\lambda(A)^2\lambda(A^c). ∫ A 2 × A c Ψ K 3 , W = p 3 λ ( A ) 2 λ ( A c ) .
If A , C A,C A , C are disjoint measurable sets of measures 1 / 3 1/3 1/3 and 2 / 3 2/3 2/3 , respectively, then C = A c C=A^c C = A c up to a null set. Hence W W W satisfies all the prescribed integral identities for the profile ( ( 2 , 1 ) , ( 1 / 3 , 2 / 3 ) ) ((2,1),(1/3,2/3)) (( 2 , 1 ) , ( 1/3 , 2/3 )) . Since K 3 K_3 K 3 is complete, its labelled and symmetrized kernels coincide.
By the standard graphon approximation theorem [8 ] , choose finite simple graphs G n G_n G n with v n = v ( G n ) → ∞ v_n=v(G_n)\to\infty v n = v ( G n ) → ∞ and δ □ ( W G n , W ) → 0 \delta_\square(W_{G_n},W)\to0 δ □ ( W G n , W ) → 0 . Lemma 2.2 gives
N ( K 3 , G n ; U , U , V ) = p 3 ∣ U ∣ 2 ∣ V ∣ + o ( v n 3 ) N(K_3,G_n;U,U,V)=p^3|U|^2|V|+o(v_n^3) N ( K 3 , G n ; U , U , V ) = p 3 ∣ U ∣ 2 ∣ V ∣ + o ( v n 3 )
uniformly over all disjoint sets U , V ⊆ V ( G n ) U,V\subseteq V(G_n) U , V ⊆ V ( G n ) with ∣ U ∣ = ⌊ v n / 3 ⌋ |U|=\lfloor v_n/3\rfloor ∣ U ∣ = ⌊ v n /3 ⌋ and ∣ V ∣ = ⌊ 2 v n / 3 ⌋ |V|=\lfloor2v_n/3\rfloor ∣ V ∣ = ⌊ 2 v n /3 ⌋ . Since integration is invariant under measure-preserving relabellings and the cut norm controls the integral over [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 ,
∣ 2 e ( G n ) v n 2 − a ∣ = ∣ ∫ [ 0 , 1 ] 2 W G n − ∫ [ 0 , 1 ] 2 W ∣ ≤ δ □ ( W G n , W ) ⟶ 0. \left|\frac{2e(G_n)}{v_n^2}-a\right|=\left|\int_{[0,1]^2}W_{G_n}-\int_{[0,1]^2}W\right|\leq\delta_\square(W_{G_n},W)\longrightarrow0. v n 2 2 e ( G n ) − a = ∫ [ 0 , 1 ] 2 W G n − ∫ [ 0 , 1 ] 2 W ≤ δ □ ( W G n , W ) ⟶ 0.
Thus the limiting edge density is a < p a<p a < p , so ( G n ) (G_n) ( G n ) is not p p p -quasirandom.
In fact, ( G n ) (G_n) ( G n ) is not quasirandom at any density. If it were q q q -quasirandom for some q ∈ [ 0 , 1 ] q\in[0,1] q ∈ [ 0 , 1 ] , its limiting edge density would give q = a q=a q = a . On the other hand, Lemma 2.1 and the prescribed crossing-triangle counts would imply q 3 = p 3 q^3=p^3 q 3 = p 3 , since ∣ U ∣ 2 ∣ V ∣ = ( 2 / 27 + o ( 1 ) ) v n 3 |U|^2|V|=(2/27+o(1))v_n^3 ∣ U ∣ 2 ∣ V ∣ = ( 2/27 + o ( 1 )) v n 3 . Hence q = p q=p q = p , contradicting a < p a<p a < p .
The construction realizes the cancellation in (6.1) as the triangle-kernel discrepancy of a nonconstant graphon with edge density a < p a<p a < p . Thus the prescribed triangle counts do not force the edge density to equal the parameter p p p .
For this profile, E 1 = 2 z 1 + z 2 E_1=2z_1+z_2 E 1 = 2 z 1 + z 2 , E 2 = z 1 ( z 1 + 2 z 2 ) E_2=z_1(z_1+2z_2) E 2 = z 1 ( z 1 + 2 z 2 ) , and E 3 = z 1 2 z 2 E_3=z_1^2z_2 E 3 = z 1 2 z 2 . Since L α = ( z 1 + 2 z 2 ) / 3 L_\alpha=(z_1+2z_2)/3 L α = ( z 1 + 2 z 2 ) /3 , Theorem 2.4 gives K = { 2 } \mathcal{K}=\{2\} K = { 2 } . The discrepancy Ψ K 3 , W − p 3 = a b ( a + b ) Q σ \Psi_{K_3,W}-p^3=ab(a+b)Q_\sigma Ψ K 3 , W − p 3 = ab ( a + b ) Q σ is therefore a nonzero second-order Walsh component. This realizes a quadratic obstruction and shows why the additive reduction used in Theorem 1.2 does not extend to all two-class profiles.
Two disjoint cliques
The preceding construction applies to every p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) . At p = 4 − 1 / 3 p=4^{-1/3} p = 4 − 1/3 , the same cancellation yields an explicit sequence of finite graphs, with a uniform counting error of order v ( G ) 2 v(G)^2 v ( G ) 2 .
Example 6.1. For each positive integer t t t , let G t = K 3 t ⊔ K 3 t G_t=K_{3t}\sqcup K_{3t} G t = K 3 t ⊔ K 3 t and p = 4 − 1 / 3 p=4^{-1/3} p = 4 − 1/3 . Write L , R L,R L , R for the vertex sets of the two cliques. For U ⊆ V ( G t ) U\subseteq V(G_t) U ⊆ V ( G t ) with ∣ U ∣ = 2 t |U|=2t ∣ U ∣ = 2 t , put x = ∣ U ∩ L ∣ x=|U\cap L| x = ∣ U ∩ L ∣ and y = ∣ U ∩ R ∣ y=|U\cap R| y = ∣ U ∩ R ∣ , so x + y = 2 t x+y=2t x + y = 2 t . Every triangle lies entirely in one clique, and hence
N ( K 3 , G t ; U , U , U c ) = x ( x − 1 ) ( 3 t − x ) + y ( y − 1 ) ( 3 t − y ) = 4 t 3 − 2 t 2 − 2 x y . N(K_3,G_t;U,U,U^c)=x(x-1)(3t-x)+y(y-1)(3t-y)
=4t^3-2t^2-2xy. N ( K 3 , G t ; U , U , U c ) = x ( x − 1 ) ( 3 t − x ) + y ( y − 1 ) ( 3 t − y ) = 4 t 3 − 2 t 2 − 2 x y .
where the second equality follows from x 2 + y 2 = 4 t 2 − 2 x y x^2+y^2=4t^2-2xy x 2 + y 2 = 4 t 2 − 2 x y and x 3 + y 3 = 8 t 3 − 6 t x y x^3+y^3=8t^3-6txy x 3 + y 3 = 8 t 3 − 6 t x y . Since 0 ≤ x y ≤ t 2 0\leq xy\leq t^2 0 ≤ x y ≤ t 2 and p 3 ∣ U ∣ 2 ∣ U c ∣ = 4 t 3 p^3|U|^2|U^c|=4t^3 p 3 ∣ U ∣ 2 ∣ U c ∣ = 4 t 3 , the counting error is at most 4 t 2 4t^2 4 t 2 , uniformly over U U U . Every admissible pair of disjoint sets of sizes 2 t 2t 2 t and 4 t 4t 4 t is complementary, so ( G t ) (G_t) ( G t ) satisfies the prescribed crossing-triangle condition. However, 2 e ( G t ) / v ( G t ) 2 = 1 / 2 − 1 / ( 6 t ) → 1 / 2 < p 2e(G_t)/v(G_t)^2=1/2-1/(6t)\to1/2<p 2 e ( G t ) / v ( G t ) 2 = 1/2 − 1/ ( 6 t ) → 1/2 < p , and therefore ( G t ) (G_t) ( G t ) is not p p p -quasirandom.
The remaining two-class problem
For 0 < p < 1 0<p<1 0 < p < 1 and e ( F ) > 0 e(F)>0 e ( F ) > 0 , Theorems 1.2 and 1.4 classify symmetrized repeated-class tests with at least three classes and labelled transversal tests, respectively. For two repeated classes and e ( F ) > 1 e(F)>1 e ( F ) > 1 , profiles with α 1 + α 2 < 1 \alpha_1+\alpha_2<1 α 1 + α 2 < 1 are forcing by Theorem 2.4 and Corollary 3.8. Thus the remaining classification concerns complementary two-class profiles.
Both constructions above have limiting edge density strictly less than p p p . They do not settle the variant in which the limiting edge density is additionally required to equal p p p .
Problem 6.2. Let F F F be a simple graph on m m m vertices with e ( F ) > 1 e(F)>1 e ( F ) > 1 , let m 1 , m 2 m_1,m_2 m 1 , m 2 be positive integers with m 1 + m 2 = m m_1+m_2=m m 1 + m 2 = m , and let 0 < p < 1 0<p<1 0 < p < 1 . Determine all α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) for which P ~ m 1 , m 2 ( F ; α , 1 − α ) \widetilde{\mathcal{P}}_{m_1,m_2}(F;\alpha,1-\alpha) P m 1 , m 2 ( F ; α , 1 − α ) is a p p p -quasirandom property.
For a complementary profile, homogeneity and the divisibility criterion in Theorem 2.4 give
K = { k ∈ [ m ] : R m 1 , m 2 , k ( − α 1 − α ) = 0 } . \mathcal{K}=\left\{k\in[m]:R_{m_1,m_2,k}\left(-\frac{\alpha}{1-\alpha}\right)=0\right\}. K = { k ∈ [ m ] : R m 1 , m 2 , k ( − 1 − α α ) = 0 } .
where R m 1 , m 2 , k R_{m_1,m_2,k} R m 1 , m 2 , k is defined in Lemma 4.1 . Thus the functional nullspace is explicitly determined by univariate polynomial zeros. If K ⊆ { 1 } \mathcal{K}\subseteq\{1\} K ⊆ { 1 } , Corollary 3.8 gives the forcing property. When higher bad indices occur, the remaining question is whether the corresponding nullspace contains Ψ ~ F , W − p e ( F ) \widetilde{\Psi}_{F,W}-p^e(F) Ψ F , W − p e ( F ) for a nonconstant graphon W W W . Proposition 1.7 provides such a realization for F = K 3 F=K_3 F = K 3 and K = { 2 } \mathcal{K}=\{2\} K = { 2 } .
A further question is whether every nonforcing test in this family admits a two-type graphon witness, as predicted by [7 Conjecture 6.6] . All counting properties considered here concern non-induced copies.
Declaration of generative AI and AI-assisted technologies
The authors used a large language model during the preparation of this manuscript for assistance with mathematical exploration, checking arguments, organization and language editing. The authors are responsible for the mathematical statements, proofs, references and final text.
Guoqing Wang
School of Mathematics, Tiangong University
Email address: gqwang1979@aliyun.com
Linlin Wang
School of Mathematics, China University of Mining and Technology
Email address: 5400@cumt.edu.cn
Jun Yue
School of Mathematics, Tiangong University
Email address: yuejun06@126.com