This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Counting Hypergraphs with Large Girth

Sam Spiro Department of Mathematics, University of California, San Diego, 9500 Gilman Drive, La Jolla, CA 92093-0112, USA. E-mail: sspiro@ucsd.edu. This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-1650112.    Jacques Verstraëte Department of Mathematics, University of California, San Diego, 9500 Gilman Drive, La Jolla, CA 92093-0112, USA. E-mail: jacques@ucsd.edu. Research supported by the National Science Foundation Awards DMS-1800332 and DMS-1952786, and by the Institute for Mathematical Research (FIM) of ETH Zürich.
Abstract

Morris and Saxton [17] used the method of containers to bound the number of nn-vertex graphs with mm edges containing no \ell-cycles, and hence graphs of girth more than \ell. We consider a generalization to rr-uniform hypergraphs. The girth of a hypergraph HH is the minimum 2\ell\geq 2 such that there exist distinct vertices v1,,vv_{1},\ldots,v_{\ell} and hyperedges e1,,ee_{1},\ldots,e_{\ell} with vi,vi+1eiv_{i},v_{i+1}\in e_{i} for all 1i1\leq i\leq\ell. Letting Nmr(n,){\mbox{\rm N}}_{m}^{r}(n,\ell) denote the number of nn-vertex rr-uniform hypergraphs with mm edges and girth larger than \ell and defining λ=(r2)/(2)\lambda=\lceil(r-2)/(\ell-2)\rceil, we show

Nmr(n,)Nm2(n,)r1+λ{\mbox{\rm N}}_{m}^{r}(n,\ell)\leq{\mbox{\rm N}}_{m}^{2}(n,\ell)^{r-1+\lambda}

which is tight when 2\ell-2 divides r2r-2 up to a 1+o(1)1+o(1) term in the exponent. This result is used to address the extremal problem for subgraphs of girth more than \ell in random rr-uniform hypergraphs.

Keywords: Hypergraph, Cycle, Berge.

1 Introduction

Let \mathcal{F} be a family of rr-uniform hypergraphs, or rr-graphs for short. Define Nr(n,)\mbox{\rm N}^{r}(n,\mathcal{F}) to be the number of \mathcal{F}-free rr-graphs on [n]:={1,,n}[n]:=\{1,\ldots,n\}, and define Nmr(n,)\mbox{\rm N}_{m}^{r}(n,\mathcal{F}) to be the number of \mathcal{F}-free rr-graphs on [n][n] with exactly mm hyperedges. If ex(n,)\mathrm{ex}(n,\mathcal{F}) denotes the maximum number of hyperedges in an \mathcal{F}-free rr-graph on [n][n], then it is not difficult to see that for 1mex(n,)1\leq m\leq\mathrm{ex}(n,\mathcal{F}),

(ex(n,)m)m(ex(n,)m)\displaystyle\left(\frac{\mathrm{ex}(n,\mathcal{F})}{m}\right)^{m}\leq{\mathrm{ex}(n,\mathcal{F})\choose m}\leq Nmr(n,)((nr)m)(enrm)m,\displaystyle\;\;\mbox{\rm N}_{m}^{r}(n,\mathcal{F})\leq{{n\choose r}\choose m}\leq\left(\frac{en^{r}}{m}\right)^{m},

and summing over mm one obtains 2Ω(ex(n,))=Nr(n,)=2O(ex(n,)logn)2^{\Omega(\mathrm{ex}(n,\mathcal{F}))}=\mbox{\rm N}^{r}(n,\mathcal{F})=2^{O(\mathrm{ex}(n,\mathcal{F})\log n)}. The state of the art for bounding Nr(n,)\mbox{\rm N}^{r}(n,\mathcal{F}) is the work of Ferber, McKinley, and Samotij [9] which shows that if FF is an rr-uniform hypergraph with ex(n,F)=O(nα)\mathrm{ex}(n,F)=O(n^{\alpha}) and α\alpha not too small, then

Nr(n,F)=2O(nα),\mbox{\rm N}^{r}(n,F)=2^{O(n^{\alpha})},

and this result encompasses many of the earlier results in the area [3, 4, 6, 17].

There are relatively few families for which effective bounds for Nmr(n,)\mbox{\rm N}_{m}^{r}(n,\mathcal{F}) are known. One family where results are known is 𝒞[]={C3,C4,,C}\mathcal{C}_{[\ell]}=\{C_{3},C_{4},\dots,C_{\ell}\}, the family of all graph cycles of length at most \ell. Morris and Saxton implicitly proved the following in this setting:

Theorem 1.1 ([17]).

For 3\ell\geq 3 and k=/2k=\lfloor\ell/2\rfloor, there exists a constant c=c()>0c=c(\ell)>0 such that if nn is sufficiently large and mn1+1/(2k1)(logn)2m\geq n^{1+1/(2k-1)}(\log n)^{2}, then

Nm2(n,𝒞[])ecm(logn)(k1)m(n1+1/km)km.\mbox{\rm N}_{m}^{2}(n,\mathcal{C}_{[\ell]})\leq e^{cm}(\log n)^{(k-1)m}\left(\frac{n^{1+1/k}}{m}\right)^{km}.

In the appendix we give a formal proof of this result. Theorem 1.1 generalizes earlier results of Füredi [11] when =4\ell=4 and of Kohayakawa, Kreuter, and Steger [15]. Erdős and Simonovits [8] conjectured for 3\ell\geq 3 and k=/2k=\lfloor\ell/2\rfloor,

ex(n,𝒞[])=Ω(n1+1/k)\mathrm{ex}(n,\mathcal{C}_{[\ell]})=\Omega(n^{1+1/k}) (1)

which is only known to hold for {3,4,5,6,7,10,11}\ell\in\{3,4,5,6,7,10,11\} – see Füredi and Simonovits [12] and also [24] for details. The truth of this conjecture would imply that the upper bound in Theorem 1.1 is tight up to the exponent of (logn)m(\log n)^{m}.

In this paper we extend Theorem 1.1 to rr-graphs. For 2\ell\geq 2, an rr-graph FF is a Berge \ell-cycle if there exist distinct vertices v1,,vv_{1},\ldots,v_{\ell} and distinct hyperedges e1,,ee_{1},\ldots,e_{\ell} with vi,vi+1eiv_{i},v_{i+1}\in e_{i} for all 1i1\leq i\leq\ell. In particular, a hypergraph HH is said to be linear if it contains no Berge 2-cycle. We denote by 𝒞r\mathcal{C}_{\ell}^{r} the family of all rr-uniform Berge \ell-cycles. If HH is an rr-graph containing a Berge cycle, then the girth of HH is the smallest 2\ell\geq 2 such that HH contains a Berge \ell-cycle. Let 𝒞[]r=𝒞2r𝒞3r𝒞r\mathcal{C}_{[\ell]}^{r}=\mathcal{C}_{2}^{r}\cup\mathcal{C}_{3}^{r}\cup\dots\cup\mathcal{C}_{\ell}^{r} denote the family of all rr-uniform Berge cycles of length at most \ell. With this 𝒞[]2=𝒞[]\mathcal{C}_{[\ell]}^{2}=\mathcal{C}_{[\ell]}, and an rr-graph has girth larger than \ell if and only if it is 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free. We again emphasize that hypergraphs with girth 2\ell\geq 2 are all linear. We write Nmr(n,):=Nmr(n,𝒞[]r)\mbox{\rm N}_{m}^{r}(n,\ell):=\mbox{\rm N}_{m}^{r}(n,\mathcal{C}_{[\ell]}^{r}) for the number of nn-vertex rr-graphs with mm edges and girth larger than \ell and Nr(n,):=Nr(n,𝒞[]r)\mbox{\rm N}^{r}(n,\ell):=\mbox{\rm N}^{r}(n,\mathcal{C}_{[\ell]}^{r}) for the number of nn-vertex rr-graphs with girth larger than \ell.

Balogh and Li [2] proved for all ,r3\ell,r\geq 3 and k=/2k=\lfloor\ell/2\rfloor,

Nr(n,)=2O(n1+1/k).\mbox{\rm N}^{r}(n,\ell)=2^{O(n^{1+1/k})}.

This upper bound would be tight up to a no(1)n^{o(1)} term in the exponent if the following is true:

Conjecture I.

For all 3\ell\geq 3 and r2r\geq 2 and k=/2k=\lfloor\ell/2\rfloor,

ex(n,𝒞[]r)=n1+1/ko(1).\mathrm{ex}(n,\mathcal{C}_{[\ell]}^{r})=n^{1+1/k-o(1)}.

Conjecture I holds for =3,4\ell=3,4 and r3r\geq 3 – see [7, 16, 22, 23] – but is open and evidently difficult for 5\ell\geq 5 and r3r\geq 3. Györi and Lemons [13] proved ex(n,𝒞r)=O(n1+1/k)\mathrm{ex}(n,\mathcal{C}_{\ell}^{r})=O(n^{1+1/k}) with k=/2k=\left\lfloor\ell/2\right\rfloor, so the conjecture concerns constructions of dense rr-graphs of girth more than \ell. The conjecture for r=2r=2 without the o(1)o(1) is (1), and for each r3r\geq 3 is stronger than (1), as can be seen by forming a graph from an extremal nn-vertex rr-graph of girth more than \ell whose edge set consists of an arbitrary pair of vertices from each hyperedge. We emphasize that the o(1)o(1) term in Conjecture I is necessary for =3\ell=3, due to the Ruzsa-Szemerédi Theorem [7, 22], and for =5\ell=5, due to work of Conlon, Fox, Sudakov and Zhao [5].

1.1 Counting rr-graphs of large girth.

In this work we simplify and refine the arguments of Balogh and Li [2] to prove effective and almost tight bounds on Nmr(n,)\mbox{\rm N}_{m}^{r}(n,\ell) relative to Nm2(n,)\mbox{\rm N}_{m}^{2}(n,\ell).

Theorem 1.2.

Let ,r3\ell,r\geq 3 and λ=(r2)/(2)\lambda=\lceil(r-2)/(\ell-2)\rceil. Then for all m,n1m,n\geq 1,

Nmr(n,)Nm2(n,)r1+λ.\mbox{\rm N}_{m}^{r}(n,\ell)\leq\mbox{\rm N}_{m}^{2}(n,\ell)^{r-1+\lambda}. (2)

We note that (2) corrects a bound111Theorem 20 of [20] claims a stronger upper bound for Nmr(n,4)\mbox{\rm N}_{m}^{r}(n,4) than what we prove in Theorem 1.2, but we have confirmed with the authors that there was a subtle error in their proof. which appears in [20]. The inequality (2) is essentially tight when 2\ell-2 divides r2r-2, due to standard probabilistic arguments (see for instance Janson, Łuczak and Rucinski [14]): it is possible to show that when mn1+1/(1)m\leq n^{1+1/(\ell-1)}, the uniform model of random nn-vertex rr-graphs with mm edges has girth larger than \ell with probability at least ama^{-m} for some constant a>1a>1 depending only on \ell and rr. In particular, there exists some constants b,c>1b,c>1 such that for mn1+1/(1)m\leq n^{1+1/(\ell-1)} we have

Nmr(n,)am((nr)m)bm(nr/m)mbm(n2/m)(r1+r22)mcmNm2(n,)r1+r22,\mbox{\rm N}_{m}^{r}(n,\ell)\geq a^{-m}{{n\choose r}\choose m}\geq b^{-m}(n^{r}/m)^{m}\geq b^{-m}(n^{2}/m)^{(r-1+\frac{r-2}{\ell-2})m}\geq c^{-m}\cdot\mbox{\rm N}_{m}^{2}(n,\ell)^{r-1+\frac{r-2}{\ell-2}}, (3)

where the third inequality used mn1+1/(1)m\leq n^{1+1/(\ell-1)} and the last inequality used the trivial bound Nm2(n,)(en2/m)m\mbox{\rm N}_{m}^{2}(n,\ell)\leq(en^{2}/m)^{m}. This shows that the bound of Theorem 1.2 is best possible when 2\ell-2 divides r2r-2 up to a multiplicative error of cmc^{-m} for some constant c>1c>1. We believe that (3) should define the optimal exponent, and propose the following conjecture:

Conjecture II.

For all r2r\geq 2, 3\ell\geq 3 and m,n1m,n\geq 1,

Nmr(n,)Nm2(n,)r1+r22.\mbox{\rm N}_{m}^{r}(n,\ell)\leq\mbox{\rm N}_{m}^{2}(n,\ell)^{r-1+\frac{r-2}{\ell-2}}.

Theorem 1.2 shows that this conjecture is true when 2\ell-2 divides r2r-2, so the first open case of Conjecture II is when =4\ell=4 and r=3r=3.

In the case that Berge \ell-cycles are forbidden instead of all Berge cycles of length at most \ell, we can prove an analog of Theorem 1.2 with weaker quantitative bounds. To this end, let N[m]r(n,)\mbox{\rm N}_{[m]}^{r}(n,\mathcal{F}) denote the number of nn-vertex \mathcal{F}-free rr-graphs on at most mm hyperedges.

Theorem 1.3.

For each ,r3\ell,r\geq 3, there exists c=c(,r)c=c(\ell,r) such that

Nmr(n,𝒞r)2cmN[m]2(n,C)r!/2.\mbox{\rm N}_{m}^{r}(n,\mathcal{C}_{\ell}^{r})\leq 2^{cm}\cdot\mbox{\rm N}_{[m]}^{2}(n,C_{\ell})^{r!/2}.

We suspect that this result continues to hold with N[m]2(n,C)\mbox{\rm N}_{[m]}^{2}(n,C_{\ell}) replaced by Nm2(n,C)\mbox{\rm N}_{m}^{2}(n,C_{\ell}).

1.2 Subgraphs of random rr-graphs of large girth.

Denote by Hn,prH_{n,p}^{r} the rr-graph obtained by including each hyperedge of KnrK_{n}^{r} independently and with probability pp. Given a family of rr-graphs \mathcal{F}, let ex(Hn,pr,)\mathrm{ex}(H_{n,p}^{r},\mathcal{F}) denote the size of a largest \mathcal{F}-free subgraph of Hn,prH_{n,p}^{r}. Recall that a statement depending on nn holds asymptotically almost surely or a.a.s. if it holds with probability tending to 1 as nn\rightarrow\infty. A hypergraph of girth at least three is a linear hypergraph, and it is not hard to show by a simple first moment calculation that if pnrlognp\geq n^{-r}\log n, then a.a.s

ex(Hn,pr,𝒞[2]r)=Θ(min{pnr,n2}).\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[2]}^{r})=\Theta(\min\{pn^{r},n^{2}\}).

Our first result essentially determines the a.a.s behavior of the number of edges in an extremal subgraph of Hn,prH_{n,p}^{r} of girth four. In this theorem we omit the case p<nr+32p<n^{-r+\frac{3}{2}}, as it is straightforward to show that a.a.s ex(Hn,pr,𝒞[3]r)=Θ(pnr)\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[3]}^{r})=\Theta(pn^{r}) when pnrlognp\geq n^{-r}\log n in this range.

Theorem 1.4.

Let r3r\geq 3. If pnr+32(logn)2r3p\geq n^{-r+\frac{3}{2}}(\log n)^{2r-3}, then a.a.s.:

p12r3n2o(1)ex(Hn,pr,𝒞[3]r)p12r3n2+o(1).p^{\frac{1}{{2r-3}}}n^{2-o(1)}\leq\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[3]}^{r})\leq p^{\frac{1}{{2r-3}}}n^{2+o(1)}.

Due to Theorems 1.2 and 1.4, the number of linear triangle-free rr-graphs with nn vertices and mm edges where n3/2+o(1)mex(n,𝒞[3]r)=o(n2)n^{3/2+o(1)}\leq m\leq\mathrm{ex}(n,\mathcal{C}_{[3]}^{r})=o(n^{2}) and r3r\geq 3 is:

Nmr(n,3)=Nm2(n,3)2r3+o(1)=(n2m)(2r3)m+o(m).\mbox{\rm N}_{m}^{r}(n,3)=\mbox{\rm N}_{m}^{2}(n,3)^{2r-3+o(1)}=\Bigl{(}\frac{n^{2}}{m}\Bigr{)}^{(2r-3)m+o(m)}.

The authors and Nie [19] obtained bounds for rr-uniform loose triangles222The loose triangle is the Berge triangle whose edges pairwise intersect in exactly one vertex., where for r=3r=3 the same essentially tight bounds as in Theorem 1.4 were obtained, but for r>3r>3 there remains a significant gap. In the case of subgraphs of girth larger than four, Theorem 1.2 allows us to generalize results of Morris and Saxton [17] and earlier results of Kohayakawa, Kreuter and Steger [15] giving subgraphs of large girth in random graphs in the following way:

Theorem 1.5.

Let 4\ell\geq 4 and r2r\geq 2, and let k=/2k=\left\lfloor\ell/2\right\rfloor and λ=(r2)/(2)\lambda=\left\lceil(r-2)/(\ell-2)\right\rceil. Then a.a.s.:

ex(Hn,pr,𝒞[]r){n1+11+o(1)nr+1+11p<n(r1+λ)(k1)2k1(logn)(r1+λ)k,p1(r1+λ)kn1+1k+o(1)n(r1+λ)(1k)1(logn)(r1+λ)kp1.\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})\leq\begin{cases}n^{1+\frac{1}{\ell-1}+o(1)}&n^{-r+1+\frac{1}{\ell-1}}\leq p<n^{\frac{-(r-1+\lambda)(k-1)}{2k-1}}(\log n)^{(r-1+\lambda)k},\\ p^{\frac{1}{{(r-1+\lambda)k}}}n^{1+\frac{1}{k}+o(1)}&n^{\frac{-(r-1+\lambda)(\ell-1-k)}{\ell-1}}(\log n)^{(r-1+\lambda)k}\leq p\leq 1.\end{cases}

If Conjecture I is true, then

ex(Hn,pr,𝒞[]r){n1+11+o(1)nr+1+11p<n(r1)(1k)1,p1(r1)kn1+1ko(1)n(r1)(1k)1p1.\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})\geq\begin{cases}n^{1+\frac{1}{\ell-1}+o(1)}&n^{-r+1+\frac{1}{\ell-1}}\leq p<n^{\frac{-(r-1)(\ell-1-k)}{\ell-1}},\\ p^{\frac{1}{(r-1)k}}n^{1+\frac{1}{k}-o(1)}&n^{\frac{-(r-1)(\ell-1-k)}{\ell-1}}\leq p\leq 1.\end{cases}

We emphasize that there is a significant gap in the bounds of Theorem 1.5 due to the presence of λ\lambda in the exponent of pp in the upper bound and its absence in the lower bound, and this gap is closed by Theorem 1.4 when =3\ell=3 by an improvement to the lower bound. A similar phenomenon appears in recent work of Mubayi and Yepremyan [18], who determined the a.a.s value of the extremal function for loose even cycles in Hn,prH_{n,p}^{r} for all but a small range of pp. It seems likely that the following conjecture is true:

Conjecture III.

Let ,r3\ell,r\geq 3 and k=/2k=\lfloor\ell/2\rfloor. Then there exists γ=γ(,r)\gamma=\gamma(\ell,r) such that a.a.s.:

ex(Hn,pr,𝒞[]r)={n1+11+o(1)nr+1+11p<nγ(1k)1,p1γkn1+1k+o(1)nγ(1k)1p1.\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})=\left\{\begin{array}[]{ll}n^{1+\frac{1}{\ell-1}+o(1)}&n^{-r+1+\frac{1}{\ell-1}}\leq p<n^{-\frac{\gamma(\ell-1-k)}{\ell-1}},\\ p^{\frac{1}{\gamma k}}n^{1+\frac{1}{k}+o(1)}&n^{-\frac{\gamma(\ell-1-k)}{\ell-1}}\leq p\leq 1.\end{array}\right.

Conjecture II suggests the possible value γ(,r)=r1+(r2)/(2)\gamma(\ell,r)=r-1+(r-2)/(\ell-2), which is the correct value for =3\ell=3 by Theorem 1.4. We are not certain that this is the right value of γ\gamma in general, even when r=3r=3 and =4\ell=4, and more generally, Conjecture I is an obstacle for r3r\geq 3 and 5\ell\geq 5. Theorem 1.5 shows that if γ\gamma exists, then (r1)kγ(r1+λ)k(r-1)k\leq\gamma\leq(r-1+\lambda)k provided Conjecture I holds.

Letting f(n,p)=ex(Hn,p3,𝒞[4]3)f(n,p)=\mathrm{ex}(H_{n,p}^{3},\mathcal{C}_{[4]}^{3}), we plot the bounds of Theorem 1.5 in Figure 1, where the upper bound is in blue and the lower bound is in green. The truth of Conjecture II for =4\ell=4 would imply the slightly better upper bound f(n,p)p1/5n3/2+o(1)f(n,p)\leq p^{1/5}n^{3/2+o(1)}.

Refer to caption
Figure 1: Subgraphs of Hn,p3H_{n,p}^{3} of girth five

Notation. A set of size kk will be called a kk-set. As much as possible, when working with a kk-graph GG and an rr-graph HH with k<rk<r, we will refer to elements of E(G)E(G) as edges and elements of E(H)E(H) as hyperedges. Given a hypergraph HH on [n][n], we define the kk-shadow kH\partial^{k}H to be the kk-graph on [n][n] consisting of all kk-sets ee which lie in a hyperedge of E(H)E(H). If G1,,GqG_{1},\ldots,G_{q} are kk-graphs on [n][n], then Gi\bigcup G_{i} denotes the kk-graph GG on [n][n] which has edge set E(Gi)\bigcup E(G_{i}).

2 Proof of Theorem 1.2

As Balogh and Li [2] observed, if 3\ell\geq 3 and HH has girth larger than \ell, then HH is uniquely determined by 2H\partial^{2}H, which we can view as the graph obtained by replacing each hyperedge of HH by a clique. A key insight in proving Theorem 1.2 is that we can replace each hyperedge of HH with a sparser graph BB and still uniquely recover HH from this graph. To this end, we say that a graph BB is a book if there exist cycles F1,,FkF_{1},\ldots,F_{k} and an edge xyxy such that B=FiB=\bigcup F_{i} and E(Fi)E(Fj)={xy}E(F_{i})\cap E(F_{j})=\{xy\} for all iji\neq j. In this case we call the cycles FiF_{i} the pages of BB and we call the common edge xyxy the spine of BB. The following lemma shows that if we replace each hyperedge in HH by a book on rr vertices which has small pages, then the vertex sets of books in the resulting graph are exactly the hyperedges of HH.

Lemma 2.1.

Let HH be an rr-graph of girth larger than \ell. If 2H\partial^{2}H contains a book BB on rr vertices such that every page has length at most \ell, then there exists a hyperedge eE(H)e\in E(H) such that V(B)=eV(B)=e.

  • Proof.

    Let FF be a cycle in 2H\partial^{2}H with V(F)={v1,,vp}V(F)=\{v_{1},\ldots,v_{p}\} such that vivi+1E(2H)v_{i}v_{i+1}\in E(\partial^{2}H) for i<pi<p and v1vpE(2H)v_{1}v_{p}\in E(\partial^{2}H). If pp\leq\ell we claim that there exists an eE(H)e\in E(H) such that V(F)eV(F)\subseteq e. Indeed, by definition of 2H\partial^{2}H there exists some hyperedge eiE(H)e_{i}\in E(H) with vi,vi+1eiv_{i},v_{i+1}\in e_{i} for all i<pi<p and some hyperedge epe_{p} with v1,vpepv_{1},v_{p}\in e_{p}. If all of these eie_{i} hyperedges are equal then we are done, so we may assume e1epe_{1}\neq e_{p}. Define i1i_{1} to be the largest index such that ei=e1e_{i}=e_{1} for all ii1i\leq i_{1}, define i2i_{2} to be the largest index so that ei=ei1+1e_{i}=e_{i_{1}+1} for all i1<ii2i_{1}<i\leq i_{2}, and so on up to iq=pi_{q}=p, and note that 2qp2\leq q\leq p since e1epe_{1}\neq e_{p}. If all the eije_{i_{j}} hyperedges are distinct, then they form a Berge qq-cycle in HH since v1+ijeije1+ij=eijeij+1v_{1+i_{j}}\in e_{i_{j}}\cap e_{1+i_{j}}=e_{i_{j}}\cap e_{i_{j+1}} for all jj, a contradiction. Thus we can assume eij=eije_{i_{j}}=e_{i_{j^{\prime}}} for some j<jj<j^{\prime}. We can further assume that eiseise_{i_{s}}\neq e_{i_{s^{\prime}}} for any js<s<jj\leq s<s^{\prime}<j^{\prime}, as otherwise we could replace j,jj,j^{\prime} with s,ss,s^{\prime}. Finally note that j<j1j<j^{\prime}-1, as otherwise we would have eij=eij=eij+1e_{i_{j}}=e_{i_{j^{\prime}}}=e_{i_{j}+1}, contradicting the maximality of iji_{j}. We conclude that the distinct hyperedges eij,eij+1,,eij1e_{i_{j}},e_{i_{j+1}},\ldots,e_{i_{j^{\prime}-1}} form a Berge (jj)(j^{\prime}-j)-cycle with 2jj2\leq j^{\prime}-j\leq\ell in HH, a contradiction. This proves the claim.

    Now let BB be a book with spine xyxy and pages F1,,FkF_{1},\ldots,F_{k} of length at most \ell. By the claim there exist hyperedges e1,,ekE(H)e_{1},\ldots,e_{k}\in E(H) such that V(Fi)eiV(F_{i})\subseteq e_{i} for all ii, and in particular x,yeix,y\in e_{i} for all ii. Because HH is linear, this implies that all of these hyperedges are equal and we have V(B)e1V(B)\subseteq e_{1}. If BB has rr vertices, then we further have V(B)=e1V(B)=e_{1}. ∎

We now complete the proof of Theorem 1.2. With λ:=(r2)/(2)\lambda:=\left\lceil(r-2)/(\ell-2)\right\rceil we observe for all ,r3\ell,r\geq 3 that there exists a book graph BB on rr vertices {x1,,xr}\{x_{1},\ldots,x_{r}\} with r1+λr-1+\lambda edges f1,,fr1+λf_{1},\ldots,f_{r-1+\lambda}. Indeed if 2\ell-2 divides r2r-2 one can take λ\lambda copies of CC_{\ell} which share a common edge, and otherwise one can take λ1\lambda-1 copies of CC_{\ell} and a copy of CpC_{p} with p=r(λ1)(2)3p=r-(\lambda-1)(\ell-2)\geq 3. From now on we let BB denote this book graph. If fi={xj,xj}E(B)f_{i}=\{x_{j},x_{j^{\prime}}\}\in E(B) and e={v1,,vr}[n]e=\{v_{1},\ldots,v_{r}\}\subseteq[n] is any rr-set with v1<<vrv_{1}<\cdots<v_{r}, define ϕi(e)={vj,vj}\phi_{i}(e)=\{v_{j},v_{j^{\prime}}\}. If HH is an rr-graph on [n][n], define ϕi(H)\phi_{i}(H) to be the graph on [n][n] which has all edges of the form ϕi(e)\phi_{i}(e) for eE(H)e\in E(H); so in particular ϕi(H)\bigcup\phi_{i}(H) is the graph obtained by replacing each hyperedge of HH with a copy of BB.

Let m,n\mathcal{H}_{m,n} denote the set of rr-graphs on [n][n] with mm hyperedges and girth more than \ell, and let 𝒢m,n\mathcal{G}_{m,n} be the set of graphs on [n][n] with mm edges and girth more than \ell. We claim that ϕi\phi_{i} maps m,n\mathcal{H}_{m,n} to 𝒢m,n\mathcal{G}_{m,n}. Indeed, if Hm,nH\in\mathcal{H}_{m,n} then each hyperedge of HH contributes a distinct edge to ϕi(H)\phi_{i}(H) since HH is linear, so e(ϕi(H))=e(H)=me(\phi_{i}(H))=e(H)=m. One can show that if ϕi(e1),,ϕi(ep)\phi_{i}(e_{1}),\ldots,\phi_{i}(e_{p}) form a pp-cycle in ϕi(H)\phi_{i}(H), then e1,,epe_{1},\ldots,e_{p} form a Berge pp-cycle in HH; so Hm,nH\in\mathcal{H}_{m,n} implies ϕi(H)\phi_{i}(H) does not contain a cycle of length at most \ell.

Let 𝒢m,nt={(G1,G2,,Gt):Gi𝒢m,n}\mathcal{G}_{m,n}^{t}=\{(G_{1},G_{2},\dots,G_{t}):G_{i}\in\mathcal{G}_{m,n}\}. Then we define a map ϕ:m,n𝒢m,nr1+λ\phi:\mathcal{H}_{m,n}\to\mathcal{G}_{m,n}^{r-1+\lambda} by

ϕ(H)=(ϕ1(H),,ϕr1+λ(H)).\phi(H)=(\phi_{1}(H),\ldots,\phi_{r-1+\lambda}(H)).

We claim that this map is injective. Indeed, fix some Hm,nH\in\mathcal{H}_{m,n} and let (G)\mathcal{B}(G) denote the set of books BB in the graph G:=ϕi(H)2HG:=\bigcup\phi_{i}(H)\subseteq\partial^{2}H. By definition of ϕ\phi we have E(H)(G)E(H)\subseteq\mathcal{B}(G) for all HH. Moreover, if Hm,nH\in\mathcal{H}_{m,n} then Lemma 2.1 implies (G)E(H)\mathcal{B}(G)\subseteq E(H). Thus E(H)E(H) (and hence HH) is uniquely determined by GG, which is itself determined by ϕ(H)\phi(H), so the map is injective. In total we conclude

Nmr(n,)=|m,n||𝒢m,nr1+λ|=Nm2(n,)r1+λ,\mbox{\rm N}_{m}^{r}(n,\ell)=|\mathcal{H}_{m,n}|\leq|\mathcal{G}_{m,n}^{r-1+\lambda}|=\mbox{\rm N}_{m}^{2}(n,\ell)^{r-1+\lambda},

proving Theorem 1.2. \blacksquare

3 Proof of Theorem 1.3

For arbitrary hypergraphs HH, the map ϕ(H)=r1H\phi(H)=\partial^{r-1}H (let alone the map to 2H\partial^{2}H) is not injective. However, we will show that this map is “almost” injective when considering HH which are 𝒞r\mathcal{C}_{\ell}^{r}-free. To this end, we say that a set of vertices {v1,,vr}\{v_{1},\ldots,v_{r}\} is a core set of an rr-graph HH if there exist distinct hyperedges e1,,ere_{1},\ldots,e_{r} with {v1,,vr}{vi}ei\{v_{1},\ldots,v_{r}\}\setminus\{v_{i}\}\subseteq e_{i} for all ii. The following observation shows that core sets are the only obstruction to ϕ(H)=r1H\phi(H)=\partial^{r-1}H being injective.

Lemma 3.1.

Let HH be an rr-graph. If {v1,,vr}\{v_{1},\ldots,v_{r}\} induces a Krr1K_{r}^{r-1} in r1H\partial^{r-1}H, then either {v1,,vr}E(H)\{v_{1},\ldots,v_{r}\}\in E(H) or {v1,,vr}\{v_{1},\ldots,v_{r}\} is a core set of HH.

  • Proof.

    By assumption of {v1,,vr}\{v_{1},\ldots,v_{r}\} inducing a Krr1K_{r}^{r-1} in r1H\partial^{r-1}H, for all ii there exist eiE(r1H)e^{\prime}_{i}\in E(\partial^{r-1}H) with ei={v1,,vr}{vi}e^{\prime}_{i}=\{v_{1},\ldots,v_{r}\}\setminus\{v_{i}\}. By definition of r1H\partial^{r-1}H, this means there exist (not necessarily distinct) eiE(H)e_{i}\in E(H) with eiei={v1,,vr}{vi}e_{i}\supseteq e_{i}^{\prime}=\{v_{1},\ldots,v_{r}\}\setminus\{v_{i}\}. Given this, either ei={v1,,vr}e_{i}=\{v_{1},\ldots,v_{r}\} for some ii, or all of the eie_{i} distinct, in which case {v1,,vr}\{v_{1},\ldots,v_{r}\} is a core set of HH. In either case we conclude the result.

We next show that 𝒞r\mathcal{C}_{\ell}^{r}-free rr-graphs have few core sets.

Lemma 3.2.

Let ,r3\ell,r\geq 3 and let HH be a 𝒞r\mathcal{C}_{\ell}^{r}-free rr-graph with mm hyperedges. The number of core sets in HH is at most 2r2m\ell^{2}r^{2}m.

  • Proof.

    We claim that HH contains no core sets if r\ell\leq r. Indeed, assume for contradiction that HH contained a core set {v1,,vr}\{v_{1},\ldots,v_{r}\} with distinct hyperedges ei{v1,,vr}{vi}e_{i}\supseteq\{v_{1},\ldots,v_{r}\}\setminus\{v_{i}\}. It is not difficult to see that the hyperedges e1,,ee_{1},\ldots,e_{\ell} form a Berge \ell-cycle, a contradiction to HH being 𝒞r\mathcal{C}_{\ell}^{r}-free. Thus from now on we may assume >r\ell>r.

    Let 𝒜1\mathcal{A}_{1} denote the set of core sets in HH, and for any 𝒜𝒜1\mathcal{A}^{\prime}\subseteq\mathcal{A}_{1} and (r1)(r-1)-set SS, define d𝒜(S)d_{\mathcal{A}^{\prime}}(S) to be the number of core sets A𝒜A\in\mathcal{A}^{\prime} with SAS\subseteq A. Observe that d𝒜1(S)>0d_{\mathcal{A}_{1}}(S)>0 for at most (rr1)m=rm{r\choose r-1}m=rm (r1)(r-1)-sets SS, since in particular SS must be contained in a hyperedge of HH.

    Given 𝒜i\mathcal{A}_{i}, define 𝒜i𝒜i\mathcal{A}^{\prime}_{i}\subseteq\mathcal{A}_{i} to be the core sets A𝒜iA\in\mathcal{A}_{i} which contain an (r1)(r-1)-set SS with d𝒜i(S)rd_{\mathcal{A}_{i}}(S)\leq\ell r, and let 𝒜i+1=𝒜i𝒜i\mathcal{A}_{i+1}=\mathcal{A}_{i}\setminus\mathcal{A}^{\prime}_{i}. Observe that |𝒜i|rrm|\mathcal{A}^{\prime}_{i}|\leq\ell r\cdot rm since each (r1)(r-1)-set SS with d𝒜i(S)>0d_{\mathcal{A}_{i}}(S)>0 is contained in at most r\ell r elements of 𝒜i\mathcal{A}^{\prime}_{i}. In particular,

    |𝒜1|(r)r2m+|𝒜r+1|2r2m+|𝒜r+1|.|\mathcal{A}_{1}|\leq(\ell-r)\cdot\ell r^{2}m+|\mathcal{A}_{\ell-r+1}|\leq\ell^{2}r^{2}m+|\mathcal{A}_{\ell-r+1}|. (4)

    Assume for the sake of contradiction that 𝒜r+1\mathcal{A}_{\ell-r+1}\neq\emptyset. We prove by induction on rir\leq i\leq\ell that one can find distinct vertices v1,,viv_{1},\ldots,v_{i} and distinct hyperedges e1,,ei1,e~ie_{1},\ldots,e_{i-1},\tilde{e}_{i} such that vj,vj+1ejv_{j},v_{j+1}\in e_{j} for 1j<i1\leq j<i and v1,vie~iv_{1},v_{i}\in\tilde{e}_{i}, and such that {vi,vi1,,vir+2,v1}𝒜i+1\{v_{i},v_{i-1},\ldots,v_{i-r+2},v_{1}\}\in\mathcal{A}_{\ell-i+1}. For the base case, consider any {vr,vr1,,v1}𝒜r+1\{v_{r},v_{r-1},\ldots,v_{1}\}\in\mathcal{A}_{\ell-r+1}. As this is a core set, there exist distinct hyperedges ej{v1,,vr}{vj+2}e_{j}\supseteq\{v_{1},\ldots,v_{r}\}\setminus\{v_{j+2}\} and e~r{v1,,vr}{v2}\tilde{e}_{r}\supseteq\{v_{1},\ldots,v_{r}\}\setminus\{v_{2}\}, proving the base case of the induction.

    Assume that we have proven the result for i<i<\ell. By assumption of {vi,vi1,,vir+2,v1}𝒜i+1\{v_{i},v_{i-1},\ldots,v_{i-r+2},v_{1}\}\in\mathcal{A}_{\ell-i+1}, we have {vi,vi1,,vir+2,v1}𝒜i\{v_{i},v_{i-1},\ldots,v_{i-r+2},v_{1}\}\notin\mathcal{A}_{\ell-i}^{\prime}, so there exists a set of vertices {u1,,ur+1}\{u_{1},\ldots,u_{\ell r+1}\} such that {vi,vi1,,vir+3,v1,uj}𝒜i\{v_{i},v_{i-1},\ldots,v_{i-r+3},v_{1},u_{j}\}\in\mathcal{A}_{\ell-i} for all jj. Because |k=1i1ek|r|\bigcup_{k=1}^{i-1}e_{k}|\leq\ell r, there exists some jj such that ujk=1i1eku_{j}\notin\bigcup_{k=1}^{i-1}e_{k}. For this jj, let vi+1:=ujv_{i+1}:=u_{j} and let ei,e~i+1e_{i},\tilde{e}_{i+1} be distinct hyperedges containing vi,vi+1v_{i},v_{i+1} and v1,vi+1v_{1},v_{i+1} respectively, which exist by assumption of this being a core set. Note that vi+1v_{i+1} is distinct from every other viv_{i^{\prime}} since vik=1i1ekv_{i^{\prime}}\in\bigcup_{k=1}^{i-1}e_{k} for iii^{\prime}\leq i, and similarly the hyperedges ei,e~i+1e_{i},\tilde{e}_{i+1} are distinct from every hyperedge eie_{i^{\prime}} with i<ii^{\prime}<i since these new hyperedges contain vi+1k=1i1ekv_{i+1}\notin\bigcup_{k=1}^{i-1}e_{k}. This proves the inductive step and hence the claim. The i=i=\ell case of this claim implies that HH contains a Berge \ell-cycle, a contradiction. Thus 𝒜r+1=\mathcal{A}_{\ell-r+1}=\emptyset, and the result follows by (4). ∎

Combining these two lemmas gives the following result, which allows us to reduce from rr-graphs to (r1)(r-1)-graphs. We recall that N[m]r(n,)\mbox{\rm N}_{[m]}^{r}(n,\mathcal{F}) denotes the number of nn-vertex \mathcal{F}-free rr-graphs on at most mm hyperedges.

Proposition 3.3.

For each ,r3\ell,r\geq 3, there exists c=c(,r)c=c(\ell,r) such that

N[m]r(n,𝒞r)2cmN[m]r(n,𝒞r1)r.\mbox{\rm N}_{[m]}^{r}(n,\mathcal{C}_{\ell}^{r})\leq 2^{cm}\cdot\mbox{\rm N}_{[m]}^{r}(n,\mathcal{C}_{\ell}^{r-1})^{r}.
  • Proof.

    If e={v1,v2,,vr}[n]e=\{v_{1},v_{2},\ldots,v_{r}\}\subseteq[n] is any rr-set with v1<v2<<vrv_{1}<v_{2}<\cdots<v_{r}, let ϕi(e)={v1,,vr}{vi}\phi_{i}(e)=\{v_{1},\ldots,v_{r}\}\setminus\{v_{i}\}. Given an rr-graph HH on [n][n], let ϕi(H)\phi_{i}(H) be the (r1)(r-1)-graph on [n][n] with edge set {ϕi(e):eE(H)}\{\phi_{i}(e):e\in E(H)\}, and define ϕ(H)=(ϕ1(H),ϕ2(H),,ϕr(H))\phi(H)=(\phi_{1}(H),\phi_{2}(H),\ldots,\phi_{r}(H)) and ψ(H)=(ϕ(H),E(H))\psi(H)=(\phi(H),E(H)). Observe that ϕi(H)=r1H\bigcup\phi_{i}(H)=\partial^{r-1}H. Let [m],n\mathcal{H}_{[m],n} denote the set of all rr-graphs on [n][n] with at most mm hyperedges which are 𝒞r\mathcal{C}_{\ell}^{r}-free, and let ϕ([m],n),ψ([m],n)\phi(\mathcal{H}_{[m],n}),\psi(\mathcal{H}_{[m],n}) denote the image sets of [m],n\mathcal{H}_{[m],n} under these respective maps. Observe that ψ\psi is injective since it records E(H)E(H), so it suffices to bound how large ψ([m],n)\psi(\mathcal{H}_{[m],n}) can be.

    Let 𝒢[m],n\mathcal{G}_{[m],n} denote the set of (r1)(r-1)-graphs on [n][n] which have at most mm edges and which are 𝒞r1\mathcal{C}_{\ell}^{r-1}-free. It is not difficult to see that ϕ([m],n)𝒢[m],nr\phi(\mathcal{H}_{[m],n})\subseteq\mathcal{G}_{[m],n}^{r}. We observe by Lemmas 3.1 and 3.2 that for any (G1,G2,,Gr)ϕ([m],n)(G_{1},G_{2},\ldots,G_{r})\in\phi(\mathcal{H}_{[m],n}), say with ϕ(H)=(G1,,Gr)\phi(H)=(G_{1},\ldots,G_{r}), there are at most (1+2r2)m(1+\ell^{2}r^{2})m copies of Krr1K_{r}^{r-1} in Gi=r1H\bigcup G_{i}=\partial^{r-1}H. We also observe that if ((G1,G2,,Gr),E)ψ([m],n)((G_{1},G_{2},\ldots,G_{r}),E)\in\psi(\mathcal{H}_{[m],n}), then EE is a set of at most mm copies of Krr1K_{r}^{r-1} in Gi\bigcup G_{i}. Thus given any (G1,,Gr)ϕ([m],n)𝒢[m],nr(G_{1},\ldots,G_{r})\in\phi(\mathcal{H}_{[m],n})\subseteq\mathcal{G}_{[m],n}^{r}, there are at most 2(1+2r2)m2^{(1+\ell^{2}r^{2})m} choices of EE such that ((G1,,Gr),E)ψ([m],n)((G_{1},\ldots,G_{r}),E)\in\psi(\mathcal{H}_{[m],n}). We conclude that

    N[m](n,𝒞r)=|[m],n||𝒢[m],n|r2(1+2r2)m=N[m]r(n,𝒞r1)r2(1+2r2)m,\mbox{\rm N}_{[m]}(n,\mathcal{C}_{\ell}^{r})=|\mathcal{H}_{[m],n}|\leq|\mathcal{G}_{[m],n}|^{r}\cdot 2^{(1+\ell^{2}r^{2})m}=\mbox{\rm N}_{[m]}^{r}(n,\mathcal{C}_{\ell}^{r-1})^{r}\cdot 2^{(1+\ell^{2}r^{2})m},

    proving the result. ∎

Applying this proposition repeatedly gives N[m]r(n,𝒞r)2cmN[m]2(n,C)r!/2\mbox{\rm N}_{[m]}^{r}(n,\mathcal{C}_{\ell}^{r})\leq 2^{cm}\mbox{\rm N}_{[m]}^{2}(n,C_{\ell})^{r!/2}. Combining this with the trivial inequality Nmr(n,𝒞r)N[m]r(n,𝒞r)\mbox{\rm N}_{m}^{r}(n,\mathcal{C}_{\ell}^{r})\leq\mbox{\rm N}_{[m]}^{r}(n,\mathcal{C}_{\ell}^{r}) gives Theorem 1.3. \blacksquare

4 Proof of Theorems 1.4 and 1.5

To prove that our bounds hold a.a.s., we use the Chernoff bound [1].

Proposition 4.1 ([1]).

Let XX denote a binomial random variable with NN trials and probability pp of success. For any ϵ>0\epsilon>0 we have Pr[|XpN|>ϵpN]2exp(ϵ2pN/2)\Pr[|X-pN|>\epsilon pN]\leq 2\exp(-\epsilon^{2}pN/2).

Proof of the upper bounds in Theorem 1.5. Let

p0=n(r1+λ)(k1)2k1(logn)(r1+λ)k.p_{0}=n^{-\frac{(r-1+\lambda)(k-1)}{2k-1}}(\log n)^{(r-1+\lambda)k}.

For pp0p\geq p_{0}, define

m=p1(r1+λ)kn1+1klogn,m=p^{\frac{1}{(r-1+\lambda)k}}n^{1+\frac{1}{k}}\log n,

and note that this is large enough to apply Theorem 1.1 for pp0p\geq p_{0}. Let YmY_{m} denote the number of subgraphs of Hn,prH_{n,p}^{r} which are 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free and have exactly mm edges, and note that ex(Hn,pr,𝒞[]r)m\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})\geq m if and only if Ym1Y_{m}\geq 1. By Markov’s inequality, Theorem 1.2, and Theorem 1.1:

Pr[Ym1]\displaystyle\Pr[Y_{m}\geq 1] \displaystyle\leq 𝔼[Ym]=pmNmr(n,)\displaystyle\mathbb{E}[Y_{m}]=p^{m}\cdot\mbox{\rm N}_{m}^{r}(n,\ell)
\displaystyle\leq pmNm2(n,)r1+λ\displaystyle p^{m}\cdot\mbox{\rm N}_{m}^{2}(n,\ell)^{r-1+\lambda}
\displaystyle\leq (p1r1+λec(logn)k1(n1+1km)k)m(r1+λ)\displaystyle\Bigl{(}p^{\frac{1}{r-1+\lambda}}e^{c}(\log n)^{k-1}\Bigl{(}\frac{n^{1+\frac{1}{k}}}{m}\Bigr{)}^{k}\Bigr{)}^{m(r-1+\lambda)}
=\displaystyle= (eclogn)m(r1+λ).\displaystyle\Bigl{(}\frac{e^{c}}{\log n}\Bigr{)}^{m(r-1+\lambda)}.

The right hand side converges to zero, so for pp0p\geq p_{0}, a.a.s:

ex(Hn,pr,𝒞[]r)<m.\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})<m.

As 𝔼[ex(Hn,pr,𝒞[]r)]\mathbb{E}[\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})] is non-decreasing in pp, the bound

ex(Hn,pr,𝒞[]r)<n1+11(logn)2\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})<n^{1+\frac{1}{\ell-1}}(\log n)^{2}

continues to hold a.a.s.  for all p<p0p<p_{0}. \blacksquare

Proof of the upper bound in Theorem 1.4. This proof is almost identical to the previous, so we omit some of the redundant details. Let m=p12r3n2lognm=p^{\frac{1}{2r-3}}n^{2}\log n and let YmY_{m} denote the number of subgraphs of Hn,prH_{n,p}^{r} which are 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free and have exactly mm edges. By Markov’s inequality, Theorem 1.2, and the trivial bound Nm2(n,3)(n2m)\mbox{\rm N}_{m}^{2}(n,3)\leq{n^{2}\choose m} which is valid for all mm, we find for all pp

Pr[Ym1]pm(en2/m)(2r3)m=(e/logn)m.\Pr[Y_{m}\geq 1]\leq p^{m}(en^{2}/m)^{(2r-3)m}=(e/\log n)^{m}.

This quantity converges to zero, so we conclude the result by the same reasoning as in the previous proof. \blacksquare

This proof shows that for all pp we have 𝔼[ex(Hn,pr,𝒞[]r)]<p12r3n2logn\mathbb{E}[\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})]<p^{\frac{1}{2r-3}}n^{2}\log n. However, for pnr+3/2p\leq n^{-r+3/2} this is weaker than the trivial upper bound 𝔼[ex(Hn,pr,𝒞[]r)]p(nr)\mathbb{E}[\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})]\leq p{n\choose r}.

Proof of the lower bounds in Theorem 1.5. We use homomorphisms similar to Foucaud, Krivelevich and Perarnau [10] and Perarnau and Reed [21]. If FF and FF^{\prime} are hypergraphs and χ:V(F)V(F)\chi:V(F)\rightarrow V(F^{\prime}) is any map, we let χ(e)={χ(u):ue}\chi(e)=\{\chi(u):u\in e\} for any eE(F)e\in E(F). For two rr-graphs FF and FF^{\prime}, a map χ:V(F)V(F)\chi:V(F)\to V(F^{\prime}) is a homomorphism if χ(e)E(F)\chi(e)\in E(F^{\prime}) for all eE(F)e\in E(F), and χ\chi is a local isomorphism if χ\chi is a homomorphism and χ(e)χ(f)\chi(e)\neq\chi(f) whenever e,fE(F)e,f\in E(F) with efe\cap f\neq\emptyset. A key lemma is the following:

Lemma 4.2.

If F𝒞[]rF\in\mathcal{C}_{[\ell]}^{r} and χ:FF\chi:F\rightarrow F^{\prime} is a local isomorphism, then FF^{\prime} has girth at most \ell.

  • Proof.

    Let FF be a Berge pp-cycle with pp\leq\ell and E(F)={e1,e2,,ep}E(F)=\{e_{1},e_{2},\dots,e_{p}\}. Then there exist distinct vertices v1,v2,,vpv_{1},v_{2},\dots,v_{p} such that vieiei+1v_{i}\in e_{i}\cap e_{i+1} for i<pi<p and vpepe1v_{p}\in e_{p}\cap e_{1}. First assume there exists iji\neq j such that χ(ei)=χ(ej)\chi(e_{i})=\chi(e_{j}). By reindexing, we can assume χ(e1)=χ(ek)\chi(e_{1})=\chi(e_{k}) for some k>1k>1, and further that χ(ei)χ(ej)\chi(e_{i})\neq\chi(e_{j}) for any 1i<j<k1\leq i<j<k. Note that k3k\geq 3 since e1e2e_{1}\cap e_{2}\neq\emptyset and χ\chi is a local isomorphism. If we also have χ(vi)χ(vj)\chi(v_{i})\neq\chi(v_{j}) for all 1i<j<k1\leq i<j<k, then χ(vi)χ(ei)χ(ei+1)\chi(v_{i})\in\chi(e_{i})\cap\chi(e_{i+1}) for i<k1i<k-1 and χ(vk1)χ(ek1)χ(e1)\chi(v_{k-1})\in\chi(e_{k-1})\cap\chi(e_{1}), so χ(e1),χ(e2),,χ(ek1)\chi(e_{1}),\chi(e_{2}),\dots,\chi(e_{k-1}) is the edge set of a Berge (k1)(k-1)-cycle in FF^{\prime} as required.

    Suppose χ(vi)=χ(vj)\chi(v_{i})=\chi(v_{j}) for some 1i<j<k1\leq i<j<k, and as before we can assume there exists no ii<j<ji\leq i^{\prime}<j^{\prime}<j with χ(vi)=χ(vj)\chi(v_{i^{\prime}})=\chi(v_{j^{\prime}}). Then χ(vi),χ(vi+1),,χ(vj1)\chi(v_{i}),\chi(v_{i+1}),\ldots,\chi(v_{j-1}) are distinct vertices with χ(vh)χ(eh)χ(eh+1)\chi(v_{h})\in\chi(e_{h})\cap\chi(e_{h+1}) for ih<j1i\leq h<j-1 and χ(vj1)χ(ej1)χ(e1)\chi(v_{j-1})\in\chi(e_{j-1})\cap\chi(e_{1}). Note that χ(vi)χ(vi+1)\chi(v_{i})\neq\chi(v_{i+1}) since this would imply |χ(ei)|<r|\chi(e_{i})|<r, contradicting that χ\chi is a homomorphism, so j>i+1j>i+1. Thus the hyperedges χ(ei),χ(ei+1),,χ(ej1)\chi(e_{i}),\chi(e_{i+1}),\ldots,\chi(e_{j-1}) form a Berge (ji)(j-i)-cycle in FF^{\prime} with ji2j-i\geq 2 as desired.

    This proves the result if χ(ei)=χ(ej)\chi(e_{i})=\chi(e_{j}) for some iji\neq j. If this does not happen and the χ(vi)\chi(v_{i}) are all distinct, then FF^{\prime} is a Berge pp-cycle, and if χ(vi)=χ(vj)\chi(v_{i})=\chi(v_{j}) then the same proof as above gives a Berge (ji)(j-i)-cycle in FF^{\prime}. ∎

The following lemma allows us to find a relatively dense subgraph of large girth in any rr-graph whose maximum ii-degree is not too large, where the ii-degree of an ii-set SS is the number of hyperedges containing SS.

Lemma 4.3.

Let ,r3\ell,r\geq 3 and let HH be an rr-graph with maximum ii-degree Δi\Delta_{i} for each i1i\geq 1. If tr24rΔi1/(ri)t\geq r^{2}4^{r}\Delta_{i}^{1/(r-i)} for all i1i\geq 1, then HH has a subgraph HH^{\prime} of girth larger than \ell with

e(H)ex(t,𝒞[]r)tre(H).e(H^{\prime})\geq\mathrm{ex}(t,\mathcal{C}_{[\ell]}^{r})t^{-r}\cdot e(H).
  • Proof.

    Let JJ be an extremal 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free rr-graph on tt vertices and χ:V(H)V(J)\chi:V(H)\to V(J) chosen uniformly at random. Let HHH^{\prime}\subseteq H be the random subgraph which keeps the hyperedge eE(H)e\in E(H) if

    • (1)(1)

      χ(e)E(J)\chi(e)\in E(J), and

    • (2)(2)

      χ(e)χ(f)\chi(e)\neq\chi(f) for any other fE(H)f\in E(H) with |ef|0|e\cap f|\neq 0.

    We claim that HH^{\prime} is 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free. Indeed, assume HH^{\prime} contained a subgraph FF isomorphic to some element of 𝒞[]r\mathcal{C}_{[\ell]}^{r}. Let FF^{\prime} be the subgraph of JJ with V(F)={χ(u):uV(F)}V(F^{\prime})=\{\chi(u):u\in V(F)\} and E(F)={χ(e):eE(F)}E(F^{\prime})=\{\chi(e):e\in E(F)\}, and note that FHF\subseteq H^{\prime} implies that each hyperedge of FF satisfies (1), so every element of E(F)E(F^{\prime}) is a hyperedge in JJ. By conditions (1) and (2), χ\chi is a local isomorphism from FF to FF^{\prime}. By Lemma 4.2, FJF^{\prime}\subseteq J contains a Berge cycle of length at most \ell, a contradiction to JJ being 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free.

    It remains to compute 𝔼[e(H)]\mathbb{E}[e(H^{\prime})]. Given eE(H)e\in E(H), let A1A_{1} denote the event that (1) is satisfied, let Ei={fE(H):|ef|=i}E_{i}=\{f\in E(H):|e\cap f|=i\}, and let A2A_{2} denote the event that χ(f)χ(e)\chi(f)\not\subseteq\chi(e) for any fiEif\in\bigcup_{i}E_{i}, which in particular implies (2) for the hyperedge ee. It is not too difficult to see that Pr[A1]=r!e(J)tr\Pr[A_{1}]=r!e(J)t^{-r}, and that for any fEif\in E_{i} we have Pr[χ(f)χ(e)|A1]=(r/t)ri\Pr[\chi(f)\subseteq\chi(e)|A_{1}]=(r/t)^{r-i}. Note for each i1i\geq 1 that |Ei|2rΔi|E_{i}|\leq 2^{r}\Delta_{i}, as ee has at most 2r2^{r} subsets of size ii each of ii-degree at most Δi\Delta_{i}. Taking a union bound we find

    Pr[A2|A1]1i=1r|Ei|(r/t)ri1i=1r2rΔi(r/t)ri1i=1rr12r12,\Pr[A_{2}|A_{1}]\geq 1-\sum_{i=1}^{r}|E_{i}|(r/t)^{r-i}\geq 1-\sum_{i=1}^{r}2^{r}\Delta_{i}(r/t)^{r-i}\geq 1-\sum_{i=1}^{r}r^{-1}2^{-r}\geq\frac{1}{2},

    where the second to last inequality used (r4r)irr14r(r4^{r})^{i-r}\geq r^{-1}4^{-r} for iri\leq r. Consequently

    Pr[eE(H)]=Pr[A1]Pr[A2|A1]r!e(J)tr12e(J)tr,\Pr[e\in E(H^{\prime})]=\Pr[A_{1}]\cdot\Pr[A_{2}|A_{1}]\geq r!e(J)t^{-r}\cdot\frac{1}{2}\geq e(J)t^{-r},

    and linearity of expectation gives 𝔼[e(H)]e(J)tre(H)=ex(t,𝒞[]r)tre(H)\mathbb{E}[e(H^{\prime})]\geq e(J)t^{-r}\cdot e(H)=\mathrm{ex}(t,\mathcal{C}_{[\ell]}^{r})t^{-r}\cdot e(H). Thus there exists some 𝒞[]r\mathcal{C}_{[\ell]}^{r}-free subgraph HHH^{\prime}\subseteq H with at least ex(t,𝒞[]r)tre(H)\mathrm{ex}(t,\mathcal{C}_{[\ell]}^{r})t^{-r}\cdot e(H) hyperedges. ∎

By the Chernoff bound one can show for

pp1:=n(r1)(1k)1p\geq p_{1}:=n^{\frac{-(r-1)(\ell-1-k)}{\ell-1}}

that a.a.s. Hn,prH_{n,p}^{r} has maximum ii-degree at most Θ(pnri)\Theta(pn^{r-i}) for all ii. If Conjecture I is true, then a.a.s for pp1p\geq p_{1} Lemma 4.3 with t=Θ(p1/(r1)n)t=\Theta(p^{1/(r-1)}n) gives:

ex(Hn,pr,𝒞[]r)=Ω(trex(t,𝒞[]r)pnr)=p1(r1)kn1+1ko(1).\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})=\Omega(t^{-r}\mathrm{ex}(t,\mathcal{C}_{[\ell]}^{r})pn^{r})=p^{\frac{1}{(r-1)k}}n^{1+\frac{1}{k}-o(1)}.

This proves the lower bound in Theorem 1.5. \blacksquare

Proof of the lower bound in Theorem 1.4. We use the following variant of Lemma 4.3:

Lemma 4.4.

Let HH be an rr-graph and let R,v(H)R_{\ell,v}(H) be the number of Berge \ell-cycles in HH on vv vertices. For all t1t\geq 1, HH has a subgraph HH^{\prime} of girth larger than 33 with

e(H)(e(H)t2r=23vt2vR,v(H))eclogt,e(H^{\prime})\geq\left(e(H)t^{2-r}-\sum_{\ell=2}^{3}\sum_{v}t^{2-v}R_{\ell,v}(H)\right)e^{-c\sqrt{\log t}},

where c>0c>0 is an absolute constant.

  • Proof.

    By work of Ruzsa and Szemeredi [22] and Erdős, Frankl, Rödl [7], it is known for all tt that there exists a 𝒞[3]r\mathcal{C}_{[3]}^{r}-free rr-graph JJ on tt vertices with t2eclogtt^{2}e^{-c\sqrt{\log t}} hyperedges. Choose a map χ:V(H)V(J)\chi:V(H)\to V(J) uniformly at random and define H′′HH^{\prime\prime}\subseteq H to be the subgraph which keeps a hyperedge e={v1,,vr}E(H)e=\{v_{1},\ldots,v_{r}\}\in E(H) if and only if χ(e)E(J)\chi(e)\in E(J).

    We claim that if e1,e2,e3e_{1},e_{2},e_{3} form a Berge triangle in H′′H^{\prime\prime}, then χ(e1)=χ(e2)=χ(e3)\chi(e_{1})=\chi(e_{2})=\chi(e_{3}). Observe that if v1,v2,v3v_{1},v_{2},v_{3} are vertices with vieiei+1v_{i}\in e_{i}\cap e_{i+1}, then we must have e.g. χ(v1)χ(v2)\chi(v_{1})\neq\chi(v_{2}), as otherwise |χ(e2)|<r|\chi(e_{2})|<r. Because JJ is linear we must have |χ(ei)χ(ej)|{1,r}|\chi(e_{i})\cap\chi(e_{j})|\in\{1,r\}. These hyperedges can not all intersect in 1 vertex since this together with the distinct vertices χ(v1),χ(v2),χ(v3)\chi(v_{1}),\chi(v_{2}),\chi(v_{3}) defines a Berge triangle in H′′H^{\prime\prime}, so we must have say χ(e1)=χ(e2)\chi(e_{1})=\chi(e_{2}). But this means χ(v3),χ(v2)\chi(v_{3}),\chi(v_{2}) are distinct vertices in χ(e1)=χ(e2)\chi(e_{1})=\chi(e_{2}) and χ(e3)\chi(e_{3}), so |χ(e1)χ(e3)|>1|\chi(e_{1})\cap\chi(e_{3})|>1 and we must have χ(e1)=χ(e3)\chi(e_{1})=\chi(e_{3}) as desired.

    The probability that a given Berge triangle CC on vv vertices in HH maps to a given hyperedge in JJ is at most (r/t)v(r/t)^{v} (since this is the probability that every vertex of CC maps into the edge of JJ). By linearity of expectation, H′′H^{\prime\prime} contains at most vR3,v(H)e(J)(r/t)v\sum_{v}R_{3,v}(H)e(J)(r/t)^{v} Berge triangles in expectation. An identical proof shows that H′′H^{\prime\prime} contains at most vR2,v(H)e(J)(r/t)v\sum_{v}R_{2,v}(H)e(J)(r/t)^{v} Berge 2-cycles in expectation. We can then delete a hyperedge from each of these Berge cycles in H′′H^{\prime\prime} to find a subgraph HH^{\prime} with

    𝔼[e(H)]e(J)tre(H)=23vR,v(H)e(J)(r/t)v.\mathbb{E}[e(H^{\prime})]\geq e(J)t^{-r}\cdot e(H)-\sum_{\ell=2}^{3}\sum_{v}R_{\ell,v}(H)e(J)(r/t)^{v}.

    The result follows since e(J)=t2eclogte(J)=t^{2}e^{-c\sqrt{\log t}}. ∎

We now prove the lower bound in Theorem 1.4. By Markov’s inequality one can show that a.a.s. R3,3r3(Hn,pr)=O(p3n3r3)R_{3,3r-3}(H_{n,p}^{r})=O(p^{3}n^{3r-3}). By the Chernoff bound we have a.a.s. that e(Hn,pr)=Ω(pnr)e(H_{n,p}^{r})=\Omega(pn^{r}), so if we take t=p2/(2r3)n(logn)1t=p^{2/(2r-3)}n(\log n)^{-1}, then a.a.s. t53rR3,3r3(Hn,pr)t^{5-3r}R_{3,3r-3}(H_{n,p}^{r}) is significantly smaller than t2re(Hn,pr)t^{2-r}e^{(}H_{n,p}^{r}). A similar result holds for each term t2vR,v(Hn,pr)t^{2-v}R_{\ell,v}(H_{n,p}^{r}) with =2,3\ell=2,3 and v(r1)v\leq\ell(r-1), so by Lemma 4.4 we conclude ex(Hn,pr,𝒞[3]r)]p1/(2r3)n2o(1)\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[3]}^{r})]\geq p^{1/(2r-3)}n^{2-o(1)} a.a.s., proving the lower bound in Theorem 1.4. \blacksquare

We note that the proof of Lemma 4.4 fails for larger \ell. In particular, a Berge 4-cycle can appear in H′′H^{\prime\prime} by mapping onto two edges in JJ intersecting at a single vertex, and with this the bound becomes ineffective.

5 Concluding remarks

\bullet In this paper, we extended ideas of Balogh and Li to bound the number of nn-vertex rr-graphs with mm edges and girth more than \ell in terms of the number of nn-vertex graphs with mm edges and girth more than \ell. The reduction is best possible when m=Θ(n/(1))m=\Theta(n^{\ell/(\ell-1)}) and 2\ell-2 divides r2r-2. Theorem 1.3 shows that similar reductions can be made when forbidding a single family of Berge cycles.

By using variations of our method, we can prove the following generalization. For a graph FF, a hypergraph HH is a Berge-FF if there exists a bijection ϕ:E(F)E(H)\phi:E(F)\to E(H) such that eϕ(e)e\subseteq\phi(e) for all eE(F)e\in E(F). Let r(F)\mathcal{B}^{r}(F) denote the family of rr-uniform Berge-FF. We can prove the following extension of Theorem 1.3: if there exists a vertex vV(F)v\in V(F) such that FvF-v is a forest, then there exists c=c(F,r)c=c(F,r) such that

Nmr(n,r(F))\displaystyle\mbox{\rm N}_{m}^{r}(n,\mathcal{B}^{r}(F)) 2cmN[m]2(n,F)r!/2.\displaystyle\leq 2^{cm}\cdot\mbox{\rm N}_{[m]}^{2}(n,F)^{r!/2}.

For example, this result applies when FF is a theta graph. We do not believe that the exponent r!/2r!/2 is optimal in general, and we propose the following problem.

Problem I.

Let ,r3\ell,r\geq 3. Determine the smallest value β=β(,r)>0\beta=\beta(\ell,r)>0 such that there exists a constant c=c(,r)c=c(\ell,r) so that, for all m,n1m,n\geq 1,

Nmr(n,𝒞r)2cmN[m]2(n,C)β.\mbox{\rm N}_{m}^{r}(n,\mathcal{C}_{\ell}^{r})\leq 2^{cm}\cdot\mbox{\rm N}_{[m]}^{2}(n,C_{\ell})^{\beta}.

Theorem 1.3 shows that βr!/2\beta\leq r!/2 for all ,r\ell,r, but in principle we could have β=O(r)\beta=O_{\ell}(r). We claim without proof that it is possible to use variants of our methods to show β(3,r),β(4,r)(r2)\beta(3,r),\beta(4,r)\leq{r\choose 2}, but beyond this we do not know any non-trivial upper bounds on β\beta.

\bullet We proposed Conjecture III on the extremal function for subgraphs of large girth in random hypergraphs: for some constant γ=γ(,r)\gamma=\gamma(\ell,r), a.a.s.:

ex(Hn,pr,𝒞[]r)={n1+11+o(1)nr+1+11p<nγ(1k)1,p1γkn1+1k+o(1)nγ(1k)1p1.\mathrm{ex}(H_{n,p}^{r},\mathcal{C}_{[\ell]}^{r})=\left\{\begin{array}[]{ll}n^{1+\frac{1}{\ell-1}+o(1)}&n^{-r+1+\frac{1}{\ell-1}}\leq p<n^{-\frac{\gamma(\ell-1-k)}{\ell-1}},\\ p^{\frac{1}{\gamma k}}n^{1+\frac{1}{k}+o(1)}&n^{-\frac{\gamma(\ell-1-k)}{\ell-1}}\leq p\leq 1.\end{array}\right.

For =3\ell=3, this conjecture is true with γ=2r3\gamma=2r-3, and Conjecture II suggests perhaps γ=r1+(r2)/(2)\gamma=r-1+(r-2)/(\ell-2), although we do not have enough evidence to support this (see also the work of Mubayi and Yepremyan [18] on loose even cycles). It would be interesting as a test case to know if γ(3,4)=5/2\gamma(3,4)=5/2:

Problem II.

Prove or disprove that Conjecture III holds with γ(3,4)=5/2\gamma(3,4)=5/2.

\bullet It seems likely that Nmr(n,)\mbox{\rm N}_{m}^{r}(n,\mathcal{F}) controls the a.a.s. behavior of ex(Hn,pr,)\mathrm{ex}(H_{n,p}^{r},\mathcal{F}) as nn\rightarrow\infty. Specifically, it is clear that if \mathcal{F} is a family of finitely many rr-graphs and p=p(n)p=p(n) and m=m(n)m=m(n) are defined so that pmNmr(n,)0p^{m}\mbox{\rm N}_{m}^{r}(n,\mathcal{F})\rightarrow 0 as nn\rightarrow\infty, then a.a.s. as nn\rightarrow\infty, Hn,prH_{n,p}^{r} contains no \mathcal{F}-free subgraph with at least mm edges. It would be interesting to determine when Hn,prH_{n,p}^{r} a.a.s contains an \mathcal{F}-free subgraph with at least mm edges. In particular, we leave the following problem:

Problem III.

Let m=m(n)m=m(n) and p=p(n)p=p(n) so that pmNmr(n,)p^{m}\mbox{\rm N}_{m}^{r}(n,\ell)\rightarrow\infty as nn\rightarrow\infty. Then Hn,prH_{n,p}^{r} a.a.s contains a subgraph of girth more than \ell with at least mm edges.

In particular, perhaps one can obtain good bounds on the variance of Nmr(n,)\mbox{\rm N}_{m}^{r}(n,\ell) in Hn,prH_{n,p}^{r}.

Acknowledgments. We thank the referees for their helpful comments.

References

  • [1] N. Alon and J. H. Spencer. The probabilistic method. John Wiley & Sons, 2004.
  • [2] J. Balogh and L. Li. On the number of linear hypergraphs of large girth. Journal of Graph Theory, 93(1):113–141, 2020.
  • [3] J. Balogh, B. Narayanan, and J. Skokan. The number of hypergraphs without linear cycles. Journal of Combinatorial Theory, Series B, 134:309–321, 2019.
  • [4] J. Balogh and W. Samotij. The number of Ks,tK_{s,t}-free graphs. Journal of the London Mathematical Society, 83(2):368–388, 2011.
  • [5] D. Conlon, J. Fox, B. Sudakov, and Y. Zhao. The regularity method for graphs with few 4-cycles. arXiv preprint arXiv:2004.10180, 2020.
  • [6] J. Corsten and T. Tran. Balanced supersaturation for degenerate hypergraphs. arXiv preprint arXiv:1707.03788, 2017.
  • [7] P. Erdős, P. Frankl, and V. Rödl. The asymptotic number of graphs not containing a fixed subgraph and a problem for hypergraphs having no exponent. Graphs and Combinatorics, 2(1):113–121, 1986.
  • [8] P. Erdős and M. Simonovits. Supersaturated graphs and hypergraphs. Combinatorica, 3(2):181–192, 1983.
  • [9] A. Ferber, G. McKinley, and W. Samotij. Supersaturated sparse graphs and hypergraphs. International Mathematics Research Notices, 2020(2):378–402, 2020.
  • [10] F. Foucaud, M. Krivelevich, and G. Perarnau. Large subgraphs without short cycles. SIAM Journal on Discrete Mathematics, 29(1):65–78, 2015.
  • [11] Z. Füredi. Random ramsey graphs for the four-cycle. Discrete Mathematics, 126(1-3):407–410, 1994.
  • [12] Z. Füredi and M. Simonovits. The history of degenerate (bipartite) extremal graph problems. In Erdős Centennial, pages 169–264. Springer, 2013.
  • [13] E. Győri and N. Lemons. Hypergraphs with no cycle of a given length. Combinatorics, Probability & Computing, 21(1-2):193, 2012.
  • [14] S. Janson, T. Łuczak, and A. Rucinski. Random graphs. Wiley-Interscience Series in Discrete Mathematics and Optimization. Wiley-Interscience, New York, 2000.
  • [15] Y. Kohayakawa, B. Kreuter, and A. Steger. An extremal problem for random graphs and the number of graphs with large even-girth. Combinatorica, 18(1):101–120, 1998.
  • [16] F. Lazebnik and J. Verstraëte. On hypergraphs of girth five. The Electronic Journal of Combinatorics, 10(1):R25, 2003.
  • [17] R. Morris and D. Saxton. The number of C2C_{2\ell}-free graphs. Advances in Mathematics, 298:534–580, 2016.
  • [18] D. Mubayi and L. Yepremyan. Random Turán theorem for hypergraph cycles. arXiv preprint arXiv:2007.10320, 2020.
  • [19] J. Nie, S. Spiro, and J. Verstraëte. Triangle-free subgraphs of hypergraphs. arXiv preprint arXiv:2004.10992, 2020.
  • [20] C. Palmer, M. Tait, C. Timmons, and A. Z. Wagner. Turán numbers for berge-hypergraphs and related extremal problems. Discrete Mathematics, 342(6):1553–1563, 2019.
  • [21] G. Perarnau and B. Reed. Existence of spanning \mathcal{F}-free subgraphs with large minimum degree. Combinatorics, Probability and Computing, 26(3):448–467, 2017.
  • [22] I. Z. Ruzsa and E. Szemerédi. Triple systems with no six points carrying three triangles. Combinatorics (Proceedings of the Fifth Hungarian Colloquium Keszthely, 1976), volume II, Colloquium Mathemtical Society, János Bolyai, 18:939–945, 1978.
  • [23] C. Timmons and J. Verstraëte. A counterexample to sparse removal. European Journal of Combinatorics, 44:77–86, 2015.
  • [24] J. Verstraëte. Extremal problems for cycles in graphs. In Recent trends in combinatorics, volume 159 of IMA Vol. Math. Appl., pages 83–116. Springer, [Cham], 2016.

Appendix: Proof of Theorem 1.1

Here we give a formal proof of Theorem 1.1. The key tool will be the following theorem of Morris and Saxton.

Theorem 1 ([17] Theorem 5.1).

For each k2k\geq 2, there exists a constant C=C(k)C=C(k) such that the following holds for sufficiently large t,nt,n\in\mathbb{N} with tn(k1)2/k(2k1)/(logn)k1t\leq n^{(k-1)^{2}/k(2k-1)}/(\log n)^{k-1}. There exists a collection 𝒢k(n,t)\mathcal{G}_{k}(n,t) of at most

exp(Ct1/(k1)n1+1/klogt)\exp(Ct^{-1/(k-1)}n^{1+1/k}\log t)

graphs on [n][n] such that e(G)tn1+1/ke(G)\leq tn^{1+1/k} for all G𝒢k(n,t)G\in\mathcal{G}_{k}(n,t) and such that every C2kC_{2k}-free graph is a subgraph of some G𝒢k(n,t)G\in\mathcal{G}_{k}(n,t).

Recall that we wish to prove that for 3\ell\geq 3 and k=/2k=\lfloor\ell/2\rfloor, there exists a constant c>0c>0 such that if nn is sufficiently large and mn1+1/(2k1)(logn)2m\geq n^{1+1/(2k-1)}(\log n)^{2}, then

Nm2(n,𝒞[])ecm(logn)(k1)m(n1+1/km)km.\mbox{\rm N}_{m}^{2}(n,\mathcal{C}_{[\ell]})\leq e^{cm}(\log n)^{(k-1)m}\left(\frac{n^{1+1/k}}{m}\right)^{km}.

The bound is trivial if =3\ell=3 since Nm2(n,C3)(n2m)\mbox{\rm N}_{m}^{2}(n,C_{3})\leq{n^{2}\choose m}, so we may assume 4\ell\geq 4 from now on. Because Nm2(n,𝒞[])Nm2(n,C2k)\mbox{\rm N}_{m}^{2}(n,\mathcal{C}_{[\ell]})\leq\mbox{\rm N}_{m}^{2}(n,C_{2k}) for all 4\ell\geq 4, it suffices to prove this bound for Nm2(n,C2k)\mbox{\rm N}_{m}^{2}(n,C_{2k}). For any integer tn(k1)2/k(2k1)/(logn)k1t\leq n^{(k-1)^{2}/k(2k-1)}/(\log n)^{k-1} and nn sufficiently large, Theorem 1 implies

Nm2(n,C2k)|𝒢k(n,t)|(tn1+1/km)exp(Ct1/(k1)n1+1/klogt)(etn1+1/k/m)m,\mbox{\rm N}_{m}^{2}(n,C_{2k})\leq|\mathcal{G}_{k}(n,t)|\cdot{tn^{1+1/k}\choose m}\leq\exp(Ct^{-1/(k-1)}n^{1+1/k}\log t)\cdot(etn^{1+1/k}/m)^{m}, (5)

with the first inequality using that every C2kC_{2k}-free graph on mm edges is an mm-edged subgraph of some G𝒢k(n,t)G\in\mathcal{G}_{k}(n,t). By taking t=(n1+1/klogn/m)k1t=(n^{1+1/k}\log n/m)^{k-1}, which is sufficiently small to apply (5) provided mn1+1/(2k1)(logn)2m\geq n^{1+1/(2k-1)}(\log n)^{2}, we see that Nm2(n,C2k)\mbox{\rm N}_{m}^{2}(n,C_{2k}) satisfies the desired inequality. \blacksquare