Counting sum-free sets in Abelian groups

Noga Alon, József Balogh, Robert Morris, Wojciech Samotij

Introduction

An important trend in Combinatorics in recent years has been the formulation and proof of various ‘sparse analogues’ of classical extremal results in Graph Theory and Additive Combinatorics. Due to the recent breakthroughs of Conlon and Gowers and Schacht , many such theorems, e.g., the theorems of Turán and Erdős and Stone in extremal graph theory, and the theorem of Szemerédi on arithmetic progressions, are now known to extend to sparse random sets. For structural and enumerative results, such as the theorem of Kolaitis, Prömel and Rotshchild which states that almost all Kr+1K_{r+1}-free graphs are rr-colorable, perhaps the most natural sparse analogue is a corresponding statement about subsets of a given fixed size mm, whenever mm is not too small. In this paper, we prove such a result in the context of sum-free subsets of Abelian groups and provide a general framework for solving problems of this type. To be precise, we obtain a sparse analogue of a result of Green and Ruzsa , which describes the structure of a typical sum-free subset of an Abelian group.

For problems of the type we are considering, results are known only in a few special cases. Most notably, Osthus, Prömel and Taraz , confirming (and strengthening) a conjecture of Prömel and Steger , proved that if m⩾(34+ε)n3/2log⁡nm\geqslant\big(\frac{\sqrt{3}}{4}+\varepsilon\big)n^{3/2}\sqrt{\log n} then almost all triangle-free graphs with mm edges are bipartite; moreover, the constant 3/4\sqrt{3}/4 is best possible. This result can be seen as a sparse version of the classical theorem of Erdős, Kleitman and Rothschild , which states that almost all triangle-free graphs are bipartite. A similarly sharp result was proved by Friedgut, Rödl, Ruciński and Tetali for the existence of monochromatic triangles in two-colourings of Gn,pG_{n,p}. It is an interesting open problem to prove such a sharp threshold in the setting of Theorem 1.1, below.

A set A⊆GA\subseteq G, where GG is an Abelian group, is said to be sum-free if (A+A)∩A=∅(A+A)\cap A=\emptyset, or equivalently, if there is no solution to the equation x+y=zx+y=z with x,y,z∈Ax,y,z\in A. Sum-free subsets of Abelian groups are central objects of interest in Additive Combinatorics, and have been studied intensively in recent years. The main questions are as follows: What are the largest sum-free subsets of GG? How many sum-free sets are there? And what does a typical such set look like? Over forty years ago, Diananda and Yap determined the maximum density μ(G)\mu(G) of a sum-free set in GG whenever ∣G∣|G| has a prime factor q≢1(mod3)q\not\equiv 1\pmod{3}, but it was not until 2005 that Green and Ruzsa completely solved this extremal question for all finite Abelian groups. On the second and third questions, Lev, Łuczak and Schoen and Sapozhenko determined the asymptotic number of sum-free subsets in an Abelian group of even order by showing that almost all such sets We say that almost all sets in a family F\mathcal{F} of subsets of GG satisfy some property P\mathcal{P} if the ratio of the number of sets in F\mathcal{F} that have P\mathcal{P} to the number of all sets in F\mathcal{F} tends to 11 as ∣G∣|G| tends to infinity. lie in the complement of a subgroup of index 22. Green and Ruzsa extended this result to Abelian groups which have a prime factor q≡2(mod3)q\equiv 2\pmod{3}, and showed also that a general finite Abelian group GG has 2(1+o(1))μ(G)∣G∣2^{(1+o(1))\mu(G)|G|} sum-free subsets.

For every prime q≡2(mod3)q\equiv 2\pmod{3}, there exists a constant C(q)>0C(q)>0 such that the following holds. Let GG be an Abelian group of Type I(q)I(q) and order nn, and let m⩾C(q)nlog⁡nm\geqslant C(q)\sqrt{n\log n}. Then almost every sum-free subset of GG of size mm is contained in a maximum-size sum-free subset of GG, and hence

as n→∞n\to\infty, where λq=1\lambda_{q}=1 if q=2q=2 and λq=1/2\lambda_{q}=1/2 otherwise.

Although the factor λq⋅#{elements of Gof order q}\lambda_{q}\cdot\#\{\text{elements of }G\text{of order }q\} above may appear mysterious, it is a natural consequence of the characterization of maximum-size sum-free sets in groups of Type I, see Theorem 6.2. We remark that the lower bound m⩾C(q)nlog⁡nm\geqslant C(q)\sqrt{n\log n} is sharp up to a constant factor, since there are at least (n/2)(μ(G)n−3m)m−1/(m−1)!(n/2)\big(\mu(G)n-3m\big)^{m-1}/(m-1)! sum-free subsets of GG which contain exactly one element outside a given maximum-size sum-free subset of GG, and this is larger than m1/5(μ(G)nm)m^{1/5}{\mu(G)n\choose m} if m⩽15nlog⁡nm\leqslant\frac{1}{5}\sqrt{n\log n}. (Here, and throughout, log⁡\log denotes the natural logarithm.) Hence, assuming m1/5m^{1/5} is much larger than the number of elements of order qq in GG, almost no sum-free subset of GG of this size is contained in a maximum-size sum-free subset of GG.

We shall prove Theorem 1.1 using a new theorem (see Section 2) which describes the structure of a typical independent set in a 3-uniform hypergraph H\mathcal{H} that satisfies a certain natural ‘stability’ property, see Definition 2.1. The key ingredient in the proof of this theorem is a new method of enumerating independent sets in 3-uniform hypergraphs. We shall also use a simplified version of this method to prove a new bound on the number of independent sets in a certain class of expander graphs known as (n,d,λ)(n,d,\lambda)-graphs.

First, let us recall the definition of (n,d,λ)(n,d,\lambda)-graphs, which are an important class of expanders; for a detailed introduction to expander graphs, we refer the reader to or . Given a graph G\mathcal{G}, let λ1⩾…⩾λn\lambda_{1}\geqslant\ldots\geqslant\lambda_{n} denote the eigenvalues of the adjacency matrix of G\mathcal{G}. We call max⁡{∣λ2∣,∣λn∣}\max\{|\lambda_{2}|,|\lambda_{n}|\} the second eigenvalue of G\mathcal{G}.

A graph G\mathcal{G} is an (n,d,λ)(n,d,\lambda)-graph if it is dd-regular, has nn vertices, and the absolute value of each of its nontrivial eigenvalues is at most λ\lambda.

Alon and Rödl gave an upper bound on the number of independent sets in an (n,d,λ)(n,d,\lambda)-graph, and used their result to give sharp bounds on multicolour Ramsey numbers. When λ=Ω(d)\lambda=\Omega(d) (as n→∞n\to\infty), Theorem 1.3 below provides a significantly stronger bound than that of Alon and Rödl, for a wider range of mm; it is moreover asymptotically sharp. In fact, we will not assume anything about the second eigenvalue of a graph G\mathcal{G} as our bound on the number of independent sets of G\mathcal{G} will depend only on the smallest eigenvalue of G\mathcal{G}. Given a graph G\mathcal{G}, let λ(G)\lambda(\mathcal{G}) be the smallest eigenvalue of the adjacency matrix of G\mathcal{G} (denoted by λn\lambda_{n} above) and let I(G,m)I(\mathcal{G},m) be the number of independent sets of size mm in G\mathcal{G}. Observe that λ(G)<0\lambda(\mathcal{G})<0 for every non-empty G\mathcal{G} and that, by definition, every (n,d,λ)(n,d,\lambda)-graph satisfies λ(G)⩾−λ\lambda(\mathcal{G})\geqslant-\lambda.

For every ε>0\varepsilon>0, there exists a constant C=C(ε)C=C(\varepsilon) such that the following holds. If G\mathcal{G} is an nn-vertex dd-regular graph with λ(G)⩾−λ\lambda(\mathcal{G})\geqslant-\lambda, then

We remark that the constant λd+λ\frac{\lambda}{d+\lambda} in Theorem 1.3 is best possible, since there exist nn-vertex dd-regular graphs with λ(G)⩾−λ\lambda(\mathcal{G})\geqslant-\lambda and α(G)=λd+λn\alpha(\mathcal{G})=\frac{\lambda}{d+\lambda}n for many values of nn, dd and λ\lambda (here α(G)\alpha(\mathcal{G}) denotes the independence number of G\mathcal{G}). For example, consider a blow-up of the complete graph Kt+1K_{t+1}, where each vertex is replaced by a set of size n/(t+1)n/(t+1) and each edge is replaced by a random d/td/t-regular bipartite graph with colour classes of size n/(t+1)n/(t+1) each. This blown-up graph G\mathcal{G} is dd-regular and, with high probability, it satisfies λ(G)=−d/t\lambda(\mathcal{G})=-d/t and α(G)=n/(t+1)\alpha(\mathcal{G})=n/(t+1).

In Section 7, we shall use Theorem 1.3, together with some basic facts about characters of finite Abelian groups, to give a completely self-contained proof of Theorem 1.1 in the case q=2q=2. For previous results relating the problem of estimating the number of sum-free subsets of groups, to that of estimating the number of independent sets in regular graphs, see for example . For other results on counting independent sets in graphs and hypergraphs, see Balogh and Samotij , Carroll, Galvin and Tetali , Galvin and Kahn , Kahn , Peled and Samotij , Sapozhenko and Zhao .

The rest of the paper is organised as follows. In Section 2, we state our structural theorem for 3-uniform hypergraphs, and in Section 3 we prove Theorem 1.3. In Sections 4 and 5, we prove the structural theorem, and in Sections 6 we shall apply it to prove Theorem 1.1. Finally, in Section 7, we shall prove Theorem 1.1 again in the case q=2q=2.

A structural theorem for 3-uniform hypergraphs

Roughly speaking, a sequence of hypergraphs (Hn)(\mathcal{H}_{n}) is (α,B)(\alpha,\mathcal{B})-stable if for every A⊆V(Hn)A\subseteq V(\mathcal{H}_{n}) such that ∣A∣|A| is almost as large as the extremal number for Hn\mathcal{H}_{n} (i.e., the size of the largest independent set), the set AA is either very close to an extremal set B∈BnB\in\mathcal{B}_{n}, or it contains many (i.e., a positive fraction of all) edges of Hn\mathcal{H}_{n}. Observe that classical stability results, such as that of Erdős and Simonovits , are typically of this form.

We shall need two further technical conditions on H\mathcal{H}. Let

and note that if H\mathcal{H} encodes Schur triples then Δ2(Hn)⩽3\Delta_{2}(\mathcal{H}_{n})\leqslant 3. Also define

and, as usual, write α(Hn)\alpha(\mathcal{H}_{n}) for the size of the largest independent set in Hn\mathcal{H}_{n}.

The following theorem is the key step in the proof of Theorem 1.1.

then almost every independent set in Hn\mathcal{H}_{n} of size mm is a subset of some B∈BnB\in\mathcal{B}_{n}.

We shall prove Theorem 2.2 in Sections 4 and 5. In Section 6, we shall use it to prove Theorem 1.1.

Independent sets in regular graphs with no small eigenvalues

As a warm-up for the proof of Theorem 2.2, we shall prove a bound on the number of independent sets in regular graphs with no small eigenvalues, Theorem 1.3, which improves a theorem of Alon and Rödl . This result will be a key tool in our self-contained proof of Theorem 1.1 in the case q=2q=2, see Section 7. Moreover, many of the ideas from the proof of Theorem 1.3 will be used again in the proof of Theorem 2.2. We remark that the technique of enumerating independent sets in graphs used in this section was pioneered by Kleitman and Winston and our proof of Theorem 1.3, below, requires little more than their original method.

Given a graph G\mathcal{G} on nn vertices, and an integer m∈[n]m\in[n], let I(G)I(\mathcal{G}) denote the number of independent sets in G\mathcal{G}, and recall that I(G,m)I(\mathcal{G},m) denotes the number of independent sets of size mm in G\mathcal{G}. Alon proved that if G\mathcal{G} is a dd-regular graph on nn vertices, then I(G)⩽2n/2+o(n)I(\mathcal{G})\leqslant 2^{n/2+o(n)} (as d→∞d\to\infty), resolving a conjecture of Granville (see ), and suggested that the unique G\mathcal{G} that maximizes I(G)I(\mathcal{G}) among all such (i.e., nn-vertex dd-regular) graphs might be a disjoint union of copies of Kd,dK_{d,d}. This conjecture was proven (using the entropy method) by Kahn for bipartite graphs, and recently in full generality by Zhao .

Let G\mathcal{G} be a dd-regular graph on nn vertices. Then

where equality holds if and only if G\mathcal{G} is a disjoint union of copies of Kd,dK_{d,d}.

Since −d-d is an eigenvalue of Kd,dK_{d,d}, any dd-regular graph G\mathcal{G} containing a copy of Kd,dK_{d,d} satisfies λ(G)=−d\lambda(\mathcal{G})=-d. One might hope that a stronger bound on I(G)I(\mathcal{G}) holds for dd-regular graphs G\mathcal{G} with λ(G)>−d\lambda(\mathcal{G})>-d. Alon and Rödl proved such a bound on I(G,m)I(\mathcal{G},m) for the slightly narrower class of (n,d,λ)(n,d,\lambda)-graphs and used their result to give sharp bounds on Ramsey numbers.

Let G\mathcal{G} be an (n,d,λ)(n,d,\lambda)-graph. Then

If λ=Ω(d)\lambda=\Omega(d) as n→∞n\to\infty, then Theorem 1.3 improves the above result in three ways: it provides a stronger bound for a wider range of values of mm in a wider class of graphs. Theorem 1.3 is an immediate consequence of the following theorem, combined with the Alon-Chung lemma (Lemma 3.4, below).

For every ε,δ>0\varepsilon,\delta>0, there exists a constant C=C(ε,δ)C=C(\varepsilon,\delta) such that the following holds. Let G\mathcal{G} be a dd-regular graph on nn vertices, and suppose that 2e(A)⩾ε∣A∣d2e(A)\geqslant\varepsilon|A|d for every A⊆V(G)A\subseteq V(\mathcal{G}) with ∣A∣⩾(α+δ)n|A|\geqslant\big(\alpha+\delta\big)n. Then

The assumption in Theorem 3.3 that 2e(A)⩾ε∣A∣d2e(A)\geqslant\varepsilon|A|d might seem somewhat strong; however, it follows from the Expander Mixing Lemma that it is satisfied by every (n,d,λ)(n,d,\lambda)-graph with λ/(d+λ)⩽α\lambda/(d+\lambda)\leqslant\alpha. For two sets S,T⊆V(G)S,T\subseteq V(\mathcal{G}), let e(S,T)e(S,T) denote the number of pairs (x,y)∈S×T(x,y)\in S\times T such that {x,y}∈E(G)\{x,y\}\in E(\mathcal{G}). In particular, we have e(S,S)=2e(S)e(S,S)=2e(S) for every S⊆V(G)S\subseteq V(\mathcal{G}). The following result is proved Although the result is stated in in a slightly different form, its proof there in fact implies Lemma 3.4. in .

Let G\mathcal{G} be an nn-vertex dd-regular graph. Then for all A⊆V(G)A\subseteq V(G),

We first deduce Theorem 1.3 from Theorem 3.3 and Lemma 3.4.

We claim that if G\mathcal{G} is an nn-vertex dd-regular graph with λ(G)⩾−λ\lambda(\mathcal{G})\geqslant-\lambda and α=λ/(d+λ)\alpha=\lambda/(d+\lambda), then 2e(A)⩾ε∣A∣d2e(A)\geqslant\varepsilon|A|d for every A⊆V(G)A\subseteq V(\mathcal{G}) with ∣A∣⩾(α+ε)n|A|\geqslant(\alpha+\varepsilon)n. This implies that G\mathcal{G} satisfies the assumption of Theorem 3.3 (with δ=ε\delta=\varepsilon), and so the theorem follows.

To prove the claim, suppose that A⊆V(G)A\subseteq V(\mathcal{G}) satisfies ∣A∣⩾(α+ε)n|A|\geqslant(\alpha+\varepsilon)n. By Lemma 3.4,

Our lower bound on ∣A∣|A| and the choice of α=λ/(d+λ)\alpha=\lambda/(d+\lambda) now give

In the proof of Theorem 3.3, we shall use an algorithm which uniquely encodes every independent set II of size mm in G\mathcal{G} as a pair (S,I∖S)(S,I\setminus S), where ∣S∣⩽2n/εd⩽2m/Cε|S|\leqslant 2n/\varepsilon d\leqslant 2m/C\varepsilon, and I∖SI\setminus S is contained in some set AA, with ∣A∣⩽(α+δ)n|A|\leqslant(\alpha+\delta)n, which depends only on SS. At all times, it maintains a partition of V(G)V(\mathcal{G}) into sets SS, XX, and AA (short for Selected, eXcluded, and Available), such that S⊆I⊆A∪SS\subseteq I\subseteq A\cup S.

At each stage of the algorithm, we will need to order the vertices of AA with respect to their degrees. For the sake of brevity and clarity of the presentation, let us make the following definition.

Given a graph G\mathcal{G} and a set A⊆V(G)A\subseteq V(\mathcal{G}), the max-degree order on AA is the following linear order (v1,…,v∣A∣)(v_{1},\ldots,v_{|A|}) on the elements of AA: For every i∈{1,…,∣A∣}i\in\{1,\ldots,|A|\}, viv_{i} is the maximum-degree vertex in the graph G[A∖{v1,…,vi−1}]\mathcal{G}[A\setminus\{v_{1},\ldots,v_{i-1}\}]; we break ties by giving preference to vertices that come earlier in some predefined ordering of V(G)V(\mathcal{G}).

We are now ready to describe the Basic Algorithm.

Set A=V(G)A=V(\mathcal{G}) and S=X=∅S=X=\emptyset. Now, while ∣A∣>(α+δ)n|A|>(\alpha+\delta)n, we repeat the following:

Let ii be the minimal index (in the max-degree order on AA) such that vi∈Iv_{i}\in I.

Move v1,…,vi−1v_{1},\ldots,v_{i-1} from AA to XX (since they are not in II by the choice of ii).

Move N(vi)N(v_{i}) from AA to XX (since II is independent and vi∈Iv_{i}\in I).

Finally, when ∣A∣⩽(α+δ)n|A|\leqslant(\alpha+\delta)n, we output SS (which is a subset of V(G)V(\mathcal{G})) and I∖SI\setminus S (which is a subset of AA).

We remark that, as well as in , algorithms similar to the one above have been considered before to bound the number of independent sets in graphs and hypergraphs .

The theorem is an easy consequence of the following two statements:

where t0=nεd+1t_{0}=\displaystyle\frac{n}{\varepsilon d}+1, and

if t⩽2n/εdt\leqslant 2n/\varepsilon d and m⩾Cn/dm\geqslant Cn/d. We shall prove (1) using the Basic Algorithm; (2) follows from a straightforward calculation.

It will thus suffice to show that, given our assumptions on G\mathcal{G}, the algorithm terminates in at most t0=nεd+1⩽2nεdt_{0}=\frac{n}{\varepsilon d}+1\leqslant\frac{2n}{\varepsilon d} steps. We shall show that AA loses at least εd\varepsilon d elements at each step of the algorithm (except perhaps the last), from which this bound follows immediately. Indeed, consider a step of the algorithm (not the last), in which a vertex viv_{i} is moved to SS, and set A′=A∖{v1,…,vi−1}A^{\prime}=A\setminus\{v_{1},\ldots,v_{i-1}\}. Since this is not the last step, we have ∣A′∣⩾(α+δ)n|A^{\prime}|\geqslant(\alpha+\delta)n, and so 2e(A′)⩾ε∣A′∣d2e(A^{\prime})\geqslant\varepsilon|A^{\prime}|d, by our assumption on G\mathcal{G}. Thus ∣N(vi)∩A′∣⩾εd|N(v_{i})\cap A^{\prime}|\geqslant\varepsilon d, since viv_{i} is the vertex of maximum degree in G[A′]\mathcal{G}[A^{\prime}], and hence AA loses at least εd\varepsilon d elements in this step, as claimed.

To prove (2), we use the fact that, if tt is replaced by t+1t+1, then the left-hand side is multiplied by

We claim that (3) is at most 2δ⋅(mt)2\frac{2}{\delta}\cdot\left(\frac{m}{t}\right)^{2}. To prove this, we consider two cases: if m⩽(α+δ/2)nm\leqslant(\alpha+\delta/2)n, then (3) is at most

while if m>(α+δ/2)nm>(\alpha+\delta/2)n then it is at most

since n⩽2m/δn\leqslant 2m/\delta, and our assumptions imply that α(G)<(α+δ)n\alpha(\mathcal{G})<(\alpha+\delta)n, so we may assume that m<(α+δ)nm<(\alpha+\delta)n. Thus, for each tt with t⩽t0⩽2nεdt\leqslant t_{0}\leqslant\frac{2n}{\varepsilon d},

as required. In the final inequality we used the fact that CC is sufficiently large as a function of δ\delta and ε\varepsilon, and that mm is sufficiently large (as a function of δ\delta), since m⩾Cn/dm\geqslant Cn/d. ∎

Algorithm argument

In this section, we shall introduce a more powerful algorithm than that used in Section 3. We shall use this algorithm in the proof of Theorem 2.2 to bound the number of independent sets which contain at least δm\delta m elements of V(Hn)∖BV(\mathcal{H}_{n})\setminus B for every B∈BnB\in\mathcal{B}_{n}. We shall show that when m≫nm\gg\sqrt{n}, then the number of such independent sets is exponentially small. The model example that the reader should keep in mind when reading this section is when Hn\mathcal{H}_{n} is the hypergraph of Schur triples in an nn-element Abelian group of Type I(qq), where qq is some prime satisfying q≡2(mod3)q\equiv 2\pmod{3}.

Given a hypergraph Hn\mathcal{H}_{n}, a family of sets Bn\mathcal{B}_{n}, and δ>0\delta>0, we define

for some ε=ε(H,δ)>0\varepsilon=\varepsilon(\mathcal{H},\delta)>0.

We shall frequently consider the max-degree order (defined in Section 3) on the vertices of the graph GT[A]\mathcal{G}_{T}[A].

The idea of the algorithm is quite simple: we apply the Basic Algorithm of Section 3 to the graph GT[A]\mathcal{G}_{T}[A] as long as it is reasonably dense. If GT[A]\mathcal{G}_{T}[A] becomes too sparse, then there are four possibilities: either we have arrived at a set AA which has at most (α−β)n(\alpha-\beta)n elements, or a set AA which is almost contained in some B∈BnB\in\mathcal{B}_{n}; or if not, then we can use the (α,B)(\alpha,\mathcal{B})-stability of H\mathcal{H} to find either a new set TT for which GT\mathcal{G}_{T} is dense (see Case 2 below), or a set of linear size that contains very few elements of II. Therefore, after moving relatively few vertices of Hn\mathcal{H}_{n} to SS, our choice for I∖SI\setminus S is limited to a set A⊆V(G)A\subseteq V(\mathcal{G}) that is either small or almost contained in some B∈BnB\in\mathcal{B}_{n}. It follows that if II was far from every B∈BnB\in\mathcal{B}_{n}, then (in both cases) the number of ways to choose I∖SI\setminus S from AA is very small.

We begin by choosing some constants. Let γ>0\gamma>0 and note that since H\mathcal{H} is (α,B)(\alpha,\mathcal{B})-stable, there exists β>0\beta>0 so that if ∣A∣⩾(α−β)∣V(Hn)∣|A|\geqslant(\alpha-\beta)|V(\mathcal{H}_{n})| and ∣A∖B∣>γ∣V(Hn)∣|A\setminus B|>\gamma|V(\mathcal{H}_{n})| for every B∈BnB\in\mathcal{B}_{n}, then e(Hn[A])⩾βe(Hn)e(\mathcal{H}_{n}[A])\geqslant\beta e(\mathcal{H}_{n}). Let us choose β>0\beta>0 sufficiently small so that e(Hn)⩾βn2e(\mathcal{H}_{n})\geqslant\beta n^{2} and Δ2(Hn)⩽1/β\Delta_{2}(\mathcal{H}_{n})\leqslant 1/\beta for all sufficiently large nn. Let C=C(β)>0C=C(\beta)>0 be sufficiently large, and set

We are ready to describe the Main Algorithm; this is the key step in our proof of Theorem 2.2.

We initiate the algorithm with T=S⊆IT=S\subseteq I, a deterministically chosen subset of II of size dd (the first dd elements of II in our ordering of V(Hn)V(\mathcal{H}_{n}), say), and with A=V(Hn)∖SA=V(\mathcal{H}_{n})\setminus S and X=∅X=\emptyset. Now, while ∣A∣>(α−β)n|A|>(\alpha-\beta)n and ∣A∖B∣>γn|A\setminus B|>\gamma n for every B∈BnB\in\mathcal{B}_{n}, we repeat the following steps:

Case 1: If the average degree in GT[A]\mathcal{G}_{T}[A] is at least β4d\beta^{4}d, then:

Let ii be the minimal index in the max-degree order on V(GT[A])V(\mathcal{G}_{T}[A]) such that vi∈Iv_{i}\in I.

Move v1,…,vi−1v_{1},\ldots,v_{i-1} from AA to XX (since they are not in II by the choice of ii).

Move N(vi)N(v_{i}) from AA to XX (since II is independent and vi∈Iv_{i}\in I).

Case 2: If the average degree of GT[A]\mathcal{G}_{T}[A] is less than β4d\beta^{4}d, then we find a new set TT as follows. Since H\mathcal{H} is (α,B)(\alpha,\mathcal{B})-stable, ∣A∣>(α−β)n|A|>(\alpha-\beta)n, and ∣A∖B∣>γn|A\setminus B|>\gamma n for every B∈BnB\in\mathcal{B}_{n}, then AA contains at least βe(Hn)\beta e(\mathcal{H}_{n}) edges of Hn\mathcal{H}_{n}. Set

where Gz[A]\mathcal{G}_{z}[A] is the graph with vertex set AA and edge set {{x,y}:{x,y,z}∈E(Hn)}\big\{\{x,y\}:\{x,y,z\}\in E(\mathcal{H}_{n})\big\}. We call the elements of ZZ useful. Since e(Hn)⩾βn2e(\mathcal{H}_{n})\geqslant\beta n^{2}, we have e(Hn[A])⩾β2n2e\big(\mathcal{H}_{n}[A]\big)\geqslant\beta^{2}n^{2}, and so

Moreover, we have e(Gz[A])⩽Δ(Hn)⩽Δ2(Hn)n⩽n/βe\big(\mathcal{G}_{z}[A]\big)\leqslant\Delta(\mathcal{H}_{n})\leqslant\Delta_{2}(\mathcal{H}_{n})n\leqslant n/\beta for every z∈V(G)z\in V(\mathcal{G}). Thus, by the pigeonhole principle, it follows that ∣Z∣⩾2β3n|Z|\geqslant 2\beta^{3}n.

If II contains fewer than dd useful elements, then move these elements from AA to SS and move the other useful elements from AA to XX.

If II contains more than dd useful elements, choose dd of them u1,…,udu_{1},\ldots,u_{d} (the first dd in our ordering, say) and move them from AA to SS. Moreover, set T={u1,…,ud}T=\{u_{1},\ldots,u_{d}\}.

Finally, when ∣A∣⩽(α−β)n|A|\leqslant(\alpha-\beta)n, or ∣A∖B∣⩽γn|A\setminus B|\leqslant\gamma n for some B∈BnB\in\mathcal{B}_{n}, then we output SS (which is a subset of V(G)V(\mathcal{G})) and I∖SI\setminus S (which is a subset of AA) and stop.

We shall show that the Main Algorithm encodes at most β2m\beta^{2}m elements of II in SS, and that SS determines AA. Theorem 4.1 then follows from some simple counting.

2. Proof of Theorem 4.1

We begin by proving three straightforward claims about the Main Algorithm; these, together with some simple counting, will be enough to prove the theorem. The following statements all hold under the assumptions of Theorem 4.1.

The Main Algorithm passes through Case 11 at most 2n/(β4d)2n/(\beta^{4}d) times, and through Case 22 at most 1/β51/\beta^{5} times.

We prove the second statement first. To do so, simply observe that each time we pass through Case 2(a)2(a), we move at least 2β3n−d⩾β3n2\beta^{3}n-d\geqslant\beta^{3}n vertices from AA to XX, and each time we pass through Case 2(b)2(b), we obtain a graph GT[A]\mathcal{G}_{T}[A] with at least β2nd/Δ2(Hn)−O(d2)⩾2β4nd\beta^{2}nd/\Delta_{2}(\mathcal{H}_{n})-O(d^{2})\geqslant 2\beta^{4}nd edges. In the latter case, we must remove at least β4nd\beta^{4}nd edges from GT[A]\mathcal{G}_{T}[A] before we can return to Case 22. Since Δ2(Hn)⩽1/β\Delta_{2}(\mathcal{H}_{n})\leqslant 1/\beta, it follows that Δ(GT)⩽∣T∣/β=d/β\Delta(\mathcal{G}_{T})\leqslant|T|/\beta=d/\beta, since if xy∈E(GT)xy\in E(\mathcal{G}_{T}) then there exists z∈Tz\in T such that {x,y,z}∈E(Hn)\{x,y,z\}\in E(\mathcal{H}_{n}), and for each pair {x,z}\{x,z\} there are at most Δ2(Hn)\Delta_{2}(\mathcal{H}_{n}) such yy. Thus we must remove at least β5n\beta^{5}n vertices from AA before returning to Case 22, and hence the algorithm can pass through Case 22 at most 1/β51/\beta^{5} times before the set AA shrinks to size αn\alpha n, as claimed.

To prove the first statement, note that each time we pass through Case 1 on two successive steps of the algorithm, we remove at least β4d\beta^{4}d vertices of AA in the first of these. Indeed, since GT[A]\mathcal{G}_{T}[A] (for the second step) has average degree at least β4d\beta^{4}d, then by the definition of the max-degree order, the vertex we removed in the first step must have had forward degree at least β4d\beta^{4}d. By the argument above, there are at most 1/β51/\beta^{5} steps at which this fails to hold, and therefore the algorithm passes through Case 11 at most

The next claim is a simple consequence of Claim 1 and our choice of dd.

If C⩾3/β7C\geqslant 3/\beta^{7}, then ∣S∣⩽β2m|S|\leqslant\beta^{2}m at the end of the Main Algorithm.

Each time the Main Algorithm passes through Case 1, ∣S∣|S| increases by one; each time it passes through Case 2, ∣S∣|S| increases by at most dd. Thus, by Claim 1 and our choice of dd,

if C⩾3/β7C\geqslant 3/\beta^{7}, as claimed. ∎

We next make the key observation that the set SS contains all the information we need to recover the final set AA produced by the algorithm.

The set AA is uniquely determined by the set SS of selected elements.

This follows because all steps of the Main Algorithm are deterministic, and every element of II which we need to observe is placed in SS. Indeed, in Case 1 we observe only that vi∈Iv_{i}\in I, and that the elements v1,…,vi−1∉Iv_{1},\ldots,v_{i-1}\not\in I. Since vi∈Sv_{i}\in S and v1…,vi−1∉Sv_{1}\ldots,v_{i-1}\not\in S, this can be deduced from SS. In Case 22, the set ZZ does not depend on II. If at most d−1d-1 elements of ZZ are in SS, then we are in Case 2(a)2(a) and the remaining elements of ZZ are in XX; otherwise, we are in Case 2(b)2(b) and the first dd elements of S∩ZS\cap Z (in the order on V(Hn)V(\mathcal{H}_{n})) form the set TT. Thus, inductively, we see that at each stage of the algorithm, the set AA is determined by the set SS. ∎

After all this preparation, we are ready to prove Theorem 4.1.

We claim first that the number of such sets II is at most

Indeed, let SS and AA be the selected and available sets at the end of the algorithm, set t=∣S∣t=|S|, and recall that t⩽β2mt\leqslant\beta^{2}m by Claim 2. We have at most (nt){n\choose t} choices for SS and, by Claim 3, the set SS determines the set AA. Let B∈BnB\in\mathcal{B}_{n} be such that ∣A∖B∣⩽γn|A\setminus B|\leqslant\gamma n and recall that ∣I∖B∣⩾δm|I\setminus B|\geqslant\delta m by our assumption on II. Thus we must choose the set B∈BnB\in\mathcal{B}_{n}, at least δm−t\delta m-t elements of A∖BA\setminus B, and the remaining elements from BB.

Note that t⩽δm/2t\leqslant\delta m/2 by our choice of β\beta and so either m⩽(2γ/δ)nm\leqslant(2\gamma/\delta)n or the number of choices for II is zero. Since ∥Bn∥⩾αn\|B_{n}\|\geqslant\alpha n and γ\gamma is small, it follows that the summand in (4) is maximized exactly when r=δmr=\delta m. Now, using the inequalities (nk)⩽(enk)k{n\choose k}\leqslant\big(\frac{en}{k}\big)^{k} and

which holds for every a>b>c⩾0a>b>c\geqslant 0, and since t⩽δm/2t\leqslant\delta m/2, m⩽(2γ/δ)n⩽(α/2)nm\leqslant(2\gamma/\delta)n\leqslant(\alpha/2)n and ∥Bn∥⩾αn\|\mathcal{B}_{n}\|\geqslant\alpha n, we can bound each summand in (4) from above by

Since t⩽δm/2t\leqslant\delta m/2 and t↦(c/t)tt\mapsto(c/t)^{t} is increasing on (0,c/e)(0,c/e), this is at most

if γ⩽(αδ/4e)2⋅δ4/δ\gamma\leqslant(\alpha\delta/4e)^{2}\cdot\delta^{4/\delta}. Since m2⋅δ2m⩽δmm^{2}\cdot\delta^{2m}\leqslant\delta^{m}, the claim follows. ∎

Finally, we deal with the case in which ∣A∣⩽(α−β)n|A|\leqslant(\alpha-\beta)n for some B∈BnB\in\mathcal{B}_{n}.

As in the previous claim, we have t=∣S∣⩽β2mt=|S|\leqslant\beta^{2}m, by Claim 2, and the set SS determines the set AA, by Claim 3. Thus, the number of choices for II is at most

Now, using the inequality (bc)⩽(ba)c(ac)\binom{b}{c}\leqslant\left(\frac{b}{a}\right)^{c}\binom{a}{c}, which is valid for all a>b>c⩾0a>b>c\geqslant 0, and recalling that t⩽β2mt\leqslant\beta^{2}m and that t↦(c/t)tt\mapsto(c/t)^{t} is increasing on (0,c/e)(0,c/e), we get

Since ∥Bn∥⩾αn\|B_{n}\|\geqslant\alpha n, the right-hand side is at most 1m⋅2−εm(∥Bn∥m)\frac{1}{m}\cdot 2^{-\varepsilon m}{\|\mathcal{B}_{n}\|\choose m} if β>0\beta>0 and ε=ε(β)>0\varepsilon=\varepsilon(\beta)>0 are sufficiently small, as required. ∎

Combining Claims 4 and 5, we obtain Theorem 4.1. ∎

Janson argument

In this section, we shall complete the proof of Theorem 2.2 by showing that, under certain conditions, almost all independent (i.e., sum-free) sets II of size mm in Hn\mathcal{H}_{n} either satisfy I⊆BI\subseteq B for some B∈BnB\in\mathcal{B}_{n}, or ∣I∖B∣⩾δm|I\setminus B|\geqslant\delta m for every B∈BnB\in\mathcal{B}_{n}. The key properties of H\mathcal{H} which we will use are that Δ2(Hn)=O(1)\Delta_{2}(\mathcal{H}_{n})=O(1), and that δ(Hn,Bn)=Ω(n)\delta(\mathcal{H}_{n},\mathcal{B}_{n})=\Omega(n); our key tool will be Janson’s inequality. An argument similar to that presented in this section was used in to study sum-free sets in random subsets of Abelian groups.

Given a hypergraph Hn\mathcal{H}_{n}, a family of sets Bn\mathcal{B}_{n} and δ>0\delta>0, we define

Note that δ\delta and C0C_{0} in the statement of Proposition 5.1 may depend on H\mathcal{H}, B\mathcal{B}, α\alpha and β\beta. We begin by recalling the Janson inequalities, and some basic facts about the hypergeometric distribution.

The following well-known inequality (see [20, page 35], for example) allows us to deduce bounds in the hypergeometric distribution from results on product measure. For completeness we give a proof.

Moreover, if Q\mathcal{Q} is monotone decreasing and m⩽n−1m\leqslant n-1, then

For the first part, simply note that a random pp-subset of [n][n] has size m=pnm=pn with probability at least 1/(3m)1/(3\sqrt{m}). If Q\mathcal{Q} is monotone decreasing, say, then we apply the ‘Local LYM inequality’ to Qm\mathcal{Q}_{m}, the set of mm-sets in Q\mathcal{Q}, and deduce that

for every k⩽mk\leqslant m. It is well-known that the median of the binomial distribution lies between ⌊pn⌋\lfloor pn\rfloor and ⌈pn⌉\lceil pn\rceil, and if m⩽n−1m\leqslant n-1 then it is easy to see that Bin(n,p)=⌈pn⌉\textup{Bin}(n,p)=\lceil pn\rceil has probability at most (1−1/n)n−1→1/e(1-1/n)^{n-1}\to 1/e as n→∞n\to\infty. Thus, if m⩽n−1m\leqslant n-1 and nn is sufficiently large, then a random pp-subset of [n][n] has size at most m=pnm=pn with probability at least 1/2−1/e+o(1)1/2-1/e+o(1) as n→∞n\to\infty, and the result follows. ∎

The following result is an easy corollary of Janson’s inequality (see ), combined with Pittel’s inequality.

Suppose that {Ui}i∈I\{U_{i}\}_{i\in I} is a family of subsets of an nn-element set XX and let m∈{0,…,n}m\in\{0,\ldots,n\}. Let

where the second sum is over ordered pairs (i,j)(i,j) such that i≠ji\neq j and Ui∩Uj≠∅U_{i}\cap U_{j}\neq\emptyset. Let RR be a uniformly chosen random mm-subset of XX. Then

where C>0C>0 is the constant in Pittel’s inequality.

We now return to the proof of Proposition 5.1.

2. Proof of Proposition 5.1

In order to prove Lemma 5.4, we shall apply the following lemma to the Cayley graph of SS, restricted to BB. The lemma is a straightforward consequence of the Hypergeometric Janson’s inequality.

For every β>0\beta>0, there exists a constant C0>0C_{0}>0 such that the following holds. Let G\mathcal{G} be a graph on nn vertices with maximum degree at most dd. If

Let {Ui}i∈I\{U_{i}\}_{i\in I} be the collection of pairs of vertices which span an edge of G\mathcal{G}, so Ui⊈RU_{i}\nsubseteq R for all i∈Ii\in I if and only if RR is an independent set in G\mathcal{G}. It is easy to see that, letting μ\mu and Δ\Delta to be the quantities defined in the statement of Lemma 5.3,

Thus, by our bounds on e(G)e(\mathcal{G}) and mm, and assuming C⩾4/βC\geqslant 4/\beta,

Recall that, given Hn\mathcal{H}_{n}, the Cayley graph GS\mathcal{G}_{S} of SS is defined to be the graph with vertex set V(Hn)V(\mathcal{H}_{n}) and edge set

In order to apply Lemma 5.5, we shall need the following easy property of the Cayley graph.

Δ(GS)⩽∣S∣Δ2(Hn)\Delta(\mathcal{G}_{S})\leqslant|S|\Delta_{2}(\mathcal{H}_{n}).

We can now easily deduce Lemma 5.4 from Lemma 5.5 and Observation 5.6.

If II is an independent set in Hn\mathcal{H}_{n} containing SS, then I∖SI\setminus S is an independent set in GS\mathcal{G}_{S}, so

where k=∣S∣k=|S|. Choose β>0\beta>0 sufficiently small so that Δ2(Hn)⩽1/(2β)\Delta_{2}(\mathcal{H}_{n})\leqslant 1/(2\beta), recall that δ(Hn,B)⩾βn\delta(\mathcal{H}_{n},B)\geqslant\beta n, note that d=Δ(GS)⩽∣S∣Δ2(Hn)⩽∣S∣/(2β)d=\Delta(\mathcal{G}_{S})\leqslant|S|\Delta_{2}(\mathcal{H}_{n})\leqslant|S|/(2\beta), and observe that therefore

Thus, by Lemma 5.5, if β<1/10\beta<1/10 then d⩾5∣S∣=5kd\geqslant 5|S|=5k and

for every m⩾Cnlog⁡nm\geqslant C\sqrt{n\log n}, as required. ∎

Finally, let us deduce Proposition 5.1 from Lemma 5.4.

Summing over all sets B∈BnB\in\mathcal{B}_{n} and subsets S⊆[n]∖BS\subseteq[n]\setminus B, and applying Lemma 5.4, we have

for every m⩾Cnlog⁡nm\geqslant C\sqrt{n\log n}, since δ(Hn,Bn)⩾βn\delta(\mathcal{H}_{n},\mathcal{B}_{n})\geqslant\beta n and Δ2(Hn)=O(1)\Delta_{2}(\mathcal{H}_{n})=O(1) together imply that ∣B∣=Θ(n)|B|=\Theta(n) for every B∈BnB\in\mathcal{B}_{n}. We consider three cases.

Case 1: If n−4(C+k)⩾e−β3mn^{-4(C+k)}\geqslant e^{-\beta^{3}m}, then

since (∥Bn∥m−k) ⩽ (nk)(∥Bn∥m){\|\mathcal{B}_{n}\|\choose{m-k}}\,\leqslant\,{n\choose k}{\|\mathcal{B}_{n}\|\choose{m}}.

Case 2: If n−4(C+k)⩽e−β3mn^{-4(C+k)}\leqslant e^{-\beta^{3}m} and m⩽αn/2m\leqslant\alpha n/2, then by (5) we have

since ∥Bn∥⩾αn\|\mathcal{B}_{n}\|\geqslant\alpha n. Thus, using the bound (nk)⩽(enk)k{n\choose k}\leqslant\big(\frac{en}{k}\big)^{k}, we have

if δ=δ(α,β)>0\delta=\delta(\alpha,\beta)>0 is sufficiently small, since k⩽δmk\leqslant\delta m.

Case 3: If ∥Bn∥−4(C+k)⩽e−β3m\|\mathcal{B}_{n}\|^{-4(C+k)}\leqslant e^{-\beta^{3}m} and m⩾αn/2m\geqslant\alpha n/2, then we again use the (trivial) bound (∥Bn∥m−k) ⩽ (nk)(∥Bn∥m){\|\mathcal{B}_{n}\|\choose{m-k}}\,\leqslant\,{n\choose k}{\|\mathcal{B}_{n}\|\choose{m}}, to obtain

if δ=δ(α,β)>0\delta=\delta(\alpha,\beta)>0 is sufficiently small, since (nk)⩽(2m/αk)⩽(2eαδ)δm⩽e−β3m/6{n\choose k}\leqslant\binom{2m/\alpha}{k}\leqslant\left(\frac{2e}{\alpha\delta}\right)^{\delta m}\leqslant e^{-\beta^{3}m/6} for k⩽δmk\leqslant\delta m.

Since e−β3m/2≪n−2Ce^{-\beta^{3}m/2}\ll n^{-2C} for m⩾Cnlog⁡nm\geqslant C\sqrt{n\log n}, the claimed bound follows. ∎

We finish this section by observing that Theorem 4.1 and Proposition 5.1 together imply Theorem 2.2.

then almost every independent set in Hn\mathcal{H}_{n} of size mm is a subset of some B∈BnB\in\mathcal{B}_{n}.

Indeed, by Theorem 4.1, the number of independent sets II in Hn\mathcal{H}_{n} of size mm for which ∣I∖B∣⩾δm|I\setminus B|\geqslant\delta m for every B∈BnB\in\mathcal{B}_{n} is at most

for some ε>0\varepsilon>0 and by Proposition 5.1, the number of such sets for which 1⩽∣I∖B∣⩽δm1\leqslant|I\setminus B|\leqslant\delta m for some B∈BnB\in\mathcal{B}_{n} is at most

Since ∣Bn∣⩽n1/β|\mathcal{B}_{n}|\leqslant n^{1/\beta}, C>1/βC>1/\beta, and α(Hn)⩾∥Bn∥\alpha(\mathcal{H}_{n})\geqslant\|\mathcal{B}_{n}\|, the result follows. ∎

Abelian groups of Type I

In this section, we shall use Theorem 2.2 to prove Theorem 1.1 for all q>2q>2. We remark that the proof below can also be adapted to cover the case q=2q=2; however, since we shall give a different proof of the case q=2q=2 in Section 7, we leave the details to the reader. (If Hn\mathcal{H}_{n} denotes the hypergraph that encodes Schur triples in a group GG of even order nn and Bn\mathcal{B}_{n} denotes the collection of maximum-size sum-free subsets of GG, then it is not always true that Ω(Hn,Bn)=Ω(n)\Omega(\mathcal{H}_{n},\mathcal{B}_{n})=\Omega(n). This problem can be easily overcome by considering triples of the form (x,x,2x)(x,x,2x), cf. the proof of the 11-statement in [6, Theorem 1.2].)

Let GG be a finite Abelian group of Type I(q)I(q), where q≡2(mod3)q\equiv 2\pmod{3} and let 0<γ<γ(q)0<\gamma<\gamma(q) and 0<β<β0(γ,q)0<\beta<\beta_{0}(\gamma,q) be sufficiently small. Let A⊆GA\subseteq G, and suppose that

AA contains at least β∣G∣2\beta|G|^{2} Schur triples.

We shall also use the following classification of extremal sum-free sets for Type I groups.

Combining Theorem 6.2 with Kronecker’s Decomposition Theorem, we easily obtain the following well-known corollary.

It is now straightforward to deduce Theorem 1.1 from Theorem 2.2, Proposition 6.1, and Corollary 6.3.

We claim that H\mathcal{H} and B\mathcal{B} satisfy the conditions of Theorem 2.2. Indeed, Hn\mathcal{H}_{n} is 3-uniform, has Θ(n2)\Theta(n^{2}) edges, and satisfies Δ2(Hn)=3\Delta_{2}(\mathcal{H}_{n})=3. Setting α=μ(G)\alpha=\mu(G), we have α(Hn)=∥Bn∥=αn\alpha(\mathcal{H}_{n})=\|\mathcal{B}_{n}\|=\alpha n and ∣Bn∣⩽n|\mathcal{B}_{n}|\leqslant n, as observed above. Moreover, the statement that H\mathcal{H} is (α,B)(\alpha,\mathcal{B})-stable is exactly Proposition 6.1. Thus it will suffice to show that δ(Hn,Bn)=Ω(n)\delta(\mathcal{H}_{n},\mathcal{B}_{n})=\Omega(n).

whenever h∈Hh\in H and y+h≠z−hy+h\neq z-h. Moreover, since ∣G∣|G| is odd, there is at most one h∈Hh\in H such that 2h=z−y2h=z-y, so ∣C(x)∣⩾(∣H∣−1)/2=n/2q−1/2|C(x)|\geqslant(|H|-1)/2=n/2q-1/2, as required. ∎

Thus the pair (H,B)(\mathcal{H},\mathcal{B}) satisfies the conditions of Theorem 2.2 and hence if C(q)C(q) is sufficiently large and m⩾C(q)nlog⁡nm\geqslant C(q)\sqrt{n\log n}, then almost every sum-free set of size mm in GnG_{n} is contained in some B∈BnB\in\mathcal{B}_{n}, as required.

Finally, let us deduce that if GG is an Abelian group of Type I(qq), and m⩾C(q)nlog⁡nm\geqslant C(q)\sqrt{n\log n}, then

Abelian groups of even order

In this section, we shall prove the following theorem, which implies Theorem 1.1 in the case q=2q=2. We shall use Theorem 1.3 and some ideas from Section 5, but otherwise this section is self-contained. In particular, we shall not use Proposition 6.1 and thus we give a new proof of the main theorem of and .

If GG is an Abelian group of order nn, then

We remark that we shall prove the theorem for all finite Abelian groups, not just those of even order. We begin by partitioning the collection of sum-free sets into two pieces. Given an Abelian group GG, let

Let GG be an Abelian group of order nn, and let δ>0\delta>0 be sufficiently small. Then

Let GG be an Abelian group of order nn, and let δ>0\delta>0. If ε=ε(δ)>0\varepsilon=\varepsilon(\delta)>0 is sufficiently small and C=C(δ)C=C(\delta) is sufficiently large, then

We begin by proving Proposition 7.2. In this section, we shall use a slightly different notion of Cayley graph than that used earlier. Given S⊆GS\subseteq G, define GS∗\mathcal{G}^{*}_{S} to be the graph with vertex set G∖SG\setminus S and edge set {xy ⁣:x−y∈S}\big\{xy\colon x-y\in S\big\}, and note that if II is a sum-free set in GG with S⊆IS\subseteq I, then I∖SI\setminus S is an independent set in GS∗\mathcal{G}^{*}_{S}.

Let GG be an Abelian group of even order nn, let HH be a subgroup of GG of index 22, and let S⊆HS\subseteq H satisfy ∣S∣=k⩽δm|S|=k\leqslant\delta m. Set γ=1/65\gamma=1/65. We claim that for every m⩾4nlog⁡nm\geqslant 4\sqrt{n\log n}, there are at most

sum-free subsets II of GG of order mm with I∩H=SI\cap H=S.

Observe first that the graph GS∗[G∖H]\mathcal{G}^{*}_{S}[G\setminus H] is dd-regular, where d=∣S∪(−S)∣∈[k,2k]d=|S\cup(-S)|\in[k,2k]. Indeed, for each x∈G∖Hx\in G\setminus H, let

Since S⊆HS\subseteq H, it follows that x−Sx-S and x+Sx+S are in G∖HG\setminus H, and hence ∣N(x)∣=∣S∪(−S)∣|N(x)|=|S\cup(-S)|, as claimed. Since ∣S∣=k|S|=k, we have k⩽d⩽2kk\leqslant d\leqslant 2k.

Now, by the Hypergeometric Janson Inequality, Lemma 5.3, there are at most

independent sets of size m−km-k in GS∗[G∖H]\mathcal{G}^{*}_{S}[G\setminus H]. This follows because k⩽δmk\leqslant\delta m, so

and m⩾4nlog⁡nm\geqslant 4\sqrt{n\log n}. Since each sum-free subset I⊆GI\subseteq G induces an independent set in GS∗[G∖H]\mathcal{G}^{*}_{S}[G\setminus H], then (7) follows.

Finally, summing (7) over subgroups HH and sets SS, we obtain

for every m⩾4nlog⁡nm\geqslant 4\sqrt{n\log n}. To see the last inequality, observe that the number of subgroups HH of index 22 in GG is exactly the number of elements of GG of order 22 and consider three cases as in the proof of Proposition 5.1. Indeed, if n−4k⩾e−γmn^{-4k}\geqslant e^{-\gamma m} or m⩾n/4m\geqslant n/4, then each summand in (8) is at most (n−2k+e−γm/2)(n/2m)\big(n^{-2k}+e^{-\gamma m/2}\big){n/2\choose m} by the trivial bound (n/2m−k)⩽(nk)(n/2m){n/2\choose m-k}\leqslant{n\choose k}{n/2\choose m}. But if n−4k⩽e−γmn^{-4k}\leqslant e^{-\gamma m} and m⩽n/4m\leqslant n/4, then by (5),

since k⩽δmk\leqslant\delta m. Thus, if δ>0\delta>0 is chosen small enough, then each summand in (8) is at most e−γm/2(n/2m)e^{-\gamma m/2}{n/2\choose m}, as required. ∎

We next turn to the proof of Proposition 7.3. We shall divide into two cases: either the smallest eigenvalue λ(I)\lambda(I) of II (see below) is at most (δ−1)∣I∣(\delta-1)|I|, in which case we shall use some basic facts about characters of finite Abelian groups to show that there are few such sets; or λ(I)\lambda(I) is larger, in which case we shall find a small subset S⊆IS\subseteq I such that GS∗\mathcal{G}^{*}_{S} is a dd-regular graph with smallest eigenvalue satisfying λ>(δ/4−1)d\lambda>(\delta/4-1)d, and apply Theorem 1.3. We begin with the following key definition.

Given a finite Abelian group GG, and a subset 0∉S⊆G0\not\in S\subseteq G, let

Next, we recall some simple properties of characters of finite Abelian groups.

A character χ\chi is called trivial if χ(x)=1\chi(x)=1 for all x∈Gx\in G; we will denote the trivial character by χT\chi_{T}. The set of all characters of GG is denoted by G^\hat{G}. The following statement establishes a relation between the smallest eigenvalue of the matrix A(S)A(S) and the characters of GG.

We shall use the following facts about finite Abelian groups in the proof of Lemma 7.6.

If GG is a finite Abelian group of order nn, then all its characters take values in the set

Let us start by breaking up the adjacency matrix A(S)A(S) into ∣S∣|S| pieces as follows:

Thus, for every s,x∈Gs,x\in G and χ∈G^\chi\in\hat{G},

The inequality λ(S)⩾−∣S∣\lambda(S)\geqslant-|S| follows since ∣χ(s)∣=1|\chi(s)|=1 for every s∈Ss\in S and χ∈G^\chi\in\hat{G}. ∎

Let us note for future reference the following fact from the proof above.

For every 0∉S⊆G0\not\in S\subseteq G, the characters of GG form a basis of eigenvectors of the matrix A(S)A(S).

2. Sum-free sets with small smallest eigenvalue

Using the properties described above, we shall prove the following lemma.

The desired bound will follow since λ(I)=min⁡χ∈G^λ(I,χ)\lambda(I)=\min_{\chi\in\hat{G}}\lambda(I,\chi) and there are at most ∣G∣|G| characters of GG. We split into two cases, depending on the number of different values taken by χ\chi.

Since χ\chi is a group homomorphism, it corresponds to a subgroup HH of GG of index 22, namely, H=χ−1(1)H=\chi^{-1}(1). Since ∣I∩H∣⩾δn|I\cap H|\geqslant\delta n for every such HH, we have

Let c>0c>0 and suppose first that there exists ζ∈S1\zeta\in S^{1} such that ∣Kζ∩I∣⩾(1−c)∣I∣|K_{\zeta}\cap I|\geqslant(1-c)|I|. The number of such sets II is at most

So suppose that ∣Kζ∩I∣⩽(1−c)∣I∣|K_{\zeta}\cap I|\leqslant(1-c)|I| for every ζ∈S1\zeta\in S^{1}. We claim that, if δ>0\delta>0 is sufficiently small, then

To see this let v=∑x∈Iχ(x)v=\sum_{x\in I}\chi(x), note that if v=0v=0 then we are done, and otherwise observe that, by our assumption, χ(x)\chi(x) can lie within the open arc of length π/3\pi/3 centred in direction vv for at most (1−c)∣I∣(1-c)|I| elements x∈Ix\in I. Since each of the others contribute at most cos⁡(π/6)\cos(\pi/6) in the direction of vv, (9) follows. This is a contradiction, so the proof is now complete. ∎

3. Sum-free sets with large smallest eigenvalue

We shall prove the following statement using Theorem 1.3. Together with Lemma 7.8 it will easily imply Proposition 7.3, and hence Theorem 7.1.

For every finite Abelian group GG and every δ>0\delta>0, there exist ε=ε(δ)>0\varepsilon=\varepsilon(\delta)>0 and C=C(δ)>0C=C(\delta)>0 such that

The idea of the proof is as follows: we choose a set S⊆IS\subseteq I of size εm\varepsilon m and observe that, since II is sum-free, I∖SI\setminus S is an independent set in GS∗\mathcal{G}^{*}_{S}, the Cayley graph of SS. The key point is that, for some such SS, our bound on λ(I)\lambda(I) implies the existence of a non-trivial bound on λ(GS∗)\lambda(\mathcal{G}^{*}_{S}), the smallest eigenvalue of the adjacency matrix of the Cayley graph of SS. Combined with Theorem 1.3, this implies that there are only very few choices for I∖SI\setminus S, and hence for II itself.

The first step is the following lemma, which shows that our bound on λ(I)\lambda(I) allows us to find a small set SS such that λ(S)/∣S∣\lambda(S)/|S| is also bounded away from minus one.

Recall the definition of λ(A,χ)\lambda(A,\chi) from the proof of Lemma 7.8. Since λ(I)⩾(δ−1)∣I∣\lambda(I)\geqslant(\delta-1)|I|, it follows from Lemma 7.6 that λ(I,χ)⩾(δ−1)∣I∣\lambda(I,\chi)\geqslant(\delta-1)|I| for every χ∈G^\chi\in\hat{G}. Choose a subset S⊆IS\subseteq I of size εm\varepsilon m uniformly at random; we claim that λ(S,χ)\lambda(S,\chi) is tightly concentrated around the mean, i.e., around ελ(I,χ)\varepsilon\lambda(I,\chi). Indeed, by Chernoff’s inequality, we have

where the implicit constant depends on ε\varepsilon and δ\delta. There are exactly nn characters in G^\hat{G}, and so, by the union bound, the probability that SS does not satisfy (10) is at most 1/21/2. Thus there exists a set SS as claimed. ∎

Next, we show that this bound on λ(S)\lambda(S) implies a similar bound on λ(GS∗)\lambda(\mathcal{G}^{*}_{S}), the smallest eigenvalue of the adjacency matrix of the Cayley graph of SS. Recall that the adjacency matrix of GS∗\mathcal{G}^{*}_{S} is A(S∪(−S))A\big(S\cup(-S)\big), and hence

We shall use the following lemma, which bounds λ(GS∗)\lambda(\mathcal{G}^{*}_{S}) in terms of λ(S)\lambda(S).

Let 0∉S⊆G0\not\in S\subseteq G and δ>0\delta>0. If λ(S)⩾(δ−1)∣S∣\lambda(S)\geqslant(\delta-1)|S|, then

By Lemma 7.7, the characters of GG are a basis of eigenvectors of both A(S)A(S) and A((−S)∖S)A((-S)\setminus S). Thus, by Lemma 7.6,

as required. The last inequality follows from the fact that ∣(−S)∖S∣⩽∣(−S)∣=∣S∣|(-S)\setminus S|\leqslant|(-S)|=|S|. ∎

We can now complete the proof of Lemma 7.9.

Since II is sum-free, I∖SI\setminus S is an independent set in GS∗\mathcal{G}^{*}_{S}. We claim that GS∗\mathcal{G}^{*}_{S} satisfies the conditions of Theorem 1.3. Indeed, GS∗\mathcal{G}^{*}_{S} is a dSd_{S}-regular graph on nn vertices, where dS=∣S∪(−S)∣d_{S}=|S\cup(-S)|, and

since m⩾Cnm\geqslant C\sqrt{n}. Note also that

if ε=ε(δ)>0\varepsilon=\varepsilon(\delta)>0 is sufficiently small. This proves the lemma. ∎

Finally, note that Lemmas 7.8 and 7.9 imply Proposition 7.3.

4. Proof of Theorem 7.1

For the upper bound, observe that by Propositions 7.2 and 7.3, we have

for every m⩾4nlog⁡nm\geqslant 4\sqrt{n\log n}, as required.

References