The statistical threshold for planted matchings and spanning trees Louigi Addario-Berry, Omer Angel, Gábor Lugosi, Miklós Z. Rácz, Tselil Schramm Abstract In this paper, we study the problem of detecting the presence of a planted perfect matching or spanning tree in an Erdős–Rényi random graph. More precisely, we study the hypothesis testing problem where the statistician observes a graph on n n vertices. Under the null hypothesis, the graph is a realization of an Erdős–Rényi random graph G ⁡ ( n , q ) G(n,q) , while under the alternative hypothesis, the graph is the union of an Erdős–Rényi random graph and a random perfect matching (or random spanning tree). In order to avoid trivial detection by counting edges, we adjust the alternative hypothesis so that the expected number of edges under both distributions coincides. We prove that in both problems, when q ≫ n − 1 / 2 q\gg n^{-1/2} , no test can perform better than random guessing, while for q ≪ n − 1 / 2 q\ll n^{-1/2} , there exist computationally efficient tests that guess correctly with high probability. 1 Introduction The planted subgraph problem is a fundamental problem in combinatorial statistics that has received increasing attention, mostly because it is relatively simple, yet it possesses a wealth of intriguing and complex phenomena. Roughly speaking, the planted subgraph problem asks whether one can detect or recover a hidden structured subgraph that has been embedded inside a large random graph. More precisely, let \mathbb{G}(n,p) denote the distribution of an Erdős–Rényi random graph with n vertices and edge probability p , and let \mathbb{H} be a distribution over graphs on n vertices with e_{H} edges, representing the planted (or hidden) subgraphs. Consider sampling an n -vertex graph at random by first sampling a graph from \mathbb{G}(n,p) , then sampling \mathbf{H}\sim\mathbb{H} , then adding a planted copy of \mathbf{H} . Let \mathbb{P} ( \mathbb{P} for “planted”) be the distribution on graphs induced by this sampling procedure. In the detection problem , one observes a graph that is either drawn from the planted distribution \mathbb{P} or from the “null” distribution that is usually considered to be simply \mathbb{G}(n,p) . One is asked to decide which of the two distributions the observed graph is generated by. In the early formulations of the problem (see Section 1.1 below for references), \mathbb{H} was chosen to be the uniform distribution over all cliques of size k for some k\ll n . The main, still unresolved, question is for what values of k do there exist computationally efficient tests that identify the underlying distribution, with high probability, when p=1/2 . A closely related problem is that of recovery , where one observes a graph drawn from the planted distribution \mathbb{P} , and the goal of the observer is to (partially or exactly) recover the planted subgraph \mathbf{H} . In this paper we focus on the detection problem only. In particular, we consider planting either a perfect matching (assuming that n is even) or a spanning tree. In other words, \mathbb{H} is either the uniform distribution over all perfect matchings of n vertices, or the uniform distribution over all spanning trees. In the first case, e_{H}=n/2 , while e_{H}=n-1 in the second. Since e_{H} is linear in both cases, even when p is bounded away from zero, one can detect the presence of a planted object simply by counting the edges of the observed graph. In order to avoid trivial detection by edge counting, we adjust the null hypothesis \mathbb{Q} so that \mathbb{P} and \mathbb{Q} have the same number of edges in expectation. More precisely, we consider the hypothesis testing problem of distinguishing whether a graph is drawn from the planted distribution \mathbb{P} defined above or the null distribution \mathbb{Q}=\mathbb{G}(n,q) , where q\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}p+(1-p)e_{H}/\binom{n}{2} . We consider the following standard formulation of the hypothesis testing problem. The statistician observes a graph G on n vertices. A test is a function f:\{0,1\}^{\binom{n}{2}}\to\{0,1\} , where f(G)=0 represents that the test guesses that G is drawn from the null distribution \mathbb{Q} and f(G)=1 means that the test guesses \mathbb{P} . The risk of a test f is defined by the sum of the probabilities of the two types of error: R(f)=\Pr_{\mathbf{G}\sim\mathbb{Q}}[f(\mathbf{G})=1]+\Pr_{\mathbf{G}\sim\mathbb{P}}[f(\mathbf{G})=0]~. It is well known that the optimal test minimizing the risk is the likelihood ratio test defined by f^{*}(G)=0\ \text{ if and only if }\ L(G)<1~, where L(G)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\frac{d\mathbb{P}}{d\mathbb{Q}}(G) is the likelihood ratio. The risk of the optimal test is R(f^{*})=1-\frac{1}{2}{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}|L(\mathbf{G})-1|=1-\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})~, where \mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q}) denotes the total variation distance. Thus, one can correctly detect the presence of a planted structure with high probability if and only if \mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})\to 1 . The goal of the paper is to determine the value of p (equivalently, of q ) for which correct detection is possible, with high probability. A standard tool for lower bounding R(f^{*}) is the simple observation that, by the Cauchy-Schwarz inequality, R(f^{*})\geq 1-\frac{1}{2}\sqrt{{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}(L(\mathbf{G})^{2}-1)}=1-\frac{1}{2}\sqrt{\chi^{2}(\mathbb{P},\mathbb{Q})}~. Our main results establish that, in both problems considered, the high-probability detection threshold for p is of the order of magnitude of n^{-1/2} . More precisely, in both the planted perfect matching problem and the planted spanning tree problem, if p=o(n^{-1/2}) , then R(f^{*})\to 0 , and if p=\omega(n^{-1/2}) , then R(f^{*})\to 1 ; see Theorems 3.1 and 4.1 below. The order of magnitude of the threshold value is somewhat striking. On the one hand, a sparse and dispersed structure like a perfect matching (or a spanning tree) can be detected as soon as the random graph in which it is hidden has average degree o(\sqrt{n}) . On the other hand, while without adjusting the edge probability of the null distribution, edge counting would make detection possible for any p=o(1) , after adjustment, no test can detect the planted structure when p is of larger order than n^{-1/2} . It is perhaps surprising that adjusting p to hide the edge count has such a dramatic effect. Our impossibility proofs rely on a careful bounding of the \chi^{2} distance between \mathbb{P} and \mathbb{Q} . For the possibility results, we design simple tests that are able to tell the two distributions apart. Importantly, the tests are computationally efficient, and therefore there is no statistical/computational gap, unlike in many of the related planted subgraph problems. Notation We use standard big-O notation, and we write o_{n}(1) to denote a function that goes to 0 as n\to\infty . Our convention is that random variables appear in boldface. We write H\subset G to denote that H is a subgraph of G . 1.1 Related work The planted clique problem [ 18 , 19 ] has generated a massive amount of research, including on detection algorithms [ 3 , 12 , 8 , 9 ] ; statistical thresholds [ 13 , 7 , 24 , 25 ] ; and complexity lower bounds/reductions [ 5 , 6 , 16 , 15 , 2 ] . There has been a substantial amount of work on recovery of planted perfect matchings in edge-weighted random graphs, where the weight distribution of the planted edges differs from that of the other edges [ 26 , 21 , 10 ] ; see also [ 14 ] , which studies the recovery of a planted k -factor in a sparse Erdős–Rényi random graph. The planting of subgraphs of varying size (rather than spanning subgraphs) has also been studied, notably in the very recent work [ 11 ] . The case when the planted subgraph is a tree was studied by Massoulié, Stephan, and Towsley [ 20 ] , who considered planting small trees in sparse Erdős–Rényi graphs. As far as we are aware, the only paper specifically focused on the planted spanning tree problem is [ 22 ] , which studies the problem of recovering the planted spanning tree. The recent work [ 23 ] studies all-or-nothing phenomena in planted graph detection in the Erdős–Rényi setting, drawing connections to Kahn–Kalai expectation thresholds. The planted subgraph problem also has applications to secret-sharing schemes and other problems in cryptography [ 4 , 1 ] . The distribution of counts of perfect matchings and spanning trees (and Hamiltonian cycles) in Erdős-Rényi graphs \mathbb{G}(n,p) were studied by Janson [ 17 ] . Janson showed that the counts follow a log-normal distribution so long as p<1 and p=\Omega(n^{-1/2}) . To study the case p\sim n^{-1/2} , Janson studies a basis expansion of a reweighting of the matching count by a factor exponential in the number of edges. Though he does not discuss it, this reweighting (as we will see in Section 2 ) is equivalent to the likelihood ratio of the planted distribution to \mathbb{G}(n,q^{\prime}) for some q^{\prime} (not necessarily corresponding to our edge-count-corrected null). While we were finishing writing this manuscript, we learned of the very recent work by Wee and Mao [ 28 ] , who study planted matchings in a related but somewhat different setting. In their work, they plant a matching whose size is random, with expectation bounded above by \varepsilon n for some small \varepsilon . In this setting, they determine the detection threshold at p=\Theta(n^{-1/2}) , and prove precise results at the threshold (in particular, log-normality of the likelihood ratio) using sophisticated cluster expansion methods (following [ 17 ] ). Their limitation on the expected size of the matching is required for the cluster expansion to converge. 1.2 Outline The rest of the paper is structured as follows. In Section 2 we present properties of the likelihood ratio that turn out to be useful in the proofs of our impossibility results. In Section 3 we prove our result on the detection threshold for the planted perfect matching problem. In Section 4 the analogous result for planted spanning trees is presented. 2 Likelihood ratio for planted graphs Consider an experiment in which one samples k graphs \mathbf{H}_{1},\ldots,\mathbf{H}_{k} independently from \mathbb{H} , and let \mathrm{collisions}(\mathbf{H}_{1},\ldots,\mathbf{H}_{k}) be the number of edges common to \mathbf{H}_{1},\ldots,\mathbf{H}_{k} (with multiplicity). In this section we show that k th moments of the likelihood ratio \frac{d\mathbb{P}}{d\mathbb{Q}} under \mathbb{Q} can be understood by studying the moment generating function of \mathrm{collisions}(\mathbf{H}_{1},\ldots,\mathbf{H}_{k}) . For an n -vertex graph G with e_{G} edges, the likelihood ratio is given by the expression \displaystyle L(G)=\frac{d\mathbb{P}}{d\mathbb{Q}}(G) \displaystyle=\frac{\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset G]\cdot p^{e_{G}-e_{H}}(1-p)^{\binom{n}{2}-e_{G}}}{q^{e_{G}}(1-q)^{\binom{n}{2}-e_{G}}} \displaystyle=\left(\frac{1-p}{1-q}\right)^{\binom{n}{2}}\left(\frac{\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset G]}{\Pr_{\begin{subarray}{c}\mathbf{H}\sim\mathbb{H}\\ \mathbf{G}\sim\mathbb{G}(n,p)\end{subarray}}[\mathbf{H}\subset\mathbf{G}]}\right)\left(\frac{p(1-q)}{q(1-p)}\right)^{e_{G}}. (2.1) Writing \delta_{n}=e_{H}/\binom{n}{2} , simple algebraic manipulations allow us to write \displaystyle p \displaystyle=\frac{q-\delta_{n}}{1-\delta_{n}}, \displaystyle\frac{1-q}{1-p} \displaystyle=1-\delta_{n}, \displaystyle\frac{p(1-q)}{q(1-p)} \displaystyle=\frac{q-\delta_{n}}{q}, and Equation 2.1 above can be re-written as \displaystyle L(G)=\left(\frac{1}{1-\delta_{n}}\right)^{\binom{n}{2}}\left(\frac{\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset G]}{\Pr_{\begin{subarray}{c}\mathbf{H}\sim\mathbb{H}\\ \mathbf{G}\sim\mathbb{G}(n,p)\end{subarray}}[\mathbf{H}\subset\mathbf{G}]}\right)\left(1-\frac{\delta_{n}}{q}\right)^{e_{G}}. (2.2) 2.1 Likelihood ratio moments A change-of-measure allows us to set k th moments of the likelihood ratio L(G) under \mathbb{Q} proportional to moments of \Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}] for graphs \mathbf{G} from a product measure \mathbb{Q}_{k} . In particular, continuing from the expression eq. 2.2 , defining r_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(1-\delta_{n}/q)^{k} , \displaystyle{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{k} \displaystyle=\left(\frac{1}{1-\delta_{n}}\right)^{k\binom{n}{2}}\frac{{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}\left[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]^{k}r_{k}^{e_{\mathbf{G}}}\right]}{\Pr_{\begin{subarray}{c}\mathbf{H}\sim\mathbb{H}\\ \mathbf{G}\sim\mathbb{G}(n,p)\end{subarray}}[\mathbf{H}\subset\mathbf{G}]^{k}} \displaystyle=\left(\frac{1}{1-\delta_{n}}\right)^{k\binom{n}{2}}\frac{Z_{k}\cdot{\mathbf{E}}_{\mathbf{G}\sim\mathbb{G}(n,q_{k})}\left[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]^{k}\right]}{{\mathbf{E}}_{\mathbf{G}\sim\mathbb{G}(n,p)}\left[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]\right]^{k}}, (2.3) with \displaystyle Z_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\left(1-q+qr_{k}\right)^{\binom{n}{2}},\hskip 20.00003pt\text{and}\hskip 20.00003ptq_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\frac{qr_{k}}{1-q+qr_{k}}. (2.4) We can further simplify the right-hand side of eq. 2.3 . For any m\in{\mathbb{N}} and a\in[0,1] , {\mathbf{E}}_{\mathbf{G}\sim\mathbb{G}(n,a)}\left[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]^{m}\right]={\mathbf{E}}_{\mathbf{H}_{1},\ldots,\mathbf{H}_{m}\sim\mathbb{H}}\left[a^{|E(\mathbf{H}_{1}\cup\cdots\cup\mathbf{H}_{m})|}\right], where \mathbf{H}_{1},\ldots,\mathbf{H}_{m}\sim\mathbb{H} are mutually independent, and E(\mathbf{H}_{1}\cup\cdots\cup\mathbf{H}_{m}) is the edge set of the simple graph \bigcup_{i=1}^{m}\mathbf{H}_{i} . Applying this in the numerator and denominator of eq. 2.3 , \displaystyle\frac{{\mathbf{E}}_{\mathbf{G}\sim\mathbb{G}(n,q_{k})}\left[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]^{k}\right]}{{\mathbf{E}}_{\mathbf{G}\sim\mathbb{G}(n,p)}[\Pr_{\mathbf{H}\sim\mathbb{H}}[\mathbf{H}\subset\mathbf{G}]]^{k}} \displaystyle=\left(\frac{q_{k}}{p}\right)^{ke_{H}}{\mathbf{E}}_{\mathbf{H}_{1},\ldots,\mathbf{H}_{k}\sim\mathbb{H}}\left[q_{k}^{-\mathrm{collisions}(\mathbf{H}_{1},\ldots,\mathbf{H}_{k})}\right], (2.5) where \mathrm{collisions}(\mathbf{H}_{1},\ldots,\mathbf{H}_{k})\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}ke_{H}-|E(\mathbf{H}_{1}\cup\cdots\cup\mathbf{H}_{k})| is the minimum number of arcs one must remove from the multiset \bigcup_{i=1}^{m}E(\mathbf{H}_{i}) in order to obtain a set. Putting eqs. 2.3 and 2.5 together, \displaystyle{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{k} \displaystyle=\left(\frac{1}{1-\delta_{n}}\right)^{k\binom{n}{2}}\left(\frac{q_{k}}{p}\right)^{ke_{H}}Z_{k}\cdot{\mathbf{E}}_{\mathbf{H}_{1},\ldots,\mathbf{H}_{k}\sim\mathbb{H}}\left[q_{k}^{-\mathrm{collisions}(\mathbf{H}_{1},\ldots,\mathbf{H}_{k})}\right]. (2.6) 3 Planting a perfect matching In this section we address the case when n\in{\mathbb{N}} is even, and \mathbb{P} is \mathbb{G}(n,p) with a planted perfect matching, captured by choosing \mathbb{H} to be the uniform distribution over perfect matchings of the complete graph K_{n} . The main result of this section is the following. Theorem 3.1 . If \mathbb{P} is \mathbb{G}(n,p) with a planted perfect matching and \mathbb{Q} is \mathbb{G}(n,q) for q=p+\frac{1-p}{n-1} , then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=\begin{cases}0&\text{when }p=\omega(n^{-1/2}),\\ 1&\text{when }p=o(n^{-1/2}).\end{cases} We first consider the case when p=\omega(n^{-1/2}) using the framework introduced in Section 2 , then give a simple hypothesis test which proves the case p=o(n^{-1/2}) . Lemma 3.2 . If \mathbb{H} is the uniform distribution over perfect matchings of K_{n} and p=\omega(n^{-1/2}) then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=0 . Proof. It suffices to show that \chi^{2}(\mathbb{P},\mathbb{Q})={\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}(L(\mathbf{G})^{2}-1)=o_{n}(1) . We begin by instantiating eq. 2.6 : {\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{2}=\left(\frac{1}{1-\delta_{n}}\right)^{2\binom{n}{2}}\left(\frac{q_{2}}{p}\right)^{n}\cdot Z_{2}\cdot{\mathbf{E}}_{\mathbf{H}_{1},\mathbf{H}_{2}\sim\mathbb{H}}\left[q_{2}^{-\mathrm{collisions}(\mathbf{H}_{1},\mathbf{H}_{2})}\right]. (3.1) We next obtain an estimate of the moment generating function of \mathrm{collisions}(\mathbf{H}_{1},\mathbf{H}_{2}) . Claim 3.3 . If sn\gg\frac{\log n}{\log\log n} , then {\mathbf{E}}_{\mathbf{H}_{1},\mathbf{H}_{2}\sim\mathbb{H}}\left[s^{-\mathrm{collisions}(\mathbf{H}_{1},\mathbf{H}_{2})}\right]\leq\left(1+o_{n}(1)\right){\mathbf{E}}_{\mathbf{Y}\sim\mathrm{Pois}(\frac{1}{2})}\left[s^{-\mathbf{Y}}\right]. Proof. We argue that the random variable \mathbf{X}=\mathrm{collisions}(\mathbf{H}_{1},\mathbf{H}_{2}) is close to Poisson with mean \frac{1}{2} , such that the above is well-approximated by the Poisson moment generating function. The set of perfect matchings of K_{n} is in bijection with unordered partitions of n into pairs, of which there are (n-1)!! . By inclusion-exclusion, when \mathbf{H}_{1},\mathbf{H}_{2} are chosen independently and uniformly at random from this set, for any k\in[n/2] , \displaystyle\Pr[\mathbf{X}=k] \displaystyle=\frac{\binom{n/2}{k}\sum_{\ell=0}^{n/2}(-1)^{\ell}\cdot\binom{n/2-k}{\ell}\cdot(n-2k-2\ell-1)!!}{(n-1)!!}. We obtain two upper bounds on this probability. First, for any k\in[n/2] we obtain a crude bound from the \ell=0 summand: \Pr[\mathbf{X}=k]\leq\binom{n/2}{k}\frac{(n-2k-1)!!}{(n-1)!!}=\frac{2^{n/2}}{k!\binom{n}{n/2}}\cdot\frac{1}{2^{n/2-k}}\binom{n-2k}{n/2-k}=O(\sqrt{n})\cdot\frac{1}{2^{k}k!}, where the final inequality follows from the fact that \binom{2m}{m}=\frac{1}{\sqrt{\pi m}}2^{2m}(1+O(\tfrac{1}{m})) . Now, we obtain a finer bound for k\ll n . If k\ll n , then letting k^{+} be the smallest even integer at least as large as k , we over-estimate the probability by stopping the inclusion-exclusion at the k^{+} term: \displaystyle\Pr[\mathbf{X}=k] \displaystyle\leq\frac{\binom{n/2}{k}\sum_{\ell=0}^{k^{+}}(-1)^{\ell}\cdot\binom{n/2-k}{\ell}\cdot(n-2k-2\ell-1)!!}{(n-1)!!} \displaystyle=\frac{1}{k!}\frac{1}{\binom{n}{n/2}}\sum_{\ell=0}^{k^{+}}(-1)^{\ell}\frac{1}{\ell!}2^{k+\ell}\binom{n-2k-2\ell}{n/2-k-\ell} \displaystyle=\frac{1}{k!}\frac{\sqrt{\pi n/2}}{2^{n}}\left(1+O(\tfrac{1}{n})\right)\cdot\sum_{\ell=0}^{k^{+}}(-1)^{\ell}\frac{1}{\ell!}\frac{2^{n-k-\ell}}{\sqrt{\pi(n/2-k-\ell)}}\left(1+O(\tfrac{1}{n})\right) \displaystyle=\frac{1}{2^{k}k!}\sum_{\ell=0}^{k^{+}}\left(-\frac{1}{2}\right)^{\ell}\frac{1}{\ell!}\left(1+O(\tfrac{k}{n})\right) \displaystyle\leq\left(1+O(\tfrac{k}{n})\right)\cdot e^{-1/2}\frac{1}{2^{k}k!}. Let \mathbf{Y}\sim\mathrm{Pois}(\frac{1}{2}) , with \Pr[\mathbf{Y}=k]=e^{-1/2}\frac{1}{2^{k}k!} . Let m\ll n be the smallest integer such that sm>100\log n/\log\log n . We manipulate the moment generating function of \mathbf{X} , applying the coarse bound when k>m and the finer bound when k\leq m and obtain \displaystyle\sum_{k=0}^{\infty}\Pr[\mathbf{X}=k]\left(\frac{1}{s}\right)^{k} \displaystyle\leq(1+o_{n}(1))\sum_{k=0}^{m}\Pr[\mathbf{Y}=k]\left(\frac{1}{s}\right)^{k}+\sum_{k=m+1}^{n}O(\sqrt{n})\frac{1}{2^{k}k!}\left(\frac{1}{s}\right)^{k} \displaystyle\leq(1+o_{n}(1))\sum_{k=0}^{m}\Pr[\mathbf{Y}=k]\left(\frac{1}{s}\right)^{k}+\sum_{k=m+1}^{n}O(\sqrt{nk})\left(\frac{e}{ks}\right)^{k} \displaystyle=(1+o_{n}(1)){\mathbf{E}}\left[s^{-\mathbf{Y}}\right]+o_{n}(1)=(1+o_{n}(1)){\mathbf{E}}\left[s^{-\mathbf{Y}}\right].\qed In the case of a planted perfect matching we have that \delta_{n}=\frac{1}{n-1} , and a simple calculation shows that if p=\omega(n^{-1/2}) , then q_{2}=\omega(n^{-1/2}) . Hence, 3.3 applies with s=q_{2} . We next recall that when \mathbf{Y}\sim\mathrm{Pois}(\lambda) , then \log({\mathbf{E}}{s^{-\mathbf{Y}}})=\lambda\left(\frac{1}{s}-1\right) . Plugging this into eq. 3.1 and taking logarithms, we have that \displaystyle\log{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{2} \displaystyle\leq o_{n}(1)-2\binom{n}{2}\log\left(1-\delta_{n}\right)+n\log\left(\frac{q_{2}}{p}\right)+\log Z_{2}+\frac{1}{2q_{2}}-\frac{1}{2}. (3.2) Some algebraic simplification gives us \displaystyle qr_{2} \displaystyle=(q-\delta_{n})(1-\delta_{n}/q), (3.3) \displaystyle Z_{2} \displaystyle=(1-q+qr_{2})^{\binom{n}{2}}=\left(1-2\delta_{n}+\tfrac{\delta_{n}^{2}}{q}\right)^{\binom{n}{2}}, \displaystyle q_{2} \displaystyle=Z_{2}^{-1/\binom{n}{2}}\cdot qr_{2}, \displaystyle\frac{q_{2}}{p} \displaystyle=(1-\delta_{n})\left(1-\tfrac{\delta_{n}}{q}\right)Z_{2}^{-1/\binom{n}{2}}. So returning to Equation 3.2 , \displaystyle\log{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{2} \displaystyle\leq o_{n}(1)+\left(n-2\binom{n}{2}\right)\log\left(1-\delta_{n}\right)+n\log\left(1-\tfrac{\delta_{n}}{q}\right) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+\left(1-\tfrac{n}{\binom{n}{2}}\right)\log Z_{2}+\frac{1}{2q_{2}}-\frac{1}{2} \displaystyle=o_{n}(1)-n(n-2)\log(1-\delta_{n})+n\log(1-\tfrac{\delta_{n}}{q}) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+\tfrac{n(n-3)}{2}\log\left(1-2\delta_{n}+\tfrac{\delta_{n}^{2}}{q}\right)+\frac{1}{2q_{2}}-\frac{1}{2}. Using the Taylor expansion of the logarithm \log(1-x)=-x-\frac{x^{2}}{2}+o(x^{2}) as x\to 0 , and recalling that \delta_{n}=\frac{1}{n-1} and q=\omega(n^{-1/2}) , we have that \log(1-\delta_{n})=-\delta_{n}-\delta_{n}^{2}/2+o(n^{-2}) , that \log(1-\delta_{n}/q)=-\delta_{n}/q+o(n^{-1}) , and that \log(1-2\delta_{n}+\delta_{n}^{2}/q)=-2\delta_{n}+\delta_{n}^{2}/q-2\delta_{n}^{2}+o(n^{-2}) . Plugging these expressions into the display above, we see that the display above is equal to o_{n}(1)-n(n-2)(-\delta_{n}-\tfrac{1}{2}\delta_{n}^{2})+n\left(-\tfrac{\delta_{n}}{q}\right)+\tfrac{n(n-3)}{2}\left(-2\delta_{n}+\tfrac{\delta_{n}^{2}}{q}-2\delta_{n}^{2}\right)+\frac{1}{2q_{2}}-\frac{1}{2}. This simplifies to o_{n}(1)+\frac{1}{2q_{2}}-\left(1+\Theta\left(\tfrac{1}{n}\right)\right)\frac{1}{2q}. Finally, using the fact that q_{2}=q\left(1+\Theta\left(1/(qn)\right)\right) and that q=\omega(n^{-1/2}) , we obtain that the whole expression is o_{n}(1) . Hence \chi^{2}(\mathbb{P},\mathbb{Q})={\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}(L(\mathbf{G})^{2}-1)=o_{n}(1) , concluding the proof. ∎ Lemma 3.4 . If \mathbb{H} is the uniform distribution over perfect matchings of K_{n} and p=o(n^{-1/2}) then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=1 . Before proving the lemma, we give some intuition from the (simpler) bipartite case. Suppose we have a bipartite random graph on 2n vertices; then, the left-hand-side vertices’ degrees are independent. In the unplanted case, the law of the degree of each left vertex is close to \mathbf{A}\sim\mathrm{Pois}(\lambda) for \lambda=nq when q,p\ll n^{-1/2} . In the planted case, the law is instead close to \mathbf{B}\sim 1+\mathrm{Pois}(\lambda-1) . The means of \mathbf{A} and \mathbf{B} are the same, but the variances are \lambda and \lambda-1 respectively. Further, the standard deviations of \mathbf{A}^{\prime}=(\mathbf{A}-{\mathbf{E}}[\mathbf{A}])^{2} and \mathbf{B}^{\prime}=(\mathbf{B}-{\mathbf{E}}[\mathbf{B}])^{2} are also \Theta(\lambda) . Hence the n=\Omega(\lambda^{2}) i.i.d. samples furnished by the left vertex degrees suffice to distinguish the two distributions. In the non-bipartite case the degrees are not independent, but the idea of the proof is effectively the same. Proof of 3.4 . We design a hypothesis test that distinguishes \mathbb{P} and \mathbb{Q} with high probability when p=o(n^{-1/2}) (and note that p=o(n^{-1/2}) implies q=o(n^{-1/2}) ). Choose a near-regular tournament of K_{n} , that is, a partition P_{1},\ldots,P_{n} of the edges of K_{n} such that all edges in P_{i} are incident on vertex i , and each part contains either \lceil(n-1)/2\rceil or \lfloor(n-1)/2\rfloor edges. For each i\in[n] , let \mathbf{X}_{i}=\sum_{e\in P_{i}}{\mathbf{1}}_{[e\in\mathbf{G}]} , and let \mathbf{Y}_{i}=(\mathbf{X}_{i}-{\mathbf{E}}[\mathbf{X}_{i}])^{2} (note that {\mathbf{E}}\mathbf{X}_{i} is the same under \mathbb{P} and \mathbb{Q} ). The hypothesis test evaluates the statistic \mathbf{Y}=\frac{1}{n}\sum_{i=1}^{n}\mathbf{Y}_{i} , selecting \mathbb{Q} if and only if the value is larger than {\mathbf{E}}_{\mathbb{Q}}\mathbf{Y}-\frac{1}{8} . We argue that the difference of means under \mathbb{P} and \mathbb{Q} is at least \frac{1}{4}-o_{n}(1) , and that |\mathbf{Y}-{\mathbf{E}}\mathbf{Y}|=o_{n}(1) with high probability under both \mathbb{P} and \mathbb{Q} , from which the claim follows. Under \mathbb{Q} , the \mathbf{Y}_{i} are independent, and each \mathbf{X}_{i} has the law of \mathrm{Bin}(|P_{i}|,q) . Hence the mean of each term is {\mathbf{E}}_{\mathbb{Q}}\mathbf{Y}_{i}=|P_{i}|q(1-q) , and the mean of our statistic is {\mathbf{E}}_{\mathbb{Q}}[\mathbf{Y}]=\frac{n-1}{2}q(1-q) . We further have that the statistic concentrates around its mean, because it is a sum of independent random variables with bounded variance: for each i\in[n] , \sqrt{{\mathbf{E}}_{\mathbb{Q}}(\mathbf{Y}_{i}-{\mathbf{E}}[\mathbf{Y}_{i}])^{2}}=O(nq+1) . Thus, applying standard concentration inequalities, with high probability, |\mathbf{Y}-{\mathbf{E}}_{\mathbb{Q}}\mathbf{Y}|\leq\frac{O(nq+1)}{\sqrt{n}}=o_{n}(1) when q,p\ll n^{-1/2} . Under \mathbb{P} , conditioned on a specific planted matching H , the \mathbf{Y}_{i} are independent, with the n/2 of the \mathbf{X}_{i} for which P_{i}\cap E(H)=\emptyset following the law of \mathrm{Bin}(|P_{i}|,p) and the rest following the law of 1+\mathrm{Bin}(|P_{i}|-1,p) . A calculation yields that \displaystyle{\mathbf{E}}_{\mathbb{P}}\left[\mathbf{Y}_{i}\mid H\right] \displaystyle={\mathbf{E}}_{\mathbb{P}}\left(\sum_{e\in P_{i}\setminus H}({\mathbf{1}}_{[e\in\mathbf{G}]}-p)\right)^{2}+\left(\sum_{e\in P_{i}\cap E(H)}({\mathbf{1}}_{[e\in\mathbf{G}]}-p)-|P_{i}|(q-p)\right)^{2} \displaystyle=(|P_{i}\setminus E(H)|)p(1-p)+(|P_{i}\cap E(H)|(1-p)-(q-p)|P_{i}|)^{2} \displaystyle=(|P_{i}|-{\mathbf{1}}_{[|E(H)\cap P_{i}|=1]})p(1-p)+\tfrac{1}{4}+o_{n}(1), where we used that |P_{i}|(q-p)=1/2+o_{n}(1) , and so {\mathbf{E}}_{\mathbb{P}}\mathbf{Y}={\mathbf{E}}_{\mathbb{H}}{\mathbf{E}}_{\mathbb{P}}[\mathbf{Y}\mid\mathbf{H}]=\frac{n-1}{2}p(1-p)-\tfrac{p(1-p)}{2}+\tfrac{1}{4}(1+o_{n}(1)). Concentration again follows from the fact that \mathbf{Y} is a sum of independent random variables conditioned on H , each with bounded variance, \sqrt{{\mathbf{E}}_{\mathbb{P}}(\mathbf{Y}_{i}-{\mathbf{E}}[\mathbf{Y}_{i}])^{2}}=O(np+1) , so with high probability |\mathbf{Y}-{\mathbf{E}}_{\mathbb{P}}\mathbf{Y}|\leq\frac{O(np+1)}{\sqrt{n}}=o_{n}(1) . Finally, we claim that the means are \frac{1}{4}-o_{n}(1) separated. Recalling again that \delta_{n}=\frac{1}{n-1} and p=\frac{q-\delta_{n}}{1-\delta_{n}} , 1-p=\frac{1-q}{1-\delta_{n}} , \displaystyle{\mathbf{E}}_{\mathbb{P}}\mathbf{Y}-{\mathbf{E}}_{\mathbb{Q}}\mathbf{Y} \displaystyle=\frac{(1-p)^{2}}{4}(1+o_{n}(1))-\frac{p(1-p)}{2}+\frac{n-1}{2}\left(p(1-p)-q(1-q)\right) \displaystyle=o_{n}(1)+\frac{1}{4}+\frac{n-1}{2}\left(\frac{q-\delta_{n}}{(1-\delta_{n})}\frac{1-q}{1-\delta_{n}}-q(1-q)\right) \displaystyle=o_{n}(1)+\frac{1}{4}+\frac{n-1}{2}\left(-\delta_{n}+o(n^{-1})\right) \displaystyle\leq-\frac{1}{4}+o_{n}(1).\qed 4 Planting a Spanning Tree Suppose now that in a sample from \mathbb{P} , the planted graph \mathbf{H} is a uniformly random spanning tree of K_{n} . In this section we prove the following result. Theorem 4.1 . If \mathbb{P} is \mathbb{G}(n,p) with a planted spanning tree and \mathbb{Q} is \mathbb{G}(n,q) for q=p+\frac{2(1-p)}{n} , then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=\begin{cases}0&\text{when }p=\omega(n^{-1/2}),\\ 1&\text{when }p=o(n^{-1/2}).\end{cases} To upper bound the total variation distance when p=\omega(n^{-1/2}) , again we use the framework set up in Section 2 . To control the moment generating function of the collisions, we can make use of the fact that the edges of a uniformly random spanning tree are negatively associated. Fact 4.2 . If J=(E,V) is a graph and \mathbf{H} is a uniformly random spanning tree of J , then the random variables \{{\mathbf{1}}_{[e\in\mathbf{H}]}\}_{e\in E} are negatively associated. For a subset E^{\prime}\subset E , let the random variable \mathbf{X}_{E^{\prime}}=\sum_{e\in E^{\prime}}{\mathbf{1}}_{[e\in\mathbf{H}]} , and let \mathbf{Y}_{E^{\prime}}=\sum_{e\in E^{\prime}}\mathrm{Ber}(\Pr[e\in\mathbf{H}]) be a sum of independent Bernoulli random variables which are marginally identical to the {\mathbf{1}}_{[e\in\mathbf{H}]} . Since the edges of the spanning tree are negatively associated, it holds [ 27 ] that for any t\in\mathbb{R} , {\mathbf{E}}[\exp(t\mathbf{X}_{E^{\prime}})]\leq{\mathbf{E}}[\exp(t\mathbf{Y}_{E^{\prime}})]. Lemma 4.3 . If \mathbb{H} is the uniform distribution over spanning trees of K_{n} and p=\omega(n^{-1/2}) then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=0 . Proof. Let \mathbf{H}_{1},\mathbf{H}_{2} be two spanning trees of K_{n} chosen uniformly at random. We can write \mathrm{collisions(\mathbf{H}_{1},\mathbf{H}_{2})}=\sum_{e\in\mathbf{H}_{1}}{\mathbf{1}}_{[e\in\mathbf{H}_{2}]}. From 4.2 , {\mathbf{E}}q_{2}^{-\mathrm{collisions}(\mathbf{H}_{1},\mathbf{H}_{2})}\leq{\mathbf{E}}q_{2}^{-\mathbf{Y}}=\left(1+\frac{2}{n}\left(\frac{1}{q_{2}}-1\right)\right)^{n-1} for \mathbf{Y}\sim\mathrm{Bin}(n-1,\frac{n-1}{\binom{n}{2}}) . Plugging this into Equation 2.6 with k=2 and using e_{H}=n-1 , \displaystyle\log{\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{2} \displaystyle\leq-n(n-1)\log\left(1-\delta_{n}\right)+2(n-1)\log\left(\frac{q_{2}}{p}\right)+\log Z_{2} \displaystyle\hskip 20.00003pt\hskip 20.00003pt+(n-1)\log\left(1+\frac{2}{n}\left(\frac{1}{q_{2}}-1\right)\right). Applying again the simplifications from Equation 3.3 , this is further equal to \displaystyle=(2(n-1)-n(n-1))\log\left(1-\delta_{n}\right)+2(n-1)\log\left(1-\tfrac{\delta_{n}}{q}\right) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+\left(\binom{n}{2}-2(n-1)\right)\log\left(1-2\delta_{n}+\tfrac{\delta_{n}^{2}}{q}\right) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+(n-1)\log\left(1+\frac{2}{n}\left(\frac{1}{q_{2}}-1\right)\right). Taking a Taylor expansion of the logarithm, and using that \delta_{n}=\frac{2}{n} , that p,q=\omega(n^{-1/2}) , and that q_{2}=q\left(1+\Theta(1/(qn))\right) , the expression above further simplifies to \displaystyle=o_{n}(1)-(n-2)(n-1)\left(-\delta_{n}-\tfrac{1}{2}\delta_{n}^{2}\right)+2(n-1)\left(-\tfrac{\delta_{n}}{q}\right) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+\frac{(n-4)(n-1)}{2}\left(-2\delta_{n}+\tfrac{\delta_{n}^{2}}{q}-2\delta_{n}^{2}\right) \displaystyle\hskip 20.00003pt\hskip 20.00003pt+(n-1)\left(-\tfrac{2}{n}+\tfrac{2}{nq}\right) \displaystyle=o_{n}(1). Hence \chi^{2}(\mathbb{P},\mathbb{Q})={\mathbf{E}}_{\mathbf{G}\sim\mathbb{Q}}L(\mathbf{G})^{2}-1=o_{n}(1) , and the conclusion follows. ∎ To lower bound the total variation distance in the case p=o(n^{-1/2}) , we use a hypothesis test almost identical to the one used for matchings. Lemma 4.4 . If \mathbb{H} is the uniform distribution over spanning trees of K_{n} and p=o(n^{-1/2}) then \lim_{n\to\infty}\mathrm{d}_{\mathrm{TV}}(\mathbb{P},\mathbb{Q})=1 . Proof. Just as in the proof of 3.4 , let P_{1},\ldots,P_{n} be a partition of edges of K_{n} corresponding to a regular or near-regular tournament. Let \mathbf{X}_{i}=\sum_{e\in P_{i}}{\mathbf{1}}_{[e\in\mathbf{G}]} , let \mathbf{Y}_{i}=(\mathbf{X}_{i}-{\mathbf{E}}\mathbf{X}_{i})^{2} , and let \mathbf{Y}=\frac{1}{n}\sum_{i=1}^{n}\mathbf{Y}_{i} . Just as before, our hypothesis test is to compute \mathbf{Y} and output \mathbb{P} if and only if \mathbf{Y}<{\mathbf{E}}_{\mathbb{Q}}\mathbf{Y}-\frac{1}{8} . Exactly as in the proof of 3.4 , {\mathbf{E}}_{\mathbb{Q}}[\mathbf{Y}]=\frac{n-1}{2}q(1-q) , and with high probability |\mathbf{Y}-{\mathbf{E}}_{\mathbf{Q}}\mathbf{Y}|=o_{n}(1) when q,p\ll n^{-1/2} . Under \mathbb{P} , for convenience, we write \mathbf{Y}_{i}=(\mathbf{Z}_{i}+\mathbf{T}_{i})^{2} , with \mathbf{Z}_{i}=\sum_{e\in P_{i}\setminus E(\mathbf{H})}({\mathbf{1}}_{[e\in\mathbf{G}]}-p) and \mathbf{T}_{i}=|P_{i}\cap E(\mathbf{H})|(1-p)+|P_{i}|(p-q) . Conditioned on \mathbf{H}=H , the \mathbf{T}_{i} are fixed constants, and each \mathbf{Z}_{i} is independent and mean zero. It follows that \displaystyle{\mathbf{E}}_{\mathbb{P}}\left[\mathbf{Y}_{i}\mid H\right] \displaystyle={\mathbf{E}}_{\mathbb{P}}[\mathbf{Z}_{i}^{2}\mid H]+T_{i}^{2} \displaystyle=|P_{i}\setminus E(H)|p(1-p)+(|P_{i}\cap E(H)|(1-p)-|P_{i}|(q-p))^{2} \displaystyle=|P_{i}\setminus E(H)|p(1-p)+(|P_{i}\cap E(H)|(1-p)-1+o_{n}(1))^{2}, where we used that |P_{i}|(q-p)=1+o_{n}(1) , and that \displaystyle{\mathbf{Var}}_{\mathbb{P}}\left[\mathbf{Y}_{i}\mid H\right] \displaystyle\leq 2{\mathbf{Var}}_{\mathbb{P}}[\mathbf{Z}_{i}^{2}\mid H]+2{\mathbf{Var}}_{\mathbb{P}}[2\mathbf{T}_{i}\mathbf{Z}_{i}\mid H] \displaystyle=O(np+1)^{2}+O(np+1)\cdot(|P_{i}\cap E(H)|(1-p)-1+o_{n}(1))^{2}, and finally that \mathrm{Cov}_{\mathbb{P}}(\mathbf{Y}_{i},\mathbf{Y}_{j}\mid H)=0 for i\neq j . From this, it follows that conditioned on H , \displaystyle{\mathbf{E}}_{\mathbb{P}}[\mathbf{Y}\mid H] \displaystyle=\frac{(n-2)(n-1)}{2n}p(1-p)+{\mathbf{E}}_{i\sim\mathrm{Unif}([n])}(|P_{i}\cap E(H)|(1-p)-1+o_{n}(1))^{2} \displaystyle{\mathbf{Var}}_{\mathbb{P}}(\mathbf{Y}\mid H), \displaystyle=\frac{O(np+1)^{2}}{n}+\frac{O(np+1)}{n}{\mathbf{E}}_{i\sim\mathrm{Unif}([n])}(|P_{i}\cap E(H)|(1-p)-1+o_{n}(1))^{2}). We now invoke properties of the degree distribution of \mathbb{H} . Using the Prüfer code method for sampling from \mathbb{H} , the degrees \mathbf{D}_{i},\mathbf{D}_{j} of vertices i,j in H are jointly distributed as shifted multinomial, so that (\mathbf{D}_{i}-1,\mathbf{D}_{j}-1) are sampled by performing n-2 trials with probability 1/n of increasing \mathbf{D}_{i}-1,\mathbf{D}_{j}-1 respectively. Hence any O(1) joint moments of \mathbf{D}_{i},\mathbf{D}_{j} are, up to (1\pm o_{n}(1)) factors, equal to the moments of independent \mathrm{Pois}(1) random variables. Let \mathbf{B}_{i}=|P_{i}\cap E(\mathbf{H})| ; by symmetry, each edge of E(H) incident on i is equally likely to be included in P_{i} as its other endpoint, and any O(1) joint moments of \mathbf{B}_{i},\mathbf{B}_{j} are equal to the joint moments of independent \mathrm{Pois}(\frac{1}{2}) random variables up to (1\pm o_{n}(1)) factors. Hence {\mathbf{E}}_{\mathbb{H}}(|P_{i}\cap E(\mathbf{H})|(1-p)-1+o_{n}(1))^{2}=\frac{3}{4}+o_{n}(1), and using our formula for the conditional expectation above, {\mathbf{E}}_{\mathbb{P}}\mathbf{Y}={\mathbf{E}}_{\mathbb{H}}{\mathbf{E}}_{\mathbb{P}}[\mathbf{Y}\mid\mathbf{H}]=\frac{n}{2}p(1-p)+\tfrac{3}{4}+o_{n}(1). We bound the variance of \mathbf{Y} using the law of total variance: \displaystyle{\mathbf{Var}}_{\mathbb{P}}(\mathbf{Y}) \displaystyle={\mathbf{E}}_{\mathbb{H}}{\mathbf{Var}}_{\mathbb{P}}(\mathbf{Y}\mid\mathbf{H})+{\mathbf{Var}}_{\mathbb{H}}{\mathbf{E}}_{\mathbb{P}}[\mathbf{Y}\mid\mathbf{H}]. Above, we have computed the conditional variance, and using that {\mathbf{E}}[\mathbf{B}_{i}^{2}]=O(1) , when p\ll n^{-1/2} , we have that {\mathbf{E}}_{\mathbb{H}}{\mathbf{Var}}_{\mathbb{P}}(\mathbf{Y}\mid\mathbf{H})=o_{n}(1) . Finally, we upper bound the variance of the conditonal expectation. Using that the \mathbf{B}_{i},\mathbf{B}_{j} are asymptotically independent Poisson, \displaystyle{\mathbf{Var}}_{\mathbb{H}}{\mathbf{E}}_{\mathbb{P}}[\mathbf{Y}\mid\mathbf{H}] \displaystyle={\mathbf{E}}_{i,j\sim[n]}{\mathbf{E}}_{\mathbb{H}}((\mathbf{B}_{i}(1-p)-1)^{2}-\frac{3}{4}+o_{n}(1))((\mathbf{B}_{j}(1-p)-1)^{2}-\frac{3}{4}+o_{n}(1)) \displaystyle=o_{n}(1). So from Chebyshev’s inequality, with high probability under \mathbb{P} , |\mathbf{Y}-{\mathbf{E}}[\mathbf{Y}]|=o_{n}(1) . Finally, we compare the mean of \mathbf{Y} under \mathbb{P} and \mathbb{Q} , and we have that \displaystyle{\mathbf{E}}_{\mathbb{P}}\mathbf{Y}-{\mathbf{E}}_{\mathbb{Q}}\mathbf{Y} \displaystyle=\frac{n}{2}(p(1-p)-q(1-q))+\frac{3}{4}+o_{n}(1) \displaystyle=\frac{n}{2}\left(\frac{q-\delta_{n}}{1-\delta_{n}}\left(1-\frac{q-\delta_{n}}{1-\delta_{n}}\right)-q(1-q)\right)+\frac{3}{4}+o_{n}(1) \displaystyle=\frac{n}{2}\left(-\frac{2}{n}+o(\frac{1}{n})\right)+\frac{3}{4}+o_{n}(1)=-\frac{1}{4}+o_{n}(1). Hence the hypothesis test succeeds with high probability under both \mathbb{P} and \mathbb{Q} , from which the statement follows. ∎ 5