arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2608.20303v1 [math.CO] 20 Aug 2026

Kahn–Lovász-type inequalities for graph factors

Hyunwoo Lee Thanks: Department of Mathematical Sciences, KAIST, South Korea and Extremal Combinatorics and Probability Group (ECOPRO), Institute for Basic Science (IBS). E-mail: hyunwoo.lee@kaist.ac.kr. Supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government(MSIT) No. RS-2023-00210430, and the Institute for Basic Science (IBS-R029-C4).
Abstract

The Kahn–Lovász theorem gives a sharp upper bound on the number of perfect matchings in a graph in terms of its degree sequence, extending the classical Brégman–Minc inequality for bipartite graphs. In this paper, we establish an asymptotically sharp extension of the Kahn–Lovász theorem to FF-factors for every Hamiltonian graph FF. As a consequence, we asymptotically determine the maximum number of FF-factors in an nn-vertex mm-edge graph, yielding an FF-factor analogue of Kruskal–Katona-type theorems.

We also prove a multigraph analogue of the Kahn–Lovász theorem. Combining this with our results for Hamiltonian graphs, we obtain an asymptotically sharp Kruskal–Katona-type bound for a further class of connected graphs FF, including those containing two vertex-disjoint cycles of equal length whose union spans V(F)V(F).

Contents

1 Introduction

The permanent of an n×nn\times n matrix AA, denoted by per(A)\mathrm{per}(A), is a fundamental quantity in combinatorial matrix theory and in extremal and enumerative combinatorics. It is defined by

per(A)σSni[n]Ai,σ(i),\mathrm{per}(A)\coloneqq\sum_{\sigma\in S_{n}}\prod_{i\in[n]}A_{i,\sigma(i)}, (1.1)

where SnS_{n} is the symmetric group on nn elements. The permanent of a 0011 matrix is of particular interest since it coincides with the number of perfect matchings in an associated bipartite graph. Let GG be a bipartite graph with bipartition LRL\cup R, where L={1,,n}L=\{\ell_{1},\dots,\ell_{n}\} and R={r1,,rn}R=\{r_{1},\dots,r_{n}\}. Define the 0011 matrix B(G)B(G) by setting B(G)i,j=1B(G)_{i,j}=1 if and only if irjE(G)\ell_{i}r_{j}\in E(G) for all i,j[n]i,j\in[n]. Then by (1.1), the permanent of B(G)B(G) is precisely the number of perfect matchings in GG. We call B(G)B(G) a bipartite adjacency matrix of GG.

This connection implies that estimating the number of perfect matchings in a bipartite graph is equivalent to estimating the permanent of its bipartite adjacency matrix. In general, designing an efficient algorithm for computing the exact value of the permanent is one of the central challenges in theoretical computer science. Indeed, even when restricted to 0011 matrices, the problem remains computationally intractable since Valiant [23] proved that computing the permanent of a 0011 matrix is #P\#P-complete. Because computing the permanent exactly is difficult in general, considerable effort has been devoted to establishing general upper and lower bounds on the permanent.

In 1963, Minc [20] conjectured an upper bound on the permanent of a 0011 matrix with prescribed row sums. This conjecture was famously resolved by Brégman [4] in 1973. Since the permanent of a bipartite adjacency matrix counts the number of perfect matchings in the bipartite graph, the Brégman–Minc inequality can be stated in the following graph-theoretic form. For graphs FF and GG, we denote by Nfactor(F,G)N_{\mathrm{factor}}(F;G) the number of distinct FF-factors in GG. Note that a K2K_{2}-factor is equivalent to a perfect matching.

Theorem 1.1 (Brégman–Minc inequality).

Let GG be a bipartite graph on bipartition V(G)=LRV(G)=L\cup R with |L|=|R||L|=|R|. Then we have

Nfactor(K2,G)vL(dG(v)!)1dG(v),N_{\mathrm{factor}}(K_{2};G)\leq\prod_{v\in L}(d_{G}(v)!)^{\frac{1}{d_{G}(v)}},

where dG(v)d_{G}(v) is the degree of vv in GG.

As bipartite graphs and perfect matchings are fundamental objects in graph theory, Theorem 1.1 has numerous applications to bounding the number of large combinatorial structures, including balanced orientations of a graph [22], directed Hamilton paths in a tournament [3], and Hamilton decompositions of a graph [13, 9].

A natural extension of Theorem 1.1 is to allow the host graph to be non-bipartite. Kahn and Lovász proved the following extension, although their proof was not published; see [7]. Since then, the Kahn–Lovász theorem has been rediscovered and reproved several times [1, 8, 10].

Theorem 1.2 (Kahn–Lovász).

Let GG be a graph. Then we have

Nfactor(K2,G)vV(G)(dG(v)!)12dG(v).N_{\mathrm{factor}}(K_{2};G)\leq\prod_{v\in V(G)}(d_{G}(v)!)^{\frac{1}{2d_{G}(v)}}.

We remark that the inequalities in Theorems 1.1 and 1.2 are sharp, with equality attained when GG is a disjoint union of complete balanced bipartite graphs.

As a simple corollary, the celebrated Kruskal–Katona theorem [16, 14] gives a sharp upper bound on the number of copies of KrK_{r} in an nn-vertex mm-edge graph. For an integer mm, let uu be the nonnegative real number satisfying (u2)=m\binom{u}{2}=m. Then every nn-vertex mm-edge graph contains at most (ur)\binom{u}{r} copies of KrK_{r}, and this bound is sharp [18]. Motivated by this, Alon [2] determined, up to a multiplicative constant, the maximum number of copies of FF in an mm-edge graph for every fixed graph FF. Since then, various extensions of this problem under additional restrictions on the host graph have been studied; see, for instance, [12, 15, 5, 6]. We call a problem or theorem Kruskal–Katona-type if it concerns the maximum number of copies of a specified subgraph, which need not be fixed or small, in a graph with a prescribed number of edges.

Combining Theorem 1.2 with Stirling’s approximation and the AM-GM inequality yields the following Kruskal–Katona-type result for perfect matchings.

Corollary 1.3.

For all ε>0\varepsilon>0, there exists C>0C>0 such that for all even n>0n>0 and mm with mCnm\geq Cn, we have

maxG:|V(G)|=n,|E(G)|=mNfactor(K2;G)=[(1±ε)(2men)]n2,\max_{\begin{subarray}{c}G:|V(G)|=n,\\ |E(G)|=m\end{subarray}}N_{\mathrm{factor}}(K_{2};G)=\left[(1\pm\varepsilon)\left(\frac{2m}{en}\right)\right]^{\frac{n}{2}},

where ee is Euler’s number.

In this paper, we extend the Kahn–Lovász theorem to FF-factors and establish Kruskal–Katona-type results for FF-factors. As an application, we obtain nontrivial upper bounds on the number of distinct cycle decompositions in terms of the degree sequence of the host graph. These bounds are asymptotically sharp for many graphs.

1.1 Main results

Our first main result extends Theorem 1.2 to FF-factors for several classes of graphs FF. In particular, we obtain an asymptotically sharp result for every Hamiltonian graph FF.

Theorem 1.4.

For every ε>0\varepsilon>0 and a Hamiltonian graph FF, there exists a constant C=C(F,ε)>0C=C(F,\varepsilon)>0 such that the following holds. For all nn-vertex graph GG, we have

Nfactor(F,G)((1+ε)|V(F)||Aut(F)|)n|V(F)|(vV(G)dG(v)+Ce)11|V(F)|,N_{\mathrm{factor}}(F;G)\leq\left((1+\varepsilon)\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{|V(F)|}}, (1.2)

where Aut(F)\mathrm{Aut}(F) denotes the automorphism group of FF.

The bound in Theorem 1.4 is asymptotically sharp. The extremal construction is given by disjoint unions of cliques satisfying suitable divisibility conditions; see Section 3.

Remark 1.5.

Unfortunately, the inequality (1.2) fails for some non-Hamiltonian graphs; highly unbalanced bipartite graphs provide examples. Nevertheless, in Section 4, we establish a nontrivial upper bound on Nfactor(F,G)N_{\mathrm{factor}}(F;G) in terms of the degree sequence of the host graph for every connected graph FF. We refer the reader to Theorem 4.9.

Applying the AM-GM inequality to Theorem 1.4, we also obtain an asymptotically sharp Kruskal–Katona-type result for FF-factors whenever FF is Hamiltonian. To state this result, let NF(n,m)N_{F}(n,m) denote the maximum number of FF-factors in an nn-vertex mm-edge graph.

Corollary 1.6.

For every ε>0\varepsilon>0 and a Hamiltonian graph FF, there exists a constant C=C(F,ε)>0C=C(F,\varepsilon)>0 such that the following holds. For all positive integers nn and mm with nn divisible by |V(F)||V(F)| and mCnm\geq Cn, we have

NF(n,m)[(1+ε)(|V(F)||Aut(F)|)1|V(F)|12men](11|V(F)|)n.N_{F}(n,m)\leq\left[(1+\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{1}{|V(F)|-1}}\frac{2m}{en}\right]^{\left(1-\frac{1}{|V(F)|}\right)n}.

Moreover, this bound is asymptotically sharp for infinitely many pairs (n,m)(n,m).

The lower bound of Corollary 1.6 is attained by disjoint unions of cliques, as described in Section 3.

We also prove an analogue of Corollary 1.6 for graphs FF that contain two vertex-disjoint cycles of equal length whose union spans V(F)V(F). This follows from Theorem 1.4 and a multigraph analogue of the Kahn–Lovász theorem, established in Section 5.

Theorem 1.7.

Let FF be a connected graph that contains two vertex-disjoint cycles of equal length whose union spans V(F)V(F). Then for every ε>0\varepsilon>0, there exists a constant C=C(F,ε)>0C=C(F,\varepsilon)>0 such that the following holds. For all positive integers nn and mm with nn divisible by |V(F)||V(F)| and mCnm\geq Cn, we have

NF(n,m)[(1+ε)(|V(F)||Aut(F)|)1|V(F)|12men](11|V(F)|)n.N_{F}(n,m)\leq\left[(1+\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{1}{|V(F)|-1}}\frac{2m}{en}\right]^{\left(1-\frac{1}{|V(F)|}\right)n}.

Moreover, this bound is asymptotically sharp for infinitely many pairs (n,m)(n,m).

We note that there exist many interesting non-Hamiltonian graph but contain a spanning disjoint union of two cycles of equal length, for instance, the Petersen graph. In other words, Theorem 1.4 and Corollary 1.6 do not apply to the Petersen graph, but Theorem 1.7 works for the Petersen graph.

1.2 High-level overview

We now give a high-level overview of the main ideas behind our proofs.

We first discuss Theorem 1.4. Let FF be a Hamiltonian graph on \ell vertices. Since FF contains a spanning cycle CC_{\ell}, a double-counting argument reduces the problem to bounding the number of embeddings of CC_{\ell}-factors into a given host graph. To prove it, we partition V(G)V(G) into \ell equally sized classes V0,,V1V_{0},\dots,V_{\ell-1} and count only those cycle factors whose vertices appear successively in these classes. If we ignore the cycle edges between one fixed pair of consecutive classes, the remaining edges form perfect matchings between the other consecutive pairs. Thus, the Brégman–Minc inequality (Theorem 1.1), gives an upper bound in terms of the numbers of neighbors that each vertex has in the next class.

We apply this estimate for each of the \ell possible pairs of consecutive classes and take the geometric mean. Since every vertex contributes to exactly 1\ell-1 of the resulting estimates, this produces the exponent 11/1-1/\ell in Theorem 4.3, which corresponds to the exponent 11/|V(F)|1-1/|V(F)| in Theorem 1.4. We then sum over all equal partitions and apply Hölder’s inequality. The remaining task is to control a weighted sum over partitions, which is precisely the content of Lemma 4.4.

The main idea behind Lemma 4.4 is to reverse the order of counting. Recall that the Brégman–Minc inequality naturally gives a bound involving factorials of the relevant degrees. Using Stirling’s approximation, in particular Proposition 2.5, we replace these factorial terms, up to an arbitrarily small multiplicative error, by linear functions of the degrees. This linearization is crucial, as it allows us to interpret the resulting product in purely graph-theoretic terms. More precisely, replace every edge of GG by the two possible orientations and add a bounded number of directed loops at each vertex. For a fixed partition, the resulting product counts the number of ways to choose exactly one outgoing edge from every vertex, subject to the condition that each chosen non-loop edge goes from one class to the next. We instead first fix the resulting directed graph and count the number of partitions compatible with it.

Observe that each connected component of such a directed graph contains a unique directed cycle, and once the class of one vertex in a component is fixed, the classes of all other vertices are determined. Hence, if the directed graph has kk connected components, it is compatible with at most k\ell^{k} partitions. Lemma 4.5 shows that this additional weight can be absorbed into an arbitrarily small exponential loss: graphs with few components have small weight, while graphs with many components necessarily contain many small components and are correspondingly sparse. This proves Lemma 4.4, and hence Theorem 4.3 and Theorem 1.4.

The proof of Theorem 4.9, the general connected graph case, follows the same strategy. We choose a spanning tree TT of FF and reduce the problem to Theorem 4.10. After fixing an equal partition of V(G)V(G), we root TT at one of its vertices and orient every edge towards the root. The resulting structure can again be counted using perfect matchings between appropriate pairs of classes. The Brégman–Minc inequality, geometric averaging over the choices of the root, and Hölder’s inequality then give the desired bound. The additional factor involving aabba^{a}b^{b} comes from the two color classes of TT, of sizes aa and bb.

Finally, to prove Theorem 1.7, we first count factors consisting of cycles using Corollary 1.6. For a fixed cycle factor HH, we construct an auxiliary loopless multigraph whose vertices correspond to the cycles of HH, with multiplicities given by the numbers of edges of GG joining pairs of cycles. Perfect matchings in this multigraph correspond to ways to pair the cycles and add one joining edge to each pair. We therefore prove the multigraph Kahn–Lovász theorem, Theorem 5.1, using the entropy method. When the multiplicities are bounded, and the average degree is sufficiently large, the resulting error term is negligible, giving Corollary 5.2. Applying this to the auxiliary multigraph and then using Lemma 4.1 yields Theorem 1.7.

Organization.

The rest of the paper is organized as follows. In Section 2, we introduce the notation used throughout the paper and briefly review some basic properties of information entropy. In Section 3, we establish the lower bounds for our main results. Section 4 contains the proof of Theorem 1.4, together with its extension to more general cases. As mentioned above, Theorem 1.7 follows from Theorem 1.4 and a multigraph analogue of the Kahn–Lovász theorem. In Section 5, we establish this multigraph extension and then prove Theorem 1.7. We conclude the paper with some remarks and open problems.

Statement of AI use.

We used ChatGPT 5.6 Pro/Sol to improve the exposition and proofread the manuscript. Apart from this, no AI tools were used. All mathematical ideas were developed independently by the author, who takes full responsibility for this article.

2 Preliminaries

2.1 Notation

We write [n]={1,,n}[n]=\{1,\dots,n\} for each positive integer nn. We use the notation βα1,,αt\beta\ll\alpha_{1},\dots,\alpha_{t} to mean that there exists a function ff such that βf(α1,,αt)\beta\leq f(\alpha_{1},\dots,\alpha_{t}). We do not attempt to specify the function ff explicitly.

Throughout the paper, we use standard notation from graph theory. All graphs and digraphs are considered simple unless otherwise stated. For a graph GG, we denote its vertex set and edge set by V(G)V(G) and E(G)E(G), respectively, and write v(G)|V(G)|v(G)\coloneqq|V(G)| and e(G)|E(G)|e(G)\coloneqq|E(G)|. For a vertex vV(G)v\in V(G), we denote by NG(v)N_{G}(v) and dG(v)d_{G}(v) the set of neighbors and degree of vv in GG, respectively. We often omit the subscript when the underlying graph is clear from the context. For a digraph DD and a vertex vV(D)v\in V(D), we use analogous notation. In particular, we denote by ND+(v)N^{+}_{D}(v) and ND(v)N^{-}_{D}(v) be out- and in-neighbors of vv in DD, and refer their sizes as out- and in-degree of vv, namely dD+(v)d^{+}_{D}(v) and dD(v)d^{-}_{D}(v), respectively. Again, we omit the subscript when the underlying digraph is clear from the context. For a graph GG and two disjoint vertex subsets X,YV(G)X,Y\subseteq V(G), we write G[X]G[X] the induced subgraph of GG induced by XX, and G[X,Y]G[X,Y] the induced bipartite subgraph of GG, where the edges of G[X,Y]G[X,Y] the edges whose endpoints are lies in both XX and YY.

In this paper, we also consider a loopless multigraph and a digraph with multi-loops in the proof of our theorems. We also consider loopless multigraphs and digraphs with multiple loops. For a loopless multigraph MM and a pair e(V(M)2)e\in\binom{V(M)}{2}, let μ(e)\mu(e) denote the multiplicity of ee, and let μ(M)\mu(M) denote the maximum edge multiplicity of MM. For vV(M)v\in V(M), we define dM(v)uV(M)μ(uv)d_{M}(v)\coloneqq\sum_{u\in V(M)}\mu(uv), that is, the number of edges incident with vv, counted with multiplicity. We say a digraph DD has multi-loops if some vertices of DD have multiple loops directed out and also into themselves. We write Comp(G)\mathrm{Comp}(G) and Comp(D)\mathrm{Comp}(D) for the set of connected components of GG and the set of connected components of the underlying graph of DD, respectively. Note that all simple graphs and digraphs are also loopless multigraphs and digraphs with multi-loops.

For graphs FF and GG, we denote by N(F,G)N(F;G) the number of FF copies in GG. We write mFm\cdot F for the disjoint union of mm copies of FF for a positive integer mm. With these notation, Nfactor(F,G)N_{\mathrm{factor}}(F;G) is the same with N(|V(G)||V(F)|F,G)N\left(\frac{|V(G)|}{|V(F)|}\cdot F;G\right) whenever |V(F)||V(F)| divides |V(G)||V(G)|. We say a function ϕ:V(F)V(G)\phi:V(F)\to V(G) is an embedding if ϕ\phi is an injective homomorphism from FF to GG. We write Emb(F,G)\mathrm{Emb}(F;G) for the set of embeddings from FF to GG. We note that

N(F,G)=|Emb(F,G)||Aut(F)|N(F;G)=\frac{|\mathrm{Emb}(F;G)|}{|\mathrm{Aut}(F)|} (2.1)

holds, where Aut(F)\mathrm{Aut}(F) is the automorphism group of FF.

We now introduce a new notation regarding the degree of a vertex in a given graph with respect to a certain vertex partition. Let GG be a graph and vv be a vertex of GG. We define an rr-partition 𝒫\mathcal{P} of V(G)V(G) as an rr-tuple (V0,V1,,Vr1)(V_{0},V_{1},\dots,V_{r-1}), where the indices are members of the cyclic group r\mathbb{Z}_{r} such that ViVj=V_{i}\cap V_{j}=\emptyset whenever iji\neq j and V(G)=irViV(G)=\cup_{i\in\mathbb{Z}_{r}}V_{i}. We say this partition is rr-equipartition if |Vi|=|Vj||V_{i}|=|V_{j}| for all i,jri,j\in\mathbb{Z}_{r}. Consider a labelled digraph DD on the vertex set r\mathbb{Z}_{r}. Without loss of generality, assume vV0v\in V_{0}. Then we define the out-degree of vv with respect to the pair (𝒫,D)(\mathcal{P},D), denoted by dG+(v,(𝒫,D))d^{+}_{G}(v;(\mathcal{P},D)), as

dG+(v,(𝒫,D))iND+(0)|NG(v)Vi|.d^{+}_{G}(v;(\mathcal{P},D))\coloneqq\sum_{i\in N^{+}_{D}(0)}|N_{G}(v)\cap V_{i}|.

The notion of dG+(v,(𝒫,D))d^{+}_{G}(v;(\mathcal{P},D)) plays a crucial role in the proof of Theorem 1.4.

Lastly, throughout the paper, all the logarithms are taken base ee unless we indicate the base, and we consider log0=0\log 0=0.

2.2 Entropy basics

We use an entropy method inspired by Radhakrishnan’s elegant proof [21] of the Brégman–Minc inequality to prove Theorem 5.1 in Section 5. Information entropy (Shannon’s entropy) is a very useful quantity to capture the randomness of a given discrete random variable that was introduced by Shannon in 1948. For a random variable ZZ on a probability space 𝒵\mathcal{Z} and z𝒵z\in\mathcal{Z}, we denote by PZ(z)P_{Z}(z) the value Pr[Z=z]\Pr[Z=z]. The following is the definition of information entropy.

Definition 2.1.

Let XX be a discrete random variable on a finite set 𝒳\mathcal{X}. Then the entropy of XX, denoted as H(X)H(X) is defined by

H(X)x𝒳PX(x)logPX(x).H(X)\coloneqq-\sum_{x\in\mathcal{X}}P_{X}(x)\log P_{X}(x).

We also need a conditional entropy defined as follows.

Definition 2.2.

Let XX and YY be discrete random variables on a finite set 𝒳\mathcal{X} and 𝒴\mathcal{Y}, respectively. Then the conditional entropy of XX and YY, denoted as H(X|Y)H(X|Y) is defined by

H(X|Y)(x,y)𝒳×𝒴P(X,Y)(x,y)logP(X,Y)(x,y)PY(y).H(X|Y)\coloneqq-\sum_{(x,y)\in\mathcal{X}\times\mathcal{Y}}P_{(X,Y)}(x,y)\log\frac{P_{(X,Y)}(x,y)}{P_{Y}(y)}.

Equivalently, H(X|Y)=𝔼Y[H(X|Y=y)]H(X|Y)=\mathbb{E}_{Y}[H(X|Y=y)].

Rather than its definition itself, entropy has been used in many combinatorial problems because of its highly useful properties. We summarize basic properties of entropy that we need below.

Proposition 2.3.

Let X,Y,X1,,XnX,Y,X_{1},\dots,X_{n} be discrete random variables. Then the following properties hold.

  1. \bullet

    [Maximality of the uniform] We have 0H(X)log|𝒳|0\leq H(X)\leq\log|\mathcal{X}|, and the equality holds if and only if XX is a uniform random variable on 𝒳\mathcal{X}.

  2. \bullet

    [Monotonicity] If Y=f(X)Y=f(X) for some function ff, then H(Y)H(X)H(Y)\leq H(X).

  3. \bullet

    [Chain rule] H[(X1,,Xn)]=i[n]H(Xi|X1,,Xi1)H[(X_{1},\dots,X_{n})]=\sum_{i\in[n]}H(X_{i}|X_{1},\dots,X_{i-1}).

For more properties on information entropy and its applications in combinatorics, we refer the readers to a survey of Galvin [11].

2.3 Factorial estimates

As we discussed in Section 1.2, our proof uses the Brégman–Minc inequality and the Kahn–Lovász theorem as black-box theorems. Both of them contain many factorials in the statements, and we approximate them with a polynomial to connect those quantities to the number of certain digraphs. To achieve this, we collect upper and lower bounds of factorials via Stirling’s approximation. Below is Stirling’s approximation.

Proposition 2.4 (Stirling’s approximation).

For a positive integer nn, we have

2πn(ne)nn!2πn(ne)ne112n.\sqrt{2\pi n}\left(\frac{n}{e}\right)^{n}\leq n!\leq\sqrt{2\pi n}\left(\frac{n}{e}\right)^{n}e^{\frac{1}{12n}}. (2.2)

As a consequence of the above inequality, we obtain the following useful inequality.

Proposition 2.5.

For every real number ε>0\varepsilon>0, there exists C=C(ε)>0C=C(\varepsilon)>0 such that the following holds. For every positive integer nn, we have

ne(n!)1n(1+ε)n+Ce.\frac{n}{e}\leq(n!)^{\frac{1}{n}}\leq(1+\varepsilon)\frac{n+C}{e}.
Proof of Proposition 2.5.

The lower bound directly comes from (2.2). Since the function f(n)=(2πne112n)1/nf(n)=\left(\sqrt{2\pi n}\cdot e^{\frac{1}{12n}}\right)^{1/n} is decreasing and tends to 11 as nn goes to infinity, there exists a natural number kε>0k_{\varepsilon}>0 such that for all integers n>kεn>k_{\varepsilon} satisfies f(n)1+εf(n)\leq 1+\varepsilon. Hence, for this regime, we have the desired inequality by (2.2). We now assume nkεn\leq k_{\varepsilon}. Then we have (n!)1/n(nn)1/n=nkε(n!)^{1/n}\leq(n^{n})^{1/n}=n\leq k_{\varepsilon}. Thus, by choosing the constant CC as ekεe\cdot k_{\varepsilon}, we obtain the desired inequality. This completes the proof. ∎

3 Sharpness constructions

In this section, we prove the lower bounds of Corollary 1.6 and Theorem 1.7. We also discuss lower bounds for general FF-factor cases for connected graphs FF.

We note that for every graph FF, the number of FF copies in K|V(F)|K_{|V(F)|} is |V(F)|!|Aut(F)|\frac{|V(F)|!}{|\mathrm{Aut}(F)|}. Therefore, for an integer c1c\geq 1, we have

Nfactor(F,Kc|V(F)|)=(c|V(F)|)!c!(|V(F)|!)c(|V(F)|!|Aut(F)|)c=(c|V(F)|)!c!|Aut(F)|cN_{\mathrm{factor}}(F;K_{c|V(F)|})=\frac{(c|V(F)|)!}{c!\cdot(|V(F)|!)^{c}}\cdot\left(\frac{|V(F)|!}{|\mathrm{Aut}(F)|}\right)^{c}=\frac{(c|V(F)|)!}{c!\cdot|\mathrm{Aut}(F)|^{c}} (3.1)

Let nn be a positive integer divisible by c|V(F)|c|V(F)| and let GG be an nn-vertex graph which is nc|V(F)|Kc|V(F)|\frac{n}{c|V(F)|}\cdot K_{c|V(F)|}. Then |E(G)|=(c|V(F)|1)n/2=:m|E(G)|=(c|V(F)|-1)n/2=:m. By (3.1), we have

Nfactor(F,G)=((c|V(F)|)!c!|Aut(F)|c)nc|V(F)|(1|Aut(F)|)n|V(F)|((c|V(F)|)!c!)nc|V(F)|.N_{\mathrm{factor}}(F;G)=\left(\frac{(c|V(F)|)!}{c!\cdot|\mathrm{Aut}(F)|^{c}}\right)^{\frac{n}{c|V(F)|}}\geq\left(\frac{1}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{(c|V(F)|)!}{c!}\right)^{\frac{n}{c|V(F)|}}.

Thus, for large enough c>0c>0, Proposition 2.5 implies that

Nfactor(F,G)((1ε)(|V(F)||Aut(F)|))n|V(F)|(c|V(F)|e)(11|V(F)|)n.N_{\mathrm{factor}}(F;G)\geq\left((1-\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{c|V(F)|}{e}\right)^{\left(1-\frac{1}{|V(F)|}\right)n}.

Since 2m/n=c|V(F)|1c|V(F)|2m/n=c|V(F)|-1\leq c|V(F)|, we summarize as follows.

Proposition 3.1.

For a given real number ε>0\varepsilon>0, there are infinitely many pairs of (n,m)(n,m) such that

NF(n,m)[(1ε)(|V(F)||Aut(F)|)1|V(F)|12men](11|V(F)|)n.N_{F}(n,m)\geq\left[(1-\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{1}{|V(F)|-1}}\frac{2m}{en}\right]^{\left(1-\frac{1}{|V(F)|}\right)n}. (3.2)
Remark 3.2.

By the monotonicity of NF(n,m)N_{F}(n,m) with respect to mm and a slight modification of the aforementioned construction, (3.2) holds for Ω(n)mo(n2)\Omega(n)\leq m\leq o(n^{2}). We omit the proof.

Note that, since Corollary 1.6 is a direct consequence of Theorem 1.4 and Proposition 3.1 shows that Corollary 1.6 is asymptotically sharp, Theorem 1.4 is asymptotically sharp as well.

We now provide another construction for the number of FF-factors, which is better than (3.2) for some non-Hamiltonian graphs FF. The basic idea is to consider an optimal proper coloring of FF. Let χ(F)=r\chi(F)=r and a1,,ara_{1},\dots,a_{r} be the size of each color class of FF, respectively. For an integer c>0c>0, let HKca1,,carH\coloneqq K_{ca_{1},\dots,ca_{r}} be the complete rr-partite. Then we take nc|V(F)|H\frac{n}{c|V(F)|}\cdot H as a host graph. Then this construction gives a better bound than (3.2) for some cases, including highly unbalanced bipartite graphs. For simplicity, we only demonstrate the case of unbalanced bipartite graphs.

Let FF be a connected bipartite graph on the bipartition sizes aa and bb where aba\neq b. Observe that the number of FF copies in Ka,bK_{a,b} is a!b!|Aut(F)|\frac{a!b!}{|\mathrm{Aut}(F)|} since aba\neq b. Thus, for an integer c1c\geq 1, we have

Nfactor(F,Kca,cb)=(ca)!(cb)!c!(a!b!)c(a!b!|Aut(F)|)c=(ca)!(cb)!c!|Aut(F)|c.N_{\mathrm{factor}}(F;K_{ca,cb})=\frac{(ca)!(cb)!}{c!\cdot(a!b!)^{c}}\cdot\left(\frac{a!b!}{|\mathrm{Aut}(F)|}\right)^{c}=\frac{(ca)!(cb)!}{c!\cdot|\mathrm{Aut}(F)|^{c}}. (3.3)

Let nn be a positive integer divisible by c(a+b)c(a+b) and let GG be an nn-vertex graph which is nc(a+b)Kca,cb\frac{n}{c(a+b)}\cdot K_{ca,cb}. Then |E(G)|=caba+bn=:m|E(G)|=\frac{cab}{a+b}n=:m. Without loss of generality, assume a<ba<b and rb/a1r\coloneqq b/a-1. Then by (3.3), it holds that

Nfactor(F,G)=((ca)!(cb)!c!|Aut(F)|c)nc(a+b)(1|Aut(F)|)n|V(F)|((ca)!(cb)!c!)nc|V(F)|.N_{\mathrm{factor}}(F;G)=\left(\frac{(ca)!(cb)!}{c!\cdot|\mathrm{Aut}(F)|^{c}}\right)^{\frac{n}{c(a+b)}}\geq\left(\frac{1}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{(ca)!(cb)!}{c!}\right)^{\frac{n}{c|V(F)|}}.

For large enough cc, by Proposition 2.5, we have

Nfactor(F,G)\displaystyle N_{\mathrm{factor}}(F;G) (1|Aut(F)|)n|V(F)|((ca)!(cb)!c!)nc|V(F)|\displaystyle\geq\left(\frac{1}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{(ca)!(cb)!}{c!}\right)^{\frac{n}{c|V(F)|}}
((1ε)|Aut(F)|)n|V(F)|(aabb)n|V(F)|(ce)(11|V(F)|)n\displaystyle\geq\left(\frac{(1-\varepsilon)}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(a^{a}b^{b}\right)^{\frac{n}{|V(F)|}}\left(\frac{c}{e}\right)^{\left(1-\frac{1}{|V(F)|}\right)n}
=((1ε)(|V(F)||Aut(F)|))n|V(F)|(2cabe(a+b))(11|V(F)|)n\displaystyle=\left((1-\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{2cab}{e(a+b)}\right)^{\left(1-\frac{1}{|V(F)|}\right)n}
(2|V(F)|+1(a+b)|V(F)|2aa|V(F)|+1bb|V(F)|+1)n|V(F)|\displaystyle\qquad\qquad\cdot\left(2^{-|V(F)|+1}\cdot(a+b)^{|V(F)|-2}\cdot a^{a-|V(F)|+1}\cdot b^{b-|V(F)|+1}\right)^{\frac{n}{|V(F)|}}
=((1ε)(|V(F)||Aut(F)|))n|V(F)|(2cabe(a+b))(11|V(F)|)n\displaystyle=\left((1-\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)\right)^{\frac{n}{|V(F)|}}\cdot\left(\frac{2cab}{e(a+b)}\right)^{\left(1-\frac{1}{|V(F)|}\right)n}
(2(2+r)a+1(2+r)(2+r)a2(1+r)a+1)n|V(F)|\displaystyle\qquad\qquad\cdot\left(2^{-(2+r)a+1}\cdot(2+r)^{(2+r)a-2}\cdot(1+r)^{-a+1}\right)^{\frac{n}{|V(F)|}}

Observe that for all large enough aa and sufficiently large rr compared with aa, we have

2(2+r)a+1(2+r)(2+r)a2(1+r)a+1>1.2^{-(2+r)a+1}\cdot(2+r)^{(2+r)a-2}\cdot(1+r)^{-a+1}>1.

Since 2m/n=2caba+b2m/n=\frac{2cab}{a+b}, we summarize as follows.

Proposition 3.3.

There exist universal constants a0a_{0} and r0r_{0} with the following property. Let FF be a connected bipartite graph with bipartition sizes aa and bb, where aa0a\geq a_{0} and br0ab\geq r_{0}a. Then there exists a constant cF>1c_{F}>1, depending only on FF, such that for every ε>0\varepsilon>0, there are infinitely many pairs (n,m)(n,m) satisfying

NF(n,m)cFn[(1ε)(|V(F)||Aut(F)|)1|V(F)|12men](11|V(F)|)n.N_{F}(n,m)\geq c_{F}^{n}\cdot\left[(1-\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{1}{|V(F)|-1}}\frac{2m}{en}\right]^{\left(1-\frac{1}{|V(F)|}\right)n}.

4 Kahn–Lovász theorem for 𝑭F-factors

The purpose of this section is to prove generalizations of the Kahn–Lovász theorem to Hamiltonian graphs (Theorem 1.4) and to general connected graphs (Theorem 4.9). To this end, we begin with the following reduction lemma, which allows us to reduce to the cases of cycle factors and tree factors, respectively.

Lemma 4.1.

Let F,HF,H, and GG be graphs such that HH is a spanning subgraph of FF. Then we have

N(F,G)|Aut(H)||Aut(F)|N(H,G).N(F;G)\leq\frac{|\mathrm{Aut}(H)|}{|\mathrm{Aut}(F)|}\cdot N(H;G).
Proof of Lemma 4.1.

Denote ext(H,F)\mathrm{ext}(H;F) by the number of distinct ways to extend a given HH to FF.

Claim 4.2.

|Aut(H)|N(H,F)=|Aut(F)|ext(H,F)|\mathrm{Aut}(H)|\cdot N(H;F)=|\mathrm{Aut}(F)|\cdot\mathrm{ext}(H;F).

Let n=v(F)=v(H)n=v(F)=v(H). Consider the collection 𝒞\mathcal{C} of pairs (F,H)(F^{\prime},H^{\prime}) such that HFKnH^{\prime}\subseteq F^{\prime}\subseteq K_{n} such that FF^{\prime} and HH^{\prime} are isomorphic to FF and HH, respectively. Then the number of copies of FF in KnK_{n} is n!|Aut(F)|\frac{n!}{|\mathrm{Aut}(F)|}, and by the definition, each such copy contains exactly N(H,F)N(H;F) copies of HH. Hence, we have

|𝒞|=n!|Aut(F)|N(H,F).|\mathcal{C}|=\frac{n!}{|\mathrm{Aut}(F)|}N(H;F). (4.1)

On the other hand, the number of copies of HH in KnK_{n} is n!|Aut(H)|\frac{n!}{|\mathrm{Aut}(H)|}. Also, by its definition, the number of distinct ways to extend each of such HH copies is exactly ext(H,F)\mathrm{ext}(H;F). Thus we have

|𝒞|=n!|Aut(H)|ext(H,F).|\mathcal{C}|=\frac{n!}{|\mathrm{Aut}(H)|}\cdot\mathrm{ext}(H;F). (4.2)

From (4.1) and (4.2), we obtain the desired identity. ∎

Let \mathcal{F} and \mathcal{H} be the set of copies of FF and HH in GG, respectively. Observe that ||=N(F,G)|\mathcal{F}|=N(F;G) and ||=N(H,G)|\mathcal{H}|=N(H;G). We now consider an auxiliary bipartite graph MM on the bipartition \mathcal{F}\cup\mathcal{H} such that (F,H)E(M)(F^{\prime},H^{\prime})\in E(M) if and only if HFH^{\prime}\subseteq F^{\prime}. Then for each HH^{\prime}\in\mathcal{H}, the degree of HH^{\prime} in MM is at most ext(H,F)\mathrm{ext}(H;F), but for all FF^{\prime}\in\mathcal{F}, its degree in MM is N(H,F)N(H;F). This implies e(M)=FN(H,F)Hext(H,F).e(M)=\sum_{F^{\prime}\in\mathcal{F}}N(H;F)\leq\sum_{H^{\prime}\in\mathcal{H}}\mathrm{ext}(H;F). Hence, we deduce that

N(F,G)ext(H,F)N(H,F)N(H,G).N(F;G)\leq\frac{\mathrm{ext}(H;F)}{N(H;F)}\cdot N(H;G). (4.3)

From Claim 4.2, we have the identity ext(H,F)/N(H,F)=|Aut(H)|/|Aut(F)|.\mathrm{ext}(H;F)/N(H;F)=|\mathrm{Aut}(H)|/|\mathrm{Aut}(F)|. Together with (4.3), we obtain

N(F,G)|Aut(H)||Aut(F)|N(H,G).N(F;G)\leq\frac{|\mathrm{Aut}(H)|}{|\mathrm{Aut}(F)|}\cdot N(H;G).

This completes the proof.

4.1 Proof of Theorem 1.4

We prove Theorem 1.4 first. Together with Lemma 4.1, it suffices to show the cycle factor case. For later purposes, we state it not in terms of Nfactor(C,G)N_{\mathrm{factor}}(C_{\ell};G) but in terms of the number of embeddings.

Theorem 4.3.

For all integer 2\ell\geq 2 and real number ε>0\varepsilon>0, there exists a constant C=C(,ε)>0C=C(\ell,\varepsilon)>0 such that

|Emb(nC,G)|(n)!((1+ε))n(vV(G)dG(v)+Ce)11\bigg|\mathrm{Emb}\left(\frac{n}{\ell}\cdot C_{\ell};G\right)\bigg|\leq\left(\frac{n}{\ell}\right)!\cdot\left((1+\varepsilon)\ell\right)^{\frac{n}{\ell}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{\ell}}

holds for all nn-vertex graph GG where nn is divisible by \ell.

We note that C2C_{2} is an edge. Keeping Theorem 4.3 in mind, the proof of Theorem 1.4 follows.

Proof of Theorem 1.4.

Let v(F)=2v(F)=\ell\geq 2 and v(G)=nv(G)=n. If nn is not divisible by \ell, then obviously Nfactor(F,G)=0N_{\mathrm{factor}}(F;G)=0. Hence, we may assume that nn is divisible by \ell and let mnm\coloneqq\frac{n}{\ell}. Since FF is Hamiltonian, it contains CC_{\ell} as a subgraph. Then by Theorem 4.3, for a given ε>0\varepsilon>0, there exists a constant CC that depends only on ε\varepsilon and \ell such that

|Emb(mC,G)|m!((1+ε))n(vV(G)dG(v)+Ce)11.|\mathrm{Emb}\left(m\cdot C_{\ell};G\right)|\leq m!\cdot\left((1+\varepsilon)\ell\right)^{\frac{n}{\ell}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{\ell}}. (4.4)

We note that (2.1) implies N(mC,G)=|Emb(mC,G)|/|Aut(mC)|N(m\cdot C_{\ell};G)=|\mathrm{Emb}(m\cdot C_{\ell};G)|/|\mathrm{Aut}(m\cdot C_{\ell})|, so by Lemma 4.1, we have

Nfactor(F,G)=N(mF,G)|Emb(mC,G)||Aut(mF)|=1m!(1|Aut(F)|)n|Emb(mC,G)|.N_{\mathrm{factor}}(F;G)=N(m\cdot F;G)\leq\frac{|\mathrm{Emb}(m\cdot C_{\ell};G)|}{|\mathrm{Aut}(m\cdot F)|}=\frac{1}{m!}\cdot\left(\frac{1}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{\ell}}\cdot|\mathrm{Emb}(m\cdot C_{\ell};G)|. (4.5)

By combining (4.4) and (4.5), we obtain

Nfactor(F,G)((1+ε)|Aut(F)|)n(vV(G)dG(v)+Ce)11.N_{\mathrm{factor}}(F;G)\leq\left((1+\varepsilon)\frac{\ell}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{\ell}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{\ell}}.

This completes the proof. ∎

To prove Theorem 4.3, we consider pairs of partitions and digraphs as described in Section 1.2. For an integer 2\ell\geq 2, let C\overrightarrow{C_{\ell}} denote the labelled oriented cycle of length \ell on the vertex set \mathbb{Z}_{\ell} whose arcs are in the form of i(i+1)i\to(i+1). Note that C2\overrightarrow{C_{2}} is a (2)(\mathbb{Z}_{2})-labelled digon.

Lemma 4.4.

Let n,2n,\ell\geq 2 be integers where nn is divisible by \ell. Then for all real number ε>0\varepsilon>0 and C>0C^{\prime}>0, there exists C>0C>0 only depending on ε,\varepsilon,\ell, and CC^{\prime} such that for all nn-vertex graph GG, it holds that

𝒫: -partitionvV(G)[dG+(v;(𝒫,C))+C](1+ε)nvV(G)(dG(v)+C).\sum_{\mathcal{P}:\text{ $\ell$-partition}}\prod_{v\in V(G)}\bigg[d^{+}_{G}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]\leq(1+\varepsilon)^{n}\prod_{v\in V(G)}(d_{G}(v)+C). (4.6)

Before proving Lemma 4.4, we establish the following weighted counting lemma for spanning subdigraphs of out-degree one.

Lemma 4.5.

Let ,C0\ell,C^{\prime}\geq 0 and ε>0\varepsilon>0 be real numbers. Then there exists C=C(,C,ε)>0C=C(\ell,C^{\prime},\varepsilon)>0 such that the following holds. Let HH be an nn-vertex digraph in which every vertex has at most CC^{\prime} directed loops, and let 𝒟\mathcal{D} be the set of spanning subdigraphs of HH in which every vertex has out-degree 11. Then we have

D𝒟|Comp(D)|(1+ε)nvV(H)(dH+(v)+C).\sum_{D\in\mathcal{D}}\ell^{|\mathrm{Comp}(D)|}\leq(1+\varepsilon)^{n}\prod_{v\in V(H)}(d^{+}_{H}(v)+C).
Proof of Lemma 4.5.

By monotonicity, we may assume that 2\ell\geq 2 and ε<1/2\varepsilon<1/2. We choose CC at the end of the proof. Observe that |𝒟|=vV(H)dH+(v)|\mathcal{D}|=\prod_{v\in V(H)}d^{+}_{H}(v) as 𝒟\mathcal{D} is the set of out-degree 11-regular spanning subgraphs of HH, and for each vV(H)v\in V(H), the number of ways to choose its unique out-neighbor is exactly dH+(v)d^{+}_{H}(v). Set Tlog((1+ε)n/2)T\coloneqq\log_{\ell}\left((1+\varepsilon)^{n}/2\right) and let 𝒟1{D𝒟:|Comp(D)|T}\mathcal{D}_{1}\coloneqq\{D\in\mathcal{D}:|\mathrm{Comp}(D)|\leq T\} and 𝒟2𝒟𝒟1\mathcal{D}_{2}\coloneqq\mathcal{D}\setminus\mathcal{D}_{1}. Then we have

D𝒟1|Comp(D)|T|𝒟1|12(1+ε)n|𝒟|12(1+ε)nvV(H)(dH+(v)+C).\sum_{D\in\mathcal{D}_{1}}\ell^{|\mathrm{Comp}(D)|}\leq\ell^{T}|\mathcal{D}_{1}|\leq\frac{1}{2}\cdot(1+\varepsilon)^{n}|\mathcal{D}|\leq\frac{1}{2}\cdot(1+\varepsilon)^{n}\prod_{v\in V(H)}(d^{+}_{H}(v)+C). (4.7)

We now consider 𝒟2\mathcal{D}_{2}. Obviously, we have

D𝒟2|Comp(D)|n|𝒟2|,\sum_{D\in\mathcal{D}_{2}}\ell^{|\mathrm{Comp}(D)|}\leq\ell^{n}|\mathcal{D}_{2}|, (4.8)

so it remains to bound the size of 𝒟2\mathcal{D}_{2}.

For every digraph D𝒟2D\in\mathcal{D}_{2}, at least |Comp(D)|/2T/2\lceil|\mathrm{Comp}(D)|/2\rceil\geq\lceil T/2\rceil components of DD have size at most 2n/T2n/T by Markov’s inequality. We enumerate the set Comp(D)={D1,,Dt}\mathrm{Comp}(D)=\{D_{1},\dots,D_{t}\} with |V(D1)||V(D2)||V(Dt)||V(D_{1})|\leq|V(D_{2})|\leq\cdots\leq|V(D_{t})|. We note that tTt\geq T and |V(Di)|2n/T|V(D_{i})|\leq 2n/T for all iT/2i\leq\lceil T/2\rceil. Also, since each component of DD is a connected out-degree-11 regular digraph, it contains a unique directed cycle as a subdigraph. Note that we also consider a loop to be a directed cycle. Hence, for each i[t]i\in[t], the digraph DiD_{i} contains a vertex viv_{i} that lies in a directed cycle. This means DiD_{i} remains connected even after removing the unique directed edge from viv_{i}. Denote R(D)V(D)R(D)\subseteq V(D) by the set {v1,,vT/2}\{v_{1},\dots,v_{\lceil T/2\rceil}\}.

Then it holds that

|𝒟2|R(V(H)T/2)|{D𝒟2:R(D)=R}|.|\mathcal{D}_{2}|\leq\sum_{R\in\binom{V(H)}{\lceil T/2\rceil}}|\{D\in\mathcal{D}_{2}:R(D)=R\}|. (4.9)

Denote 𝒟R\mathcal{D}_{R} by the set {D𝒟2:R(D)=R}\{D\in\mathcal{D}_{2}:R(D)=R\}. We now fix RV(H)R\subseteq V(H) of size T/2\lceil T/2\rceil. To bound the quantity |𝒟R||\mathcal{D}_{R}|, we first assign the unique out-neighbor of each vertex vV(H)Rv\in V(H)\setminus R. Let 𝒟R\mathcal{D}^{\prime}_{R} be the set of subdigraphs DD^{\prime} of HH such that dD+(v)=0d^{+}_{D^{\prime}}(v)=0 if vRv\in R and dD+(v)=1d^{+}_{D^{\prime}}(v)=1 otherwise. Since each vertex vV(H)Rv\in V(H)\setminus R has at most dH+(v)d_{H}^{+}(v) possible out-neighbors, we have

|𝒟R|vV(H)RdH+(v).|\mathcal{D}^{\prime}_{R}|\leq\prod_{v\in V(H)\setminus R}d^{+}_{H}(v). (4.10)

Let DD^{\prime} be an arbitrary member of 𝒟R\mathcal{D}^{\prime}_{R}. We claim that the number of distinct ways to extend DD^{\prime} to a member of 𝒟R\mathcal{D}_{R} is bounded. Observe that for every D𝒟RD\in\mathcal{D}_{R}, each vRv\in R has its unique neighbor in the connected component of DD containing vv, whose size is at most 2n/T2n/T. Thus, for each vRv\in R, there are at most 2n/T+C2n/T+C^{\prime} choices for the directed edge from vv when extending DD^{\prime} to a member of 𝒟R\mathcal{D}_{R}, since there are at most CC^{\prime} directed loops at vv. Hence, the number of distinct extensions of DD^{\prime} to a member of 𝒟R\mathcal{D}_{R} is at most (2n/T+C)T/2(2n/T+C^{\prime})^{\lceil T/2\rceil}. Together with (4.10), we obtain

|𝒟R|\displaystyle|\mathcal{D}_{R}| (2n/T+C)T/2|𝒟R|\displaystyle\leq(2n/T+C^{\prime})^{\lceil T/2\rceil}\cdot|\mathcal{D}^{\prime}_{R}|
(2n/T+C)T/2vV(H)RdH+(v)\displaystyle\leq(2n/T+C^{\prime})^{\lceil T/2\rceil}\cdot\prod_{v\in V(H)\setminus R}d^{+}_{H}(v)
rR2n/T+CdH+(r)+CvV(H)(dH+(v)+C)\displaystyle\leq\prod_{r\in R}\frac{2n/T+C^{\prime}}{d^{+}_{H}(r)+C}\cdot\prod_{v\in V(H)}(d^{+}_{H}(v)+C)
(2n/T+CC)T/2vV(H)(dH+(v)+C).\displaystyle\leq\left(\frac{2n/T+C^{\prime}}{C}\right)^{T/2}\cdot\prod_{v\in V(H)}(d^{+}_{H}(v)+C). (4.11)

Let α2log(1+ε)log>0\alpha\coloneqq\frac{2\log(1+\varepsilon)}{\log\ell}>0. By choosing CC large enough, we may assume that n2loglog(1+ε)n\geq\frac{2\log\ell}{\log(1+\varepsilon)}. Then we have

T=log((1+ε)n2)αn.T=\log_{\ell}\left(\frac{(1+\varepsilon)^{n}}{2}\right)\geq\alpha n.

Then by (4.8), (4.9), (4.11), it holds that

D𝒟2|Comp(D)|\displaystyle\sum_{D\in\mathcal{D}_{2}}\ell^{|\mathrm{Comp}(D)|} n|𝒟2|\displaystyle\leq\ell^{n}|\mathcal{D}_{2}|
nR(V(H)T/2)|𝒟R|\displaystyle\leq\ell^{n}\sum_{R\in\binom{V(H)}{\lceil T/2\rceil}}|\mathcal{D}_{R}|
n2n(2n/T+CC)T/2vV(H)(dH+(v)+C)\displaystyle\leq\ell^{n}\cdot 2^{n}\cdot\left(\frac{2n/T+C^{\prime}}{C}\right)^{T/2}\cdot\prod_{v\in V(H)}(d^{+}_{H}(v)+C)
[2(2α+CC)α/2]nvV(H)(dH+(v)+C).\displaystyle\leq\left[2\ell\cdot\left(\frac{2\alpha+C^{\prime}}{C}\right)^{\alpha/2}\right]^{n}\cdot\prod_{v\in V(H)}(d^{+}_{H}(v)+C). (4.12)

Since α\alpha is a positive constant that only depends on ,ε,C\ell,\varepsilon,C^{\prime}, there exists large enough constant C0>0C_{0}>0 such that [2(2α+CC)α/2]n12(1+ε)n\left[2\ell\cdot\left(\frac{2\alpha+C^{\prime}}{C}\right)^{\alpha/2}\right]^{n}\leq\frac{1}{2}\cdot(1+\varepsilon)^{n} holds. We now take C=C0C=C_{0}. Then by (4.12), we finally deduce that

D𝒟2|Comp(D)|12(1+ε)nvV(H)(dH+(v)+C).\sum_{D\in\mathcal{D}_{2}}\ell^{|\mathrm{Comp}(D)|}\leq\frac{1}{2}\cdot(1+\varepsilon)^{n}\cdot\prod_{v\in V(H)}(d^{+}_{H}(v)+C). (4.13)

By combining (4.7) and (4.13), we obtain the desired inequality. This completes the proof. ∎

We now prove Lemma 4.4.

Proof of Lemma 4.4.

We may assume that CC^{\prime} is a positive integer. Let G\overleftrightarrow{G^{\prime}} be a digraph obtained from GG by replacing each edge of GG by a digon and adding exactly CC^{\prime} directed loops to every vertex. Denote 𝒟\mathcal{D} the set of out-degree 11-regular spanning subdigraphs of G\overleftrightarrow{G^{\prime}}. For a digraph DD, we say a function f:V(D)f:V(D)\to\mathbb{Z}_{\ell} as cyclic labelling of DD if f(v)=f(u)+1f(v)=f(u)+1 whenever uvu\neq v and uvE(D)\overrightarrow{uv}\in E(D).

Claim 4.6.

Let DD be a digraph. Then the number of cyclic labellings of DD is at most |Comp(D)|\ell^{|\mathrm{Comp}(D)|}.

Let DD^{\prime} be one of the components of DD. It suffices to show that the number of cyclic labellings of DD^{\prime} is at most \ell. Choose an arbitrary vertex vV(D)v\in V(D^{\prime}). Let ff^{\prime} be a cyclic labelling of DD^{\prime} with f(v)=if^{\prime}(v)=i for some value ii\in\mathbb{Z}_{\ell}. Since the underlying graph of DD^{\prime} is connected, for all uV(D){v}u\in V(D^{\prime})\setminus\{v\}, there exists an oriented path PP from vv to uu in DD^{\prime}. Assume PP has xx and yy directed forward and directed backward to uu, respectively. Then by the definition of cyclic labelling, we have f(u)i+xy(mod)f^{\prime}(u)\equiv i+x-y\pmod{\ell}. Hence, ff^{\prime} is uniquely determined from the value of f(v)f^{\prime}(v). As the number of possible choices for f(v)f^{\prime}(v) is \ell, the number of cyclic labellings of DD^{\prime} is at most \ell. This completes the proof. ∎

We now show that a double-counting argument gives that the left-hand side of (4.6) is at most the sum, over all D𝒟D\in\mathcal{D}, of the number of cyclic labellings of DD. Together with Claim 4.6, we claim the following.

Claim 4.7.

(LHS) of (4.6)D𝒟|Comp(D)|\text{(LHS) of \eqref{eq:key-inequality}}\leq\sum_{D\in\mathcal{D}}\ell^{|\mathrm{Comp}(D)|}

Let 𝒬\mathcal{Q} be the set of pairs (D,𝒫)(D,\mathcal{P}) such that D𝒟D\in\mathcal{D} and 𝒫\mathcal{P} is an \ell-partition of V(G)V(G) where 𝒫=(V0,,V1)\mathcal{P}=(V_{0},\dots,V_{\ell-1}) that satisfies the following property. For every non-loop arc uv\overrightarrow{uv}, there exists ii\in\mathbb{Z}_{\ell} such that uViu\in V_{i} and vVi+1v\in V_{i+1}. For a fixed \ell-partition 𝒫\mathcal{P}, the value vV(G)[dG+(v,(𝒫,C))+C]\prod_{v\in V(G)}\bigg[d^{+}_{G}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg] is equal to the number of digraphs D𝒟D\in\mathcal{D} such that (D,𝒫)𝒬(D,\mathcal{P})\in\mathcal{Q}. Thus, the left-hand side of (4.6) equals |𝒬||\mathcal{Q}|. By double counting, it suffices to show that for each D𝒟D\in\mathcal{D}, the number of \ell-partitions 𝒫\mathcal{P} such that (D,𝒫)𝒬(D,\mathcal{P})\in\mathcal{Q} is at most |Comp(D)|\ell^{|\mathrm{Comp}(D)|} to conclude the proof. For a fixed D𝒟D\in\mathcal{D}, an \ell-partition 𝒫=(V0,,V1)\mathcal{P}=(V_{0},\dots,V_{\ell-1}) such that (D,𝒫)𝒬(D,\mathcal{P})\in\mathcal{Q} corresponds to a unique cyclic labelling ff of DD by defining f1(i):=Vif^{-1}(i):=V_{i} for each ii\in\mathbb{Z}_{\ell}. Thus, the number of such 𝒫\mathcal{P} is at most the number of cyclic labellings of DD, which is at most |Comp(D)|\ell^{|\mathrm{Comp}(D)|} given by Claim 4.6. This completes the proof. ∎

Since G\overleftrightarrow{G} is a digraph with the number of loops for each vertex being at most CC^{\prime}, by Lemma 4.5, there exists C>0C>0 that only depends on ,ε,C\ell,\varepsilon,C^{\prime} such that

D𝒟|Comp(D)|(1+ε)nvV(G)(dG(v)+C).\sum_{D\in\mathcal{D}}\ell^{|\mathrm{Comp}(D)|}\leq(1+\varepsilon)^{n}\prod_{v\in V(G)}(d_{G}(v)+C).

Together with Claim 4.7, we obtain the desired inequality. This completes the proof. ∎

We are now ready to prove Theorem 4.3. A key ingredient in the proof is Hölder’s inequality.

Proof of Theorem 4.3.

We fix parameters as

0<1C1Cεε,1<1.0<\frac{1}{C}\ll\frac{1}{C^{\prime}}\ll\varepsilon^{\prime}\ll\varepsilon,\frac{1}{\ell}<1.

Let mn/m\coloneqq n/\ell. To count the number of embeddings of CC_{\ell}-factors, namely mCm\cdot C_{\ell}, we fix an enumeration of cycles of length \ell in the graph mCm\cdot C_{\ell} as C(1),,C(m)C^{(1)}_{\ell},\dots,C^{(m)}_{\ell}. Assume that for each cycle of length \ell, the vertices are cyclically labelled with \mathbb{Z}_{\ell} and we denote c(v)c(v) as such label for each vV(mC)v\in V(m\cdot C_{\ell}). Then we define the labelling function ι:V(mC)×[m]\iota:V(m\cdot C_{\ell})\to\mathbb{Z}_{\ell}\times[m] such that ι(v)=(c(v),t)\iota(v)=(c(v),t) if vC(t)v\in C^{(t)}_{\ell}.

As we aim to bound the number of embeddings of a CC_{\ell}-factor, we first assign labels from \mathbb{Z}_{\ell} to all the vertices of GG. To this end, for an arbitrary \ell-equipartition 𝒫=(V0,,V1)\mathcal{P}=(V_{0},\dots,V_{\ell-1}) of V(G)V(G), let Emb𝒫(mC,G)\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G) the set of embeddings ϕEmb(mC,G)\phi\in\mathrm{Emb}(m\cdot C_{\ell};G) such that ϕ(v)Vi\phi(v)\in V_{i} if and only if (ι(v))1=i(\iota(v))_{1}=i for each vV(mC)v\in V(m\cdot C_{\ell}) and ii\in\mathbb{Z}_{\ell}. Then, we have

|Emb(mC;G)|=𝒫: -equipartition|Emb𝒫(mC;G)|.\lvert\mathrm{Emb}(m\cdot C_{\ell};G)\rvert=\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G)\rvert.

Recall that C\overrightarrow{C_{\ell}} denotes the directed cycle on the vertex set \mathbb{Z}_{\ell} with edges i(i+1)i\to(i+1) for all ii\in\mathbb{Z}_{\ell}.

Claim 4.8.

For a given \ell-equipartition 𝒫=(V0,,V1)\mathcal{P}=(V_{0},\dots,V_{\ell-1}) and each ii\in\mathbb{Z}_{\ell}, it holds that

|Emb𝒫(mC,G)|m!(1+εe)(1)mvV(G)Vi[dG+(v,(𝒫,C))+C].\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G)\rvert\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]. (4.14)

Fix an \ell-equipartition 𝒫=(V0,,V1)\mathcal{P}=(V_{0},\dots,V_{\ell-1}) and ii\in\mathbb{Z}_{\ell}. For each j{i}j\in\mathbb{Z}_{\ell}\setminus\{i\}, let MjM_{j} be the set of perfect matchings in the bipartite graph G[Vj,Vj+1]G[V_{j},V_{j+1}], which is a bipartite subgraph induced by VjV_{j} and Vj+1V_{j+1}. We observe that for each j{i}j\in\mathbb{Z}_{\ell}\setminus\{i\}, an arbitrary choice of ψjMj\psi_{j}\in M_{j}, the graph j{i}ψj\bigcup_{j\in\mathbb{Z}_{\ell}\setminus\{i\}}\psi_{j} forms a PP_{\ell}-factor of GG, here PP_{\ell} is a path of length 1\ell-1. Also, each image of ϕEmb𝒫(mC,G)\phi\in\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G) projected between VjV_{j} and Vj+1V_{j+1} is a perfect matching. Also, there is at most one way to extend such an PP_{\ell}-factor to a CC_{\ell}-factor, which is adding edges between the two endpoints of each path if it exists. By considering the orderings of each path in a PP_{\ell}-factor, we need to multiply m!m! since such a PP_{\ell}-factor consists of mm paths. Thus, we have

|Emb𝒫(mC,G)|m!j{i}|Mj|.\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G)\rvert\leq m!\cdot\prod_{j\in\mathbb{Z}_{\ell}\setminus\{i\}}|M_{j}|. (4.15)

Let HjG[Vj,Vj+1]H_{j}\coloneqq G[V_{j},V_{j+1}]. Then Brégman–Minc inequality (Theorem 1.1) implies that

|Mj|vVj(dHj(v)!)1dHj(v).|M_{j}|\leq\prod_{v\in V_{j}}\left(d_{H_{j}}(v)!\right)^{\frac{1}{d_{H_{j}}(v)}}.

Together with Proposition 2.5, we have

|Mj|(1+εe)mvVj(dHj(v)+C).|M_{j}|\leq\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{m}\cdot\prod_{v\in V_{j}}\left(d_{H_{j}}(v)+C^{\prime}\right). (4.16)

Observe that for each jij\neq i and vVjv\in V_{j}, the equality dHj(v)=dG+(v,(𝒫,C))d_{H_{j}}(v)=d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right) holds. Hence, from (4.16), we have

|Mj|(1+εe)mvVj[dG+(v,(𝒫,C))+C].|M_{j}|\leq\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{m}\cdot\prod_{v\in V_{j}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg].

This, together with (4.15), yields the desired inequality. This completes the proof. ∎

By applying (4.14) for all ii\in\mathbb{Z}_{\ell} and taking a geometric mean, we have

|Emb𝒫(mC,G)|\displaystyle\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G)\rvert m!(1+εe)(1)m[ivV(G)Vi[dG+(v,(𝒫,C))+C]]1/\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\bigg[\prod_{i\in\mathbb{Z}_{\ell}}\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]\bigg]^{1/\ell}
=m!(1+εe)(1)mvV(G)[dG+(v,(𝒫,C))+C](1)/\displaystyle=m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]^{(\ell-1)/\ell}

The last equality holds since for each vV(G)v\in V(G), the term [dG+(v,(𝒫,C))+C]\big[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\big] appears exactly (1)(\ell-1) times in the right-hand side of the first inequality. Then by Hölder’s inequality, we have

|Emb(mC,G)|\displaystyle\lvert\mathrm{Emb}(m\cdot C_{\ell};G)\rvert =𝒫: -equipartition|Emb𝒫(mC;G)|\displaystyle=\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot C_{\ell};G)\rvert
m!(1+εe)(1)m𝒫: -equipartitionvV(G)[dG+(v;(𝒫,C))+C](1)/\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]^{(\ell-1)/\ell}
m!(1+εe)(1)m(𝒫: -equipartition1)1/\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\left(\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}1^{\ell}\right)^{1/\ell}
[𝒫: -equipartitionvV(G)[dG+(v;(𝒫,C))+C]](1)/.\displaystyle\qquad\qquad\cdot\bigg[\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]\bigg]^{(\ell-1)/\ell}. (4.17)

We note that the number of \ell-equipartitions of a set of size nn is at most n\ell^{n}. Thus,

(𝒫: -equipartition1)1/n/.\left(\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}1^{\ell}\right)^{1/\ell}\leq\ell^{n/\ell}. (4.18)

Also, by Lemma 4.4, we have

𝒫: -equipartitionvV(G)[dG+(v;(𝒫,C))+C](1+ε)nvV(G)(dG(v)+C).\sum_{\mathcal{P}:\text{ $\ell$-equipartition}}\prod_{v\in V(G)}\bigg[d^{+}_{G}\left(v;\left(\mathcal{P},\overrightarrow{C_{\ell}}\right)\right)+C^{\prime}\bigg]\leq(1+\varepsilon^{\prime})^{n}\prod_{v\in V(G)}(d_{G}(v)+C). (4.19)

By combining (4.17), (4.18), and (4.19), we obtain

|Emb(mC,G)|\displaystyle\lvert\mathrm{Emb}(m\cdot C_{\ell};G)\rvert m!(1+εe)(1)mn/(1+ε)(1)m(vV(G)(dG(v)+C))11\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(\ell-1)m}\cdot\ell^{n/\ell}\cdot(1+\varepsilon^{\prime})^{(\ell-1)m}\cdot\left(\prod_{v\in V(G)}(d_{G}(v)+C)\right)^{1-\frac{1}{\ell}}
(n)!((1+ε))n(vV(G)dG(v)+Ce)11.\displaystyle\leq\left(\frac{n}{\ell}\right)!\cdot\left((1+\varepsilon)\ell\right)^{\frac{n}{\ell}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{\ell}}.

This completes the proof. ∎

4.2 General connected graphs

The purpose of this section is to establish a Kahn–Lovász-type theorem for general connected graphs FF, stated below.

Theorem 4.9.

Let FF be a connected graph with a spanning tree whose bipartition classes have sizes aa and bb. Then for every ε>0\varepsilon>0, there exists a constant C=C(a+b,ε)>0C=C(a+b,\varepsilon)>0 such that the following holds. For all nn-vertex graph GG, we have

Nfactor(F,G)((1+ε)|V(F)||Aut(F)|)n|V(F)|(aabb)|V(F)|1|V(F)|2n(vV(G)dG(v)+Ce)11|V(F)|.N_{\mathrm{factor}}(F;G)\leq\left((1+\varepsilon)\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(a^{a}b^{b}\right)^{\frac{|V(F)|-1}{|V(F)|^{2}}n}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{|V(F)|}}.

Since every connected graph contains a spanning tree, the following theorem implies Theorem 1.4.

Theorem 4.10.

For every tree TT whose bipartition classes have sizes aa and bb, and every real number ε>0\varepsilon>0, there exists a constant C=C(a+b,ε)>0C=C(a+b,\varepsilon)>0 such that

|Emb(na+bT,G)|(na+b)!((1+ε)(a+b))na+b(aabb)(a+b1)(a+b)2n(vV(G)dG(v)+Ce)11a+b\bigg|\mathrm{Emb}\left(\frac{n}{a+b}\cdot T;G\right)\bigg|\leq\left(\frac{n}{a+b}\right)!\cdot((1+\varepsilon)(a+b))^{\frac{n}{a+b}}\cdot\left(a^{a}b^{b}\right)^{\frac{(a+b-1)}{(a+b)^{2}}n}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{a+b}}

holds for all nn-vertex graph GG where nn is divisible by a+ba+b.

Theorem 4.9 follows from Theorem 4.10 and Lemma 4.1 exactly as Theorem 1.4 follows from Theorem 4.3; we omit the details. The proof of Theorem 4.10 follows the same strategy as that of Theorem 4.3, with suitable modifications. We start with the following lemma.

Lemma 4.11.

Let n,a,b1n,a,b\geq 1 be integers where nn is divisible by a+ba+b. Let TT be a labelled tree on the vertex set (a+b)\mathbb{Z}_{(a+b)}, whose unique bipartition has size aa and bb. Denote T\overleftrightarrow{T} by the digraph obtained from TT by replacing every edge of TT with a digon. Then for all real number ε>0\varepsilon>0 and C>0C^{\prime}>0, there exists C>0C>0 only depending on ε,a+b\varepsilon,a+b, and CC^{\prime} such that for all nn-vertex graph GG, it holds that

𝒫: (a+b)-equipartitionvV(G)[dG+(v;(𝒫,T))+C]((1+ε)aaa+bbba+b)nvV(G)(dG(v)+C).\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}\prod_{v\in V(G)}\bigg[d^{+}_{G}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]\leq\left((1+\varepsilon)a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}\cdot\prod_{v\in V(G)}(d_{G}(v)+C). (4.20)
Proof of Lemma 4.11.

Since TT is a bipartite graph, we may assume that its bipartition is ({0,,a1},{a,,a+b1})(\{0,\dots,a-1\},\{a,\dots,a+b-1\}). For a given (a+b)(a+b)-equipartition 𝒫=(V0,,Va+b1)\mathcal{P}=(V_{0},\dots,V_{a+b-1}), We denote by B(𝒫)B(\mathcal{P}) the 22-partition (U0,U1)(U_{0},U_{1}) such that U0=0ia1ViU_{0}=\bigcup_{0\leq i\leq a-1}V_{i} and U1=V(G)U0U_{1}=V(G)\setminus U_{0}. We observe that by its definition, we have

dG+(v,(𝒫,T))dG+(v,(B(𝒫),C2))d^{+}_{G}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)\leq d^{+}_{G}\left(v;\left(B(\mathcal{P}),\overrightarrow{C_{2}}\right)\right) (4.21)

for all (a+b)(a+b)-partitions 𝒫\mathcal{P} and vertices vV(G)v\in V(G).

Claim 4.12.

For each 22-partition 𝒬\mathcal{Q}, the number of tt-equipartitions 𝒫\mathcal{P} with 𝒬=B(𝒫)\mathcal{Q}=B(\mathcal{P}) is at most

(aaa+bbba+b)n.\left(a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}.

Let 𝒬=(U0,U1)\mathcal{Q}=(U_{0},U_{1}). If |U0|an/(a+b)|U_{0}|\neq an/(a+b), then there is no (a+b)(a+b)-equipartition 𝒫\mathcal{P} with 𝒬=B(𝒫)\mathcal{Q}=B(\mathcal{P}). Thus, we may assume that |U0|=an/(a+b)|U_{0}|=an/(a+b) and |U1|=bn/(a+b)|U_{1}|=bn/(a+b). Then the number of such (a+b)(a+b)-equipartitions is bounded by the product of the number of aa-equipartitions of U0U_{0} and bb-equipartitions of U1U_{1}, which is at most

(aaa+bbba+b)n.\left(a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}.

This completes the proof. ∎

By (4.21) and Claim 4.12, we have

(LHS) of (4.20) (aaa+bbba+b)n𝒬: 2-partitionvV(G)[dG+(v;(𝒬,C2))+C]\displaystyle\leq\left(a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}\cdot\sum_{\mathcal{Q}:\text{ $2$-partition}}\prod_{v\in V(G)}\bigg[d^{+}_{G}\left(v;\left(\mathcal{Q},\overrightarrow{C_{2}}\right)\right)+C^{\prime}\bigg]
((1+ε)aaa+bbba+b)nvV(G)(dG(v)+C),\displaystyle\leq\left((1+\varepsilon)a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}\cdot\prod_{v\in V(G)}(d_{G}(v)+C),

where the last inequality holds by Lemma 4.4. This completes the proof. ∎

We now prove Theorem 4.10.

Proof of Theorem 4.10.

We fix parameters as

0<1C1Cεε,1a+b<1.0<\frac{1}{C}\ll\frac{1}{C^{\prime}}\ll\varepsilon^{\prime}\ll\varepsilon,\frac{1}{a+b}<1.

Let mn/(a+b)m\coloneqq n/(a+b). Similarly to the proof of Theorem 4.3, we fix an enumeration of trees TT in the graph mTm\cdot T as T(1),,T(m)T^{(1)},\dots,T^{(m)}. We now regard TT as a labelled tree on the vertex set t\mathbb{Z}_{t} and denote c(v)c(v) as such a label for each vV(mT)v\in V(m\cdot T). Define ι:V(mT)(a+b)×[m]\iota:V(m\cdot T)\to\mathbb{Z}_{(a+b)}\times[m] as ι(v)=(c(v),s)\iota(v)=(c(v),s) if vT(s)v\in T^{(s)}.

Similarly to the proof of Theorem 4.3, for a given (a+b)(a+b)-equipartition 𝒫=(V0,,Va+b1)\mathcal{P}=(V_{0},\dots,V_{a+b-1}), we define Emb𝒫(mT,G)\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G) by the set of embeddings ϕEmb(mT,G)\phi\in\mathrm{Emb}(m\cdot T;G) such that ϕ(v)Vi\phi(v)\in V_{i} if and only if (ι(v))1=i(\iota(v))_{1}=i for each vV(mT)v\in V(m\cdot T) and i(a+b)i\in\mathbb{Z}_{(a+b)}. Then we have

|Emb(mT;G)|=𝒫: (a+b)-equipartition|Emb𝒫(mT;G)|.\lvert\mathrm{Emb}(m\cdot T;G)\rvert=\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert.

We denote by T\overleftrightarrow{T} the directed graph obtained from TT by replacing every edge with a digon. For each i(a+b)i\in\mathbb{Z}_{(a+b)}, we write Ti\overrightarrow{T_{i}} as an oriented graph whose underlying graph is TT in which every edge is directed towards ii along the unique path to ii. We note that all the vertices of Ti\overrightarrow{T_{i}} except ii have out-degree one and ii has out-degree zero.

Claim 4.13.

For a given (a+b)(a+b)-equipartition 𝒫=(V0,,Va+b1)\mathcal{P}=(V_{0},\dots,V_{a+b-1}) and each i(a+b)i\in\mathbb{Z}_{(a+b)}, it holds that

|Emb𝒫(mT,G)|m!(1+εe)(a+b1)mvV(G)Vi[dG+(v,(𝒫,Ti))+C].\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{T_{i}}\right)\right)+C^{\prime}\bigg]. (4.22)

For each j(a+b){i}j\in\mathbb{Z}_{(a+b)}\setminus\{i\}, denote jj^{\prime} by the unique out-neighbor of jj. Let HjH_{j} be the bipartite graph G[Vj,Vj]G[V_{j},V_{j^{\prime}}] and let MjM_{j} be the set of perfect matchings of HjH_{j}. We note that for each ϕEmb𝒫(mT,G)\phi\in\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G) and j(a+b){i}j\in\mathbb{Z}_{(a+b)}\setminus\{i\}, the projection of ϕ\phi on to HjH_{j} induces a perfect matching. Also, the union of perfect matchings chosen from MjM_{j} forms an image mTm\cdot T for some ϕEmb𝒫(mT,G)\phi\in\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G). Thus, we have

|Emb𝒫(mT,G)|m!j(a+b){i}|Mj|.\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert\leq m!\cdot\prod_{j\in\mathbb{Z}_{(a+b)}\setminus\{i\}}|M_{j}|. (4.23)

Similarly to the proof of Claim 4.8, Brégman–Minc inequality (Theorem 1.1) and Proposition 2.5 implies that

|Mj|(1+εe)mvVj(dHj(v)+C).|M_{j}|\leq\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{m}\cdot\prod_{v\in V_{j}}\left(d_{H_{j}}(v)+C^{\prime}\right). (4.24)

Since dHj(v)=dG+(v,(𝒫,Ti))d_{H_{j}}(v)=d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{T_{i}}\right)\right) for each j(a+b){i}j\in\mathbb{Z}_{(a+b)}\setminus\{i\} and vVjv\in V_{j}, the inequalities (4.23) and (4.24) implies that

|Emb𝒫(mT,G)|\displaystyle\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert m!j(a+b){i}|Mj|\displaystyle\leq m!\cdot\prod_{j\in\mathbb{Z}_{(a+b)}\setminus\{i\}}|M_{j}|
m!(1+εe)(a+b1)mvV(G)Vi[dG+(v,(𝒫,Ti))+C].\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{T_{i}}\right)\right)+C^{\prime}\bigg].

This completes the proof. ∎

Observe that for a given (a+b)(a+b)-equipartition 𝒫=(V0,,Va+b1)\mathcal{P}=(V_{0},\dots,V_{a+b-1}) and i(a+b)i\in\mathbb{Z}_{(a+b)}, it holds that

dG+(v,(𝒫,Ti))dG+(v,(𝒫,T))d_{G}^{+}\left(v;\left(\mathcal{P},\overrightarrow{T_{i}}\right)\right)\leq d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)

for all vV(G)Viv\in V(G)\setminus V_{i}. Thus, (4.22) implies that

|Emb𝒫(mT,G)|m!(1+εe)(a+b1)mvV(G)Vi[dG+(v,(𝒫,T))+C].\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]. (4.25)

By applying (4.25) for all i(a+b)i\in\mathbb{Z}_{(a+b)} and taking a geometric mean, we have

|Emb𝒫(mT,G)|\displaystyle\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert m!(1+εe)(a+b1)m[i(a+b)vV(G)Vi[dG+(v,(𝒫,T))+C]]1/(a+b)\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\bigg[\prod_{i\in\mathbb{Z}_{(a+b)}}\prod_{v\in V(G)\setminus V_{i}}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]\bigg]^{1/(a+b)}
=m!(1+εe)(a+b1)mvV(G)[dG+(v,(𝒫,T))+C](a+b1)/(a+b).\displaystyle=m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]^{(a+b-1)/(a+b)}.

The last equality holds since for each vV(G)v\in V(G), the term [dG+(v,(𝒫,T))+C]\big[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\big] appears exactly (a+b1)(a+b-1) times in the right-hand side of the first inequality. We now apply Hölder’s inequality similarly to the proof of Theorem 4.3. Together with Lemma 4.11, we have

|Emb(mT,G)|\displaystyle\lvert\mathrm{Emb}(m\cdot T;G)\rvert =𝒫: (a+b)-equipartition|Emb𝒫(mT;G)|\displaystyle=\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}\lvert\mathrm{Emb}_{\mathcal{P}}(m\cdot T;G)\rvert
m!(1+εe)(a+b1)m𝒫: (a+b)-equipartitionvV(G)[dG+(v;(𝒫,T))+C](a+b1)/(a+b)\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]^{(a+b-1)/(a+b)}
m!(1+εe)(a+b1)m(𝒫: (a+b)-equipartition1(a+b))1/(a+b)\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot\left(\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}1^{(a+b)}\right)^{1/(a+b)}
[𝒫: (a+b)-equipartitionvV(G)[dG+(v;(𝒫,T))+C]](a+b1)/(a+b)\displaystyle\qquad\cdot\bigg[\sum_{\mathcal{P}:\text{ $(a+b)$-equipartition}}\prod_{v\in V(G)}\bigg[d_{G}^{+}\left(v;\left(\mathcal{P},\overleftrightarrow{T}\right)\right)+C^{\prime}\bigg]\bigg]^{(a+b-1)/(a+b)} (4.26)
m!(1+εe)(a+b1)m(a+b)m\displaystyle\leq m!\cdot\left(\frac{1+\varepsilon^{\prime}}{e}\right)^{(a+b-1)m}\cdot(a+b)^{m}
(((1+ε)aaa+bbba+b)nvV(G)(dG(v)+C))(a+b1)/(a+b)\displaystyle\qquad\qquad\cdot\left(\left((1+\varepsilon^{\prime})a^{\frac{a}{a+b}}b^{\frac{b}{a+b}}\right)^{n}\cdot\prod_{v\in V(G)}(d_{G}(v)+C)\right)^{(a+b-1)/(a+b)} (4.27)
(na+b)!((1+ε)(a+b))na+b(aabb)(a+b1)(a+b)2n(vV(G)dG(v)+Ce)11a+b.\displaystyle\leq\left(\frac{n}{a+b}\right)!\cdot((1+\varepsilon)(a+b))^{\frac{n}{a+b}}\cdot\left(a^{a}b^{b}\right)^{\frac{(a+b-1)}{(a+b)^{2}}n}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{a+b}}.

The inequality (4.26) follows from Hölder’s inequality, while (4.27) follows from Lemma 4.11. This completes the proof.

5 Multigraph Kahn–Lovász theorem

In this section, we prove Theorem 1.7 by using a multigraph analogue of the Kahn–Lovász theorem, which is as follows. We regard two perfect matchings as distinct if they consist of different edge copies, even when they have the same underlying simple matching.

Theorem 5.1.

Let MM be an nn-vertex loopless multigraph without isolated vertices. For each vV(M)v\in V(M), let μvmax{μ(uv):uV(M)}\mu_{v}\coloneqq\max\{\mu(uv):u\in V(M)\} and let dvd_{v} be a real number satisfying dM(v)dvd_{M}(v)\leq d_{v}. Then we have

Nfactor(K2,M)exp(vV(M)2μvdv)vV(M)(dve)12.N_{\mathrm{factor}}(K_{2};M)\leq\exp\left(\sum_{v\in V(M)}\frac{2\mu_{v}}{\sqrt{d_{v}}}\right)\cdot\prod_{v\in V(M)}\left(\frac{d_{v}}{e}\right)^{\frac{1}{2}}.

We introduce dvd_{v} instead of working directly with dM(v)d_{M}(v) because the function xlogx2+2μxx\mapsto\frac{\log x}{2}+\frac{2\mu}{\sqrt{x}} is neither globally increasing nor concave. This lack of monotonicity and concavity makes it difficult to directly apply estimates involving dM(v)d_{M}(v) to the Kruskal–Katona-type problem.

We prove Theorem 5.1 using the entropy method, following the approach pioneered by Radhakrishnan [21] in his proof of Theorem 1.1. Our argument is also inspired by the work of Linial and Luria on counting Steiner triple systems and perfect matching decompositions of complete graphs [17], as well as Luria’s upper bound on the number of perfect matchings in regular hypergraphs [19].

Proof of Theorem 5.1.

Let Ψ\Psi denote the set of perfect matchings in MM. We plan to estimate the entropy of a perfect matching ψ\psi chosen uniformly at random from Ψ\Psi. For each vertex vV(M)v\in V(M), let ZvZ_{v} be the edge of ψ\psi that covers vv. Then by the monotonicity of entropy, we have

H(ψ)H(Zv:vV(M)).H(\psi)\leq H(Z_{v}:v\in V(M)).

Assign independently to each vertex vV(M)v\in V(M) a random label σ(v)\sigma(v) uniformly distributed on [0,1][0,1]. Almost surely, these labels are distinct and hence induce an ordering of V(M)V(M). Then, by the chain rule for entropy applied to H(Zv:vV(M))H(Z_{v}:v\in V(M)), we have

H(ψ)vV(M)H(Zv|Zvσ(v)>σ(v)).H(\psi)\leq\sum_{v\in V(M)}H(Z_{v}|Z_{v^{\prime}}\text{, $\sigma(v^{\prime})>\sigma(v)$}).

Taking expectations over σ\sigma gives,

H(ψ)\displaystyle H(\psi) 𝔼σ[vV(M)H(Zv|Zvσ(v)>σ(v))]\displaystyle\leq\mathbb{E}_{\sigma}\left[\sum_{v\in V(M)}H(Z_{v}|Z_{v^{\prime}}\text{, $\sigma(v^{\prime})>\sigma(v)$})\right]
=𝔼σ[vV(M)𝔼(Zvσ(v)>σ(v))[H(Zv|Zv=zvσ(v)>σ(v))]].\displaystyle=\mathbb{E}_{\sigma}\left[\sum_{v\in V(M)}\mathbb{E}_{(Z_{v^{\prime}}\text{, $\sigma(v^{\prime})>\sigma(v)$})}[H(Z_{v}|Z_{v^{\prime}}=z_{v^{\prime}}\text{, $\sigma(v^{\prime})>\sigma(v)$})]\right]. (5.1)

We now fix σ\sigma and vV(M)v\in V(M). We denote by NvN_{v} the number of possible edges to be ZvZ_{v} under the given previous choices. Then by the maximality of the uniform entropy and (5.1), we have

H(ψ)𝔼ψ[vV(M)𝔼σ[log(Nv)]].H(\psi)\leq\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\mathbb{E}_{\sigma}[\log(N_{v})]\right].

Assume an edge ee whose endpoints are uu and vv such that uvE(ψ)uv\in E(\psi) and σ(u)>σ(v)\sigma(u)>\sigma(v). Then, when we reach the time that exposes vv, we already know that Zv=eZ_{v}=e. Denote OvO_{v} by the event that σ(u)<σ(v)\sigma(u)<\sigma(v). We observe that since σ\sigma was chosen uniformly at random, if we restrict σ(v)\sigma(v) to a fixed value, then Pr[Ov]=σ(v)\Pr[O_{v}]=\sigma(v). Thus, we have

H(ψ)\displaystyle H(\psi) 𝔼ψ[vV(M)𝔼σ[log(Nv)]]\displaystyle\leq\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\mathbb{E}_{\sigma}[\log(N_{v})]\right]
=𝔼ψ[vV(M)𝔼σ(v)𝔼σ|σ(v)[Pr[Ov]log(Nv)]]\displaystyle=\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\mathbb{E}_{\sigma(v)}\mathbb{E}_{\sigma|\sigma(v)}[\Pr[O_{v}]\cdot\log(N_{v})]\right]
=𝔼ψ[vV(M)𝔼σ(v)[σ(v)𝔼σ|σ(v)[log(Nv)]]]\displaystyle=\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\mathbb{E}_{\sigma(v)}[\sigma(v)\cdot\mathbb{E}_{\sigma|\sigma(v)}[\log(N_{v})]]\right]
𝔼ψ[vV(M)𝔼σ(v)[σ(v)log(𝔼σ|σ(v)[Nv])]]\displaystyle\leq\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\mathbb{E}_{\sigma(v)}[\sigma(v)\cdot\log(\mathbb{E}_{\sigma|\sigma(v)}[N_{v}])]\right]
=𝔼ψ[vV(M)01σ(v)log(𝔼σ|σ(v)[Nv])𝑑σ(v)].\displaystyle=\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\int_{0}^{1}\sigma(v)\log\left(\mathbb{E}_{\sigma|\sigma(v)}[N_{v}]\right)d\sigma(v)\right]. (5.2)

The penultimate inequality holds by Jensen’s inequality.

Let eE(ψ)e\in E(\psi) be an edge that covers vv and let uu be the other endpoint of vv. Then every multiple edge of uvuv is counted in NvN_{v}. Let ee^{\prime} be an edge of MM whose endpoints are uu^{\prime} and vv, where uuu^{\prime}\neq u, and let u′′u^{\prime\prime} be the other endpoint of the edge ZuZ_{u^{\prime}}. Observe that ee^{\prime} is counted in NvN_{v} only if σ(u),σ(u′′)<σ(v)\sigma(u^{\prime}),\sigma(u^{\prime\prime})<\sigma(v). Thus, by linearity of expectation, it holds that

𝔼σ|σ(v)[Nv]=μ(uv)+(dM(v)μ(uv))σ(v)2μv+(dM(v)μv)σ(v)2.\mathbb{E}_{\sigma|\sigma(v)}[N_{v}]=\mu(uv)+(d_{M}(v)-\mu(uv))\cdot\sigma(v)^{2}\leq\mu_{v}+(d_{M}(v)-\mu_{v})\cdot\sigma(v)^{2}. (5.3)

By combining (5.2) and (5.3), we have

H(ψ)\displaystyle H(\psi) 𝔼ψ[vV(M)01σ(v)log(μv+(dM(v)μv)σ(v)2)𝑑σ(v)]\displaystyle\leq\mathbb{E}_{\psi}\left[\sum_{v\in V(M)}\int_{0}^{1}\sigma(v)\log\left(\mu_{v}+(d_{M}(v)-\mu_{v})\cdot\sigma(v)^{2}\right)d\sigma(v)\right]
=vV(M)01[xlog(μv+(dM(v)μv)x2)]𝑑x\displaystyle=\sum_{v\in V(M)}\int_{0}^{1}[x\log(\mu_{v}+(d_{M}(v)-\mu_{v})x^{2})]dx
vV(M)01[xlog(μv+dvx2)]𝑑x.\displaystyle\leq\sum_{v\in V(M)}\int_{0}^{1}[x\log(\mu_{v}+d_{v}x^{2})]dx. (5.4)

For a,b>0a,b>0, a direct calculation gives

01[xlog(a+bx2)]𝑑x=(a+b)log(a+b)alogab2b.\int_{0}^{1}[x\log(a+bx^{2})]dx=\frac{(a+b)\log(a+b)-a\log a-b}{2b}.

Thus, for each vV(M)v\in V(M), we have

01[xlog(μv+dvx2)]𝑑x\displaystyle\int_{0}^{1}[x\log(\mu_{v}+d_{v}x^{2})]dx =(dv+μv)log(dv+μv)μvlogμv2dv12\displaystyle=\frac{(d_{v}+\mu_{v})\log(d_{v}+\mu_{v})-\mu_{v}\log\mu_{v}}{2d_{v}}-\frac{1}{2}
12((1+μvdv)(logdv+log(1+μvdv))1)\displaystyle\leq\frac{1}{2}\cdot\left(\left(1+\frac{\mu_{v}}{d_{v}}\right)\left(\log d_{v}+\log\left(1+\frac{\mu_{v}}{d_{v}}\right)\right)-1\right)
12(logdv+μvdv+2μvdv1)\displaystyle\leq\frac{1}{2}\cdot\left(\log d_{v}+\frac{\mu_{v}}{\sqrt{d_{v}}}+\frac{2\mu_{v}}{d_{v}}-1\right)
12log(dve)+2μvdv.\displaystyle\leq\frac{1}{2}\cdot\log\left(\frac{d_{v}}{e}\right)+\frac{2\mu_{v}}{\sqrt{d_{v}}}. (5.5)

The penultimate inequality holds since logxx\log x\leq\sqrt{x} and log(1+x)x\log(1+x)\leq x for all x>0x>0.

Then by (5.4) and (5.5),

H(ψ)12log(vV(M)dve)+vV(M)2μvdv.H(\psi)\leq\frac{1}{2}\cdot\log\left(\prod_{v\in V(M)}\frac{d_{v}}{e}\right)+\sum_{v\in V(M)}\frac{2\mu_{v}}{\sqrt{d_{v}}}.

Since ψ\psi is chosen uniformly, we have log|Ψ|=H(ψ)\log|\Psi|=H(\psi). Thus,

Nfactor(K2,M)=|Ψ|exp(vV(M)2μvdv)vV(M)(dve)12.N_{\mathrm{factor}}(K_{2};M)=|\Psi|\leq\exp\left(\sum_{v\in V(M)}\frac{2\mu_{v}}{\sqrt{d_{v}}}\right)\cdot\prod_{v\in V(M)}\left(\frac{d_{v}}{e}\right)^{\frac{1}{2}}.

This completes the proof. ∎

As a direct corollary, we have the following.

Corollary 5.2.

For all μ1\mu\geq 1 and ε>0\varepsilon>0, there exists C=C(μ,ε)>0C=C(\mu,\varepsilon)>0 such that the following holds. Let MM be an nn-vertex mm-edge loopless multigraph where mCnm\geq Cn and μ(uv)μ\mu(uv)\leq\mu for all u,vV(M)u,v\in V(M). Then

Nfactor(K2,M)((1+ε)2men)n2.N_{\mathrm{factor}}(K_{2};M)\leq\left((1+\varepsilon)\frac{2m}{en}\right)^{\frac{n}{2}}.
Proof of Corollary 5.2.

We fix parameters as

0<1Cε1μ,ε1.0<\frac{1}{C}\ll\varepsilon^{\prime}\ll\frac{1}{\mu},\varepsilon\leq 1.

If MM has an isolated vertex, then trivially we obtain the desired inequality. Thus, we may assume that MM has no isolated vertices.

Let f:1f:\mathbb{R}_{\geq 1}\to\mathbb{R} be a function such that f(x)=logx12+2μxf(x)=\frac{\log x-1}{2}+\frac{2\mu}{\sqrt{x}}. Denote Ψ\Psi by the set of perfect matchings in MM. Then by Theorem 5.1 with dv=dM(v)+9μ2d_{v}=d_{M}(v)+9\mu^{2} for each vV(M)v\in V(M), we have

log|Ψ|12vV(M)(log(dM(v)+9μ2)1)+vV(M)2μdM(v)+9μ2=vV(M)f(dM(v)+9μ2).\log|\Psi|\leq\frac{1}{2}\cdot\sum_{v\in V(M)}(\log(d_{M}(v)+9\mu^{2})-1)+\sum_{v\in V(M)}\frac{2\mu}{\sqrt{d_{M}(v)+9\mu^{2}}}=\sum_{v\in V(M)}f(d_{M}(v)+9\mu^{2}). (5.6)

Since f′′(x)=3μx2x2xf^{\prime\prime}(x)=\frac{3\mu-\sqrt{x}}{2x^{2}\sqrt{x}}, the function ff is concave on the interval [9μ2,)[9\mu^{2},\infty). Since dM(v)1d_{M}(v)\geq 1 and vV(M)dM(v)=2m\sum_{v\in V(M)}d_{M}(v)=2m, the right-hand side of (5.6) is maximized when we replace dM(v)+9μ2d_{M}(v)+9\mu^{2} by 2m/n+9μ22m/n+9\mu^{2} by Jensen’s inequality. As 2m/n2C2m/n\geq 2C, which is sufficiently large, we have

log|Ψ|\displaystyle\log|\Psi| nf(2mn+9μ2)\displaystyle\leq n\cdot f\left(\frac{2m}{n}+9\mu^{2}\right)
n2log(2m/n+9μ2e)+2μn2m/n\displaystyle\leq\frac{n}{2}\log\left(\frac{2m/n+9\mu^{2}}{e}\right)+\frac{2\mu n}{\sqrt{2m/n}}
n2log((1+ε)2men)+εn\displaystyle\leq\frac{n}{2}\log\left((1+\varepsilon^{\prime})\frac{2m}{en}\right)+\varepsilon^{\prime}n
n2log((1+ε)2men).\displaystyle\leq\frac{n}{2}\log\left((1+\varepsilon)\frac{2m}{en}\right).

Thus, we obtain that |Ψ|((1+ε)2men)n/2.|\Psi|\leq\left((1+\varepsilon)\frac{2m}{en}\right)^{n/2}. This completes the proof. ∎

We are now ready to prove Theorem 1.7.

Proof of Theorem 1.7.

Let n,2n,\ell\geq 2 be integers such that nn is divisible by 22\ell. Let FF be a connected graph on 22\ell vertices that contains 2C2\cdot C_{\ell} as a spanning subgraph. Let WW_{\ell} be the graph obtained from two vertex-disjoint copies of CC_{\ell} by adding one edge joining the two cycles. Since FF is connected, WW_{\ell} is a spanning subgraph of FF. The case =2\ell=2 is almost identical. The only difference is that |Aut(W2)|=2|\mathrm{Aut}(W_{2})|=2 and |Aut(C2)|=2|\mathrm{Aut}(C_{2})|=2, whereas |Aut(W)|=8|\mathrm{Aut}(W_{\ell})|=8 and |Aut(C)|=2|\mathrm{Aut}(C_{\ell})|=2\ell for every 3\ell\geq 3. We therefore prove only the case 3\ell\geq 3.

We now fix parameters as follows.

0<1C1,ε1.0<\frac{1}{C}\ll\frac{1}{\ell},\varepsilon\leq 1.

Let GG be an nn-vertex graph on mm edges with mCnm\geq Cn. Let 𝒞\mathcal{C} and 𝒲\mathcal{W} be the set of CC_{\ell}-factors and WW_{\ell}-factors in GG, respectively. Since CC_{\ell} is obviously Hamiltonian and |Aut(C)|=2|\mathrm{Aut}(C_{\ell})|=2\ell, by Corollary 1.6, it holds that

|𝒞|((1+ε)21/(1)2men)(11)n.|\mathcal{C}|\leq\left(\frac{(1+\varepsilon)}{2^{1/(\ell-1)}}\cdot\frac{2m}{en}\right)^{\left(1-\frac{1}{\ell}\right)n}. (5.7)

We fix a CC_{\ell}-factor H𝒞H\in\mathcal{C} and enumerate each CC_{\ell} in HH as C(1),,C(n/)C_{\ell}^{(1)},\dots,C_{\ell}^{(n/\ell)}. We define an auxiliary multigraph MHM_{H} on the vertex set {C(1),,C(n/)}\{C_{\ell}^{(1)},\dots,C_{\ell}^{(n/\ell)}\} such that μ(C(i),C(j))\mu(C_{\ell}^{(i)},C_{\ell}^{(j)}) be the number of crossing edges between C(i)C_{\ell}^{(i)} and C(j)C_{\ell}^{(j)} for each distinct i,j[n/]i,j\in[n/\ell]. Then the number of perfect matchings in MHM_{H} is exactly the number of distinct ways to extend HH to a WW_{\ell}-factor. Also, for a given WW_{\ell}-factor, it is always obtained by this process by decomposing each WW_{\ell} in the WW_{\ell}-factor into 2C2\cdot C_{\ell} and an edge. Thus, we summarize as follows.

|𝒲|=H𝒞Nfactor(K2,MH).|\mathcal{W}|=\sum_{H\in\mathcal{C}}N_{\mathrm{factor}}(K_{2};M_{H}). (5.8)

By our construction of MHM_{H}, we observe that

m2m(2)n|E(MH)|m.\frac{m}{2}\leq m-\binom{\ell}{2}\cdot\frac{n}{\ell}\leq|E(M_{H})|\leq m.

Also, the multiplicity of each edge of MHM_{H} is bounded above by 2\ell^{2}. Therefore, by Corollary 5.2, we have

Nfactor(K2,MH)((1+ε)2men)n2,N_{\mathrm{factor}}(K_{2};M_{H})\leq\left((1+\varepsilon)\frac{2\ell m}{en}\right)^{\frac{n}{2\ell}}, (5.9)

for each H𝒞H\in\mathcal{C}. By combining (5.7), (5.8), and (5.9), we have

|𝒲|\displaystyle|\mathcal{W}| =H𝒞Nfactor(K2,MH)\displaystyle=\sum_{H\in\mathcal{C}}N_{\mathrm{factor}}(K_{2};M_{H})
|𝒞|((1+ε)2men)n2\displaystyle\leq|\mathcal{C}|\cdot\left((1+\varepsilon)\frac{2\ell m}{en}\right)^{\frac{n}{2\ell}}
((1+ε)21/(1)2men)(11)n((1+ε)2men)n2\displaystyle\leq\left(\frac{(1+\varepsilon)}{2^{1/(\ell-1)}}\cdot\frac{2m}{en}\right)^{\left(1-\frac{1}{\ell}\right)n}\cdot\left((1+\varepsilon)\frac{2\ell m}{en}\right)^{\frac{n}{2\ell}}
2nn2((1+ε)2men)(112)n.\displaystyle\leq 2^{-\frac{n}{\ell}}\cdot\ell^{\frac{n}{2\ell}}\cdot\left((1+\varepsilon)\frac{2m}{en}\right)^{\left(1-\frac{1}{2\ell}\right)n}.

Thus, by Lemma 4.1, we have

Nfactor(F,G)\displaystyle N_{\mathrm{factor}}(F;G) (|Aut(W)||Aut(F)|)n2|𝒲|\displaystyle\leq\left(\frac{|\mathrm{Aut}(W_{\ell})|}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{2\ell}}|\mathcal{W}|
|Aut(F)|n223n22nn2((1+ε)2men)(112)n\displaystyle\leq|\mathrm{Aut}(F)|^{-\frac{n}{2\ell}}\cdot 2^{\frac{3n}{2\ell}}\cdot 2^{-\frac{n}{\ell}}\cdot\ell^{\frac{n}{2\ell}}\cdot\left((1+\varepsilon)\frac{2m}{en}\right)^{\left(1-\frac{1}{2\ell}\right)n}
(2|Aut(F)|)n2((1+ε)2men)(112)n\displaystyle\leq\left(\frac{2\ell}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{2\ell}}\cdot\left((1+\varepsilon)\frac{2m}{en}\right)^{\left(1-\frac{1}{2\ell}\right)n}
=[(1+ε)(|V(F)||Aut(F)|)1|V(F)|12men](11|V(F)|)n.\displaystyle=\left[(1+\varepsilon)\left(\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{1}{|V(F)|-1}}\frac{2m}{en}\right]^{\left(1-\frac{1}{|V(F)|}\right)n}.

This completes the proof. ∎

6 Concluding Remarks

In this paper, we study the number Nfactor(F,G)N_{\mathrm{factor}}(F;G) for connected graphs FF. In particular, we establish an asymptotically sharp Kahn–Lovász-type inequality for every Hamiltonian graph FF. As a direct consequence, we also obtain asymptotically sharp Kruskal–Katona-type inequalities for FF-factors. On the other hand, as shown in Section 3, the behavior can be substantially different for certain connected non-Hamiltonian graphs FF. Although Theorem 4.9 provides a Kahn–Lovász-type inequality for every connected graph FF, there remains a considerable gap between the upper and lower bounds in general, both for the degree-sequence setting and for the corresponding Kruskal–Katona-type problem. This naturally leads to the following problem.

Problem 6.1.

Determine NF(n,m)N_{F}(n,m) up to a subexponential multiplicative factor for every connected graph FF.

We note that the asymptotically sharp lower-bound constructions for Theorem 1.4 and Corollary 1.6, which concern Hamiltonian graphs FF, are given by disjoint unions of cliques, as described in Section 3. We believe that the same phenomenon should hold more generally for every connected graph FF admitting a perfect fractional matching. We conclude the paper with the following conjecture.

Conjecture 6.2.

For every ε>0\varepsilon>0 and a connected graph FF admitting a perfect fractional matching, there exists a constant C=C(F,ε)>0C=C(F,\varepsilon)>0 such that the following holds. For all nn-vertex graph GG, we have

Nfactor(F,G)((1+ε)|V(F)||Aut(F)|)n|V(F)|(vV(G)dG(v)+Ce)11|V(F)|.N_{\mathrm{factor}}(F;G)\leq\left((1+\varepsilon)\frac{|V(F)|}{|\mathrm{Aut}(F)|}\right)^{\frac{n}{|V(F)|}}\cdot\left(\prod_{v\in V(G)}\frac{d_{G}(v)+C}{e}\right)^{1-\frac{1}{|V(F)|}}.

References

  • [1] N. Alon and S. Friedland (2008) The maximum number of perfect matchings in graphs with a given degree sequence. Electron. J. Combin. 15 (1), pp. Note 13, 2. Cited by: §1.
  • [2] N. Alon (1981) On the number of subgraphs of prescribed type of graphs with a given number of edges. Israel J. Math. 38 (1-2), pp. 116–130. Cited by: §1.
  • [3] N. Alon (1990) The maximum number of Hamiltonian paths in tournaments. Combinatorica 10 (4), pp. 319–324. External Links: ISSN 0209-9683, Document, Link, MathReview (Thomas H. Foregger) Cited by: §1.
  • [4] L. M. Brègman (1973) Certain properties of nonnegative matrices and their permanents. Dokl. Akad. Nauk SSSR 211, pp. 27–30. Cited by: §1.
  • [5] D. Chakraborti and D. Q. Chen (2021) Many cliques with few edges and bounded maximum degree. Journal of Combinatorial Theory, Series B 151, pp. 1–20. Cited by: §1.
  • [6] T. Chao and H. H. Yu (2024) Kruskal–katona-type problems via the entropy method. Journal of Combinatorial Theory, Series B 169, pp. 480–506. External Links: Document Cited by: §1.
  • [7] B. Cuckler and J. Kahn (2009) Entropy bounds for perfect matchings and Hamiltonian cycles. Combinatorica 29 (3), pp. 327–335. Cited by: §1.
  • [8] J. Cutler and A. J. Radcliffe (2011) An entropy proof of the Kahn-Lovász theorem. Electron. J. Combin. 18 (1), pp. Paper 10, 9. Cited by: §1.
  • [9] A. Ferber, E. Long, and B. Sudakov (2018) Counting Hamilton decompositions of oriented graphs. Int. Math. Res. Not. IMRN (22), pp. 6908–6933. External Links: ISSN 1073-7928,1687-0247, Document, Link, MathReview (Ioan Tomescu) Cited by: §1.
  • [10] S. Friedland (2008) An upper bound for the number of perfect matchings in graphs. Note: arXiv:0803.0864 Cited by: §1.
  • [11] D. Galvin (2014) Three tutorial lectures on entropy and counting. Note: arXiv:1406.7872 Cited by: §2.2.
  • [12] D. Gerbner, D. T. Nagy, B. Patkós, and M. Vizer (2021) On the maximum number of copies of HH in graphs with given size and order. Journal of Graph Theory 96 (1), pp. 34–43. Cited by: §1.
  • [13] R. Glebov, Z. Luria, and B. Sudakov (2017) The number of Hamiltonian decompositions of regular graphs. Israel J. Math. 222 (1), pp. 91–108. External Links: ISSN 0021-2172,1565-8511, Document, Link, MathReview (Brian Alspach) Cited by: §1.
  • [14] G. O. H. Katona (1968) A theorem of finite sets. In Theory of Graphs (Proc. Colloq., Tihany, 1966), pp. 187–207. Cited by: §1.
  • [15] R. Kirsch and A. J. Radcliffe (2021) Many cliques with few edges. The Electronic Journal of Combinatorics 28 (1), pp. Paper No. 1.26. Cited by: §1.
  • [16] J. B. Kruskal (1963) The number of simplices in a complex. In Mathematical optimization techniques, pp. 251–278. Cited by: §1.
  • [17] N. Linial and Z. Luria (2013) An upper bound on the number of Steiner triple systems. Random Structures Algorithms 43 (4), pp. 399–406. External Links: ISSN 1042-9832,1098-2418, Document, Link, MathReview (Yeh-Jong Pan) Cited by: §5.
  • [18] L. Lovász (1979) Combinatorial problems and exercises. North-Holland Publishing Co., Amsterdam-New York. Cited by: §1.
  • [19] Z. Luria (2017) New bounds on the number of n-queens configurations. Note: arXiv:1705.05225 Cited by: §5.
  • [20] H. Minc (1963) Upper bounds for permanents of (0,1)(0,1)-matrices. Bull. Amer. Math. Soc. 69, pp. 789–791. Cited by: §1.
  • [21] J. Radhakrishnan (1997) An entropy proof of Bregman’s theorem. J. Combin. Theory Ser. A 77 (1), pp. 161–164. External Links: ISSN 0097-3165,1096-0899, Document, Link, MathReview Entry Cited by: §2.2, §5.
  • [22] A. Schrijver (1983) Bounds on the number of Eulerian orientations. Combinatorica 3 (3-4), pp. 375–380. External Links: ISSN 0209-9683, Document, Link, MathReview (R. A. Brualdi) Cited by: §1.
  • [23] L. G. Valiant (1979) The complexity of computing the permanent. Theoret. Comput. Sci. 8 (2), pp. 189–201. External Links: ISSN 0304-3975,1879-2294, Document, Link, MathReview Entry Cited by: §1.