Combinatorial theorems in sparse random sets

D. Conlon, W. T. Gowers

Introduction

In recent years there has been a trend in combinatorics towards proving that certain well-known theorems, such as Ramsey’s theorem, Turán’s theorem and Szemerédi’s theorem, have “sparse random” analogues. For instance, the first non-trivial case of Turán’s theorem asserts that a subgraph of KnK_{n} with more than ⌊n/2⌋⌈n/2⌉\lfloor n/2\rfloor\lceil n/2\rceil edges must contain a triangle. A sparse random analogue of this theorem is the assertion that if one defines a random subgraph GG of KnK_{n} by choosing each edge independently at random with some very small probability pp, then with high probability every subgraph HH of GG such that ∣E(H)∣≥(12+ϵ)∣E(G)∣|E(H)|\geq\left(\frac{1}{2}+\epsilon\right)|E(G)| will contain a triangle. Several results of this kind have been proved, and in some cases, including this one, the exact bounds on what pp one can take are known up to a constant factor.

The greatest success in this line of research has been with analogues of Ramsey’s theorem . Recall that Ramsey’s theorem (in one of its many forms) states that, for every graph HH and every natural number rr, there exists nn such that if the edges of the complete graph KnK_{n} are coloured with rr colours, then there must be a copy of HH with all its edges of the same colour. Such a copy of HH is called monochromatic.

Let us say that a graph GG is (H,r)(H,r)-Ramsey if, however the edges of GG are coloured with rr colours, there must be a monochromatic copy of HH. After efforts by several researchers , most notably Rödl and Ruciński, the following impressive theorem, a “sparse random version” of Ramsey’s theorem, is now known. We write Gn,pG_{n,p} for the standard binomial model of random graphs, where each edge in an nn-vertex graph is chosen independently with probability pp. We also write vHv_{H} and eHe_{H} for the number of vertices and edges, respectively, in a graph HH.

Let r≥2r\geq 2 be a natural number and let HH be a graph that is not a forest consisting of stars and paths of length 33. Then there exist positive constants cc and CC such that

That is, given a graph GG that is not a disjoint union of stars and paths of length 33, there is a threshold at approximately p=n−1/m2(H)p=n^{-1/m_{2}(H)} where the probability that the random graph Gn,pG_{n,p} is (H,r)(H,r)-Ramsey changes from 0 to 1.

This theorem comes in two parts: the statement that above the threshold the graph is almost certainly (H,r)(H,r)-Ramsey and the statement that below the threshold it almost certainly is not. We shall follow standard practice and call these the 1-statement and the 0-statement, respectively.

There have also been some efforts towards proving sparse random versions of Turán’s theorem, but these have up to now been less successful. Turán’s theorem , or rather its generalization, the Erdős-Stone-Simonovits theorem (see for example ), states that if HH is some fixed graph, then any graph with nn vertices that contains more than

edges must contain a copy of HH. Here, χ(H)\chi(H) is the chromatic number of HH.

Let us say that a graph GG is (H,ϵ)(H,\epsilon)-Turán if every subgraph of GG with at least

edges contains a copy of HH. One may then ask for the threshold at which a random graph becomes (H,ϵ)(H,\epsilon)-Turán. The conjectured answer is that the threshold is the same as it is for the corresponding Ramsey property.

For every ϵ>0\epsilon>0 and every graph HH there exist positive constants cc and CC such that

A difference between this conjecture and Theorem 1.1 is that the 0-statement in this conjecture is very simple to prove. To see this, suppose that pp is such that the expected number of copies of HH in Gn,pG_{n,p} is significantly less than the expected number of edges in Gn,pG_{n,p}. Then, since the number of copies of HH and the number of edges are both concentrated around their expectations, we can almost always remove a small number of edges from Gn,pG_{n,p} and get rid of all copies of HH, which proves that Gn,pG_{n,p} is not (H,ϵ)(H,\epsilon)-Turán. The expected number of copies of HH (if we label the vertices of HH) is approximately nvHpeHn^{v_{H}}p^{e_{H}}, while the expected number of edges in Gn,pG_{n,p} is approximately pn2pn^{2}. The former becomes less than the latter when p=n−(vH−2)/(eH−1)p=n^{-(v_{H}-2)/(e_{H}-1)}.

A further observation raises this bound. Suppose, for example, that HH is a triangle with an extra edge attached to one of its vertices. It is clear that the real obstacle to finding copies of HH is finding triangles: it is not hard to add edges to them. More generally, if HH has a subgraph KK with eK−1vK−2>eH−1vH−2\frac{e_{K}-1}{v_{K}-2}>\frac{e_{H}-1}{v_{H}-2}, then we can increase our estimate of pp to n−(vK−2)/(eK−1)n^{-(v_{K}-2)/(e_{K}-1)}, since if we can get rid of copies of KK then we have got rid of copies of HH. Beyond this extra observation, there is no obvious way of improving the bound for the 0-statement, which is why it is the conjectured upper bound as well.

An argument along these lines does not work at all for the Ramsey property, since if one removes a few edges in order to eliminate all copies of HH in one colour, then one has to give them another colour. Since the set of removed edges is likely to look fairly random, it is not at all clear that this can be done in such a way as to eliminate all monochromatic copies of HH.

Conjecture 1.2 is known to be true for some graphs, for example K3K_{3}, K4K_{4}, K5K_{5} (see , respectively) and all cycles (see ), but it is open in general. Some partial results towards the general conjecture, where the 11-statement is proved with a weaker exponent, have been given by Kohayakawa, Rödl and Schacht and Szabó and Vu . The paper of Szabó and Vu contains the best known upper bound in the case where HH is the complete graph KtK_{t} for some t≥6t\geq 6; the bound they obtain is p=n−1/(t−1.5)p=n^{-1/(t-1.5)}, whereas the conjectured best possible bound is p=n−2/(t+1)p=n^{-2/(t+1)} (since m2(Kt)m_{2}(K_{t}) works out to be (t+1)/2(t+1)/2). Thus, there is quite a significant gap. The full conjecture has also been proved to be a consequence of the so-called KŁR conjecture of Kohayakawa, Łuczak and Rödl. This conjecture, regarding the number of HH-free graphs of a certain type, remains open, except in a few special cases . The full KŁR conjecture was subsequently established by Balogh, Morris and Samotij and by Saxton and Thomason (see also ). Their methods also allow one to give alternative proofs for many of the results in this paper. We refer the reader to for a more complete overview.

As noted in , the KŁR conjecture would also imply the following structural result about HH-free graphs which contain nearly the extremal number of edges. The analogous result in the dense case, due to Simonovits , is known as the stability theorem. Roughly speaking, it says that if an HH-free graph contains almost (1−1χ(H)−1)(n2)\left(1-\frac{1}{\chi(H)-1}\right)\binom{n}{2} edges, then it must be very close to being (χ(H)−1)(\chi(H)-1)-partite.

Let HH be a graph with χ(H)≥3\chi(H)\geq 3 and let

Then, for every δ>0\delta>0, there exist positive constants ϵ\epsilon and CC such that if GG is a random graph on nn vertices, where each edge is chosen independently with probability pp at least Cn−1/m2(H)Cn^{-1/m_{2}(H)}, then, with probability tending to 1 as nn tends to infinity, every HH-free subgraph of GG with at least (1−1χ(H)−1−ϵ)e(G)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)e(G) edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δpn2\delta pn^{2} edges.

Another example where some success has been achieved is Szemerédi’s theorem . This celebrated theorem states that, for every positive real number δ\delta and every natural number kk, there exists a positive integer nn such that every subset of the set [n]={1,2,⋯ ,n}[n]=\{1,2,\cdots,n\} of size at least δn\delta n contains a kk-term arithmetic progression. The particular case where k=3k=3 had been proved much earlier by Roth , and is accordingly known as Roth’s theorem. A sparse random version of Roth’s theorem was proved by Kohayakawa, Łuczak and Rödl . To state the theorem, let us say that a subset II of the integers is δ\delta-Roth if every subset of II of size δ∣I∣\delta|I| contains a 33-term arithmetic progression. We shall also write [n]p[n]_{p} for a random set in which each element of [n][n] is chosen independently with probability pp.

For every δ>0\delta>0 there exist positive constants cc and CC such that

Once again the 0-statement is trivial (as it tends to be for density theorems): if p=n−1/2/2p=n^{-1/2}/2, then the expected number of 33-term progressions in [n]p[n]_{p} is less than n1/2/8n^{1/2}/8, while the expected number of elements of [n]p[n]_{p} is n1/2/2n^{1/2}/2. Therefore, one can almost always remove an element from each progression and still be left with at least half the elements of [n]p[n]_{p}.

For longer progressions, the situation has been much less satisfactory. Let us define a set II of integers to be (δ,k)(\delta,k)-Szemerédi if every subset of II of cardinality at least δ∣I∣\delta|I| contains a kk-term arithmetic progression. Until recently, hardly anything was known at all about which random sets were (δ,k)(\delta,k)-Szemerédi. However, that changed with the seminal paper of Green and Tao , who, on the way to proving that the primes contain arbitrarily long arithmetic progressions, showed that every pseudorandom set is (δ,k)(\delta,k)-Szemerédi, if “pseudorandom” is defined in an appropriate way. Their definition of pseudorandomness is somewhat complicated, but it is straightforward to show that quite sparse random sets are pseudorandom in their sense. From this the following result follows, though we are not sure whether it has appeared explicitly in print.

The approach of Green and Tao depends heavily on the use of a set of norms known as uniformity norms, introduced in . In order to deal with kk-term arithmetic progressions, one must use a uniformity norm that is based on a count of certain configurations that can be thought of as (k−1)(k-1)-dimensional parallelepipeds. These configurations have kk degrees of freedom (one for each dimension and one because the parallelepipeds can be translated) and size 2k−12^{k-1}. A simple argument (similar to the arguments for the 0-statements in the density theorems above) shows that the best bound that one can hope to obtain by their methods is therefore at most p=n−k/2k−1p=n^{-k/2^{k-1}}. This is far larger than the bound that arises in the obvious 0-statement for Szemerédi’s theorem: the same argument that gives a bound of cn−1/2cn^{-1/2} for the Roth property gives a bound of cn−1/(k−1)cn^{-1/(k-1)} for the Szemerédi property. However, even p=n−k/2k−1p=n^{-k/2^{k-1}} is not the bound that they actually obtain, because they need in addition a “correlation condition” that is not guaranteed by the smallness of the uniformity norm. This means that the bound they obtain is of the form n−o(1)n^{-o(1)}.

The natural conjecture is that the obvious bound for the 0-statement is in fact correct, so it is far stronger than the bound of Green and Tao.

For every δ>0\delta>0 and every positive integer k≥3k\geq 3, there exist positive constants cc and CC such that

One approach to proving Szemerédi’s theorem is known as the hypergraph removal lemma. Proved independently by Nagle, Rödl, Schacht and Skokan and by the second author (see also ), this theorem states that for every δ>0\delta>0 and every positive integer k≥2k\geq 2 there exists a constant ϵ>0\epsilon>0 such that if GG is a kk-uniform hypergraph containing at most ϵnk+1\epsilon n^{k+1} copies of the complete kk-uniform hypergraph Kk+1(k)K_{k+1}^{(k)} on k+1k+1 vertices, then it may be made Kk+1(k)K_{k+1}^{(k)}-free by removing at most δnk\delta n^{k} edges. Once this theorem is known, Szemerédi’s theorem follows as an easy consequence. The question of whether an analogous result holds within random hypergraphs was posed by Łuczak . For k=2k=2, this follows from the work of Kohayakawa, Łuczak and Rödl .

For every δ>0\delta>0 and every integer k≥2k\geq 2 there exist constants ϵ>0\epsilon>0 and CC such that, if HH is a random kk-uniform hypergraph on nn vertices where each edge is chosen independently with probability pp at least Cn−1/kCn^{-1/k}, then, with probability tending to 1 as nn tends to infinity, every subgraph of HH containing at most ϵpk+1nk+1\epsilon p^{k+1}n^{k+1} copies of the complete kk-uniform hypergraph Kk+1(k)K_{k+1}^{(k)} on k+1k+1 vertices may be made Kk+1(k)K_{k+1}^{(k)}-free by removing at most δpnk\delta pn^{k} edges.

In the next few sections we shall give a very general method for proving sparse random versions of combinatorial theorems. This method allows one to obtain sharp bounds for several theorems, of which the principal (but by no means only) examples are positive answers to the conjectures we have just mentioned. This statement comes with one caveat. When dealing with graphs and hypergraphs, we shall restrict our attention to those which are well-balanced in the following sense. Note that most graphs of interest, including complete graphs and cycles, satisfy this condition.

A kk-uniform hypergraph KK is said to be strictly kk-balanced if, for every subgraph LL of KK,

The main results we shall prove in this paper (in the order in which we discussed them above, but not the order in which we shall prove them) are as follows. The first is a sparse random version of Ramsey’s theorem. Of course, as we have already mentioned, this is known: however, our theorem applies not just to graphs but to hypergraphs, where the problem was wide open apart from a few special cases . As we shall see, our methods apply just as easily to hypergraphs as they do to graphs. We write Gn,p(k)G_{n,p}^{(k)} for a random kk-uniform hypergraph on nn vertices, where each hyperedge is chosen independently with probability pp. If KK is some fixed kk-uniform hypergraph, we say that a hypergraph is (K,r)(K,r)-Ramsey if every rr-colouring of its edges contains a monochromatic copy of KK.

Given a natural number rr and a strictly kk-balanced kk-uniform hypergraph KK, there exists a positive constant CC such that

One problem that the results of this paper leave open is to establish a corresponding 0-statement for Theorem 1.9. The above bound is the threshold below which the number of copies of KK becomes less than the number of hyperedges, so the results for graphs make it highly plausible that the 0-statement holds when p<cn−1/mk(K)p<cn^{-1/m_{k}(K)} for small enough cc. However, the example of stars, for which the threshold is lower than expected, shows that we cannot take this result for granted.

We shall also prove Conjecture 1.2 for strictly 2-balanced graphs. In particular, it holds for complete graphs.

Given ϵ>0\epsilon>0 and a strictly 2-balanced graph HH, there exists a positive constant CC such that

A slightly more careful application of our methods also allows us to prove its structural counterpart, Conjecture 1.3, for strictly 22-balanced graphs.

Given a strictly 22-balanced graph HH with χ(H)≥3\chi(H)\geq 3 and a constant δ>0\delta>0, there exist positive constants CC and ϵ\epsilon such that in the random graph Gn,pG_{n,p} chosen with probability p≥Cn−1/m2(H)p\geq Cn^{-1/m_{2}(H)}, where m2(H)=(eH−1)/(vH−2)m_{2}(H)=(e_{H}-1)/(v_{H}-2), the following holds with probability tending to 1 as nn tends to infinity. Every HH-free subgraph of Gn,pG_{n,p} with at least (1−1χ(H)−1−ϵ)e(G)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)e(G) edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δpn2\delta pn^{2} edges.

We also prove Conjecture 1.6, obtaining bounds for the Szemerédi property that are essentially best possible.

Given δ>0\delta>0 and a natural number k≥3k\geq 3, there exists a constant CC such that

Our final main result is a proof of Conjecture 1.7, the sparse hypergraph removal lemma. As we have mentioned, the dense hypergraph removal lemma implies Szemerédi’s theorem, but it turns out that the sparse hypergraph removal lemma does not imply Theorem 1.12. The difficulty is this. When we prove Szemerédi’s theorem using the removal lemma, we first pass to a hypergraph to which the removal lemma can be applied. Unfortunately, in the sparse case, passing from the sparse random set to the corresponding hypergraph gives us a sparse hypergraph with dependencies between its edges, whereas in the sparse hypergraph removal lemma we assume that the edges of the sparse random hypergraph are independent. While it is likely that this problem can be overcome, we did not, in the light of Theorem 1.12, see a strong reason for doing so.

In addition to these main results, we shall discuss other density theorems, such as Turán’s theorem for hypergraphs (where, even though the correct bounds are not known in the dense case, we can obtain the threshold at which the bounds in the sparse random case will be the same), the multidimensional Szemerédi theorem of Furstenberg and Katznelson and the Bergelson-Leibman theorem concerning polynomial configurations in dense sets. In the colouring case, we shall discuss Schur’s theorem as a further example. Note that many similar results have also been obtained by a different method by Schacht and by Friedgut, Rödl and Schacht .

2 A preliminary description of the argument

The basic idea behind our proof is to use a transference principle to deduce sparse random versions of density and colouring results from their dense counterparts. To oversimplify slightly, a transference principle in this context is a statement along the following lines. Let XX be a structure such as the complete graph KnK_{n} or the set {1,2,…,n}\{1,2,\dots,n\}, and let UU be a sparse random subset of XX. Then, for every subset A⊂UA\subset U, there is a subset B⊂XB\subset X that has similar properties to AA. In particular, the density of BB is approximately the same as the relative density of AA in UU, and the number of substructures of a given kind in AA is an appropriate multiple of the number of substructures of the same kind in BB.

Given a strong enough principle of this kind, one can prove a sparse random version of Szemerédi’s theorem, say, as follows. Let AA be a subset of [n]p[n]_{p} of relative density δ\delta. Then there exists a subset BB of [n][n] of size approximately δn\delta n such that the number of kk-term progressions in BB is approximately p−kp^{-k} times the number of kk-term progressions in AA. From Szemerédi’s theorem it can be deduced that the number of kk-term progressions in BB is at least c(δ)n2c(\delta)n^{2}, so the number of kk-term progressions in AA is at least c(δ)pkn2/2c(\delta)p^{k}n^{2}/2. Since the size of AA is about pnpn, we have roughly pnpn degenerate progressions. Hence, there are non-degenerate progressions within AA as long as pkn2p^{k}n^{2} is significantly larger than pnpn, that is, as long as pp is at least Cn−1/(k−1)Cn^{-1/(k-1)} for some large CC.

It is very important to the success of the above argument that a dense subset of [n][n] should contain not just one progression but several, where “several” means a number that is within a constant of the trivial upper bound of n2n^{2}. The other combinatorial theorems discussed above have similarly “robust” versions and again these are essential to us. Very roughly, our general theorems say that a typical combinatorial theorem that is robust in this sense will have a sparse random version with an upper bound for the probability threshold that is very close to a natural lower bound that is trivial for density theorems and often true, even if no longer trivial, for Ramsey theorems.

The idea of using a transference principle to obtain sparse random versions of robust combinatorial statements is not what is new about this paper. In fact, this was exactly the strategy of Green and Tao in their paper on the primes, and could be said to be the main idea behind their proof (though of course it took many further ideas to get it to work). Since it is difficult to say what is new about our argument without going into slightly more detail, we postpone further discussion for now. However, there are three further main ideas involved and we shall highlight them as they appear.

In the next few sections, we shall find a very general set of criteria under which one may transfer combinatorial statements to the sparse random setting. In Sections 5-8, we shall show how to prove that these criteria hold. Section 9 is a brief summary of the general results, both conditional and unconditional, that have been proved up to that point. In Section 10, we show how these results may be applied to prove the various theorems promised in the introduction. In Section 11, we conclude by briefly mentioning some questions that are still open.

3 Notation

Often our set UU will be a random subset of XX with each element of XX chosen with probability pp, the choices being independent. In this case, we shall use the shorthand U=XpU=X_{p}, just as we wrote [n]p[n]_{p} for a random subset of [n][n] in the statement of the sparse random version of Szemerédi’s theorem earlier. When U=XpU=X_{p} it is more convenient to consider the measure μ\mu that is equal to p−1p^{-1} times the characteristic function of UU. That is, μ(x)=p−1\mu(x)=p^{-1} if x∈Ux\in U and 0 otherwise. To avoid confusion, we shall call this the associated measure of UU. Strictly speaking, we should not say this, since it depends not just on UU but on the value of pp used when UU was chosen, but this will always be clear from the context so we shall not bother to call it the associated measure of (U,p)(U,p).

It follows trivially from this definition that ∣⟨f,ϕ⟩∣≤∥f∥∥ϕ∥∗|\langle f,\phi\rangle|\leq\|f\|\|\phi\|^{*}. Almost as trivially, it follows that if ∣⟨f,ϕ⟩∣≤1|\langle f,\phi\rangle|\leq 1 whenever ∥f∥≤η\|f\|\leq\eta, then ∥ϕ∥∗≤η−1\|\phi\|^{*}\leq\eta^{-1}, a fact that will be used repeatedly.

Transference principles

As we have already mentioned, a central notion in this paper is that of transference. Roughly speaking, a transference principle is a theorem that states that every function ff in one class can be replaced by a function gg in another, more convenient class in such a way that the properties of ff and gg are similar.

To understand this concept and why it is useful, let us look at the sparse random version of Szemerédi’s theorem that we shall prove. Instead of attacking this directly, it is convenient to prove a functional generalization of it. The statement we shall prove is the following.

In the rest of this section we shall show how the Hahn-Banach theorem can be used to prove general transference principles. This was first demonstrated by the second author in , and independently (in a slightly different language) by Reingold, Trevisan, Tulsiani and Vadhan , and leads to simpler proofs than the method used by Green and Tao. The first transference principle we shall prove is particularly appropriate for density theorems: this one was shown in but for convenience we repeat the proof. Then we shall prove a modification of it for use with colouring theorems.

Let us begin by stating the finite-dimensional Hahn-Banach theorem in its separation version.

By Lemma 2.3 there is a function ϕ\phi and a real number tt such that ⟨f,ϕ⟩>t\langle f,\phi\rangle>t and such that ⟨g+h,ϕ⟩≤t\langle g+h,\phi\rangle\leq t whenever g∈Kg\in K and h∈Lh\in L. Setting h=0h=0 we deduce that ⟨g,ϕ⟩≤t\langle g,\phi\rangle\leq t for every g∈Kg\in K, and setting g=0g=0 we deduce that ⟨h,ϕ⟩≤t\langle h,\phi\rangle\leq t for every h∈Lh\in L. Setting g=h=0g=h=0 we deduce that t≥0t\geq 0. Dividing through by tt (or by 12⟨f,ϕ⟩\frac{1}{2}\langle f,\phi\rangle if t=0t=0) we see that we may take tt to be 1. □\Box

Now let us prove our two transference principles, beginning with the density one. In the statement of the theorem below we write ϕ+\phi_{+} for the positive part of ϕ\phi.

If we cannot approximate (1+ϵ)−1f(1+\epsilon)^{-1}f in this way, then we cannot write (1+ϵ)−1f(1+\epsilon)^{-1}f as a sum g+hg+h with 0≤g≤ν0\leq g\leq\nu and ∥h∥≤η\|h\|\leq\eta. Now the sets K={g:0≤g≤ν}K=\{g:0\leq g\leq\nu\} and L={h:∥h∥≤η}L=\{h:\|h\|\leq\eta\} are closed and convex and they both contain 0. It follows from Lemma 2.4, with Y=XY=X, that there is a function ϕ\phi with the following three properties.

⟨(1+ϵ)−1f,ϕ⟩>1\langle(1+\epsilon)^{-1}f,\phi\rangle>1;

⟨g,ϕ⟩≤1\langle g,\phi\rangle\leq 1 whenever 0≤g≤ν0\leq g\leq\nu;

⟨h,ϕ⟩≤1\langle h,\phi\rangle\leq 1 whenever ∥h∥≤η\|h\|\leq\eta.

From the first of these properties we deduce that ⟨f,ϕ⟩>1+ϵ\langle f,\phi\rangle>1+\epsilon. From the second we deduce that ⟨ν,ϕ+⟩≤1\langle\nu,\phi_{+}\rangle\leq 1, since the function gg that takes the value ν(x)\nu(x) when ϕ(x)≥0\phi(x)\geq 0 and 00 otherwise maximizes the value of ⟨g,ϕ⟩\langle g,\phi\rangle over all g∈Kg\in K. And from the third property we deduce immediately that ∥ϕ∥∗≤η−1\|\phi\|^{*}\leq\eta^{-1}.

But our hypothesis implies that ⟨μ,ϕ+⟩≤⟨ν,ϕ+⟩+ϵ\langle\mu,\phi_{+}\rangle\leq\langle\nu,\phi_{+}\rangle+\epsilon. It therefore follows that

Later we shall apply Lemma 2.5 with μ\mu the associated measure of a sparse random set and ν\nu the constant measure 1.

The next transference principle is the one that we shall use for obtaining sparse random colouring theorems. It may seem strange that the condition we obtain on g1+⋯+grg_{1}+\dots+g_{r} is merely that it is less than ν\nu (rather than equal to ν\nu). However, we also show that fif_{i} and gig_{i} are close in a certain sense, and in applications that will imply that g1+⋯+grg_{1}+\dots+g_{r} is indeed approximately equal to ν\nu (which will be the constant measure 1). With a bit more effort, one could obtain equality from the Hahn-Banach method, but this would not make life easier later, since the robust versions of Ramsey theorems hold just as well when you colour almost everything as they do when you colour everything.

Suppose that the result does not hold for the rr-tuple (f1,…,fr)(f_{1},\dots,f_{r}). Let KK be the closed convex set of all rr-tuples of functions (g1,…,gr)(g_{1},\dots,g_{r}) such that gi≥0g_{i}\geq 0 for each ii and g1+⋯+gr≤νg_{1}+\dots+g_{r}\leq\nu, and let LL be the closed convex set of all rr-tuples (h1,…,hr)(h_{1},\dots,h_{r}) such that ∥hi∥≤η\|h_{i}\|\leq\eta for each ii. Then both KK and LL contain 0 and our hypothesis is that (1+ϵ)−1(f1,…,fr)∉K+L(1+\epsilon)^{-1}(f_{1},\dots,f_{r})\notin K+L. Therefore, Lemma 2.4, with Y=XrY=X^{r}, gives us an rr-tuple of functions (ϕ1,…,ϕr)(\phi_{1},\dots,\phi_{r}) with the following three properties.

∑i=1r⟨(1+ϵ)−1fi,ϕi⟩>1\sum_{i=1}^{r}\langle(1+\epsilon)^{-1}f_{i},\phi_{i}\rangle>1;

∑i=1r⟨gi,ϕi⟩≤1\sum_{i=1}^{r}\langle g_{i},\phi_{i}\rangle\leq 1 whenever gi≥0g_{i}\geq 0 for each ii and g1+⋯+gr≤νg_{1}+\dots+g_{r}\leq\nu;

∑i=1r⟨hi,ϕi⟩≤1\sum_{i=1}^{r}\langle h_{i},\phi_{i}\rangle\leq 1 whenever ∥hi∥≤η\|h_{i}\|\leq\eta for each ii.

The first of these conditions implies that ∑i=1r⟨fi,ϕi⟩>1+ϵ\sum_{i=1}^{r}\langle f_{i},\phi_{i}\rangle>1+\epsilon. In the second condition, let us choose the functions gig_{i} as follows. For each xx, pick an ii such that ϕi(x)\phi_{i}(x) is maximal. If ϕi(x)≥0\phi_{i}(x)\geq 0, then set gi(x)g_{i}(x) to be ν(x)\nu(x), and otherwise set gi(x)=0g_{i}(x)=0. For each j≠ij\neq i, set gj(x)g_{j}(x) to be zero. Then ∑i=1rgi(x)ϕi(x)\sum_{i=1}^{r}g_{i}(x)\phi_{i}(x) is equal to ν(x)max⁡iϕi(x)\nu(x)\max_{i}\phi_{i}(x) if this maximum is non-negative, and 0 otherwise. Therefore, ∑i=1r⟨gi,ϕi⟩=⟨ν,(max⁡iϕi)+⟩\sum_{i=1}^{r}\langle g_{i},\phi_{i}\rangle=\langle\nu,(\max_{i}\phi_{i})_{+}\rangle. Thus, it follows from the second condition that ⟨ν,(max⁡iϕi)+⟩≤1\langle\nu,(\max_{i}\phi_{i})_{+}\rangle\leq 1. Let us write ϕ\phi for max⁡iϕi\max_{i}\phi_{i}. The third condition implies that ∥ϕi∥∗≤η−1\|\phi_{i}\|^{*}\leq\eta^{-1} for each ii.

Using this information together with our hypothesis about μ−ν\mu-\nu, we find that

The counting lemma

We now come to the second main idea of the paper, and perhaps the main new idea. Lemmas 2.5 and 2.6 will be very useful to us, but as they stand they are rather abstract: in order to make use of them we need to find a norm ∥.∥\|.\| such that if ∥f−g∥\|f-g\| is small then ff and gg behave similarly in a relevant way. Several norms have been devised for exactly this purpose, such as the uniformity norms mentioned earlier, and also “box norms” for multidimensional structures and “octahedral norms” for graphs and hypergraphs. It might therefore seem natural to try to apply Lemmas 2.5 and 2.6 to these norms. However, as we have already commented in the case of uniformity norms, if we do this then we cannot obtain sharp bounds: except in a few cases, these norms are related to counts of configurations that are too large to appear non-degenerately in very sparse random sets.

We are therefore forced to adopt a different approach. Instead of trying to use an off-the-shelf norm, we use a bespoke norm, designed to fit perfectly the problem at hand. Notice that Lemmas 2.5 and 2.6 become harder to apply as the norm ∥.∥\|.\| gets bigger, since then the dual norm ∥.∥∗\|.\|^{*} gets smaller and there are more functions ϕ\phi with ∥ϕ∥∗≤η−1\|\phi\|^{*}\leq\eta^{-1}, and therefore more functions of the form ϕ+\phi_{+} for which one must show that ⟨μ−ν,ϕ+⟩≤ϵ\langle\mu-\nu,\phi_{+}\rangle\leq\epsilon (and similarly for (max⁡1≤i≤rϕi)+(\max_{1\leq i\leq r}\phi_{i})_{+} with colouring problems). Therefore, we shall try to make our norm as small as possible, subject to the condition we need it to satisfy: that ff and gg behave similarly if ∥f−g∥\|f-g\| is small.

Thus, our norm will be defined by means of a universal construction. As with other universal constructions, this makes the norm easy to define but hard to understand concretely. However, we can get away with surprisingly little understanding of its detailed behaviour, as will become clear later. An advantage of this abstract approach is that it has very little dependence on the particular problem that is being studied: it is for that reason that we have ended up with a very general result.

Before we define the norm, let us describe the general set-up that we shall analyse. We shall begin with a finite set XX and a collection SS of ordered subsets of XX, each of size kk. Thus, any element s∈Ss\in S may be expressed in the form s=(s1,…,sk)s=(s_{1},\dots,s_{k}).

In both these two examples, the collection SS of ordered subsets of XX has some nice homogeneity properties, which we shall assume for our general result because it makes the proofs cleaner, even if one sometimes has to work a little to show that these properties may be assumed.

Let SS be a collection of ordered kk-tuples s=(s1,…,sk)s=(s_{1},\dots,s_{k}) of elements of a finite set XX, and let us write Sj(x)S_{j}(x) for the set of all ss in SS such that sj=xs_{j}=x. We shall say that SS is homogeneous if for each jj the sets Sj(x)S_{j}(x) all have the same size.

The functional version of a combinatorial theorem about the ordered sets in SS will involve expressions such as

Thus, what we wish to do is define a norm ∥.∥\|.\| with the property that

can be bounded above in terms of ∥f−g∥\|f-g\| whenever 0≤f≤μ0\leq f\leq\mu and 0≤g≤ν0\leq g\leq\nu. This is what we mean by saying that ff and gg should behave similarly when ∥f−g∥\|f-g\| is small.

It will be very convenient to introduce some terminology and notation for expressions of the kind that are beginning to appear.

as ⟨f−g,∗j(g…,g,f,…,f)⟩\langle f-g,*_{j}(g\dots,g,f,\dots,f)\rangle (where it is understood that there are j−1j-1 occurrences of gg and k−jk-j occurrences of ff), and from that we obtain the identity

This, together with the triangle inequality, gives us the following lemma.

Let XX be a finite set and let SS be a homogeneous collection of ordered subsets of XX, each of size kk. Let ff and gg be two functions defined on XX. Then

Any convolution ∗j(g,…,g,f,…,f)*_{j}(g,\dots,g,f,\dots,f) is bounded above by ∗j(ν,…,ν,μ,…,μ)*_{j}(\nu,\dots,\nu,\mu,\dots,\mu). For the sake of example, let us consider the case of Szemerédi’s theorem. Taking ν=1\nu=1, we see that the jjth convolution is bounded above by the function

Up to normalization, this counts the number of progressions of length k−j+1k-j+1 beginning at xx. If j>1j>1, probabilistic estimates imply that, at the critical probability p=Cn−1/(k−1)p=Cn^{-1/(k-1)}, PjP_{j} is, with high probability, L∞L_{\infty}-bounded (that is, the largest value of the function is bounded by some absolute constant). However, functions of the form ∗1(f,…,f)*_{1}(f,\dots,f) with 0≤f≤μ0\leq f\leq\mu are almost always unbounded. This makes it much more difficult to control their inner products with μ−1\mu-1, and we need to do that if we wish to apply the abstract transference principle from the previous section.

For graphs, a similar problem arises. The jjth convolution will count, up to normalization, the number of copies of some subgraph of the given graph HH that are rooted on a particular edge. If we assume that the graph is balanced, as we are doing, then, at probability p=Cn−1/m2(H)p=Cn^{-1/m_{2}(H)}, this count will be L∞L_{\infty}-bounded for any proper subgraph of HH. However, for HH itself, we do not have this luxury and the function ∗1(f,…,f)*_{1}(f,\dots,f) is again likely to be unbounded.

If we were prepared to increase the density of the random set by a polylogarithmic factor, we could ensure that even ∗1(f,…,f)*_{1}(f,\dots,f) was bounded and this problem would go away. Thus, a significant part of the complication of this paper is due to our wish to get a bound that is best possible up to a constant.

There are two natural ways of getting around the difficulty if we are not prepared to sacrifice a polylogarithmic factor. One is to try to exploit the fact that although ∗1(f,…,f)*_{1}(f,\dots,f) is not bounded, it typically takes large values very infrequently, so it is “close to bounded” in a certain sense. The other is to replace ∗1(f,…,f)*_{1}(f,\dots,f) by a modification of the function that has been truncated at a certain maximum. It seems likely that both approaches can be made to work: we have found it technically easier to go for the second. The relevant definition is as follows.

A natural quantity that fits this description is ⟨f,∘1(f,f,…,f)⟩\langle f,\circ_{1}(f,f,\dots,f)\rangle, and this is indeed closely related to the quantity we shall actually consider. However, there is an additional complication, which is that it is very convenient to think of our random set UU as a union of mm random sets U1,…,UmU_{1},\dots,U_{m}, and of a function defined on UU as an average m−1(f1+⋯+fm)m^{-1}(f_{1}+\dots+f_{m}) of functions with fif_{i} defined on UiU_{i}. More precisely, we shall take mm independent random sets U1,…,UmU_{1},\dots,U_{m}, each distributed as XpX_{p}. (Recall that XpX_{p} stands for a random subset of XX where the elements are chosen independently with probability pp.) Writing μ1,…,μm\mu_{1},\dots,\mu_{m} for their associated measures, for each ii we shall take a function fif_{i} such that 0≤fi≤μi0\leq f_{i}\leq\mu_{i}. Our assertion will then be about the average f=m−1(f1+⋯+fm)f=m^{-1}(f_{1}+\dots+f_{m}). Note that 0≤f≤μ0\leq f\leq\mu, where μ=m−1(μ1+⋯+μm)\mu=m^{-1}(\mu_{1}+\dots+\mu_{m}), and that every function ff with 0≤f≤μ0\leq f\leq\mu can be expressed as an average of functions fif_{i} with 0≤fi≤μi0\leq f_{i}\leq\mu_{i}. Note also that if U=U1∪⋯∪UmU=U_{1}\cup\dots\cup U_{m} then μ\mu is neither the characteristic measure of UU nor the associated measure of UU. However, provided pp is fairly small, it is close to both with high probability, and this is all that matters.

Having chosen ff in this way, the quantity we shall then look at is

In other words, we expand the expression ⟨f,∗1(f,f,…,f)⟩\langle f,*_{1}(f,f,\dots,f)\rangle in terms of f1,…,fmf_{1},\dots,f_{m} and then do the capping term by term.

Central to our approach is a “counting lemma”, which is an easy corollary of the following result, which keeps track of the errors that are introduced by our “capping”. (To understand the statement, observe that if we replaced the capped convolutions ∘j\circ_{j} by their “genuine” counterparts ∗j*_{j}, then the two quantities that we are comparing would become equal.) In the next lemma, we assume that a homogeneous set SS of ordered kk-tuples has been given.

Since 0≤∗1(fi2,…,fik)≤∗1(μi2,…,μik)0\leq*_{1}(f_{i_{2}},\dots,f_{i_{k}})\leq*_{1}(\mu_{i_{2}},\dots,\mu_{i_{k}}), our assumption implies that, whenever i2,…,iki_{2},\dots,i_{k} are distinct, ∥∗1(fi2,…,fik)−∘1(fi2,…,fik)∥1≤η\|*_{1}(f_{i_{2}},\dots,f_{i_{k}})-\circ_{1}(f_{i_{2}},\dots,f_{i_{k}})\|_{1}\leq\eta. In this case, therefore,

We also know that ⟨g,∗1(fi2,…,fik)⟩=⟨fi2,∗2(g,fi3,…,fik)⟩\langle g,*_{1}(f_{i_{2}},\dots,f_{i_{k}})\rangle=\langle f_{i_{2}},*_{2}(g,f_{i_{3}},\dots,f_{i_{k}})\rangle and that if i3,…,iki_{3},\dots,i_{k} are distinct then ∗2(g,fi3,…,fik)=∘2(g,fi3,…,fik)*_{2}(g,f_{i_{3}},\dots,f_{i_{k}})=\circ_{2}(g,f_{i_{3}},\dots,f_{i_{k}}). Therefore,

Now the assumption that ∗j(1,1,…,1,μij+1,…,μik)*_{j}(1,1,\dots,1,\mu_{i_{j+1}},\dots,\mu_{i_{k}}) is bounded above by 2 whenever j≥2j\geq 2 and ij+1,…,iki_{j+1},\dots,i_{k} are distinct implies that ∘j(g,g,…,g,fij+1,…,fik)\circ_{j}(g,g,\dots,g,f_{i_{j+1}},\dots,f_{i_{k}}) and ∗j(g,g,…,g,fij+1,…,fik)*_{j}(g,g,\dots,g,f_{i_{j+1}},\dots,f_{i_{k}}) are equal under these circumstances. From this it is a small exercise to show that

Therefore, for i2,…,iki_{2},\dots,i_{k} distinct,

The probability that i1,…,iki_{1},\dots,i_{k} are not distinct is at most (k2)m−1≤η/4k\binom{k}{2}m^{-1}\leq\eta/4k, and if they are not distinct then the difference between (1) and (2) is certainly no more than 4k4k (since all capped convolutions take values in $andand\|f_{i_{j}}\|_{1}\leq\|\mu_{i_{j}}\|_{1}\leq 2).Therefore,takingtheexpectationoverall). Therefore, taking the expectation over all(i_{1},\dots,i_{k})(notnecessarilydistinct)andnotingthat(not necessarily distinct) and noting that\langle g,\circ_{k}(g,g,\dots,g)\rangle=\langle g,*_{1}(g,g,\dots,g)\rangle$, we find that

To state our counting lemma, we need to define the norm that we shall actually use.

Let XX be a finite set and let SS be a homogeneous collection of ordered subsets of XX, each of size kk. Let μ=(μ1,…,μm)\mu=(\mu_{1},\dots,\mu_{m}) be a sequence of measures on XX. A (μ,1)(\mu,1)-basic anti-uniform function is a function of the form ∘j(g,…,g,fij+1,…,fik)\circ_{j}(g,\dots,g,f_{i_{j+1}},\dots,f_{i_{k}}), where 1≤j≤k1\leq j\leq k, ij+1,…,iki_{j+1},\dots,i_{k} are distinct, 0≤g≤10\leq g\leq 1 and 0≤fih≤μih0\leq f_{i_{h}}\leq\mu_{i_{h}} for every hh between j+1j+1 and kk. Let Φμ,1\Phi_{\mu,1} be the set of all (μ,1)(\mu,1)-basic anti-uniform functions and define the norm ∥.∥μ,1\|.\|_{\mu,1} by taking ∥h∥μ,1\|h\|_{\mu,1} to be max⁡{∣⟨h,ϕ⟩∣:ϕ∈Φμ,1}\max\{|\langle h,\phi\rangle|:\phi\in\Phi_{\mu,1}\}.

The phrase “basic anti-uniform function” is borrowed from Green and Tao, since our basic anti-uniform functions are closely related to functions of the same name that appear in their paper .

Now the probability that i1,…,iki_{1},\dots,i_{k} are distinct is again at most η/4k\eta/4k, and if they are not distinct we at least know that ∣⟨f−g,∘j(g,g,…,g,fij+1,…,fik)⟩∣≤4|\langle f-g,\circ_{j}(g,g,\dots,g,f_{i_{j+1}},\dots,f_{i_{k}})\rangle|\leq 4. Therefore, our hypothesis also implies that

Combining this with Lemma 3.5, we obtain the result. □\Box

In order to prove analogues of structural results such as the Erdős-Simonovits stability theorem and the hypergraph removal lemma we shall need to preserve slightly more information when we replace our sparsely supported function ff by a densely supported function gg. For example, to prove the stability theorem, we proceed as follows. Given a subgraph AA of the random graph Gn,pG_{n,p}, we create a weighted subgraph BB of KnK_{n} that contains the same number of copies of HH, up to normalization. However, to make the proof work, we also need the edge density of BB within any large vertex set to correspond to the edge density of AA within that set. Suppose that we have this property as well and that AA is HH-free. Then BB has very few copies of HH. A robust version of the stability theorem then tells us that BB may be made (χ(H)−1)(\chi(H)-1)-partite by removing a small number of edges (or rather a small weight of weighted edges). Let us look at the resulting weighted graph B′B^{\prime}. It consists of χ(H)−1\chi(H)-1 vertex sets, all of which have zero weight inside. Therefore, in BB, each of these sets had only a small weight to begin with. Since all “local densities” of AA reflect those of BB, these vertex sets contain only a very small proportion of the edges in AA as well. Removing these edges makes AA into a (χ(H)−1)(\chi(H)-1)-partite graph and we are done.

How do we ensure that local densities are preserved? All we have to do is enrich our set of basic anti-uniform functions by adding an appropriate set of functions that will allow us to transfer local densities from the sparse structure to the dense one. For example, in the case above we need to know that AA and BB have roughly the same inner product (when appropriately weighted) with the characteristic function of the complete graph on any large set VV of vertices. We therefore add these characteristic functions to our stock of basic anti-uniform functions. For other applications, we need to maintain more intricate local density conditions. However, as we shall see, as long as the corresponding set of additional functions is sufficiently small, this does not pose a problem.

A conditional proof of the main theorems

In this section, we shall collect together the results of Sections 2 and 3 in order to make clear what is left to prove. We start with a simple and general lemma about duality in normed spaces.

If ψ=∑iλiϕi\psi=\sum_{i}\lambda_{i}\phi_{i} with ϕi∈Φ∪(−Φ)\phi_{i}\in\Phi\cup(-\Phi), λi≥0\lambda_{i}\geq 0 for each ii and ∑iλi=1\sum_{i}\lambda_{i}=1, and if ∥f∥≤1\|f\|\leq 1, then ∣⟨f,ψ⟩∣≤∑iλi∣⟨f,ϕi⟩∣≤1|\langle f,\psi\rangle|\leq\sum_{i}\lambda_{i}|\langle f,\phi_{i}\rangle|\leq 1. The same is then true if ψ\psi belongs to the closure of the convex hull of Φ∪(−Φ)\Phi\cup(-\Phi).

If ψ\psi does not belong to this closed convex hull, then by the Hahn-Banach theorem there must be a function ff such that ∣⟨f,ϕ⟩∣≤1|\langle f,\phi\rangle|\leq 1 for every ϕ∈Φ\phi\in\Phi and ⟨f,ψ⟩>1\langle f,\psi\rangle>1. The first condition tells us that ∥f∥≤1\|f\|\leq 1, so the second implies that ∥ψ∥∗>1\|\psi\|^{*}>1. □\Box

So we already know a great deal about functions ϕ\phi with bounded dual norm. Recall, however, that we must consider positive parts of such functions: we would like to show that ⟨μ−ν,ϕ+⟩\langle\mu-\nu,\phi_{+}\rangle is small whenever ∥ϕ∥∗\|\phi\|^{*} is of reasonable size. We need the following extra lemma to gain some control over these.

Let Ψ\Psi be a set of functions that take values in $andletand let\epsilon>0.Thenthereexistconstants. Then there exist constantsdandandM,dependingon, depending on\epsilononly,suchthatforeveryfunctiononly, such that for every function\psiintheconvexhullofin the convex hull of\Psi,thereisafunction, there is a function\omegathatbelongstothat belongs toMtimestheconvexhullofallproductstimes the convex hull of all products\pm\phi_{1}\dots\phi_{j}withwithj\leq dandand\phi_{1},\dots,\phi_{j}\in\Psi,suchthat, such that\|\psi_{+}-\omega\|_{\infty}<\epsilon$.

We start with the well-known fact that continuous functions on closed bounded intervals can be uniformly approximated by polynomials. Therefore, if K(x)K(x) is the function defined on $thattakesthevaluethat takes the value0ififx\leq 0andandxififx\geq 0,thenthereisapolynomial, then there is a polynomialPsuchthatsuch that|P(x)-K(x)|\leq\epsilonforeveryfor everyx\in.Itfollowsthatif. It follows that if\psiisafunctionthattakesvaluesinis a function that takes values in,then, then\|P(\psi)-\psi_{+}\|_{\infty}\leq\epsilon$.

Let us apply this observation in the case where ψ\psi is a convex combination ∑iλiϕi\sum_{i}\lambda_{i}\phi_{i} of functions ϕi∈Ψ\phi_{i}\in\Psi. If P(t)=∑j=1dajtjP(t)=\sum_{j=1}^{d}a_{j}t^{j}, then

But ∑i1,…,ijλi1…λij=1\sum_{i_{1},\dots,i_{j}}\lambda_{i_{1}}\dots\lambda_{i_{j}}=1 for every jj, so this proves that we can take MM to be ∑j=1d∣aj∣\sum_{j=1}^{d}|a_{j}|. This bound and the degree dd depend on ϵ\epsilon only, as claimed. □\Box

Similarly, for colouring problems, where we need to deal with the function (max⁡1≤i≤rϕi)+(\max_{1\leq i\leq r}\phi_{i})_{+}, we have the following lemma. The proof is very similar to that of Lemma 4.2, though we must replace the function K(x)K(x) that has to be approximated with the function K(x1,…,xr)=max⁡{0,x1,…,xr}K(x_{1},\dots,x_{r})=\max\{0,x_{1},\dots,x_{r}\} and apply a multivariate version of the uniform approximation theorem inside the set r^{r} (though the case we actually need follows easily from the one-dimensional theorem).

Let Ψ\Psi be a set of functions that take values in $andletand let\epsilon>0.Thenthereexistconstants. Then there exist constantsdandandM,dependingon, depending on\epsilononly,suchthatforeverysetoffunctionsonly, such that for every set of functions\psi_{1},\dots,\psi_{r}intheconvexhullofin the convex hull of\Psi,thereisafunction, there is a function\omegathatbelongstothat belongs toMtimestheconvexhullofallproductstimes the convex hull of all products\pm\phi_{1}\dots\phi_{j}withwithj\leq dandand\phi_{1},\dots,\phi_{j}\in\Psi,suchthat, such that\|(\max_{1\leq i\leq r}\psi_{i})_{+}-\omega\|_{\infty}<\epsilon..\square$

We shall split up the rest of the proof of our main result as follows. First, we shall state a set of assumptions about the set SS of ordered subsets of XX. Then we shall show how the transference results we are aiming for follow from these assumptions. Then over the next few sections we shall show how to prove these assumptions for a large class of sets SS.

The reason for doing things this way is twofold. First, it splits the proof into a deterministic part (the part we do now) and a probabilistic part (verifying the assumptions). Secondly, it splits the proof into a part that is completely general (again, the part we do now) and a part that depends more on the specific set SS. Having said that, when it comes to verifying the assumptions, we do not do so for individual sets SS. Rather, we identify two broad classes of set SS that between them cover all the problems that have traditionally interested people. This second shift, from the general to the particular, will not be necessary until Section 7. For now, the argument remains quite general.

Suppose now that μ1,…,μm\mu_{1},\dots,\mu_{m} are measures on a finite set XX and μ=m−1(μ1+⋯+μm)\mu=m^{-1}(\mu_{1}+\dots+\mu_{m}). In subsequent sections, we will take μ1,…,μm\mu_{1},\dots,\mu_{m} to be the associated measures of random sets U1,…,UmU_{1},\dots,U_{m}, each distributed as XpX_{p}, but for now we will continue to work deterministically. We shall be particularly interested in the following four properties that such a sequence of measures may have.

∥μi∥1=1+o(1)\|\mu_{i}\|_{1}=1+o(1) for each ii, where o(1)→0o(1)\rightarrow 0 as ∣X∣→∞|X|\rightarrow\infty.

∥∗1(μi2,…,μik)−∘1(μi2,…,μik)∥1≤η\|*_{1}(\mu_{i_{2}},\dots,\mu_{i_{k}})-\circ_{1}(\mu_{i_{2}},\dots,\mu_{i_{k}})\|_{1}\leq\eta whenever i2,…,iki_{2},\dots,i_{k} are distinct integers between 1 and mm.

∥∗j(1,1,…,1,μij+1,…,μik)∥∞≤2\|*_{j}(1,1,\dots,1,\mu_{i_{j+1}},\dots,\mu_{i_{k}})\|_{\infty}\leq 2 whenever j≥2j\geq 2 and ij+1,…,iki_{j+1},\dots,i_{k} are distinct integers between 1 and mm.

∣⟨μ−1,ξ⟩∣<λ|\langle\mu-1,\xi\rangle|<\lambda whenever ξ\xi is a product of at most dd basic anti-uniform functions from Φμ,1\Phi_{\mu,1}.

In the remainder of this section, we will prove that if μ1,…,μm\mu_{1},\dots,\mu_{m} satisfy these four properties, then any robust density theorem or colouring theorem also holds relative to the measure μ\mu. To prove this for density statements, we first need a simple lemma showing that any density theorem implies an equivalent functional formulation. For convenience, we will assume that each set in SS consists of distinct elements from XX.

Let kk be an integer and ρ,β,ϵ>0\rho,\beta,\epsilon>0 be real numbers. Let XX be a sufficiently large finite set and let SS be a collection of ordered subsets of XX, each of size kk and with no repeated elements. Suppose that for every subset BB of XX of size at least ρ∣X∣\rho|X| there are at least β∣S∣\beta|S| elements (s1,…,sk)(s_{1},\dots,s_{k}) of SS such that si∈Bs_{i}\in B for each ii. Let gg be a function on XX such that 0≤g≤10\leq g\leq 1 and ∥g∥1≥ρ+ϵ\|g\|_{1}\geq\rho+\epsilon. Then

Let us choose a subset BB of XX randomly by choosing each x∈Xx\in X with probability g(x)g(x), with the choices independent. The expected number of elements of BB is ∑xg(x)≥(ρ+ϵ)∣X∣\sum_{x}g(x)\geq(\rho+\epsilon)|X| and therefore, by applying standard large deviation inequalities, one may show that if ∣X∣|X| is sufficiently large the probability that ∣B∣<ρ∣X∣|B|<\rho|X| is at most ϵ\epsilon. Therefore, with probability at least 1−ϵ1-\epsilon there are at least β∣S∣\beta|S| elements ss of SS such that si∈Bs_{i}\in B for every ii. It follows that the expected number of such sequences is at least β∣S∣(1−ϵ)≥(β−ϵ)∣S∣\beta|S|(1-\epsilon)\geq(\beta-\epsilon)|S|. But each sequence ss has probability g(s1)…g(sk)g(s_{1})\dots g(s_{k}) of belonging to BB, so the expected number is also ∑s∈Sg(s1)…g(sk)\sum_{s\in S}g(s_{1})\dots g(s_{k}), which proves the lemma. □\Box

Note that the converse to the above result is trivial (and does not need an extra ϵ\epsilon), since if BB is a set of density ρ\rho, then the characteristic function of BB has L1L_{1}-norm ρ\rho.

We remark here that the condition that no sequence in SS should have repeated elements is not a serious restriction. For one thing, all it typically does is rule out degenerate cases (such as arithmetic progressions with common difference zero) that do not interest us. Secondly, these degenerate cases tend to be sufficiently infrequent that including them would have only a very small effect on the constants. The reason we do not allow them is that it makes the proof neater.

With Lemma 4.4 in hand, we are now ready to prove that a transference principle holds for density theorems.

To begin, we apply Lemma 4.4 with ϵ2\frac{\epsilon}{2} to conclude that if ∣X∣|X| is sufficiently large and gg is any function on XX with 0≤g≤10\leq g\leq 1 and ∥g∥1≥ρ+ϵ2\|g\|_{1}\geq\rho+\frac{\epsilon}{2}, then

For each function hh, let ∥h∥\|h\| be defined to be the maximum of ∣⟨h,ϕ⟩∣|\langle h,\phi\rangle| over all basic anti-uniform functions ϕ∈Φμ,1\phi\in\Phi_{\mu,1}. Let η=ϵ10\eta=\frac{\epsilon}{10}. We claim that, given ff with 0≤f≤μ0\leq f\leq\mu, there exists a gg with 0≤g≤10\leq g\leq 1 such that ∥(1+ϵ4)−1f−g∥≤η/k\|(1+\frac{\epsilon}{4})^{-1}f-g\|\leq\eta/k. Equivalently, this shows that ∣⟨(1+ϵ4)−1f−g,ϕ⟩∣≤η/k|\langle(1+\frac{\epsilon}{4})^{-1}f-g,\phi\rangle|\leq\eta/k for every ϕ∈Φμ,1\phi\in\Phi_{\mu,1}. We will prove this claim in a moment. However, let us first note that it is a sufficient condition to imply that

It remains to prove that for any ff with 0≤f≤μ0\leq f\leq\mu, there exists a gg with 0≤g≤10\leq g\leq 1 such that ∥(1+ϵ4)−1f−g∥≤η/k\|(1+\frac{\epsilon}{4})^{-1}f-g\|\leq\eta/k. An application of Lemma 2.5 tells us that if ⟨μ−1,ψ+⟩<ϵ4\langle\mu-1,\psi_{+}\rangle<\frac{\epsilon}{4} for every function ψ\psi with ∥ψ∥∗≤kη−1\|\psi\|^{*}\leq k\eta^{-1}, then this will indeed be the case. Now let us try to find a sufficient condition for this. First, if ∥ψ∥∗≤kη−1\|\psi\|^{*}\leq k\eta^{-1}, then Lemma 4.1 implies that ψ\psi is contained in kη−1k\eta^{-1} times the convex hull of Φ∪{−Φ}\Phi\cup\{-\Phi\}, where Φ\Phi is the set of all basic anti-uniform functions. Since functions in Φ∪{−Φ}\Phi\cup\{-\Phi\} take values in $,wecanapplyLemma4.2tofindconstants, we can apply Lemma 4.2 to find constantsdandandMandafunctionand a function\omegathatcanbewrittenasthat can be written asMtimesaconvexcombinationofproductsofatmosttimes a convex combination of products of at mostdfunctionsfromfunctions from\Phi\cup\{-\Phi\}suchthatsuch that\|\psi_{+}-\omega\|_{\infty}\leq\epsilon/20.Hence,forsuchan. Hence, for such an\omega$,

for ∣X∣|X| sufficiently large. From this it follows that if ∣⟨μ−1,ξ⟩∣<ϵ/8M|\langle\mu-1,\xi\rangle|<\epsilon/8M whenever ξ\xi is a product of at most dd functions from Φ∪{−Φ}\Phi\cup\{-\Phi\}, then

Therefore, applying P3 with dd and λ=ϵ/8M\lambda=\epsilon/8M completes the proof. □\Box

To prove a corresponding theorem for colouring problems, we will again need a lemma saying that colouring theorems always have a functional reformulation.

Let k,rk,r be positive integers and let β>0\beta>0 be a real number. Let XX be a finite set and let SS be a collection of ordered subsets of XX, each of size kk and having no repeated elements. Suppose that for every rr-colouring of XX there are at least β∣S∣\beta|S| elements (s1,…,sk)(s_{1},\dots,s_{k}) of SS such that each sis_{i} has the same colour. Let g1,…,grg_{1},\dots,g_{r} be functions from XX to $suchthatsuch thatg_{1}+\dots+g_{r}=1$. Then

Define a random rr-colouring of XX as follows. For each x∈Xx\in X, let xx have colour ii with probability gi(x)g_{i}(x), and let the colours be chosen independently. By hypothesis, the number of monochromatic sequences is at least β∣S∣\beta|S|, regardless of what the colouring is. But the expected number of monochromatic sequences is ∑s∈S∑i=1rgi(s1)…gi(sk)\sum_{s\in S}\sum_{i=1}^{r}g_{i}(s_{1})\dots g_{i}(s_{k}), so the lemma is proved. □\Box

We actually need a slightly stronger conclusion than the one we have just obtained. However, if SS is homogeneous then it is an easy matter to strengthen the above result to what we need.

Let k,rk,r be positive integers and let β>0\beta>0 be a real number. Let XX be a finite set and let SS be a homogeneous collection of ordered subsets of XX, each of size kk and having no repeated elements. Suppose that for every rr-colouring of XX there are at least β∣S∣\beta|S| elements (s1,…,sk)(s_{1},\dots,s_{k}) of SS such that each sis_{i} has the same colour. Then there exists δ>0\delta>0 with the following property. If g1,…,grg_{1},\dots,g_{r} are any rr functions from XX to $suchthatsuch thatg_{1}(x)+\dots+g_{r}(x)\geq 1/2foratleastfor at least(1-\delta)|X|valuesofvalues ofx$, then

Let YY be the set of xx such that g1(x)+⋯+gr(x)<1/2g_{1}(x)+\dots+g_{r}(x)<1/2. Then we can find functions h1,…,hrh_{1},\dots,h_{r} from XX to $suchthatsuch thath_{1}+\dots+h_{r}=1andandh_{i}(x)\leq 2g_{i}(x)foreveryfor everyx\in X\setminus Y$. By the previous lemma, we know that

Let TT be the set of sequences s∈Ss\in S such that si∈Ys_{i}\in Y for at least one ii. Since SS is homogeneous, for each ii the set of ss such that si∈Ys_{i}\in Y has size ∣S∣∣Y∣/∣X∣≤δ∣S∣|S||Y|/|X|\leq\delta|S|. Therefore, ∣T∣≤kδ∣S∣|T|\leq k\delta|S|. It follows that

Thus, the lemma is proved if we take δ=2−(k+1)β/k\delta=2^{-(k+1)}\beta/k. □\Box

We now prove our main transference principle for colouring theorems. The proof is similar to that of Theorem 4.5 and reduces to the same conditions, but we include the proof for completeness.

An application of Lemmas 4.6 and 4.7 tells us that there exists δ>0\delta>0 with the following property. If g1,…,grg_{1},\dots,g_{r} are any rr functions from XX to $suchthatsuch thatg_{1}(x)+\dots+g_{r}(x)\geq 1/2foratleastfor at least(1-\delta)|X|valuesofvalues ofx$, then

Again we define the norm ∥.∥\|.\| by taking ∥h∥\|h\| to be the maximum of ∣⟨h,ϕ⟩∣|\langle h,\phi\rangle| over all basic anti-uniform functions ϕ∈Φμ,1\phi\in\Phi_{\mu,1}. Let η\eta be such that 8ηr<min⁡(δ,2−(k+1)β)8\eta r<\min(\delta,2^{-(k+1)}\beta). We claim that, given functions f1,…,frf_{1},\dots,f_{r} with 0≤fi≤μ0\leq f_{i}\leq\mu and ∑i=1rfi=μ\sum_{i=1}^{r}f_{i}=\mu, there are functions gig_{i} such that 0≤gi≤10\leq g_{i}\leq 1, g1+⋯+gr≤1g_{1}+\dots+g_{r}\leq 1 and ∥(1+δ4)−1fi−gi∥≤η/k\|(1+\frac{\delta}{4})^{-1}f_{i}-g_{i}\|\leq\eta/k. Equivalently, this means that ∣⟨(1+δ4)−1fi−gi,ϕ⟩∣≤η/k|\langle(1+\frac{\delta}{4})^{-1}f_{i}-g_{i},\phi\rangle|\leq\eta/k for every ii and every ϕ∈Φμ,1\phi\in\Phi_{\mu,1}. We will return to the proof of this statement. For now, let us show that it implies

Suppose that there were at least δ∣X∣\delta|X| values of xx for which ∑i=1rgi(x)<12\sum_{i=1}^{r}g_{i}(x)<\frac{1}{2}. Then this would imply that

for ∣X∣|X| sufficiently large, a contradiction. Our assumption about the gig_{i} therefore implies the inequality ∑i=1r⟨gi,∗1(gi,gi,…,gi)⟩≥2−(k+1)β\sum_{i=1}^{r}\langle g_{i},*_{1}(g_{i},g_{i},\dots,g_{i})\rangle\geq 2^{-(k+1)}\beta. Since 8rη<2−(k+1)β8r\eta<2^{-(k+1)}\beta, we can deduce the inequality

which, since the capped convolution is smaller than the standard convolution, implies that

As in Theorem 4.5, we have proved our result conditional upon an assumption, this time that for any functions f1,…,frf_{1},\dots,f_{r} with 0≤fi≤μ0\leq f_{i}\leq\mu and ∑i=1rfi=μ\sum_{i=1}^{r}f_{i}=\mu, there are functions gig_{i} such that 0≤gi≤10\leq g_{i}\leq 1, g1+⋯+gr≤1g_{1}+\dots+g_{r}\leq 1 and ∥(1+δ4)−1fi−gi∥≤η/k\|(1+\frac{\delta}{4})^{-1}f_{i}-g_{i}\|\leq\eta/k. An application of Lemma 2.6 tells us that if ⟨μ−1,(max⁡1≤i≤rψi)+⟩<δ/4\langle\mu-1,(\max_{1\leq i\leq r}\psi_{i})_{+}\rangle<\delta/4 for every collection of functions ψi\psi_{i} with ∥ψi∥∗≤kη−1\|\psi_{i}\|^{*}\leq k\eta^{-1}, then this will indeed be the case. By Lemma 4.1, each ψi\psi_{i} is contained in kη−1k\eta^{-1} times the convex hull of Φ∪{−Φ}\Phi\cup\{-\Phi\}, where Φ\Phi is the set of all basic anti-uniform functions. Since functions in Φ∪{−Φ}\Phi\cup\{-\Phi\} take values in $,wecanapplyLemma4.3tofindconstants, we can apply Lemma 4.3 to find constantsdandandMandafunctionand a function\omegathatcanbewrittenasthat can be written asMtimesaconvexcombinationofproductsofatmosttimes a convex combination of products of at mostdfunctionsfromfunctions from\Phi\cup\{-\Phi\},suchthat, such that\|(\max_{1\leq i\leq r}\psi_{i})_{+}-\omega\|_{\infty}\leq\delta/20.Fromthisitfollowsthatif. From this it follows that if|X|issufficientlylargeandis sufficiently large and|\langle\mu-1,\xi\rangle|<\delta/8Mwheneverwhenever\xiisaproductofatmostis a product of at mostdfunctionsfromfunctions from\Phi\cup\{-\Phi\},then, then\langle\mu-1,(\max_{1\leq i\leq r}\phi_{i})_{+}\rangle<\delta/4.Therefore,applyingP3with. Therefore, applying P3 withdandand\lambda=\delta/8Mprovesthetheorem.proves the theorem.\Box$

Finally, we would like to talk a little about structure theorems. To motivate the result that we are about to state, let us begin by giving a very brief sketch of how to prove a sparse version of the triangle removal lemma. (For a precise statement, see Conjecture 1.7 in the introduction, and the discussion preceding it.)

The dense version of the lemma states that if a dense graph has almost no triangles, then it is possible to remove a small number of edges in order to make it triangle free. To prove this, one first applies Szemerédi’s regularity lemma to the graph, and then removes all edges from pairs that are sparse or irregular. Because sparse pairs contain few edges, and very few pairs are irregular, not many edges are removed. If a triangle is left in the resulting graph, then each edge of the triangle belongs to a dense regular pair, and then a simple lemma can be used to show that there must be many triangles in the graph. Since we are assuming that there are very few triangles in the graph, this is a contradiction.

The sparse version of the lemma states that essentially the same result holds in a sparse random graph, given natural interpretations of phrases such as “almost no triangles”. If a random graph with nn vertices has edge probability pp, then the expected number of (labelled) triangles is approximately p3n3p^{3}n^{3}, and the expected number of (labelled) edges is pn2pn^{2}. Therefore, the obvious statement to try to prove, given a random graph G0G_{0} with edge probability pp, is this: for every δ>0\delta>0 there exists ϵ>0\epsilon>0 such that if GG is any subgraph of G0G_{0} that contains at most ϵp3n3\epsilon p^{3}n^{3} triangles, then it is possible to remove at most δpn2\delta pn^{2} edges from GG and end up with no triangles.

How might one prove such a statement? The obvious idea is to use the transference methods explained earlier to find a $−valuedfunction-valued functiongdefinedonpairsofvertices(whichwecanthinkofasaweightedgraph)thathassimilartriangle−containingbehaviourtodefined on pairs of vertices (which we can think of as a weighted graph) that has similar triangle-containing behaviour toG.Forthesakeofdiscussion,letussupposethat. For the sake of discussion, let us suppose thatgisinfactthecharacteristicfunctionofagraphandletuscallthatgraphis in fact the characteristic function of a graph and let us call that graph\Gamma$ (later, in Corollary 9.7, we will show that such a reduction is always possible).

If Γ\Gamma has similar behaviour to GG, then Γ\Gamma contains very few triangles, which is promising. So we apply the dense triangle removal lemma in order to get rid of all triangles. But what does that tell us about GG? The edges we removed from Γ\Gamma did not belong to GG. And in any case, how do we use an approximate statement (that GG and Γ\Gamma have similar triangle-containing behaviour) to obtain an exact conclusion (that GG with a few edges removed has no triangles at all)?

The answer is that we removed edges from Γ\Gamma in “clumps”. That is, we took pairs (U,V)(U,V) of vertex sets (given by cells of the Szemerédi partition) and removed all edges linking UU to VV. So the natural way of removing edges from GG is to remove the same clumps that we removed from Γ\Gamma. After that, the idea is that if GG contains a triangle then it belongs to clumps that were not removed, which means that Γ\Gamma must contain a triple of dense regular clumps, and therefore many triangles, which implies that GG must also contain many triangles, a contradiction.

For this to work, it is vital that if a clump contains a very small proportion of the edges of Γ\Gamma, then it should also contain a very small proportion of the edges of GG. More generally, the density of GG in a set of the form U×VU\times V should be about pp times the density of Γ\Gamma in the same set. Thus, we need a result that allows us to approximate a function by one with a similar triangle count, but we also need the new function to have similar densities inside every set of the form U×VU\times V when UU and VV are reasonably large.

In the case of hypergraphs, we need a similar but more complicated statement. The precise nature of the complexity is, rather surprisingly, not too important: the main point is that we shall need to approximate a function dominated by a sparse random measure by a bounded function that has a similar simplex count and similar densities inside all the sets from some set system that is not too large.

In order to state the result precisely, we make the following definition.

Suppose that we have a finite set XX and suppose that Φμ,1\Phi_{\mu,1} is a collection of basic anti-uniform functions derived from a collection SS of ordered subsets of XX and a sequence of measures μ=(μ1,…,μm)\mu=(\mu_{1},\dots,\mu_{m}). Then, given a collection of subsets V\mathcal{V} of XX, we define the set of basic anti-uniform functions Φμ,1(V)\Phi_{\mu,1}(\mathcal{V}) to be Φμ,1∪{χV:V∈V}\Phi_{\mu,1}\cup\{\chi_{V}:V\in\mathcal{V}\}, where χV\chi_{V} is the characteristic function of the set VV.

We also need to modify the third of the key properties, so as to take account of the set system V\mathcal{V}.

P3 ′. ∣⟨μ−1,ξ⟩∣<λ|\langle\mu-1,\xi\rangle|<\lambda whenever ξ\xi is a product of at most dd basic anti-uniform functions from Φμ,1(V)\Phi_{\mu,1}(\mathcal{V}).

Our main abstract result regarding the transfer of structural theorems is the following. It says that not only do the functions ff and gg reflect one another in the sense that they have similar subset counts, but they may be chosen to have similar densities inside all the sets VV from a collection V\mathcal{V}. The proof, which we omit, is essentially the same as that of Theorem 4.5: the only difference is that the norm is now defined in terms of Φμ,1(V)\Phi_{\mu,1}(\mathcal{V}), which gives us the extra information that ∣⟨f,χV⟩−⟨g,χV⟩∣≤∥f−g∥|\langle f,\chi_{V}\rangle-\langle g,\chi_{V}\rangle|\leq\|f-g\| for every V∈VV\in\mathcal{V} and hence the extra conclusion at the end.

Let kk be a positive integer and ϵ>0\epsilon>0 a constant. Let XX be a finite set, SS a homogeneous collection of ordered subsets of XX, each of size kk, and V\mathcal{V} a collection of subsets of XX. Then there are positive constants η\eta and λ\lambda and positive integers dd and mm with the following property. If μ1,…,μm\mu_{1},\dots,\mu_{m} are such that P0, P1, P2 and P3′\mathit{3^{\prime}} hold for the constants η,λ\eta,\lambda and dd, then, for ∣X∣|X| sufficiently large, the following holds for μ=m−1(μ1+⋯+μm)\mu=m^{-1}(\mu_{1}+\dots+\mu_{m}): whenever 0≤f≤μ0\leq f\leq\mu, there exists gg with 0≤g≤10\leq g\leq 1 such that

We remark that the second part of the conclusion can be rewritten as

which is precisely the statement that ∣⟨f,χV⟩−⟨g,χV⟩∣≤ϵ|\langle f,\chi_{V}\rangle-\langle g,\chi_{V}\rangle|\leq\epsilon.

Small correlation with a fixed function

One of our main aims in this paper is to show that, with high probability, ∣⟨μ−1,ξ⟩∣<λ|\langle\mu-1,\xi\rangle|<\lambda for every product ξ\xi of at most dd basic anti-uniform functions, when μ\mu is chosen randomly with suitable density. This is a somewhat complicated statement, since the set of basic anti-uniform functions depends on our random variable μ\mu. In this section we prove a much easier result, which will nevertheless be useful to us later on: we shall show that, for any fixed bounded function ξ\xi, ∣⟨μ−1,ξ⟩∣<λ|\langle\mu-1,\xi\rangle|<\lambda with high probability.

To prove this, we shall need a standard probabilistic estimate, Bernstein’s inequality, which allows one to bound the sum of independent and not necessarily identically distributed random variables.

Let Y1,Y2,…,YnY_{1},Y_{2},\dots,Y_{n} be independent random variables. Suppose that each YiY_{i} lies in the interval [0,M][0,M]. Let S=Y1+Y2+⋯+YnS=Y_{1}+Y_{2}+\cdots+Y_{n}. Then

We are now ready to prove that ⟨μ−1,ξ⟩\langle\mu-1,\xi\rangle is bounded with high probability for any fixed bounded function ξ\xi.

Let XX be a finite set and let U=XpU=X_{p}. Let μ\mu be the associated measure of UU. Then, for any constants CC and λ\lambda with C≥λC\geq\lambda and any positive function ξ\xi with ∥ξ∥∞≤C\|\xi\|_{\infty}\leq C,

where to prove the second inequality we used the assumption that C≥λC\geq\lambda. □\Box

Before we move on to the next section, it will be helpful to state Chernoff’s inequality, the standard estimate for the tails of the binomial distribution. As we have already noted, P0 is a straightforward consequence of this lemma.

Let 0<p≤10<p\leq 1 and 0<δ≤120<\delta\leq\frac{1}{2} be real numbers and XX a finite set. Then

The set of basic anti-uniform functions has few extreme points

A slightly inaccurate description of what we are going to do next is that we shall show that if P1 and P2 hold with high probability, then so does P3. In order to understand how and why what we shall actually do differs from this, it is important to understand the difficulty that we now have to overcome. The result of the previous section tells us that for a random measure μ\mu and any given function ξ\xi, ∣⟨μ−1,ξ⟩∣|\langle\mu-1,\xi\rangle| is bounded with high probability. We now need to show that this is the case for all functions ξ\xi that are products of at most dd basic anti-uniform functions. As we have already commented, this is tricky, because which functions are basic anti-uniform functions depends on μ\mu.

To get a clearer notion of the problem, let us look at a subcase of the general fact that we are trying to prove, by thinking how we might try to show that, with high probability, ⟨μ1−1,∘1(f2,…,fk)⟩\langle\mu_{1}-1,\circ_{1}(f_{2},\dots,f_{k})\rangle is small whenever 0≤fi≤μi0\leq f_{i}\leq\mu_{i} for i=2,3,…,ki=2,3,\dots,k. That is, for the time being we shall concentrate on basic anti-uniform functions themselves rather than on products of such functions.

A question that will obviously be important to us is the following: for how many choices of functions f2,…,fkf_{2},\dots,f_{k} do we need to establish that ∣⟨μ1−1,∘1(f2,…,fk)⟩∣|\langle\mu_{1}-1,\circ_{1}(f_{2},\dots,f_{k})\rangle| is small? At first glance, the answer might seem to be infinitely many, but one quickly realizes that a small uniform perturbation to the functions f2,…,fkf_{2},\dots,f_{k} does not make much difference to ⟨μ1−1,∘1(f2,…,fk)⟩\langle\mu_{1}-1,\circ_{1}(f_{2},\dots,f_{k})\rangle. So it will be enough to look at some kind of net of the functions.

However, even this observation is not good enough, since the number of functions in a net will definitely be at least exponentially large in p∣X∣p|X|. Although the probability we calculated in the previous section is exponentially small in p∣X∣p|X|, the constant is small, whereas the constant involved in the size of a net will not be small. So it looks as though there are too many events to consider.

It is clear that the only way round this problem is to prove that the set of basic anti-uniform functions ∘1(f2,…,fk)\circ_{1}(f_{2},\dots,f_{k}) is somehow smaller than expected. And once one thinks about this for a bit, one realizes that this may well be the case. So far, we have noted that ∘1(f2,…,fk)\circ_{1}(f_{2},\dots,f_{k}) is not much affected by small uniform perturbations to the functions fif_{i}. However, an important theme in additive combinatorics is that convolutions tend to be robust under a much larger class of perturbations: roughly speaking, a “quasirandom” perturbation of one of the fif_{i} is likely to have little effect on ∘1(f2,…,fk)\circ_{1}(f_{2},\dots,f_{k}).

It is not immediately obvious how to turn this vague idea into a precise one, so for a moment let us think more abstractly. We have a class Γ\Gamma of functions, and a function ν\nu, and we would like to prove that ⟨ν,ϕ⟩\langle\nu,\phi\rangle is small for every ϕ∈Γ\phi\in\Gamma. To do this, we would like to identify a much smaller class of functions Δ\Delta such that if ⟨ν,ψ⟩\langle\nu,\psi\rangle is small for every ψ∈Δ\psi\in\Delta then ⟨ν,ϕ⟩\langle\nu,\phi\rangle is small for every ϕ∈Γ\phi\in\Gamma. The following very simple lemma tells us a sufficient (and also in fact necessary) condition on Δ\Delta for us to be able to make this deduction.

(i) For every function ν\nu, max⁡{∣⟨ν,ϕ⟩∣:ϕ∈Γ}≤max⁡{∣⟨ν,ψ⟩∣:ψ∈Δ}\max\{|\langle\nu,\phi\rangle|:\phi\in\Gamma\}\leq\max\{|\langle\nu,\psi\rangle|:\psi\in\Delta\}.

(ii) Γ\Gamma is contained in the convex hull of Δ\Delta.

The statement we shall use is just the easy direction of this equivalence, which is that (ii) implies (i). To see this, let ϕ∈Γ\phi\in\Gamma. Then we can write ϕ\phi as a convex combination ∑iλiψi\sum_{i}\lambda_{i}\psi_{i} of elements of Δ\Delta, and that implies that ∣⟨ν,ϕ⟩∣≤∑iλi∣⟨ν,ψi⟩∣|\langle\nu,\phi\rangle|\leq\sum_{i}\lambda_{i}|\langle\nu,\psi_{i}\rangle|. If ∣⟨ν,ψ⟩∣≤t|\langle\nu,\psi\rangle|\leq t for every ψ∈Δ\psi\in\Delta, then this is at most tt, which proves (i), since ν\nu and ϕ\phi were arbitrary.

Now let us suppose that Γ\Gamma is not contained in the convex hull of Δ\Delta, and let ϕ\phi be an element of Γ\Gamma that does not belong to this convex hull. Then the Hahn-Banach theorem and the fact that Δ\Delta is closed and centrally symmetric guarantee the existence of a function ν\nu such that ⟨ν,ϕ⟩>1\langle\nu,\phi\rangle>1, but ∣⟨ν,ψ⟩∣≤1|\langle\nu,\psi\rangle|\leq 1 for every ψ∈Δ\psi\in\Delta, which contradicts (i). □\Box

The reason Lemma 6.1 is useful is that it gives us a strategy for proving that ∣⟨μ−1,ξ⟩∣|\langle\mu-1,\xi\rangle| is small for all products of at most dd basic anti-uniform functions: try to show that these functions belong to the convex hull of a much smaller set. In fact, this is not quite what we shall do. Rather, we shall show that every ξ\xi can be approximated by an element of the convex hull of a much smaller set. To prepare for the more elaborate statement we shall use, we need another easy lemma.

The statement of the lemma is not quite what one might expect. The reason for this is that the simplest notion of approximation, namely uniform approximation, is too much for us to hope to attain. Instead, we go for a kind of weighted uniform approximation, where we allow the functions to differ quite a lot, but only in a few specified places.

Let HH be a non-negative function defined on XX such that ∥H∥1≤ϵ\|H\|_{1}\leq\epsilon and ∥H∥∞≤R\|H\|_{\infty}\leq R. Let U=XpU=X_{p} and let μ\mu be the associated measure of UU. Then, with probability at least 1−2exp⁡(−ϵ2p∣X∣/3R2)1-2\exp(-\epsilon^{2}p|X|/3R^{2}), we have the estimate ∣⟨μ−1,ϕ⟩−⟨μ−1,ψ⟩∣≤3ϵ|\langle\mu-1,\phi\rangle-\langle\mu-1,\psi\rangle|\leq 3\epsilon for every pair of functions ϕ\phi and ψ\psi such that ∣ϕ−ψ∣≤H|\phi-\psi|\leq H.

The fact that ∥H∥1≤ϵ\|H\|_{1}\leq\epsilon implies that ∣⟨1,ϕ⟩−⟨1,ψ⟩∣≤ϵ|\langle 1,\phi\rangle-\langle 1,\psi\rangle|\leq\epsilon as well. Also, ∣⟨μ,ϕ−ψ⟩∣≤⟨μ,H⟩|\langle\mu,\phi-\psi\rangle|\leq\langle\mu,H\rangle. Therefore, it remains to estimate the probability that ⟨μ,H⟩>2ϵ\langle\mu,H\rangle>2\epsilon. Lemma 5.2 with λ=ϵ\lambda=\epsilon and C=RC=R implies that the probability that ⟨μ−1,H⟩>ϵ\langle\mu-1,H\rangle>\epsilon is at most 2exp⁡(−ϵ2p∣X∣/3R2)2\exp(-\epsilon^{2}p|X|/3R^{2}). Therefore, with probability at least 1−2exp⁡(−ϵ2p∣X∣/3R2)1-2\exp(-\epsilon^{2}p|X|/3R^{2}), ⟨μ,H⟩≤2ϵ\langle\mu,H\rangle\leq 2\epsilon. The result follows. □\Box

If we use Lemma 6.1 and Lemma 6.2 in combination, then we can show the following result.

Let HH be a non-negative function defined on XX such that ∥H∥1≤ϵ\|H\|_{1}\leq\epsilon and ∥H∥∞≤R\|H\|_{\infty}\leq R. Let U=XpU=X_{p} and let μ\mu be the associated measure of UU. Let Γ\Gamma and Δ\Delta be two sets of functions and suppose that for every ϕ∈Γ\phi\in\Gamma there exists ψ\psi in the convex hull of Δ\Delta such that ∣ϕ−ψ∣≤H|\phi-\psi|\leq H. Then

with probability at least 1−2exp⁡(−ϵ2p∣X∣/3R2)1-2\exp(-\epsilon^{2}p|X|/3R^{2}).

By Lemma 6.2, the probability is at least 1−2exp⁡(−ϵ2p∣X∣/3R2)1-2\exp(-\epsilon^{2}p|X|/3R^{2}) that ∣⟨μ−1,ϕ⟩−⟨μ−1,ψ⟩∣≤3ϵ|\langle\mu-1,\phi\rangle-\langle\mu-1,\psi\rangle|\leq 3\epsilon whenever ∣ϕ−ψ∣≤H|\phi-\psi|\leq H. By the easy direction of Lemma 6.1, ∣⟨μ−1,ψ⟩∣≤max⁡{∣⟨μ−1,ψ′⟩∣:ψ′∈Δ}|\langle\mu-1,\psi\rangle|\leq\max\{|\langle\mu-1,\psi^{\prime}\rangle|:\psi^{\prime}\in\Delta\} for every ψ\psi in the convex hull of Δ\Delta. This proves the result. □\Box

How do we define an appropriate set of functions Δ\Delta? A simple observation gets us close to the set we need, but we shall need to make a definition before we can explain it.

Let 0<q≤p≤10<q\leq p\leq 1, U=XpU=X_{p} and let V=Uq/pV=U_{q/p}. Let μ\mu be the associated measure of UU and let ν\nu be the associated measure of VV considered as a set distributed as XqX_{q}. Let ff be a function with 0≤f≤μ0\leq f\leq\mu. Then the normalized restriction fνf_{\nu} of ff to VV is the function defined by taking fν(x)=(p/q)f(x)f_{\nu}(x)=(p/q)f(x) if x∈Vx\in V and 0 otherwise.

The normalization is chosen to give us the following easy lemma. Note that the expectation below is a “probabilistic” expectation rather than a mere average over a finite set.

This lemma expresses ff as a convex combination of normalized restrictions, which is potentially useful to us, since if q/pq/p is a small constant, then a typical contribution to this convex combination comes from a restriction to a set that is quite a lot smaller than UU. That will allow us to find a small net for the set of all possible restrictions, whose convex hull can then be used to approximate the set of all possible functions ff with 0≤f≤μ0\leq f\leq\mu.

Furthermore, we can use Lemma 6.5 to write convolutions and products of convolutions as convex combinations as well, as the next lemma easily implies. The lemma itself is very easy, so we omit the proof.

The rough idea, and the third main idea of the paper, is to rewrite every product of convolutions as an average of products of basic anti-uniform functions built out of normalized restrictions. Since there are “fewer” of these, we will have fewer events that need to hold. We must, however, be careful when we apply this idea. For a start, we cannot afford to let qq become too small. If qq is too small, then, given associated measures ν2,…,νk\nu_{2},\dots,\nu_{k} of sets distributed as XqX_{q}, we can no longer guarantee that the convolutions ∗1(ν2,⋯ ,νk)*_{1}(\nu_{2},\cdots,\nu_{k}) are sufficiently well-behaved for our purposes. Even when we choose qq to be large enough, there will still be certain rogue choices of sets. However, for qq sufficiently large, we can take care of these rogue sets by averaging and showing that they make a small contribution. Thus, there is a delicate balance involved: qq has to be small enough to give rise to a small class of functions, but large enough for these functions to have the properties required of them.

We shall need the following piece of notation to do this. Suppose that the elements of the set XX are ordered in some arbitrary way as x1,⋯ ,xnx_{1},\cdots,x_{n}, say. Then, given a subset V={xj1,…,xjl}V=\{x_{j_{1}},\dots,x_{j_{l}}\} of XX and an integer aa between 00 and n−1n-1, we define the set V+aV+a to be the set formed by translating the indices by aa. That is, V+a={xj1+a,…,xjl+a}V+a=\{x_{j_{1}+a},\dots,x_{j_{l}+a}\} where the sums are taken modulo nn. (This “translation” operation has no mathematical significance: it just turns out to be a convenient way of defining a small collection of sets.)

where for h>jh>j the set VhV_{h} is distributed as (Uih)q/p(U_{i_{h}})_{q/p}. There is one practical caveat, in that this identity holds when ω1,…,ωj−1\omega_{1},\dots,\omega_{j-1} are characteristic measures, but it is more natural for us to deal with associated measures. However, if we assume that W1,…,Wj−1W_{1},\dots,W_{j-1} were chosen with probability qq and ∣Wi∣=(1+o(1))q∣X∣|W_{i}|=(1+o(1))q|X|, then the distinction vanishes and the identity above holds (up to a o(1)o(1) term) with associated measures rather than characteristic ones.

This observation is encouraging, because it represents the convolution ∗j(g,…,g,fj+1,…,fk)*_{j}(g,\dots,g,f_{j+1},\dots,f_{k}) as an average of convolutions from a small class of functions. However, it certainly does not solve our problems completely, since we need a statement about capped convolutions. Of course, it would be very surprising if it did solve our problems, since so far we have not said anything about the size of qq and the sets W1,…,Wj−1W_{1},\dots,W_{j-1}. In order to transfer the trivial observation above from convolutions to capped convolutions, we shall need qq to be sufficiently large and the WiW_{i} to be “sufficiently random”.

First, let us describe two properties that are closely related to the properties P1 and P2 defined earlier, and discuss how they are related. The properties will apply to a sequence of measures ν1,…,νj−1,νj+1,…,νk\nu_{1},\dots,\nu_{j-1},\nu_{j+1},\dots,\nu_{k} and parameters η>0\eta>0 and j≤kj\leq k.

∥∗j(ν1,…,νj−1,νj+1,…,νk)−∘j(ν1,…,νj−1,νj+1,…,νk)∥1≤η.\|*_{j}(\nu_{1},\dots,\nu_{j-1},\nu_{j+1},\dots,\nu_{k})-\circ_{j}(\nu_{1},\dots,\nu_{j-1},\nu_{j+1},\dots,\nu_{k})\|_{1}\leq\eta.

∥∗j(1,…,1,νj+1,…,νk)∥∞≤2.\|*_{j}(1,\dots,1,\nu_{j+1},\dots,\nu_{k})\|_{\infty}\leq 2.

The main difference between these new properties and the properties P1 and P2 is that we are not quantifying over a whole set of sequences. For example, P1 is the property that Q1 holds with j=1j=1 for every sequence (μi2,…,μik)(\mu_{i_{2}},\dots,\mu_{i_{k}}) taken from a sequence (μ1,…,μm)(\mu_{1},\dots,\mu_{m}).

A less obvious difference is that, while we are ultimately interested in obtaining properties of the measures μ1,…,μm\mu_{1},\dots,\mu_{m}, we shall deduce these from probabilistic statements about typical sequences of measures ν1,…,νk\nu_{1},\dots,\nu_{k} chosen binomially with a smaller probability. This will be illustrated by the main result of this section.

Let us define what we mean by “sufficiently random” and then show that what we need can be obtained if Q1 holds with sufficiently high probability for suitable η\eta. The next definition highlights the property that we want to get out of the sufficient randomness: that capped convolutions should be pretty similar to actual convolutions.

The randomness property we need of our sets WiW_{i} is roughly speaking that almost all sequences of sets that appear in the averages we consider satisfy Q1 for some small η\eta. That will allow us to prove a statement about capped convolutions, because almost all the convolutions that appear in the average in the observation above can then be approximated by their capped counterparts. Here is the formal definition.

Let η>0\eta>0 be a real number, let 0<q≤p≤10<q\leq p\leq 1 and let W1,…,Wj−1W_{1},\dots,W_{j-1} and Zj+1,…,ZkZ_{j+1},\dots,Z_{k} be subsets of XX. We say that W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random if ∣Wh∣=(1+o(1))q∣X∣|W_{h}|=(1+o(1))q|X| for every h<jh<j, ∣Zh∣=(1+o(1))p∣X∣|Z_{h}|=(1+o(1))p|X| for every h>jh>j and, if ω1,…,ωj−1\omega_{1},\dots,\omega_{j-1} are the associated measures of W1,…,Wj−1W_{1},\dots,W_{j-1} defined with weight q−1q^{-1}, then the following statement holds.

Strictly speaking, the definition of sufficient randomness depends on the parameters η\eta, pp and qq, but these will be clear from the context.

Our next main lemma says that if Q1 holds with sufficiently high probability, then the probability that W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random, if we choose them independently at random in a suitable way, is also close to 11.

Suppose that if ν1,…,νk\nu_{1},\dots,\nu_{k} are the associated measures of sets V1,…,VkV_{1},\dots,V_{k}, each chosen binomially with probability q≥p0q\geq p_{0}, then property Q1 holds with probability 1−o(∣X∣−k)1-o(|X|^{-k}). For 1≥p≥q≥p01\geq p\geq q\geq p_{0}, let W1,…,Wj−1W_{1},\dots,W_{j-1} be independent random subsets of XX with each Wh=XqW_{h}=X_{q}, and let Zj+1,…,ZkZ_{j+1},\dots,Z_{k} be independent random sets with each Zh=XpZ_{h}=X_{p}. Then the probability that W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random is 1−o(1)1-o(1).

Let their associated measures be ω1+a1,…,ωj−1+aj−1,νj+1,…,νk\omega_{1}+a_{1},\dots,\omega_{j-1}+a_{j-1},\nu_{j+1},\dots,\nu_{k}. Then, since q≥p0q\geq p_{0}, our assumption tells us that this sequence of measures satisfies Q1 with probability 1−o(∣X∣−k)1-o(|X|^{-k}). Therefore, with probability 1−o(1)1-o(1), when we choose the WiW_{i} and the ZiZ_{i}, the probability that the sequence ω1+a1,…,ωj−1+aj−1,νj+1,…,νk\omega_{1}+a_{1},\dots,\omega_{j-1}+a_{j-1},\nu_{j+1},\dots,\nu_{k} satisfies Q1, conditional on that choice of the WiW_{i} and ZiZ_{i}, is at least 1−o(∣X∣−k)1-o(|X|^{-k}). Hence, W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random with probability 1−o(1)1-o(1), as claimed. □\Box

In particular, if Zj+1,…,ZkZ_{j+1},\dots,Z_{k} are binomial random subsets of XX, each chosen with probability pp, then, with high probability, there is a choice of sets W1,…,Wj−1W_{1},\dots,W_{j-1} such that W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random.

2 The proof for basic anti-uniform functions

Suppose that Lq=p≥q≥p0Lq=p\geq q\geq p_{0} for some large constant LL. It will be by choosing this constant LL to be large enough that we will make our trick of using normalized restrictions work. Throughout this section, we will assume that η>0\eta>0 is some parameter yet to be specified, and Zj+1,…,ZkZ_{j+1},\dots,Z_{k} is a sequence of sets, with associated measures ζj+1,…,ζk\zeta_{j+1},\dots,\zeta_{k} defined with weight p−1p^{-1}, such that

If j=1j=1, then Q1 holds for the sequence of measures (ζ2,…,ζk)(\zeta_{2},\dots,\zeta_{k}).

If j>1j>1, then Q2 holds for the sequence of measures (ζj+1,…,ζk)(\zeta_{j+1},\dots,\zeta_{k}).

There exist sets W1,…,Wj−1W_{1},\dots,W_{j-1} such that W1,…,Wj−1,Zj+1,…,ZkW_{1},\dots,W_{j-1},Z_{j+1},\dots,Z_{k} are sufficiently random (with parameters jj and η\eta).

In the remainder of the section, we will show that if conditions (i), (ii) and (iii) hold (with parameters jj and η\eta for suitable η\eta), then the set of basic anti-uniform functions defined using ζj+1,…,ζk\zeta_{j+1},\dots,\zeta_{k} has a small net. To be more precise, we need some definitions. In what follows, we will write ωh,a\omega_{h,a} for the associated measure of Wh+aW_{h}+a (or, more accurately, the translate by aa of the associated measure ωh\omega_{h} of WhW_{h}), where again these associated measures are defined with weight q−1q^{-1}. We will also write ωh,a′\omega^{\prime}_{h,a} for the characteristic measure of Wh+aW_{h}+a.

Let Φ(ζj+1,…,ζk)\Phi(\zeta_{j+1},\dots,\zeta_{k}) be the set of functions ∘j(g,…,g,fj+1,…,fk)\circ_{j}(g,\dots,g,f_{j+1},\dots,f_{k}), where 0≤g≤10\leq g\leq 1 and 0≤fh≤ζh0\leq f_{h}\leq\zeta_{h} for each h>jh>j. Let Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}) be the set of functions ∘j(f1,…,fj−1,fj+1,…,fk)\circ_{j}(f_{1},\dots,f_{j-1},f_{j+1},\dots,f_{k}) such that the constituent functions fhf_{h} have the following properties. If h<jh<j, then 0≤fh≤ωh,a′0\leq f_{h}\leq\omega^{\prime}_{h,a} for some aa, and if h>jh>j then 0≤fh≤νh0\leq f_{h}\leq\nu_{h}, where νh\nu_{h} is the associated measure, defined with weight q−1q^{-1}, of some set Vh∈(Zh)q/pV_{h}\in(Z_{h})_{q/p} such that ∣Vh∣≤2q∣X∣|V_{h}|\leq 2q|X|.

We shall now show that every function in Φ(ζj+1,…,ζk)\Phi(\zeta_{j+1},\dots,\zeta_{k}) can be approximated by a convex combination of functions in Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}). This will be very useful to us, because Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}) is a much “smaller” set than Φ(ζj+1,…,ζk)\Phi(\zeta_{j+1},\dots,\zeta_{k}). However, we need to be rather careful about precisely what we mean by “can be approximated by”.

Let LL and α<1\alpha<1 be positive constants. If η\eta is sufficiently small (depending on α\alpha) and ∣X∣|X| is sufficiently large (depending on LL and α\alpha), then there is a non-negative function HH such that ∥H∥1≤α\|H\|_{1}\leq\alpha, ∥H∥∞≤2\|H\|_{\infty}\leq 2, and, for every function ∘j(g,…,g,fj+1,…,fk)∈Φ(ζj+1,…,ζk)\circ_{j}(g,\dots,g,f_{j+1},\dots,f_{k})\in\Phi(\zeta_{j+1},\dots,\zeta_{k}), there exists a function σ\sigma in the convex hull of Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}) such that

Let us choose a random function ψ∈Ψ(ζj+1,…,ζk)\psi\in\Psi(\zeta_{j+1},\dots,\zeta_{k}) as follows. Suppose that W1,…,Wj−1W_{1},\dots,W_{j-1} are the sets given by condition (iii) and that for each hh the associated measure of WhW_{h} is ωh\omega_{h} (as in the definition of sufficient randomness). We start by choosing a random sequence (ω1′,…,ωj−1′,νj+1,…,νk)(\omega^{\prime}_{1},\dots,\omega^{\prime}_{j-1},\nu_{j+1},\dots,\nu_{k}). Here, each ωh′\omega^{\prime}_{h} is chosen uniformly at random from the ∣X∣|X| measures ωh,a′\omega^{\prime}_{h,a} and each νh\nu_{h} is the associated measure of a set VhV_{h}, where the sets VhV_{h} are independent and distributed as (Zh)q/p(Z_{h})_{q/p}. We then let ψ\psi be the function

if every VhV_{h} has size at most 2q∣X∣2q|X|, and the zero function otherwise. Finally, we take σ\sigma to be the expectation of ψ\psi, which is certainly a convex combination of functions in Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}).

Let us begin with the first inequality. Here we shall prove the slightly stronger result that the inequality holds even if we take ψ=∘j(gω1′,…,gωj−1′,(fj+1)νj+1,…,(fk)νk)\psi=\circ_{j}(g_{\omega^{\prime}_{1}},\dots,g_{\omega^{\prime}_{j-1}},(f_{j+1})_{\nu_{j+1}},\dots,(f_{k})_{\nu_{k}}) for all choices of VhV_{h} (rather than setting it to be zero when one of the VhV_{h} is too large).

Since TT is a concave function, the result follows from Jensen’s inequality.

if every VhV_{h} has size at most 2q∣X∣2q|X|, and ∗j(gω1′,…,gωj−1′,(fj+1)νj+1,…,(fk)νk)*_{j}(g_{\omega^{\prime}_{1}},\dots,g_{\omega^{\prime}_{j-1}},(f_{j+1})_{\nu_{j+1}},\dots,(f_{k})_{\nu_{k}}) otherwise.

If every VhV_{h} has size at most 2q∣X∣2q|X|, then τ≤S(∗j(ω1′,…,ωj−1′,νj+1,…,νk))\tau\leq S(*_{j}(\omega^{\prime}_{1},\dots,\omega^{\prime}_{j-1},\nu_{j+1},\dots,\nu_{k})), since SS is an increasing function. If there is some set VhV_{h} which is too large, then we use the bound

which follows since gωh′≤ωh′≤∣X∣∣Wh∣≤∣X∣g_{\omega^{\prime}_{h}}\leq\omega^{\prime}_{h}\leq\frac{|X|}{|W_{h}|}\leq|X| and (fh)νh≤νh≤(p/q)ζh≤q−1≤∣X∣(f_{h})_{\nu_{h}}\leq\nu_{h}\leq(p/q)\zeta_{h}\leq q^{-1}\leq|X| for every hh. Since, by Chernoff’s inequality, the probability that some one of the VhV_{h} has size larger than 2q∣X∣2q|X| is exponentially small in q∣X∣q|X|, the contribution of these bad terms is o(1)o(1) everywhere.

It remains to bound ∥H∥1\|H\|_{1}. Let η=α/4\eta=\alpha/4. The sufficient randomness assumption tells us that when we choose our random sequence (ω1,…,ωj−1,νj+1,…,νk)(\omega_{1},\dots,\omega_{j-1},\nu_{j+1},\dots,\nu_{k}), the probability that it satisfies Q1 is 1−o(∣X∣−k)1-o(|X|^{-k}). Since there are at most ∣X∣k|X|^{k} ways of choosing ω1,…,ωj−1\omega_{1},\dots,\omega_{j-1}, it follows that with probability 1−o(1)1-o(1), every single such choice results in a sequence that satisfies Q1. That is, we have the inequality

The condition that ∣Wi∣=(1+o(1))q∣X∣|W_{i}|=(1+o(1))q|X| implies that, for every 1≤i≤k1\leq i\leq k and every a∈∣X∣a\in|X|, ωi,a=(1+o(1))ωi,a′\omega_{i,a}=(1+o(1))\omega^{\prime}_{i,a}. Therefore, for ∣X∣|X| sufficiently large,

for any νj+1,…,νk\nu_{j+1},\dots,\nu_{k} such that every choice of ω1,…,ωj−1\omega_{1},\dots,\omega_{j-1} yields a sequence that satisfies Q1.

If νj+1,…,νk\nu_{j+1},\dots,\nu_{k} are such that there exists (a1,…,aj−1)(a_{1},\dots,a_{j-1}) for which (ω1,a1,…,ωj−1,aj−1,νj+1,…,νk)(\omega_{1,a_{1}},\dots,\omega_{j-1,a_{j-1}},\nu_{j+1},\dots,\nu_{k}) does not satisfy Q1, then we use a “trivial” bound instead. For each fixed choice of (Vj+1,…,Vk)(V_{j+1},\dots,V_{k}) we have

where the expectation here is taken over all sequences (a1,…,aj−1)(a_{1},\dots,a_{j-1}). The inequality follows from the fact that 0≤νh≤(p/q)ζh0\leq\nu_{h}\leq(p/q)\zeta_{h} for each ii. The constant η\eta is at most 1, so applying assumption (i) if j=1j=1, we find that

Similarly, applying assumption (ii) if j>1j>1, we have ∥∗j(1,…,1,ζj+1,…,ζk)∥1≤2\|*_{j}(1,\dots,1,\zeta_{j+1},\dots,\zeta_{k})\|_{1}\leq 2. In either case,

As ∣X∣|X| tends to infinity, the probability that the first bound does not hold for every (a1,…,aj−1)(a_{1},\dots,a_{j-1}) tends to zero, and the second bound always holds. Therefore, if ∣X∣|X| is sufficiently large, it follows that

where the expectation is taken over all sequences containing those νj+1,…,νk\nu_{j+1},\dots,\nu_{k} such that, for all choices of a1,…,aj−1a_{1},\dots,a_{j-1}, (ω1,a1,…,ωj−1,aj−1,νj+1,…,νk)(\omega_{1,a_{1}},\dots,\omega_{j-1,a_{j-1}},\nu_{j+1},\dots,\nu_{k}) satisfies Q1. The result follows. □\Box

What we have shown is not just that every element of Φ(ζj+1,…,ζk)\Phi(\zeta_{j+1},\dots,\zeta_{k}) can be approximated well in L1L_{1} and reasonably well in L∞L_{\infty} by a convex combination of elements of Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}), but rather the stronger statement that the difference is bounded above by a fixed bounded function with small L1L_{1}-norm. This will be important to us later.

The title of this section was “The set of basic anti-uniform functions has few extreme points.” That is an oversimplification: the next result is what we actually mean.

Let 0<α≤1/2k0<\alpha\leq 1/2k and L≥2L\geq 2 be a positive integer with p=Lqp=Lq. Then, for ∣X∣|X| sufficiently large depending on LL and α\alpha, the following holds. Let Zj+1,…,ZkZ_{j+1},\dots,Z_{k} be subsets of XX with associated measures ζj+1,…,ζk\zeta_{j+1},\dots,\zeta_{k} defined with weight p−1p^{-1}, and suppose that assumptions (i), (ii) and (iii) are satisfied. Then there is a collection Ψ′=Ψ′(ζj+1,…,ζk)\Psi^{\prime}=\Psi^{\prime}(\zeta_{j+1},\dots,\zeta_{k}) of at most ∣X∣k−1(2p∣X∣2q∣X∣)k−j(2/α)(k−1)2q∣X∣|X|^{k-1}\binom{2p|X|}{2q|X|}^{k-j}(2/\alpha)^{(k-1)2q|X|} functions that take values in $,andnon−negativefunctions, and non-negative functionsHandandH^{\prime}withwith\|H\|_{1}\leq\alpha,,\|H\|_{\infty}\leq 2,,\|H^{\prime}\|_{1}\leq 3\alpha(k-1)andand\|H^{\prime}\|_{\infty}\leq 2,suchthatforeveryfunction, such that for every function\phi=\circ_{j}(g,\dots,g,f_{j+1},\dots,f_{k})inin\Phi(\zeta_{j+1},\dots,\zeta_{k})thereisafunctionthere is a function\psiintheconvexhullofin the convex hull of\Psi^{\prime}withwith\psi\leq\phi\leq\psi+H+H^{\prime}$.

Choose a positive integer tt such that α/2≤t−1≤α\alpha/2\leq t^{-1}\leq\alpha. Then there exists a non-negative function g′g^{\prime} with 0≤g′≤10\leq g^{\prime}\leq 1 such that every value taken by g′g^{\prime} is a multiple of t−1t^{-1}, and such that 0≤g′≤g≤g′+α0\leq g^{\prime}\leq g\leq g^{\prime}+\alpha. Also, for every hh and every function fhf_{h} such that 0≤fh≤ζh0\leq f_{h}\leq\zeta_{h} there exists a function fh′f_{h}^{\prime} with 0≤fh′≤ζh0\leq f_{h}^{\prime}\leq\zeta_{h} taking values that are multiples of t−1ζht^{-1}\zeta_{h} such that 0≤fh′≤fh≤fh′+αζh0\leq f_{h}^{\prime}\leq f_{h}\leq f_{h}^{\prime}+\alpha\zeta_{h}.

We would now like to show, for any such choice of gg and fj+1,…,fkf_{j+1},\dots,f_{k}, that the functions ϕ=∘j(g,…,g,fj+1,…,fk)\phi=\circ_{j}(g,\dots,g,f_{j+1},\dots,f_{k}) and ϕ′=∘j(g′,…,g′,fj+1′,…,fk′)\phi^{\prime}=\circ_{j}(g^{\prime},\dots,g^{\prime},f_{j+1}^{\prime},\dots,f_{k}^{\prime}) are reasonably close. We shall consider the two cases j=1j=1 and j>1j>1 separately.

Since η≤1\eta\leq 1, assumption (i) implies that

so we find that ∘1(f2,…,fk)−∘1(f2′,…,fk′)\circ_{1}(f_{2},\dots,f_{k})-\circ_{1}(f_{2}^{\prime},\dots,f_{k}^{\prime}) is bounded above by a function H′H^{\prime} with L1L_{1}-norm at most 3α(k−1)3\alpha(k-1). It is clearly also bounded above by 2.

Lemma 6.10 gives us HH with ∥H∥1≤α\|H\|_{1}\leq\alpha, ∥H∥∞≤2\|H\|_{\infty}\leq 2, and also ψ∈Ψ(ζ2,…,ζk)\psi\in\Psi(\zeta_{2},\dots,\zeta_{k}) such that 0≤∘1(f2′,…,fk′)−ψ≤H0\leq\circ_{1}(f_{2}^{\prime},\dots,f_{k}^{\prime})-\psi\leq H. Putting these two facts together implies the required bounds on HH and H′H^{\prime} for the case j=1j=1.

If j>1j>1 then a very similar argument shows that

By assumption (ii), ∥∗j(1,…,1,ζj+1,…,ζk)∥∞≤2\|*_{j}(1,\dots,1,\zeta_{j+1},\dots,\zeta_{k})\|_{\infty}\leq 2, so in this case we have a function H′H^{\prime} with L∞L_{\infty}-norm at most 2α(k−1)≤22\alpha(k-1)\leq 2 and therefore with L1L_{1}-norm at most 2α(k−1)2\alpha(k-1).

All that remains is to count the number of functions in Ψ(ζj+1,…,ζk)\Psi(\zeta_{j+1},\dots,\zeta_{k}) that are normalized restrictions of functions of the form ∘j(g′,…,g′,fj+1′,…,fk′)\circ_{j}(g^{\prime},\dots,g^{\prime},f_{j+1}^{\prime},\dots,f_{k}^{\prime}). It is here that we shall use the assumption that the sets ZhZ_{h} each have cardinality (1+o(1))p∣X∣≤2p∣X∣(1+o(1))p|X|\leq 2p|X|. There are at most ∣X∣j−1|X|^{j-1} choices for the set (a1,…,aj−1)(a_{1},\dots,a_{j-1}), and for each j+1≤i≤kj+1\leq i\leq k, because of the upper bound on the sizes of the ZiZ_{i} and ViV_{i}, there are at most ∣X∣(2p∣X∣2q∣X∣)|X|\binom{2p|X|}{2q|X|} choices for the set ViV_{i}. (Note that since p=Lq≥2qp=Lq\geq 2q, the largest binomial coefficient is indeed this one.) Finally, each valuation of each function has at most t≤2/αt\leq 2/\alpha possible results and each of the k−1k-1 functions has a domain of size at most 2q∣X∣2q|X|. Therefore, the number of normalized restrictions is at most

3 The proof for products of basic anti-uniform functions

To connect the results of the previous subsection with basic anti-uniform functions, take a sequence U1,…,UmU_{1},\dots,U_{m} of subsets of XX with associated measures μ1,…,μm\mu_{1},\dots,\mu_{m}. Then, for each jj and each sequence (ij+1,…,ik)(i_{j+1},\dots,i_{k}) of distinct indices between 1 and mm, we shall apply the results with Zh=UihZ_{h}=U_{i_{h}} and ζh=μih\zeta_{h}=\mu_{i_{h}}. Then the functions in the set Φ(ζj+1,…,ζk)\Phi(\zeta_{j+1},\dots,\zeta_{k}) are basic anti-uniform functions.

In this section, it will be clear that we are talking about measures μ1,…,μm\mu_{1},\dots,\mu_{m}, and therefore it will be convenient to write Φ(ij+1,…,ik)\Phi(i_{j+1},\dots,i_{k}) and Ψ(ij+1,…,ik)\Psi(i_{j+1},\dots,i_{k}) instead of Φ(μij+1,…,μik)\Phi(\mu_{i_{j+1}},\dots,\mu_{i_{k}}) and Ψ(μij+1,…,μik)\Psi(\mu_{i_{j+1}},\dots,\mu_{i_{k}}).

Our next task is to generalize Lemma 6.11 to a result that applies not just to basic anti-uniform functions but also to products of at most dd such functions. This is a formal consequence of Lemma 6.11. The exact nature of the bounds we obtain for ∥J∥1\|J\|_{1} and ∥J∥∞\|J\|_{\infty} is unimportant: what matters is that the first can be made arbitrarily small and the second is bounded. We need a definition.

If ϕ∈Φ(ij+1,…,ik)\phi\in\Phi(i_{j+1},\dots,i_{k}), then define the profile of ϕ\phi to be the ordered set (ij+1,…,ik)(i_{j+1},\dots,i_{k}), and if ξ\xi is a product of dd basic anti-uniform functions ϕh\phi_{h}, then define the profile of ξ\xi to be the set of all dd profiles of the ϕh\phi_{h}. We will refer to dd as the size of the profile.

Let 0<α≤1/2k0<\alpha\leq 1/2k and L≥2L\geq 2 be a positive integer with p=Lqp=Lq. Then, for ∣X∣|X| sufficiently large depending on LL and α\alpha, the following holds. Suppose that AA is a profile of size dd and, for every (ij+1,…,ik)(i_{j+1},\dots,i_{k}) in AA, the sets Uij+1,…,UikU_{i_{j+1}},\dots,U_{i_{k}} satisfy assumptions (i), (ii) and (iii). Then there is a collection Δ=Δ(A)\Delta=\Delta(A) of at most ∣X∣kd(2p∣X∣2q∣X∣)kd(2/α)2kdq∣X∣|X|^{kd}\binom{2p|X|}{2q|X|}^{kd}(2/\alpha)^{2kdq|X|} functions that take values in [0,2d][0,2^{d}] and a non-negative function J=J(A)J=J(A) with ∥J∥1≤dαk6d\|J\|_{1}\leq d\alpha k6^{d} and ∥J∥∞≤d6d\|J\|_{\infty}\leq d6^{d}, such that for every function ξ\xi that is a product of basic anti-uniform functions with profile AA, there is a function ψ\psi in the convex hull of Δ\Delta with ψ≤ξ≤ψ+J\psi\leq\xi\leq\psi+J.

Every function ξ\xi with profile AA is a product ϕ1…ϕd\phi_{1}\dots\phi_{d}, where each ϕi\phi_{i} is a basic anti-uniform function with some fixed profile. That is, each ϕi\phi_{i} belongs to a fixed set of the form Φ(ij+1,…,ik)\Phi(i_{j+1},\dots,i_{k}). By Lemma 6.11 we can find ψi\psi_{i} such that ψi≤ϕi≤ψi+Ji\psi_{i}\leq\phi_{i}\leq\psi_{i}+J_{i}, where ψi\psi_{i} belongs to the convex hull of a set Ψi′\Psi^{\prime}_{i} of size at most ∣X∣k(2p∣X∣2q∣X∣)k(2/α)2kq∣X∣|X|^{k}\binom{2p|X|}{2q|X|}^{k}(2/\alpha)^{2kq|X|}, and JiJ_{i} is a fixed function such that ∥Ji∥∞≤4\|J_{i}\|_{\infty}\leq 4 and ∥Ji∥1≤4αk\|J_{i}\|_{1}\leq 4\alpha k.

It follows that ∏iψi≤ξ≤∏i(ψi+Ji)\prod_{i}\psi_{i}\leq\xi\leq\prod_{i}(\psi_{i}+J_{i}). But

Since each ψi\psi_{i} has L∞L_{\infty}-norm at most 22, the latter function has L1L_{1}-norm at most dαk6dd\alpha k6^{d} and L∞L_{\infty}-norm at most d6dd6^{d}, as claimed. □\Box

We are now ready for the main result of this section. It will be convenient once again to give names to certain assumptions.

If Z1,…,ZkZ_{1},\dots,Z_{k} are chosen independently from XrX_{r} and their associated measures are ζ1,…,ζk\zeta_{1},\dots,\zeta_{k}, then ∥∗j(ζ1,…,ζj−1,ζj+1,…,ζk)−∘j(ζ1,…,ζj−1,ζj+1,…,ζk)∥1≤η\|*_{j}(\zeta_{1},\dots,\zeta_{j-1},\zeta_{j+1},\dots,\zeta_{k})-\circ_{j}(\zeta_{1},\dots,\zeta_{j-1},\zeta_{j+1},\dots,\zeta_{k})\|_{1}\leq\eta with probability 1−o(∣X∣−k)1-o(|X|^{-k}).

With the notation as in R1, the probability that ∥∗j(1,…,1,ζj+1,…,ζk)∥∞≤2\|*_{j}(1,\dots,1,\zeta_{j+1},\dots,\zeta_{k})\|_{\infty}\leq 2 for every j≥2j\geq 2 is 1−o(1)1-o(1).

Note that R1(r,jr,j) is saying that Q1 holds with high probability, and R2(rr) is saying that Q2 holds with high probability for every jj (when the νi\nu_{i} are the associated measures of random sets from XrX_{r}).

For any positive constant λ\lambda and positive integer dd, there exist η,m\eta,m and LL such that the following holds. Let 0<p0≤1/L0<p_{0}\leq 1/L and suppose that assumptions R1(r,jr,j) and R2(rr) hold for every jj and for every r≥p0r\geq p_{0}. Let p≥Lp0p\geq Lp_{0}, let U1,…,UmU_{1},\dots,U_{m} be chosen independently from XpX_{p}, and let μ1,…,μm\mu_{1},\dots,\mu_{m} be their associated measures. Then, with probability 1−o(1)1-o(1), they satisfy property P3. That is, setting μ=m−1(μ1+⋯+μm)\mu=m^{-1}(\mu_{1}+\dots+\mu_{m}), ∣⟨μ−1,ξ⟩∣<λ|\langle\mu-1,\xi\rangle|<\lambda whenever ξ\xi is a product of at most dd basic anti-uniform functions from Φμ,1\Phi_{\mu,1}.

Let AA be a profile and suppose that ii is not involved in AA. Let Γ=Γ(A)\Gamma=\Gamma(A) be the set of all products of at most dd basic anti-uniform functions with profile AA. Let q=p/Lq=p/L for a constant LL yet to be determined. By assumption R1(q,jq,j), Lemma 6.8 implies that for every sequence (ij+1,…,ik)(i_{j+1},\dots,i_{k}), the probability that assumption (iii) holds with parameters pp and qq for the sets Uij+1,…,UikU_{i_{j+1}},\dots,U_{i_{k}} is 1−o(1)1-o(1). Therefore, the probability that it holds for all jj and all sequences (ij+1,…,ik)(i_{j+1},\dots,i_{k}) in the profile AA is also 1−o(1)1-o(1). By assumptions R1(p,1p,1) and R2(pp), we also know that assumptions (i) and (ii) hold with probability 1−o(1)1-o(1) for any given (ij+1,…,ik)(i_{j+1},\dots,i_{k}) and, therefore, for all (ij+1,…,ik)(i_{j+1},\dots,i_{k}) in the profile AA.

We may therefore apply Corollary 6.13 to conclude that there exists a set Δ=Δ(A)\Delta=\Delta(A) of at most ∣X∣kd(2p∣X∣2q∣X∣)kd(2/α)2kdq∣X∣|X|^{kd}\binom{2p|X|}{2q|X|}^{kd}(2/\alpha)^{2kdq|X|} functions such that, for every function ξ∈Γ\xi\in\Gamma, there exists ψ\psi in Δ\Delta with ∣ξ−ψ∣≤H|\xi-\psi|\leq H, where ∥H∥1≤dαk6d\|H\|_{1}\leq d\alpha k6^{d} and ∥H∥∞≤d6d\|H\|_{\infty}\leq d6^{d}. If we let α=λ/12kd6d\alpha=\lambda/12kd6^{d}, Corollary 6.3 implies that, with probability 1−o(1)1-o(1),

Note that this step depends critically on the fact that μi\mu_{i} is entirely independent of the set Δ(A)\Delta(A). It was for this purpose that we chose mm random sets U1,…,UmU_{1},\dots,U_{m} rather than one single random set UU. This observation is also important in the next step, which is to prove that max⁡{∣⟨μi−1,ψ′⟩∣:ψ′∈Δ}≤λ/4\max\{|\langle\mu_{i}-1,\psi^{\prime}\rangle|:\psi^{\prime}\in\Delta\}\leq\lambda/4 with probability 1−o(1)1-o(1).

By Lemma 5.2, since ∥ψ′∥∞≤2d\|\psi^{\prime}\|_{\infty}\leq 2^{d} for all ψ′∈Δ\psi^{\prime}\in\Delta, the probability that ∣⟨μi−1,ψ′⟩∣>λ/4|\langle\mu_{i}-1,\psi^{\prime}\rangle|>\lambda/4 is at most 2exp⁡(−λ2p∣X∣/22d+10)2\exp(-\lambda^{2}p|X|/2^{2d+10}) for any given ψ′\psi^{\prime}. Since p=Lqp=Lq, we may estimate the number of elements in Δ(A)\Delta(A) as follows.

If we choose LL sufficiently large (depending on k,dk,d and λ\lambda), then we can arrange for the sum of the probabilities, which is at most 2exp⁡(−λ2p∣X∣/22d+10)∣Δ(A)∣2\exp(-\lambda^{2}p|X|/2^{2d+10})|\Delta(A)|, to be o(1)o(1).

We are almost done. We now wish to prove a result about μ=m−1(μ1+⋯+μm)\mu=m^{-1}(\mu_{1}+\dots+\mu_{m}). Applying our result so far to all profiles simultaneously, we find that with probability 1−o(1)1-o(1), ∣⟨μi−1,ξ⟩∣≤λ/2|\langle\mu_{i}-1,\xi\rangle|\leq\lambda/2 for every μi\mu_{i} and ξ\xi such that ii is not involved in the profile of ξ\xi. Fix a particular ξ0\xi_{0}. If we choose ii at random, the probability that it is involved in the profile of ξ0\xi_{0} is at most (k−1)d/m(k-1)d/m. Furthermore, for any ii, we have the trivial bound ∣⟨μi−1,ξ0⟩∣≤2d+2|\langle\mu_{i}-1,\xi_{0}\rangle|\leq 2^{d+2}, since ∥ξ0∥∞≤2d\|\xi_{0}\|_{\infty}\leq 2^{d} and, for ∣X∣|X| sufficiently large, ∥μi−1∥1≤3\|\mu_{i}-1\|_{1}\leq 3. Therefore,

provided m≥kd2d+3/λm\geq kd2^{d+3}/\lambda. The result follows. □\Box

4 Obtaining P3′ as well

It is possible to add a fixed set of bounded functions F\mathcal{F} to the collection of basic anti-uniform functions, provided only that this set has size smaller than 2p∣X∣/L02^{p|X|/L_{0}}, where L0L_{0} is again some constant depending only on kk, λ\lambda and dd, and the above proof continues to work. Indeed, adding such a collection can increase the size of the set of products of basic anti-uniform functions by a factor of at most 2dp∣X∣/L02^{dp|X|/L_{0}}. Therefore, when we come to the final line of the penultimate paragraph of the proof of the previous lemma, provided L0L_{0} and LL have been chosen small enough, the probability that the random measure μi\mu_{i} correlates with any given function is still small enough to guarantee that with high probability max⁡{∣⟨μi−1,ψ′⟩∣:ψ′∈Γ′}≤λ/4\max\{|\langle\mu_{i}-1,\psi^{\prime}\rangle|:\psi^{\prime}\in\Gamma^{\prime}\}\leq\lambda/4, where Γ′\Gamma^{\prime} is the set of functions formed from products of at most dd characteristic functions from F\mathcal{F} and basic anti-uniform functions whose profile does not involve μi\mu_{i}. The remainder of the proof is the same, in that we add over all profiles and rule out the set of small exceptions where the set UiU_{i} is involved in the profile of ξ\xi.

Later, when we come to apply this observation, F\mathcal{F} will be a collection of characteristic functions. For example, to prove a stability version of Turán’s theorem, the set F\mathcal{F} will be the collection of characteristic measures of vertex subsets of {1,…,n}\{1,\dots,n\}. This has size 2n2^{n}. Therefore, provided p≥Cn−1p\geq Cn^{-1}, for CC sufficiently large, we will have control over local densities.

Probabilistic estimates I: tail estimates

In this section, we shall focus on showing that property P2 holds with high probability. That is, we shall show that under suitable conditions, with high probability ∥∗j(1,1,…,1,μij+1,…,μik)∥∞≤2\|*_{j}(1,1,\dots,1,\mu_{i_{j+1}},\dots,\mu_{i_{k}})\|_{\infty}\leq 2 for every j≥2j\geq 2 and every sequence ij+1,…,iki_{j+1},\dots,i_{k} of distinct integers between 1 and mm. It will be helpful for the next section if we actually prove the following very slightly more general statement. For every 1≤j≤k1\leq j\leq k, every collection of measures ν1,…,νk\nu_{1},\dots,\nu_{k} such that at least one of the measures other than νj\nu_{j} is the constant measure 1 and the rest are distinct measures of the form μij\mu_{i_{j}} has the property that ∥∗j(ν1,…,νk)∥∞≤32\|*_{j}(\nu_{1},\dots,\nu_{k})\|_{\infty}\leq\frac{3}{2}.

Up to now, our argument has been general. Unfortunately, we must now be more specific about the kind of sets that we are dealing with. We shall split into two cases. First, we shall look at systems SS with the following property.

A system SS of ordered sequences of length kk in a set XX has two degrees of freedom if, whenever ss and tt are two elements of SS and there exist i≠ji\neq j such that si=tis_{i}=t_{i} and sj=tjs_{j}=t_{j}, we have s=ts=t.

After that, we will look at graphs and hypergraphs. In this case, the required estimates are much more difficult. Thankfully, most of the hard work has already been done for us by Janson, Ruciński and, in one paper, Oleszkiewicz (see also the paper of Vu, ). We shall return to these estimates later.

Let U1,…,UmU_{1},\dots,U_{m} be independent random sets chosen binomially and let their associated measures be μ1,…,μm\mu_{1},\dots,\mu_{m}. We are interested in quantities of the form ∗j(ν1,…,νk)(x)*_{j}(\nu_{1},\dots,\nu_{k})(x), where each νi\nu_{i} (with i≠ji\neq j) is equal to either the constant function 1 or to one of the measures μr\mu_{r}. We also insist that no two of the νi\nu_{i} are equal to the same μr\mu_{r} and that at least one of the νi\nu_{i} is the constant function.

Suppose that the set of ii such that νi\nu_{i} is one of the μr\mu_{r} is {a1,…,al}\{a_{1},\dots,a_{l}\} and that νah=μbh\nu_{a_{h}}=\mu_{b_{h}} for h=1,2,…,lh=1,2,\dots,l. Then we can interpret ∗j(ν1,…,νk)(x)*_{j}(\nu_{1},\dots,\nu_{k})(x) as follows. Recall that Sj(x)S_{j}(x) is the set of all s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that sj=xs_{j}=x. Then ∗j(ν1,…,νk)(x)*_{j}(\nu_{1},\dots,\nu_{k})(x) is equal to p−lp^{-l} times the proportion of s∈Sj(x)s\in S_{j}(x) such that sah∈Ubhs_{a_{h}}\in U_{b_{h}} for every h=1,…,lh=1,\dots,l. This is because νah(sah)=p−1\nu_{a_{h}}(s_{a_{h}})=p^{-1} if sah∈Ubhs_{a_{h}}\in U_{b_{h}} and 0 otherwise.

Now let us regard sequences s∈Ss\in S as fixed and U1,…,UmU_{1},\dots,U_{m} as random variables. For each ss, let E(s)E(s) be the event that sah∈Ubhs_{a_{h}}\in U_{b_{h}} for every h=1,…,lh=1,\dots,l (so E(s)E(s) is an event that depends on U1,…,UmU_{1},\dots,U_{m}). We claim that if ss and tt are distinct sequences in Sj(x)S_{j}(x), then E(s)E(s) and E(t)E(t) are independent. The reason for this is that we know that sj=tjs_{j}=t_{j}, and our assumption that SS has two degrees of freedom therefore implies that there is no other ii such that si=tis_{i}=t_{i}. It follows that the events sah∈Ubhs_{a_{h}}\in U_{b_{h}} and tah∈Ubht_{a_{h}}\in U_{b_{h}} are independent (since the sets UiU_{i} are chosen binomially) and hence that E(s)E(s) and E(t)E(t) are independent (since the sets Ub1,…,UblU_{b_{1}},\dots,U_{b_{l}} are independent).

Let χi\chi_{i} be the characteristic function of UiU_{i}. Suppose that L={a1,…,al}L=\{a_{1},\dots,a_{l}\}. Then

2 The proof for strictly balanced graphs and hypergraphs

We now turn to the more difficult case of finding copies of a fixed balanced graph or hypergraph. Again, we are trying to show that ∗j(ν1,…,νk)(x)*_{j}(\nu_{1},\dots,\nu_{k})(x) is reasonably close to 1 with very high probability, but now this quantity is a normalized count of certain graphs or hypergraphs. Normally when one has a large deviation inequality, one expects the probability of large deviations to be exponentially small in the expectation. In the graph case a theorem of roughly this variety may be proved for the lower tail by using Janson’s inequality , but the behaviour of the upper tail is much more complex. The best that can be achieved is a fixed power of the expectation. The result that we shall use in this case is due to Janson and Ruciński . Before we state it, we need some preliminary discussion.

To begin with, let us be precise about what we are taking as XX and what we are taking as SS. We are counting copies of a fixed labelled rr-uniform hypergraph HH. Let HH have vertex set VV of size mm and (labelled) edge set (e1,…,er)(e_{1},\dots,e_{r}). (That is, each eie_{i} is a subset of VV of size rr and we choose some arbitrary ordering.) Let WW be a set of size nn (which we think of as large) and let X=W(r)X=W^{(r)}, the set of all subsets of WW of order rr.

Given any injection ϕ:V→W\phi:V\to W we can form a sequence (s1,…,sk)(s_{1},\dots,s_{k}) of subsets of WW by setting si=ϕ(ei)s_{i}=\phi(e_{i}). We let SS be the set of all sequences that arise in this way. The elements of SS are copies of HH with correspondingly labelled edges.

If we fix an edge e∈Xe\in X and an index jj, then Sj(e)S_{j}(e) is the set of all sequences (s1,…,sk)(s_{1},\dots,s_{k}) in SS such that sj=es_{j}=e. To obtain such a sequence, one must take a bijection from eje_{j} (which is a subset of VV of order rr) to ee (which is a subset of WW of order rr) and extend it to an injection ϕ\phi from VV to WW. One then sets si=ϕ(ei)s_{i}=\phi(e_{i}) for each ii.

Now let U1,…,UmU_{1},\dots,U_{m} be independent random subsets of XX, chosen binomially with probability pp, and let their associated measures be μ1,…,μm\mu_{1},\dots,\mu_{m}. Suppose once again that ν1,…,νk\nu_{1},\dots,\nu_{k} are measures, some of which are constant and some of which are equal to distinct μi\mu_{i}. Suppose that the non-trivial measures, not including νj\nu_{j} if it is non-trivial, are νa1,…,νal\nu_{a_{1}},\dots,\nu_{a_{l}}, and suppose that νai=μbi\nu_{a_{i}}=\mu_{b_{i}} for i=1,2,…,li=1,2,\dots,l. Then the value ∗j(ν1,…,νk)(e)*_{j}(\nu_{1},\dots,\nu_{k})(e) of the jjth convolution at ee is equal to

This is p−l∣Sj(e)∣−1p^{-l}|S_{j}(e)|^{-1} times the number of sequences (s1,…,sk)∈S(s_{1},\dots,s_{k})\in S such that sj=es_{j}=e and sai∈Ubis_{a_{i}}\in U_{b_{i}} for every 1≤i≤l1\leq i\leq l. If we define H′H^{\prime} to be the subhypergraph of HH that consists of the edges ea1,…,eal,e_{a_{1}},\dots,e_{a_{l}}, then each such sequence is a so-called eje_{j}-rooted copy of H′H^{\prime} in (e,X)(e,X). That is, it is a copy of H′H^{\prime} where we insist that the vertices in eje_{j} map bijectively to the vertices in ee. We are interested in the number of rooted copies such that the edges fall into certain sparse random sets. This is not an easy calculation, but it has been done for us by Janson and Ruciński. In order to state the result we shall need, let us define formally the random variable that we wish not to deviate much from its mean.

Let KK be a labelled rr-uniform hypergraph and ff an edge in KK. Let ll be the number of edges in K\{f}K\char 92\relax\{f\} and let U1,…,UlU_{1},\dots,U_{l} be random binomial subhypergraphs of the complete rr-uniform hypergraph Kn(r)K_{n}^{(r)} on nn vertices, each edge being chosen with probability pp, with characteristic functions χ1,…,χl\chi_{1},\dots,\chi_{l}. Let SfS_{f} be the set consisting of all labelled ordered copies of K\{f}K\char 92\relax\{f\} in Kn(r)K_{n}^{(r)} that are ff-rooted at a given edge ee. Then the random variable YKfY_{K}^{f} is given by

Strictly speaking YKfY_{K}^{f} depends on ee as well, but we omit this from the notation because it makes no difference to the probabilities which edge ee we choose. (So we could, for example, state the result for e={1,2,…,r}e=\{1,2,\dots,r\} and deduce it for all other ee.)

The precise details will not matter to us much, but note that the order of magnitude is peK−1nvK−rp^{e_{K}-1}n^{v_{K}-r}.

We are now ready to state the result of Janson and Ruciński. It is actually a very special case of a much more general result (Corollary 4.1 from ). To explain the general statement would lead us too far astray so we restrict ourselves to stating the required corollary.

Let KK be a labelled rr-uniform hypergraph and ff a fixed edge. Then there exists a constant cc such that the random variable YKfY_{K}^{f} satisfies

A better, indeed almost sharp, result has recently been proved by Janson and Ruciński . Unfortunately, though the result almost certainly extends to hypergraphs, it is stated by these authors only for graphs. However, the previous result is more than sufficient for our current purposes.

We are now ready to show that if X=Kn(r)X=K_{n}^{(r)}, SS is the collection of labelled copies of a strictly balanced hypergraph HH in XX and p≥n−1/mr(H)p\geq n^{-1/m_{r}(H)}, then P2 holds with high probability. The proof is essentially the same as it was for systems with two degrees of freedom, except that we have to use the results of Janson and Ruciński instead of Chernoff’s inequality. Recall that an rr-uniform hypergraph HH is strictly rr-balanced if eH−1vH−r>eK−1vK−r\frac{e_{H}-1}{v_{H}-r}>\frac{e_{K}-1}{v_{K}-r} for every proper subhypergraph KK of HH.

Let HH be a strictly rr-balanced rr-uniform hypergraph with kk edges. Let X=Kn(r)X=K_{n}^{(r)} and let SS be the collection of labelled ordered copies of HH in XX. Let U1,…,UkU_{1},\dots,U_{k} be random subsets of XX, each chosen binomially with probability pp, and let their characteristic measures be μ1,…,μk\mu_{1},\dots,\mu_{k}. Let 1≤j≤k1\leq j\leq k and let LL be a subset of {1,2,…,k}∖{j}\{1,2,\dots,k\}\setminus\{j\} of cardinality l<k−1l<k-1. For each i≤ki\leq k, let νi=μi\nu_{i}=\mu_{i} if i∈Li\in L and 1 otherwise. Let e∈Xe\in X. Then for p≥n−1/mr(H)p\geq n^{-1/m_{r}(H)} there exist positive constants aa and AA such that the probability that ∗j(ν1,…,νj−1,νj+1,…,νk)(e)≤32*_{j}(\nu_{1},\dots,\nu_{j-1},\nu_{j+1},\dots,\nu_{k})(e)\leq\frac{3}{2} is at least 1−2nvHe−Ana1-2n^{v_{H}}e^{-An^{a}}.

Let χi\chi_{i} be the characteristic function of UiU_{i}. Then

The sum ∑s∈Sj(e)∏i∈Lχi(si)\sum_{s\in S_{j}(e)}\prod_{i\in L}\chi_{i}(s_{i}) counts the number of rooted copies of some proper subhypergraph KK of HH. By Lemma 7.3, the probability that ∑s∈Sj(e)∏i∈Lχi(si)≥32pl∣Sj(e)∣\sum_{s\in S_{j}(e)}\prod_{i\in L}\chi_{i}(s_{i})\geq\frac{3}{2}p^{l}|S_{j}(e)| is at most

Since HH is strictly rr-balanced, we know that eH−1vH−r>eJ−1vJ−r\frac{e_{H}-1}{v_{H}-r}>\frac{e_{J}-1}{v_{J}-r} for every J⊆KJ\subseteq K. Therefore, there is a positive constant a′a^{\prime} such that if p≥n−1/mr(H)p\geq n^{-1/m_{r}(H)}, then for each J⊆KJ\subseteq K we have the inequality

for some aa, and hence the probability that ∑s∈Sj(e)∏i∈Lχi(si)≥32pl∣Sj(e)∣\sum_{s\in S_{j}(e)}\prod_{i\in L}\chi_{i}(s_{i})\geq\frac{3}{2}p^{l}|S_{j}(e)| is at most 2nvHe−Ana2n^{v_{H}}e^{-An^{a}} for some positive constants AA and aa. The lemma follows. □\Box

Probabilistic estimates II: bounding L1L_{1}-differences

Our one remaining task is to show that property P1 holds with sufficiently high probability. In other words, we must show that if U1,…,UmU_{1},\dots,U_{m} are subsets of XX chosen binomially with suitable probability pp, and if their associated measures are μ1,…,μm\mu_{1},\dots,\mu_{m}, then with high probability

whenever jj is an integer between 1 and kk and i1,…,ij−1,ij+1,…,iki_{1},\dots,i_{j-1},i_{j+1},\dots,i_{k} are distinct integers between 1 and mm. Of course, if we can prove this for one choice of jj and i1,…,ij−1,ij+1,…,iki_{1},\dots,i_{j-1},i_{j+1},\dots,i_{k} then we have proved it for all, since mm and kk are bounded. So without loss of generality let us prove it for j=1j=1 and for the sequence (2,…,k)(2,\dots,k). That is, we shall prove that with high probability

Our results will also imply the stronger statement R1(p,1p,1), which was required for Lemma 6.14.

The basic approach is to show that with high probability the sets U2,…,Uk−1U_{2},\dots,U_{k-1} have certain properties that we can exploit, and that if they have those properties then the conditional probability that ∥∗1(μ2,…,μk)−∘1(μ2,…,μk)∥1≤η\|*_{1}(\mu_{2},\dots,\mu_{k})-\circ_{1}(\mu_{2},\dots,\mu_{k})\|_{1}\leq\eta is also high. This strategy is almost forced on us: there are some choices of U2,…,Uk−1U_{2},\dots,U_{k-1} that would be disastrous, and although they are rare we have to take account of their existence.

To get some idea of what the useful properties are, let us suppose that we have chosen U2,…,Uk−1U_{2},\dots,U_{k-1}, let us fix x∈Xx\in X, and let us think about the random variable ∗1(μ2,…,μk)(x)*_{1}(\mu_{2},\dots,\mu_{k})(x) (which, given our choices, depends just on the random set UkU_{k}). This is, by definition,

At this point we need an extra homogeneity assumption. We would like to split up the above expectation according to the value of sks_{k}, but that will lead to problems if different values of sks_{k} are taken different numbers of times. Let us suppose that for each yy the number of s∈S1(x)s\in S_{1}(x) such that sk=ys_{k}=y, which is just the cardinality of the set S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y), only ever takes one of two values, one of which is 0.

With the help of this assumption, we can rewrite the previous expression as follows. Let us write K(x)K(x) for the set of yy such that S1(x)∩Sk(y)≠∅S_{1}(x)\cap S_{k}(y)\neq\emptyset. Then

Now we are thinking of μ2,…,μk−1\mu_{2},\dots,\mu_{k-1} as fixed, and of the expressions we write as random variables that depend on the random measure μk\mu_{k}. Note that the expectation of ∗1(μ2,…,μk)(x)*_{1}(\mu_{2},\dots,\mu_{k})(x) is ∗1(μ2,…,μk−1,1)(x)*_{1}(\mu_{2},\dots,\mu_{k-1},1)(x). By the results of the previous section, we are free to assume that this is at most 3/2 for every xx.

Our plan is to prove that the expectation of ∗1(μ2,…,μk)(x)−∘1(μ2,…,μk)(x)*_{1}(\mu_{2},\dots,\mu_{k})(x)-\circ_{1}(\mu_{2},\dots,\mu_{k})(x) is small for each xx, which will show that the expectation of ∥∗1(μ2,…,μk)−∘1(μ2,…,μk)∥1\|*_{1}(\mu_{2},\dots,\mu_{k})-\circ_{1}(\mu_{2},\dots,\mu_{k})\|_{1} is small. Having done that, we shall argue that it is highly concentrated about its expectation.

Writing s=t+1/2s=t+1/2, this gives us 2exp⁡(−s2/(3α+2αs/3))2\exp(-s^{2}/(3\alpha+2\alpha s/3)). When s≥1/2s\geq 1/2 (as it is everywhere in the integral we are trying to bound), this is at most 2exp⁡(−s2/(6αs+2αs/3))≤2exp⁡(−s/7α)2\exp(-s^{2}/(6\alpha s+2\alpha s/3))\leq 2\exp(-s/7\alpha), so we have an upper bound of

Suppose that μ2,…,μk−1\mu_{2},\dots,\mu_{k-1} are fixed and that W(x,y)≤αp∣K(x)∣W(x,y)\leq\alpha p|K(x)| for every xx and yy and ∗1(μ2,…,μk−1,1)(x)≤3/2*_{1}(\mu_{2},\dots,\mu_{k-1},1)(x)\leq 3/2 for every xx. Then

As noted above, ∗1(μ2,…,μk)(x)*_{1}(\mu_{2},\dots,\mu_{k})(x) is a sum of independent random variables VyV_{y} that take the value (p∣K(x)∣)−1W(x,y)(p|K(x)|)^{-1}W(x,y) with probability pp and 0 otherwise. By our hypothesis about W(x,y)W(x,y), we can take Cy=αC_{y}=\alpha for each yy and apply the previous lemma. Then S=∗1(μ2,…,μk)(x)S=*_{1}(\mu_{2},\dots,\mu_{k})(x) and T=∗1(μ2,…,μk)(x)−∘1(μ2,…,μk)(x)T=*_{1}(\mu_{2},\dots,\mu_{k})(x)-\circ_{1}(\mu_{2},\dots,\mu_{k})(x), so the result follows. □\Box

The next result but one is our main general lemma, after which we shall have to argue separately for different kinds of system. We shall use the following concentration of measure result, which is an easy and standard consequence of Azuma’s inequality.

Most of the conditions of the next lemma have been mentioned in the discussion above, but we repeat them for convenience (even though the resulting statement becomes rather long).

Let XX be a finite set and let SS be a homogeneous collection of ordered subsets of XX, each of size kk. Let σ\sigma be a positive integer and suppose that, for all x,y∈Xx,y\in X, ∣S1(x)∩Sk(y)∣∈{0,σ}|S_{1}(x)\cap S_{k}(y)|\in\{0,\sigma\}. For each xx, let K(x)K(x) be the set of yy such that S1(x)∩Sk(y)≠∅S_{1}(x)\cap S_{k}(y)\neq\emptyset, and suppose that all the sets K(x)K(x) have the same size.

Let μ2,…,μk−1\mu_{2},\dots,\mu_{k-1} be fixed measures such that ∗1(μ2,…,μk−1,1)(x)*_{1}(\mu_{2},\dots,\mu_{k-1},1)(x) and ∗k(1,μ2,…,μk−1)(x)*_{k}(1,\mu_{2},\dots,\mu_{k-1})(x) are at most 3/23/2 for every x∈Xx\in X. For each x,y∈Xx,y\in X, let

and suppose that W(x,y)≤αp∣K(x)∣W(x,y)\leq\alpha p|K(x)| for every xx and yy.

Let UkU_{k} be a random set chosen binomially with probability pp, let μk\mu_{k} be its associated measure, and let η=28αe−1/14α\eta=28\alpha e^{-1/14\alpha}. Then

Corollary 8.2 and linearity of expectation imply that

Let us write ZZ for the random variable ∥∗1(μ2,…,μk)−∘1(μ2,…,μk)∥1\|*_{1}(\mu_{2},\dots,\mu_{k})-\circ_{1}(\mu_{2},\dots,\mu_{k})\|_{1}. To complete the proof, we shall show that ZZ is highly concentrated about its mean.

To do this, we condition on the size of the set UkU_{k} and apply Lemma 8.3. Suppose, then, that ∣Uk∣=t|U_{k}|=t. We must work out by how much we can change ZZ if we remove an element of UkU_{k} and add another.

Since the function x↦max⁡{x−2,0}x\mapsto\max\{x-2,0\} is 1-Lipschitz, the amount by which we can change ZZ is at most the amount by which we can change Y=∥∗1(μ2,…,μk)∥1Y=\|*_{1}(\mu_{2},\dots,\mu_{k})\|_{1}. But

We are assuming that ∗k(1,μ2,…,μk−1)(y)*_{k}(1,\mu_{2},\dots,\mu_{k-1})(y) is never more than 3/2, and μk(y)\mu_{k}(y) is always either p−1p^{-1} or 0, so changing one element of UkU_{k} cannot change YY by more than 3(p∣X∣)−13(p|X|)^{-1}. (The division by ∣X∣|X| is because we are taking an average over yy rather than a sum over yy.)

Our aim is to prove that property P1 holds with high probability for a given small constant η>0\eta>0. Therefore, it remains to prove that, under suitable conditions on pp, we have the bound W(x,y)≤αp∣K(x)∣W(x,y)\leq\alpha p|K(x)| for every x,y∈Xx,y\in X such that S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) is non-empty, where α\alpha is also a given small constant. Here, the argument once again depends on the particular form of the set of sequences SS.

In the case of sets with two degrees of freedom, this is trivial. Let us suppose that ∣K(x)∣=t|K(x)|=t for every x∈Xx\in X. By definition, Si(x)∩Sj(y)S_{i}(x)\cap S_{j}(y) is either empty or a singleton for every 1≤i<j≤k1\leq i<j\leq k and every x,y∈Xx,y\in X. It follows, when S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) is non-empty, that

Thus, we have essentially already finished the proof of a sparse random version of Szemerédi’s theorem, and of several other similar theorems. We will spell out the details of these applications later in the paper. Now, however, let us turn to the more difficult task of verifying the hypothesis about WW in the case of graphs and hypergraphs.

Let HH be a strictly rr-balanced rr-uniform hypergraph. Recall that mr(H)m_{r}(H) is the ratio (eH−1)/(vH−r)(e_{H}-1)/(v_{H}-r). The significance of mr(H)m_{r}(H) is that if Gn,p(r)G_{n,p}^{(r)} is a random rr-uniform hypergraph on nn vertices, with each edge chosen with probability pp, then the expected number of labelled copies of HH containing any given edge of Gn,p(r)G_{n,p}^{(r)} is approximately peH−1nvH−rp^{e_{H}-1}n^{v_{H}-r} (the “approximately” being the result of a few degenerate cases), so we need p≥n−1/mr(H)p\geq n^{-1/m_{r}(H)} for this expected number to be at least 1, which, at least in the density case, is a trivial necessary condition for our theorems to hold. Our main aim now is to prove that W(x,y)≤αp∣K(x)∣W(x,y)\leq\alpha p|K(x)| holds when p≥Cn−1/mr(H)p\geq Cn^{-1/m_{r}(H)}, where CC is a constant that depends only on α\alpha and the hypergraph HH.

In the next result, we shall take pp to equal Cn−1/mr(H)Cn^{-1/m_{r}(H)} and prove that the conclusion holds provided CC is sufficiently large. However, it turns out that we have to split the result into two cases. In the first case, we also need to assume that CC is smaller than ncn^{c} for some small positive constant cc, or else the argument breaks down. However, when CC is larger than this (so not actually a constant) we can quote results of Janson and Ruciński to finish off the argument. (Some of our results, in particular colouring theorems, are monotone, in the sense that the result for pp implies the result for all q≥pq\geq p. In such cases we do not need to worry about large pp.)

Let HH be a strictly rr-balanced rr-uniform hypergraph and let SS be the collection of labelled ordered copies of HH in the complete rr-uniform hypergraph Kn(r)K_{n}^{(r)}. Then, for any positive constants α\alpha and AA, there exist constants c>0c>0 and C0C_{0} such that, if nn is sufficiently large, C0≤C≤ncC_{0}\leq C\leq n^{c}, and p=Cn−1/mr(H)p=Cn^{-1/m_{r}(H)}, then, with probability at least 1−n−A1-n^{-A}, if U2,…,Ue−1U_{2},\dots,U_{e-1} are random subgraphs Gn,p(r)G_{n,p}^{(r)} of Kn(r)K_{n}^{(r)} with associated measures μ2,…,μe−1\mu_{2},\dots,\mu_{e-1},

for all x,y∈Xx,y\in X, where we have written ee for eHe_{H}.

Let χi\chi_{i} be the characteristic function of UiU_{i} for each i≤eHi\leq e_{H}. Let σ\sigma be the size of each non-empty set S1(x)∩Se(y)S_{1}(x)\cap S_{e}(y) and suppose ∣K(x)∣=t|K(x)|=t for each xx. Then

At this point, we use the hypothesis that HH is strictly balanced. Since wi≤vH−h≤vH−(r+1)w_{i}\leq v_{H}-h\leq v_{H}-(r+1),

which implies that di/wi>mr(H)d_{i}/w_{i}>m_{r}(H). In fact, since there are only finitely many possibilities for wiw_{i} and did_{i}, it tells us that there is a constant c′>0c^{\prime}>0 depending on HH only such that di≥mr(H)(wi+c′)d_{i}\geq m_{r}(H)(w_{i}+c^{\prime}). Since p=Cn−1/mr(H)p=Cn^{-1/m_{r}(H)}, this tells us that pdi≤Cdin−(wi+c′)p^{d_{i}}\leq C^{d_{i}}n^{-(w_{i}+c^{\prime})}, and hence that

To handle the case where C≥ncC\geq n^{c}, we shall again need to appeal to the work of Janson and Ruciński on upper tail estimates. The particular random variable we will be interested in, which concerns hypergraphs which are rooted on two edges, is defined as follows.

Let KK be an rr-uniform hypergraph and f1,f2f_{1},f_{2} edges in KK. Let ll be the number of edges in K\{f1,f2}K\char 92\relax\{f_{1},f_{2}\} and let U1,…,UlU_{1},\dots,U_{l} be random binomial subhypergraphs of the complete rr-uniform hypergraph Kn(r)K_{n}^{(r)} on nn vertices, each edge being chosen with probability pp, with characteristic functions χ1,…,χl\chi_{1},\dots,\chi_{l}. Let Sf1,f2S_{f_{1},f_{2}} be the set consisting of all labelled ordered copies of K\{f1,f2}K\char 92\relax\{f_{1},f_{2}\} in Kn(r)K_{n}^{(r)} that are rooted at given edges e1e_{1} and e2e_{2}. Then the random variable YKf1,f2Y_{K}^{f_{1},f_{2}} is given by

Let KK be an rr-uniform hypergraph and f1,f2f_{1},f_{2} fixed edges. Then there exists a constant cc such that the random variable YKf1,f2Y_{K}^{f_{1},f_{2}} satisfies, for γ≥2\gamma\geq 2,

The required estimate for p≥n−1/mk(H)+cp\geq n^{-1/m_{k}(H)+c} is now an easy consequence of this lemma.

Let HH be a strictly rr-balanced rr-uniform hypergraph and let SS be the collection of labelled ordered copies of HH in the complete rr-uniform hypergraph Kn(r)K_{n}^{(r)}. Then, for any positive constants α\alpha and cc, there exist constants bb and BB such that, if nn is sufficiently large, C≥ncC\geq n^{c}, and p=Cn−1/mr(H)p=Cn^{-1/m_{r}(H)}, then, with probability at least 1−2nvHe−Bnb1-2n^{v_{H}}e^{-Bn^{b}}, if U2,…,Ue−1U_{2},\dots,U_{e-1} are random subgraphs Gn,p(r)G_{n,p}^{(r)} of Kn(r)K_{n}^{(r)} with associated measures μ2,…,μe−1\mu_{2},\dots,\mu_{e-1},

for all x,y∈Xx,y\in X, where we have written ee for eHe_{H}.

where hh is the size of e1∪eHe_{1}\cup e_{H}. Note that, as tt is almost exactly nh−rn^{h-r}, γnvL−hpeL−2≥(α/2)nvL−rpeL−1\gamma n^{v_{L}-h}p^{e_{L}-2}\geq(\alpha/2)n^{v_{L}-r}p^{e_{L}-1}. Since HH is strictly rr-balanced, for any proper subgraph LL of HH,

Since also nvH−rpeH−1≥nϵn^{v_{H}-r}p^{e_{H}-1}\geq n^{\epsilon}, the required bound holds with probability at least 1−2nvHe−Bnb1-2n^{v_{H}}e^{-Bn^{b}} for some constants BB and bb. Since

the result now follows for nn sufficiently large. □\Box

Summary of our results so far

We are about to discuss several applications of our main results. In this brief section, we prepare for these applications by stating the abstract results that follow from the work we have done so far. Since not every problem one might wish to solve will give rise to a system of sequences SS that either has two degrees of freedom or concerns copies of a strictly balanced graph or hypergraph, we begin by stating sufficient conditions on SS for theorems of the kind we are interested in to hold. We have of course already done this, but since some of our earlier conditions implied other ones, there is scope for stating the abstract results more concisely. That way, any further applications of our methods will be reduced to establishing two easily stated probabilistic estimates, and showing that suitable robust versions of the desired results hold in the dense case.

Having done that, we remark that we have proved that the estimates hold when SS has two degrees of freedom or results from copies of a strictly balanced graph or hypergraph. So in these two cases, if the robust results hold in the dense case, then we can carry them over unconditionally to the sparse random case.

The proofs in this section require little more than the putting together of results from earlier in the paper.

Recall that a system SS of sequences s=(s1,…,sk)s=(s_{1},\dots,s_{k}) with values in a finite set XX is homogeneous if for every j≤kj\leq k and every x∈Xx\in X the set Sj(x)={s∈S:sj=x}S_{j}(x)=\{s\in S:s_{j}=x\} has the same size. Let SS be a homogeneous system of sequences with elements in a finite set XX, and let us assume that no sequence in SS has repeated elements. We shall also assume that all non-empty sets of the form S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) have the same size. Coupled with our first homogeneity assumption, this implies that for each xx the number of yy such that S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) is non-empty is the same.

We are about to state and prove a theorem that is similar to Theorem 4.5, but with conditions that are easier to check and a conclusion that is more directly what we want to prove. The first condition is what we proved in Lemmas 7.2 and 7.4. We suppose that XX is a given finite set, SS is a given homogeneous system of sequences with terms in XX, and p0p_{0} is a given probability.

Let U1,…,UkU_{1},\dots,U_{k} be independent random subsets of XX, each chosen binomially with probability p≥p0p\geq p_{0}, and let μ1,…,μk\mu_{1},\dots,\mu_{k} be their associated measures. Let 1≤j≤k1\leq j\leq k and for each i≠ji\neq j let νi\nu_{i} equal either μi\mu_{i} or the constant measure 1 on XX, with at least one νi\nu_{i} equal to the constant measure. Then with probability at least 1−o(∣X∣−k)1-o(|X|^{-k}),

Recall that if LL is the set of ii such that νi=μi\nu_{i}=\mu_{i}, then ∗j(ν1,…,νj−1,νj+1,…,νk)(x)*_{j}(\nu_{1},\dots,\nu_{j-1},\nu_{j+1},\dots,\nu_{k})(x) is p−∣L∣p^{-|L|} times the number of s∈Sj(x)s\in S_{j}(x) such that si∈Uis_{i}\in U_{i} for every i∈Li\in L. Since the expected number of such sequences is p∣L∣∣Sj(x)∣p^{|L|}|S_{j}(x)|, Condition 11 is saying that their number is not too much larger than its mean. (One would usually expect a concentration result that said that their number is, with high probability, close to its mean.)

The second condition tells us that the hypotheses of Lemma 8.4 hold. Again we shall take XX, SS and pp as given.

Let U2,…,Uk−1U_{2},\dots,U_{k-1} be independent random subsets of XX, each chosen binomially with probability p≥p0p\geq p_{0}, and let μ2,…,μk−1\mu_{2},\dots,\mu_{k-1} be their associated measures. Let α>0\alpha>0 be an arbitrary positive constant. For each xx, let tt be the number of yy such that S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) is non-empty. Then with probability at least 1−o(∣X∣−k)1-o(|X|^{-k}),

for every x,yx,y such that S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) is non-empty.

This is not a concentration assumption. For instance, in the case of systems with two degrees of freedom, it follows trivially from the fact that ∣S1(x)∩Sk(y)∣≤1|S_{1}(x)\cap S_{k}(y)|\leq 1 and each μi(si)\mu_{i}(s_{i}) is at most p−1p^{-1}. In more complicated cases, we end up wishing to prove that a certain integer-valued random variable with mean n−cn^{-c} has a probability n−An^{-A} of exceeding a large constant CC.

We are now ready to state our main conditional results. Note that in all of these it is necessary to assume that the probability qq with which we choose our random set UU is smaller than some positive constant δ\delta. For colouring theorems this is not a problem, because these properties are always monotone. It is therefore enough to know that the property holds almost surely for a particular probability qq to know that it holds almost surely for all probabilities larger than qq.

For density theorems, we can also overcome this difficulty by partitioning any random set with large probability into a number of smaller random sets each chosen with probability less than δ\delta. With high probability, each of these smaller random sets will satisfy the required density theorem. If we take a subset of the original set above a certain density, then this subset must have comparable density within at least one of the sets of the partition. Applying the required density theorem within this set, we can find the required substructure, be it a kk-term arithmetic progression or a complete graph of order tt.

Alternatively, if we know a (robust) sparse density theorem for a small value of pp, we can deduce it for a larger value qq as follows. We can pick a random set V=XpV=X_{p} by first choosing U=XqU=X_{q} and then choosing V=Up/q.V=U_{p/q}. Since the result is true for almost every V=XpV=X_{p}, it will be the case that for almost every U=XqU=X_{q}, almost every V=Up/qV=U_{p/q} will satisfy the result. It follows by a simple averaging argument that for almost every U=XqU=X_{q} the robust version of the density theorem holds again.

Unfortunately, for structural results, no simple argument of this variety seems to work and we will have to deal with each case as it comes.

Suppose that SS, XX and p0p_{0} satisfy Conditions 1 and 2. Suppose also that there exist positive constants ρ\rho and β\beta such that for every subset B⊂XB\subset X of density at least ρ\rho there are at least β∣S∣\beta|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that si∈Bs_{i}\in B for every ii. Then, for any ϵ>0\epsilon>0, there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability Cp0≤q≤δCp_{0}\leq q\leq\delta. Then, with probability 1−o(1)1-o(1), every subset AA of UU of density at least ρ+ϵ\rho+\epsilon contains at least (β−ϵ)pk∣S∣(\beta-\epsilon)p^{k}|S| sequences such that si∈As_{i}\in A for every ii.

Basically the result is true because Theorem 4.5 proves the conclusion conditional on the four key properties set out before the statement of Theorem 4.5, and our probabilistic arguments in the last few sections show that these properties follow from Conditions 1 and 2. Indeed, we would already be done if it were not for one small extra detail: we need to deal with the fact that Theorem 4.5 has a conclusion that concerns mm random sets U1,…,UmU_{1},\dots,U_{m}, whereas we want a conclusion that concerns a single random set UU.

Let η\eta, λ\lambda, dd and mm be as required by Theorem 4.5. Condition 1 implies that property P2 holds with probability 1−o(∣X∣−k)1-o(|X|^{-k}). Lemma 8.4 tells us that property P1 holds with probability 1−o(∣X∣−k)1-o(|X|^{-k}) provided that Conditions 11 and 22 hold, for some α\alpha that depends on η\eta. Property P0 plainly holds with high probability. Finally, Lemma 6.14 tells us that if properties P0, P1 and P2 hold with probability 1−o(∣X∣−k)1-o(|X|^{-k}), then property P3 holds with probability 1−o(1)1-o(1). Thus, with probability 1−o(1)1-o(1), we have all four properties.

Conditions 1 and 2 also imply an abstract colouring result and an abstract structural result in a very similar way.

Suppose that SS, XX and p0p_{0} satisfy Conditions 1 and 2. Suppose also that rr is a positive integer and β\beta a positive constant such that for every colouring of XX with rr colours there are at least β∣S∣\beta|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that each sis_{i} has the same colour. Then there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability Cp0≤q≤δCp_{0}\leq q\leq\delta. Then, with probability 1−o(1)1-o(1), every colouring of UU with rr colours contains at least 2−(k+2)βpk∣S∣2^{-(k+2)}\beta p^{k}|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that each sis_{i} has the same colour and each sis_{i} is an element of UU.

The only further ingredient needed to prove this theorem is Theorem 4.8. Other than this, the proof is much the same as that of Theorem 9.1.

The main extra point to note here is that Conditions 11 and 22 imply not just property P3 but also property P3′. This allows us to apply Theorem 4.10.

2 The critical exponent

The aim of this paper has been to prove results that are, in terms of pp, best possible to within a constant. A preliminary task is to work out the probability below which we cannot hope to prove a result. (For density problems, it is easy to prove that below this probability the result is not even true. For natural colouring problems, it usually seems to be the case that the result is not true, but the known proofs are far from trivial.) To within a constant, the probability in question is the probability pp such that the following holds: for each j≤kj\leq k and each x∈Xx\in X the expected number of elements s∈Ss\in S such that sj=xs_{j}=x (that is, such that s∈Sj(x)s\in S_{j}(x)), and sis_{i} belongs to XpX_{p} for each i≠ji\neq j is equal to 1.

In concrete situations, XX will be one of a family of sets of increasing size, and SS will be one of a corresponding family of sets of sequences. Then it is usually the case that the probability pp calculated above is within a constant of ∣X∣−α|X|^{-\alpha} for some rational number α\alpha that does not depend on which member of the family one is talking about. In this situation, we shall call α\alpha the critical exponent for the family of problems. Our results will then be valid for all pp that exceed C∣X∣−αC|X|^{-\alpha} for some constant CC. We shall denote the critical exponent by αS\alpha_{S}, even though strictly speaking it depends not on an individual SS but on the entire family of sets of sequences.

To give an example, if SS consists of all non-degenerate edge-labelled copies of K4K_{4} in KnK_{n}, then the expected number of copies with a particular edge in a particular place, given that that edge belongs to UU, is 2(n−2)(n−3)p52(n-2)(n-3)p^{5} (since each Sj(e)S_{j}(e) has size 2(n−2)(n−3)2(n-2)(n-3) and there are five edges that must be chosen). Setting that equal to 1 tells us that pp is within a constant of n−2/5n^{-2/5}, so the critical exponent is 2/52/5. (This is a special case of the formula 1/mk(K)=(vK−k)/(eK−1)1/m_{k}(K)=(v_{K}-k)/(e_{K}-1).)

This calculation is exactly what we do in general: if each element of SS is a sequence of length kk and we are given that x∈Xpx\in X_{p}, then the expected number of elements of Sj(x)S_{j}(x) that have all their terms in XpX_{p} is pk−1∣Sj(x)∣p^{k-1}|S_{j}(x)|. This equals 1 when p=∣Sj(x)∣−1/(k−1)p=|S_{j}(x)|^{-1/(k-1)}. If ∣Sj(x)∣=C∣X∣θ|S_{j}(x)|=C|X|^{\theta} for some θ\theta that is independent of the size of the problem, then the critical exponent is therefore θ/(k−1)\theta/(k-1).

If we can prove a robust density theorem for SS, and can show that Conditions 1 and 2 hold when p0=C∣X∣−αSp_{0}=C|X|^{-\alpha_{S}} for some constant CC, then we have proved a result that is best possible to within a constant. For colouring theorems, we cannot be quite so sure that the result is best possible, but in almost all examples where the 0-statement has been proved, it does indeed give a bound of the form c∣X∣−αSc|X|^{-\alpha_{S}}.

3 Unconditional results

In this section we concentrate on the two kinds of sequence system for which we have proved that Conditions 1 and 2 hold when p0=C∣X∣−αSp_{0}=C|X|^{-\alpha_{S}}.

As above, we assume that SS has the additional homogeneity property that S1(x)∩Sk(y)S_{1}(x)\cap S_{k}(y) always has the same size when it is non-empty. (In the hypergraph case, ee plays the role of kk and kk has a different meaning: thus, the property in that case is that S1(x)∩Se(y)S_{1}(x)\cap S_{e}(y) always has the same size when it is non-empty.) And in the hypergraph case, we make the further assumption that the hypergraph KK is strictly balanced, which means that for every proper subhypergraph J⊂KJ\subset K we have the inequality eJ−1vJ−k<eK−1vK−k\frac{e_{J}-1}{v_{J}-k}<\frac{e_{K}-1}{v_{K}-k}. When this happens, we write mk(K)m_{k}(K) as shorthand for eK−1vK−k\frac{e_{K}-1}{v_{K}-k}.

Given a system SS with two degrees of freedom, let tt be the size of each Sj(x)S_{j}(x), and suppose that t=∣X∣γt=|X|^{\gamma}. Then the critical exponent of SS is γ/(k−1)\gamma/(k-1). (Note that ∣X∣−αS=t−1/(k−1)|X|^{-\alpha_{S}}=t^{-1/(k-1)}.) When SS is a set of copies of a strictly balanced hypergraph KK, the critical exponent is 1/mk(K)1/m_{k}(K). It is straightforward to show that sparse density results cannot hold for random subsets of XX chosen with probability c∣X∣−αSc|X|^{-\alpha_{S}} if cc is a sufficiently small positive constant. Broadly speaking, we shall show that they do hold for random subsets chosen with probability C∣X∣−αSC|X|^{-\alpha_{S}} when CC is a sufficiently large positive constant.

Let us call a system SS good if the above properties hold. That is, roughly speaking, a good system is a system with certain homogeneity properties that either has two degrees of freedom or comes from copies of a graph or hypergraph. We shall also assume that ∣X∣|X| is sufficiently large. When we say “there exists a constant CC,” this should be understood to depend only on kk in the case of systems of two degrees of freedom, and only on KK in the case of copies of a strictly balanced hypergraph, together with parameters such as density or the number of colours in a colouring that have been previously mentioned in the statement.

Let XX be a finite set and let SS be a good system of ordered subsets of XX. Suppose that there exist positive constants ρ\rho and β\beta such that for every subset B⊂XB\subset X of density at least ρ\rho there are at least β∣S∣\beta|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that si∈Bs_{i}\in B for every ii. Then, for any ϵ>0\epsilon>0, there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability C∣X∣−αS≤p≤δC|X|^{-\alpha_{S}}\leq p\leq\delta. Then, with probability 1−o(1)1-o(1), every subset AA of UU of order at least (ρ+ϵ)∣U∣(\rho+\epsilon)|U| contains at least (β−ϵ)pk∣S∣(\beta-\epsilon)p^{k}|S| sequences such that si∈As_{i}\in A for every ii.

By Theorem 9.1, all we have to do is check Conditions 1 and 2. Condition 1 is given to us by Lemma 7.2 when SS has two degrees of freedom, and by Lemma 7.4 when SS is a system of copies of a graph or hypergraph, even when C=1C=1. (In the case where SS has two degrees of freedom, see the remarks following Lemma 7.2 for an explanation of why the result implies Condition 1 when p=∣X∣−αSp=|X|^{-\alpha_{S}}.)

When SS has two degrees of freedom, Condition 2 holds as long as p−(k−2)≤αptp^{-(k-2)}\leq\alpha pt, as we have already remarked. This tells us that pp needs to be at least (αt)−1/(k−1)(\alpha t)^{-1/(k-1)}. In this case, t=∣Sj(x)∣t=|S_{j}(x)| for each xx and jj, so (αt)−1/(k−1)(\alpha t)^{-1/(k-1)} is within a constant of ∣X∣−αs|X|^{-\alpha_{s}}, as required. When SS comes from copies of a strictly balanced graph or hypergraph, Lemmas 8.5 and 8.7 give us Condition 2, again with p=C∣X∣−αSp=C|X|^{-\alpha_{S}}. □\Box

Exactly the same proof (except that we use Theorem 9.2 instead of Theorem 9.1) gives us the following general sparse colouring theorem.

Let XX be a finite set and let SS be a good system of ordered subsets of XX. Suppose that rr is a positive integer and that β\beta is a positive constant such that for every colouring of XX with rr colours there are at least β∣S∣\beta|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that each sis_{i} has the same colour. Then there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability C∣X∣−αS≤p≤δC|X|^{-\alpha_{S}}\leq p\leq\delta. Then, with probability 1−o(1)1-o(1), every colouring of UU with rr colours contains at least 2−(k+2)βpk∣S∣2^{-(k+2)}\beta p^{k}|S| sequences s=(s1,…,sk)∈Ss=(s_{1},\dots,s_{k})\in S such that each sis_{i} has the same colour and each sis_{i} is an element of UU.

Finally, we have the following general sparse structural theorem.

Let XX be a finite set and let SS be a good system of ordered subsets of XX. Then, for any ϵ>0\epsilon>0, there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability C∣X∣−αS≤p≤δC|X|^{-\alpha_{S}}\leq p\leq\delta, let μ\mu be the associated measure of UU and let V\mathcal{V} be a collection of 2o(p∣X∣)2^{o(p|X|)} subsets of XX. Then, with probability 1−o(1)1-o(1), for every function ff with 0≤f≤μ0\leq f\leq\mu there exists a function gg with 0≤g≤10\leq g\leq 1 such that

In applications, we often want gg to take values in {0,1}\{0,1\} rather than $$. This can be achieved by a simple and standard modification of the above result.

Let XX be a finite set and let SS be a good system of ordered subsets of XX. Then, for any ϵ>0\epsilon>0, there exist positive constants CC and δ\delta with the following property. Let UU be a random subset of XX, with elements chosen independently with probability C∣X∣−αS≤p≤δC|X|^{-\alpha_{S}}\leq p\leq\delta, let μ\mu be the associated measure of UU and let V\mathcal{V} be a collection of 2o(p∣X∣)2^{o(p|X|)} subsets of XX. Then, with probability 1−o(1)1-o(1), for every function ff with 0≤f≤μ0\leq f\leq\mu there exists a function hh taking values in {0,1}\{0,1\} such that

The basic idea of the argument is to choose a function gg that satisfies the conclusion of Theorem 9.6 with ϵ\epsilon replaced by ϵ/2\epsilon/2, and to let h(x)=1h(x)=1 with probability g(x)g(x) and 0 with probability 1−g(x)1-g(x), all choices being made independently. Then concentration of measure tells us that with high probability the estimates are not affected very much.

The second is obtained in a similar way. For each V∈VV\in\mathcal{V} the probability that ∣∑x∈Vh(x)−∑x∈Vg(x)∣≥ϵ∣X∣/2|\sum_{x\in V}h(x)-\sum_{x\in V}g(x)|\geq\epsilon|X|/2 is, by Azuma’s inequality, at most 2exp⁡(−ϵ2∣X∣/8)2\exp(-\epsilon^{2}|X|/8). Since there are 2o(p∣X∣)2^{o(p|X|)} sets in V\mathcal{V}, a union bound gives the second conclusion with very high probability as well. □\Box

Applications

Since we wish to use the letter pp to denote a probability, we shall now let nn be a large prime.

By Theorem 9.1, all we have to do is check the robust version of Szemerédi’s theorem, which can be proved by a simple averaging argument, originally observed by Varnavides (who stated it for 33-term progressions).

Very similar averaging arguments are used to prove the other robust density results we shall need in this subsection, so we shall be sketchy about the proofs and sometimes omit them altogether.

The next result is the sparse version of Szemerédi’s theorem. Recall that we write XpX_{p} for a random subset of XX where each element is chosen independently with probability pp, and we say that a set II is (δ,k)(\delta,k)-Szemerédi if every subset of II with cardinality at least δ∣I∣\delta|I| contains a kk-term arithmetic progression.

In the case where pp is not too large, this follows immediately from Theorems 9.4 and 10.1. The result for larger probabilities can be deduced by using the argument given before Theorem 9.1. Alternatively, note that a subset of relative density δ\delta within a subset of [n]p[n]_{p} has density δp\delta p in [n][n]. So if pp is larger than a fixed constant λ\lambda (as it will be in the case not already covered by Theorem 9.4), we can just apply Szemerédi’s theorem itself. □\Box

A simple corollary of Theorem 10.2 is a sparse analogue of van der Waerden’s theorem on arithmetic progressions in rr-colourings of [n][n]. Note that this theorem was proved much earlier by Rödl and Ruciński and is known to be tight.

Let us now prove sparse versions of two generalizations of Szemerédi’s theorem. The first generalization is the multidimensional Szemerédi theorem, due to Furstenberg and Katznelson . We shall state it in its robust form, which is in fact the statement that Furstenberg and Katznelson directly prove. (It also follows from the non-robust version by means of an averaging argument.)

The second generalization of Szemerédi’s theorem we wish to look at is the polynomial Szemerédi theorem of Bergelson and Leibman . Their result is the following.

Let δ>0\delta>0 be a real number, let kk be a positive integer and let P1,…,PkP_{1},\dots,P_{k} be polynomials with integer coefficients that vanish at zero. Then there exists an integer n0n_{0} such that if n≥n0n\geq n_{0} and BB is a subset of [n][n] with ∣B∣≥δn|B|\geq\delta n then BB has a subset of the form {a,a+P1(d),…,a+Pk(d)}\{a,a+P_{1}(d),\dots,a+P_{k}(d)\}.

We will focus on the specific case where the polynomials are xr,2xr,…,(k−1)xrx^{r},2x^{r},\dots,(k-1)x^{r} (so kk has been replaced by k−1k-1). In this case, the theorem tells us that we can find a kk-term arithmetic progression with common difference that is a perfect rrth power. We restrict to this case, because it is much easier to state and prove an appropriate robust version for this case than it is for the general case.

Note that the particular case of this theorem when k=2k=2 was already proved by Nguyen . To see that this result is sharp, note that the number of kk-term progressions with rrth power difference in the random set is roughly pkn1+1/rp^{k}n^{1+1/r}. This is smaller than the number of vertices pnpn when p=n−1/(k−1)rp=n^{-1/(k-1)r}.

We will now move on to proving sparse versions of Turán’s theorem for strictly kk-balanced kk-uniform hypergraphs. As we mentioned in the introduction, some of the dense results are not known, but this does not matter to us, since our aim is simply to show that whatever results can be proved in the dense case carry over to the sparse random case when the probability exceeds the critical probability.

For a kk-uniform hypergraph KK, let ex(n,K)(n,K) denote the largest number of edges a subgraph of Kn(k)K_{n}^{(k)} can have without containing a copy of KK. As usual, we need a robust result that says that once a graph has more edges than the extremal number for KK, by a constant proportion of the total number of edges in Kn(k)K_{n}^{(k)}, then it must contain many copies of KK. The earliest version of such a supersaturation result was proved by Erdős and Simonovits . The proof is another easy averaging argument along the lines of the proof of Theorem 10.1.

Let KK be a kk-uniform hypergraph. Then, for any ϵ>0\epsilon>0, there exists δ>0\delta>0 such that if LL is a kk-uniform hypergraph on nn vertices and

then LL contains at least δnvK\delta n^{v_{K}} copies of KK.

Let πk(K)\pi_{k}(K) be the limit as nn tends to infinity of ex(n,K)/(nk)(n,K)/\binom{n}{k}. We will say that a kk-uniform hypergraph HH is (K,ϵ)(K,\epsilon)-Turán if any subset of the edges of HH of size

contains a copy of KK. Recall that Gn,p(k)G_{n,p}^{(k)} is a random kk-uniform hypergraph on nn vertices, where each edge is chosen with probability pp, and when KK is strictly kk-balanced mk(K)=(eK−1)/(vK−k)m_{k}(K)=(e_{K}-1)/(v_{K}-k).

For every ϵ>0\epsilon>0 and every strictly kk-balanced kk-uniform hypergraph KK, there exists a constant CC such that if p≥Cn−1/mk(K)p\geq Cn^{-1/m_{k}(K)}, then the probability that Gn,p(k)G_{n,p}^{(k)} is (K,ϵ)(K,\epsilon)-Turán is 1−o(1)1-o(1).

2 Colouring results

We shall now move on to colouring results that do not follow from their corresponding density versions. Let us begin with Ramsey’s theorem. As ever, the main thing we need to check is that a suitable robust version of the theorem holds. And indeed it does: it is a very simple consequence of Ramsey’s theorem that was noted by Erdős .

Let HH be a hypergraph and let rr be a positive integer. Then there exists an integer n0n_{0} and a constant c>0c>0 such that, if n≥n0n\geq n_{0}, any colouring of the edges of Kn(k)K_{n}^{(k)} with rr colours is guaranteed to contain cnvHcn^{v_{H}} monochromatic copies of HH.

Once again the proof is the obvious averaging argument: choose mm such that if the edges of Km(k)K_{m}^{(k)} are coloured with rr colours, there must be a monochromatic copy of HH, and then a double count shows that for every rr-colouring of the edges of Kn(k)K_{n}^{(k)} there are at least (nvH)/(mvH)\binom{n}{v_{H}}/\binom{m}{v_{H}} monochromatic copies of HH.

Recall that, given a kk-uniform hypergraph KK and a natural number rr, a hypergraph is (K,r)(K,r)-Ramsey if every rr-colouring of its edges contains a monochromatic copy of KK. We are now ready to prove Theorem 1.9, which for convenience we restate here.

Given a natural number rr and a strictly kk-balanced kk-uniform hypergraph KK, there exists a positive constant CC such that if p≥Cn−1/mk(K)p\geq Cn^{-1/m_{k}(K)}, then the probability that Gn,p(k)G_{n,p}^{(k)} is (K,r)(K,r)-Ramsey is 1−o(1)1-o(1).

For a sufficiently large constant CC, the result for p=Cn−1/mk(K)p=Cn^{-1/m_{k}(K)} follows from Theorems 9.5 and 10.10. For q>pq>p, the result follows from the monotonicity of the Ramsey property. To see this, choose a random hypergraph Gn,q(k)G_{n,q}^{(k)} and then choose a subhypergraph by randomly selecting each edge of Gn,q(k)G_{n,q}^{(k)} with probability p/qp/q. The resulting hypergraph is distributed as Gn,p(k)G_{n,p}^{(k)}, so with probability 1−o(1)1-o(1) it is (K,r)(K,r)-Ramsey. But then any rr-colouring of Gn,q(k)G_{n,q}^{(k)} will yield an rr-colouring of this Gn,p(k)G_{n,p}^{(k)}, which always contains a monochromatic copy of KK. □\Box

With only slightly more effort we can obtain a robust conclusion. Theorem 9.5 tells us that with high probability the number of monochromatic copies of KK in any rr-colouring of Gn,p(k)G_{n,p}^{(k)} is cpeKnvKcp^{e_{K}}n^{v_{K}} for some constant c>0c>0, and then an averaging argument implies that with high probability the number of monochromatic copies in an rr-colouring of Gn,q(k)G_{n,q}^{(k)} is cqeKnvKcq^{e_{K}}n^{{v_{K}}}.

The robust version of Schur’s theorem can be deduced from one of the standard proofs, which itself relies on Ramsey’s theorem for triangles and many colours.

Let rr be a positive integer. Then there exists an integer n0n_{0} and a constant cc such that, if n≥n0n\geq n_{0}, any rr-colouring of {1,…,n}\{1,\dots,n\} contains at least cn2cn^{2} monochromatic triples of the form {x,y,x+y}\{x,y,x+y\}.

We shall say that a subset II of the integers is rr-Schur if for every rr-colouring of the points of II there is a monochromatic triple of the form {x,y,x+y}\{x,y,x+y\}. The r=2r=2 case of the following theorem was already known: it is a result of Graham, Rödl and Ruciński .

As we mentioned in the introduction, it is quite a bit harder to prove 00-statements for colouring statements than it is for density statements. However, 00-statements for partition regular systems have been considered in depth by Rödl and Ruciński , and their result implies that Theorem 10.13 is sharp.

A far-reaching generalization of Schur’s theorem was proved by Rado . It is likely that our methods could be used to prove other cases of Rado’s theorem, but we have not tried to do so here, since we would have to impose a condition on the configurations analogous to the strictly balanced condition for graphs and hypergraphs.

3 The hypergraph removal lemma

Rather than jumping straight into studying hypergraphs, we shall begin by stating a slight strengthening of the triangle removal lemma for graphs. This strengthening follows from its proof via Szemerédi’s regularity lemma and gives us something like the “robust” version we need in order to use our methods to obtain a sparse result. If GG is a graph and XX and YY are sets of vertices, we shall write G(X,Y)G(X,Y) for the set of edges that join a vertex in XX to a vertex in YY, e(X,Y)e(X,Y) for the cardinality of G(X,Y)G(X,Y) and d(X,Y)d(X,Y) for e(X,Y)/∣X∣∣Y∣e(X,Y)/|X||Y|.

For every a>0a>0 there exists a constant KK with the following property. For every graph GG with nn vertices, there is a partition of the vertices of GG into k≤Kk\leq K sets V1,…,VkV_{1},\dots,V_{k}, each of size either ⌊n/k⌋\lfloor n/k\rfloor or ⌈n/k⌉\lceil n/k\rceil, and a set EE of edges of GG with the following properties.

The number of edges in EE is at most an2an^{2}.

EE is a union of sets of the form G(Vi,Vj)G(V_{i},V_{j}).

EE includes all edges that join a vertex in ViV_{i} to another vertex in the same ViV_{i}.

Let G′G^{\prime} be GG with the edges in EE removed. For any h,i,jh,i,j, if there are edges in all of G′(Vh,Vi)G^{\prime}(V_{h},V_{i}), G′(Vi,Vj)G^{\prime}(V_{i},V_{j}) and G′(Vh,Vj)G^{\prime}(V_{h},V_{j}), then the number of triangles xyzxyz with x∈Vhx\in V_{h}, y∈Viy\in V_{i} and z∈Vjz\in V_{j} is at least a3∣Vh∣∣Vi∣∣Vj∣/128a^{3}|V_{h}||V_{i}||V_{j}|/128.

In particular, this tells us that after we remove just a few edges we obtain a graph that contains either no triangles or many triangles. Let us briefly recall the usual statement of the dense triangle removal lemma and see how it follows from Theorem 10.14.

For every a>0a>0 there exists a constant c>0c>0 with the following property. For every graph GG with nn vertices and at most cn3cn^{3} triangles it is possible to remove at most an2an^{2} edges from GG in such a way that the resulting graph contains no triangles.

Apply Theorem 10.14 to aa and let c=a3/200K3c=a^{3}/200K^{3}. Now let GG be a graph with nn vertices. Let V1,…,VkV_{1},\dots,V_{k} and EE be as given by Theorem 10.14 and remove from GG all edges in EE. If we do this, then by Condition 1 we remove at most an2an^{2} edges from GG. If there were any triangle left in GG, then by Condition 4 there would have to be at least a3⌊n/k⌋3/128>cn3a^{3}\lfloor n/k\rfloor^{3}/128>cn^{3} triangles left in GG, a contradiction. This implies the result. □\Box

Here now is a sketch of how to deduce a sparse triangle removal lemma from Theorem 10.14. We begin by proving a sparse version of Theorem 10.14 itself. Given a random graph UU with edge probability p≥Cn−1/2p\geq Cn^{-1/2}, for sufficiently large CC, let HH be a subgraph of UU. Now use Corollary 9.7 to find a dense graph GG such that the triangle density of GG is roughly the same as the relative triangle density of HH in UU (that is, if HH has αp3n3\alpha p^{3}n^{3} triangles, then GG has roughly αn3\alpha n^{3} triangles) and such that for every pair of reasonably large sets X,YX,Y of vertices the density dG(X,Y)d_{G}(X,Y) is roughly the same as the relative density of HH inside U(X,Y)U(X,Y) (that is, the number of edges of G(X,Y)G(X,Y) is roughly p−1p^{-1} times the number of edges of H(X,Y)H(X,Y)).

Now use Theorem 10.14 to find a partition of the vertex set of GG (which is also the vertex set of HH) into sets V1,…,VkV_{1},\dots,V_{k} and to identify a set EGE_{G} of edges to remove from GG. By Condition 2, EGE_{G} is a union of sets of the form G(Vi,Vj)G(V_{i},V_{j}). Define EHE_{H} to be the union of the corresponding sets H(Vi,Vj)H(V_{i},V_{j}) and remove all edges in EHE_{H} from HH. If it happens that G(Vi,Vj)G(V_{i},V_{j}) is empty, then adopt the convention that we remove all edges from H(Vi,Vj)H(V_{i},V_{j}). Note that because the relative densities in dense complete bipartite graphs are roughly the same, the number of edges in EHE_{H} is at most 2apn22apn^{2}. Let G′G^{\prime} be GG with the edges in EGE_{G} removed and let H′H^{\prime} be HH with the edges in EHE_{H} removed.

Suppose now that H′H^{\prime} contains a triangle xyzxyz and suppose that x∈Vhx\in V_{h}, y∈Viy\in V_{i} and z∈Vjz\in V_{j}. Then none of G′(Vh,Vi)G^{\prime}(V_{h},V_{i}), G′(Vi,Vj)G^{\prime}(V_{i},V_{j}) and G′(Vh,Vj)G^{\prime}(V_{h},V_{j}) is empty, by our convention above, so Condition 4 implies that G′G^{\prime} contains at least a3∣Vh∣∣Vi∣∣Vj∣/128a^{3}|V_{h}||V_{i}||V_{j}|/128 triangles with x∈Vhx\in V_{h}, y∈Viy\in V_{i} and z∈Vjz\in V_{j}. Since triangle densities are roughly the same, it follows that H′H^{\prime} contains at least a3p3∣Vh∣∣Vi∣∣Vj∣/256a^{3}p^{3}|V_{h}||V_{i}||V_{j}|/256 triangles.

Roughly speaking, what this tells us is that Theorem 10.14 transfers to a sparse random version. From that it is easy to deduce a sparse random version of Corollary 10.15. However, instead of giving the full details of this, we shall prove (in a very similar way) a more general theorem, namely a sparse random version of the simplex removal lemma for hypergraphs, usually known just as the hypergraph removal lemma.

The dense result is due to Nagle, Rödl, Schacht and Skokan , and independently to the second author . A gentle introduction to the hypergraph removal lemma that focuses on the case of 3-uniform hypergraphs can be found in . The result is as follows.

For every δ>0\delta>0 and every integer k≥2k\geq 2, there exists a constant ϵ>0\epsilon>0 such that, if GG is a kk-uniform hypergraph containing at most ϵnk+1\epsilon n^{k+1} copies of Kk+1(k)K_{k+1}^{(k)}, it may be made Kk+1(k)K_{k+1}^{(k)}-free by removing at most δnk\delta n^{k} edges.

A simplex is a copy of Kk+1(k)K_{k+1}^{(k)}. As in the case of graphs, where simplices are triangles, it will be necessary to state a rather more precise and robust result. This is slightly more complicated to do than it was for graphs. However, it is much less complicated than it might be: it turns out not to be necessary to understand the statement of the regularity lemma for hypergraphs.

Let us make the following definition. Let HH be a kk-uniform hypergraph, and let J1,…,JkJ_{1},\dots,J_{k} be disjoint (k−1)(k-1)-uniform hypergraphs with the same vertex set as HH. We shall define H(J1,…,Jk)H(J_{1},\dots,J_{k}) to be the set of all edges A={a1,…,ak}∈HA=\{a_{1},\dots,a_{k}\}\in H such that {a1,…,ai−1,ai+1,…,ak}∈Ji\{a_{1},\dots,a_{i-1},a_{i+1},\dots,a_{k}\}\in J_{i} for every ii. (Note that if k=2k=2 then the sets J1J_{1} and J2J_{2} are sets of vertices, so we are obtaining the sets G(X,Y)G(X,Y) defined earlier.)

Now suppose that we have a simplex in HH with vertex set (x1,…,xk+1)(x_{1},\dots,x_{k+1}). For every subset {u,v}\{u,v\} of [k+1][k+1] of size 2, let us write JuvJ_{uv} for the (unique) set JiJ_{i} that contains the (k−1)(k-1)-set {xj:j∉{u,v}}\{x_{j}:j\notin\{u,v\}\}. Then for each uu the set H(Ju1,…,Ju,u−1,Ju,u+1,…,Ju,k+1)H(J_{u1},\dots,J_{u,u-1},J_{u,u+1},\dots,J_{u,k+1}) is non-empty. We make this remark in order to make the statement of the next theorem slightly less mysterious. It is an analogue for kk-uniform hypergraphs of Theorem 10.14. For convenience, we shall abbreviate H(Ju1,…,Ju,u−1,Ju,u+1,…,Ju,k+1)H(J_{u1},\dots,J_{u,u-1},J_{u,u+1},\dots,J_{u,k+1}) by H(Juv:v∈[k+1],v≠u)H(J_{uv}:v\in[k+1],v\neq u). (It might seem unnecessary to write “v∈[k+1]v\in[k+1]” every time. We do so to emphasize the asymmetry: the set depends on uu, while vv is a dummy variable.)

For every a>0a>0 there exists a constant KK with the following property. For every kk-uniform hypergraph HH with vertex set [n][n], there is a partition of ([n]k−1)\binom{[n]}{k-1} into at most KK subsets J1,…,JmJ_{1},\dots,J_{m}, with sizes differing by a factor of at most 2, and a set EE of edges of HH with the following properties.

The number of edges in EE is at most ankan^{k}.

EE is a union of sets of the form H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}).

EE includes all edges in any set H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}) for which two of the ihi_{h} are equal.

Let H′H^{\prime} be HH with the edges in EE removed. Suppose that for each pair of unequal integers u,v∈[k+1]u,v\in[k+1] there is a set JuvJ_{uv} from the partition such that the hypergraphs H′(Juv:v∈[k+1],v≠u)H^{\prime}(J_{uv}:v\in[k+1],v\neq u) are all non-empty. Then the number of simplices with vertices (x1,…,xk+1)(x_{1},\dots,x_{k+1}) such that the edge (x1,…,xu−1,xu+1,…,xk+1)(x_{1},\dots,x_{u-1},x_{u+1},\dots,x_{k+1}) belongs to H′(Juv:v∈[k+1],v≠u)H^{\prime}(J_{uv}:v\in[k+1],v\neq u) for every uu is at least (1/2)(a/4)k+1cKnk+1(1/2)(a/4)^{k+1}c_{K}n^{k+1}, where cKc_{K} is a constant that depends on KK (and hence on aa).

Let us now convert this result into a sparse version.

For every a>0a>0 there exist constants CC, KK and δ\delta with the following property. Let UU be a random kk-uniform hypergraph with vertex set [n][n], and with each edge chosen independently with probability Cn−1/k≤p≤δCn^{-1/k}\leq p\leq\delta. Then with probability 1−o(1)1-o(1) the following result holds. For every kk-uniform hypergraph F⊂UF\subset U, there is a partition of ([n]k−1)\binom{[n]}{k-1} into at most KK subsets J1,…,JmJ_{1},\dots,J_{m}, with sizes differing by a factor of at most 2, and a set EFE_{F} of edges of FF with the following properties.

The number of edges in EFE_{F} is at most apnkapn^{k}.

EFE_{F} is a union of sets of the form F(Ji1,…,Jik)F(J_{i_{1}},\dots,J_{i_{k}}).

EFE_{F} includes all edges in any set F(Ji1,…,Jik)F(J_{i_{1}},\dots,J_{i_{k}}) for which two of the ihi_{h} are equal.

Let F′F^{\prime} be FF with the edges in EFE_{F} removed. Suppose that for each pair of unequal integers u,v∈[k+1]u,v\in[k+1] there is a set JuvJ_{uv} from the partition such that the hypergraphs F′(Juv:v∈[k+1],v≠u)F^{\prime}(J_{uv}:v\in[k+1],v\neq u) are all non-empty. Then the number of simplices with vertices (x1,…,xk+1)(x_{1},\dots,x_{k+1}) such that the edge (x1,…,xu−1,xu+1,…,xk+1)(x_{1},\dots,x_{u-1},x_{u+1},\dots,x_{k+1}) belongs to F′(Juv:v∈[k+1],v≠u)F^{\prime}(J_{uv}:v\in[k+1],v\neq u) for every uu is at least (1/4)(a/8)k+1cKpk+1nk+1(1/4)(a/8)^{k+1}c_{K}p^{k+1}n^{k+1}, where cKc_{K} is a constant that depends on KK.

We have essentially seen the argument in the case of graphs. To start with, let us apply Corollary 9.7 with SS as the set of labelled simplices, ff as p−1p^{-1} times the characteristic function of FF, V\mathcal{V} as the collection of all sets of the form Kn(k)(J1,…,Jk)K_{n}^{(k)}(J_{1},\dots,J_{k}) where each JiJ_{i} is a collection of sets of size k−1k-1 (that is, the set of ordered sequences of length kk in [n][n] such that removing the iith vertex gives you an element of JiJ_{i}), and ϵ=(1/4)(a/8)k+1cK\epsilon=(1/4)(a/8)^{k+1}c_{K}, where KK and cKc_{K} come from applying Theorem 10.17 with a/2a/2 rather than aa. With this choice, ϵ\epsilon will also be less than a/2Kka/2K^{k}.

Note that αS=1/k\alpha_{S}=1/k in this case, and that the cardinality of V\mathcal{V} is at most 2knk−12^{kn^{k-1}}, so the corollary applies. From that we obtain a hypergraph HH (with characteristic function equal to the function hh provided by the corollary) such that p−(k+1)p^{-(k+1)} times the number of simplices in FF is at least the number of simplices in HH minus ϵnk+1\epsilon n^{k+1}, and such that the number of edges in H(J1,…,Jk)H(J_{1},\dots,J_{k}) differs from p−1p^{-1} times the number of edges in F(J1,…,Jk)F(J_{1},\dots,J_{k}) by at most ϵnk\epsilon n^{k} for every (J1,…,Jk)(J_{1},\dots,J_{k}).

We now apply Theorem 10.17 to HH with aa replaced by a/2a/2. Let EHE_{H} be the set of edges that we obtain and let H′H^{\prime} be HH with the edges in EHE_{H} removed.

Let J1,…,JmJ_{1},\dots,J_{m} be the sets that partition ([n]k−1)\binom{[n]}{k-1}, and remove all edges from FF that belong to a set F(Ji1,…,Jik)F(J_{i_{1}},\dots,J_{i_{k}}) such that the edges of H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}) belong to EHE_{H} (including when H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}) is empty). Let EFE_{F} be the set of removed edges and let F′F^{\prime} be FF after the edges are removed.

Since m≤Km\leq K, there are at most KkK^{k} kk-tuples (Ji1,…,Jik)(J_{i_{1}},\dots,J_{i_{k}}). For each such kk-tuple the number of edges in H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}) differs from p−1p^{-1} times the number of edges in F(Ji1,…,Jik)F(J_{i_{1}},\dots,J_{i_{k}}) by at most ϵnk\epsilon n^{k}. Therefore, since EHE_{H} and EFE_{F} are unions of sets of the form H(Ji1,…,Jik)H(J_{i_{1}},\dots,J_{i_{k}}) and F(Ji1,…,Jik)F(J_{i_{1}},\dots,J_{i_{k}}), respectively, and since ∣EH∣≤ank/2|E_{H}|\leq an^{k}/2, it follows that ∣EF∣≤(a/2+ϵKk)pnk≤apnk|E_{F}|\leq(a/2+\epsilon K^{k})pn^{k}\leq apn^{k}. This gives us Condition 1. Conditions 2 and 3 are trivial from the way we constructed EFE_{F}. So it remains to prove Condition 4.

Suppose, then, that for all u,v∈[k+1]u,v\in[k+1] there is a set JuvJ_{uv} such that there are edges in all of the hypergraphs F′(Juv:v∈[k+1],v≠u)F^{\prime}(J_{uv}:v\in[k+1],v\neq u) for u=1,2,…,k+1u=1,2,\dots,k+1. Then there must be edges in all the hypergraphs H′(Juv:v∈[k+1],v≠u)H^{\prime}(J_{uv}:v\in[k+1],v\neq u) as well, or we would have removed the corresponding sets of edges from FF. By Condition 4 of the dense result applied to HH, it follows that H′H^{\prime} contains at least (1/2)(a/8)k+1cKnk+1(1/2)(a/8)^{k+1}c_{K}n^{k+1} simplices, which implies that HH does as well, which implies that FF contains at least ((1/2)(a/8)k+1cK−ϵ)pk+1nk+1((1/2)(a/8)^{k+1}c_{K}-\epsilon)p^{k+1}n^{k+1} simplices, which gives us the bound stated. □\Box

Now let us deduce the simplex removal lemma. This is just as straightforward as it was for graphs.

For every a>0a>0 there exist constants CC and c>0c>0 with the following property. Let UU be a random kk-uniform hypergraph with vertex set [n][n], and with each edge chosen independently with probability p≥Cn−1/kp\geq Cn^{-1/k}. Then with probability 1−o(1)1-o(1) the following result holds. Let FF be a subhypergraph of UU that contains at most cpk+1nk+1cp^{k+1}n^{k+1} simplices. Then it is possible to remove at most apnkapn^{k} edges from FF and make it simplex free.

Let c=(1/8)(a/8)k+1cKc=(1/8)(a/8)^{k+1}c_{K}, where cKc_{K} is the constant given by Theorem 10.18, and apply that theorem to obtain a set EFE_{F}, which we shall take as our set EE. Then EE contains at most apnkapn^{k} edges, so it remains to prove that when we remove the edges in EE from FF we obtain a hypergraph F′F^{\prime} with no simplices.

Suppose we did have a simplex in F′F^{\prime}. Let its vertex set be {x1,…,xk+1}\{x_{1},\dots,x_{k+1}\}. For each {u,v}⊂[k+1]\{u,v\}\subset[k+1] of size 2, let JuvJ_{uv} be the set from the partition given by Theorem 10.18 that contains the (k−1)(k-1)-set {xi:i∉{u,v}}\{x_{i}:i\notin\{u,v\}\}. Then, as we commented before the statement of Theorem 10.17 (though then we were talking about HH), for each uu the set F′(Juv:v∈[k+1],v≠u)F^{\prime}(J_{uv}:v\in[k+1],v\neq u) is non-empty. Therefore, by Theorem 10.18, F′F^{\prime}, and hence FF, contains at least (1/4)(a/8)k+1cKpk+1nk+1(1/4)(a/8)^{k+1}c_{K}p^{k+1}n^{k+1} simplices. By our choice of cc, this is a contradiction.

This argument works for Cn−1/k≤p≤δCn^{-1/k}\leq p\leq\delta. However, since δ\delta is a constant, we may, for p>δp>\delta, simply apply the hypergraph removal lemma itself to remove all simplices. □\Box

4 The stability theorem

As a final application we will discuss the stability version of Turán’s theorem, Theorem 1.11. The original stability theorem, due to Simonovits , is the following.

For every δ>0\delta>0 and every graph HH with χ(H)≥3\chi(H)\geq 3, there exists an ϵ>0\epsilon>0 such that any HH-free graph with at least (1−1χ(H)−1−ϵ)(n2)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)\binom{n}{2} edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δn2\delta n^{2} edges.

Unfortunately, this is not quite enough for our purposes. We would like to be able to say that a graph that does not contain too many copies of HH may be made (χ(H)−1)(\chi(H)-1)-partite by the deletion of few edges. To prove this, we appeal to the following generalization of the triangle removal lemma.

For every δ>0\delta>0 and every graph HH, there exists a constant ϵ>0\epsilon>0 such that, if GG is a graph containing at most ϵnvH\epsilon n^{v_{H}} copies of HH, then it may be made HH-free by removing at most δn2\delta n^{2} edges.

Combining the two previous theorems gives us the robust statement we shall need.

For every δ>0\delta>0 and every graph HH with χ(H)≥3\chi(H)\geq 3, there exists a constant ϵ\epsilon such that any graph with at most ϵnvH\epsilon n^{v_{H}} copies of HH and at least (1−1χ(H)−1−ϵ)(n2)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)\binom{n}{2} edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δn2\delta n^{2} edges.

To prove Theorem 1.11, the statement of which we now repeat, we will follow the procedure described at the end of Section 3.

Given a strictly 22-balanced graph HH with χ(H)≥3\chi(H)\geq 3 and a constant δ>0\delta>0, there exist positive constants CC and ϵ\epsilon such that in the random graph Gn,pG_{n,p} chosen with probability p≥Cn−1/m2(H)p\geq Cn^{-1/m_{2}(H)}, where m2(H)=(eH−1)/(vH−2)m_{2}(H)=(e_{H}-1)/(v_{H}-2), the following holds with probability tending to 1 as nn tends to infinity. Every HH-free subgraph of Gn,pG_{n,p} with at least (1−1χ(H)−1−ϵ)p(n2)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)p\binom{n}{2} edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δpn2\delta pn^{2} edges.

Fix δ>0\delta>0. An application of Theorem 10.22 gives us ϵ>0\epsilon>0 such that any graph with at most ϵnvH\epsilon n^{v_{H}} copies of HH and at least (1−1χ(H)−1−2ϵ)(n2)\left(1-\frac{1}{\chi(H)-1}-2\epsilon\right)\binom{n}{2} edges may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δn2/2\delta n^{2}/2 edges.

Let AA be a HH-free subgraph of GG with (1−1χ(H)−1−ϵ)p(n2)\left(1-\frac{1}{\chi(H)-1}-\epsilon\right)p\binom{n}{2} edges and let 0≤f≤μ0\leq f\leq\mu be p−1p^{-1} times its characteristic function. Apply the transference principle to find the function jj, which is the characteristic measure of a graph JJ. The number of copies of HH in JJ is at most ϵnvH\epsilon n^{v_{H}}. Otherwise, we would have

implying that AA was not HH-free. Moreover, the number of edges in JJ is at least (1−1χ(H)−1−2ϵ)(n2)\left(1-\frac{1}{\chi(H)-1}-2\epsilon\right)\binom{n}{2}. Therefore, by the choice of ϵ\epsilon, JJ may be made (χ(H)−1)(\chi(H)-1)-partite by removing at most δn2/2\delta n^{2}/2 edges.

Moreover, the graph that remains is (χ(H)−1)(\chi(H)-1)-partite, so we are done.

It only remains to consider the case when p>λp>\lambda. However, as observed in , for pp constant, the theorem follows from an application of the regularity lemma. This completes the proof. □\Box

As a final note, we would like to mention that the method used in the proof of Theorem 10.23 should work quite generally. To take one more example, let KK be the Fano plane. This is the hypergraph formed by taking the seven non-zero vectors of dimension three over the field with two elements and making xyzxyz an edge if x+y+z=0x+y+z=0. The resulting graph has seven vertices and seven edges. It is known that the extremal number of the Fano plane is approximately 34(n3)\frac{3}{4}\binom{n}{3}. Since the Fano plane is strictly 33-balanced, Theorem 10.9 implies that if UU is a random 33-uniform hypergraph chosen with probability p≥Cn−2/3p\geq Cn^{-2/3}, then, with high probability, UU is such that any subgraph of UU with at least (34+ϵ)∣U∣\left(\frac{3}{4}+\epsilon\right)|U| edges contains the Fano plane.

Moreover, it was proved independently by Keevash and Sudakov and Füredi and Simonovits that the extremal example is formed by dividing the ground set into subsets AA and BB of nearly equal size and taking all triples that intersect both as edges. The stability version of this result says that, for all δ>0\delta>0, there exists ϵ>0\epsilon>0 such that any 33-uniform hypergraph on nn vertices with at least (34−ϵ)(n3)\left(\frac{3}{4}-\epsilon\right)\binom{n}{3} edges that does not contain the Fano plane may be partitioned into two parts AA and BB such that there are at most δn3\delta n^{3} edges contained entirely within AA or BB. The same proof as that of Theorem 10.23 then implies the following theorem.

Given a constant δ>0\delta>0, there exist positive constants CC and ϵ\epsilon such that in the random graph Gn,p(3)G_{n,p}^{(3)} chosen with probability p≥Cn−2/3p\geq Cn^{-2/3}, the following holds with probability tending to 1 as nn tends to infinity. Every subgraph of Gn,p(3)G_{n,p}^{(3)} with at least (34−ϵ)e(G)\left(\frac{3}{4}-\epsilon\right)e(G) edges that does not contain the Fano plane may be made bipartite, in the sense that all edges intersect both parts of the partition, by removing at most δpn3\delta pn^{3} edges.

Concluding remarks

One question that the results of this paper leave open is to decide whether or not the thresholds we have proved are sharp. By saying that a threshold is sharp, we mean that the window over which the phase transition happens becomes arbitrarily small as the size of the ground set becomes large. For example, a graph property P\mathcal{P} has a sharp threshold at p^=p^(n)\hat{p}=\hat{p}(n) if, for every ϵ>0\epsilon>0,

Connectedness is a simple example of a graph property for which a sharp threshold is known. The appearance of a triangle, on the other hand, is known not to be sharp. A result of Friedgut gives a criterion for judging whether a threshold is sharp or not. Roughly, this criterion says that if the property is globally determined, it is sharp, and if it is locally determined, it is not. This intuition allows one to conclude fairly quickly that connectedness should have a sharp threshold and the appearance of any particular small subgraph should not.

For the properties that we have discussed in this paper it is much less obvious whether the bounds are sharp or not. Many of the properties are not even monotone, which is crucial if one wishes to apply Friedgut’s criterion. Nevertheless, the properties do not seem to be too pathological, so perhaps there is some small hope that the sharpness of their thresholds can be proved. There has even been some success in this direction already. Recall that the threshold at which Gn,pG_{n,p} becomes 22-colour Ramsey with respect to triangles is approximately n−1/2n^{-1/2}. A difficult result of Friedgut, Rödl, Ruciński and Tetali states that this threshold is sharp. That is, there exists c^=c^(n)\hat{c}=\hat{c}(n) such that, for every ϵ>0\epsilon>0,

Unfortunately, the function c^(n)\hat{c}(n) is not known to tend towards a constant. It could, at least in principle, wander up and down forever between the two endpoints. Nevertheless, we believe that extending this result to cover all (or any) of the theorems in this paper is important.

There are other improvements that it might well be possible to make. We proved our graph and hypergraph results for strictly balanced graphs and hypergraphs, while the results of Schacht and Friedgut, Rödl and Schacht apply to all graphs and hypergraphs. On the other hand, our methods allow us to prove structural results such as the stability theorem which do not seem to follow from their approach. It seems plausible that some synthesis of the two approaches could allow us to extend these latter results to general graphs and hypergraphs in a tidy fashion. In subsequent work, Samotij showed how to adapt Schacht’s method so that it also applies to structural statements such as Theorem 1.11. However, it still remains an open problem to extend the methods of this paper to all graphs and hypergraphs.

In our approach, restricting to strictly balanced graphs and hypergraphs was very convenient, since it allowed us to cap our convolutions only at the very last stage (that is, when all the functions involved had sparse random support). In more general cases, capping would have to take place “all the way down”. It seems likely that this can be done, but that a direct attempt to generalize our methods would be messy.

A more satisfactory approach would be to find a neater way of proving our probabilistic estimates. The process of capping is a bit ugly: a better approach might be to argue that with high probability we can say roughly how the modulus of an uncapped convolution is distributed, and use that in an inductive hypothesis. (It seems likely that the distribution is approximately Poisson.)

Thus, it seems that the problem of extending our methods to general graphs and hypergraphs and the problem of finding a neater proof of the probabilistic estimates go hand in hand.

References