Introduction
In applications such as social network de-anonymization and biological network alignment, two graphs are structurally similar even when their node identities are anonymized, hidden, or inconsistently labeled. The graph matching problem asks to recover the correspondence between the nodes of two such graphs. This problem arises in social network de-anonymization [1 , 2 ] , the alignment of protein–protein interaction networks across species [3 ] , and the matching of relational patterns in computer vision [4 ] and natural language processing [5 ] . A standard formulation of this problem seeks a bijection between the two node sets that maximizes edge overlap. This optimization problem is a special case of the quadratic assignment problem [6 ] and is computationally intractable in the worst case [7 ] . Recent studies have therefore focused on graph matching under random graph models, aiming to design computationally efficient algorithms with provable statistical guarantees.
This paper investigates the graph matching problem under the correlated Erdős–Rényi graph pair model CER ( n , λ , s ) \operatorname{CER}(n,\lambda,s) CER ( n , λ , s ) [8 ] , where λ ∈ ( 0 , n s ) \lambda\in(0,ns) λ ∈ ( 0 , n s ) is the average-degree parameter and s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] is the correlation parameter. In this model, two graphs G G G and G ′ G' G ′ on the node set [ n ] [n] [ n ] are obtained from the same parent Erdős–Rényi graph with edge probability λ n s \frac{\lambda}{ns} n s λ by retaining every edge independently with probability s s s , so that each of them is marginally an Erdős–Rényi graph with edge probability λ / n \lambda/n λ / n . The graph G ~ \widetilde{G} G is obtained by relabeling the nodes of G ′ G' G ′ according to a uniformly random permutation π \pi π of [ n ] [n] [ n ] . Given only the graph pair ( G , G ~ ) (G,\widetilde{G}) ( G , G ) , the goal is to recover π \pi π accurately and efficiently.
Since sparse Erdős–Rényi graphs are locally tree-like, a natural approach is to compare the local neighborhoods of two nodes up to some depth d d d . For a node u u u and its counterpart u ~ = π ( u ) \widetilde{u}=\pi(u) u = π ( u ) , the two local neighborhoods are close in distribution to a correlated pair of Poisson Galton–Watson trees with offspring mean λ \lambda λ , whose intersection has offspring mean λ s \lambda s λ s . For most other pairs of nodes, the two local neighborhoods are close in distribution to an independent pair of such trees [9 , 10 ] . Algorithms based on this approach [11 , 12 , 13 ] test whether the local neighborhoods of two nodes form a correlated or an independent pair. The tests in [11 , 13 ] are based on the exact computation of the likelihood ratio between the correlated and the independent tree-pair distributions. With high probability, the algorithm in [13 ] has near-quadratic complexity when λ = ( log n ) α + o ( 1 ) \lambda= (\log n)^{\alpha+o(1)} λ = ( log n ) α + o ( 1 ) for a constant α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . When λ = Ω ( log n ) \lambda= \Omega(\log n) λ = Ω ( log n ) , the same analysis gives only a superpolynomial bound, because the complexity of computing each likelihood ratio using the method in [11 , 13 ] grows factorially with the number of children. However, λ = Ω ( log n ) \lambda= \Omega(\log n) λ = Ω ( log n ) is necessary to achieve exact recovery of π \pi π information-theoretically [14 , 15 , 16 ] . We therefore ask whether an algorithm based on the likelihood-ratio test can recover π \pi π accurately and efficiently in this regime. The following informal theorem answers this question for every constant s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter and every λ \lambda λ at most polylogarithmic in n n n , where C O t t e r ≈ 0.338 C_{\mathrm{Otter}} \approx0.338 C Otter ≈ 0.338 is Otter’s tree-counting constant [17 ] .
Theorem (Informal statement of Theorems 1 and 2). Consider ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G}) \sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) , where λ = ω ( 1 ) \lambda= \omega(1) λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) \lambda= (\log n)^{O(1)} λ = ( log n ) O ( 1 ) , and s ∈ ( C O t t e r , 1 ] s \in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] is a constant. Then our algorithm TBAlign proposed in § 3.1 satisfies the following guarantees.
Error-free almost-exact recovery. With high probability, TBAlign outputs a partial matching π ′ \pi' π ′ of size n − o ( n ) n-o(n) n − o ( n ) with no incorrect matches.
Exact recovery. If, in addition, λ s ≥ ( 1 + ϵ ) log n \lambda s \ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for a constant ϵ > 0 \epsilon> 0 ϵ > 0 , then with high probability, TBAlign can further extend π ′ \pi' π ′ to a complete matching π ^ \hat{\pi} π ^ that equals π \pi π with a seeded completion step.
With high probability, the time complexity of TBAlign is n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) .
Related Work
Information-theoretic limits for graph matching have been studied under four recovery criteria. Partial recovery requires correctly matching a positive fraction of the nodes [14 , 18 , 19 ] ; almost-exact recovery requires a complete matching with o ( n ) o(n) o ( n ) mismatches [14 ] ; error-free almost-exact recovery requires a partial matching of size n − o ( n ) n-o(n) n − o ( n ) with no incorrect matches [20 ] ; and exact recovery requires recovering the entire permutation π \pi π correctly [15 , 16 , 14 ] .
Another line of work develops efficient algorithms that exploit structural features of the two graphs, such as canonical labels [21 ] , degree profiles [22 ] , spectral signatures [23 , 24 ] , subgraph counts [25 ] , and tree-based statistics of local neighborhoods [9 , 11 , 13 ] . In the dense regime λ = n Ω ( 1 ) \lambda= n^{\Omega(1)} λ = n Ω ( 1 ) , the algorithm in [26 ] achieves exact recovery in polynomial time for every fixed s ∈ ( 0 , 1 ) s \in(0,1) s ∈ ( 0 , 1 ) . In the sparse regime λ = n o ( 1 ) \lambda= n^{o(1)} λ = n o ( 1 ) , existing results point to a statistical–computational gap associated with the threshold s = C O t t e r s = \sqrt{C_{\mathrm{Otter}}} s = C Otter . Below this threshold, low-degree hardness results suggest that no polynomial-time algorithm achieves even partial recovery [27 , 28 ] . Above it, polynomial-time algorithms achieve different recovery guarantees depending on different λ \lambda λ regimes. We next review these algorithms by recovery criterion and compare their guarantees with ours.
Partial recovery. For a large enough constant λ = Θ ( 1 ) \lambda= \Theta(1) λ = Θ ( 1 ) , partial recovery can be achieved by counting a family of rooted trees called chandeliers [25 ] or by tree correlation testing [9 , 11 ] . The likelihood-ratio test used in [11 ] has vanishing type-I error and nonvanishing power for a large constant λ \lambda λ when s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter , whereas no test has these properties for any λ \lambda λ when s ≤ C O t t e r s \le\sqrt{C_{\mathrm{Otter}}} s ≤ C Otter [12 ] . This result has been extended to asymmetric tree pairs in [31 ] . The algorithm in our paper tests tree correlation using an approximate likelihood ratio, instead of the exact value, and it also require the condition s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter .
Almost-exact recovery. For λ = ω ( 1 ) \lambda= \omega(1) λ = ω ( 1 ) and every constant s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter , the chandelier-counting algorithm in [25 ] achieves error-free almost-exact recovery.1 The proved bound on its time complexity is n c ( s ) n^{c(s)} n c ( s ) , where the exponent c ( s ) c(s) c ( s ) goes to infinity as s s s approaches C O t t e r \sqrt{C_{\mathrm{Otter}}} C Otter from above. In contrast, the algorithm in [13 ] achieves almost-exact recovery for the same range of s s s with time complexity n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) , provided that λ = ( log n ) α + o ( 1 ) \lambda= (\log n)^{\alpha+o(1)} λ = ( log n ) α + o ( 1 ) for a constant α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . However, its output may contain o ( n ) o(n) o ( n ) incorrect matches. Our algorithm achieves error-free almost-exact recovery and has n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) time complexity with high probability, provided that λ = ω ( 1 ) \lambda= \omega(1) λ = ω ( 1 ) and λ = ( log n ) O ( 1 ) \lambda= (\log n)^{O(1)} λ = ( log n ) O ( 1 ) .
Exact recovery. When λ = n o ( 1 ) \lambda= n^{o(1)} λ = n o ( 1 ) and λ s ≥ ( 1 + ϵ ) log n \lambda s \ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for some constant ϵ > 0 \epsilon> 0 ϵ > 0 , there are known polynomial-time algorithms for exact recovery. The algorithm in [25 ] achieves exact recovery with a time-complexity bound of O ( n c ( s ) + n λ 2 ) O(n^{c(s)} + n\lambda^2) O ( n c ( s ) + n λ 2 ) . The algorithms in [22 , 24 , 30 ] require 1 − s 1-s 1 − s to vanish as n n n grows. The algorithm in [29 ] has time complexity n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) in expectation, but it requires s > s 0 s > s_0 s > s 0 for an unspecified constant s 0 s_0 s 0 close to 1. In contrast, our algorithm achieves exact recovery with time complexity n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) for every s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter . Our guarantee, however, requires the more restrictive condition λ = ( log n ) O ( 1 ) \lambda= (\log n)^{O(1)} λ = ( log n ) O ( 1 ) , rather than λ = n o ( 1 ) \lambda= n^{o(1)} λ = n o ( 1 ) . Figure 1 illustrates these comparisons. In Figure 1 (a), our algorithm keeps the time-complexity exponent 2 + o ( 1 ) 2 + o(1) 2 + o ( 1 ) for every s > C O t t e r s > \sqrt{C_{\mathrm{Otter}}} s > C Otter compared with the algorithms in [25 ] and [29 ] . The magnified inset marks the exponents of the three time-complexity bounds at s = 1 s = 1 s = 1 within the high-correlation regime s > s 0 s > s_0 s > s 0 , where s 0 s_0 s 0 is placed schematically. Figure 1 (b) shows the exact-recovery regions of the algorithms we discussed when λ = Θ ( log n ) \lambda= \Theta(\log n) λ = Θ ( log n ) . The curve λ s = log n \lambda s = \log n λ s = log n in this panel is the information-theoretic threshold for exact recovery [14 ] , and the conjectured hard region reflects the low-degree evidence in [27 , 28 ] .
Figure 1. Polynomial-time algorithms for exact recovery. (a) Time-complexity exponents. The vertical axis displays the exponent c c c in a time-complexity bound of the form n c + o ( 1 ) n^{c+o(1)} n c + o ( 1 ) . (b) Exact-recovery regions. The labels Mao et al. [25 ] and Mao et al. [29 ] refer to [25 ] and [29 ] , respectively, and the high-correlation band in (b) represents the algorithms in [22 , 24 , 30 , 29 ] .
Related models and extensions. Graph matching has also been studied beyond the CER ( n , λ , s ) \operatorname{CER}(n,\lambda,s) CER ( n , λ , s ) model, including in correlated stochastic block models [32 , 33 , 34 ] , correlated geometric graph models [35 ] , and attributed graph models [36 , 37 , 38 , 39 ] . Other extensions consider matching multiple graphs [40 ] or partially observed graphs [41 , 42 ] . These works explore a broader range of graph-matching settings, while our comparison above focuses on the computational guarantees for exact recovery in the correlated Erdős–Rényi model.
Technical Contributions
Our algorithm closely follows the graph matching algorithm in [13 ] , which builds on the local-tree correlation testing developed in [11 ] . Both algorithms identify matching vertices by comparing local trees rooted at their neighbors. Our stronger recovery guarantees and applicability to larger average degrees come from some novel changes to both the algorithm and its analysis. We next discuss these contributions at the algorithmic and analytical levels.
Algorithmic contributions
We make two main modifications to the algorithm in [13 ] .
From 3-dangling to 5-dangling. The 3-dangling-tree test , introduced in [11 ] and subsequently adopted in [13 ] , accepts a candidate pair of vertices only after identifying three pairs of their neighbors whose downstream local trees are classified as correlated. The three pairs use distinct neighbors on each side, and each downstream tree is rooted at the corresponding neighbor with the candidate vertex removed. Using this criterion, the algorithm in [13 ] achieves almost-exact recovery. With high probability, it gives a complete matching with o ( n ) o(n) o ( n ) mismatches.
We replace this criterion with a 5-dangling-tree test , which requires five such neighbor pairs. Under the conditions of our main theorem, this modification yields a partial matching of size n − o ( n ) n-o(n) n − o ( n ) but without any incorrect matches with high probability. This error-free guarantee also allows us to use the matched pairs as seeds for a completion procedure based on the seeded graph matching algorithm in [25 ] . Specifically, when λ s ≥ ( 1 + ϵ ) log n \lambda s \ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for a constant ϵ > 0 \epsilon> 0 ϵ > 0 , the completion procedure matches all the remaining vertices correctly with high probability, thereby achieving exact recovery.
Approximate likelihood-ratio testing. The algorithms in [11 , 13 ] compute local-tree likelihood ratios using the recursive formula introduced in [11 ] . This recursion expresses the likelihood ratio for a pair of rooted trees in terms of the likelihood ratios for pairs of subtrees rooted at their children. Each update sums weighted products of these subtree likelihood ratios over all partial matchings between the two sets of children. The direct evaluation of this sum has factorial complexity in the number of children: when both nodes have c c c children, the sum contains at least c ! c! c ! terms. Since a typical node in the ER graph has about λ \lambda λ children, this computation incurs a cost e Ω ( λ log λ ) e^{\Omega(\lambda\log\lambda)} e Ω ( λ l o g λ ) , which is superpolynomial in n n n when λ = Ω ( log n ) \lambda=\Omega(\log n) λ = Ω ( log n ) . This computational bottleneck obstructs the extension of the approach in [13 ] to the degree regime needed for exact recovery.
To overcome this difficulty, we express the matching sums in each recursive update through permanents of nonnegative matrices. We then approximate these permanents using the fully polynomial randomized approximation scheme (FPRAS) in [43 ] , and use the resulting approximate likelihood ratios for tree correlation testing. With our choice of parameters, the computation takes n o ( 1 ) n^{o(1)} n o ( 1 ) time per tested local-tree pair, allowing the graph matching algorithm to retain n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) time complexity with high probability throughout the degree range considered in this paper.
Analytical contributions
Analyzing the approximate likelihood-ratio test. The analysis of tree correlation tests in [13 ] proceeds in an indirect manner. It constructs an auxiliary test that is analytically more tractable but computationally infeasible, establishes bounds on its type-I error and power, and then invokes Neyman–Pearson optimality to transfer these guarantees to an exact likelihood-ratio test. This argument establishes the existence of a suitable threshold without providing its value. To avoid computing this threshold, the rank-based algorithm in [13 ] processes local-tree pairs in decreasing order of their likelihood ratios and stops after a prescribed number of vertex pairs have been matched. With this stopping rule, the algorithm achieves almost-exact recovery with high probability, without needing to compute the threshold.
This approach does not extend to our approximate likelihood-ratio test, which has no corresponding Neyman–Pearson optimality guarantee. We show that the approximate likelihood ratio lies within a constant factor of the exact value with high probability. This guarantee reduces the analysis of the approximate test to controlling the exact test at thresholds shifted by constant factors. Specifically, controlling the approximate test’s type-I error requires a bound for the exact test at a lower threshold, whereas controlling its power requires a bound at a higher threshold. These shifts are determined by the approximation guarantee. The existence of a suitable threshold from the Neyman–Pearson argument does not directly provide such control.
Therefore, we instead choose an explicit threshold and account for the constant-factor shifts caused by approximation, as well as its failure probability. This analysis gives a larger type-I error bound and a slightly weaker power guarantee than those of the auxiliary test, but the resulting bounds remain sufficient for our graph matching guarantees with the given threshold. After establishing the guarantees of the threshold-based matching algorithm, the corresponding rank-based matching algorithm provides the same guarantees by following the same analysis in [13 ] .
Why 5-dangling gives an error-free output. For the analysis, consider the union of the two graphs after aligning their vertices according to the true correspondence. We first show that, with high probability, every pair of local trees that passes the correlation test overlaps in this union graph. This follows by comparing non-overlapping local trees with independent Poisson Galton–Watson trees and combining the test’s small type-I error with a union bound over all tested pairs.
On this event, consider an incorrectly matched pair of vertices. Each selected pair of their neighbors whose downstream local trees pass the correlation test yields a short path between the two vertices in the union graph. Since the criterion requires distinct neighbors on each side, these paths can be chosen so that no path arises from more than two of the selected neighbor pairs. Thus, the three neighbor pairs required by the 3-dangling criterion give at least two distinct short paths, whose union contains a cycle. With high probability, only o ( n ) o(n) o ( n ) vertices have a cycle in the relevant local neighborhood. This argument therefore rules out wrong matches for almost all vertices, but does not exclude every wrong match.
The five neighbor pairs required by the 5-dangling criterion instead give at least three distinct short paths. Their union is a connected subgraph containing at least two cycles and O ( d ) O(d) O ( d ) vertices, where d d d is the depth of the local trees. A first-moment argument based on standard subgraph counting [44 Lemma 5.1] shows that, in our regime, no such subgraph occurs anywhere in the union graph with high probability. Consequently, no incorrect vertex pair can satisfy the 5-dangling criterion, achieving error-free almost-exact recovery.
Preliminaries
Notation
Given a simple graph H H H , we use V ( H ) \mathcal{V}(H) V ( H ) and E ( H ) \mathcal{E}(H) E ( H ) to denote its node and edge sets, respectively. The distance between two nodes in H H H is the length of the shortest path connecting them. A tree is a connected, acyclic simple graph, and a rooted tree is a tree with a distinguished node called the root. The depth of a node in a rooted tree is its distance from the root, and the depth of the tree is the maximum depth among all its nodes. We write [ n ] : = { 1 , … , n } [n] := \{1,\ldots,n\} [ n ] := { 1 , … , n } and [ a : b ] : = { i ∈ Z : a ≤ i ≤ b } [a:b] := \{i \in\mathbb{Z}: a \leq i \leq b\} [ a : b ] := { i ∈ Z : a ≤ i ≤ b } for integers a a a and b b b .
For a correlated Erdős–Rényi graph pair ( G , G ~ ) (G,\widetilde{G}) ( G , G ) , we use the shorthand V : = V ( G ) \mathcal{V} := \mathcal{V}(G) V := V ( G ) , E : = E ( G ) \mathcal{E} := \mathcal{E}(G) E := E ( G ) , V ~ : = V ( G ~ ) \widetilde{\mathcal{V}} := \mathcal{V}(\widetilde{G}) V := V ( G ) , and E ~ : = E ( G ~ ) \widetilde{\mathcal{E}} := \mathcal{E}(\widetilde{G}) E := E ( G ) ; both node sets are identified with [ n ] [n] [ n ] . Variables without tildes, such as u u u and v v v , refer to nodes in G G G , whereas variables with tildes, such as u ~ \widetilde{u} u and v ~ \widetilde{v} v , refer to nodes in G ~ \widetilde{G} G . For any u ∈ V u \in\mathcal{V} u ∈ V , let N ( u ) \mathcal{N}(u) N ( u ) denote its neighborhood in G G G ; analogously, let N ~ ( u ~ ) \widetilde{\mathcal{N}}(\widetilde{u}) N ( u ) denote the neighborhood of u ~ ∈ V ~ \widetilde{u} \in\widetilde{\mathcal{V}} u ∈ V in G ~ \widetilde{G} G .
We use P ( ⋅ ) \mathbb{P}(\cdot) P ( ⋅ ) and E [ ⋅ ] \mathbb{E}[\cdot] E [ ⋅ ] to denote probability and expectation, respectively, appending a subscript when the underlying distribution must be specified. We employ standard Landau’s asymptotic notation, including O ( ⋅ ) O(\cdot) O ( ⋅ ) , Ω ( ⋅ ) \Omega(\cdot) Ω ( ⋅ ) , Θ ( ⋅ ) \Theta(\cdot) Θ ( ⋅ ) , o ( ⋅ ) o(\cdot) o ( ⋅ ) , ω ( ⋅ ) \omega(\cdot) ω ( ⋅ ) , and ∼ \sim ∼ , and we use O ~ ( ⋅ ) \widetilde{O}(\cdot) O ( ⋅ ) to suppress logarithmic factors. Unless otherwise specified, all asymptotic statements assume n → ∞ n \to\infty n → ∞ . We say that an event holds with high probability if its probability is 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) . Finally, computational complexity or time complexity is measured by the total number of elementary operations executed, assuming a uniform cost model where each arithmetic operation incurs a unit cost.
Performance Criteria
Given an observed graph pair ( G , G ~ ) (G,\widetilde{G}) ( G , G ) , a bijection π ^ : V → V ~ \widehat{\pi} : \mathcal{V} \to\widetilde{\mathcal{V}} π : V → V is called a complete matching , and an injective map π ′ \pi' π ′ from a subset of V \mathcal{V} V to V ~ \widetilde{\mathcal{V}} V is called a partial matching ; nodes outside this subset are left unmatched . A pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) in a complete or partial matching is called a wrong match if v ~ ≠ u ~ \widetilde{v} \neq\widetilde{u} v = u . We consider the following four recovery criteria.
An algorithm achieves one of these criteria if its output satisfies the corresponding property with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) . The guarantees in our paper concern the last two criteria.
Poisson Galton–Watson Tree-Pair Models
Poisson Galton–Watson tree. Let λ > 0 \lambda> 0 λ > 0 . A Poisson Galton–Watson tree with offspring mean λ \lambda λ is generated from a single root by letting every node independently produce a Poi ( λ ) \operatorname{Poi}(\lambda) Poi ( λ ) number of children. We order the children of each node and label them recursively by their positions among their siblings, starting with the first label at the root. Let H \mathcal{H} H denote the resulting rooted tree, let X \mathcal{X} X be its support, and let X k \mathcal{X}_k X k be the set of trees in X \mathcal{X} X with depth at most k k k . For an integer k ≥ 0 k \ge0 k ≥ 0 , we write H k \mathcal{H}_k H k for the depth-k k k truncation of H \mathcal{H} H .
The likelihood-based tests depend only on rooted tree structure rather than the auxiliary order labels. For a labeled rooted tree h h h , let [ h ] [h] [ h ] be the unlabeled rooted tree obtained by removing its labels while preserving its root and edges. We write Z : = { [ h ] : h ∈ X } \mathcal{Z} := \{[h] : h \in\mathcal{X}\} Z := {[ h ] : h ∈ X } and Z k : = { [ h ] : h ∈ X k } \mathcal{Z}_k := \{[h] : h \in\mathcal{X}_k\} Z k := {[ h ] : h ∈ X k } for the corresponding collections of rooted unlabeled trees.
Independent tree pair. Under the independent tree-pair distribution Q \mathbb{Q} Q , the trees H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H are sampled independently, and each is a Poisson Galton–Watson tree with offspring mean λ \lambda λ .
Correlated tree pair. Under the correlated tree-pair distribution P \mathbb{P} P , first sample an intersection tree H ∗ \mathcal{H}^* H ∗ that is a Poisson Galton–Watson tree with offspring mean λ s \lambda s λ s . Starting from the same H ∗ \mathcal{H}^* H ∗ , construct H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H through two conditionally independent augmentations. In each augmentation, at every node of H ∗ \mathcal{H}^* H ∗ , add an independent Poi ( λ ( 1 − s ) ) \operatorname{Poi}(\lambda(1-s)) Poi ( λ ( 1 − s )) number of exclusive children, and attach an independent Poisson Galton–Watson tree with offspring mean λ \lambda λ below each exclusive child. Consequently, H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H share the intersection tree H ∗ \mathcal{H}^* H ∗ while having conditionally independent exclusive branches. Marginally, both resulting trees H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H are identically distributed as Poisson Galton–Watson trees with offspring mean λ \lambda λ .
Likelihood ratio. For ( t , t ~ ) ∈ Z k × Z k (t,\widetilde{t}) \in\mathcal{Z}_k \times\mathcal{Z}_k ( t , t ) ∈ Z k × Z k , define the likelihood ratio between the correlated and independent tree-pair distributions by
L k ( t , t ~ ) : = P ( [ H k ] = t , [ H ~ k ] = t ~ ) Q ( [ H k ] = t , [ H ~ k ] = t ~ ) . (1) L_k(t,\widetilde{t}) := \frac{\mathbb{P}([\mathcal{H}_k]=t,[\widetilde{\mathcal{H}}_k]=\widetilde{t})}{\mathbb{Q}([\mathcal{H}_k]=t,[\widetilde{\mathcal{H}}_k]=\widetilde{t})}. \tag*{(1)} L k ( t , t ) := Q ([ H k ] = t , [ H k ] = t ) P ([ H k ] = t , [ H k ] = t ) . (1)
Large values of L k ( t , t ~ ) L_k(t,\widetilde{t}) L k ( t , t ) provide evidence that the two observed rooted trees arise from the correlated rather than the independent model.
Tree Correlation Based Graph Matching
This section presents our graph matching algorithm, which is based on the approximate likelihood-ratio test in § 4 . In § 3.1 , we describe the threshold-based alignment algorithm TBAlign. It first constructs a partial matching from approximate likelihood-ratio tests on local trees, and then extends this partial matching to a complete matching by seeded completion. In § 3.2 , we state the recovery and time-complexity guarantees of TBAlign and sketch their proofs; the full proofs are deferred to the appendix.
Threshold-based Alignment Algorithm: TBAlign
Definition 1 (Local tree T u \ v , k τ \mathcal{T}^{\tau}_{u\backslash v,k} T u \ v , k τ ). Let k ≥ 0 k \ge0 k ≥ 0 be a nonnegative integer and τ ≥ 1 \tau\ge1 τ ≥ 1 . For two adjacent nodes u , v ∈ V u,v \in\mathcal{V} u , v ∈ V , the depth-zero local tree T u \ v , 0 τ \mathcal{T}^{\tau}_{u\backslash v,0} T u \ v , 0 τ is the singleton rooted at u u u . For k ≥ 1 k \ge1 k ≥ 1 , let T u \ v , k τ \mathcal{T}^{\tau}_{u\backslash v,k} T u \ v , k τ be the subgraph of G G G rooted at u u u , induced by the nodes at distance at most k k k from u u u in G \ v G\backslash v G \ v , provided that the depth-k k k neighborhood of u u u in G G G is a tree and every node y y y in this full neighborhood satisfies deg G ( y ) ≤ τ \deg_G(y) \le\tau deg G ( y ) ≤ τ . Otherwise, T u \ v , k τ \mathcal{T}^{\tau}_{u\backslash v,k} T u \ v , k τ is the empty tree without any nodes.
The local tree T ~ u ~ \ v ~ , k τ \widetilde{\mathcal{T}}^{\tau}_{\widetilde{u}\backslash\widetilde{v},k} T u \ v , k τ is defined analogously for the graph G ~ \widetilde{G} G . For every nonnegative integer k k k , let C k \mathcal{C}_k C k and C ~ k \widetilde{\mathcal{C}}_k C k denote the indexed collections of all depth-k k k local trees in G G G and G ~ \widetilde{G} G , respectively. Local
trees arising from distinct ordered pairs of adjacent nodes are treated as distinct elements, so each edge ( u , v ) ∈ E (u,v) \in\mathcal{E} ( u , v ) ∈ E yields two local trees T u ∖ v , k τ T^{\tau}_{u\setminus v,k} T u ∖ v , k τ and T ~ v ~ ∖ u ~ , k τ ~ \widetilde{T}^{\widetilde{\tau}}_{\widetilde{v}\setminus\widetilde{u},k} T v ∖ u , k τ . Therefore, ∣ C k τ ∣ = 2 ∣ E ∣ |\mathcal{C}^{\tau}_{k}| = 2|\mathcal{E}| ∣ C k τ ∣ = 2∣ E ∣ and ∣ C ~ k τ ~ ∣ = 2 ∣ E ~ ∣ |\widetilde{\mathcal{C}}^{\widetilde{\tau}}_{k}| = 2|\widetilde{\mathcal{E}}| ∣ C k τ ∣ = 2∣ E ∣ .
To simplify notation throughout the algorithm, we omit the depth subscript d d d and the maximum degree superscript τ \tau τ , writing T w ∖ u T_{w\setminus u} T w ∖ u , T ~ x ~ ∖ v ~ \widetilde{T}_{\widetilde{x}\setminus\widetilde{v}} T x ∖ v , C \mathcal{C} C , and C ~ \widetilde{\mathcal{C}} C in place of T w ∖ u , d τ T^{\tau}_{w\setminus u,d} T w ∖ u , d τ , T ~ x ~ ∖ v ~ , d τ ~ \widetilde{T}^{\widetilde{\tau}}_{\widetilde{x}\setminus\widetilde{v},d} T x ∖ v , d τ , C d τ \mathcal{C}^{\tau}_{d} C d τ , and C ~ d τ ~ \widetilde{\mathcal{C}}^{\widetilde{\tau}}_{d} C d τ . The algorithm proceeds in the following steps.
d = ⌈ ( log n ) 1 / 3 ⌉ , τ = ⌈ max { log n , λ ( 1 + 1 log log n ) } ⌉ , ξ = n − 11 , θ ∗ = e 1 16 n log log n 2 . (2) d = \left\lceil(\log n)^{1/3}\right\rceil,\quad\tau= \left\lceil\max\left\{\sqrt{\log n},\lambda\left(1+\frac{1}{\log\log n}\right)\right\}\right\rceil,\quad\xi= n^{-11},\quad\theta^{*} = e^{\frac{1}{16}n^{\frac{\log\log n}{2}}}. \tag*{(2)} d = ⌈ ( log n ) 1/3 ⌉ , τ = ⌈ max { log n , λ ( 1 + log log n 1 ) } ⌉ , ξ = n − 11 , θ ∗ = e 16 1 n 2 l o g l o g n . (2)
Given the input graphs G G G and G ~ \widetilde{G} G , construct the local tree collections C \mathcal{C} C and C ~ \widetilde{\mathcal{C}} C using parameters d d d and τ \tau τ , and initialize a 2 ∣ E ∣ × 2 ∣ E ~ ∣ 2|\mathcal{E}| \times2|\widetilde{\mathcal{E}}| 2∣ E ∣ × 2∣ E ∣ zero matrix L ^ \widehat{\mathbf{L}} L . For each pair of nonempty local trees ( T w ∖ u , T ~ x ~ ∖ v ~ ) ∈ C × C ~ (T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}) \in\mathcal{C}\times\widetilde{\mathcal{C}} ( T w ∖ u , T x ∖ v ) ∈ C × C , compute the matrix entry
L ^ ( T w ∖ u , T ~ x ~ ∖ v ~ ) = ApproxLR ( [ T w ∖ u ] , [ T ~ x ~ ∖ v ~ ] , λ , s , ξ , d ) , (3) \widehat{\mathbf{L}}(T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}})=\operatorname{ApproxLR}([T_{w\setminus u}],[\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}],\lambda,s,\xi,d), \tag*{(3)} L ( T w ∖ u , T x ∖ v ) = ApproxLR ([ T w ∖ u ] , [ T x ∖ v ] , λ , s , ξ , d ) , (3)
where ApproxLR is the likelihood-ratio approximation algorithm defined in Algorithm 2. If either local tree is empty, the corresponding entry in L ^ \widehat{\mathbf{L}} L remains zero.
Step 2: 5-dangling-tree test on witness graphs. Initialize an n × n n\times n n × n zero matrix M T B \mathbf{M}_{\mathrm{TB}} M TB . For each node pair ( u , v ~ ) ∈ V × V ~ (u,\widetilde{v})\in\mathcal{V}\times\widetilde{\mathcal{V}} ( u , v ) ∈ V × V , construct the weighted bipartite witness graph W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) between N ( u ) \mathcal{N}(u) N ( u ) and N ~ ( v ~ ) \widetilde{\mathcal{N}}(\widetilde{v}) N ( v ) , where each edge ( w , x ~ ) (w,\widetilde{x}) ( w , x ) is assigned the weight L ^ ( T w ∖ u , T ~ x ~ ∖ v ~ ) \widehat{\mathbf{L}}(T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}) L ( T w ∖ u , T x ∖ v ) . Given the threshold θ ∗ \theta^{*} θ ∗ , apply the 5-dangling-tree test in § 1.2 to ( u , v ~ ) (u,\widetilde{v}) ( u , v ) by computing
M T B ( u , v ~ ) : = GreedyMatching ( W ( u , v ~ ) , θ ∗ , 5 ) ∈ { 0 , 1 } . (4) \mathbf{M}_{\mathrm{TB}}(u,\widetilde{v}) := \operatorname{GreedyMatching}(\mathcal{W}(u,\widetilde{v}),\theta^{*},5)\in\{0,1\}. \tag*{(4)} M TB ( u , v ) := GreedyMatching ( W ( u , v ) , θ ∗ , 5 ) ∈ { 0 , 1 } . (4)
Here, the subroutine GreedyMatching starts with an empty matching and examines the edges of W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) in an arbitrary order. It adds an edge if it shares no endpoint with any previously added edge and has weight strictly greater than θ ∗ \theta^{*} θ ∗ . It outputs 1 as soon as the matching reaches size 5, and outputs 0 if it exhausts all edges without reaching this size.
V ′ : = { u ∈ V : ∃ v ~ ∈ V ~ such that M T B ( u , v ~ ) = 1 } . (5) \mathcal{V}' := \{u\in\mathcal{V}:\exists\widetilde{v}\in\widetilde{\mathcal{V}}\text{ such that }\mathbf{M}_{\mathrm{TB}}(u,\widetilde{v})=1\}. \tag*{(5)} V ′ := { u ∈ V : ∃ v ∈ V such that M TB ( u , v ) = 1 } . (5)
Construct a partial mapping π ′ : V ′ → V ~ \pi':\mathcal{V}'\to\widetilde{\mathcal{V}} π ′ : V ′ → V by assigning each u ∈ V ′ u\in\mathcal{V}' u ∈ V ′ to an arbitrary node v ~ ∈ V ~ \widetilde{v}\in\widetilde{\mathcal{V}} v ∈ V that satisfies M T B ( u , v ~ ) = 1 \mathbf{M}_{\mathrm{TB}}(u,\widetilde{v})=1 M TB ( u , v ) = 1 .
Step 4: Seeded completion. Initialize a mapping π ^ ← π ′ \widehat{\pi}\leftarrow\pi' π ← π ′ . For each pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) of currently unmatched nodes, let W ( u , v ~ ) W(u,\widetilde{v}) W ( u , v ) denote the number of nodes i i i already matched by π ^ \widehat{\pi} π such that i i i is adjacent to u u u in G G G and π ^ ( i ) \widehat{\pi}(i) π ( i ) is adjacent to v ~ \widetilde{v} v in G ~ \widetilde{G} G , i.e.,
W ( u , v ~ ) : = ∣ { i ∈ V : i is matched in π ^ , u ∈ N ( i ) , v ~ ∈ N ~ ( π ^ ( i ) ) } ∣ . (6) W(u,\widetilde{v}) := \left|\left\{i\in\mathcal{V}:i\text{ is matched in }\widehat{\pi},\ u\in\mathcal{N}(i),\ \widetilde{v}\in\widetilde{\mathcal{N}}(\widehat{\pi}(i))\right\}\right|. \tag*{(6)} W ( u , v ) := { i ∈ V : i is matched in π , u ∈ N ( i ) , v ∈ N ( π ( i )) } . (6)
We complete the mapping π ^ : V → V ~ \widehat{\pi}:\mathcal{V}\to\widetilde{\mathcal{V}} π : V → V by iteratively adding the unmatched pairs. At each iteration, we set π ^ ( u ) = v ~ \widehat{\pi}(u)=\widetilde{v} π ( u ) = v for a currently unmatched pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) that maximizes W ( u , v ~ ) W(u,\widetilde{v}) W ( u , v ) , breaking ties arbitrarily. We then update W W W for all remaining unmatched pairs, and repeat this process until π ^ \widehat{\pi} π is defined on V \mathcal{V} V .
Algorithm 1 TBAlign: Threshold-based alignment algorithm
Input: Two graphs G G G and G ~ \widetilde{G} G , average degree λ \lambda λ , and correlation s s s .
Output: A partial mapping π ′ \pi' π ′ and a complete mapping π ^ \hat{\pi} π ^ defined on V \mathcal{V} V .
▷ Step 1: Local tree evaluation
1: Set d d d , τ \tau τ , ξ \xi ξ , and θ ∗ \theta^* θ ∗ via (2) .
2: Construct local tree collections C \mathcal{C} C and C ~ \widetilde{\mathcal{C}} C , and initialize a 2 ∣ E ∣ × 2 ∣ E ~ ∣ 2|\mathcal{E}| \times2|\widetilde{\mathcal{E}}| 2∣ E ∣ × 2∣ E ∣ zero matrix L ^ \widehat{\mathbf{L}} L .
3: for each pair ( T w ∖ u , T ~ x ~ ∖ v ~ ) ∈ C × C ~ (T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}) \in\mathcal{C} \times\widetilde{\mathcal{C}} ( T w ∖ u , T x ∖ v ) ∈ C × C do
4: if T w ∖ u T_{w\setminus u} T w ∖ u and T ~ x ~ ∖ v ~ \widetilde{T}_{\widetilde{x}\setminus\widetilde{v}} T x ∖ v are both nonempty then
5: L ^ ( T w ∖ u , T ~ x ~ ∖ v ~ ) ← ApproxLR ( [ T w ∖ u ] , [ T ~ x ~ ∖ v ~ ] , λ , s , ξ , d ) \widehat{\mathbf{L}}(T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}) \leftarrow\operatorname{ApproxLR}([T_{w\setminus u}], [\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}}], \lambda, s, \xi, d) L ( T w ∖ u , T x ∖ v ) ← ApproxLR ([ T w ∖ u ] , [ T x ∖ v ] , λ , s , ξ , d ) .
6: end if
7: end for
▷ Step 2: 5-dangling-tree test on witness graphs
8: Initialize M T B ← 0 n × n \mathbf{M}_{\mathrm{TB}} \leftarrow\mathbf{0}_{n\times n} M TB ← 0 n × n .
9: for each pair ( u , v ~ ) ∈ V × V ~ (u,\widetilde{v}) \in\mathcal{V} \times\widetilde{\mathcal{V}} ( u , v ) ∈ V × V do
10: Construct the weighted bipartite witness graph W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) .
11: M T B ( u , v ~ ) ← GreedyMatching ( W ( u , v ~ ) , θ ∗ , 5 ) \mathbf{M}_{\mathrm{TB}}(u,\widetilde{v}) \leftarrow\operatorname{GreedyMatching}(\mathcal{W}(u,\widetilde{v}), \theta^*, 5) M TB ( u , v ) ← GreedyMatching ( W ( u , v ) , θ ∗ , 5 ) .
12: end for
▷ Step 3: Partial mapping construction
13: Initialize a partial mapping π ′ : V ′ → V ~ \pi':\mathcal{V}' \to\widetilde{\mathcal{V}} π ′ : V ′ → V , where V ′ \mathcal{V}' V ′ is given by (5) .
14: for each u ∈ V ′ u \in\mathcal{V}' u ∈ V ′ do
15: Choose an arbitrary v ~ ∈ V ~ \widetilde{v} \in\widetilde{\mathcal{V}} v ∈ V satisfying M T B ( u , v ~ ) = 1 \mathbf{M}_{\mathrm{TB}}(u,\widetilde{v})=1 M TB ( u , v ) = 1 .
16: π ′ ( u ) ← v ~ \pi'(u) \leftarrow\widetilde{v} π ′ ( u ) ← v .
17: end for
▷ Step 4: Seeded completion
18: Initialize a mapping π ^ ← π ′ \hat{\pi} \leftarrow\pi' π ^ ← π ′ .
19: Compute W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) for all currently unmatched pairs ( u , v ~ ) (u,\widetilde{v}) ( u , v ) via (6) .
20: while there exist unmatched nodes in V \mathcal{V} V do
21: Choose an unmatched pair ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) that maximizes W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) under π ^ \hat{\pi} π ^ , breaking ties arbitrarily.
22: π ^ ( u ∗ ) ← v ~ ∗ \hat{\pi}(u^*) \leftarrow\widetilde{v}^* π ^ ( u ∗ ) ← v ∗ .
23: Update W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) for all remaining unmatched pairs.
24: end while
25: return ( π ′ , π ^ ) (\pi',\hat{\pi}) ( π ′ , π ^ ) .
Recovery and Computational Guarantees
The following two theorems establish the recovery and computational guarantees of TBAlign.
Theorem 1 (Recovery guarantees). Consider ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G}) \sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) , where λ = ω ( 1 ) \lambda= \omega(1) λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) \lambda= (\log n)^{O(1)} λ = ( log n ) O ( 1 ) , and s \in(\sqrt[\leftroot{-1}\uproot{2}]{C_{\mathrm{Otter}}},1] is a constant independent of n n n . Then , with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) , the partial mapping π ′ \pi' π ′ output by Algorithm 1 achieves error-free almost-exact recovery. More precisely,
π ′ \pi' π ′ contains no wrong match: π ′ ( u ) = π ( u ) \pi'(u)=\pi(u) π ′ ( u ) = π ( u ) for every node u u u matched under π ′ \pi' π ′ ;
Almost all nodes are matched:
∣ { u ∈ V : u is matched under π ′ } ∣ ≥ n ( 1 − o ( 1 ) ) . (7) \left|\{u\in V:u\text{ is matched under }\pi'\}\right|\ge n(1-o(1)). \tag*{(7)} ∣ { u ∈ V : u is matched under π ′ } ∣ ≥ n ( 1 − o ( 1 )) . (7) Moreover, if λ s ≥ ( 1 + ϵ ) log n \lambda s\ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for some arbitrarily small constant ϵ > 0 \epsilon>0 ϵ > 0 , then the complete mapping π ^ \hat{\pi} π ^ achieves exact recovery, i.e., π ^ = π \hat{\pi}=\pi π ^ = π , with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) .
Proof sketch of Theorem 1. We outline the main ideas of the proof here, and the complete proof is given in Appendix § 8 . To establish the error-free almost-exact recovery of π ′ \pi' π ′ , it suffices to show that the matrix M T B M_{\mathrm{TB}} M TB computed in Step 2 has the following two properties with high probability:
(i) M T B ( u , v ~ ) = 0 M_{\mathrm{TB}}(u,\widetilde{v})=0 M TB ( u , v ) = 0 for every pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) with v ~ ≠ u ~ \widetilde{v}\ne\widetilde{u} v = u ;
(ii) M T B ( u , u ~ ) = 1 M_{\mathrm{TB}}(u,\widetilde{u})=1 M TB ( u , u ) = 1 for all but o ( n ) o(n) o ( n ) nodes u u u .
By (i), Step 3 assigns every node u ∈ V ′ u\in V' u ∈ V ′ to u ~ \widetilde{u} u , so π ′ \pi' π ′ contains no wrong match. By (ii), π ′ \pi' π ′ matches n − o ( n ) n-o(n) n − o ( n ) nodes. For simplicity of presentation, we sketch the proofs of (i) and (ii) for τ = ∞ \tau=\infty τ = ∞ , in which case no degree cutoff is applied. To extend the result to the cutoff τ \tau τ , we show that the cutoff only removes nodes from witness graphs, which creates no wrong match by the monotonicity of greedy matching under node deletion. Moreover, the cutoff changes only o ( n ) o(n) o ( n ) of the witness graphs W ( u , u ~ ) W(u,\widetilde{u}) W ( u , u ) with high probability, as shown in Lemma 16 .
Property (i). We follow the analysis of the 5-dangling-tree test in § 1.2 . In Step 2, every edge ( w , x ~ ) (w,\widetilde{x}) ( w , x ) added by GreedyMatching has weight greater than θ ∗ \theta^* θ ∗ , that is, its local trees pass the correlation test 1 { L ( T w ∖ u , T ~ x ~ ∖ v ~ ) > θ ∗ } \mathbf{1}\{\mathcal{L}(T_{w\setminus u},\widetilde{T}_{\widetilde{x}\setminus\widetilde{v}})>\theta^*\} 1 { L ( T w ∖ u , T x ∖ v ) > θ ∗ } . We define A 1 A_1 A 1 as the event that every pair of local trees that passes the correlation test shares a node in the union graph of G G G and G ~ \widetilde{G} G , and A 2 A_2 A 2 as the event that the union graph contains no connected subgraph with at most 6 d + 6 6d+6 6 d + 6 nodes and two cycles. To bound the probability of A 1 A_1 A 1 , notice that two local trees that share no node are nearly independent, so their probability of passing the correlation test can be bounded using its type-I error. This error is small enough for a union bound over all pairs of local trees, and Lemma 6 shows that A 1 A_1 A 1 holds with high probability. For A 2 A_2 A 2 , we use a first-moment bound on the number of small connected subgraphs with two cycles. The analysis in Lemma 7 shows that A 2 A_2 A 2 fails with probability n − 1 + o ( 1 ) n^{-1+o(1)} n − 1 + o ( 1 ) .
Finally, under A 1 ∩ A 2 A_1\cap A_2 A 1 ∩ A 2 , assume by contradiction that a pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) with v ~ ≠ u ~ \widetilde{v}\ne\widetilde{u} v = u passes the 5-dangling-tree test. Then GreedyMatching adds five edges of W ( u , v ~ ) W(u,\widetilde{v}) W ( u , v ) , and by A 1 A_1 A 1 , the two downstream local trees of each edge share a node in the union graph. Each edge thus yields a path of length at most 2 d + 2 2d+2 2 d + 2 from u u u to v ~ \widetilde{v} v through the shared node. Since the five edges share no endpoint, these five paths include at least three distinct ones, and their union is a connected subgraph with at most 6 d + 6 6d+6 6 d + 6 nodes and two cycles, which contradicts A 2 A_2 A 2 . Hence A 1 ∩ A 2 A_1\cap A_2 A 1 ∩ A 2 implies property (i), and the detailed proof is given in Lemma 5.
Property (ii). Intuitively, for a fixed node u u u , the nodes u u u and u ~ \widetilde{u} u have about λ s \lambda s λ s common neighbors, and the two downstream local trees of each common neighbor are correlated and pass the correlation test with high probability. This implies that ( u , u ~ ) (u,\tilde{u}) ( u , u ~ ) has many neighbor pairs whose local trees pass the correlation test. We define A 3 , u \mathcal{A}_{3,u} A 3 , u as the event that M T B ( u , u ~ ) = 1 \mathrm{M}_{\mathrm{TB}}(u,\tilde{u})=1 M TB ( u , u ~ ) = 1 .
To bound the probability of A 3 , u \mathcal{A}_{3,u} A 3 , u , we only consider the neighbor pairs ( w , w ~ ) (w,\tilde{w}) ( w , w ~ ) formed by the common neighbors w w w of u u u and u ~ \tilde{u} u ~ . We first couple the neighborhoods of u u u and u ~ \tilde{u} u ~ up to depth d + 1 d+1 d + 1 with a correlated tree pair ( H d + 1 , H ~ d + 1 ) (\mathcal{H}_{d+1},\widetilde{\mathcal{H}}_{d+1}) ( H d + 1 , H d + 1 ) drawn from P \mathbb{P} P , and the coupling succeeds with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) . Under this coupling, the number of common neighbors follows Poi ( λ s ) \operatorname{Poi}(\lambda s) Poi ( λ s ) . For each common neighbor w w w , the local trees T w ∖ u \mathcal{T}_{w\setminus u} T w ∖ u and T ~ w ~ ∖ u ~ \widetilde{\mathcal{T}}_{\tilde{w}\setminus\tilde{u}} T w ~ ∖ u ~ form a correlated tree pair of depth d d d , so they pass the correlation test with high probability by Theorem 3. The local tree pairs of different common neighbors are independent and are tested by separate invocations of ApproxLR. By Poisson thinning, the number of common neighbors whose local trees pass the correlation test is at least 9 with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) . Since 9 such neighbor pairs force GreedyMatching to output 1 in whatever order it examines the edges, A 3 , u \mathcal{A}_{3,u} A 3 , u holds with high probability, and the detailed proof is given in Lemma 8. Finally, the expected number of nodes u u u for which A 3 , u \mathcal{A}_{3,u} A 3 , u fails is o ( n ) o(n) o ( n ) , and Markov’s inequality shows that property (ii) holds with high probability.
Exact recovery. Suppose that λ s ≥ ( 1 + ϵ ) log n \lambda s \ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n . Since π ′ \pi' π ′ contains no wrong match, its n − o ( n ) n-o(n) n − o ( n ) matched nodes serve as correct seeds for Step 4. We adapt the seeded graph matching method in [25 ] to our greedy rule, which adds an unmatched pair ( u , v ~ ) (u,\tilde{v}) ( u , v ~ ) maximizing W ( u , v ~ ) W(u,\tilde{v}) W ( u , v ~ ) at each iteration of Step 4. We show that this rule yields π ^ = π \hat{\pi}=\pi π ^ = π with high probability, and the detailed proof is given in Lemma 12 in Appendix § 12 .
Theorem 2 (Computational complexity). Under the assumptions of Theorem 1, for every realization of the input graphs ( G , G ~ ) (G,\widetilde{G}) ( G , G ) and every execution of TBAlign, the computational complexity is
O ( n 2 + ( ∣ E ∣ + ∣ E ~ ∣ + ∣ E ∣ ∣ E ~ ∣ ) n o ( 1 ) ) . (8) O\left(n^2+\left(|\mathcal{E}|+|\widetilde{\mathcal{E}}|+|\mathcal{E}||\widetilde{\mathcal{E}}|\right)n^{o(1)}\right). \tag*{(8)} O ( n 2 + ( ∣ E ∣ + ∣ E ∣ + ∣ E ∣∣ E ∣ ) n o ( 1 ) ) . (8) Moreover, with probability 1 − o ( e − n ) 1-o(e^{-n}) 1 − o ( e − n ) , this complexity is bounded by n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) .
The proof of Theorem 2 bounds the computational complexity of each step of Algorithm 1. The degree cutoff τ \tau τ ensures that every node of a nonempty local tree has at most τ \tau τ children, so each invocation of ApproxLR has computational complexity n o ( 1 ) n^{o(1)} n o ( 1 ) . The proof details are given in Appendix § 9 .
Remark 1 (Rank-based implementation). Following [13 ] , Step 2 of TBAlign can be implemented without specifying θ ∗ \theta^* θ ∗ . We process the entries of L ^ \hat{L} L ^ in non-increasing order, applying the same greedy 5-dangling-tree criterion, until ⌈ n − n / λ ⌉ \lceil n-n/\lambda\rceil ⌈ n − n / λ ⌉ nodes are matched or all entries are examined. The same comparison argument as in [13 ] , Lemma 1 shows that, with high probability, this procedure stops before examining any entry at most θ ∗ \theta^* θ ∗ . Thus, with the same seeded completion step, this implementation retains the recovery guarantees of TBAlign. Sorting costs O ( ∣ E ∣ ∣ E ~ ∣ log n ) O(|\mathcal{E}||\widetilde{\mathcal{E}}|\log n) O ( ∣ E ∣∣ E ∣ log n ) , so the overall time complexity remains n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) with high probability.
Approximate Likelihood-Ratio Testing for Galton-Watson Trees
This section develops an approximate likelihood-ratio test to distinguish correlated Galton-Watson trees from independent ones. The following theorem gives a test Ψ \Psi Ψ with an explicit threshold, type-I error O ( n − 11 ) O(n^{-11}) O ( n − 11 ) , and power 1 − O ( λ − 1 ) 1-O(\lambda^{-1}) 1 − O ( λ − 1 ) .
Theorem 3. Let s ∈ ( C O t t e r , 1 ] s\in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] be a constant independent of n n n , and suppose that λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) with λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . Set
d = ⌊ ( log n ) 1 / 3 ⌋ , θ ∗ = e 1 / 16 n ( log log n ) / 2 , ξ = n − 11 . d=\left\lfloor(\log n)^{1/3}\right\rfloor,\qquad\theta^*=e^{1/16}n^{(\log\log n)/2},\qquad\xi=n^{-11}. d = ⌊ ( log n ) 1/3 ⌋ , θ ∗ = e 1/16 n ( l o g l o g n ) /2 , ξ = n − 11 .
Then the algorithm ApproxLR defined in Algorithm 2 outputs a nonnegative estimate L ^ d ( t , t ~ ) \widehat{L}_d(t,\tilde{t}) L d ( t , t ~ ) for any input ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathcal{Z}_d \times\mathcal{Z}_d ( t , t ~ ) ∈ Z d × Z d and parameters λ \lambda λ , s s s , ξ \xi ξ , d d d . Moreover, the test
Ψ ( t , t ~ ) = 1 { L ^ d ( t , t ~ ) > θ ∗ } (9) \Psi(t,\tilde{t}) = \mathbb{1}\left\{\widehat{L}_d(t,\tilde{t}) > \theta^*\right\} \tag*{(9)} Ψ ( t , t ~ ) = 1 { L d ( t , t ~ ) > θ ∗ } (9)
satisfies
Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ n − ( log log n ) / 2 + n − 11 , (10) \mathbb{Q}\left(\Psi([H_d],[\widetilde{H}_d])=1\right) \leq n^{-(\log\log n)/2}+n^{-11}, \tag*{(10)} Q ( Ψ ([ H d ] , [ H d ]) = 1 ) ≤ n − ( l o g l o g n ) /2 + n − 11 , (10)
P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≥ 1 − 7 λ e 1 / 8 n − ( log log n ) / 2 − n − 11 (11) \mathbb{P}\left(\Psi([H_d],[\widetilde{H}_d])=1\right) \geq1-\frac{7}{\lambda}e^{1/8}n^{-(\log\log n)/2}-n^{-11} \tag*{(11)} P ( Ψ ([ H d ] , [ H d ]) = 1 ) ≥ 1 − λ 7 e 1/8 n − ( l o g l o g n ) /2 − n − 11 (11)
for all sufficiently large n n n .
The remainder of this section is organized as follows. In § 4.1 , we reduce likelihood-ratio computation to a sequence of permanent computations for nonnegative matrices and construct ApproxLR using the fully polynomial randomized approximation scheme (FPRAS) developed by Jerrum, Sinclair, and Vigoda [43 ] , and bound its computational complexity. In § 4.2 , we sketch the proof of Theorem 3. The analysis of ApproxLR is given in Appendix § 11 , and the full proof of Theorem 3 is given in Appendix § 10 .
Efficient Approximation of Local-Tree Likelihood Ratios
This subsection presents the ApproxLR algorithm used to compute the estimate L ^ d \widehat{L}_d L d in Theorem 3. We express the likelihood-ratio recursion in terms of nonnegative matrix permanents and then define ApproxLR.
For finite sets A A A and B B B , let Inj ( A , B ) \operatorname{Inj}(A,B) Inj ( A , B ) denote the set of injective mappings from A A A to B B B . Let c c c and c ~ \tilde{c} c ~ be non-negative integers, and let Z = ( Z i j ) i ∈ [ 1 : c ] , j ∈ [ 1 : c ~ ] \mathbf{Z}=(Z_{ij})_{i\in[1:c],\,j\in[1:\tilde{c}]} Z = ( Z ij ) i ∈ [ 1 : c ] , j ∈ [ 1 : c ~ ] be a nonnegative c × c ~ c\times\tilde{c} c × c ~ matrix. For any integer q ∈ [ 0 : min { c , c ~ } ] q\in[0:\min\{c,\tilde{c}\}] q ∈ [ 0 : min { c , c ~ }] , we define
S q ( Z ) : = 1 q ! ∑ σ ∈ Inj ( [ 1 : q ] , [ 1 : c ] ) σ ~ ∈ Inj ( [ 1 : q ] , [ 1 : c ~ ] ) ∏ a = 1 q Z σ ( a ) , σ ~ ( a ) . (12) S_q(\mathbf{Z}) := \frac{1}{q!}\sum_{\substack{\sigma\in\operatorname{Inj}([1:q],[1:c])\\ \tilde{\sigma}\in\operatorname{Inj}([1:q],[1:\tilde{c}])}}\prod_{a=1}^{q} Z_{\sigma(a),\tilde{\sigma}(a)}. \tag*{(12)} S q ( Z ) := q ! 1 σ ∈ Inj ([ 1 : q ] , [ 1 : c ]) σ ~ ∈ Inj ([ 1 : q ] , [ 1 : c ~ ]) ∑ a = 1 ∏ q Z σ ( a ) , σ ~ ( a ) . (12)
By convention, we set S 0 ( Z ) = 1 S_0(\mathbf{Z})=1 S 0 ( Z ) = 1 . The following lemma expresses the likelihood-ratio recursion from [11 Lemma 2.1] in terms of S q S_q S q .
Lemma 1 (Likelihood-ratio recursion). Let k ≥ 1 k\geq1 k ≥ 1 , λ > 0 \lambda>0 λ > 0 , and s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] . Fix ( t , t ~ ) ∈ Z k × Z k (t,\tilde{t})\in\mathcal{Z}_k\times\mathcal{Z}_k ( t , t ~ ) ∈ Z k × Z k , and let t 1 , … , t c t_1,\ldots,t_c t 1 , … , t c and t ~ 1 , … , t ~ c ~ \tilde{t}_1,\ldots,\tilde{t}_{\tilde{c}} t ~ 1 , … , t ~ c ~ denote the unlabeled subtrees rooted at the children of t t t and t ~ \tilde{t} t ~ , respectively. Define the matrix Z = ( Z i j ) \mathbf{Z}=(Z_{ij}) Z = ( Z ij ) by setting
Z i j : = s λ L k − 1 ( t i , t ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . Z_{ij}:=\frac{s}{\lambda}L_{k-1}(t_i,\tilde{t}_j),\qquad(i,j)\in[1:c]\times[1:\tilde{c}]. Z ij := λ s L k − 1 ( t i , t ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . Then, under the convention 0 0 = 1 0^0=1 0 0 = 1 , we have
L k ( t , t ~ ) = e λ s ∑ q = 0 min { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( Z ) . (13) L_k(t,\tilde{t})=e^{\lambda s}\sum_{q=0}^{\min\{c,\tilde{c}\}}(1-s)^{c+\tilde{c}-2q}S_q(\mathbf{Z}). \tag*{(13)} L k ( t , t ~ ) = e λ s q = 0 ∑ m i n { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( Z ) . (13) Furthermore, for the base case at depth zero, L 0 ( t , t ~ ) = 1 L_0(t,\tilde{t})=1 L 0 ( t , t ~ ) = 1 for the unique pair in Z 0 × Z 0 \mathcal{Z}_0\times\mathcal{Z}_0 Z 0 × Z 0 .
As discussed in § 1.2 , evaluating the sums S q ( Z ) S_q(\mathbf{Z}) S q ( Z ) in this recursion directly has time complexity superpolynomial in n n n when λ \lambda λ is at least of order log n \log n log n . To avoid this cost, we express S q ( Z ) S_q(\mathbf{Z}) S q ( Z ) as the permanent of a nonnegative matrix, which can be approximated by the FPRAS. For an m × m m \times m m × m matrix A \mathbf{A} A , define the permanent of A \mathbf{A} A by
per ( A ) : = ∑ σ ∈ Inj ( [ 1 : m ] , [ 1 : m ] ) ∏ i = 1 m A i , σ ( i ) . \operatorname{per}(\mathbf{A}) := \sum_{\sigma\in\operatorname{Inj}([1:m],[1:m])} \prod_{i=1}^{m} A_{i,\sigma(i)}. per ( A ) := σ ∈ Inj ([ 1 : m ] , [ 1 : m ]) ∑ i = 1 ∏ m A i , σ ( i ) .
Since every injection from [ 1 : m ] [1:m] [ 1 : m ] to itself is a bijection, this sum is taken over all permutations of [ 1 : m ] [1:m] [ 1 : m ] . By convention, we set per ( A ) = 1 \operatorname{per}(\mathbf{A}) = 1 per ( A ) = 1 for m = 0 m = 0 m = 0 . The following lemma expresses S q ( Z ) S_q(\mathbf{Z}) S q ( Z ) as the permanent of an augmented matrix.
Lemma 2 ([45 Theorem 2.1] ). For a nonnegative c × c ~ c \times\tilde{c} c × c ~ matrix Z \mathbf{Z} Z and an integer q ∈ [ 0 : min { c , c ~ } ] q \in[0:\min\{c,\tilde{c}\}] q ∈ [ 0 : min { c , c ~ }] , define the ( c + c ~ − q ) × ( c + c ~ − q ) (c+\tilde{c}-q) \times(c+\tilde{c}-q) ( c + c ~ − q ) × ( c + c ~ − q ) matrix
A q ( Z ) : = ( Z 1 c × ( c − q ) 1 ( c ~ − q ) × c ~ 0 ( c ~ − q ) × ( c − q ) ) , (14) \mathbf{A}_q(\mathbf{Z}) := \begin{pmatrix}
\mathbf{Z} & \mathbf{1}_{c \times(c-q)} \\
\mathbf{1}_{(\tilde{c}-q) \times\tilde{c}} & \mathbf{0}_{(\tilde{c}-q) \times(c-q)}
\end{pmatrix}, \tag*{(14)} A q ( Z ) := ( Z 1 ( c ~ − q ) × c ~ 1 c × ( c − q ) 0 ( c ~ − q ) × ( c − q ) ) , (14) where 1 \mathbf{1} 1 and 0 \mathbf{0} 0 denote matrices of all ones and all zeros whose dimensions are specified by their subscripts. Then we have
S q ( Z ) = per ( A q ( Z ) ) ( c − q ) ! ( c ~ − q ) ! . (15) S_q(\mathbf{Z}) = \frac{\operatorname{per}(\mathbf{A}_q(\mathbf{Z}))}{(c-q)!(\tilde{c}-q)!}. \tag*{(15)} S q ( Z ) = ( c − q )! ( c ~ − q )! per ( A q ( Z )) . (15)
We defer the proofs of Lemmas 1 and 2 to Appendix § 11 .§ 1 . Throughout this subsection, we use Poly to denote a polynomial with fixed nonnegative coefficients and degree independent of the problem parameters. We use the following FPRAS for nonnegative matrix permanents developed by Jerrum, Sinclair, and Vigoda [43 ] .
Lemma 3 (FPRAS Permanent Approximation [43 Theorem 1.1],[46, Corollary 2] ). Let A \mathbf{A} A be a nonnegative m × m m \times m m × m matrix, and let δ , η ∈ ( 0 , 1 2 ) \delta,\eta\in(0,\frac{1}{2}) δ , η ∈ ( 0 , 2 1 ) . There exists a randomized algorithm A p p r o x P e r ( A , δ , η ) \mathit{ApproxPer}(\mathbf{A},\delta,\eta) ApproxPer ( A , δ , η ) that outputs a nonnegative random variable satisfying
P ( ( 1 − δ ) per ( A ) ≤ A p p r o x P e r ( A , δ , η ) ≤ ( 1 + δ ) per ( A ) ) ≥ 1 − η , (16) \mathbb{P}\left((1-\delta)\operatorname{per}(\mathbf{A}) \leq\mathit{ApproxPer}(\mathbf{A},\delta,\eta) \leq(1+\delta)\operatorname{per}(\mathbf{A})\right) \geq1-\eta, \tag*{(16)} P ( ( 1 − δ ) per ( A ) ≤ ApproxPer ( A , δ , η ) ≤ ( 1 + δ ) per ( A ) ) ≥ 1 − η , (16) where the probability is taken over the random choice of A p p r o x P e r \mathit{ApproxPer} ApproxPer . Its time complexity is bounded by Poly ( m , δ − 1 , log ( η − 1 ) ) \operatorname{Poly}(m,\delta^{-1},\log(\eta^{-1})) Poly ( m , δ − 1 , log ( η − 1 )) .
Remark 2 (Independent executions). The algorithm in Lemma 3 can be viewed as a deterministic function A p p r o x P e r ( A , δ , η ; R ) \mathit{ApproxPer}(\mathbf{A},\delta,\eta;R) ApproxPer ( A , δ , η ; R ) , where R R R is a sequence of independent unbiased random bits [43 Section 2.1] . These bits supply all randomness used by the algorithm, including the random choices in its Markov chain simulations; fixing them therefore makes the algorithm deterministic. Throughout this paper, each execution uses a fresh sequence of random bits, independent of its input matrix and all randomness used by preceding executions. Consequently, for independent random matrices A , B \mathbf{A},\mathbf{B} A , B and fixed δ , η \delta,\eta δ , η , the outputs A p p r o x P e r ( A , δ , η ; R 1 ) \mathit{ApproxPer}(\mathbf{A},\delta,\eta;R_1) ApproxPer ( A , δ , η ; R 1 ) and A p p r o x P e r ( B , δ , η ; R 2 ) \mathit{ApproxPer}(\mathbf{B},\delta,\eta;R_2) ApproxPer ( B , δ , η ; R 2 ) are independent, since they are deterministic functions of the independent pairs ( A , R 1 ) (\mathbf{A},R_1) ( A , R 1 ) and ( B , R 2 ) (\mathbf{B},R_2) ( B , R 2 ) , respectively.
We now define the algorithm ApproxLR for a fixed pair of trees ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathcal{Z}_d \times\mathcal{Z}_d ( t , t ~ ) ∈ Z d × Z d with parameters λ > 0 \lambda> 0 λ > 0 , s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , d ≥ 0 d \geq0 d ≥ 0 and an error tolerance ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) . Let ρ \rho ρ and ρ ~ \tilde{\rho} ρ ~ denote their respective roots. For j ∈ [ 0 : d ] j \in[0:d] j ∈ [ 0 : d ] , let S j ( t ) S_j(t) S j ( t ) and S j ( t ~ ) S_j(\tilde{t}) S j ( t ~ ) denote the sets of vertices at depth j j j in t t t and t ~ \tilde{t} t ~ , respectively. For each h ∈ [ 0 : d ] h \in[0:d] h ∈ [ 0 : d ] and vertices u ∈ S d − h ( t ) u \in S_{d-h}(t) u ∈ S d − h ( t ) and v ~ ∈ S d − h ( t ~ ) \tilde{v} \in S_{d-h}(\tilde{t}) v ~ ∈ S d − h ( t ~ ) , let t u t_u t u and t v ~ t_{\tilde{v}} t v ~ denote the subtrees in Z h \mathcal{Z}_h Z h rooted at u u u and v ~ \tilde{v} v ~ , respectively. Let Ch t ( u ) \operatorname{Ch}_t(u) Ch t ( u ) denote the set of children of u u u in t t t , and define Ch t ~ ( v ~ ) \operatorname{Ch}_{\tilde{t}}(\tilde{v}) Ch t ~ ( v ~ ) analogously. The algorithm proceeds in the following steps.
D : = max { 2 , max u ∈ V ( t ) ∣ Ch t ( u ) ∣ , max v ~ ∈ V ( t ~ ) ∣ Ch t ~ ( v ~ ) ∣ } (17) D := \max\left\{2,\max_{u\in V(t)}\lvert\operatorname{Ch}_{t}(u)\rvert,\max_{\tilde{v}\in V(\tilde{t})}\lvert\operatorname{Ch}_{\tilde{t}}(\tilde{v})\rvert\right\} \tag*{(17)} D := max { 2 , u ∈ V ( t ) max ∣ Ch t ( u )∣ , v ~ ∈ V ( t ~ ) max ∣ Ch t ~ ( v ~ )∣ } (17)
and set
δ : = 1 64 D d , η : = ξ ( D + 1 ) ∑ j = 0 d D 2 j . (18) \delta:= \frac{1}{64D^{d}}, \qquad\eta:= \frac{\xi}{(D+1)\sum_{j=0}^{d}D^{2j}}. \tag*{(18)} δ := 64 D d 1 , η := ( D + 1 ) ∑ j = 0 d D 2 j ξ . (18)
These parameters are computed once and remain fixed globally; they are not recomputed for individual subtrees.
Step 2: Initialize at remaining depth 0. For every pair ( u , v ~ ) ∈ S d ( t ) × S d ( t ~ ) (u,\tilde{v})\in S_{d}(t)\times S_{d}(\tilde{t}) ( u , v ~ ) ∈ S d ( t ) × S d ( t ~ ) , set
ℓ ^ ( u , v ~ ) ← 1. (19) \widehat{\ell}(u,\tilde{v})\leftarrow1. \tag*{(19)} ℓ ( u , v ~ ) ← 1. (19)
If either S d ( t ) S_{d}(t) S d ( t ) or S d ( t ~ ) S_{d}(\tilde{t}) S d ( t ~ ) is empty, no initialization occurs at this depth.
Step 3: Recursive Calculation. For h = 1 , … , d h=1,\ldots,d h = 1 , … , d and every pair ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v})\in S_{d-h}(t)\times S_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) , compute ℓ ^ ( u , v ~ ) \widehat{\ell}(u,\tilde{v}) ℓ ( u , v ~ ) as follows. Enumerate the child sets as Ch t ( u ) = { y 1 , … , y c } \operatorname{Ch}_{t}(u)=\{y_{1},\ldots,y_{c}\} Ch t ( u ) = { y 1 , … , y c } and Ch t ~ ( v ~ ) = { y ~ 1 , … , y ~ c ~ } \operatorname{Ch}_{\tilde{t}}(\tilde{v})=\{\tilde{y}_{1},\ldots,\tilde{y}_{\tilde{c}}\} Ch t ~ ( v ~ ) = { y ~ 1 , … , y ~ c ~ } , and construct the c × c ~ c\times\tilde{c} c × c ~ matrix Z ^ ( u , v ~ ) \widehat{Z}(u,\tilde{v}) Z ( u , v ~ ) by setting
Z ^ ( u , v ~ ) i j : = s λ ℓ ^ ( y i , y ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . (20) \widehat{Z}(u,\tilde{v})_{ij}:=\frac{s}{\lambda}\widehat{\ell}(y_{i},\tilde{y}_{j}),\qquad(i,j)\in[1:c]\times[1:\tilde{c}]. \tag*{(20)} Z ( u , v ~ ) ij := λ s ℓ ( y i , y ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . (20)
Set S ^ 0 ( u , v ~ ) = 1 \widehat{S}_{0}(u,\tilde{v})=1 S 0 ( u , v ~ ) = 1 . For each q ∈ [ 1 : min { c , c ~ } ] q\in[1:\min\{c,\tilde{c}\}] q ∈ [ 1 : min { c , c ~ }] , construct matrix A q ( Z ^ ( u , v ~ ) ) A_{q}(\widehat{Z}(u,\tilde{v})) A q ( Z ( u , v ~ )) according to (14), and compute
S ^ q ( u , v ~ ) : = ApproxPer ( A q ( Z ^ ( u , v ~ ) ) , δ , η ) ( c − q ) ! ( c ~ − q ) ! . (21) \widehat{S}_{q}(u,\tilde{v}):=\frac{\operatorname{ApproxPer}(A_{q}(\widehat{Z}(u,\tilde{v})),\delta,\eta)}{(c-q)!(\tilde{c}-q)!}. \tag*{(21)} S q ( u , v ~ ) := ( c − q )! ( c ~ − q )! ApproxPer ( A q ( Z ( u , v ~ )) , δ , η ) . (21)
Here, ApproxPer is the randomized algorithm in Lemma 3. Finally, set
ℓ ^ ( u , v ~ ) ← e λ s ∑ q = 0 min { c , c ~ } ( 1 − s ) c + c ~ − 2 q S ^ q ( u , v ~ ) , (22) \widehat{\ell}(u,\tilde{v})\leftarrow e^{\lambda s}\sum_{q=0}^{\min\{c,\tilde{c}\}}(1-s)^{c+\tilde{c}-2q}\widehat{S}_{q}(u,\tilde{v}), \tag*{(22)} ℓ ( u , v ~ ) ← e λ s q = 0 ∑ m i n { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( u , v ~ ) , (22)
where we maintain the convention 0 0 = 1 0^{0}=1 0 0 = 1 .
Step 4: Return the root entry. Output ℓ ^ ( ρ , ρ ~ ) \widehat{\ell}(\rho,\tilde{\rho}) ℓ ( ρ , ρ ~ ) for roots ( ρ , ρ ~ ) (\rho,\tilde{\rho}) ( ρ , ρ ~ ) :
L ^ d ( t , t ~ ) : = ℓ ^ ( ρ , ρ ~ ) . (23) \widehat{L}_{d}(t,\tilde{t}):=\widehat{\ell}(\rho,\tilde{\rho}). \tag*{(23)} L d ( t , t ~ ) := ℓ ( ρ , ρ ~ ) . (23)
The procedures are summarized in Algorithm 2. When d = 0 d=0 d = 0 , it returns 1 by Step 2. For a positive depth, a pair of vertices with no children has value e λ s e^{\lambda s} e λ s by Step 3, which gives the same likelihood-ratio as the recursion (13). Following Remark 2, for fixed λ \lambda λ , s s s , d d d , ξ \xi ξ , the output of the i i i -th execution of ApproxLR is a deterministic function of its input tree pair ( T i , T ~ i ) (T_i,\tilde{T}_i) ( T i , T ~ i ) and the collection R i \mathcal{R}_i R i of independent random-bit sequences supplying all randomness used by its calls to ApproxPer. These collections R i \mathcal{R}_i R i are mutually independent across executions and jointly independent of all input tree pairs. Consequently, mutually independent input tree pairs ( T i , T ~ i ) (T_i,\tilde{T}_i) ( T i , T ~ i ) yield mutually independent outputs, since these outputs are deterministic functions of the mutually independent triples ( T i , T ~ i , R i ) (T_i,\tilde{T}_i,\mathcal{R}_i) ( T i , T ~ i , R i ) . The following lemma shows that the computational complexity of ApproxLR is polynomial in D d D^d D d and log ( ξ − 1 ) \log(\xi^{-1}) log ( ξ − 1 ) . Its proof is presented in Appendix § 11 .§ 3 .
Lemma 4 (Computational complexity of ApproxLR). Let λ > 0 \lambda> 0 λ > 0 , s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) , and let d ≥ 1 d \ge1 d ≥ 1 be an integer. For a fixed pair ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathbb{Z}_d \times\mathbb{Z}_d ( t , t ~ ) ∈ Z d × Z d , let D D D be the parameter defined in (17) . The computational complexity of Algorithm 2 with parameters λ \lambda λ , s s s , ξ \xi ξ , and d d d is
( D + 1 ) ∑ j = 0 d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . (24) (D+1)\sum_{j=0}^{d}D^{2j}\operatorname{Poly}\left(D,D^d,\log(\xi^{-1})+(d+1)\log D\right). \tag*{(24)} ( D + 1 ) j = 0 ∑ d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . (24) In particular, if ξ = n − 11 \xi=n^{-11} ξ = n − 11 and D d = n o ( 1 ) D^d=n^{o(1)} D d = n o ( 1 ) , then the computational complexity is n o ( 1 ) n^{o(1)} n o ( 1 ) .
Algorithm 2 ApproxLR: likelihood-ratio approximation for one tree pair
Input: (t, t̃) ∈ ℤ_d × ℤ_d, λ > 0, s ∈ (0, 1], ξ ∈ (0, 1/2), integer d ≥ 0.
Output: The nonnegative approximation L̂_d(t, t̃).
1: Compute D, δ, and η by (17) and (18).
2: For every pair (u, ṽ) ∈ S_d(t) × S_d(t̃), set ℓ̂(u, ṽ) ← 1 by (19).
3: for h = 1, . . . , d do
4: for each (u, ṽ) ∈ S_{d−h}(t) × S_{d−h}(t̃) do
5: Enumerate the children of u and ṽ as {y₁, . . . , y_c} and {ỹ₁, . . . , ỹ_c̃}, respectively.
6: Form Ẑ(u, ṽ) by (20).
7: Set Ŝ₀(u, ṽ) ← 1.
8: for q = 1, . . . , min{c, c̃} do
9: Form A_q(Ẑ(u, ṽ)) by (14).
10: Compute Ŝ_q(u, ṽ) by (21).
11: end for
12: Compute ℓ̂(u, ṽ) by (22).
13: end for
14: end for
15: return L̂_d(t, t̃) := ℓ̂(ρ, ρ̃).
Proof sketch of Theorem 3.
We outline the main ideas of the proof here, and the complete proof is given in Appendix § 10 . The proof is based on a lower bound of the power in a likelihood-ratio test at every threshold θ \theta θ in terms of the errors of another test. Let Φ : Z d × Z d → { 0 , 1 } \Phi: \mathbb{Z}_d \times\mathbb{Z}_d \to\{0,1\} Φ : Z d × Z d → { 0 , 1 } be a test on pairs of rooted unlabeled trees of depth at most d d d , and let θ > 0 \theta> 0 θ > 0 be a real number. Since L d L_d L d is the ratio of P \mathbb{P} P to Q \mathbb{Q} Q , every tree pair ( t , t ~ ) (t,\tilde{t}) ( t , t ~ ) with L d ( t , t ~ ) ≤ θ L_d(t,\tilde{t}) \le\theta L d ( t , t ~ ) ≤ θ has
P ( [ H d ] = t , [ H ~ d ] = t ~ ) ≤ θ Q ( [ H d ] = t , [ H ~ d ] = t ~ ) . (25) \mathbb{P}([\mathcal{H}_d]=t,[\widetilde{\mathcal{H}}_d]=\tilde{t}) \le\theta\mathbb{Q}([\mathcal{H}_d]=t,[\widetilde{\mathcal{H}}_d]=\tilde{t}). \tag*{(25)} P ([ H d ] = t , [ H d ] = t ~ ) ≤ θ Q ([ H d ] = t , [ H d ] = t ~ ) . (25)
The power of the likelihood ratio test 1 { L d ( [ H d ] , [ H ~ d ] ) ≤ θ } \mathbf{1}\{L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d]) \le\theta\} 1 { L d ([ H d ] , [ H d ]) ≤ θ } can be bounded by applying (25) and summing over the tree pairs accepted by Φ \Phi Φ , i.e.,
P ( L d ( [ H d ] , [ H ~ d ] ) ≤ θ ) ≤ P ( Φ ( [ H d ] , [ H ~ d ] ) = 0 ) + P ( L d ( [ H d ] , [ H ~ d ] ) ≤ θ , Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ P ( Φ ( [ H d ] , [ H ~ d ] ) = 0 ) + θ Q ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) . (26) \begin{aligned}
\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d]) \le\theta\right)
&\le\mathbb{P}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=0\right) \\
&\quad+\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d]) \le\theta,\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right) \\
&\le\mathbb{P}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=0\right)
+\theta\mathbb{Q}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right). \tag*{(26)}
\end{aligned} P ( L d ([ H d ] , [ H d ]) ≤ θ ) ≤ P ( Φ ([ H d ] , [ H d ]) = 0 ) + P ( L d ([ H d ] , [ H d ]) ≤ θ , Φ ([ H d ] , [ H d ]) = 1 ) ≤ P ( Φ ([ H d ] , [ H d ]) = 0 ) + θ Q ( Φ ([ H d ] , [ H d ]) = 1 ) . (26)
Inequality (26) shows that the likelihood-ratio test 1 { L d > θ } \mathbf{1}\{L_d > \theta\} 1 { L d > θ } has power close to 1 if Φ \Phi Φ has power close to 1 and type-I error o ( θ − 1 ) o(\theta^{-1}) o ( θ − 1 ) . We next construct such a test Φ \Phi Φ and reduce the error events of Ψ \Psi Ψ to events of L d L_d L d , by analyzing the approximation error of L ^ d \widehat{L}_d L d .
Auxiliary test. Following [13 ] , we construct such an auxiliary test Φ \Phi Φ based on a collection F d − l \mathcal{F}_{d-l} F d − l of tree pairs of depth d − l d-l d − l , where l = ⌈ 2 log log n ⌉ l=\lceil2\log\log n\rceil l = ⌈ 2 log log n ⌉ . Given a tree pair ( t , t ~ ) (t,\tilde{t}) ( t , t ~ ) of depth d d d , we form a bipartite graph between the nodes in generation l l l of t t t and those of t ~ \tilde{t} t ~ . A node of t t t and a node of t ~ \tilde{t} t ~ are adjacent in the bipartite graph if the pair of subtrees rooted at them lies in F d − l \mathcal{F}_{d-l} F d − l . The test Φ \Phi Φ accepts ( t , t ~ ) (t,\tilde{t}) ( t , t ~ ) if this bipartite graph has a matching of size at least ( λ s ) l / ( 2 e ) (\lambda s)^l/(2e) ( λ s ) l / ( 2 e ) . We show that Φ \Phi Φ has type-I error at most n − log log n n^{-\log\log n} n − l o g l o g n and power at least 1 − 7 λ 1-\frac{7}{\lambda} 1 − λ 7 . By (26) , these two bounds imply that the likelihood-ratio test 1 { L d > θ } \mathbb{1}\{L_d>\theta\} 1 { L d > θ } has power at least 1 − 7 λ − θ n − log log n 1-\frac{7}{\lambda}-\theta n^{-\log\log n} 1 − λ 7 − θ n − l o g l o g n for every θ > 0 \theta>0 θ > 0 . The construction of Φ \Phi Φ and the detailed proof of these two bounds are given in Appendix C.1.
Approximation of L d L_d L d by L ^ d \widehat{L}_d L d . The power bound above holds for the likelihood-ratio test 1 { L d > θ } \mathbb{1}\{L_d>\theta\} 1 { L d > θ } , whereas the test Ψ \Psi Ψ in Theorem 3 thresholds the estimate L ^ d \widehat{L}_d L d of L d L_d L d . To relate the two tests, we first show that L ^ d \widehat{L}_d L d is close to L d L_d L d . ApproxLR computes L ^ d \widehat{L}_d L d from the leaves to the root through the recursion in Lemma 1, and uses the FPRAS at every level to approximate the permanents with a relative error δ \delta δ and error probability at most η \eta η . Both the approximation error and the failure probability accumulate over the levels. We show that the choice δ = 1 / ( 64 D d ) \delta=1/(64D^d) δ = 1/ ( 64 D d ) in Step 1 compensates for this error accumulation and keeps L ^ d \widehat{L}_d L d within a factor e ± 1 / 16 e^{\pm1/16} e ± 1/16 of L d L_d L d . The failure probabilities add up over all calls, whose number is polynomial in D d D^d D d , and the choice of η \eta η keeps their sum at most ξ = n − 11 \xi=n^{-11} ξ = n − 11 . Hence, conditioned on any input pair, L ^ d \widehat{L}_d L d lies between e − 1 / 16 L d e^{-1/16}L_d e − 1/16 L d and e 1 / 16 L d e^{1/16}L_d e 1/16 L d with probability at least 1 − n − 11 1-n^{-11} 1 − n − 11 . The detailed proof is given in Appendix D.2.
Type-I error and power of Ψ \Psi Ψ . Since L ^ d \widehat{L}_d L d is close to L d L_d L d , we can reduce the error events of Ψ \Psi Ψ to events of L d L_d L d . Specifically, when L ^ d \widehat{L}_d L d lies between e − 1 / 16 L d e^{-1/16}L_d e − 1/16 L d and e 1 / 16 L d e^{1/16}L_d e 1/16 L d , the event Ψ = 1 \Psi=1 Ψ = 1 implies L d > e − 1 / 16 θ L_d>e^{-1/16}\theta L d > e − 1/16 θ , and the event Ψ = 0 \Psi=0 Ψ = 0 implies L d ≤ e 1 / 16 θ ∗ L_d\le e^{1/16}\theta^* L d ≤ e 1/16 θ ∗ . It remains to bound the probabilities of these two events of L d L_d L d under Q \mathbb{Q} Q and P \mathbb{P} P , respectively.
Throughout the analysis, L d L_d L d and Φ \Phi Φ are evaluated at the random tree pair ( [ H d ] , [ H ~ d ] ) ([H_d],[\widetilde{H}_d]) ([ H d ] , [ H d ]) . For the type-I error, notice that L d L_d L d has expectation one under Q \mathbb{Q} Q because it is the likelihood ratio of P \mathbb{P} P to Q \mathbb{Q} Q . Markov’s inequality then gives Q ( L d > e − 1 / 16 θ ∗ ) ≤ e 1 / 16 / θ ∗ \mathbb{Q}(L_d>e^{-1/16}\theta^*)\le e^{1/16}/\theta^* Q ( L d > e − 1/16 θ ∗ ) ≤ e 1/16 / θ ∗ . For the power, we apply (26) with θ = e 1 / 16 θ ∗ \theta=e^{1/16}\theta^* θ = e 1/16 θ ∗ and obtain
P ( L d ≤ e 1 / 16 θ ∗ ) ≤ P ( Φ = 0 ) + e 1 / 16 θ ∗ Q ( Φ = 1 ) ≤ 7 λ + e 1 / 16 θ ∗ n − log log n , \mathbb{P}(L_d\le e^{1/16}\theta^*)\le\mathbb{P}(\Phi=0)+e^{1/16}\theta^*\mathbb{Q}(\Phi=1)\le\frac{7}{\lambda}+e^{1/16}\theta^*n^{-\log\log n}, P ( L d ≤ e 1/16 θ ∗ ) ≤ P ( Φ = 0 ) + e 1/16 θ ∗ Q ( Φ = 1 ) ≤ λ 7 + e 1/16 θ ∗ n − l o g l o g n ,
where the last inequality follows from the two bounds on Φ \Phi Φ . Since the type-I error bound decreases in θ ∗ \theta^* θ ∗ while the last term of the display increases in θ ∗ \theta^* θ ∗ , we choose θ ∗ = e 1 / 16 n ( log log n ) / 2 \theta^*=e^{1/16}n^{(\log\log n)/2} θ ∗ = e 1/16 n ( l o g l o g n ) /2 to make both of order n − ( log log n ) / 2 n^{-(\log\log n)/2} n − ( l o g l o g n ) /2 . Finally, adding the failure probability n − 11 n^{-11} n − 11 of the approximation to both bounds yields (10) and (11). The detailed proof of both error bounds is given in Appendix C.2.
Conclusion
We proposed a near-quadratic-time algorithm for graph matching in the correlated Erdős–Rényi graph pair model CER ( n , λ , s ) \operatorname{CER}(n,\lambda,s) CER ( n , λ , s ) . For every constant s > C O t t e r s>\sqrt{C_{\mathrm{Otter}}} s > C Otter and every λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) with λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) , our algorithm achieves error-free almost-exact recovery with high probability, and it achieves exact recovery with high probability if in addition λ s ≥ ( 1 + ϵ ) log n \lambda s\ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for a constant ϵ > 0 \epsilon>0 ϵ > 0 . In both cases, its time complexity is n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) with high probability. Our results on tree correlation test are also of independent interest. We proposed the randomized algorithm ApproxLR , which approximates the likelihood ratio of every pair of trees within a constant factor with high probability; for trees of depth d d d whose nodes have at most D D D children, its time complexity is polynomial in D d D^d D d . Based on this approximation, we proposed a test with an explicit threshold, which has type-I error O ( n − 11 ) O(n^{-11}) O ( n − 11 ) and power 1 − O ( 1 / λ ) 1-O(1/\lambda) 1 − O ( 1/ λ ) for every diverging λ \lambda λ with λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) .
The analysis of our algorithm separates the properties of the graphs from those of the correlation test. The 5-dangling-tree test excludes every wrong match as long as every pair of local trees that passes the correlation test shares a node in the union graph and the union graph contains no small connected subgraph with two cycles. In CER ( n , λ , s ) \operatorname{CER}(n,\lambda,s) CER ( n , λ , s ) , both conditions hold with high probability. We therefore expect our approach to extend to other correlated graph models in which the local neighborhoods are close in distribution to pairs of correlated trees, such as correlated stochastic block models [32 , 33 , 34 ] and attributed graph models [36 , 37 , 38 , 39 ] .
Funding Acknowledgements
This work was supported in part by U.S. National Science Foundation (NSF) under grants 2207548 and 2324769; and AFOSR grant FA9550-24-1-0002. The work of Ziao Wang was also supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC) under grant CPRA-609642-2026.
AI Methodology Statement
During the preparation of this paper, we used ChatGPT to assist in understanding results in cited papers, checking our proofs for potential errors, and improving the clarity of the writing. The main ideas and arguments underlying the proofs were developed by the authors. We take full responsibility for the content of the paper and the correctness of its results.
Proof of Theorem 1
In this appendix, we present the detailed proof of Theorem 1, which is restated below.
Theorem 1 (Recovery guarantees). Consider ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G}) \sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) , where λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) , and s ∈ ( C O t t e r , 1 ] s \in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] is a constant independent of n n n . Then, with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) , the partial mapping π ′ \pi' π ′ output by Algorithm 1 achieves error-free almost-exact recovery. More precisely,
π ′ \pi' π ′ contains no wrong match: π ′ ( u ) = π ( u ) \pi'(u)=\pi(u) π ′ ( u ) = π ( u ) for every node u u u matched under π ′ \pi' π ′ ;
Almost all nodes are matched:
∣ { u ∈ V : u is matched under π ′ } ∣ ≥ n ( 1 − o ( 1 ) ) . (27) \left|\{u \in V:u\text{ is matched under }\pi'\}\right| \ge n(1-o(1)). \tag*{(27)} ∣ { u ∈ V : u is matched under π ′ } ∣ ≥ n ( 1 − o ( 1 )) . (27) Moreover, if λ s ≥ ( 1 + ϵ ) log n \lambda s \ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for some arbitrarily small constant ϵ > 0 \epsilon>0 ϵ > 0 , then the complete mapping π ^ \hat{\pi} π ^ achieves exact recovery, i.e., π ^ = π \hat{\pi}=\pi π ^ = π , with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) .
Appendices A.1 and A.2 analyze the matrix M T B M_{\mathrm{TB}} M TB computed in Step 2 of Algorithm 1, first without the degree cutoff and then with the cutoff τ \tau τ in (2) . The lemmas used in this analysis are proved in Appendix § 8 .§ 3 . Appendix § 8 .§ 4 combines this analysis with the seeded completion in Appendix § 12 to prove Theorem 1.
Step 1. Analysis with τ = ∞ \tau=\infty τ = ∞
Let M T B ∞ M_{\mathrm{TB}}^{\infty} M TB ∞ denote the matching matrix under TBAlign with τ = ∞ \tau=\infty τ = ∞ , and W ∞ ( u , v ~ ) W^{\infty}(u,\widetilde{v}) W ∞ ( u , v ) denote the witness graph for the vertex pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) under τ = ∞ \tau=\infty τ = ∞ . Let G ‾ \overline{G} G denote the union graph of G G G and G ~ \widetilde{G} G . We use the bar notation to distinguish the notations associated with G ‾ \overline{G} G . More specifically, V ‾ : = [ n ] \overline{V}:=[n] V := [ n ] and E ‾ : = E ∪ { ( i , j ) : ( π ( i ) , π ( j ) ) ∈ E ~ } \overline{E}:=E\cup\{(i,j):(\pi(i),\pi(j))\in\widetilde{E}\} E := E ∪ {( i , j ) : ( π ( i ) , π ( j )) ∈ E } are the node set and the edge set of G ‾ \overline{G} G , respectively. Moreover, u u u , u ~ \widetilde{u} u , and u ‾ \overline{u} u represent the same node but in different graphs G G G , G ~ \widetilde{G} G , and G ‾ \overline{G} G , respectively, and V ‾ ( H ) \overline{V}(H) V ( H ) denotes the set of nodes of G ‾ \overline{G} G that represent the nodes of a subgraph H H H of G G G or G ~ \widetilde{G} G . Recall that Ψ ( [ T ] , [ T ~ ] ) = 1 { L ~ ( T , T ~ ) > θ ∗ } \Psi([T],[\widetilde{T}])=\mathbb{1}\{\widetilde{L}(T,\widetilde{T})>\theta^*\} Ψ ([ T ] , [ T ]) = 1 { L ( T , T ) > θ ∗ } for a pair of local trees ( T , T ~ ) (T,\widetilde{T}) ( T , T ) , where L ~ \widetilde{L} L is defined in Step 1 of Algorithm 1. We define
A 1 : = { ∄ ( T w \ u ∞ , T ~ x ~ \ v ~ ∞ ) ∈ C d ∞ × C ~ d ∞ such that Ψ ( [ T w \ u ∞ ] , [ T ~ x ~ \ v ~ ∞ ] ) = 1 and V ‾ ( T w \ u ∞ ) ∩ V ‾ ( T ~ x ~ \ v ~ ∞ ) = ∅ } . (28) \mathcal{A}_1:=\left\{\nexists(T^\infty_{w\backslash u},\widetilde{T}^\infty_{\widetilde{x}\backslash\widetilde{v}})\in C_d^\infty\times\widetilde{C}_d^\infty\text{ such that }\Psi([T^\infty_{w\backslash u}],[\widetilde{T}^\infty_{\widetilde{x}\backslash\widetilde{v}}])=1\text{ and }\overline{V}(T^\infty_{w\backslash u})\cap\overline{V}(\widetilde{T}^\infty_{\widetilde{x}\backslash\widetilde{v}})=\varnothing\right\}. \tag*{(28)} A 1 := { ∄ ( T w \ u ∞ , T x \ v ∞ ) ∈ C d ∞ × C d ∞ such that Ψ ([ T w \ u ∞ ] , [ T x \ v ∞ ]) = 1 and V ( T w \ u ∞ ) ∩ V ( T x \ v ∞ ) = ∅ } . (28)
and A 2 \mathcal{A}_2 A 2 as the event that there exists no subgraph S ‾ \overline{S} S of G ‾ \overline{G} G that satisfies the following two properties:
∣ V ‾ ( S ‾ ) ∣ < ∣ E ‾ ( S ‾ ) ∣ |\overline{V}(\overline{S})|<|\overline{E}(\overline{S})| ∣ V ( S ) ∣ < ∣ E ( S ) ∣ ;
∣ V ‾ ( S ‾ ) ∣ ≤ 6 d + 6 |\overline{V}(\overline{S})|\le6d+6 ∣ V ( S ) ∣ ≤ 6 d + 6 .
Lemma 5 states that the event A 1 ∩ A 2 \mathcal{A}_1\cap\mathcal{A}_2 A 1 ∩ A 2 implies that TBAlign does not output any wrong matches. Lemmas 6 and 7 state that these two events both happen with high probability. These three lemmas together imply
P ( M T B ∞ ( u , v ~ ) = 0 , for all pairs ( u , v ~ ) such that v ~ ≠ u ~ ) = 1 − O ~ ( n − 1 / 3 ) . (29) \mathbb{P}\left(M_{\mathrm{TB}}^\infty(u,\widetilde{v})=0,\text{ for all pairs }(u,\widetilde{v})\text{ such that }\widetilde{v}\ne\widetilde{u}\right)=1-\widetilde{O}(n^{-1/3}). \tag*{(29)} P ( M TB ∞ ( u , v ) = 0 , for all pairs ( u , v ) such that v = u ) = 1 − O ( n − 1/3 ) . (29)
For a vertex u u u in G G G , define
A 3 , u : = { GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 1 } . (30) \mathcal{A}_{3,u}:=\{\operatorname{GreedyMatching}(W^\infty(u,\widetilde{u}),\theta^*,5)=1\}. \tag*{(30)} A 3 , u := { GreedyMatching ( W ∞ ( u , u ) , θ ∗ , 5 ) = 1 } . (30)
This is the event that TBAlign correctly matches u u u with u ~ \widetilde{u} u , and Lemma 8 states that this event happens with high probability. Let X ∞ : = ∑ u ∈ V 1 { M T B ∞ ( u , u ~ ) = 1 } X^\infty:= \sum_{u \in\mathcal{V}} \mathbb{1}\{M_{\mathrm{TB}}^\infty(u,\widetilde{u})=1\} X ∞ := ∑ u ∈ V 1 { M TB ∞ ( u , u ) = 1 } . It follows by Lemma 8 that
E [ n − X ∞ ] = O ( n exp ( − λ s 2 ) + n ) . (31) \mathbb{E}[n-X^\infty]=O\left(n\exp\left(-\frac{\lambda s}{2}\right)+\sqrt{n}\right). \tag*{(31)} E [ n − X ∞ ] = O ( n exp ( − 2 λ s ) + n ) . (31)
By Markov’s inequality,
P ( n − X ∞ ≥ n exp ( − λ s 4 ) + n 3 / 4 ) = O ( exp ( − λ s 4 ) + n − 1 / 4 ) , \mathbb{P}\left(n-X^\infty\geq n\exp\left(-\frac{\lambda s}{4}\right)+n^{3/4}\right)=O\left(\exp\left(-\frac{\lambda s}{4}\right)+n^{-1/4}\right), P ( n − X ∞ ≥ n exp ( − 4 λ s ) + n 3/4 ) = O ( exp ( − 4 λ s ) + n − 1/4 ) ,
which further implies
P ( X ∞ ≤ n − n exp ( − λ s 4 ) − n 3 / 4 ) = O ( exp ( − λ s 4 ) + n − 1 / 4 ) . (32) \mathbb{P}\left(X^\infty\leq n-n\exp\left(-\frac{\lambda s}{4}\right)-n^{3/4}\right)=O\left(\exp\left(-\frac{\lambda s}{4}\right)+n^{-1/4}\right). \tag*{(32)} P ( X ∞ ≤ n − n exp ( − 4 λ s ) − n 3/4 ) = O ( exp ( − 4 λ s ) + n − 1/4 ) . (32)
Step 2. Analysis with the Degree Cutoff τ \tau τ
We now reduce τ \tau τ to the actual value given in (2). Recall that M T B M_{\mathrm{TB}} M TB is the matching matrix computed in Step 2 of Algorithm 1. We couple Algorithm 1 with τ = ∞ \tau=\infty τ = ∞ and with the actual τ \tau τ as follows. For each pair of nonempty local trees that is the same for τ = ∞ \tau=\infty τ = ∞ and for the actual τ \tau τ , the two executions of ApproxLR that compute its entries of L ^ \widehat{L} L use the same collection of random bits, so the two entries are equal by Remark 2. We also let GreedyMatching examine the edges of W ∞ ( u , v ~ ) \mathcal{W}^\infty(u,\widetilde{v}) W ∞ ( u , v ) and W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) in the same order. We define B \mathcal{B} B (resp. B ~ \widetilde{\mathcal{B}} B ) to be the set of vertices in G G G (resp. G ~ \widetilde{G} G ) whose ( d + 1 ) (d+1) ( d + 1 ) -hop neighborhood contains a vertex with degree larger than τ \tau τ , i.e.,
B : = { u ∈ V : ∃ v ∈ V such that dist ( u , v ) ≤ d + 1 and deg ( v ) > τ } , \mathcal{B}:=\{u\in\mathcal{V}:\exists v\in\mathcal{V}\text{ such that }\operatorname{dist}(u,v)\leq d+1\text{ and }\deg(v)>\tau\}, B := { u ∈ V : ∃ v ∈ V such that dist ( u , v ) ≤ d + 1 and deg ( v ) > τ } ,
B ~ : = { u ~ ∈ V ~ : ∃ v ~ ∈ V ~ such that dist ( u ~ , v ~ ) ≤ d + 1 and deg ( v ~ ) > τ } . \widetilde{\mathcal{B}}:=\{\widetilde{u}\in\widetilde{\mathcal{V}}:\exists\widetilde{v}\in\widetilde{\mathcal{V}}\text{ such that }\operatorname{dist}(\widetilde{u},\widetilde{v})\leq d+1\text{ and }\deg(\widetilde{v})>\tau\}. B := { u ∈ V : ∃ v ∈ V such that dist ( u , v ) ≤ d + 1 and deg ( v ) > τ } .
We note that
Given that u ∉ B u\notin\mathcal{B} u ∈ / B , a local tree T w \ u \mathcal{T}_{w\backslash u} T w \ u , where w ∈ N ( u ) w\in\mathcal{N}(u) w ∈ N ( u ) , remains the same for τ = ∞ \tau=\infty τ = ∞ and τ = max { log n , λ ( 1 + 1 / log log n ) } \tau=\max\{\sqrt{\log n},\lambda(1+1/\log\log n)\} τ = max { log n , λ ( 1 + 1/ log log n )} because (i) no vertex in the ( d + 1 ) (d+1) ( d + 1 ) -hop neighborhood of u u u has degree larger than max { log n , λ ( 1 + 1 / log log n ) } \max\{\sqrt{\log n},\lambda(1+1/\log\log n)\} max { log n , λ ( 1 + 1/ log log n )} , and (ii) any vertex in the tree T w \ u \mathcal{T}_{w\backslash u} T w \ u is at most ( d + 1 ) (d+1) ( d + 1 ) hops away from u u u . The same conclusion holds for a vertex v ~ ∉ B ~ \widetilde{v}\notin\widetilde{\mathcal{B}} v ∈ / B . Therefore, we have
M T B ( u , v ~ ) = M T B ∞ ( u , v ~ ) , ∀ ( u , v ~ ) ∈ B c × B ~ c . (33) M_{\mathrm{TB}}(u,\widetilde{v})=M_{\mathrm{TB}}^\infty(u,\widetilde{v}),\qquad\forall(u,\widetilde{v})\in\mathcal{B}^{c}\times\widetilde{\mathcal{B}}^{c}. \tag*{(33)} M TB ( u , v ) = M TB ∞ ( u , v ) , ∀ ( u , v ) ∈ B c × B c . (33)
On the other hand, if u ∈ B u\in\mathcal{B} u ∈ B , T w \ u \mathcal{T}_{w\backslash u} T w \ u may become an empty tree if it includes a vertex with degree larger than τ \tau τ , which would result in L ^ ( T w \ u , T ~ x ~ \ v ~ ) = 0 \widehat{L}(\mathcal{T}_{w\backslash u},\widetilde{\mathcal{T}}_{\widetilde{x}\backslash\widetilde{v}})=0 L ( T w \ u , T x \ v ) = 0 for every x ~ ∈ N ~ ( v ~ ) \widetilde{x}\in\widetilde{\mathcal{N}}(\widetilde{v}) x ∈ N ( v ) . In this case, the witness graph W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) will be changed by removing node w w w and all connected edges. By the vertex-deletion monotonicity of greedy matching under a fixed query order [47 Lemma 4.2 and the proof of Fact 3.1] , deleting witness vertices while preserving the relative order of the remaining edges cannot increase the cardinality of the greedy matching. Applying this fact successively to all witness vertices removed by the truncation, we have M T B ( u , v ~ ) = 0 M_{\mathrm{TB}}(u,\widetilde{v})=0 M TB ( u , v ) = 0 if M T B ∞ ( u , v ~ ) = 0 M_{\mathrm{TB}}^\infty(u,\widetilde{v})=0 M TB ∞ ( u , v ) = 0 . In other words,
M T B ( u , v ~ ) ≤ M T B ∞ ( u , v ~ ) , if u ∈ B or v ~ ∈ B ~ . (34) M_{\mathrm{TB}}(u,\widetilde{v})\leq M_{\mathrm{TB}}^\infty(u,\widetilde{v}),\qquad\text{if }u\in\mathcal{B}\text{ or }\widetilde{v}\in\widetilde{\mathcal{B}}. \tag*{(34)} M TB ( u , v ) ≤ M TB ∞ ( u , v ) , if u ∈ B or v ∈ B . (34)
Let X : = ∑ u ∈ V 1 { M T B ( u , u ~ ) = 1 } X := \sum_{u \in V} \mathbf{1}\{\mathrm{M}_{\mathrm{TB}}(u,\tilde{u}) = 1\} X := ∑ u ∈ V 1 { M TB ( u , u ~ ) = 1 } . It follows by (33) that X ≥ X ∞ − ∣ B ∣ − ∣ B ~ ∣ X \ge X^{\infty} - |\mathcal{B}| - |\widetilde{\mathcal{B}}| X ≥ X ∞ − ∣ B ∣ − ∣ B ∣ almost surely. By Lemma 16 in Appendix F.4, we have
P ( ∣ B ∣ + ∣ B ~ ∣ > 2 n exp ( − ( log n ) 2 / 5 ) ) = O ( exp ( − ( log n ) 2 / 5 ) ) . (35) \mathbb{P}\left(|\mathcal{B}| + |\widetilde{\mathcal{B}}| > 2n \exp\left(-(\log n)^{2/5}\right)\right) = O\left(\exp\left(-(\log n)^{2/5}\right)\right). \tag*{(35)} P ( ∣ B ∣ + ∣ B ∣ > 2 n exp ( − ( log n ) 2/5 ) ) = O ( exp ( − ( log n ) 2/5 ) ) . (35)
It then follows by (32) and (35) that
P ( X > n − n exp ( − λ s 4 ) − n 3 / 4 − 2 n exp ( − ( log n ) 2 / 5 ) ) = 1 − O ( exp ( − λ s 4 ) + exp ( − ( log n ) 2 / 5 ) ) . (36) \begin{aligned}
\mathbb{P}\left(X > n - n\exp\left(-\frac{\lambda s}{4}\right) - n^{3/4} - 2n\exp\left(-(\log n)^{2/5}\right)\right) \\
= 1 - O\left(\exp\left(-\frac{\lambda s}{4}\right) + \exp\left(-(\log n)^{2/5}\right)\right). \tag*{(36)}
\end{aligned} P ( X > n − n exp ( − 4 λ s ) − n 3/4 − 2 n exp ( − ( log n ) 2/5 ) ) = 1 − O ( exp ( − 4 λ s ) + exp ( − ( log n ) 2/5 ) ) . (36)
On the other hand, (33) and (34) together imply that M T B ( u , v ~ ) ≤ M T B ∞ ( u , v ~ ) \mathrm{M}_{\mathrm{TB}}(u,\tilde{v}) \le\mathrm{M}_{\mathrm{TB}}^{\infty}(u,\tilde{v}) M TB ( u , v ~ ) ≤ M TB ∞ ( u , v ~ ) for all ( u , v ~ ) (u,\tilde{v}) ( u , v ~ ) . It then follows by (29) that
P ( M T B ( u , v ~ ) = 0 , for all pairs ( u , v ~ ) such that v ~ ≠ u ~ ) = 1 − O ~ ( n − 1 / 3 ) . (37) \mathbb{P}\left(\mathrm{M}_{\mathrm{TB}}(u,\tilde{v}) = 0,\ \text{for all pairs }(u,\tilde{v})\text{ such that }\tilde{v} \ne\tilde{u}\right) = 1 - \widetilde{O}(n^{-1/3}). \tag*{(37)} P ( M TB ( u , v ~ ) = 0 , for all pairs ( u , v ~ ) such that v ~ = u ~ ) = 1 − O ( n − 1/3 ) . (37)
Analysis of the Events A1, A2, and A3,u
Lemma 5. The event A 1 ∩ A 2 \mathcal{A}_1 \cap\mathcal{A}_2 A 1 ∩ A 2 implies that T B A l i g n \mathit{TBAlign} TBAlign does not match any wrong pair of vertices, i.e., M T B ∞ ( u , v ~ ) = 0 \mathrm{M}_{\mathrm{TB}}^{\infty}(u,\tilde{v}) = 0 M TB ∞ ( u , v ~ ) = 0 , for all pairs ( u , v ~ ) (u,\tilde{v}) ( u , v ~ ) such that v ~ ≠ u ~ \tilde{v} \ne\tilde{u} v ~ = u ~ .
Proof. We prove using contradiction that when event A 1 ∩ A 2 \mathcal{A}_1 \cap\mathcal{A}_2 A 1 ∩ A 2 occurs, M T B ∞ ( u , v ~ ) = 0 \mathrm{M}_{\mathrm{TB}}^{\infty}(u,\tilde{v}) = 0 M TB ∞ ( u , v ~ ) = 0 for all pairs ( u , v ~ ) (u,\tilde{v}) ( u , v ~ ) such that v ~ ≠ u ~ \tilde{v} \ne\tilde{u} v ~ = u ~ . Suppose that there exists some v ~ ≠ u ~ \tilde{v} \ne\tilde{u} v ~ = u ~ such that
M T B ∞ ( u , v ~ ) = G r e e d y M a t c h i n g ( W ∞ ( u , v ~ ) , θ ∗ , 5 ) = 1. \mathrm{M}_{\mathrm{TB}}^{\infty}(u,\tilde{v}) = \mathrm{GreedyMatching}\left(\mathcal{W}^{\infty}(u,\tilde{v}),\theta^{*},5\right) = 1. M TB ∞ ( u , v ~ ) = GreedyMatching ( W ∞ ( u , v ~ ) , θ ∗ , 5 ) = 1.
Then there exist at least five distinct neighbors u 1 , u 2 , u 3 , u 4 , u 5 u_1,u_2,u_3,u_4,u_5 u 1 , u 2 , u 3 , u 4 , u 5 of u u u and five distinct neighbors v ~ 1 , v ~ 2 , v ~ 3 , v ~ 4 , v ~ 5 \tilde{v}_1,\tilde{v}_2,\tilde{v}_3,\tilde{v}_4,\tilde{v}_5 v ~ 1 , v ~ 2 , v ~ 3 , v ~ 4 , v ~ 5 of v ~ \tilde{v} v ~ such that
Ψ ( [ T u i ∖ u ∞ ] , [ T ~ v ~ i ∖ v ~ ∞ ] ) = 1 , i = 1 , 2 , 3 , 4 , 5. (38) \Psi\left([T^{\infty}_{u_i\setminus u}],[\widetilde{T}^{\infty}_{\tilde{v}_i\setminus\tilde{v}}]\right) = 1,\qquad i = 1,2,3,4,5. \tag*{(38)} Ψ ( [ T u i ∖ u ∞ ] , [ T v ~ i ∖ v ~ ∞ ] ) = 1 , i = 1 , 2 , 3 , 4 , 5. (38)
Conditioned on A 1 \mathcal{A}_1 A 1 , the local tree pair ( T u i ∖ u ∞ , T ~ v ~ i ∖ v ~ ∞ ) (T^{\infty}_{u_i\setminus u},\widetilde{T}^{\infty}_{\tilde{v}_i\setminus\tilde{v}}) ( T u i ∖ u ∞ , T v ~ i ∖ v ~ ∞ ) has non-empty intersection in G ‾ \overline{G} G . In other words, there exists
x ˉ i ∈ V ‾ ( T u i ∖ u ∞ ) ∩ V ‾ ( T ~ v ~ i ∖ v ~ ∞ ) . \bar{x}_i \in\overline{V}(T^{\infty}_{u_i\setminus u}) \cap\overline{V}(\widetilde{T}^{\infty}_{\tilde{v}_i\setminus\tilde{v}}). x ˉ i ∈ V ( T u i ∖ u ∞ ) ∩ V ( T v ~ i ∖ v ~ ∞ ) .
By definition of the local trees, we have the following statements:
there is a path ( y i ( 0 ) , y i ( 1 ) , … , y i ( t ) ) (y_i^{(0)},y_i^{(1)},\ldots,y_i^{(t)}) ( y i ( 0 ) , y i ( 1 ) , … , y i ( t ) ) in G G G from u u u to x i x_i x i with y i ( 0 ) = u y_i^{(0)} = u y i ( 0 ) = u , y i ( 1 ) = u i y_i^{(1)} = u_i y i ( 1 ) = u i , y i ( t ) = x i y_i^{(t)} = x_i y i ( t ) = x i , and t ≤ d + 1 t \le d+1 t ≤ d + 1 ,
there is a path ( z ~ i ( 0 ) , z ~ i ( 1 ) , … , z ~ i ( t ~ ) ) (\tilde{z}_i^{(0)},\tilde{z}_i^{(1)},\ldots,\tilde{z}_i^{(\tilde{t})}) ( z ~ i ( 0 ) , z ~ i ( 1 ) , … , z ~ i ( t ~ ) ) in G ~ \widetilde{G} G from v ~ \tilde{v} v ~ to x ~ i \tilde{x}_i x ~ i with z ~ i ( 0 ) = v ~ \tilde{z}_i^{(0)} = \tilde{v} z ~ i ( 0 ) = v ~ , z ~ i ( 1 ) = v ~ i \tilde{z}_i^{(1)} = \tilde{v}_i z ~ i ( 1 ) = v ~ i , z ~ i ( t ~ ) = x ~ i \tilde{z}_i^{(\tilde{t})} = \tilde{x}_i z ~ i ( t ~ ) = x ~ i , and t ~ ≤ d + 1 \tilde{t} \le d+1 t ~ ≤ d + 1 .
Passing to the union graph, we obtain two paths
( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) and ( z ˉ i ( 0 ) , z ˉ i ( 1 ) , … , z ˉ i ( t ~ ) ) , (\bar{y}_i^{(0)},\bar{y}_i^{(1)},\ldots,\bar{y}_i^{(t)}) \qquad\text{and} \qquad(\bar{z}_i^{(0)},\bar{z}_i^{(1)},\ldots,\bar{z}_i^{(\tilde{t})}), ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) and ( z ˉ i ( 0 ) , z ˉ i ( 1 ) , … , z ˉ i ( t ~ ) ) ,
where y ˉ i ( 0 ) = u ˉ \bar{y}_i^{(0)} = \bar{u} y ˉ i ( 0 ) = u ˉ , y ˉ i ( 1 ) = u ˉ i \bar{y}_i^{(1)} = \bar{u}_i y ˉ i ( 1 ) = u ˉ i , z ˉ i ( 0 ) = v ˉ \bar{z}_i^{(0)} = \bar{v} z ˉ i ( 0 ) = v ˉ , z ˉ i ( 1 ) = v ˉ i \bar{z}_i^{(1)} = \bar{v}_i z ˉ i ( 1 ) = v ˉ i , and y ˉ i ( t ) = z ˉ i ( t ~ ) = x ˉ i \bar{y}_i^{(t)} = \bar{z}_i^{(\tilde{t})} = \bar{x}_i y ˉ i ( t ) = z ˉ i ( t ~ ) = x ˉ i .
We now claim that there exists a path P ˉ i = ( p ˉ i ( 0 ) , p ˉ i ( 1 ) , … , p ˉ i ( t ˉ ) ) \bar{P}_i = (\bar{p}_i^{(0)},\bar{p}_i^{(1)},\ldots,\bar{p}_i^{(\bar{t})}) P ˉ i = ( p ˉ i ( 0 ) , p ˉ i ( 1 ) , … , p ˉ i ( t ˉ ) ) from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ in G ˉ \bar{G} G ˉ , with t ˉ ≤ 2 ( d + 1 ) \bar{t} \le2(d+1) t ˉ ≤ 2 ( d + 1 ) , such that either p ˉ i ( 1 ) = u ˉ i \bar{p}_i^{(1)} = \bar{u}_i p ˉ i ( 1 ) = u ˉ i , or p ˉ i ( t ˉ − 1 ) = v ˉ i \bar{p}_i^{(\bar{t}-1)} = \bar{v}_i p ˉ i ( t ˉ − 1 ) = v ˉ i . We consider three cases.
Case (i): v ˉ = y ˉ i ( ℓ ) \bar{v}=\bar{y}_i^{(\ell)} v ˉ = y ˉ i ( ℓ ) for some ℓ ∈ { 0 , 1 , … , t } \ell\in\{0,1,\ldots,t\} ℓ ∈ { 0 , 1 , … , t } . Since v ˉ ≠ u ˉ \bar{v}\ne\bar{u} v ˉ = u ˉ , we have ℓ ≠ 0 \ell\ne0 ℓ = 0 . We can construct the desired path P ˉ i : = ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( ℓ ) ) \bar{P}_i:=(\bar{y}_i^{(0)},\bar{y}_i^{(1)},\ldots,\bar{y}_i^{(\ell)}) P ˉ i := ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( ℓ ) ) . Since y ˉ i ( 0 ) = u ˉ \bar{y}_i^{(0)}=\bar{u} y ˉ i ( 0 ) = u ˉ , y ˉ i ( 1 ) = u ˉ i \bar{y}_i^{(1)}=\bar{u}_i y ˉ i ( 1 ) = u ˉ i and y ˉ i ( ℓ ) = v ˉ \bar{y}_i^{(\ell)}=\bar{v} y ˉ i ( ℓ ) = v ˉ , P ˉ i \bar{P}_i P ˉ i is a path from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ of length t ˉ = ℓ ≤ d + 1 \bar{t}=\ell\le d+1 t ˉ = ℓ ≤ d + 1 , and p ˉ i ( 1 ) = y ˉ i ( 1 ) = u ˉ i \bar{p}_i^{(1)}=\bar{y}_i^{(1)}=\bar{u}_i p ˉ i ( 1 ) = y ˉ i ( 1 ) = u ˉ i .
Case (ii): u ˉ = z ˉ i ( ℓ ) \bar{u}=\bar{z}_i^{(\ell)} u ˉ = z ˉ i ( ℓ ) for some ℓ ∈ { 0 , 1 , … , t ~ } \ell\in\{0,1,\ldots,\tilde{t}\} ℓ ∈ { 0 , 1 , … , t ~ } . Since v ˉ ≠ u ˉ \bar{v}\ne\bar{u} v ˉ = u ˉ , we have ℓ ≠ 0 \ell\ne0 ℓ = 0 . We can construct the desired path P ˉ i : = ( z ˉ i ( ℓ ) , z ˉ i ( ℓ − 1 ) , … , z ˉ i ( 1 ) , z ˉ i ( 0 ) ) \bar{P}_i:=(\bar{z}_i^{(\ell)},\bar{z}_i^{(\ell-1)},\ldots,\bar{z}_i^{(1)},\bar{z}_i^{(0)}) P ˉ i := ( z ˉ i ( ℓ ) , z ˉ i ( ℓ − 1 ) , … , z ˉ i ( 1 ) , z ˉ i ( 0 ) ) . Since z ˉ i ( ℓ ) = u ˉ \bar{z}_i^{(\ell)}=\bar{u} z ˉ i ( ℓ ) = u ˉ , z ˉ i ( ℓ − 1 ) = v ˉ i \bar{z}_i^{(\ell-1)}=\bar{v}_i z ˉ i ( ℓ − 1 ) = v ˉ i and z ˉ i ( 0 ) = v ˉ \bar{z}_i^{(0)}=\bar{v} z ˉ i ( 0 ) = v ˉ , P ˉ i \bar{P}_i P ˉ i is a path from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ of length t ˉ = ℓ ≤ d + 1 \bar{t}=\ell\le d+1 t ˉ = ℓ ≤ d + 1 , and p ˉ i ( t ˉ − 1 ) = z ˉ i ( 1 ) = v ˉ i \bar{p}_i^{(\bar{t}-1)}=\bar{z}_i^{(1)}=\bar{v}_i p ˉ i ( t ˉ − 1 ) = z ˉ i ( 1 ) = v ˉ i .
Case (iii): v ˉ ≠ y ˉ i ( ℓ ) \bar{v}\ne\bar{y}_i^{(\ell)} v ˉ = y ˉ i ( ℓ ) for all ℓ ∈ { 0 , 1 , … , t } \ell\in\{0,1,\ldots,t\} ℓ ∈ { 0 , 1 , … , t } and u ˉ ≠ z ˉ i ( ℓ ) \bar{u}\ne\bar{z}_i^{(\ell)} u ˉ = z ˉ i ( ℓ ) for all ℓ ∈ { 0 , 1 , … , t ~ } \ell\in\{0,1,\ldots,\tilde{t}\} ℓ ∈ { 0 , 1 , … , t ~ } . Since y ˉ i ( t ) = z ˉ i ( t ~ ) = x ˉ i \bar{y}_i^{(t)}=\bar{z}_i^{(\tilde{t})}=\bar{x}_i y ˉ i ( t ) = z ˉ i ( t ~ ) = x ˉ i , the two paths intersect in G ˉ \bar{G} G ˉ . Let w ˉ i \bar{w}_i w ˉ i be the first vertex on the path ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) (\bar{y}_i^{(0)},\bar{y}_i^{(1)},\ldots,\bar{y}_i^{(t)}) ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) that also lies on ( z ˉ i ( 0 ) , z ˉ i ( 1 ) , … , z ˉ i ( t ~ ) ) (\bar{z}_i^{(0)},\bar{z}_i^{(1)},\ldots,\bar{z}_i^{(\tilde{t})}) ( z ˉ i ( 0 ) , z ˉ i ( 1 ) , … , z ˉ i ( t ~ ) ) . Then the initial segment from u ˉ \bar{u} u ˉ to w ˉ i \bar{w}_i w ˉ i along the y ˉ \bar{y} y ˉ -path and the initial segment from v ˉ \bar{v} v ˉ to w ˉ i \bar{w}_i w ˉ i along the z ˉ \bar{z} z ˉ -path are disjoint except at w ˉ i \bar{w}_i w ˉ i . Hence we construct the desired path
P ˉ i : = ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , w ˉ i , … , z ˉ i ( 1 ) , z ˉ i ( 0 ) ) . \bar{P}_i:=(\bar{y}_i^{(0)},\bar{y}_i^{(1)},\ldots,\bar{w}_i,\ldots,\bar{z}_i^{(1)},\bar{z}_i^{(0)}). P ˉ i := ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , w ˉ i , … , z ˉ i ( 1 ) , z ˉ i ( 0 ) ) .
Since y ˉ i ( 0 ) = u ˉ \bar{y}_i^{(0)}=\bar{u} y ˉ i ( 0 ) = u ˉ and z ˉ i ( 0 ) = v ˉ \bar{z}_i^{(0)}=\bar{v} z ˉ i ( 0 ) = v ˉ , P ˉ i \bar{P}_i P ˉ i is a path from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ in G ˉ \bar{G} G ˉ . Its length satisfies t ˉ ≤ t + t ~ ≤ 2 ( d + 1 ) \bar{t}\le t+\tilde{t}\le2(d+1) t ˉ ≤ t + t ~ ≤ 2 ( d + 1 ) , and it has both p ˉ i ( 1 ) = y ˉ i ( 1 ) = u ˉ i \bar{p}_i^{(1)}=\bar{y}_i^{(1)}=\bar{u}_i p ˉ i ( 1 ) = y ˉ i ( 1 ) = u ˉ i and p ˉ i ( t ˉ − 1 ) = z ˉ i ( 1 ) = v ˉ i \bar{p}_i^{(\bar{t}-1)}=\bar{z}_i^{(1)}=\bar{v}_i p ˉ i ( t ˉ − 1 ) = z ˉ i ( 1 ) = v ˉ i .
Some illustrating examples for all the 3 cases of constructing path P ˉ i \bar{P}_i P ˉ i are shown in Figure 2 .
Figure 2. Examples of constructing path P ˉ i \bar{P}_i P ˉ i in Case (i) (top), Case (ii) (middle) and Case (iii) (bottom). In each case, the red edges denotes path P ˉ i \bar{P}_i P ˉ i . The black notations next to each node represents the nodes of path ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) (\bar{y}_i^{(0)},\bar{y}_i^{(1)},\ldots,\bar{y}_i^{(t)}) ( y ˉ i ( 0 ) , y ˉ i ( 1 ) , … , y ˉ i ( t ) ) in G G G , while the blue notations next to each node represents the nodes of path ( z ~ i ( 0 ) , z ~ i ( 1 ) , … , z ~ i ( t ~ ) ) (\tilde{z}_i^{(0)},\tilde{z}_i^{(1)},\ldots,\tilde{z}_i^{(\tilde{t})}) ( z ~ i ( 0 ) , z ~ i ( 1 ) , … , z ~ i ( t ~ ) ) in G ~ \widetilde{G} G .
Applying this construction for i = 1 , 2 , 3 , 4 , 5 i=1,2,3,4,5 i = 1 , 2 , 3 , 4 , 5 , we obtain five paths P ˉ 1 , … , P ˉ 5 \bar{P}_1,\ldots,\bar{P}_5 P ˉ 1 , … , P ˉ 5 from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ in G ˉ \bar{G} G ˉ , each of length at most 2 ( d + 1 ) 2(d+1) 2 ( d + 1 ) . Since P ˉ i \bar{P}_i P ˉ i has to include either u ˉ i \bar{u}_i u ˉ i or v ˉ i \bar{v}_i v ˉ i , by the pigeonhole principle, one of the following two statements must hold true:
There exist three paths of length at most 2 ( d + 1 ) 2(d+1) 2 ( d + 1 ) from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ such that their first vertex after u ˉ \bar{u} u ˉ is all distinct.
There exist three paths of length at most 2 ( d + 1 ) 2(d+1) 2 ( d + 1 ) from u ˉ \bar{u} u ˉ to v ˉ \bar{v} v ˉ such that their last vertex before reaching v ˉ \bar{v} v ˉ is all distinct.
Let us assume without loss of generality that the first statement holds. Denote the union graph of these three paths by H H H , and the three distinct vertices by r ˉ 1 \bar{r}_1 r ˉ 1 , r ˉ 2 \bar{r}_2 r ˉ 2 and r ˉ 3 \bar{r}_3 r ˉ 3 respectively. Because each of these paths has at most 2 d + 1 2d+1 2 d + 1 vertices other than u ˉ \bar{u} u ˉ and v ˉ \bar{v} v ˉ , we have ∣ V ( H ) ∣ ≤ 3 ( 2 d + 1 ) + 2 ≤ 6 ( d + 1 ) |V(H)| \le3(2d+1)+2 \le6(d+1) ∣ V ( H ) ∣ ≤ 3 ( 2 d + 1 ) + 2 ≤ 6 ( d + 1 ) .
We claim that ∣ V ( H ) ∣ < ∣ E ( H ) ∣ |V(H)| < |E(H)| ∣ V ( H ) ∣ < ∣ E ( H ) ∣ . To see this, let H ′ H' H ′ denote the graph obtained by removing vertex u ˉ \bar{u} u ˉ and all its incident edges from H H H . Notice that u ˉ \bar{u} u ˉ is only connected to the three vertices r ˉ 1 \bar{r}_1 r ˉ 1 , r ˉ 2 \bar{r}_2 r ˉ 2 and r ˉ 3 \bar{r}_3 r ˉ 3 in H H H . Therefore, we have ∣ V ( H ′ ) ∣ = ∣ V ( H ) ∣ − 1 |V(H')| = |V(H)|-1 ∣ V ( H ′ ) ∣ = ∣ V ( H ) ∣ − 1 and ∣ E ( H ′ ) ∣ = ∣ E ( H ) ∣ − 3 |E(H')| = |E(H)|-3 ∣ E ( H ′ ) ∣ = ∣ E ( H ) ∣ − 3 . Since H ′ H' H ′ is a connected graph, we also have ∣ E ( H ′ ) ∣ ≥ ∣ V ( H ′ ) ∣ − 1 |E(H')| \ge|V(H')|-1 ∣ E ( H ′ ) ∣ ≥ ∣ V ( H ′ ) ∣ − 1 . These together imply that ∣ E ( H ) ∣ ≥ ∣ V ( H ) ∣ + 1 |E(H)| \ge|V(H)|+1 ∣ E ( H ) ∣ ≥ ∣ V ( H ) ∣ + 1 , which proves the claim. Now we know that H H H is a subgraph of G ˉ \bar{G} G ˉ that satisfies both ∣ V ( H ) ∣ < ∣ E ( H ) ∣ |V(H)| < |E(H)| ∣ V ( H ) ∣ < ∣ E ( H ) ∣ and ∣ V ( H ) ∣ ≤ 6 d + 6 |V(H)| \le6d+6 ∣ V ( H ) ∣ ≤ 6 d + 6 . This contradicts with event A 2 A_2 A 2 , which completes the proof. □ \square □
Lemma 6. Under the assumptions in Theorem 1, we have
P ( A 1 c ) = O ~ ( n − 1 / 3 ) . \mathbb{P}(A_1^c)=\widetilde{O}(n^{-1/3}). P ( A 1 c ) = O ( n − 1/3 ) .
The proof of this lemma largely follows that of Lemma 2 in [13 ] , which assumes that λ = ( log n ) α + o ( 1 ) \lambda=(\log n)^{\alpha+o(1)} λ = ( log n ) α + o ( 1 ) for some α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Here we extend the result to the broader regime λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) and λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . The key arguments remain unchanged, and we present the proof here for completeness.
Proof. Recall the definition of local tree T w \ u ∞ T^\infty_{w\backslash u} T w \ u ∞ for a pair of adjacent vertices w w w and u u u in G G G . In the following proof, we slightly extend this definition. For a vertex w ∈ V w\in V w ∈ V , not necessarily adjacent to u u u in G G G , we define T w \ u ∞ T^\infty_{w\backslash u} T w \ u ∞ in the same way as before: it is the d d d -hop neighborhood of w w w in the graph G ∖ u G\setminus u G ∖ u if the d d d -hop neighborhood of w w w in G G G is a tree; otherwise, T w \ u ∞ T^\infty_{w\backslash u} T w \ u ∞ is defined to be the empty tree. We extend the definition of T ~ x ~ \ v ~ ∞ \widetilde{T}^\infty_{\tilde{x}\backslash\tilde{v}} T x ~ \ v ~ ∞ to the case of non-adjacent ( x ~ , v ~ ) (\tilde{x},\tilde{v}) ( x ~ , v ~ ) in the similar way.
With this extended definition, we define A 1 ′ A'_1 A 1 ′ as the event that there exist ( u , w ) ∈ V × V (u,w)\in V\times V ( u , w ) ∈ V × V and ( v ~ , x ~ ) ∈ V ~ × V ~ (\tilde{v},\tilde{x})\in\widetilde{V}\times\widetilde{V} ( v ~ , x ~ ) ∈ V × V such that
Ψ ( [ T w \ u ∞ ] , [ T ~ x ~ \ v ~ ∞ ] ) = 1 \Psi([T^\infty_{w\backslash u}],[\widetilde{T}^\infty_{\tilde{x}\backslash\tilde{v}}])=1 Ψ ([ T w \ u ∞ ] , [ T x ~ \ v ~ ∞ ]) = 1 ;
V ˉ ( T w \ u ∞ ) ∩ V ˉ ( T ~ x ~ \ v ~ ∞ ) = ∅ \bar{V}(T^\infty_{w\backslash u})\cap\bar{V}(\widetilde{T}^\infty_{\tilde{x}\backslash\tilde{v}})=\varnothing V ˉ ( T w \ u ∞ ) ∩ V ˉ ( T x ~ \ v ~ ∞ ) = ∅ .
By definition, we have A 1 c ⊆ A 1 ′ A_1^c\subseteq A'_1 A 1 c ⊆ A 1 ′ , so to prove the lemma, it suffices to prove P ( A 1 ′ ) = O ~ ( n − 1 / 3 ) \mathbb{P}(A'_1)=\widetilde{O}(n^{-1/3}) P ( A 1 ′ ) = O ( n − 1/3 ) . We also define an auxiliary event
D : = { ∣ N ( i , d ) ∣ < 8 e 2 λ d log n , ∀ i ∈ V } ∩ { ∣ N ~ ( j ~ , d ) ∣ < 8 e 2 λ d log n , ∀ j ~ ∈ V ~ } , D:=\{|\mathcal{N}(i,d)|<8e^{2\lambda}d\log n,\ \forall i\in V\}\cap\{|\widetilde{\mathcal{N}}(\tilde{j},d)|<8e^{2\lambda}d\log n,\ \forall\tilde{j}\in\widetilde{V}\}, D := { ∣ N ( i , d ) ∣ < 8 e 2 λ d log n , ∀ i ∈ V } ∩ { ∣ N ( j ~ , d ) ∣ < 8 e 2 λ d log n , ∀ j ~ ∈ V } ,
where N ( i , d ) \mathcal{N}(i,d) N ( i , d ) (resp. N ~ ( j ~ , d ) \widetilde{\mathcal{N}}(\tilde{j},d) N ( j ~ , d ) ) denotes the set of vertices within distance d d d from i i i in G G G (resp. j ~ \tilde{j} j ~ in G ˉ \bar{G} G ˉ ). It follows by Lemma 13 in Appendix § 13 .§ 1 and the union bound that
P ( D c ) = O ~ ( n − 1 / 3 ) . (39) \mathbb{P}(D^c)=\widetilde{O}(n^{-1/3}). \tag*{(39)} P ( D c ) = O ( n − 1/3 ) . (39)
Then we have
P ( A 1 ′ ) ≤ P ( A 1 ′ ∩ D ) + P ( D c ) ≤ P ( D c ) + ∑ ( u , w ) ∈ V × V ( v ~ , x ~ ) ∈ V ~ × V ~ P ( { Ψ ( [ T w \ u ∞ ] , [ T ~ x ~ \ v ~ ∞ ] ) = 1 } ∩ { V ˉ ( T w \ u ∞ ) ∩ V ˉ ( T ~ x ~ \ v ~ ∞ ) = ∅ } ∩ D ) (40) \begin{aligned}
\mathbb{P}(A'_1)&\le\mathbb{P}(A'_1\cap D)+\mathbb{P}(D^c)\\
&\le\mathbb{P}(D^c)+\sum_{\substack{(u,w)\in V\times V\\(\tilde{v},\tilde{x})\in\widetilde{V}\times\widetilde{V}}}
\mathbb{P}\big(\{\Psi([T^\infty_{w\backslash u}],[\widetilde{T}^\infty_{\tilde{x}\backslash\tilde{v}}])=1\}\cap\{\bar{V}(T^\infty_{w\backslash u})\cap\bar{V}(\widetilde{T}^\infty_{\tilde{x}\backslash\tilde{v}})=\varnothing\}\cap D\big) \tag*{(40)}
\end{aligned} P ( A 1 ′ ) ≤ P ( A 1 ′ ∩ D ) + P ( D c ) ≤ P ( D c ) + ( u , w ) ∈ V × V ( v ~ , x ~ ) ∈ V × V ∑ P ( { Ψ ([ T w \ u ∞ ] , [ T x ~ \ v ~ ∞ ]) = 1 } ∩ { V ˉ ( T w \ u ∞ ) ∩ V ˉ ( T x ~ \ v ~ ∞ ) = ∅ } ∩ D ) (40)
Now, we fix vertex pairs ( u , w ) ∈ V × V (u,w) \in\mathcal{V} \times\mathcal{V} ( u , w ) ∈ V × V and ( v ~ , x ~ ) ∈ V ~ × V ~ (\tilde{v},\tilde{x}) \in\tilde{\mathcal{V}} \times\tilde{\mathcal{V}} ( v ~ , x ~ ) ∈ V ~ × V ~ . We omit the subscript and superscript from notations T w \ u ∞ T^{\infty}_{w\backslash u} T w \ u ∞ and T ~ x ~ \ v ~ ∞ \tilde{T}^{\infty}_{\tilde{x}\backslash\tilde{v}} T ~ x ~ \ v ~ ∞ , and simply write T T T and T ~ \tilde{T} T ~ . Recall that Z d \mathcal{Z}_d Z d denote the set of all rooted unlabeled trees with depth up to d d d . We then have
P ( { Ψ ( [ T ] , [ T ~ ] ) = 1 } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) = ∑ ( t , t ~ ) ∈ Z d × Z d P ( { [ T ] = t } ∩ { [ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) ⋅ P ( Ψ ( t , t ~ ) = 1 ) ≤ ∑ ( t , t ~ ) ∈ Z d × Z d : ∣ V ( t ) ∣ ≤ 8 e 2 λ d log n ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d log n P ( { [ T ] = t } ∩ { [ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ) P ( Ψ ( t , t ~ ) = 1 ) . (41) \begin{aligned}
\mathbb{P}\bigl(\{\Psi([T],[\tilde{T}])=1\}\cap\{\bar{\mathcal{V}}(T)\cap\bar{\mathcal{V}}(\tilde{T})=\varnothing\}\cap D\bigr)
&=\sum_{(t,\tilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d}
\mathbb{P}\bigl(\{[T]=t\}\cap\{[\tilde{T}]=\tilde{t}\}\cap\{\bar{\mathcal{V}}(T)\cap\bar{\mathcal{V}}(\tilde{T})=\varnothing\}\cap D\bigr)\\
&\qquad\qquad\qquad\qquad\qquad\qquad\cdot\mathbb{P}(\Psi(t,\tilde{t})=1)\\
&\leq\sum_{\substack{(t,\tilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d:\\
|\mathcal{V}(t)|\leq8e^{2}\lambda^{d}\log n\\
|\mathcal{V}(\tilde{t})|\leq8e^{2}\lambda^{d}\log n}}
\mathbb{P}\bigl(\{[T]=t\}\cap\{[\tilde{T}]=\tilde{t}\}\cap\{\bar{\mathcal{V}}(T)\cap\bar{\mathcal{V}}(\tilde{T})=\varnothing\}\bigr)\mathbb{P}(\Psi(t,\tilde{t})=1). \tag*{(41)}
\end{aligned} P ( { Ψ ([ T ] , [ T ~ ]) = 1 } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) = ( t , t ~ ) ∈ Z d × Z d ∑ P ( {[ T ] = t } ∩ {[ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) ⋅ P ( Ψ ( t , t ~ ) = 1 ) ≤ ( t , t ~ ) ∈ Z d × Z d : ∣ V ( t ) ∣ ≤ 8 e 2 λ d l o g n ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d l o g n ∑ P ( {[ T ] = t } ∩ {[ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ) P ( Ψ ( t , t ~ ) = 1 ) . (41)
where (a) follows because both T T T and T ~ \tilde{T} T ~ have at most 8 e 2 λ d log n 8e^{2}\lambda^{d}\log n 8 e 2 λ d log n vertices under event D D D . Here, P ( Ψ ( t , t ~ ) = 1 ) \mathbb{P}(\Psi(t,\tilde{t})=1) P ( Ψ ( t , t ~ ) = 1 ) denotes the probability that Ψ \Psi Ψ outputs 1 on the fixed input ( t , t ~ ) (t,\tilde{t}) ( t , t ~ ) . The first equality holds because the random bits used by ApproxPer in computing Ψ ( [ T ] , [ T ~ ] ) \Psi([T],[\tilde{T}]) Ψ ([ T ] , [ T ~ ]) are independent of ( G , G ~ , π ~ ) (G,\tilde{G},\tilde{\pi}) ( G , G ~ , π ~ ) .
Recall that Q ( H , H ~ ) \mathbb{Q}(\mathcal{H},\tilde{\mathcal{H}}) Q ( H , H ~ ) is the independent tree-pair distribution. By Lemma 14 in Appendix § 13 .§ 2 , we know that for any pair of unlabeled trees ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d ( t , t ~ ) ∈ Z d × Z d satisfying ∣ V ( t ) ∣ ≤ 8 e 2 λ d log n |\mathcal{V}(t)|\leq8e^{2}\lambda^{d}\log n ∣ V ( t ) ∣ ≤ 8 e 2 λ d log n and ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d log n |\mathcal{V}(\tilde{t})|\leq8e^{2}\lambda^{d}\log n ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d log n ,
P ( { [ T ] = t } ∩ { [ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ) Q ( [ H d ] = t , [ H ~ d ] = t ~ ) ≤ exp ( λ n ( ( 8 e 2 λ d log n + 1 ) 8 e 2 λ d log n + 8 e 2 λ d log n ( 1 + 8 e 2 λ d log n + 8 e 2 λ d log n ) ) ) ≤ exp ( λ n 320 e 4 λ 2 d ( log n ) 2 ) = O ( 1 ) , (42) \frac{\mathbb{P}\bigl(\{[T]=t\}\cap\{[\tilde{T}]=\tilde{t}\}\cap\{\bar{\mathcal{V}}(T)\cap\bar{\mathcal{V}}(\tilde{T})=\varnothing\}\bigr)}
{\mathbb{Q}([H_d]=t,[\tilde{H}_d]=\tilde{t})}
\leq\exp\left(\frac{\lambda}{n}\left((8e^{2}\lambda^{d}\log n+1)8e^{2}\lambda^{d}\log n+8e^{2}\lambda^{d}\log n(1+8e^{2}\lambda^{d}\log n+8e^{2}\lambda^{d}\log n)\right)\right)
\leq\exp\left(\frac{\lambda}{n}320e^{4}\lambda^{2d}(\log n)^2\right)=O(1), \tag*{(42)} Q ([ H d ] = t , [ H ~ d ] = t ~ ) P ( {[ T ] = t } ∩ {[ T ~ ] = t ~ } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ) ≤ exp ( n λ ( ( 8 e 2 λ d log n + 1 ) 8 e 2 λ d log n + 8 e 2 λ d log n ( 1 + 8 e 2 λ d log n + 8 e 2 λ d log n ) ) ) ≤ exp ( n λ 320 e 4 λ 2 d ( log n ) 2 ) = O ( 1 ) , (42)
where the last equality follows because λ 2 d = n o ( 1 ) \lambda^{2d}=n^{o(1)} λ 2 d = n o ( 1 ) . Then (41) and (42) together imply that
P ( { Ψ ( [ T ] , [ T ~ ] ) = 1 } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) ≤ exp ( λ n 320 e 4 λ 2 d ( log n ) 2 ) ⋅ ∑ ( t , t ~ ) ∈ Z d × Z d ∣ V ( t ) ∣ ≤ 8 e 2 λ d log n ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d log n Q ( [ H d ] = t , [ H ~ d ] = t ~ ) P ( Ψ ( t , t ~ ) = 1 ) ≤ exp ( λ n 320 e 4 λ 2 d ( log n ) 2 ) Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ exp ( λ n 320 e 4 λ 2 d ( log n ) 2 ) ( n − ( log log n ) / 2 + n − 11 ) = O ( n − 11 ) . (43) \begin{aligned}
\mathbb{P}\bigl(\{\Psi([T],[\tilde{T}])=1\}\cap\{\bar{\mathcal{V}}(T)\cap\bar{\mathcal{V}}(\tilde{T})=\varnothing\}\cap D\bigr)
&\leq\exp\left(\frac{\lambda}{n}320e^{4}\lambda^{2d}(\log n)^2\right)\\
&\qquad\cdot\sum_{\substack{(t,\tilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d\\
|\mathcal{V}(t)|\leq8e^{2}\lambda^{d}\log n\\
|\mathcal{V}(\tilde{t})|\leq8e^{2}\lambda^{d}\log n}}
\mathbb{Q}([H_d]=t,[\tilde{H}_d]=\tilde{t})\mathbb{P}(\Psi(t,\tilde{t})=1)\\
&\leq\exp\left(\frac{\lambda}{n}320e^{4}\lambda^{2d}(\log n)^2\right)\mathbb{Q}(\Psi([H_d],[\tilde{H}_d])=1)\\
&\leq\exp\left(\frac{\lambda}{n}320e^{4}\lambda^{2d}(\log n)^2\right)\left(n^{-(\log\log n)/2}+n^{-11}\right)=O(n^{-11}). \tag*{(43)}
\end{aligned} P ( { Ψ ([ T ] , [ T ~ ]) = 1 } ∩ { V ˉ ( T ) ∩ V ˉ ( T ~ ) = ∅ } ∩ D ) ≤ exp ( n λ 320 e 4 λ 2 d ( log n ) 2 ) ⋅ ( t , t ~ ) ∈ Z d × Z d ∣ V ( t ) ∣ ≤ 8 e 2 λ d l o g n ∣ V ( t ~ ) ∣ ≤ 8 e 2 λ d l o g n ∑ Q ([ H d ] = t , [ H ~ d ] = t ~ ) P ( Ψ ( t , t ~ ) = 1 ) ≤ exp ( n λ 320 e 4 λ 2 d ( log n ) 2 ) Q ( Ψ ([ H d ] , [ H ~ d ]) = 1 ) ≤ exp ( n λ 320 e 4 λ 2 d ( log n ) 2 ) ( n − ( l o g l o g n ) /2 + n − 11 ) = O ( n − 11 ) . (43)
where the second inequality holds by Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) = ∑ ( t , t ~ ) ∈ Z d × Z d Q ( [ H d ] = t , [ H ~ d ] = t ~ ) P ( Ψ ( t , t ~ ) = 1 ) \mathbb{Q}(\Psi([H_d],[\tilde{H}_d])=1)=\sum_{(t,\tilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d}\mathbb{Q}([H_d]=t,[\tilde{H}_d]=\tilde{t})\mathbb{P}(\Psi(t,\tilde{t})=1) Q ( Ψ ([ H d ] , [ H ~ d ]) = 1 ) = ∑ ( t , t ~ ) ∈ Z d × Z d Q ([ H d ] = t , [ H ~ d ] = t ~ ) P ( Ψ ( t , t ~ ) = 1 ) , and the last inequality follows by (10) in Theorem 3. Notice that (43) holds for any w w w and ( v ~ , x ~ ) (\tilde{v},\tilde{x}) ( v ~ , x ~ ) . Substituting (43) and (39) into (40) yields
P ( A 1 ′ ) = O ~ ( n − 1 / 3 ) + O ( n − 7 ) = O ~ ( n − 1 / 3 ) , (44) \mathbb{P}(\mathcal{A}'_1)=\widetilde{O}(n^{-1/3})+O(n^{-7})=\widetilde{O}(n^{-1/3}), \tag*{(44)} P ( A 1 ′ ) = O ( n − 1/3 ) + O ( n − 7 ) = O ( n − 1/3 ) , (44)
which completes the proof.
Lemma 7. Under the assumptions in Theorem 1. We have
P ( A 2 c ) = n − 1 + o ( 1 ) . \mathbb{P}(\mathcal{A}_2^{\mathrm{c}})=n^{-1+o(1)}. P ( A 2 c ) = n − 1 + o ( 1 ) .
Proof. Let H H H be a fixed unlabeled graph that satisfies ∣ V ( H ) ∣ ≤ 6 d + 6 |\mathcal{V}(H)| \le6d+6 ∣ V ( H ) ∣ ≤ 6 d + 6 and ∣ V ( H ) ∣ < ∣ E ( H ) ∣ |\mathcal{V}(H)| < |\mathcal{E}(H)| ∣ V ( H ) ∣ < ∣ E ( H ) ∣ . Let X H X_H X H denote the number of subgraphs in G ‾ \overline{G} G that are isomorphic to H H H . Recall that G ‾ \overline{G} G is an Erdős–Rényi random graph with edge probability λ ( 2 − s ) n \frac{\lambda(2-s)}{n} n λ ( 2 − s ) . It follows by Lemma 5.1 in [44 ] that
E [ X H ] = ( n ∣ V ( H ) ∣ ) ∣ V ( H ) ∣ ! aut ( H ) ( λ ( 2 − s ) n ) ∣ E ( H ) ∣ ≤ n ∣ V ( H ) ∣ ( λ ( 2 − s ) n ) ∣ E ( H ) ∣ ≤ n ∣ V ( H ) ∣ ( λ ( 2 − s ) n ) ∣ V ( H ) ∣ + 1 ≤ ( λ ( 2 − s ) ) ∣ V ( H ) ∣ + 1 n = n − 1 + o ( 1 ) . (45) \begin{aligned}
\mathbb{E}[X_H]=\binom{n}{|\mathcal{V}(H)|}\frac{|\mathcal{V}(H)|!}{\operatorname{aut}(H)}\left(\frac{\lambda(2-s)}{n}\right)^{|\mathcal{E}(H)|} \\
&\le n^{|\mathcal{V}(H)|}\left(\frac{\lambda(2-s)}{n}\right)^{|\mathcal{E}(H)|} \\
&\le n^{|\mathcal{V}(H)|}\left(\frac{\lambda(2-s)}{n}\right)^{|\mathcal{V}(H)|+1} \\
&\le\frac{(\lambda(2-s))^{|\mathcal{V}(H)|+1}}{n}=n^{-1+o(1)}. \tag*{(45)}
\end{aligned} E [ X H ] = ( ∣ V ( H ) ∣ n ) aut ( H ) ∣ V ( H ) ∣ ! ( n λ ( 2 − s ) ) ∣ E ( H ) ∣ ≤ n ∣ V ( H ) ∣ ( n λ ( 2 − s ) ) ∣ E ( H ) ∣ ≤ n ∣ V ( H ) ∣ ( n λ ( 2 − s ) ) ∣ V ( H ) ∣ + 1 ≤ n ( λ ( 2 − s ) ) ∣ V ( H ) ∣ + 1 = n − 1 + o ( 1 ) . (45)
Here aut ( H ) \operatorname{aut}(H) aut ( H ) is the automorphism number of H H H , which is at least 1, and the last equality follows because ( λ ( 2 − s ) ) 6 d + 7 = n o ( 1 ) (\lambda(2-s))^{6d+7}=n^{o(1)} ( λ ( 2 − s ) ) 6 d + 7 = n o ( 1 ) under the assumption that d = ⌈ ( log n ) 1 / 3 ⌉ d=\lceil(\log n)^{1/3}\rceil d = ⌈( log n ) 1/3 ⌉ . Moreover, the number of isomorphism classes one can form with at most 6 d + 6 6d+6 6 d + 6 vertices is upper-bounded by 2 ( 6 d + 6 ) 2 = n o ( 1 ) 2^{(6d+6)^2}=n^{o(1)} 2 ( 6 d + 6 ) 2 = n o ( 1 ) , since ( 6 d + 6 ) 2 = O ( ( log n ) 2 / 3 ) (6d+6)^2=O((\log n)^{2/3}) ( 6 d + 6 ) 2 = O (( log n ) 2/3 ) . Let X X X denote the number of subgraphs S ‾ \overline{S} S of G ‾ \overline{G} G that satisfies ∣ V ( S ‾ ) ∣ ≤ 6 d + 6 |\mathcal{V}(\overline{S})|\le6d+6 ∣ V ( S ) ∣ ≤ 6 d + 6 and ∣ E ( S ‾ ) ∣ > ∣ V ( S ‾ ) ∣ |\mathcal{E}(\overline{S})|>|\mathcal{V}(\overline{S})| ∣ E ( S ) ∣ > ∣ V ( S ) ∣ . It follows by (45) that
E [ X ] = n o ( 1 ) E [ X H ] = n − 1 + o ( 1 ) . \mathbb{E}[X]=n^{o(1)}\mathbb{E}[X_H]=n^{-1+o(1)}. E [ X ] = n o ( 1 ) E [ X H ] = n − 1 + o ( 1 ) .
By Markov’s inequality,
P ( A 2 c ) = P ( X ≥ 1 ) = n − 1 + o ( 1 ) , \mathbb{P}(\mathcal{A}_2^{\mathrm{c}})=\mathbb{P}(X\ge1)=n^{-1+o(1)}, P ( A 2 c ) = P ( X ≥ 1 ) = n − 1 + o ( 1 ) ,
which completes the proof.
Lemma 8. Under the assumptions in Theorem 1. We have
P ( A 3 , u ) = O ( n − 1 / 2 + exp ( − λ s 2 ) ) . \mathbb{P}(\mathcal{A}_{3,u})=O\left(n^{-1/2}+\exp\left(-\frac{\lambda_s}{2}\right)\right). P ( A 3 , u ) = O ( n − 1/2 + exp ( − 2 λ s ) ) .
Proof. Define T \mathcal{T} T as the local tree rooted at u u u in G G G such that T \mathcal{T} T is the ( d + 1 ) (d+1) ( d + 1 ) -hop-neighborhood of u u u in G G G if it is a tree; otherwise, T \mathcal{T} T is an empty tree. We similarly define T ~ \widetilde{\mathcal{T}} T as the local tree rooted at u ~ \widetilde{u} u in G ~ \widetilde{G} G . By Lemma 15, we can couple ( T , T ~ ) (\mathcal{T},\widetilde{\mathcal{T}}) ( T , T ) and a pair of correlated Poisson Galton–Watson trees ( H , H ~ ) ∼ P (\mathcal{H},\widetilde{\mathcal{H}})\sim\mathbb{P} ( H , H ) ∼ P so that
P ( [ T ] = [ H d + 1 ] , [ T ~ ] = [ H ~ d + 1 ] ) = 1 − O ( n − 1 / 2 ) , (46) \mathbb{P}([\mathcal{T}]=[\mathcal{H}_{d+1}], [\widetilde{\mathcal{T}}]=[\widetilde{\mathcal{H}}_{d+1}])=1-O(n^{-1/2}), \tag*{(46)} P ([ T ] = [ H d + 1 ] , [ T ] = [ H d + 1 ]) = 1 − O ( n − 1/2 ) , (46)
where H d + 1 \mathcal{H}_{d+1} H d + 1 is the truncation of H \mathcal{H} H up to depth d + 1 d+1 d + 1 , and H ~ d + 1 \widetilde{\mathcal{H}}_{d+1} H d + 1 is the truncation of H ~ \widetilde{\mathcal{H}} H up to depth d + 1 d+1 d + 1 . Let
C o u p : = { [ T ] = [ H d + 1 ] , [ T ~ ] = [ H ~ d + 1 ] } . \mathrm{Coup}:=\{[\mathcal{T}]=[\mathcal{H}_{d+1}], [\widetilde{\mathcal{T}}]=[\widetilde{\mathcal{H}}_{d+1}]\}. Coup := {[ T ] = [ H d + 1 ] , [ T ] = [ H d + 1 ]} .
We now switch to study the output of the subroutine GreedyMatching when applied to the correlated tree pair H d + 1 \mathcal{H}_{d+1} H d + 1 and H ~ d + 1 \widetilde{\mathcal{H}}_{d+1} H d + 1 . More precisely, let r r r and r ~ \widetilde{r} r denote the root nodes of H d + 1 \mathcal{H}_{d+1} H d + 1 and H ~ d + 1 \widetilde{\mathcal{H}}_{d+1} H d + 1 , respectively. Define C h r \mathrm{Ch}_r Ch r as the set of children of r r r in H d + 1 \mathcal{H}_{d+1} H d + 1 , and for each i ∈ C h r i\in\mathrm{Ch}_r i ∈ Ch r , define H d + 1 , i \mathcal{H}_{d+1,i} H d + 1 , i to be the subtree rooted at i i i in H d + 1 \mathcal{H}_{d+1} H d + 1 . We also define C h r ~ \mathrm{Ch}_{\widetilde{r}} Ch r and H ~ d + 1 , j ~ \widetilde{\mathcal{H}}_{d+1,\widetilde{j}} H d + 1 , j for each $\widetilde{j}\in\mathrm{Ch}_{\widetilde{r}}. similarly. The witness graph W ∞ ( r , r ~ ) \mathcal{W}^{\infty}(r,\tilde{r}) W ∞ ( r , r ~ ) is defined as the bipartite graph between vertex sets Ch r \operatorname{Ch}_{r} Ch r and Ch r ~ \operatorname{Ch}_{\tilde{r}} Ch r ~ , with the weight of edge ( i , j ~ ) (i,\tilde{j}) ( i , j ~ ) being L ^ d ( [ H d + 1 , i ] , [ H ~ d + 1 , j ~ ] ) \widehat{\mathcal{L}}_{d}([\mathcal{H}_{d+1,i}],[\widetilde{\mathcal{H}}_{d+1,\tilde{j}}]) L d ([ H d + 1 , i ] , [ H d + 1 , j ~ ]) .
We extend the coupling above to include the randomness used by ApproxLR. First generate mutually independent collections of random-bit sequences for the evaluations defining W ∞ ( u , u ~ ) \mathcal{W}^{\infty}(u,\tilde{u}) W ∞ ( u , u ~ ) , independently of the graphs and the coupled trees. On Coup \operatorname{Coup} Coup , fix root-preserving vertex relabelings, depending only on the coupled trees, that map H d + 1 \mathcal{H}_{d+1} H d + 1 to T T T and H ~ d + 1 \widetilde{\mathcal{H}}_{d+1} H d + 1 to T ~ \widetilde{T} T . With these relabelings, each edge of W ∞ ( r , r ~ ) \mathcal{W}^{\infty}(r,\tilde{r}) W ∞ ( r , r ~ ) corresponds to an edge of W ∞ ( u , u ~ ) \mathcal{W}^{\infty}(u,\tilde{u}) W ∞ ( u , u ~ ) with the same pair of unlabeled subtrees. We supply the ApproxLR evaluations on corresponding edges with the same collections of random-bit sequences. On Coup c \operatorname{Coup}^{c} Coup c , we use fresh independent collections of random-bit sequences to compute the weights of W ∞ ( r , r ~ ) \mathcal{W}^{\infty}(r,\tilde{r}) W ∞ ( r , r ~ ) .
Conditionally on the graphs and coupled trees, the collections used within each witness graph have their prescribed independent distributions. Thus this construction preserves the marginal law of each weighted witness graph. Moreover, on Coup \operatorname{Coup} Coup , corresponding evaluations have identical inputs, parameters, and random-bit sequences, so their outputs agree by Remark 2. We let the auxiliary GreedyMatching execution examine the edges of W ∞ ( r , r ~ ) \mathcal{W}^{\infty}(r,\tilde{r}) W ∞ ( r , r ~ ) in the order in which it examines the corresponding edges of W ∞ ( u , u ~ ) \mathcal{W}^{\infty}(u,\tilde{u}) W ∞ ( u , u ~ ) on Coup \operatorname{Coup} Coup , and use any fixed edge order on Coup c \operatorname{Coup}^{c} Coup c . Therefore, on Coup \operatorname{Coup} Coup , we have
{ GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 1 } ⟺ { GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 1 } . \{\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(u,\tilde{u}),\theta^{*},5)=1\}\Longleftrightarrow\{\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\tilde{r}),\theta^{*},5)=1\}. { GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 1 } ⟺ { GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 1 } .
We define the random variable
X : = ∑ i ∈ Ch r ∗ Ψ ( [ H d + 1 , i ] , [ H ~ d + 1 , i ~ ] ) . X:=\sum_{i\in\operatorname{Ch}_{r}^{*}}\Psi([\mathcal{H}_{d+1,i}],[\widetilde{\mathcal{H}}_{d+1,\tilde{i}}]). X := i ∈ Ch r ∗ ∑ Ψ ([ H d + 1 , i ] , [ H d + 1 , i ~ ]) .
where Ch r ∗ \operatorname{Ch}_{r}^{*} Ch r ∗ denotes the set of children of the root in the intersection tree H ∗ \mathcal{H}^{*} H ∗ . Here each test uses the same ApproxLR output already assigned to its corresponding witness edge. Equivalently, X X X is the number of children i i i of the root in H ∗ \mathcal{H}^{*} H ∗ for which
L ^ d ( [ H d + 1 , i ] , [ H ~ d + 1 , i ~ ] ) > θ ∗ . \widehat{\mathcal{L}}_{d}([\mathcal{H}_{d+1,i}],[\widetilde{\mathcal{H}}_{d+1,\tilde{i}}])>\theta^{*}. L d ([ H d + 1 , i ] , [ H d + 1 , i ~ ]) > θ ∗ .
Throughout the proof, probabilities involving Ψ \Psi Ψ include its internal random bits; in particular, we use P \mathbb{P} P also for the joint law of the GW trees and the independent algorithmic randomness.
We claim that the event X ≥ 9 X\geq9 X ≥ 9 implies GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 1 \operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\tilde{r}),\theta^{*},5)=1 GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 1 . This implication holds for every ordering of the edges. Under the event X ≥ 9 X\geq9 X ≥ 9 , there exist nine non-overlapping vertex pairs ( i 1 , i ~ 1 ) , … , ( i 9 , i ~ 9 ) ∈ Ch r × Ch r ~ (i_{1},\tilde{i}_{1}),\ldots,(i_{9},\tilde{i}_{9})\in\operatorname{Ch}_{r}\times\operatorname{Ch}_{\tilde{r}} ( i 1 , i ~ 1 ) , … , ( i 9 , i ~ 9 ) ∈ Ch r × Ch r ~ such that for each k ∈ [ 9 ] k\in[9] k ∈ [ 9 ] ,
L ^ d ( [ H d + 1 , i k ] , [ H ~ d + 1 , i ~ k ] ) > θ ∗ . \widehat{\mathcal{L}}_{d}([\mathcal{H}_{d+1,i_{k}}],[\widetilde{\mathcal{H}}_{d+1,\tilde{i}_{k}}])>\theta^{*}. L d ([ H d + 1 , i k ] , [ H d + 1 , i ~ k ]) > θ ∗ .
Towards a contradiction, suppose GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 0 \operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\tilde{r}),\theta^{*},5)=0 GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 0 . Then, the matching found by the subroutine before it terminates has size less than or equal to 4, which includes at most 4 vertices in Ch r \operatorname{Ch}_{r} Ch r and at most 4 vertices in Ch r ~ \operatorname{Ch}_{\tilde{r}} Ch r ~ . This implies that there must exist some k ∗ ∈ [ 9 ] k^{*}\in[9] k ∗ ∈ [ 9 ] such that the edge ( i k ∗ , i ~ k ∗ ) (i_{k^{*}},\tilde{i}_{k^{*}}) ( i k ∗ , i ~ k ∗ ) does not conflict with any edge in the matching. Since this edge has weight greater than θ ∗ \theta^{*} θ ∗ , the subroutine could not have terminated without adding it, which leads to a contradiction.
Notice that the number of children in the set Ch r ∗ \operatorname{Ch}_{r}^{*} Ch r ∗ follows distribution Poi ( λ s ) \operatorname{Poi}(\lambda_{s}) Poi ( λ s ) . Conditionally on ∣ Ch r ∗ ∣ |\operatorname{Ch}_{r}^{*}| ∣ Ch r ∗ ∣ , the subtree pairs ( [ H d + 1 , i ] , [ H ~ d + 1 , i ~ ] ) ([\mathcal{H}_{d+1,i}],[\widetilde{\mathcal{H}}_{d+1,\tilde{i}}]) ([ H d + 1 , i ] , [ H d + 1 , i ~ ]) , i ∈ Ch r ∗ i\in\operatorname{Ch}_{r}^{*} i ∈ Ch r ∗ , are independent and identically distributed as ( [ H d ] , [ H ~ d ] ) ([\mathcal{H}_{d}],[\widetilde{\mathcal{H}}_{d}]) ([ H d ] , [ H d ]) under P \mathbb{P} P . Their test outputs use mutually independent collections of random-bit sequences, jointly independent of the trees. Hence, conditionally on ∣ Ch r ∗ ∣ |\operatorname{Ch}_{r}^{*}| ∣ Ch r ∗ ∣ , the events
Ψ ( [ H d + 1 , i ] , [ H ~ d + 1 , i ~ ] ) = 1 \Psi([\mathcal{H}_{d+1,i}],[\widetilde{\mathcal{H}}_{d+1,\tilde{i}}])=1 Ψ ([ H d + 1 , i ] , [ H d + 1 , i ~ ]) = 1
are mutually independent, each with probability P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) \mathbb{P}(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1) P ( Ψ ([ H d ] , [ H d ]) = 1 ) , which does not depend on ∣ C h r ∗ ∣ |\mathcal{C}_{h_r^*}| ∣ C h r ∗ ∣ . It then follows by Poisson thinning that
X ∼ Poi ( λ s P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ) . X \sim\operatorname{Poi}\left(\lambda s\mathbb{P}(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1)\right). X ∼ Poi ( λ s P ( Ψ ([ H d ] , [ H d ]) = 1 ) ) .
Therefore, we have
P ( GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 0 ) ≤ P ( X ≤ 8 ) = P ( Poi ( λ s P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ) ≤ 8 ) . \mathbb{P}\left(\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\widetilde{r}),\theta^*,5)=0\right)
\leq\mathbb{P}(X\leq8)
= \mathbb{P}\left(\operatorname{Poi}\left(\lambda s\mathbb{P}(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1)\right)\leq8\right). P ( GreedyMatching ( W ∞ ( r , r ) , θ ∗ , 5 ) = 0 ) ≤ P ( X ≤ 8 ) = P ( Poi ( λ s P ( Ψ ([ H d ] , [ H d ]) = 1 ) ) ≤ 8 ) .
Notice that for any μ ≥ 0 \mu\geq0 μ ≥ 0 , we have
P ( Poi ( μ ) ≤ 8 ) = e − μ ∑ j = 0 8 μ j j ! = O ( e − μ / 2 ) . \mathbb{P}(\operatorname{Poi}(\mu)\leq8)=e^{-\mu}\sum_{j=0}^{8}\frac{\mu^j}{j!}=O\left(e^{-\mu/2}\right). P ( Poi ( μ ) ≤ 8 ) = e − μ j = 0 ∑ 8 j ! μ j = O ( e − μ /2 ) .
Then by (11) in Theorem 3 and the fact that λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , we have
λ s − 8 s ≤ λ s P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ λ s \lambda s-8s\leq\lambda s\mathbb{P}(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1)\leq\lambda s λ s − 8 s ≤ λ s P ( Ψ ([ H d ] , [ H d ]) = 1 ) ≤ λ s
for all sufficiently large n n n , and hence
P ( GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 0 ) = O ( exp ( − λ s 2 + 4 s ) ) = O ( exp ( − λ s 2 ) ) . (47) \mathbb{P}\left(\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\widetilde{r}),\theta^*,5)=0\right)
=O\left(\exp\left(-\frac{\lambda s}{2}+4s\right)\right)
=O\left(\exp\left(-\frac{\lambda s}{2}\right)\right). \tag*{(47)} P ( GreedyMatching ( W ∞ ( r , r ) , θ ∗ , 5 ) = 0 ) = O ( exp ( − 2 λ s + 4 s ) ) = O ( exp ( − 2 λ s ) ) . (47)
where the last equality uses s ≤ 1 s\leq1 s ≤ 1 .
Finally, the equivalence on Coup gives
P ( GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 0 ) = P ( Coup c , GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 0 ) + P ( Coup , GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 0 ) ≤ P ( Coup c ) + P ( GreedyMatching ( W ∞ ( r , r ~ ) , θ ∗ , 5 ) = 0 ) . \begin{aligned}
\mathbb{P}\left(\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(u,\widetilde{u}),\theta^*,5)=0\right)
&=\mathbb{P}\left(\operatorname{Coup}^{\mathrm{c}},\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(u,\widetilde{u}),\theta^*,5)=0\right)\\
&\quad+\mathbb{P}\left(\operatorname{Coup},\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(u,\widetilde{u}),\theta^*,5)=0\right)\\
&\leq\mathbb{P}(\operatorname{Coup}^{\mathrm{c}})+\mathbb{P}\left(\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(r,\widetilde{r}),\theta^*,5)=0\right).
\end{aligned} P ( GreedyMatching ( W ∞ ( u , u ) , θ ∗ , 5 ) = 0 ) = P ( Coup c , GreedyMatching ( W ∞ ( u , u ) , θ ∗ , 5 ) = 0 ) + P ( Coup , GreedyMatching ( W ∞ ( u , u ) , θ ∗ , 5 ) = 0 ) ≤ P ( Coup c ) + P ( GreedyMatching ( W ∞ ( r , r ) , θ ∗ , 5 ) = 0 ) .
By equations (46) and (47) , we therefore have
P ( GreedyMatching ( W ∞ ( u , u ~ ) , θ ∗ , 5 ) = 1 ) = 1 − O ( n − 1 / 2 + exp ( − λ s 2 ) ) . \mathbb{P}\left(\operatorname{GreedyMatching}(\mathcal{W}^{\infty}(u,\widetilde{u}),\theta^*,5)=1\right)
=1-O\left(n^{-1/2}+\exp\left(-\frac{\lambda s}{2}\right)\right). P ( GreedyMatching ( W ∞ ( u , u ) , θ ∗ , 5 ) = 1 ) = 1 − O ( n − 1/2 + exp ( − 2 λ s ) ) .
which completes the proof.
Combining the Bounds
By (35) and (36) in Appendix § 8 .§ 2 , M T B ( u , v ~ ) = 0 \mathrm{M}_{\mathrm{TB}}(u,\widetilde{v})=0 M TB ( u , v ) = 0 for all pairs ( u , v ~ ) (u,\widetilde{v}) ( u , v ) with v ~ ≠ u ~ \widetilde{v}\neq\widetilde{u} v = u with high probability, and M T B ( u , u ~ ) = 1 \mathrm{M}_{\mathrm{TB}}(u,\widetilde{u})=1 M TB ( u , u ) = 1 for all but o ( n ) o(n) o ( n ) nodes u u u with high probability. We now combine these two bounds with Lemma 12 on the seeded completion to prove Theorem 1.
Proof. We first establish the error-free almost-exact recovery of π ′ \pi' π ′ using (35) and (36), and then show the exact recovery of π ^ \widehat{\pi} π using Lemma 12.
We consider the event that M T B ( u , v ~ ) = 0 \mathrm{M}_{\mathrm{TB}}(u,\widetilde{v})=0 M TB ( u , v ) = 0 for all pairs ( u , v ~ ) (u,\widetilde{v}) ( u , v ) with v ~ ≠ u ~ \widetilde{v}\neq\widetilde{u} v = u and that X > n − n exp ( − λ s / 4 ) − n 3 / 4 − 2 n exp ( − ( log n ) 2 / 5 ) X>n-n\exp(-\lambda s/4)-n^{3/4}-2n\exp(-(\log n)^{2/5}) X > n − n exp ( − λ s /4 ) − n 3/4 − 2 n exp ( − ( log n ) 2/5 ) , where X = ∑ u ∈ V 1 { M T B ( u , u ~ ) = 1 } X=\sum_{u\in V}\mathbf{1}\{\mathrm{M}_{\mathrm{TB}}(u,\widetilde{u})=1\} X = ∑ u ∈ V 1 { M TB ( u , u ) = 1 } is defined in Appendix § 8 .§ 2 . The probabilities of these two conditions are bounded in (36) and (35), respectively. On this event, the first condition ensures that the only possible nonzero entry in row u u u of the matrix M T B M_{\mathrm{TB}} M TB is located at u ~ = π ( u ) \tilde{u}=\pi(u) u ~ = π ( u ) . Consequently, for every u ∈ V ′ u \in\mathcal{V}' u ∈ V ′ , Step 3 correctly assigns π ′ ( u ) = π ( u ) \pi'(u)=\pi(u) π ′ ( u ) = π ( u ) , implying that π ′ \pi' π ′ contains no wrong match. By the definition of V ′ \mathcal{V}' V ′ in (5), the number of matched nodes satisfies
∣ V ′ ∣ = ∑ u ∈ V 1 { M T B ( u , u ~ ) = 1 } ≥ n − n exp ( − λ s 4 ) − 2 n exp ( − ( log n ) 2 / 5 ) − n 3 / 4 = n ( 1 − o ( 1 ) ) , (48) |\mathcal{V}'|=\sum_{u\in\mathcal{V}} \mathbf{1}\{M_{\mathrm{TB}}(u,\tilde{u})=1\}
\ge n-n\exp\left(-\frac{\lambda s}{4}\right)-2n\exp\left(-(\log n)^{2/5}\right)-n^{3/4}
=n(1-o(1)), \tag*{(48)} ∣ V ′ ∣ = u ∈ V ∑ 1 { M TB ( u , u ~ ) = 1 } ≥ n − n exp ( − 4 λ s ) − 2 n exp ( − ( log n ) 2/5 ) − n 3/4 = n ( 1 − o ( 1 )) , (48)
where the final equality uses λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) and the fact that s > 0 s>0 s > 0 is constant. By the union bound of (36) and (35), we have
P ( { M T B ( u , v ~ ) = 0 for all pairs ( u , v ~ ) such that v ~ ≠ u ~ } ∩ { X > n − n exp ( − λ s 4 ) − n 3 / 4 − 2 n exp ( − ( log n ) 2 / 5 ) } ) ≥ 1 − O ~ ( n − 1 / 3 ) − O ( exp ( − λ s 4 ) + exp ( − ( log n ) 2 / 5 ) ) = 1 − O ( exp ( − λ s 4 ) + exp ( − ( log n ) 2 / 5 ) ) = 1 − o ( 1 ) , (49) \begin{aligned}
\mathbb{P}\Big(&\{M_{\mathrm{TB}}(u,\tilde{v})=0\text{ for all pairs }(u,\tilde{v})\text{ such that }\tilde{v}\ne\tilde{u}\}\\
&\cap\{X>n-n\exp\left(-\frac{\lambda s}{4}\right)-n^{3/4}-2n\exp\left(-(\log n)^{2/5}\right)\}\Big)\\
&\ge1-\widetilde{O}(n^{-1/3})-O\left(\exp\left(-\frac{\lambda s}{4}\right)+\exp\left(-(\log n)^{2/5}\right)\right)\\
&=1-O\left(\exp\left(-\frac{\lambda s}{4}\right)+\exp\left(-(\log n)^{2/5}\right)\right)=1-o(1), \tag*{(49)}
\end{aligned} P ( { M TB ( u , v ~ ) = 0 for all pairs ( u , v ~ ) such that v ~ = u ~ } ∩ { X > n − n exp ( − 4 λ s ) − n 3/4 − 2 n exp ( − ( log n ) 2/5 ) } ) ≥ 1 − O ( n − 1/3 ) − O ( exp ( − 4 λ s ) + exp ( − ( log n ) 2/5 ) ) = 1 − O ( exp ( − 4 λ s ) + exp ( − ( log n ) 2/5 ) ) = 1 − o ( 1 ) , (49)
where the first equality holds because O ~ ( n − 1 / 3 ) = o ( exp ( − ( log n ) 2 / 5 ) ) \widetilde{O}(n^{-1/3})=o(\exp(-(\log n)^{2/5})) O ( n − 1/3 ) = o ( exp ( − ( log n ) 2/5 )) . This establishes the error-free almost-exact recovery guarantee in (7).
It remains to prove the exact recovery guarantee when λ s ≥ ( 1 + ϵ ) log n \lambda s\ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n for an arbitrarily small constant ϵ > 0 \epsilon>0 ϵ > 0 . For all sufficiently large n n n , the matched size satisfies
n − n exp ( − λ s 4 ) − 2 n exp ( − ( log n ) 2 / 5 ) − n 3 / 4 ≥ ( 1 − ϵ 16 ) n . n-n\exp\left(-\frac{\lambda s}{4}\right)-2n\exp\left(-(\log n)^{2/5}\right)-n^{3/4}
\ge\left(1-\frac{\epsilon}{16}\right)n. n − n exp ( − 4 λ s ) − 2 n exp ( − ( log n ) 2/5 ) − n 3/4 ≥ ( 1 − 16 ϵ ) n .
Therefore, π ′ \pi' π ′ contains at least ( 1 − ϵ / 16 ) n (1-\epsilon/16)n ( 1 − ϵ /16 ) n correct matches. Additionally, the assumption λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) implies λ = o ( n ) \lambda=o(n) λ = o ( n ) , which yields
λ n ≤ 1 2 , n s − λ n − λ = s − o ( 1 ) ≥ ϵ \frac{\lambda}{n}\le\frac{1}{2},\qquad\frac{ns-\lambda}{n-\lambda}=s-o(1)\ge\epsilon n λ ≤ 2 1 , n − λ n s − λ = s − o ( 1 ) ≥ ϵ
for all sufficiently large n n n and ϵ < s \epsilon<s ϵ < s . These inequalities show that the conditions of Lemma 12 are satisfied. Since Step 4 of Algorithm 1 precisely executes the seeded completion procedure described in Algorithm 4, Lemma 12 ensures the exact recovery for every correct initial matching π ′ \pi' π ′ in T A b I i n g \mathrm{TAbIing} TAbIing . Combining the error probability O ( n − ϵ / 8 ) O(n^{-\epsilon/8}) O ( n − ϵ /8 ) from Lemma 12 with (48) and applying a union bound, we have
P ( π ^ = π ) ≥ 1 − O ( exp ( − λ s 4 ) + exp ( − ( log n ) 2 / 5 ) ) − O ( n − ϵ / 8 ) = 1 − O ( exp ( − ( log n ) 2 / 5 ) ) = 1 − o ( 1 ) , \begin{aligned}
\mathbb{P}(\hat{\pi}=\pi)\ge1-O\left(\exp\left(-\frac{\lambda s}{4}\right)+\exp\left(-(\log n)^{2/5}\right)\right)-O(n^{-\epsilon/8}) \\
&=1-O\left(\exp\left(-(\log n)^{2/5}\right)\right)=1-o(1),
\end{aligned} P ( π ^ = π ) ≥ 1 − O ( exp ( − 4 λ s ) + exp ( − ( log n ) 2/5 ) ) − O ( n − ϵ /8 ) = 1 − O ( exp ( − ( log n ) 2/5 ) ) = 1 − o ( 1 ) ,
where the first equality follows from the asymptotic domination bounds
exp ( − λ s 4 ) ≤ n − ( 1 + ϵ ) / 4 = o ( exp ( − ( log n ) 2 / 5 ) ) , n − ϵ / 8 = o ( exp ( − ( log n ) 2 / 5 ) ) . \exp\left(-\frac{\lambda s}{4}\right)\le n^{-(1+\epsilon)/4}=o\left(\exp\left(-(\log n)^{2/5}\right)\right),\qquad n^{-\epsilon/8}=o\left(\exp\left(-(\log n)^{2/5}\right)\right). exp ( − 4 λ s ) ≤ n − ( 1 + ϵ ) /4 = o ( exp ( − ( log n ) 2/5 ) ) , n − ϵ /8 = o ( exp ( − ( log n ) 2/5 ) ) .
This completes the proof of Theorem 1.
Proof of Theorem 2
In this appendix, we present the detailed proof of Theorem 2, which is restated below.
Theorem 2 (Computational complexity). Under the assumptions of Theorem 1, for every realization of the input graphs ( G , G ~ ) (G,\widetilde{G}) ( G , G ) and every execution of TBAlign, the computational complexity is
O ( n 2 + ( ∣ E ∣ + ∣ E ~ ∣ + ∣ E ∣ ∣ E ~ ∣ ) n o ( 1 ) ) . (50) O\left(n^2+\left(|\mathcal{E}|+|\widetilde{\mathcal{E}}|+|\mathcal{E}||\widetilde{\mathcal{E}}|\right)n^{o(1)}\right). \tag*{(50)} O ( n 2 + ( ∣ E ∣ + ∣ E ∣ + ∣ E ∣∣ E ∣ ) n o ( 1 ) ) . (50) Moreover, with probability 1 − o ( e − n ) 1-o(e^{-n}) 1 − o ( e − n ) , this complexity is bounded by n 2 + o ( 1 ) n^{2+o(1)} n 2 + o ( 1 ) .
Proof. We sequentially bound the computational complexity of each step of Algorithm 1. Fix an arbitrary realization of the input graphs and an execution of TBAlign. By (2) in Step 1, the parameters satisfy
log τ = O ( log log n ) , τ 2 d = exp ( O ( ( log n ) 1 / 3 log log n ) ) = n o ( 1 ) . (51) \log\tau=O(\log\log n),\qquad\tau^{2d}=\exp\left(O\left((\log n)^{1/3}\log\log n\right)\right)=n^{o(1)}. \tag*{(51)} log τ = O ( log log n ) , τ 2 d = exp ( O ( ( log n ) 1/3 log log n ) ) = n o ( 1 ) . (51)
Step 1: Local tree evaluation. We first access the neighbor nodes and compute the degrees for all nodes in G G G and G ~ \widetilde{G} G , which takes O ( n 2 ) O(n^2) O ( n 2 ) time. To construct T w ∖ u T_{w\setminus u} T w ∖ u , we perform a breadth-first search starting from w w w in both G ∖ u G\setminus u G ∖ u and G G G up to depth d d d . The search terminates early if any explored node has a degree exceeding τ \tau τ in G G G , in which case the local tree evaluates to the empty tree. Each search explores at most ∑ j = 0 d τ j = O ( τ d ) \sum_{j=0}^{d}\tau^j=O(\tau^d) ∑ j = 0 d τ j = O ( τ d ) nodes. Verifying whether the full depth-d d d neighborhood in G G G is a tree requires examining at most O ( τ 2 d ) O(\tau^{2d}) O ( τ 2 d ) node pairs. Thus, the computational complexity of constructing and testing T w ∖ u T_{w\setminus u} T w ∖ u is bounded by O ( τ 2 d ) O(\tau^{2d}) O ( τ 2 d ) . An identical bound holds for T ~ x ~ ∖ v ~ \widetilde{T}_{\widetilde{x}\setminus\widetilde{v}} T x ∖ v . Because ∣ C ∣ = 2 ∣ E ∣ |\mathcal{C}|=2|\mathcal{E}| ∣ C ∣ = 2∣ E ∣ and ∣ C ~ ∣ = 2 ∣ E ~ ∣ |\widetilde{\mathcal{C}}|=2|\widetilde{\mathcal{E}}| ∣ C ∣ = 2∣ E ∣ , constructing and testing all local trees requires
O ( n 2 + ( ∣ E ∣ + ∣ E ~ ∣ ) τ 2 d ) = O ( n 2 + ( ∣ E ∣ + ∣ E ~ ∣ ) n o ( 1 ) ) O\left(n^2+\left(|\mathcal{E}|+|\widetilde{\mathcal{E}}|\right)\tau^{2d}\right)=O\left(n^2+\left(|\mathcal{E}|+|\widetilde{\mathcal{E}}|\right)n^{o(1)}\right) O ( n 2 + ( ∣ E ∣ + ∣ E ∣ ) τ 2 d ) = O ( n 2 + ( ∣ E ∣ + ∣ E ∣ ) n o ( 1 ) )
time, where we applied (51) .
Furthermore, every nonempty local tree has at most τ \tau τ children per node. Consequently, the maximum degree parameter D D D computed in (17) by ApproxLR satisfies D ≤ τ D\le\tau D ≤ τ for all sufficiently large n n n , yielding D d ≤ τ d = n o ( 1 ) D^d\le\tau^d=n^{o(1)} D d ≤ τ d = n o ( 1 ) . By (24) in Lemma 4, each invocation of ApproxLR with failure parameter ξ = n − 11 \xi=n^{-11} ξ = n − 11 executes in n o ( 1 ) n^{o(1)} n o ( 1 ) time. Since there are at most 4 ∣ E ∣ ∣ E ~ ∣ 4|\mathcal{E}||\widetilde{\mathcal{E}}| 4∣ E ∣∣ E ∣ such invocations, and initializing the matrix L ^ \widehat{L} L takes O ( ∣ E ∣ ∣ E ~ ∣ ) O(|\mathcal{E}||\widetilde{\mathcal{E}}|) O ( ∣ E ∣∣ E ∣ ) time, the total computational complexity of Step 1 is bounded by
O ( n 2 + ( ∣ E ∣ + ∣ E ~ ∣ + ∣ E ∣ ∣ E ~ ∣ ) n o ( 1 ) ) . O\left(n^2+\left(|\mathcal{E}|+|\widetilde{\mathcal{E}}|+|\mathcal{E}||\widetilde{\mathcal{E}}|\right)n^{o(1)}\right). O ( n 2 + ( ∣ E ∣ + ∣ E ∣ + ∣ E ∣∣ E ∣ ) n o ( 1 ) ) .
Step 2: 5-dangling-tree test on witness graphs. Initializing the matrix M T B M_{\mathrm{TB}} M TB takes O ( n 2 ) O(n^2) O ( n 2 ) time. Each pair in C × C ~ \mathcal{C}\times\widetilde{\mathcal{C}} C × C contributes an edge to exactly one witness graph. Since ∣ C ∣ = 2 ∣ E ∣ |\mathcal{C}|=2|\mathcal{E}| ∣ C ∣ = 2∣ E ∣ and ∣ C ~ ∣ = 2 ∣ E ~ ∣ |\widetilde{\mathcal{C}}|=2|\widetilde{\mathcal{E}}| ∣ C ∣ = 2∣ E ∣ , the total number of edges across all witness graphs is 4 ∣ E ∣ ∣ E ~ ∣ 4|\mathcal{E}||\widetilde{\mathcal{E}}| 4∣ E ∣∣ E ∣ . Moreover, the node sets N ( u ) \mathcal{N}(u) N ( u ) and N ~ ( v ~ ) \widetilde{\mathcal{N}}(\widetilde{v}) N ( v ) of each witness graph W ( u , v ~ ) \mathcal{W}(u,\widetilde{v}) W ( u , v ) are the neighbor sets computed in Step 1, so specifying them for all node pairs ( u , v ~ ) ∈ V × V ~ (u,\widetilde{v})\in\mathcal{V}\times\widetilde{\mathcal{V}} ( u , v ) ∈ V × V has complexity O ( n 2 ) O(n^2) O ( n 2 ) . Therefore, constructing all witness graphs requires O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) O(n^2+|\mathcal{E}||\widetilde{\mathcal{E}}|) O ( n 2 + ∣ E ∣∣ E ∣ ) time.
Since the GreedyMatching subroutine examines edges sequentially, it processes each witness edge at most once. For each examined edge, the algorithm checks if its weight exceeds θ ∗ \theta^* θ ∗ and whether it shares an endpoint with any already-selected edge. Because the procedure terminates as soon as the matching reaches size five, at most four edges are held in the matching at any time, and such check has complexity O ( 1 ) O(1) O ( 1 ) . Consequently, executing the matching across all witness graphs has complexity O ( ∣ E ∣ ∣ E ~ ∣ ) O\left(|\mathcal{E}||\widetilde{\mathcal{E}}|\right) O ( ∣ E ∣∣ E ∣ ) . The total computational complexity of Step 2 is thus
O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) . O\left(n^2+|\mathcal{E}||\widetilde{\mathcal{E}}|\right). O ( n 2 + ∣ E ∣∣ E ∣ ) .
Step 3: Partial mapping construction. We identify the node set V ′ \mathcal{V}' V ′ and select an arbitrary nonzero entry for each row indexed by V ′ \mathcal{V}' V ′ by scanning the rows of the n × n n \times n n × n matrix M T B \mathbf{M}_{\mathrm{TB}} M TB , which has complexity O ( n 2 ) O(n^2) O ( n 2 ) .
Step 4: Seeded completion. By the complexity analysis provided in the proof of Lemma 12 in Appendix E, the computational complexity of expanding the partial mapping π ′ \pi' π ′ to the complete mapping π ^ \widehat{\pi} π via seeded completion is bounded by
O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) . O\left(n^2+|\mathcal{E}||\widetilde{\mathcal{E}}|\right). O ( n 2 + ∣ E ∣∣ E ∣ ) .
Summing the bounds across all four steps yields the deterministic upper bound (8) for the overall computational complexity of TBAlign.
Finally, each graph has marginal distribution ER ( n , λ / n ) \operatorname{ER}(n,\lambda/n) ER ( n , λ / n ) , and hence each edge count has distribution Binom ( ( n 2 ) , λ / n ) \operatorname{Binom}\left(\binom{n}{2},\lambda/n\right) Binom ( ( 2 n ) , λ / n ) with mean ( n − 1 ) λ / 2 (n-1)\lambda/2 ( n − 1 ) λ /2 . Applying (128) in Lemma 18 with δ = 1 \delta=1 δ = 1 and taking a union bound gives
P ( ∣ E ∣ > n λ or ∣ E ~ ∣ > n λ ) ≤ 2 exp ( − ( n − 1 ) λ 6 ) = o ( e − n ) , \mathbb{P}\left(|\mathcal{E}|>n\lambda\ \text{or}\ |\widetilde{\mathcal{E}}|>n\lambda\right)\leq2\exp\left(-\frac{(n-1)\lambda}{6}\right)=o(e^{-n}), P ( ∣ E ∣ > nλ or ∣ E ∣ > nλ ) ≤ 2 exp ( − 6 ( n − 1 ) λ ) = o ( e − n ) ,
where the last equality uses λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) . On the complementary event, the deterministic bound (8) is at most
O ( n 2 + ( n λ + n 2 λ 2 ) n o ( 1 ) ) = n 2 + o ( 1 ) , O\left(n^2+(n\lambda+n^2\lambda^2)n^{o(1)}\right)=n^{2+o(1)}, O ( n 2 + ( nλ + n 2 λ 2 ) n o ( 1 ) ) = n 2 + o ( 1 ) ,
since λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . This completes the proof of Theorem 2.
Proof of Theorem 3
In this appendix, we present the detailed proof of Theorem 3, which is restated below.
Theorem 3. Let s ∈ ( C O t t e r , 1 ] s\in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] be a constant independent of n n n , and suppose that λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) with λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . Set
d = ⌈ ( log n ) 1 / 3 ⌉ , θ ∗ = e 1 / 16 n ( log log n ) / 2 , ξ = n − 11 . d=\left\lceil(\log n)^{1/3}\right\rceil,\qquad\theta^*=e^{1/16}n^{(\log\log n)/2},\qquad\xi=n^{-11}. d = ⌈ ( log n ) 1/3 ⌉ , θ ∗ = e 1/16 n ( l o g l o g n ) /2 , ξ = n − 11 . Then the algorithm ApproxLR defined in Algorithm 2 outputs a nonnegative estimate L ^ d ( t , t ~ ) \widehat{L}_d(t,\widetilde{t}) L d ( t , t ) for any input ( t , t ~ ) ∈ Z d × Z d (t,\widetilde{t})\in\mathbb{Z}_d\times\mathbb{Z}_d ( t , t ) ∈ Z d × Z d and parameters λ , s , ξ , d \lambda,s,\xi,d λ , s , ξ , d . Moreover, the test
Ψ ( t , t ~ ) = 1 { L ^ d ( t , t ~ ) > θ ∗ } (52) \Psi(t,\widetilde{t})=\mathbf{1}\left\{\widehat{L}_d(t,\widetilde{t})>\theta^*\right\} \tag*{(52)} Ψ ( t , t ) = 1 { L d ( t , t ) > θ ∗ } (52) satisfies
Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ n − ( log log n ) / 2 + n − 11 , (53) \mathbb{Q}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)\leq n^{-(\log\log n)/2}+n^{-11}, \tag*{(53)} Q ( Ψ ([ H d ] , [ H d ]) = 1 ) ≤ n − ( l o g l o g n ) /2 + n − 11 , (53) P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≥ 1 − 7 λ − e 1 / 8 n − ( log log n ) / 2 − n − 11 (54) \mathbb{P}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)\geq1-\frac{7}{\lambda}-e^{1/8}n^{-(\log\log n)/2}-n^{-11} \tag*{(54)} P ( Ψ ([ H d ] , [ H d ]) = 1 ) ≥ 1 − λ 7 − e 1/8 n − ( l o g l o g n ) /2 − n − 11 (54) for all sufficiently large n n n .
We prove the statistical guarantees for the test Ψ \Psi Ψ in Theorem 3 using an auxiliary correlation test Φ \Phi Φ . The following proposition extends [13 Proposition 2] to a wider range of λ \lambda λ with the same choice of depth d = ⌈ ( log n ) 1 / 3 ⌉ d=\lceil(\log n)^{1/3}\rceil d = ⌈( log n ) 1/3 ⌉ throughout this range.
Proposition 1. Let s ∈ ( C O t t e r , 1 ] s\in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] be a constant independent of n n n , and suppose that λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) with λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) and d = ⌈ ( log n ) 1 / 3 ⌉ d=\lceil(\log n)^{1/3}\rceil d = ⌈( log n ) 1/3 ⌉ . Then there exists a test Φ : Z d × Z d → { 0 , 1 } \Phi:\mathbb{Z}_d\times\mathbb{Z}_d\to\{0,1\} Φ : Z d × Z d → { 0 , 1 } that satisfies
Q ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ n − log log n , (55) \mathbb{Q}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)\le n^{-\log\log n}, \tag*{(55)} Q ( Φ ([ H d ] , [ H d ]) = 1 ) ≤ n − l o g l o g n , (55) P ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≥ 1 − 7 λ (56) \mathbb{P}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)\ge1-\frac{7}{\lambda} \tag*{(56)} P ( Φ ([ H d ] , [ H d ]) = 1 ) ≥ 1 − λ 7 (56) for all sufficiently large n n n .
We construct Φ \Phi Φ and prove Proposition 1 in Appendix § 10 .§ 1 . In the proof of Theorem 3, we combine Proposition 1 with the approximation result in Lemma 11 of Appendix § 11 .§ 2 to establish the statistical guarantees for Ψ \Psi Ψ . The detailed proof of Theorem 3 is given in Appendix § 10 .§ 2 .
Proof of Proposition 1: An Auxiliary Test
Let l = ⌈ 2 log log n ⌉ l=\lceil2\log\log n\rceil l = ⌈ 2 log log n ⌉ . We construct the correlation test Φ \Phi Φ satisfying guarantees (50) and (51) in Proposition 1 from an auxiliary set F d − l ⊆ Z d − l × Z d − l \mathcal{F}_{d-l}\subseteq\mathbb{Z}_{d-l}\times\mathbb{Z}_{d-l} F d − l ⊆ Z d − l × Z d − l given by the following lemma. A proof of this lemma for λ = ( log n ) α + o ( 1 ) \lambda=(\log n)^{\alpha+o(1)} λ = ( log n ) α + o ( 1 ) with a constant α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) is given in [13 Appendix A-C] , and it carries over verbatim to λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) and d d d and l l l given above.
Lemma 9 ([13 Appendix A-C] ). Let s ∈ ( C O t t e r , 1 ] s\in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] be a constant. Suppose that
λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) , d = ⌈ ( log n ) 1 / 3 ⌉ , l = ⌈ 2 log log n ⌉ . \lambda=\omega(1),\qquad\lambda=(\log n)^{O(1)},\qquad d=\lceil(\log n)^{1/3}\rceil,\qquad l=\lceil2\log\log n\rceil. λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) , d = ⌈( log n ) 1/3 ⌉ , l = ⌈ 2 log log n ⌉ . Then there exist constants C 3 > 0 C_3>0 C 3 > 0 and C 4 > 0 C_4>0 C 4 > 0 independent of n n n , and a set F d − l ⊆ Z d − l × Z d − l \mathcal{F}_{d-l}\subseteq\mathbb{Z}_{d-l}\times\mathbb{Z}_{d-l} F d − l ⊆ Z d − l × Z d − l , such that
Q ( ( [ H d − l ] , [ H ~ d − l ] ) ∈ F d − l ) ≤ C 3 e − d + l , (57) \mathbb{Q}\left(([\mathcal{H}_{d-l}],[\widetilde{\mathcal{H}}_{d-l}])\in\mathcal{F}_{d-l}\right)\le C_3e^{-d+l}, \tag*{(57)} Q ( ([ H d − l ] , [ H d − l ]) ∈ F d − l ) ≤ C 3 e − d + l , (57) P ( ( [ H d − l ] , [ H ~ d − l ] ) ∈ F d − l ) ≥ 1 − C 4 λ − 1 , (58) \mathbb{P}\left(([\mathcal{H}_{d-l}],[\widetilde{\mathcal{H}}_{d-l}])\in\mathcal{F}_{d-l}\right)\ge1-C_4\lambda^{-1}, \tag*{(58)} P ( ([ H d − l ] , [ H d − l ]) ∈ F d − l ) ≥ 1 − C 4 λ − 1 , (58) for all large enough n n n .
We now utilize F d − l \mathcal{F}_{d-l} F d − l to define the test Φ \Phi Φ via the maximum matching over a bipartite graph W \mathcal{W} W defined below. Given a pair of rooted unlabeled trees ( t , t ~ ) ∈ Z d × Z d (t,\widetilde{t})\in\mathbb{Z}_d\times\mathbb{Z}_d ( t , t ) ∈ Z d × Z d , we first assign arbitrary labels to the vertices in the l l l -th generations of t t t and t ~ \widetilde{t} t , and denote the resulting sets by S l ( t ) S_l(t) S l ( t ) and S ~ l ( t ~ ) \widetilde{S}_l(\widetilde{t}) S l ( t ) , respectively. We then construct a bipartite graph W \mathcal{W} W between S l ( t ) S_l(t) S l ( t ) and S ~ l ( t ~ ) \widetilde{S}_l(\widetilde{t}) S l ( t ) such that an edge exists between u ∈ S l ( t ) u\in S_l(t) u ∈ S l ( t ) and v ~ ∈ S ~ l ( t ~ ) \widetilde{v}\in\widetilde{S}_l(\widetilde{t}) v ∈ S l ( t ) if ( t u , t ~ v ~ ) ∈ F d − l (t_u,\widetilde{t}_{\widetilde{v}})\in\mathcal{F}_{d-l} ( t u , t v ) ∈ F d − l , where t u t_u t u and t ~ v ~ \widetilde{t}_{\widetilde{v}} t v are the unlabeled subtrees of t t t and t ~ \widetilde{t} t rooted at u u u and v ~ \widetilde{v} v , respectively. An illustration of this construction is provided in Figure 3 .
Figure 3. An example of constructing bipartite graph W \mathcal{W} W from trees ( t , t ~ ) ∈ Z 4 × Z 4 (t,\tilde{t}) \in\mathcal{Z}_4 \times\mathcal{Z}_4 ( t , t ~ ) ∈ Z 4 × Z 4 when l = 1 l=1 l = 1 . The red nodes in both tree t t t and t ~ \tilde{t} t ~ are roots, while the blue nodes in t t t and t ~ \tilde{t} t ~ denote the two parts in W \mathcal{W} W . The green dashed line between two subtrees denotes that they appear in set F 3 \mathcal{F}_3 F 3 , which corresponds to the edges in the bipartite graph W \mathcal{W} W .
We now define the test Φ \Phi Φ such that it declares that ( t , t ~ ) (t,\widetilde{t}) ( t , t ) is drawn from the correlated model P \mathbb{P} P when the maximum matching size of W \mathcal{W} W is at least 1 2 e ( λ s ) l \frac{1}{2e}(\lambda s)^l 2 e 1 ( λ s ) l . That is,
Φ ( t , t ~ ) = 1 { MaxMatching ( W ) ≥ 1 2 e ( λ s ) l } , (59) \Phi(t,\widetilde{t})=\mathbb{1}\left\{\operatorname{MaxMatching}(\mathcal{W})\ge\frac{1}{2e}(\lambda s)^l\right\}, \tag*{(59)} Φ ( t , t ) = 1 { MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l } , (59)
We next prove Proposition 1 based on Lemma 9.
Proof. We prove that Φ \Phi Φ satisfies the type-I error bound (55) and the power bound (56) in the following two parts.
Proof of (50). Suppose ( H , H ~ ) ∼ Q (\mathcal{H},\widetilde{\mathcal{H}}) \sim\mathbb{Q} ( H , H ) ∼ Q . Throughout the proof, let S l = S l ( H ) \mathcal{S}_l=\mathcal{S}_l(\mathcal{H}) S l = S l ( H ) and S ~ l = S l ( H ~ ) \widetilde{\mathcal{S}}_l=\mathcal{S}_l(\widetilde{\mathcal{H}}) S l = S l ( H ) denote the level-l l l vertex sets of H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H , respectively. For each u ∈ S l u \in\mathcal{S}_l u ∈ S l and v ~ ∈ S ~ l \widetilde{v} \in\widetilde{\mathcal{S}}_l v ∈ S l , let H d , u \mathcal{H}_{d,u} H d , u and H ~ d , v ~ \widetilde{\mathcal{H}}_{d,\widetilde{v}} H d , v denote the subtrees of H d \mathcal{H}_d H d and H ~ d \widetilde{\mathcal{H}}_d H d rooted at u u u and v ~ \widetilde{v} v , respectively. Recall from (59) that Φ \Phi Φ outputs 1 if and only if
MaxMatching ( W ) ≥ 1 2 e ( λ s ) l , \operatorname{MaxMatching}(\mathcal{W}) \ge\frac{1}{2e}(\lambda s)^l, MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l ,
where l = ⌈ 2 log log n ⌉ l=\lceil2\log\log n\rceil l = ⌈ 2 log log n ⌉ and d = ⌈ ( log n ) 1 / 3 ⌉ d=\lceil(\log n)^{1/3}\rceil d = ⌈( log n ) 1/3 ⌉ in our setting.
We first record the conditional edge probabilities in W \mathcal{W} W . Under Q \mathbb{Q} Q , the trees H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H are two independent Galton–Watson trees with Poi ( λ ) \operatorname{Poi}(\lambda) Poi ( λ ) offspring. By the definition of H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H , conditioned on ( S l , S ~ l ) (\mathcal{S}_l,\widetilde{\mathcal{S}}_l) ( S l , S l ) , the subtrees in the two collections
{ H d , u : u ∈ S l } and { H ~ d , v ~ : v ~ ∈ S ~ l } \{\mathcal{H}_{d,u}:u\in\mathcal{S}_l\}\quad\text{and}\quad\{\widetilde{\mathcal{H}}_{d,\widetilde{v}}:\widetilde{v}\in\widetilde{\mathcal{S}}_l\} { H d , u : u ∈ S l } and { H d , v : v ∈ S l }
are mutually independent and identically distributed Galton–Watson trees with Poi ( λ ) \operatorname{Poi}(\lambda) Poi ( λ ) offspring truncated at depth d − l d-l d − l . By construction, ( u , v ~ ) (u,\widetilde{v}) ( u , v ) is an edge of W \mathcal{W} W if and only if ( [ H d , u ] , [ H ~ d , v ~ ] ) ∈ F d − l ([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{v}}])\in\mathcal{F}_{d-l} ([ H d , u ] , [ H d , v ]) ∈ F d − l , so the edge indicators associated with any fixed matching in W \mathcal{W} W are conditionally independent. Moreover, by the definition of W \mathcal{W} W and the type-I bound (57) in Lemma 9, for every u ∈ S l u\in\mathcal{S}_l u ∈ S l and v ~ ∈ S ~ l \widetilde{v}\in\widetilde{\mathcal{S}}_l v ∈ S l ,
Q ( ( u , v ~ ) ∈ W ∣ S l , S ~ l ) = Q ( ( [ H d − l ] , [ H ~ d − l ] ) ∈ F d − l ) ≤ C 3 e − d + l . (60) \begin{aligned}
\mathbb{Q}\bigl((u,\widetilde{v})\in\mathcal{W}\mid\mathcal{S}_l,\widetilde{\mathcal{S}}_l\bigr)
&=\mathbb{Q}\bigl(([\mathcal{H}_{d-l}],[\widetilde{\mathcal{H}}_{d-l}])\in\mathcal{F}_{d-l}\bigr)\\
&\le C_3e^{-d+l}. \tag*{(60)}
\end{aligned} Q ( ( u , v ) ∈ W ∣ S l , S l ) = Q ( ([ H d − l ] , [ H d − l ]) ∈ F d − l ) ≤ C 3 e − d + l . (60)
for all sufficiently large n n n , where C 3 C_3 C 3 is a constant independent of n n n .
To bound the type-I error, we now condition on the event
A 4 : = { max { ∣ S l ∣ , ∣ S ~ l ∣ } ≤ ( e λ ) l } , (61) \mathcal{A}_4:=\left\{\max\{|\mathcal{S}_l|,|\widetilde{\mathcal{S}}_l|\}\le(e\lambda)^l\right\}, \tag*{(61)} A 4 := { max { ∣ S l ∣ , ∣ S l ∣ } ≤ ( e λ ) l } , (61)
on which both level-l l l vertex sets have at most ( e λ ) l (e\lambda)^l ( e λ ) l vertices, and split
Q ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ Q ( MaxMatching ( W ) ≥ 1 2 e ( λ s ) l | A 4 ) + Q ( A 4 c ) . (62) \mathbb{Q}\bigl(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\bigr)
\le\mathbb{Q}\left(\operatorname{MaxMatching}(\mathcal{W})\ge\frac{1}{2e}(\lambda s)^l\ \middle|\ \mathcal{A}_4\right)+\mathbb{Q}(\mathcal{A}_4^c). \tag*{(62)} Q ( Φ ([ H d ] , [ H d ]) = 1 ) ≤ Q ( MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l A 4 ) + Q ( A 4 c ) . (62)
We bound the two terms on the right-hand side of (57) in turn.
We first bound the conditional probability in (57). Since MaxMatching ( W ) \operatorname{MaxMatching}(\mathcal{W}) MaxMatching ( W ) takes integer values, the event { MaxMatching ( W ) ≥ 1 2 e ( λ s ) l } \{\operatorname{MaxMatching}(\mathcal{W}) \ge\frac{1}{2e}(\lambda s)^l\} { MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l } holds if and only if W \mathcal{W} W contains a matching of size ⌈ 1 2 e ( λ s ) l ⌉ \lceil\frac{1}{2e}(\lambda s)^l\rceil ⌈ 2 e 1 ( λ s ) l ⌉ .
For any fixed realizations of ( S l , S ~ l ) (\mathcal{S}_l,\widetilde{\mathcal{S}}_l) ( S l , S l ) consistent with A 4 \mathcal{A}_4 A 4 and any positive integer k k k , a matching of size k k k between S l \mathcal{S}_l S l and S ~ l \widetilde{\mathcal{S}}_l S l is specified by choosing k k k vertices on each side together with a bijection between them. Thus, the number of such matchings is at most
( ∣ S l ∣ k ) ( ∣ S ~ l ∣ k ) k ! ≤ ( ∣ S l ∣ ∣ S ~ l ∣ ) k k ! ≤ ( e λ ) 2 l k k ! \binom{|\mathcal{S}_l|}{k}\binom{|\widetilde{\mathcal{S}}_l|}{k}k! \le\frac{(|\mathcal{S}_l||\widetilde{\mathcal{S}}_l|)^k}{k!} \le\frac{(e\lambda)^{2lk}}{k!} ( k ∣ S l ∣ ) ( k ∣ S l ∣ ) k ! ≤ k ! ( ∣ S l ∣∣ S l ∣ ) k ≤ k ! ( e λ ) 2 l k
Therefore, conditioned on the event A 4 \mathcal{A}_4 A 4 where ∣ S l ∣ , ∣ S ~ l ∣ ≤ ( e λ ) l |\mathcal{S}_l|,|\widetilde{\mathcal{S}}_l| \le(e\lambda)^l ∣ S l ∣ , ∣ S l ∣ ≤ ( e λ ) l , by taking a union bound over these matchings, we obtain
Q ( W has a matching of size k ∣ S l , S ~ l ) ≤ ( e λ ) 2 l k k ! ( Q ( ( u , v ~ ) ∈ W ∣ S l , S ~ l ) ) k ≤ ( e λ ) 2 l k k ! ( C 3 e − d + l ) k ≤ ( e C 3 ( e λ ) 2 l e − d + l k ) k , (63) \begin{aligned}
\mathbb{Q}(\mathcal{W}\text{ has a matching of size }k\mid\mathcal{S}_l,\widetilde{\mathcal{S}}_l)
&\le\frac{(e\lambda)^{2lk}}{k!}\bigl(\mathbb{Q}((u,\widetilde v)\in\mathcal{W}\mid\mathcal{S}_l,\widetilde{\mathcal{S}}_l)\bigr)^k\\
&\le\frac{(e\lambda)^{2lk}}{k!}\bigl(C_3e^{-d+l}\bigr)^k\\
&\le\left(\frac{eC_3(e\lambda)^{2l}e^{-d+l}}{k}\right)^k, \tag*{(63)}
\end{aligned} Q ( W has a matching of size k ∣ S l , S l ) ≤ k ! ( e λ ) 2 l k ( Q (( u , v ) ∈ W ∣ S l , S l ) ) k ≤ k ! ( e λ ) 2 l k ( C 3 e − d + l ) k ≤ ( k e C 3 ( e λ ) 2 l e − d + l ) k , (63)
where the first inequality follows from the conditional independence of the edges in each matching, the second inequality holds by (55), and the last inequality uses k ! ≥ ( k / e ) k k! \ge(k/e)^k k ! ≥ ( k / e ) k . Applying (58) with k = ⌈ 1 2 e ( λ s ) l ⌉ ≥ 1 2 e ( λ s ) l k=\lceil\frac{1}{2e}(\lambda s)^l\rceil\ge\frac{1}{2e}(\lambda s)^l k = ⌈ 2 e 1 ( λ s ) l ⌉ ≥ 2 e 1 ( λ s ) l , the base on (58) satisfies
e C 3 ( e λ ) 2 l e − d + l k ≤ e C 3 ( e λ ) 2 l e − d + l 1 2 e ( λ s ) l = exp ( log ( 2 e 2 C 3 ) − d + l ( 3 − log s + log λ ) ) . (64) \begin{aligned}
\frac{eC_3(e\lambda)^{2l}e^{-d+l}}{k}
&\le\frac{eC_3(e\lambda)^{2l}e^{-d+l}}{\frac{1}{2e}(\lambda s)^l}\\
&=\exp\left(\log(2e^2C_3)-d+l(3-\log s+\log\lambda)\right). \tag*{(64)}
\end{aligned} k e C 3 ( e λ ) 2 l e − d + l ≤ 2 e 1 ( λ s ) l e C 3 ( e λ ) 2 l e − d + l = exp ( log ( 2 e 2 C 3 ) − d + l ( 3 − log s + log λ ) ) . (64)
The assumption λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) and the identity l = ⌈ 2 log log n ⌉ l=\lceil2\log\log n\rceil l = ⌈ 2 log log n ⌉ imply that all terms in the exponent of (59) other than − d -d − d are O ( ( log log n ) 2 ) O((\log\log n)^2) O (( log log n ) 2 ) . Since d = ⌈ ( log n ) 1 / 3 ⌉ d=\lceil(\log n)^{1/3}\rceil d = ⌈( log n ) 1/3 ⌉ , this remainder is o ( d ) o(d) o ( d ) , so (59) is at most e − d / 2 e^{-d/2} e − d /2 for all sufficiently large n n n . Using again that k ≥ 1 2 e ( λ s ) l k\ge\frac{1}{2e}(\lambda s)^l k ≥ 2 e 1 ( λ s ) l , we have
Q ( MaxMatching ( W ) ≥ 1 2 e ( λ s ) l ∣ S l , S ~ l ) ≤ ( e − d / 2 ) 1 2 e ( λ s ) l = exp ( − ( λ s ) l d 4 e ) (65) \mathbb{Q}\left(\operatorname{MaxMatching}(\mathcal{W})\ge\frac{1}{2e}(\lambda s)^l\mid\mathcal{S}_l,\widetilde{\mathcal{S}}_l\right)\le(e^{-d/2})^{\frac{1}{2e}(\lambda s)^l}=\exp\left(-\frac{(\lambda s)^l d}{4e}\right) \tag*{(65)} Q ( MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l ∣ S l , S l ) ≤ ( e − d /2 ) 2 e 1 ( λ s ) l = exp ( − 4 e ( λ s ) l d ) (65)
holds for every realization of ( S l , S ~ l ) (\mathcal{S}_l,\widetilde{\mathcal{S}}_l) ( S l , S l ) consistent with A 4 \mathcal{A}_4 A 4 .
Since λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , we have λ s ≥ e \lambda s\ge e λ s ≥ e for all sufficiently large n n n , and l ≥ 2 log log n l\ge2\log\log n l ≥ 2 log log n gives
( λ s ) l d 4 e ≥ 1 4 e ( log n ) 1 3 + 2 log ( λ s ) ≥ log 2 + log n log log n \frac{(\lambda s)^l d}{4e}\ge\frac{1}{4e}(\log n)^{\frac{1}{3}+2\log(\lambda s)}\ge\log2+\log n\log\log n 4 e ( λ s ) l d ≥ 4 e 1 ( log n ) 3 1 + 2 l o g ( λ s ) ≥ log 2 + log n log log n
for all sufficiently large n n n . Therefore, (60) indicates that conditional on A 4 \mathcal{A}_4 A 4 ,
Q ( MaxMatching ( W ) ≥ 1 2 e ( λ s ) l ∣ A 4 ) ≤ 1 2 n − log log n . (66) \mathbb{Q}\left(\operatorname{MaxMatching}(\mathcal{W})\ge\frac{1}{2e}(\lambda s)^l\mid\mathcal{A}_4\right)\le\frac{1}{2}n^{-\log\log n}. \tag*{(66)} Q ( MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l ∣ A 4 ) ≤ 2 1 n − l o g l o g n . (66)
Second, we bound Q ( A 4 c ) \mathbb{Q}(\mathcal{A}_4^c) Q ( A 4 c ) . Since λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , we have λ ≥ 2 \lambda\ge2 λ ≥ 2 for all sufficiently large n n n . Thus the upper-tail bound (130) in Lemma 19 of Appendix § 14 .§ 2 applies with offspring mean μ = λ \mu=\lambda μ = λ to each marginal tree under Q \mathbb{Q} Q . Moreover, since l ≥ 2 log log n l\ge2\log\log n l ≥ 2 log log n , we have
1 4 e l ≥ 1 4 ( log n ) 2 ≥ log n log log n + 2 log 2 + 1 2 \frac{1}{4}e^l\ge\frac{1}{4}(\log n)^2\ge\log n\log\log n+2\log2+\frac{1}{2} 4 1 e l ≥ 4 1 ( log n ) 2 ≥ log n log log n + 2 log 2 + 2 1
for all sufficiently large n n n . Applying (139) , we obtain
Q ( A 4 c ) ≤ P ( ∣ S l ∣ ≥ ( e λ ) l ) + P ( ∣ S ~ l ∣ ≥ ( e λ ) l ) ≤ 2 exp ( − 1 4 e l + 1 2 ) ≤ 1 2 n − log log n , (67) \mathbb{Q}(\mathcal{A}_4^c) \leq\mathbb{P}(|S_l| \geq(e\lambda)^l) + \mathbb{P}(|\widetilde{S}_l| \geq(e\lambda)^l) \leq2\exp\left(-\frac{1}{4}e^l+\frac{1}{2}\right) \leq\frac{1}{2}n^{-\log\log n}, \tag*{(67)} Q ( A 4 c ) ≤ P ( ∣ S l ∣ ≥ ( e λ ) l ) + P ( ∣ S l ∣ ≥ ( e λ ) l ) ≤ 2 exp ( − 4 1 e l + 2 1 ) ≤ 2 1 n − l o g l o g n , (67)
for all sufficiently large n n n . Substituting (66) and (67) into (62) yields
Q ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ n − log log n \mathbb{Q}(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1) \leq n^{-\log\log n} Q ( Φ ([ H d ] , [ H d ]) = 1 ) ≤ n − l o g l o g n
for all sufficiently large n n n , which completes the proof of (55) .
Part 2: Proof of (56) . Suppose ( H , H ~ ) ∼ P (\mathcal{H},\widetilde{\mathcal{H}})\sim\mathbb{P} ( H , H ) ∼ P , and let H ∗ \mathcal{H}^* H ∗ be the intersection tree in the construction of the correlated trees. We write S l ∗ S_l^* S l ∗ for the set of vertices in the l l l -th generation of H ∗ \mathcal{H}^* H ∗ . We first exhibit a matching in W \mathcal{W} W indexed by true pairs ( u , u ~ ) (u,\widetilde{u}) ( u , u ) , and then control its size.
For each u ∗ ∈ S l ∗ u^*\in S_l^* u ∗ ∈ S l ∗ , let u u u and u ~ \widetilde{u} u denote the corresponding nodes in H d \mathcal{H}_d H d and H ~ d \widetilde{\mathcal{H}}_d H d at level l l l , respectively. If ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l ([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l} ([ H d , u ] , [ H d , u ]) ∈ F d − l , then ( u , u ~ ) ∈ E ( W ) (u,\widetilde{u})\in E(\mathcal{W}) ( u , u ) ∈ E ( W ) by the definition of W \mathcal{W} W . Therefore, the set of pairs ( u , u ~ ) (u,\widetilde{u}) ( u , u ) such that ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l ([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l} ([ H d , u ] , [ H d , u ]) ∈ F d − l forms a matching of W \mathcal{W} W , and we have
MaxMatching ( W ) ≥ ∑ u ∗ ∈ S l ∗ 1 { ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l } . \operatorname{MaxMatching}(\mathcal{W}) \geq\sum_{u^*\in S_l^*}\mathbf{1}\{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l}\}. MaxMatching ( W ) ≥ u ∗ ∈ S l ∗ ∑ 1 {([ H d , u ] , [ H d , u ]) ∈ F d − l } .
Therefore,
P ( MaxMatching ( W ) ≤ 1 2 e ( λ s ) l ) ≤ P ( ∑ u ∗ ∈ S l ∗ 1 { ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l } ≤ 1 2 e ( λ s ) l ) . (68) \mathbb{P}\left(\operatorname{MaxMatching}(\mathcal{W})\leq\frac{1}{2e}(\lambda s)^l\right)\leq\mathbb{P}\left(\sum_{u^*\in S_l^*}\mathbf{1}\{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l}\}\leq\frac{1}{2e}(\lambda s)^l\right). \tag*{(68)} P ( MaxMatching ( W ) ≤ 2 e 1 ( λ s ) l ) ≤ P u ∗ ∈ S l ∗ ∑ 1 {([ H d , u ] , [ H d , u ]) ∈ F d − l } ≤ 2 e 1 ( λ s ) l . (68)
Next, we define a typical event
A 5 : = { ∣ S l ∗ ∣ ≥ ( λ s ) l e } . \mathcal{A}_5:=\left\{|S_l^*|\geq\frac{(\lambda s)^l}{e}\right\}. A 5 := { ∣ S l ∗ ∣ ≥ e ( λ s ) l } .
The probability P ( A 5 ) \mathbb{P}(\mathcal{A}_5) P ( A 5 ) can be bounded by Lemma 19. First, since H ∗ \mathcal{H}^* H ∗ is a Galton–Watson tree with offspring distribution Poi ( λ s ) \operatorname{Poi}(\lambda s) Poi ( λ s ) and λ s ≥ 2 \lambda s\geq2 λ s ≥ 2 for all sufficiently large n n n , Lemma 19 applies for every l ∈ N l\in\mathbb{N} l ∈ N , and by (140) ,
P ( A 5 ) ≥ 1 − e 2 ( e − 1 ) 2 ⋅ 1 λ s − 1 . (69) \mathbb{P}(\mathcal{A}_5)\geq1-\frac{e^2}{(e-1)^2}\cdot\frac{1}{\lambda s-1}. \tag*{(69)} P ( A 5 ) ≥ 1 − ( e − 1 ) 2 e 2 ⋅ λ s − 1 1 . (69)
Next, conditioned on ∣ S l ∗ ∣ |S_l^*| ∣ S l ∗ ∣ , the subtree pairs { ( [ H d , u ] , [ H ~ d , u ~ ] ) : u ∗ ∈ S l ∗ } \{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}]):u^*\in S_l^*\} {([ H d , u ] , [ H d , u ]) : u ∗ ∈ S l ∗ } are independent and identically distributed with the correlated model P \mathbb{P} P . Therefore,
∑ u ∗ ∈ S l ∗ 1 { ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l } ∼ Bin ( ∣ S l ∗ ∣ , P ( ( [ H d − l ] , [ H ~ d − l ] ) ∈ F d − l ) ) . \sum_{u^*\in S_l^*}\mathbf{1}\{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l}\}\sim\operatorname{Bin}\left(|S_l^*|,\mathbb{P}(([\mathcal{H}_{d-l}],[\widetilde{\mathcal{H}}_{d-l}])\in\mathcal{F}_{d-l})\right). u ∗ ∈ S l ∗ ∑ 1 {([ H d , u ] , [ H d , u ]) ∈ F d − l } ∼ Bin ( ∣ S l ∗ ∣ , P (([ H d − l ] , [ H d − l ]) ∈ F d − l ) ) .
Conditioned on event A 5 \mathcal{A}_5 A 5 , we have ∣ S l ∗ ∣ ≥ e − 1 ( λ s ) l |S_l^*|\geq e^{-1}(\lambda s)^l ∣ S l ∗ ∣ ≥ e − 1 ( λ s ) l . Moreover, by (58) in Lemma 9, we have P ( ( [ H d − l ] , [ H ~ d − l ] ) ∈ F d − l ) ≥ 1 − C 4 λ − 1 \mathbb{P}(([\mathcal{H}_{d-l}],[\widetilde{\mathcal{H}}_{d-l}])\in\mathcal{F}_{d-l})\geq1-C_4\lambda^{-1} P (([ H d − l ] , [ H d − l ]) ∈ F d − l ) ≥ 1 − C 4 λ − 1 for all sufficiently large n n n . Therefore,
∑ u ∗ ∈ S l ∗ 1 { ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l ) } ≥ s t o . Bin ( 1 e ( λ s ) l , 1 − C 4 λ − 1 ) . (70) \sum_{u^*\in S_l^*}\mathbf{1}\{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l})\}\overset{\mathrm{sto.}}{\geq}\operatorname{Bin}\left(\frac{1}{e}(\lambda s)^l,1-C_4\lambda^{-1}\right). \tag*{(70)} u ∗ ∈ S l ∗ ∑ 1 {([ H d , u ] , [ H d , u ]) ∈ F d − l )} ≥ sto. Bin ( e 1 ( λ s ) l , 1 − C 4 λ − 1 ) . (70)
By Chernoff bound (138) in Lemma 18, we have
P ( ∑ u ∗ ∈ S l ∗ 1 { ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l } ≤ 1 2 e ( λ s ) l ∣ A 5 ) ≤ P ( Bin ( 1 e ( λ s ) l , 1 − C 4 λ − 1 ) ≤ 1 2 e ( λ s ) l ) ≤ exp ( − 1 8 e ( λ s ) l ⋅ ( 1 − 2 C 4 λ − 1 ) 2 1 − C 4 λ − 1 ) (71) \begin{aligned}
\mathbb{P}\left(\left.\sum_{u^*\in S_l^*}\mathbf{1}\{([\mathcal{H}_{d,u}],[\widetilde{\mathcal{H}}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l}\}\leq\frac{1}{2e}(\lambda s)^l\right|\mathcal{A}_5\right) \\
&\le\mathbb{P}\left(\operatorname{Bin}\left(\frac{1}{e}(\lambda s)^l,1-C_4\lambda^{-1}\right)\le\frac{1}{2e}(\lambda s)^l\right) \\
&\le\exp\left(-\frac{1}{8e}(\lambda s)^l\cdot\frac{(1-2C_4\lambda^{-1})^2}{1-C_4\lambda^{-1}}\right) \tag*{(71)}
\end{aligned} P u ∗ ∈ S l ∗ ∑ 1 {([ H d , u ] , [ H d , u ]) ∈ F d − l } ≤ 2 e 1 ( λ s ) l A 5 ≤ P ( Bin ( e 1 ( λ s ) l , 1 − C 4 λ − 1 ) ≤ 2 e 1 ( λ s ) l ) ≤ exp ( − 8 e 1 ( λ s ) l ⋅ 1 − C 4 λ − 1 ( 1 − 2 C 4 λ − 1 ) 2 ) (71)
Therefore, combining (69) and (71) gives
P ( MaxMatching ( W ) ≥ 1 2 e ( λ s ) l ) \mathbb{P}\left(\operatorname{MaxMatching}(\mathcal{W})\ge\frac{1}{2e}(\lambda s)^l\right) P ( MaxMatching ( W ) ≥ 2 e 1 ( λ s ) l )
≥ 1 − P ( ∣ { u ∗ ∈ S ∗ : ( [ H d , u ] , [ H ~ d , u ~ ] ) ∈ F d − l } ∣ ≤ 1 2 e ( λ s ) l | A 5 ) − P ( A 5 c ) \ge1-\mathbb{P}\left(\left|\left\{u^*\in S^*:([H_{d,u}],[\widetilde{H}_{d,\widetilde{u}}])\in\mathcal{F}_{d-l}\right\}\right|\le\frac{1}{2e}(\lambda s)^l\ \middle|\ \mathcal{A}_5\right)-\mathbb{P}(\mathcal{A}_5^c) ≥ 1 − P ( { u ∗ ∈ S ∗ : ([ H d , u ] , [ H d , u ]) ∈ F d − l } ≤ 2 e 1 ( λ s ) l A 5 ) − P ( A 5 c )
≥ 1 − exp ( − 1 8 e ( λ s ) l ⋅ ( 1 − 2 C 4 λ − 1 ) 2 1 − C 4 λ − 1 ) − e 2 ( e − 1 ) 2 ⋅ 1 λ s − 1 \ge1-\exp\left(-\frac{1}{8e}(\lambda s)^l\cdot\frac{(1-2C_4\lambda^{-1})^2}{1-C_4\lambda^{-1}}\right)-\frac{e^2}{(e-1)^2}\cdot\frac{1}{\lambda s-1} ≥ 1 − exp ( − 8 e 1 ( λ s ) l ⋅ 1 − C 4 λ − 1 ( 1 − 2 C 4 λ − 1 ) 2 ) − ( e − 1 ) 2 e 2 ⋅ λ s − 1 1
≥ 1 − 7 λ , \ge1-\frac{7}{\lambda}, ≥ 1 − λ 7 ,
for all sufficiently large n n n . In the last inequality, the exponential term is at most 1 / λ 1/\lambda 1/ λ since ( λ s ) l ≥ e l ≥ ( log n ) 2 (\lambda s)^l\ge e^l\ge(\log n)^2 ( λ s ) l ≥ e l ≥ ( log n ) 2 and λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) , and the last term is at most 6 / λ 6/\lambda 6/ λ since s > C O t t e r > 1 / 2 s>\sqrt{C_{\mathrm{Otter}}}>1/2 s > C Otter > 1/2 . This completes the proof of (51). □
Error Analysis of Ψ \Psi Ψ
Proposition 1 bounds the type-I error and the power of the auxiliary test Φ \Phi Φ , and Lemma 11 shows that L ^ d \widehat{L}_d L d lies within a factor e ± 1 / 16 e^{\pm1/16} e ± 1/16 of L d L_d L d with probability at least 1 − ξ 1-\xi 1 − ξ . We now use these results to prove the type-I error bound (10) and the power bound (11) of Ψ \Psi Ψ in Theorem 3.
Proof. For each fixed tree pair ( t , t ~ ) ∈ Z d × Z d (t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d ( t , t ) ∈ Z d × Z d , define the event
A 6 ( t , t ~ ) : = { L ^ d ( t , t ~ ) < e − 1 / 16 L d ( t , t ~ ) , or L ^ d ( t , t ~ ) > e 1 / 16 L d ( t , t ~ ) } . \mathcal{A}_6(t,\widetilde{t}):=\left\{\widehat{L}_d(t,\widetilde{t})<e^{-1/16}L_d(t,\widetilde{t}),\ \text{or}\ \widehat{L}_d(t,\widetilde{t})>e^{1/16}L_d(t,\widetilde{t})\right\}. A 6 ( t , t ) := { L d ( t , t ) < e − 1/16 L d ( t , t ) , or L d ( t , t ) > e 1/16 L d ( t , t ) } .
By the law of total probability,
Q ( A 6 ( [ H d ] , [ H ~ d ] ) ) = ∑ ( t , t ~ ) ∈ Z d × Z d Q ( [ H d ] = t , [ H ~ d ] = t ~ ) P ( A 6 ( t , t ~ ) ) ≤ n − 11 ∑ ( t , t ~ ) ∈ Z d × Z d Q ( [ H d ] = t , [ H ~ d ] = t ~ ) = n − 11 , (72) \begin{aligned}
\mathbb{Q}\left(\mathcal{A}_6([H_d],[\widetilde{H}_d])\right)
=\sum_{(t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d}
\mathbb{Q}([H_d]=t,[\widetilde{H}_d]=\widetilde{t})\mathbb{P}(\mathcal{A}_6(t,\widetilde{t})) \\
&\le n^{-11}\sum_{(t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d}
\mathbb{Q}([H_d]=t,[\widetilde{H}_d]=\widetilde{t})
=n^{-11}, \tag*{(72)}
\end{aligned} Q ( A 6 ([ H d ] , [ H d ]) ) = ( t , t ) ∈ Z d × Z d ∑ Q ([ H d ] = t , [ H d ] = t ) P ( A 6 ( t , t )) ≤ n − 11 ( t , t ) ∈ Z d × Z d ∑ Q ([ H d ] = t , [ H d ] = t ) = n − 11 , (72)
where the equality holds because the random bits used by ApproxLR are independent of ( [ H d ] , [ H ~ d ] ) ([H_d],[\widetilde{H}_d]) ([ H d ] , [ H d ]) , and the inequality follows from Lemma 11 proved in Appendix § 11 .§ 2 . Applying the same argument under P \mathbb{P} P , we have
P ( A 6 ( [ H d ] , [ H ~ d ] ) ) ≤ n − 11 ∑ ( t , t ~ ) ∈ Z d × Z d P ( [ H d ] = t , [ H ~ d ] = t ~ ) = n − 11 . (73) \mathbb{P}\left(\mathcal{A}_6([H_d],[\widetilde{H}_d])\right)
\le n^{-11}\sum_{(t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d}
\mathbb{P}([H_d]=t,[\widetilde{H}_d]=\widetilde{t})
=n^{-11}. \tag*{(73)} P ( A 6 ([ H d ] , [ H d ]) ) ≤ n − 11 ( t , t ) ∈ Z d × Z d ∑ P ([ H d ] = t , [ H d ] = t ) = n − 11 . (73)
We first prove the type-I error bound (10). Since the likelihood-ratio L d ( [ H d ] , [ H ~ d ] ) L_d([H_d],[\widetilde{H}_d]) L d ([ H d ] , [ H d ]) is nonnegative and E Q [ L d ( [ H d ] , [ H ~ d ) ] = 1 \mathbb{E}_{\mathbb{Q}}[L_d([H_d],[\widetilde{H}_d)]=1 E Q [ L d ([ H d ] , [ H d )] = 1 , Markov’s inequality gives
Q ( L d ( [ H d ] , [ H ~ d ] ) > e − 1 / 16 θ ∗ ) ≤ e 1 / 16 θ ∗ = n − ( log log n ) / 2 , (74) \mathbb{Q}\left(L_d([H_d],[\widetilde{H}_d])>e^{-1/16}\theta^*\right)
\le\frac{e^{1/16}}{\theta^*}=n^{-(\log\log n)/2}, \tag*{(74)} Q ( L d ([ H d ] , [ H d ]) > e − 1/16 θ ∗ ) ≤ θ ∗ e 1/16 = n − ( l o g l o g n ) /2 , (74)
and by the union bound, the type-I error of Ψ \Psi Ψ satisfies
Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ Q ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 , A 6 ( [ H d ] , [ H ~ d ] ) c ) + Q ( A 6 ( [ H d ] , [ H ~ d ] ) ) ≤ Q ( L d ( [ H d ] , [ H ~ d ] ) > e − 1 / 16 θ ∗ ) + Q ( A 6 ( [ H d ] , [ H ~ d ] ) ) ≤ n − ( log log n ) / 2 + n − 11 , (75) \begin{aligned}
\mathbb{Q}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right) \le\mathbb{Q}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1,\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])^c\right)+\mathbb{Q}\left(\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\right) \\
&\le\mathbb{Q}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])>e^{-1/16}\theta^*\right)+\mathbb{Q}\left(\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\right) \\
&\le n^{-(\log\log n)/2}+n^{-11}, \tag*{(75)}
\end{aligned} Q ( Ψ ([ H d ] , [ H d ]) = 1 ) ≤ Q ( Ψ ([ H d ] , [ H d ]) = 1 , A 6 ([ H d ] , [ H d ] ) c ) + Q ( A 6 ([ H d ] , [ H d ]) ) ≤ Q ( L d ([ H d ] , [ H d ]) > e − 1/16 θ ∗ ) + Q ( A 6 ([ H d ] , [ H d ]) ) ≤ n − ( l o g l o g n ) /2 + n − 11 , (75)
where the first inequality follows by splitting according to whether A 6 ( [ H d ] , [ H ~ d ] ) \mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d]) A 6 ([ H d ] , [ H d ]) occurs. The second inequality holds because for every ( t , t ~ ) ∈ Z d × Z d (t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d ( t , t ) ∈ Z d × Z d , if A 6 ( t , t ~ ) c \mathcal{A}_6(t,\widetilde{t})^c A 6 ( t , t ) c occurs and Ψ ( t , t ~ ) = 1 \Psi(t,\widetilde{t})=1 Ψ ( t , t ) = 1 , then L d ( t , t ~ ) ≥ e − 1 / 16 L ~ d ( t , t ~ ) > e − 1 / 16 θ ∗ L_d(t,\widetilde{t})\ge e^{-1/16}\widetilde{L}_d(t,\widetilde{t})>e^{-1/16}\theta^* L d ( t , t ) ≥ e − 1/16 L d ( t , t ) > e − 1/16 θ ∗ . The last inequality follows from (69) and (67). This proves (10).
We next prove the power bound (11). We have
P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) = 1 − P ( Ψ ( [ H d ] , [ H ~ d ] ) = 0 ) \mathbb{P}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)=1-\mathbb{P}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=0\right) P ( Ψ ([ H d ] , [ H d ]) = 1 ) = 1 − P ( Ψ ([ H d ] , [ H d ]) = 0 )
≥ 1 − P ( Ψ ( [ H d ] , [ H ~ d ] ) = 0 , A 6 ( [ H d ] , [ H ~ d ] ) c ) − P ( A 6 ( [ H d ] , [ H ~ d ] ) ) \ge1-\mathbb{P}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=0,\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])^c\right)-\mathbb{P}\left(\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\right) ≥ 1 − P ( Ψ ([ H d ] , [ H d ]) = 0 , A 6 ([ H d ] , [ H d ] ) c ) − P ( A 6 ([ H d ] , [ H d ]) )
≥ 1 − P ( L d ( [ H d ] , [ H ~ d ] ) ≤ e 1 / 16 θ ∗ ) − P ( A 6 ( [ H d ] , [ H ~ d ] ) ) \ge1-\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\le e^{1/16}\theta^*\right)-\mathbb{P}\left(\mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\right) ≥ 1 − P ( L d ([ H d ] , [ H d ]) ≤ e 1/16 θ ∗ ) − P ( A 6 ([ H d ] , [ H d ]) )
≥ 1 − P ( L d ( [ H d ] , [ H ~ d ] ) ≤ e 1 / 16 θ ∗ ) − n − 11 , (76) \ge1-\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\le e^{1/16}\theta^*\right)-n^{-11}, \tag*{(76)} ≥ 1 − P ( L d ([ H d ] , [ H d ]) ≤ e 1/16 θ ∗ ) − n − 11 , (76)
where (a) follows by splitting according to whether A 6 ( [ H d ] , [ H ~ d ] ) \mathcal{A}_6([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d]) A 6 ([ H d ] , [ H d ]) occurs, (b) holds since for every ( t , t ~ ) ∈ Z d × Z d (t,\widetilde{t})\in\mathcal{Z}_d\times\mathcal{Z}_d ( t , t ) ∈ Z d × Z d , if A 6 ( t , t ~ ) c \mathcal{A}_6(t,\widetilde{t})^c A 6 ( t , t ) c occurs and Ψ ( t , t ~ ) = 0 \Psi(t,\widetilde{t})=0 Ψ ( t , t ) = 0 , then L d ( t , t ~ ) ≤ e 1 / 16 L ~ d ( t , t ~ ) ≤ e 1 / 16 θ ∗ L_d(t,\widetilde{t})\le e^{1/16}\widetilde{L}_d(t,\widetilde{t})\le e^{1/16}\theta^* L d ( t , t ) ≤ e 1/16 L d ( t , t ) ≤ e 1/16 θ ∗ . (c) follows from (68). To bound P ( L d ( [ H d ] , [ H ~ d ] ) ≤ e 1 / 16 θ ∗ ) \mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\le e^{1/16}\theta^*\right) P ( L d ([ H d ] , [ H d ]) ≤ e 1/16 θ ∗ ) , we apply (26) with θ = e 1 / 16 θ ∗ \theta=e^{1/16}\theta^* θ = e 1/16 θ ∗ to the auxiliary test Φ \Phi Φ in Proposition 1. This gives
P ( L d ( [ H d ] , [ H ~ d ] ) ≤ e 1 / 16 θ ∗ ) ≤ P ( Φ ( [ H d ] , [ H ~ d ] ) = 0 ) + e 1 / 16 θ ∗ Q ( Φ ( [ H d ] , [ H ~ d ] ) = 1 ) ≤ 7 λ + e 1 / 16 θ ∗ n − log log n , (77) \begin{aligned}
\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\le e^{1/16}\theta^*\right)\le\mathbb{P}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=0\right)+e^{1/16}\theta^*\mathbb{Q}\left(\Phi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right) \\
&\le\frac{7}{\lambda}+e^{1/16}\theta^*n^{-\log\log n}, \tag*{(77)}
\end{aligned} P ( L d ([ H d ] , [ H d ]) ≤ e 1/16 θ ∗ ) ≤ P ( Φ ([ H d ] , [ H d ]) = 0 ) + e 1/16 θ ∗ Q ( Φ ([ H d ] , [ H d ]) = 1 ) ≤ λ 7 + e 1/16 θ ∗ n − l o g l o g n , (77)
where the last inequality follows from (51) and (50) in Proposition 1. Substituting (72) into (71) and using the definition of θ ∗ \theta^* θ ∗ , we obtain
P ( Ψ ( [ H d ] , [ H ~ d ] ) = 1 ) ≥ 1 − P ( L d ( [ H d ] , [ H ~ d ] ) ≤ e 1 / 16 θ ∗ ) − n − 11 \mathbb{P}\left(\Psi([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])=1\right)\ge1-\mathbb{P}\left(L_d([\mathcal{H}_d],[\widetilde{\mathcal{H}}_d])\le e^{1/16}\theta^*\right)-n^{-11} P ( Ψ ([ H d ] , [ H d ]) = 1 ) ≥ 1 − P ( L d ([ H d ] , [ H d ]) ≤ e 1/16 θ ∗ ) − n − 11
≥ 1 − 7 λ − e 1 / 16 θ ∗ n − log log n − n − 11 = 1 − 7 λ − e 1 / 8 n − ( log log n ) / 2 − n − 11 . (78) \begin{aligned}
\ge1-\frac{7}{\lambda}-e^{1/16}\theta^*n^{-\log\log n}-n^{-11} \\
&=1-\frac{7}{\lambda}-e^{1/8}n^{-(\log\log n)/2}-n^{-11}. \tag*{(78)}
\end{aligned} ≥ 1 − λ 7 − e 1/16 θ ∗ n − l o g l o g n − n − 11 = 1 − λ 7 − e 1/8 n − ( l o g l o g n ) /2 − n − 11 . (78)
This proves (11) and completes the proof of Theorem 3.
Analysis of ApproxLR
This appendix analyzes the algorithm ApproxLR defined in Section 4.1. In Appendix D.1, we prove Lemmas 1 and 2. In Appendix D.2, we bound the accumulation of approximation errors and prove Lemma 11. Finally, in Appendix D.3, we prove Lemma 4, which bounds the computational complexity of ApproxLR.
Proofs of Lemmas 1 and 2
Lemma 1 (Likelihood-ratio recursion). Let k ≥ 1 k \ge1 k ≥ 1 , λ > 0 \lambda> 0 λ > 0 , and s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] . Fix ( t , t ~ ) ∈ Z k × Z k (t,\tilde{t}) \in\mathbb{Z}_k \times\mathbb{Z}_k ( t , t ~ ) ∈ Z k × Z k , and let t 1 , … , t c t_1,\ldots,t_c t 1 , … , t c and t ~ 1 , … , t ~ c ~ \tilde{t}_1,\ldots,\tilde{t}_{\tilde{c}} t ~ 1 , … , t ~ c ~ denote the unlabeled subtrees rooted at the children of t t t and t ~ \tilde{t} t ~ , respectively. Define the matrix Z = ( Z i j ) \mathbf{Z}=(Z_{ij}) Z = ( Z ij ) by setting
Z i j : = s λ L k − 1 ( t i , t ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . Z_{ij}:=\frac{s}{\lambda}L_{k-1}(t_i,\tilde{t}_j), \qquad(i,j)\in[1:c]\times[1:\tilde{c}]. Z ij := λ s L k − 1 ( t i , t ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . Then, under the convention 0 0 = 1 0^0=1 0 0 = 1 , we have
L k ( t , t ~ ) = e λ s ∑ q = 0 min { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( Z ) . (79) L_k(t,\tilde{t})=e^{\lambda s}\sum_{q=0}^{\min\{c,\tilde{c}\}}(1-s)^{c+\tilde{c}-2q}S_q(\mathbf{Z}). \tag*{(79)} L k ( t , t ~ ) = e λ s q = 0 ∑ m i n { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( Z ) . (79) Furthermore, for the base case at depth zero, L 0 ( t , t ~ ) = 1 L_0(t,\tilde{t})=1 L 0 ( t , t ~ ) = 1 for the unique pair in Z 0 × Z 0 \mathbb{Z}_0\times\mathbb{Z}_0 Z 0 × Z 0 .
Proof. By [11 Lemma 2.1, Eqs. (2.4)–(2.5)] , the likelihood ratio satisfies
L k ( t , t ~ ) = ∑ q = 0 min { c , c ~ } e λ s s q ( 1 − s ) c + c ~ − 2 q λ q q ! ∑ σ ∈ Inj ( [ 1 : q ] , [ 1 : c ] ) σ ~ ∈ Inj ( [ 1 : q ] , [ 1 : c ~ ] ) ∏ a = 1 q L k − 1 ( t σ ( a ) , t ~ σ ~ ( a ) ) . (80) L_k(t,\tilde{t})=\sum_{q=0}^{\min\{c,\tilde{c}\}}\frac{e^{\lambda s}s^q(1-s)^{c+\tilde{c}-2q}}{\lambda^q q!}
\sum_{\substack{\sigma\in\operatorname{Inj}([1:q],[1:c])\\\tilde{\sigma}\in\operatorname{Inj}([1:q],[1:\tilde{c}])}}
\prod_{a=1}^{q}L_{k-1}(t_{\sigma(a)},\tilde{t}_{\tilde{\sigma}(a)}). \tag*{(80)} L k ( t , t ~ ) = q = 0 ∑ m i n { c , c ~ } λ q q ! e λ s s q ( 1 − s ) c + c ~ − 2 q σ ∈ Inj ([ 1 : q ] , [ 1 : c ]) σ ~ ∈ Inj ([ 1 : q ] , [ 1 : c ~ ]) ∑ a = 1 ∏ q L k − 1 ( t σ ( a ) , t ~ σ ~ ( a ) ) . (80)
where for q = 0 q=0 q = 0 , the inner sum and product evaluate to 1. For q ≥ 1 q\ge1 q ≥ 1 and each pair ( σ , σ ~ ) (\sigma,\tilde{\sigma}) ( σ , σ ~ ) in the inner sum, the definition of Z \mathbf{Z} Z gives
∏ a = 1 q Z σ ( a ) , σ ~ ( a ) = ( s λ ) q ∏ a = 1 q L k − 1 ( t σ ( a ) , t ~ σ ~ ( a ) ) . (81) \prod_{a=1}^{q}Z_{\sigma(a),\tilde{\sigma}(a)}
=\left(\frac{s}{\lambda}\right)^q\prod_{a=1}^{q}L_{k-1}(t_{\sigma(a)},\tilde{t}_{\tilde{\sigma}(a)}). \tag*{(81)} a = 1 ∏ q Z σ ( a ) , σ ~ ( a ) = ( λ s ) q a = 1 ∏ q L k − 1 ( t σ ( a ) , t ~ σ ~ ( a ) ) . (81)
Equation (75) also holds for q = 0 q=0 q = 0 since both sides equal 1. Substituting (75) into (74) and applying the definitions of S q ( Z ) S_q(\mathbf{Z}) S q ( Z ) and S 0 ( Z ) = 1 S_0(\mathbf{Z})=1 S 0 ( Z ) = 1 yields (13).
When s = 1 s=1 s = 1 , the exponent c + c ~ − 2 q c+\tilde{c}-2q c + c ~ − 2 q is strictly positive unless q = c = c ~ q=c=\tilde{c} q = c = c ~ . Thus, ( 1 − s ) c + c ~ − 2 q = 0 (1-s)^{c+\tilde{c}-2q}=0 ( 1 − s ) c + c ~ − 2 q = 0 for q < c = c ~ q<c=\tilde{c} q < c = c ~ . Under the convention 0 0 = 1 0^0=1 0 0 = 1 , the term for q = c = c ~ q=c=\tilde{c} q = c = c ~ equals to 1, verifying that (13) holds for all s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] . At depth 0, both tree laws assign probability one to the singleton tree, yielding L 0 ( t , t ~ ) = 1 L_0(t,\tilde{t})=1 L 0 ( t , t ~ ) = 1 .
The following proof is adapted from [45 Theorem 2.1] , and we include it for completeness.
Lemma 2 ([45 Theorem 2.1] ). For a nonnegative c × c ~ c\times\tilde{c} c × c ~ matrix Z \mathbf{Z} Z and an integer q ∈ [ 0 : min { c , c ~ } ] q\in[0:\min\{c,\tilde{c}\}] q ∈ [ 0 : min { c , c ~ }] , define the ( c + c ~ − q ) × ( c + c ~ − q ) (c+\tilde{c}-q)\times(c+\tilde{c}-q) ( c + c ~ − q ) × ( c + c ~ − q ) matrix
A q ( Z ) : = ( Z 1 c × ( c − q ) 1 ( c ~ − q ) × c 0 ( c ~ − q ) × ( c − q ) ) , (82) A_q(\mathbf{Z}):=
\begin{pmatrix}
\mathbf{Z} & \mathbf{1}_{c\times(c-q)}\\
\mathbf{1}_{(\tilde{c}-q)\times c} & \mathbf{0}_{(\tilde{c}-q)\times(c-q)}
\end{pmatrix}, \tag*{(82)} A q ( Z ) := ( Z 1 ( c ~ − q ) × c 1 c × ( c − q ) 0 ( c ~ − q ) × ( c − q ) ) , (82) where 1 \mathbf{1} 1 and 0 \mathbf{0} 0 denote matrices of all ones and all zeros whose dimensions are specified by their subscripts. Then we have
S q ( Z ) = per ( A q ( Z ) ) ( c − q ) ! ( c ~ − q ) ! . (83) S_q(\mathbf{Z})=\frac{\operatorname{per}(A_q(\mathbf{Z}))}{(c-q)!(\tilde{c}-q)!}. \tag*{(83)} S q ( Z ) = ( c − q )! ( c ~ − q )! per ( A q ( Z )) . (83)
Proof. By definition, the permanent of A q ( Z ) A_q(\mathbf{Z}) A q ( Z ) is a sum over all permutations of its row and column indices. The bottom-right block of A q ( Z ) A_q(\mathbf{Z}) A q ( Z ) is a ( c ~ − q ) × ( c − q ) (\tilde{c}-q)\times(c-q) ( c ~ − q ) × ( c − q ) zero matrix, and any permutation selecting an entry from this block contributes zero to the permanent. For q ≥ 1 q \ge1 q ≥ 1 , permutations that avoid this zero block must map the bottom c ~ − q \tilde{c}-q c ~ − q rows to distinct columns among the first c ~ \tilde{c} c ~ columns. This leaves exactly c ~ − ( c ~ − q ) = q \tilde{c}-(\tilde{c}-q)=q c ~ − ( c ~ − q ) = q columns among the first c ~ \tilde{c} c ~ columns available for the top c c c rows. Because the top-right block 1 c × ( c − q ) \mathbf{1}_{c \times(c-q)} 1 c × ( c − q ) has c − q c-q c − q columns, the top c c c rows must select exactly q q q entries from the top-left block Z Z Z , and the remaining c − q c-q c − q entries from the top-right block 1 c × ( c − q ) \mathbf{1}_{c \times(c-q)} 1 c × ( c − q ) .
A choice of q q q entries in Z Z Z (with no two in the same row or column) corresponds to a pair of injections ( σ , σ ~ ) ∈ Inj ( [ 1 : q ] , [ 1 : c ] ) × Inj ( [ 1 : q ] , [ 1 : c ~ ] ) (\sigma,\tilde{\sigma}) \in\operatorname{Inj}([1:q],[1:c]) \times\operatorname{Inj}([1:q],[1:\tilde{c}]) ( σ , σ ~ ) ∈ Inj ([ 1 : q ] , [ 1 : c ]) × Inj ([ 1 : q ] , [ 1 : c ~ ]) . Summing over all valid pairs of injections counts each such choice of q q q entries exactly q ! q! q ! times, corresponding to the orderings of the index set [ 1 : q ] [1:q] [ 1 : q ] . For a fixed pair ( σ , σ ~ ) (\sigma,\tilde{\sigma}) ( σ , σ ~ ) , assigning the remaining c − q c-q c − q top rows to the rightmost c − q c-q c − q columns yields ( c − q ) ! (c-q)! ( c − q )! bijections, and assigning the bottom c ~ − q \tilde{c}-q c ~ − q rows to the remaining c ~ − q \tilde{c}-q c ~ − q columns among the first c ~ \tilde{c} c ~ columns yields ( c ~ − q ) ! (\tilde{c}-q)! ( c ~ − q )! bijections. Since all entries in the 1 \mathbf{1} 1 blocks equal 1 1 1 , each such permutation evaluates to ∏ a = 1 q Z σ ( a ) , σ ~ ( a ) \prod_{a=1}^{q} Z_{\sigma(a),\tilde{\sigma}(a)} ∏ a = 1 q Z σ ( a ) , σ ~ ( a ) . Summing over all choices gives
q ! per ( A q ( Z ) ) = ( c − q ) ! ( c ~ − q ) ! ∑ σ ∈ Inj ( [ 1 : q ] , [ 1 : c ] ) σ ~ ∈ Inj ( [ 1 : q ] , [ 1 : c ~ ] ) ∏ a = 1 q Z σ ( a ) , σ ~ ( a ) . q! \operatorname{per}(A_q(Z))=(c-q)!(\tilde{c}-q)!\sum_{\substack{\sigma\in\operatorname{Inj}([1:q],[1:c])\\ \tilde{\sigma}\in\operatorname{Inj}([1:q],[1:\tilde{c}])}}\prod_{a=1}^{q} Z_{\sigma(a),\tilde{\sigma}(a)}. q ! per ( A q ( Z )) = ( c − q )! ( c ~ − q )! σ ∈ Inj ([ 1 : q ] , [ 1 : c ]) σ ~ ∈ Inj ([ 1 : q ] , [ 1 : c ~ ]) ∑ a = 1 ∏ q Z σ ( a ) , σ ~ ( a ) .
Applying the definition of S q ( Z ) S_q(Z) S q ( Z ) from (12) and dividing by q ! ( c − q ) ! ( c ~ − q ) ! q!(c-q)!(\tilde{c}-q)! q ! ( c − q )! ( c ~ − q )! yields (15).
For q = 0 q=0 q = 0 , permutations avoiding the bottom-right zero block must map the bottom c ~ \tilde{c} c ~ rows to the first c ~ \tilde{c} c ~ columns, and the top c c c rows to the rightmost c c c columns. There are c ~ ! c ! \tilde{c}!c! c ~ ! c ! such permutations. All selected entries lie in the 1 \mathbf{1} 1 blocks, yielding per ( A 0 ( Z ) ) = c ! c ~ ! \operatorname{per}(A_0(Z))=c!\tilde{c}! per ( A 0 ( Z )) = c ! c ~ ! . Since S 0 ( Z ) = 1 S_0(Z)=1 S 0 ( Z ) = 1 , Equation (15) holds. For c = c ~ = q = 0 c=\tilde{c}=q=0 c = c ~ = q = 0 , the matrix A 0 ( Z ) A_0(Z) A 0 ( Z ) has dimension 0 × 0 0 \times0 0 × 0 , and (15) holds since per ( A 0 ( Z ) ) = 1 \operatorname{per}(A_0(Z))=1 per ( A 0 ( Z )) = 1 and S 0 ( Z ) = 1 S_0(Z)=1 S 0 ( Z ) = 1 .
Approximation Guarantee
We first bound the error accumulated through the recursive approximations of the matching sums.
Lemma 10 (Approximation error). Let λ > 0 \lambda>0 λ > 0 , s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] , ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) , and let d ≥ 0 d\ge0 d ≥ 0 be an integer. For each fixed pair ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t})\in\mathcal{Z}_d \times\mathcal{Z}_d ( t , t ~ ) ∈ Z d × Z d , let L ^ d ( t , t ~ ) \widehat{L}_d(t,\tilde{t}) L d ( t , t ~ ) be the output of Algorithm 2 with parameters λ \lambda λ , s s s , ξ \xi ξ and d d d . If for every h ∈ [ 1 : d ] h\in[1:d] h ∈ [ 1 : d ] and every pair of vertices ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v})\in\mathcal{S}_{d-h}(t)\times\mathcal{S}_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) , each value S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) computed via (21) satisfies
( 1 − δ ) S q ( Z ^ ( u , v ~ ) ) ≤ S ^ q ( u , v ~ ) ≤ ( 1 + δ ) S q ( Z ^ ( u , v ~ ) ) , (84) (1-\delta)S_q(\widehat{Z}(u,\tilde{v}))\le\widehat{S}_q(u,\tilde{v})\le(1+\delta)S_q(\widehat{Z}(u,\tilde{v})), \tag*{(84)} ( 1 − δ ) S q ( Z ( u , v ~ )) ≤ S q ( u , v ~ ) ≤ ( 1 + δ ) S q ( Z ( u , v ~ )) , (84) where δ \delta δ is the fixed parameter computed in Step 1, then we have
e − 1 / 16 L d ( t , t ~ ) ≤ L ^ d ( t , t ~ ) ≤ e 1 / 16 L d ( t , t ~ ) . (85) e^{-1/16}L_d(t,\tilde{t})\le\widehat{L}_d(t,\tilde{t})\le e^{1/16}L_d(t,\tilde{t}). \tag*{(85)} e − 1/16 L d ( t , t ~ ) ≤ L d ( t , t ~ ) ≤ e 1/16 L d ( t , t ~ ) . (85)
Proof. Let D D D and δ \delta δ be the parameters computed in Step 1 of Algorithm 2. Define the sequence ( b h ) h = 0 d (b_h)_{h=0}^{d} ( b h ) h = 0 d by setting
b 0 : = 0 , b h : = D b h − 1 + 2 δ for h ∈ [ 1 : d ] . (86) b_0:=0,\qquad b_h:=Db_{h-1}+2\delta\quad\text{for }h\in[1:d]. \tag*{(86)} b 0 := 0 , b h := D b h − 1 + 2 δ for h ∈ [ 1 : d ] . (86)
Since D ≥ 2 D\ge2 D ≥ 2 and δ > 0 \delta>0 δ > 0 , we have b h ≥ 0 b_h\ge0 b h ≥ 0 for every h ∈ [ 0 : d ] h\in[0:d] h ∈ [ 0 : d ] . We proceed by induction on h h h to prove that for every h ∈ [ 0 : d ] h\in[0:d] h ∈ [ 0 : d ] and every pair ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v})\in\mathcal{S}_{d-h}(t)\times\mathcal{S}_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) ,
e − b h L h ( t u , t ~ v ~ ) ≤ ℓ ^ ( u , v ~ ) ≤ e b h L h ( t u , t ~ v ~ ) . (87) e^{-b_h}L_h(t_u,\tilde{t}_{\tilde{v}})\le\widehat{\ell}(u,\tilde{v})\le e^{b_h}L_h(t_u,\tilde{t}_{\tilde{v}}). \tag*{(87)} e − b h L h ( t u , t ~ v ~ ) ≤ ℓ ( u , v ~ ) ≤ e b h L h ( t u , t ~ v ~ ) . (87)
For the base case h = 0 h=0 h = 0 , Lemma 1 gives L 0 ( t u , t ~ v ~ ) = 1 L_0(t_u,\tilde{t}_{\tilde{v}})=1 L 0 ( t u , t ~ v ~ ) = 1 , and (19) sets ℓ ^ ( u , v ~ ) = 1 \widehat{\ell}(u,\tilde{v})=1 ℓ ( u , v ~ ) = 1 . Hence, (87) holds with $b_0=0. Fix h ∈ [ 1 : d ] h \in[1 : d] h ∈ [ 1 : d ] , and assume that (87) holds for every vertex pair at depth d − h + 1 d-h+1 d − h + 1 . Consider an arbitrary pair ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v}) \in S_{d-h}(t) \times S_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) . Following Step 3, we enumerate the child sets as Ch t ( u ) = { y 1 , … , y c } \operatorname{Ch}_{t}(u) = \{y_1,\ldots,y_c\} Ch t ( u ) = { y 1 , … , y c } and Ch t ~ ( v ~ ) = { y ~ 1 , … , y ~ c ~ } \operatorname{Ch}_{\tilde{t}}(\tilde{v}) = \{\tilde{y}_1,\ldots,\tilde{y}_{\tilde{c}}\} Ch t ~ ( v ~ ) = { y ~ 1 , … , y ~ c ~ } . Define the matrix Z ( u , v ~ ) Z(u,\tilde{v}) Z ( u , v ~ ) by setting
Z ( u , v ~ ) i j : = s λ L h − 1 ( t y i , t ~ y ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] . Z(u,\tilde{v})_{ij} := \frac{s}{\lambda}L_{h-1}(t_{y_i},\tilde{t}_{\tilde{y}_j}), \qquad(i,j) \in[1 : c] \times[1 : \tilde{c}]. Z ( u , v ~ ) ij := λ s L h − 1 ( t y i , t ~ y ~ j ) , ( i , j ) ∈ [ 1 : c ] × [ 1 : c ~ ] .
Since every child pair ( y i , y ~ j ) (y_i,\tilde{y}_j) ( y i , y ~ j ) resides at depth d − h + 1 d-h+1 d − h + 1 , applying the induction hypothesis to these pairs and using (20) yields
e − b h − 1 Z ( u , v ~ ) i j ≤ Z ^ ( u , v ~ ) i j ≤ e b h − 1 Z ( u , v ~ ) i j . (88) e^{-b_{h-1}}Z(u,\tilde{v})_{ij} \le\widehat{Z}(u,\tilde{v})_{ij} \le e^{b_{h-1}}Z(u,\tilde{v})_{ij}. \tag*{(88)} e − b h − 1 Z ( u , v ~ ) ij ≤ Z ( u , v ~ ) ij ≤ e b h − 1 Z ( u , v ~ ) ij . (88)
Fix q ∈ [ 1 : min { c , c ~ } ] q \in[1 : \min\{c,\tilde{c}\}] q ∈ [ 1 : min { c , c ~ }] . For each pair of injections σ ∈ Inj ( [ 1 : q ] , [ 1 : c ] ) \sigma\in\operatorname{Inj}([1 : q],[1 : c]) σ ∈ Inj ([ 1 : q ] , [ 1 : c ]) and σ ~ ∈ Inj ( [ 1 : q ] , [ 1 : c ~ ] ) \tilde{\sigma} \in\operatorname{Inj}([1 : q],[1 : \tilde{c}]) σ ~ ∈ Inj ([ 1 : q ] , [ 1 : c ~ ]) , all terms in (88) are nonnegative. Multiplying these inequalities over the q q q pairs ( σ ( a ) , σ ~ ( a ) ) (\sigma(a),\tilde{\sigma}(a)) ( σ ( a ) , σ ~ ( a )) gives
e − q b h − 1 ∏ a = 1 q Z ( u , v ~ ) σ ( a ) , σ ~ ( a ) ≤ ∏ a = 1 q Z ^ ( u , v ~ ) σ ( a ) , σ ~ ( a ) ≤ e q b h − 1 ∏ a = 1 q Z ( u , v ~ ) σ ( a ) , σ ~ ( a ) . e^{-qb_{h-1}}\prod_{a=1}^{q} Z(u,\tilde{v})_{\sigma(a),\tilde{\sigma}(a)}
\le
\prod_{a=1}^{q} \widehat{Z}(u,\tilde{v})_{\sigma(a),\tilde{\sigma}(a)}
\le
e^{qb_{h-1}}\prod_{a=1}^{q} Z(u,\tilde{v})_{\sigma(a),\tilde{\sigma}(a)}. e − q b h − 1 a = 1 ∏ q Z ( u , v ~ ) σ ( a ) , σ ~ ( a ) ≤ a = 1 ∏ q Z ( u , v ~ ) σ ( a ) , σ ~ ( a ) ≤ e q b h − 1 a = 1 ∏ q Z ( u , v ~ ) σ ( a ) , σ ~ ( a ) .
By the definition of S q S_q S q in (12) , summing these inequalities over all pairs ( σ , σ ~ ) (\sigma,\tilde{\sigma}) ( σ , σ ~ ) and dividing by q ! q! q ! gives
e − q b h − 1 S q ( Z ( u , v ~ ) ) ≤ S q ( Z ^ ( u , v ~ ) ) ≤ e q b h − 1 S q ( Z ( u , v ~ ) ) . (89) e^{-qb_{h-1}}S_q(Z(u,\tilde{v})) \le S_q(\widehat{Z}(u,\tilde{v})) \le e^{qb_{h-1}}S_q(Z(u,\tilde{v})). \tag*{(89)} e − q b h − 1 S q ( Z ( u , v ~ )) ≤ S q ( Z ( u , v ~ )) ≤ e q b h − 1 S q ( Z ( u , v ~ )) . (89)
For q = 0 q=0 q = 0 , since S 0 ( Z ( u , v ~ ) ) = S 0 ( Z ^ ( u , v ~ ) ) = S ^ 0 ( u , v ~ ) = 1 S_0(Z(u,\tilde{v})) = S_0(\widehat{Z}(u,\tilde{v})) = \widehat{S}_0(u,\tilde{v}) = 1 S 0 ( Z ( u , v ~ )) = S 0 ( Z ( u , v ~ )) = S 0 ( u , v ~ ) = 1 , (89) also holds. Combining (89) with the assumption (84) , we have for every q ∈ [ 0 : min { c , c ~ } ] q \in[0 : \min\{c,\tilde{c}\}] q ∈ [ 0 : min { c , c ~ }] ,
( 1 − δ ) e − q b h − 1 S q ( Z ( u , v ~ ) ) ≤ S ^ q ( u , v ~ ) ≤ ( 1 + δ ) e q b h − 1 S q ( Z ( u , v ~ ) ) . (90) (1-\delta)e^{-qb_{h-1}}S_q(Z(u,\tilde{v})) \le\widehat{S}_q(u,\tilde{v}) \le(1+\delta)e^{qb_{h-1}}S_q(Z(u,\tilde{v})). \tag*{(90)} ( 1 − δ ) e − q b h − 1 S q ( Z ( u , v ~ )) ≤ S q ( u , v ~ ) ≤ ( 1 + δ ) e q b h − 1 S q ( Z ( u , v ~ )) . (90)
Since δ ∈ ( 0 , 1 / 2 ) \delta\in(0,1/2) δ ∈ ( 0 , 1/2 ) , the inequalities e − 2 δ ≤ 1 − δ e^{-2\delta} \le1-\delta e − 2 δ ≤ 1 − δ and 1 + δ ≤ e 2 δ 1+\delta\le e^{2\delta} 1 + δ ≤ e 2 δ hold. Furthermore, q ≤ max { c , c ~ } ≤ D q \le\max\{c,\tilde{c}\} \le D q ≤ max { c , c ~ } ≤ D and b h − 1 ≥ 0 b_{h-1} \ge0 b h − 1 ≥ 0 , which implies q b h − 1 + 2 δ ≤ D b h − 1 + 2 δ = b h qb_{h-1}+2\delta\le Db_{h-1}+2\delta= b_h q b h − 1 + 2 δ ≤ D b h − 1 + 2 δ = b h . Applying these bounds to (90) , we have
e − b h S q ( Z ( u , v ~ ) ) ≤ S ^ q ( u , v ~ ) ≤ e b h S q ( Z ( u , v ~ ) ) . (91) e^{-b_h}S_q(Z(u,\tilde{v})) \le\widehat{S}_q(u,\tilde{v}) \le e^{b_h}S_q(Z(u,\tilde{v})). \tag*{(91)} e − b h S q ( Z ( u , v ~ )) ≤ S q ( u , v ~ ) ≤ e b h S q ( Z ( u , v ~ )) . (91)
For s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] and under the convention 0 0 = 1 0^0=1 0 0 = 1 , the coefficients e λ s ( 1 − s ) c + c ~ − 2 q e^{\lambda s}(1-s)^{c+\tilde{c}-2q} e λ s ( 1 − s ) c + c ~ − 2 q are nonnegative. Multiplying (91) by these coefficients and summing over q q q gives
e − b h L h ( t u , t ~ v ~ ) ≤ e λ s ∑ q = 0 min { c , c ~ } ( 1 − s ) c + c ~ − 2 q S ^ q ( u , v ~ ) = ℓ ^ ( u , v ~ ) ≤ e b h L h ( t u , t ~ v ~ ) , e^{-b_h}L_h(t_u,\tilde{t}_{\tilde{v}})
\le
e^{\lambda s}\sum_{q=0}^{\min\{c,\tilde{c}\}}(1-s)^{c+\tilde{c}-2q}\widehat{S}_q(u,\tilde{v})
=
\widehat{\ell}(u,\tilde{v})
\le
e^{b_h}L_h(t_u,\tilde{t}_{\tilde{v}}), e − b h L h ( t u , t ~ v ~ ) ≤ e λ s q = 0 ∑ m i n { c , c ~ } ( 1 − s ) c + c ~ − 2 q S q ( u , v ~ ) = ℓ ( u , v ~ ) ≤ e b h L h ( t u , t ~ v ~ ) ,
where the inequalities follow from the exact recursion (13) in Lemma 1, and the equality follows from the update rule (22). This completes the induction step and proves (87) for all h ∈ [ 0 : d ] h \in[0 : d] h ∈ [ 0 : d ] .
It remains to bound the final error exponent b d b_d b d . For d ≥ 1 d \ge1 d ≥ 1 , the recurrence (86) gives
b d = 2 δ ∑ j = 0 d − 1 D j = 2 δ D d − 1 D − 1 ≤ 2 δ D d ≤ 1 16 , b_d = 2\delta\sum_{j=0}^{d-1}D^j = 2\delta\frac{D^d-1}{D-1} \le2\delta D^d \le\frac{1}{16}, b d = 2 δ j = 0 ∑ d − 1 D j = 2 δ D − 1 D d − 1 ≤ 2 δ D d ≤ 16 1 ,
where we used D ≥ 2 D \ge2 D ≥ 2 and δ = 1 / ( 64 D d ) \delta= 1/(64D^d) δ = 1/ ( 64 D d ) from (18) . For d = 0 d=0 d = 0 , we have b d = b 0 = 0 ≤ 1 / 16 b_d=b_0=0\le1/16 b d = b 0 = 0 ≤ 1/16 . Applying (87) at h = d h=d h = d to the root pair ρ \rho ρ and ρ ~ \tilde{\rho} ρ ~ , and using L ^ d ( t , t ~ ) = ℓ ^ ( ρ , ρ ~ ) \widehat{L}_d(t,\tilde{t})=\widehat{\ell}(\rho,\tilde{\rho}) L d ( t , t ~ ) = ℓ ( ρ , ρ ~ ) from (23) , we have (85) , which completes the proof.
We now bound the probability that the condition in (84) fails. Combined with Lemma 10 , this establishes the following approximation guarantee.
Lemma 11 (Likelihood-ratio approximation). Let λ > 0 \lambda> 0 λ > 0 , s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) , and let d ≥ 0 d \ge0 d ≥ 0 be an integer. For a fixed pair ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathbb{Z}_d \times\mathbb{Z}_d ( t , t ~ ) ∈ Z d × Z d , let L ^ d ( t , t ~ ) \widehat{L}_d(t,\tilde{t}) L d ( t , t ~ ) be the output of Algorithm 2 with parameters λ \lambda λ , s s s , ξ \xi ξ , and d d d . Then
P ( e − 1 / 16 L d ( t , t ~ ) ≤ L ^ d ( t , t ~ ) ≤ e 1 / 16 L d ( t , t ~ ) ) ≥ 1 − ξ . (92) \mathbb{P}\left(e^{-1/16}L_d(t,\tilde{t}) \le\widehat{L}_d(t,\tilde{t}) \le e^{1/16}L_d(t,\tilde{t})\right) \ge1-\xi. \tag*{(92)} P ( e − 1/16 L d ( t , t ~ ) ≤ L d ( t , t ~ ) ≤ e 1/16 L d ( t , t ~ ) ) ≥ 1 − ξ . (92)
Proof. Fix ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathbb{Z}_d \times\mathbb{Z}_d ( t , t ~ ) ∈ Z d × Z d , and let D D D , δ \delta δ , and η \eta η be the parameters computed in Step 1 of Algorithm 2. By (18) , we have D ≥ 2 D \ge2 D ≥ 2 and δ , η ∈ ( 0 , 1 / 2 ) \delta,\eta\in(0,1/2) δ , η ∈ ( 0 , 1/2 ) . For d = 0 d=0 d = 0 , Step 2 and Lemma 1 give L ^ 0 ( t , t ~ ) = L 0 ( t , t ~ ) = 1 \widehat{L}_0(t,\tilde{t})=L_0(t,\tilde{t})=1 L 0 ( t , t ~ ) = L 0 ( t , t ~ ) = 1 , so (84) holds with probability 1. We now consider d ≥ 1 d \ge1 d ≥ 1 .
We first bound the total number of invocations of ApproxPer in Step 3. Since every vertex in either tree has at most D D D children, we have ∣ S d − h ( t ) ∣ ≤ D d − h |S_{d-h}(t)| \le D^{d-h} ∣ S d − h ( t ) ∣ ≤ D d − h and ∣ S d − h ( t ~ ) ∣ ≤ D d − h |S_{d-h}(\tilde{t})| \le D^{d-h} ∣ S d − h ( t ~ ) ∣ ≤ D d − h for every h ∈ [ 1 : d ] h \in[1:d] h ∈ [ 1 : d ] . At each vertex pair, Step 3 invokes ApproxPer at most D D D times, as the number of invocations equals to the smaller number of their children. Thus, the total number of invocations is at most
D ∑ h = 1 d ∣ S d − h ( t ) ∣ ∣ S d − h ( t ~ ) ∣ ≤ D ∑ h = 1 d D 2 ( d − h ) ≤ ( D + 1 ) ∑ j = 0 d D 2 j . (93) D\sum_{h=1}^{d}|S_{d-h}(t)||S_{d-h}(\tilde{t})|
\le D\sum_{h=1}^{d}D^{2(d-h)}
\le(D+1)\sum_{j=0}^{d}D^{2j}. \tag*{(93)} D h = 1 ∑ d ∣ S d − h ( t ) ∣∣ S d − h ( t ~ ) ∣ ≤ D h = 1 ∑ d D 2 ( d − h ) ≤ ( D + 1 ) j = 0 ∑ d D 2 j . (93)
Fix h ∈ [ 1 : d ] h \in[1:d] h ∈ [ 1 : d ] and ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v}) \in S_{d-h}(t) \times S_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) , and let c = ∣ Ch t ( u ) ∣ c=|\operatorname{Ch}_t(u)| c = ∣ Ch t ( u ) ∣ and c ~ = ∣ Ch t ~ ( v ~ ) ∣ \tilde{c}=|\operatorname{Ch}_{\tilde{t}}(\tilde{v})| c ~ = ∣ Ch t ~ ( v ~ ) ∣ . We next bound the probability that a value S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) fails to satisfy (84) for a fixed q ∈ [ 1 : min { c , c ~ } ] q \in[1:\min\{c,\tilde{c}\}] q ∈ [ 1 : min { c , c ~ }] . The matrix Z ^ ( u , v ~ ) \widehat{Z}(u,\tilde{v}) Z ( u , v ~ ) is completely determined by values computed at depths strictly larger than d − h d-h d − h . Conditioned on Z ^ ( u , v ~ ) = Z \widehat{Z}(u,\tilde{v})=Z Z ( u , v ~ ) = Z for a fixed realization Z Z Z , the value S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) is computed by ApproxPer on the fixed input A q ( Z ) A_q(Z) A q ( Z ) .
For any fixed realization Z Z Z of Z ^ ( u , v ~ ) \widehat{Z}(u,\tilde{v}) Z ( u , v ~ ) , the matrix A q ( Z ) A_q(Z) A q ( Z ) is nonnegative. Conditioned on Z ^ ( u , v ~ ) = Z \widehat{Z}(u,\tilde{v})=Z Z ( u , v ~ ) = Z , we apply (16) in Lemma 3 to A q ( Z ) A_q(Z) A q ( Z ) and divide the approximation bounds by the positive factor ( c − q ) ! ( c ~ − q ) ! (c-q)!(\tilde{c}-q)! ( c − q )! ( c ~ − q )! to obtain
P ( S ^ q ( u , v ~ ) ∉ [ ( 1 − δ ) S q ( Z ) , ( 1 + δ ) S q ( Z ) ] | Z ^ ( u , v ~ ) = Z ) ≤ η . \mathbb{P}\left(\widehat{S}_q(u,\tilde{v}) \notin[(1-\delta)S_q(Z),(1+\delta)S_q(Z)] \,\middle|\, \widehat{Z}(u,\tilde{v})=Z\right) \le\eta. P ( S q ( u , v ~ ) ∈ / [( 1 − δ ) S q ( Z ) , ( 1 + δ ) S q ( Z )] Z ( u , v ~ ) = Z ) ≤ η .
where we used the definition of S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) in (21) and the identity (15) in Lemma 2. Since this conditional bound holds uniformly for all possible realizations Z Z Z , taking the expectation over Z ^ ( u , v ~ ) \widehat{Z}(u,\tilde{v}) Z ( u , v ~ ) via the law of total probability yields the unconditional bound
P ( S ^ q ( u , v ~ ) ∉ [ ( 1 − δ ) S q ( Z ^ ( u , v ~ ) ) , ( 1 + δ ) S q ( Z ^ ( u , v ~ ) ) ] ) ≤ η . (94) \mathbb{P}\left(\widehat{S}_q(u,\tilde{v}) \notin[(1-\delta)S_q(\widehat{Z}(u,\tilde{v})),(1+\delta)S_q(\widehat{Z}(u,\tilde{v}))]\right) \le\eta. \tag*{(94)} P ( S q ( u , v ~ ) ∈ / [( 1 − δ ) S q ( Z ( u , v ~ )) , ( 1 + δ ) S q ( Z ( u , v ~ ))] ) ≤ η . (94)
Applying the union bound over all values S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) computed via (21), we obtain
P ( ( 76 ) fails for at least one S ^ q ( u , v ~ ) ) ≤ η D ∑ h = 1 d ∣ S d − h ( t ) ∣ ∣ S d − h ( t ~ ) ∣ ≤ η ( D + 1 ) ∑ j = 0 d D 2 j = ξ , (95) \begin{aligned}
\mathbb{P}\left((76)\text{ fails for at least one }\widehat{S}_q(u,\tilde{v})\right)
\le\eta D\sum_{h=1}^{d}|S_{d-h}(t)||S_{d-h}(\tilde{t})| \\
&\le\eta(D+1)\sum_{j=0}^{d}D^{2j}=\xi, \tag*{(95)}
\end{aligned} P ( ( 76 ) fails for at least one S q ( u , v ~ ) ) ≤ η D h = 1 ∑ d ∣ S d − h ( t ) ∣∣ S d − h ( t ~ ) ∣ ≤ η ( D + 1 ) j = 0 ∑ d D 2 j = ξ , (95)
where the second inequality follows from (85), and the equality follows from the choice of η \eta η in (18). Therefore, with probability at least 1 − ξ 1-\xi 1 − ξ , all inequalities required by Lemma 10 hold simultaneously. Applying (77) from Lemma 10 establishes (84), which completes the proof.
Computational Complexity
In this subsection, we bound the computational complexity of ApproxLR, as established in the following lemma.
Lemma 4 (Computational complexity of ApproxLR). Let λ > 0 \lambda> 0 λ > 0 , s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) , and let d ≥ 1 d \ge1 d ≥ 1 be an integer. For a fixed pair ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathbb{Z}_d \times\mathbb{Z}_d ( t , t ~ ) ∈ Z d × Z d , let D D D be the parameter defined in (17) . The computational complexity of Algorithm 2 with parameters λ \lambda λ , s s s , ξ \xi ξ , and d d d is
( D + 1 ) ∑ j = 0 d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . (96) (D+1)\sum_{j=0}^{d}D^{2j}\operatorname{Poly}\left(D,D^d,\log(\xi^{-1})+(d+1)\log D\right). \tag*{(96)} ( D + 1 ) j = 0 ∑ d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . (96) In particular, if ξ = n − 11 \xi=n^{-11} ξ = n − 11 and D d = n o ( 1 ) D^d=n^{o(1)} D d = n o ( 1 ) , then the computational complexity is n o ( 1 ) n^{o(1)} n o ( 1 ) .
Proof. Fix ( t , t ~ ) ∈ Z d × Z d (t,\tilde{t}) \in\mathbb{Z}_d \times\mathbb{Z}_d ( t , t ~ ) ∈ Z d × Z d , and let D D D , δ \delta δ , η \eta η be the parameters computed in Step 1 of Algorithm 2. We bound the computational complexity of each step of this algorithm.
First, each input tree has at most D j D^j D j vertices at depth j j j for every j ∈ [ 0 : d ] j \in[0:d] j ∈ [ 0 : d ] . Hence,
∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ≤ 2 ∑ j = 0 d D j ≤ 4 D d . |\mathcal{V}(t)|+|\mathcal{V}(\tilde{t})| \le2\sum_{j=0}^{d}D^j \le4D^d. ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ≤ 2 j = 0 ∑ d D j ≤ 4 D d .
where the second inequality follows from D ≥ 2 D \ge2 D ≥ 2 . Computing D D D in Step 1 requires examining the children of each vertex, which has complexity O ( D d ) O(D^d) O ( D d ) . Once D D D is known, computing δ \delta δ and η \eta η via (18) has complexity O ( d ) O(d) O ( d ) . Since d ≤ D d d \le D^d d ≤ D d , Step 1 has complexity O ( D d ) O(D^d) O ( D d ) . Step 2 initializes value 1 for each pair in S d ( t ) × S d ( t ~ ) S_d(t) \times S_d(\tilde{t}) S d ( t ) × S d ( t ~ ) , and therefore has complexity O ( D 2 d ) O(D^{2d}) O ( D 2 d ) .
Fix an iteration h ∈ [ 1 : d ] h \in[1:d] h ∈ [ 1 : d ] and a pair ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) (u,\tilde{v}) \in S_{d-h}(t) \times S_{d-h}(\tilde{t}) ( u , v ~ ) ∈ S d − h ( t ) × S d − h ( t ~ ) in Step 3, and let c = ∣ Ch t ( u ) ∣ c=|\operatorname{Ch}_t(u)| c = ∣ Ch t ( u ) ∣ and c ~ = ∣ Ch t ~ ( v ~ ) ∣ \tilde{c}=|\operatorname{Ch}_{\tilde{t}}(\tilde{v})| c ~ = ∣ Ch t ~ ( v ~ ) ∣ . Since c , c ~ ≤ D c,\tilde{c} \le D c , c ~ ≤ D , enumerating the children and forming Z ^ ( u , v ~ ) \widehat{Z}(u,\tilde{v}) Z ( u , v ~ ) via (20) has complexity O ( D 2 ) O(D^2) O ( D 2 ) . For each q ∈ [ 1 : min { c , c ~ } ] q \in[1:\min\{c,\tilde{c}\}] q ∈ [ 1 : min { c , c ~ }] , the nonnegative matrix A q ( Z ^ ( u , v ~ ) ) A_q(\widehat{Z}(u,\tilde{v})) A q ( Z ( u , v ~ )) is a square matrix with dimension c + c ~ − q ≤ 2 D c+\tilde{c}-q \le2D c + c ~ − q ≤ 2 D and can be constructed in O ( D 2 ) O(D^2) O ( D 2 ) time. By Lemma 3, the complexity of applying ApproxPer to this matrix is bounded by Poly ( 2 D , δ − 1 , log ( η − 1 ) ) \operatorname{Poly}(2D,\delta^{-1},\log(\eta^{-1})) Poly ( 2 D , δ − 1 , log ( η − 1 )) . By (18) , we have
δ − 1 = 64 D d , log ( η − 1 ) ≤ log ( ξ − 1 ) + 2 ( d + 1 ) log D . \delta^{-1}=64D^d,\qquad\log(\eta^{-1})\le\log(\xi^{-1})+2(d+1)\log D. δ − 1 = 64 D d , log ( η − 1 ) ≤ log ( ξ − 1 ) + 2 ( d + 1 ) log D .
Therefore, computing each S ^ q ( u , v ~ ) \widehat{S}_q(u,\tilde{v}) S q ( u , v ~ ) via (21) has complexity Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) \operatorname{Poly}(D,D^d,\log(\xi^{-1})+(d+1)\log D) Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . There are at most D + 1 D+1 D + 1 choices for q q q . The update in (22) combines these terms and requires O ( D ) O(D) O ( D ) operations to calculate the coefficients ( 1 − s ) c + c ~ − 2 q (1-s)^{c+\tilde{c}-2q} ( 1 − s ) c + c ~ − 2 q . Thus, the total complexity of calculating ℓ ^ ( u , v ~ ) \widehat{\ell}(u,\tilde{v}) ℓ ( u , v ~ ) for the fixed pair ( u , v ~ ) (u,\tilde{v}) ( u , v ~ ) is
( D + 1 ) Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) . (D+1)\operatorname{Poly}\left(D,D^d,\log(\xi^{-1})+(d+1)\log D\right). ( D + 1 ) Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) .
Moreover, the total number of vertex pairs processed in Step 3 satisfies
∑ h = 1 d ∣ S d − h ( t ) ∣ ∣ S d − h ( t ~ ) ∣ ≤ ∑ h = 1 d D 2 ( d − h ) ≤ ∑ j = 0 d D 2 j . \sum_{h=1}^{d}|S_{d-h}(t)|\,|S_{d-h}(\tilde{t})|
\le\sum_{h=1}^{d}D^{2(d-h)}
\le\sum_{j=0}^{d}D^{2j}. h = 1 ∑ d ∣ S d − h ( t ) ∣ ∣ S d − h ( t ~ ) ∣ ≤ h = 1 ∑ d D 2 ( d − h ) ≤ j = 0 ∑ d D 2 j .
Finally, Step 4 returns the root value and has complexity O ( 1 ) O(1) O ( 1 ) . Summing up the costs from Steps 1 through 4, the overall computational complexity is
O ( D d ) + O ( D 2 d ) + ( D + 1 ) ∑ j = 0 d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) + O ( 1 ) = ( D + 1 ) ∑ j = 0 d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) , \begin{aligned}
O(D^d)+O(D^{2d})+(D+1)\sum_{j=0}^{d}D^{2j}\operatorname{Poly}\left(D,D^d,\log(\xi^{-1})+(d+1)\log D\right)+O(1) \\
&= (D+1)\sum_{j=0}^{d}D^{2j}\operatorname{Poly}\left(D,D^d,\log(\xi^{-1})+(d+1)\log D\right),
\end{aligned} O ( D d ) + O ( D 2 d ) + ( D + 1 ) j = 0 ∑ d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) + O ( 1 ) = ( D + 1 ) j = 0 ∑ d D 2 j Poly ( D , D d , log ( ξ − 1 ) + ( d + 1 ) log D ) ,
which proves (24).
For the last assertion, let ξ = n − 11 \xi=n^{-11} ξ = n − 11 and assume D d = n o ( 1 ) D^d=n^{o(1)} D d = n o ( 1 ) . Since D ≥ 2 D\ge2 D ≥ 2 and d ≥ 1 d\ge1 d ≥ 1 , we have
D ≤ D d = n o ( 1 ) , ( D + 1 ) ∑ j = 0 d D 2 j ≤ D 2 ( d + 1 ) ≤ D 4 d = n o ( 1 ) , D\le D^d=n^{o(1)},\qquad(D+1)\sum_{j=0}^{d}D^{2j}\le D^{2(d+1)}\le D^{4d}=n^{o(1)}, D ≤ D d = n o ( 1 ) , ( D + 1 ) j = 0 ∑ d D 2 j ≤ D 2 ( d + 1 ) ≤ D 4 d = n o ( 1 ) ,
and
log ( ξ − 1 ) + ( d + 1 ) log D ≤ 11 log n + 2 log ( D d ) = O ( log n ) . \log(\xi^{-1})+(d+1)\log D\le11\log n+2\log(D^d)=O(\log n). log ( ξ − 1 ) + ( d + 1 ) log D ≤ 11 log n + 2 log ( D d ) = O ( log n ) .
Therefore, all arguments of the polynomial in (24) are n o ( 1 ) n^{o(1)} n o ( 1 ) , yielding a total complexity of n o ( 1 ) n^{o(1)} n o ( 1 ) . This completes the proof.
Seeded Graph Matching
This appendix analyzes the seeded completion in Step 4 of Algorithm 1. We first state Algorithm 3 and its guarantee in [25 Proposition 6] , and then give its greedy version executed in Step 4 of TBAlign with guarantees in Lemma 12. Recall that for a subset S ⊆ V S\subseteq V S ⊆ V and a mapping π ^ : S → V ~ \hat{\pi}:S\to\widetilde{V} π ^ : S → V , we use W ( u , v ~ ) W(u,\tilde{v}) W ( u , v ~ ) to denote the number of vertices i ∈ V ′ i\in V' i ∈ V ′ such that i i i is adjacent to u u u in G G G and π ^ ( i ) \hat{\pi}(i) π ^ ( i ) is adjacent to v ~ \tilde{v} v ~ in G ~ \widetilde{G} G .
Table 3.
The guarantee of Algorithm 3 is provided by the following proposition. As established in [25 Proposition 6] and its proof, this result holds simultaneously for all seed mappings and for every choice of the pair added in each iteration.
Proposition 2 ([25 Proposition 6] ). Fix an arbitrarily small constant ϵ > 0 \epsilon>0 ϵ > 0 . Suppose ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G})\sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) with λ n ≤ 1 2 \frac{\lambda}{n}\le\frac{1}{2} n λ ≤ 2 1 , λ s ≥ ( 1 + ϵ ) log n \lambda s\ge(1+\epsilon)\log n λ s ≥ ( 1 + ϵ ) log n , and n s − λ n − λ ≥ ϵ \frac{n s-\lambda}{n-\lambda}\ge\epsilon n − λ n s − λ ≥ ϵ . Let π ′ \pi' π ′ be an arbitrary injective mapping: S → V ~ S\to\widetilde{V} S → V such that π ′ ( u ) = π ( u ) \pi'(u)=\pi(u) π ′ ( u ) = π ( u ) for every u ∈ S u\in S u ∈ S , and ∣ S ∣ ≥ ( 1 − ϵ / 16 ) n |S|\ge(1-\epsilon/16)n ∣ S ∣ ≥ ( 1 − ϵ /16 ) n . Let γ \gamma γ denote the unique solution in ( 1 , + ∞ ) (1,+\infty) ( 1 , + ∞ ) to γ log γ − γ + 1 = 3 n 2 log n ( n − 2 ) λ 2 \gamma\log\gamma-\gamma+1=\frac{3n^2\log n}{(n-2)\lambda^2} γ log γ − γ + 1 = ( n − 2 ) λ 2 3 n 2 l o g n . Then with probability 1 − O ( n − ϵ / 8 ) 1-O(n^{-\epsilon/8}) 1 − O ( n − ϵ /8 ) , Algorithm 3 with inputs γ \gamma γ and any such π ′ \pi' π ′ outputs π ^ = π \hat{\pi}=\pi π ^ = π in O ( n λ 2 ) O(n\lambda^2) O ( n λ 2 ) time.
The following algorithm is a greedy version of Algorithm 3 that sequentially selects the pair with the maximum weight. This algorithm serves as the actual subroutine for seeded completion in Step 4 of Algorithm 1.
Algorithm 4 Greedy seeded graph matching
Input: Two graphs $G$ and $\widetilde{G}$, and a partial mapping $\pi'$.
Output: A mapping $\widehat{\pi}$.
1: Initialize $\widehat{\pi} \leftarrow \pi'$.
2: Compute $W(u,\widetilde{v})$ for all currently unmatched pairs.
3: while there exist unmatched vertices in $V$ do
4: Choose a currently unmatched pair $(u^*,\widetilde{v}^*)$ maximizing $W(u,\widetilde{v})$, breaking ties arbitrarily.
5: Set $\widehat{\pi}(u^*) \leftarrow \widetilde{v}^*$.
6: Update $W(u,\widetilde{v})$ for all currently unmatched pairs.
7: end while
8: return $\widehat{\pi}$.
Lemma 12. Under the same assumptions on the input graphs ( G , G ~ ) (G,\widetilde{G}) ( G , G ) and the initial matching π ′ \pi' π ′ as in Proposition 2, Algorithm 4 has time complexity O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) O(n^2 + |E||\widetilde{E}|) O ( n 2 + ∣ E ∣∣ E ∣ ) , and with probability 1 − O ( n − ε / 8 ) 1-O(n^{-\varepsilon/8}) 1 − O ( n − ε /8 ) , it outputs the correct matching π ^ = π \widehat{\pi}=\pi π = π for any such initial matching π ′ \pi' π ′ .
Proof. We prove correctness and the complexity bound separately.
Proof of Correctness. We consider any realization ( g , g ~ ) (g,\widetilde{g}) ( g , g ) of ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G}) \sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) such that the event established in Proposition 2 holds, and let γ > 1 \gamma>1 γ > 1 be the value defined in Proposition 2. Suppose, for contradiction, that Algorithm 4 selects an incorrect pair ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) for the first time at some iteration. Before this iteration, the current π ^ \widehat{\pi} π is a correct injective mapping containing at least as many matched pairs as π ′ \pi' π ′ . By Proposition 2, the incorrect pair ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) must satisfy
W ( u ∗ , v ~ ∗ ) < γ ( n − 2 ) λ 2 n 2 ; W(u^*,\widetilde{v}^*) < \frac{\gamma(n-2)\lambda^2}{n^2}; W ( u ∗ , v ∗ ) < n 2 γ ( n − 2 ) λ 2 ; otherwise, Algorithm 3 initialized with the current π ^ \widehat{\pi} π could choose this pair and return the incorrect matching ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) , contradicting Proposition 2.
On the other hand, since ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) maximizes W ( u , v ~ ) W(u,\widetilde{v}) W ( u , v ) among all currently unmatched pairs, it follows that no unmatched pair reaches the threshold at this iteration. In this case, Algorithm 3 initialized with the current π ^ \widehat{\pi} π would therefore terminate before obtaining a complete matching, which is again a contradiction to Proposition 2. Thus, on the event considered above, Algorithm 4 never selects an incorrect pair. Since Algorithm 4 always returns a complete matching, the output π ^ \widehat{\pi} π must equal to π \pi π under the event we considered, which has probability 1 − O ( n − ε / 8 ) 1-O(n^{-\varepsilon/8}) 1 − O ( n − ε /8 ) .
Proof of Complexity. Starting from the input partial mapping π ′ \pi' π ′ , we first set W ( u , v ~ ) = 0 W(u,\widetilde{v})=0 W ( u , v ) = 0 for every unmatched pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) . For every vertex i i i already matched by π ′ \pi' π ′ , and for every currently unmatched pair ( u , v ~ ) (u,\widetilde{v}) ( u , v ) such that u ∈ N ( i ) u\in N(i) u ∈ N ( i ) and v ~ ∈ N ~ ( π ′ ( i ) ) \widetilde{v}\in\widetilde{N}(\pi'(i)) v ∈ N ( π ′ ( i )) , set
W ( u , v ~ ) ← W ( u , v ~ ) + 1. W(u,\widetilde{v}) \leftarrow W(u,\widetilde{v})+1. W ( u , v ) ← W ( u , v ) + 1. For each fixed vertex i i i matched by π ′ \pi' π ′ , these updates have time complexity O ( ∣ N ( i ) ∣ ∣ N ~ ( π ′ ( i ) ) ∣ ) O\left(|N(i)|\,|\widetilde{N}(\pi'(i))|\right) O ( ∣ N ( i ) ∣ ∣ N ( π ′ ( i )) ∣ ) . Since every weight is an integer between 0 0 0 and n n n , we place all unmatched pairs into n + 1 n+1 n + 1 buckets according to their weights. For each k ∈ [ 0 : n ] k\in[0:n] k ∈ [ 0 : n ] , define
B k : = { ( u , v ~ ) : ( u , v ~ ) is currently unmatched and W ( u , v ~ ) = k } . (97) \mathcal{B}_k := \{(u,\widetilde{v}):(u,\widetilde{v})\text{ is currently unmatched and }W(u,\widetilde{v})=k\}. \tag*{(97)} B k := {( u , v ) : ( u , v ) is currently unmatched and W ( u , v ) = k } . (97) Placing all unmatched pairs into these buckets takes O ( n 2 ) O(n^2) O ( n 2 ) time. In each iteration, we scan B n , B n − 1 , … , B 0 \mathcal{B}_n,\mathcal{B}_{n-1},\ldots,\mathcal{B}_0 B n , B n − 1 , … , B 0 to find the largest index k k k such that B k \mathcal{B}_k B k is nonempty, choose an arbitrary pair ( u ∗ , v ~ ∗ ) (u^*,\widetilde{v}^*) ( u ∗ , v ∗ ) from B k \mathcal{B}_k B k , and set π ^ ( u ∗ ) ← v ~ ∗ \widehat{\pi}(u^*)\leftarrow\widetilde{v}^* π ( u ∗ ) ← v ∗ . We then remove all remaining pairs containing either u ∗ u^* u ∗ or
v ~ ∗ \tilde{v}^{*} v ~ ∗ . The time complexity of finding the largest nonempty bucket and removing conflicts is O ( n ) O(n) O ( n ) . After adding ( u ∗ , v ~ ∗ ) (u^{*},\tilde{v}^{*}) ( u ∗ , v ~ ∗ ) , for every currently unmatched pair ( w , x ~ ) (w,\tilde{x}) ( w , x ~ ) such that w ∈ N ( u ∗ ) w \in\mathcal{N}(u^{*}) w ∈ N ( u ∗ ) and x ~ ∈ N ~ ( v ~ ∗ ) \tilde{x} \in\tilde{\mathcal{N}}(\tilde{v}^{*}) x ~ ∈ N ~ ( v ~ ∗ ) , update
W ( w , x ~ ) ← W ( w , x ~ ) + 1 , W(w,\tilde{x}) \leftarrow W(w,\tilde{x})+1, W ( w , x ~ ) ← W ( w , x ~ ) + 1 ,
and move ( w , x ~ ) (w,\tilde{x}) ( w , x ~ ) to the corresponding bucket. Therefore, updating the weights in this iteration takes O ( ∣ N ( u ∗ ) ∣ ∣ N ~ ( v ~ ∗ ) ∣ ) O\left(\lvert\mathcal{N}(u^{*})\rvert\lvert\tilde{\mathcal{N}}(\tilde{v}^{*})\rvert\right) O ( ∣ N ( u ∗ )∣ ∣ N ~ ( v ~ ∗ )∣ ) time. Each vertex contributes to the weight updates exactly once, either during the initialization or when it is newly matched. Hence, the total number of weight updates is at most
∑ u ∈ V ∣ N ( u ) ∣ ∣ N ~ ( π ^ ( u ) ) ∣ ≤ ( ∑ u ∈ V ∣ N ( u ) ∣ ) ( ∑ v ~ ∈ V ~ ∣ N ~ ( v ~ ) ∣ ) = O ( ∣ E ∣ ∣ E ~ ∣ ) . (98) \sum_{u\in V}\lvert\mathcal{N}(u)\rvert\lvert\tilde{\mathcal{N}}(\hat{\pi}(u))\rvert\leq\left(\sum_{u\in V}\lvert\mathcal{N}(u)\rvert\right)\left(\sum_{\tilde{v}\in\tilde{V}}\lvert\tilde{\mathcal{N}}(\tilde{v})\rvert\right)=O\left(\lvert\mathcal{E}\rvert\lvert\tilde{\mathcal{E}}\rvert\right). \tag*{(98)} u ∈ V ∑ ∣ N ( u )∣ ∣ N ~ ( π ^ ( u ))∣ ≤ ( u ∈ V ∑ ∣ N ( u )∣ ) v ~ ∈ V ~ ∑ ∣ N ~ ( v ~ )∣ = O ( ∣ E ∣ ∣ E ~ ∣ ) . (98)
Since the number of iterations is O ( n ) O(n) O ( n ) , the total time complexity of completing π ′ \pi' π ′ to π ^ \hat{\pi} π ^ is
O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) , O\left(n^{2}+\lvert\mathcal{E}\rvert\lvert\tilde{\mathcal{E}}\rvert\right), O ( n 2 + ∣ E ∣ ∣ E ~ ∣ ) ,
which completes the proof.
Erdős–Rényi Graph Properties
The proofs in this appendix largely follow those in Appendices C and D of [13 ] , where the results are established under the assumption that λ = ( log n ) α + o ( 1 ) \lambda=(\log n)^{\alpha+o(1)} λ = ( log n ) α + o ( 1 ) for some α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Here we extend these results to the broader regime λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) and λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . The key arguments remain unchanged, and we present the proofs here for completeness.
Neighborhood Size
Lemma 13. Consider an Erdős–Rényi random graph G ( V , E ) ∼ ER ( n , λ n ) G(V,\mathcal{E})\sim\operatorname{ER}(n,\frac{\lambda}{n}) G ( V , E ) ∼ ER ( n , n λ ) , where λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) and λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . Let d d d be a positive integer with d ≤ ( log n ) γ d\leq(\log n)^{\gamma} d ≤ ( log n ) γ for some constant γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , and for each vertex i i i in G G G , let N ( i , d ) \mathcal{N}(i,d) N ( i , d ) denote the set of vertices within distance d d d from i i i in G G G . Then, we have
P ( ∃ i ∈ V : ∣ N ( i , d ) ∣ ≥ 8 e 2 λ d log n ) = O ~ ( n − 1 / 3 ) . (99) \mathbb{P}\left(\exists i\in V:\lvert\mathcal{N}(i,d)\rvert\geq8e^{2}\lambda^{d}\log n\right)=\widetilde{O}\left(n^{-1/3}\right). \tag*{(99)} P ( ∃ i ∈ V : ∣ N ( i , d )∣ ≥ 8 e 2 λ d log n ) = O ( n − 1/3 ) . (99)
Proof. Fix a vertex i ∈ V i\in V i ∈ V . We will show that
P ( ∣ N ( i , d ) ∣ ≥ 8 e 2 λ d log n ) = O ~ ( n − 4 / 3 ) . \mathbb{P}\left(\lvert\mathcal{N}(i,d)\rvert\geq8e^{2}\lambda^{d}\log n\right)=\widetilde{O}\left(n^{-4/3}\right). P ( ∣ N ( i , d )∣ ≥ 8 e 2 λ d log n ) = O ( n − 4/3 ) .
Then (90) then follows by applying a union bound on the n n n vertices in V V V .
For each k ∈ { 0 , … , d } k\in\{0,\ldots,d\} k ∈ { 0 , … , d } , let S ( i , k ) S(i,k) S ( i , k ) denote the set of vertices exactly k k k -hop away from vertex i i i . It follows from this definition that
∣ N ( i , d ) ∣ = ∑ k = 0 d ∣ S ( i , k ) ∣ . \lvert\mathcal{N}(i,d)\rvert=\sum_{k=0}^{d}\lvert S(i,k)\rvert. ∣ N ( i , d )∣ = k = 0 ∑ d ∣ S ( i , k )∣ .
Define event
B k : = { ∣ S ( i , k ) ∣ < 4 ( log n ) λ k ∏ h = 0 k ( 1 + λ − h / 2 ) } . B_k:=\left\{\lvert S(i,k)\rvert<4(\log n)\lambda^{k}\prod_{h=0}^{k}(1+\lambda^{-h/2})\right\}. B k := { ∣ S ( i , k )∣ < 4 ( log n ) λ k h = 0 ∏ k ( 1 + λ − h /2 ) } .
Notice that
∑ k = 0 d 4 ( log n ) λ k ∏ h = 0 k ( 1 + λ − h / 2 ) ≤ 4 ( log n ) ∏ h = 0 ∞ ( 1 + λ − h / 2 ) ∑ k = 0 d λ k \sum_{k=0}^{d}4(\log n)\lambda^k\prod_{h=0}^{k}(1+\lambda^{-h/2})\leq4(\log n)\prod_{h=0}^{\infty}(1+\lambda^{-h/2})\sum_{k=0}^{d}\lambda^k k = 0 ∑ d 4 ( log n ) λ k h = 0 ∏ k ( 1 + λ − h /2 ) ≤ 4 ( log n ) h = 0 ∏ ∞ ( 1 + λ − h /2 ) k = 0 ∑ d λ k
≤ 4 ( log n ) e 2 ( λ d + 1 − 1 λ − 1 ) \leq4(\log n)e^2\left(\frac{\lambda^{d+1}-1}{\lambda-1}\right) ≤ 4 ( log n ) e 2 ( λ − 1 λ d + 1 − 1 )
≤ 8 e 2 λ d log n , \leq8e^2\lambda^d\log n, ≤ 8 e 2 λ d log n ,
where (a) follows because
∏ h = 0 ∞ ( 1 + λ − h / 2 ) ≤ exp ( ∑ h = 0 ∞ λ − h / 2 ) ≤ e 2 \prod_{h=0}^{\infty}(1+\lambda^{-h/2})\leq\exp\left(\sum_{h=0}^{\infty}\lambda^{-h/2}\right)\leq e^2 h = 0 ∏ ∞ ( 1 + λ − h /2 ) ≤ exp ( h = 0 ∑ ∞ λ − h /2 ) ≤ e 2
for all large enough n n n . Therefore, it suffices to show that P ( ⋂ k = 0 d B k ) = 1 − O ~ ( n − 4 / 3 ) \mathbb{P}(\bigcap_{k=0}^{d}\mathcal{B}_k)=1-\widetilde{O}(n^{-4/3}) P ( ⋂ k = 0 d B k ) = 1 − O ( n − 4/3 ) . We rewrite the probability of this intersection event as
P ( ⋂ k = 0 d B k ) = P ( B 0 ) − ∑ k = 1 d P ( B k c ∩ ( ⋂ h = 0 k − 1 B h ) ) ≥ P ( B 0 ) − ∑ k = 1 d P ( B k c ∣ ⋂ h = 0 k − 1 B h ) . (100) \begin{aligned}
\mathbb{P}\left(\bigcap_{k=0}^{d}\mathcal{B}_k\right)=\mathbb{P}(\mathcal{B}_0)-\sum_{k=1}^{d}\mathbb{P}\left(\mathcal{B}_k^c\cap\left(\bigcap_{h=0}^{k-1}\mathcal{B}_h\right)\right) \\
&\geq\mathbb{P}(\mathcal{B}_0)-\sum_{k=1}^{d}\mathbb{P}\left(\mathcal{B}_k^c\mid\bigcap_{h=0}^{k-1}\mathcal{B}_h\right). \tag*{(100)}
\end{aligned} P ( k = 0 ⋂ d B k ) = P ( B 0 ) − k = 1 ∑ d P ( B k c ∩ ( h = 0 ⋂ k − 1 B h ) ) ≥ P ( B 0 ) − k = 1 ∑ d P ( B k c ∣ h = 0 ⋂ k − 1 B h ) . (100)
Notice that B 0 \mathcal{B}_0 B 0 holds almost surely, and it suffices to bound each term in the summation in (100) . Fix some k ∈ { 0 , … , d } k\in\{0,\ldots,d\} k ∈ { 0 , … , d } . Conditioned on events ∑ l = 0 k − 1 ∣ S ( i , l ) ∣ = m \sum_{l=0}^{k-1}|\mathcal{S}(i,l)|=m ∑ l = 0 k − 1 ∣ S ( i , l ) ∣ = m and ∣ S ( i , k − 1 ) ∣ = m ′ |\mathcal{S}(i,k-1)|=m' ∣ S ( i , k − 1 ) ∣ = m ′ , we have
∣ S ( i , k ) ∣ ∼ Binom ( n − m , 1 − ( 1 − λ / n ) m ′ ) . |\mathcal{S}(i,k)|\sim\operatorname{Binom}\left(n-m,1-(1-\lambda/n)^{m'}\right). ∣ S ( i , k ) ∣ ∼ Binom ( n − m , 1 − ( 1 − λ / n ) m ′ ) .
Notice that 1 − ( 1 − λ / n ) m ′ ≤ λ m ′ / n 1-(1-\lambda/n)^{m'}\leq\lambda m'/n 1 − ( 1 − λ / n ) m ′ ≤ λ m ′ / n . Then conditioned on event ⋂ l = 0 k − 1 B l \bigcap_{l=0}^{k-1}\mathcal{B}_l ⋂ l = 0 k − 1 B l , we have
∣ S ( i , k ) ∣ ≤ s t o . Binom ( n , 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) n ) , |\mathcal{S}(i,k)|\mathrel{\overset{\mathrm{sto.}}{\leq}}\operatorname{Binom}\left(n,\frac{4(\log n)\lambda^k\prod_{h=0}^{k-1}(1+\lambda^{-h/2})}{n}\right), ∣ S ( i , k ) ∣ ≤ sto. Binom ( n , n 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h /2 ) ) ,
where ≤ s t o . \mathrel{\overset{\mathrm{sto.}}{\leq}} ≤ sto. is the stochastic dominance operator. By the Bennett’s inequality stated in Lemma 17, we have
P ( B k c ∣ ⋂ h = 0 k − 1 B h ) ≤ P ( Binom ( n , 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) n ) ≥ 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) ) ≤ exp ( − 4 ( log n ) λ k ( ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) ) ( 1 − 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) n ) ϕ ( λ − k / 2 ) ) . (101) \begin{aligned}
\mathbb{P}\left(\mathcal{B}_k^c\mid\bigcap_{h=0}^{k-1}\mathcal{B}_h\right) \\
&\leq\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{4(\log n)\lambda^k\prod_{h=0}^{k-1}(1+\lambda^{-h/2})}{n}\right)\geq4(\log n)\lambda^k\prod_{h=0}^{k-1}(1+\lambda^{-h/2})\right) \\
&\leq\exp\left(-4(\log n)\lambda^k\left(\prod_{h=0}^{k-1}(1+\lambda^{-h/2})\right)\left(1-\frac{4(\log n)\lambda^k\prod_{h=0}^{k-1}(1+\lambda^{-h/2})}{n}\right)\phi(\lambda^{-k/2})\right). \tag*{(101)}
\end{aligned} P ( B k c ∣ h = 0 ⋂ k − 1 B h ) ≤ P ( Binom ( n , n 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h /2 ) ) ≥ 4 ( log n ) λ k h = 0 ∏ k − 1 ( 1 + λ − h /2 ) ) ≤ exp ( − 4 ( log n ) λ k ( h = 0 ∏ k − 1 ( 1 + λ − h /2 ) ) ( 1 − n 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h /2 ) ) ϕ ( λ − k /2 ) ) . (101)
where ϕ ( x ) : = ( 1 + x ) log ( 1 + x ) − x \phi(x):=(1+x)\log(1+x)-x ϕ ( x ) := ( 1 + x ) log ( 1 + x ) − x . We now bound each term in this exponent. Notice that
ϕ ( x ) ≥ x 2 3 \phi(x)\geq\frac{x^2}{3} ϕ ( x ) ≥ 3 x 2
for all x ∈ [ 0 , 1 ] x\in[0,1] x ∈ [ 0 , 1 ] , and it follows that
ϕ ( λ − k / 2 ) ≥ λ − k 3 . \phi(\lambda^{-k/2})\geq\frac{\lambda^{-k}}{3}. ϕ ( λ − k /2 ) ≥ 3 λ − k .
We also have
∏ h = 0 k − 1 ( 1 + λ − h / 2 ) ≥ 1 + λ 0 = 2. \prod_{h=0}^{k-1}(1+\lambda^{-h/2}) \ge1+\lambda^0=2. h = 0 ∏ k − 1 ( 1 + λ − h /2 ) ≥ 1 + λ 0 = 2.
Under the assumptions λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) and d ≤ ( log n ) γ d\le(\log n)^\gamma d ≤ ( log n ) γ , we have λ d = n o ( 1 ) \lambda^d=n^{o(1)} λ d = n o ( 1 ) . Therefore,
1 − 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h / 2 ) n ≥ 1 − 4 e 2 ( log n ) λ k n ≥ 1 2 1-\frac{4(\log n)\lambda^k\prod_{h=0}^{k-1}(1+\lambda^{-h/2})}{n}
\ge1-\frac{4e^2(\log n)\lambda^k}{n}
\ge\frac{1}{2} 1 − n 4 ( log n ) λ k ∏ h = 0 k − 1 ( 1 + λ − h /2 ) ≥ 1 − n 4 e 2 ( log n ) λ k ≥ 2 1
for all large enough n n n . Substituting these three inequalities into (101) yields
P ( B k c ∣ ⋂ h = 0 k − 1 B h ) ≤ exp ( − 4 ( log n ) λ k × 2 × 1 2 × λ − k 3 ) ≤ exp ( − 4 3 log n ) = n − 4 / 3 . \begin{aligned}
P\left(\mathcal{B}_k^c\mid\bigcap_{h=0}^{k-1}\mathcal{B}_h\right)
\le\exp\left(-4(\log n)\lambda^k\times2\times\frac{1}{2}\times\frac{\lambda^{-k}}{3}\right) \\
&\le\exp\left(-\frac{4}{3}\log n\right)=n^{-4/3}.
\end{aligned} P ( B k c ∣ h = 0 ⋂ k − 1 B h ) ≤ exp ( − 4 ( log n ) λ k × 2 × 2 1 × 3 λ − k ) ≤ exp ( − 3 4 log n ) = n − 4/3 .
Notice that the above inequality holds for every k ∈ [ d ] k\in[d] k ∈ [ d ] . Therefore, we have
P ( ⋂ k = 0 d B k ) ≥ 1 − d n − 4 / 3 = 1 − O ~ ( n − 4 / 3 ) , P\left(\bigcap_{k=0}^{d}\mathcal{B}_k\right)\ge1-dn^{-4/3}=1-\widetilde{O}(n^{-4/3}), P ( k = 0 ⋂ d B k ) ≥ 1 − d n − 4/3 = 1 − O ( n − 4/3 ) ,
which completes the proof.
Comparison with Independent Tree Pairs
For a pair of vertices ( u , w ) ∈ V × V (u,w)\in\mathcal{V}\times\mathcal{V} ( u , w ) ∈ V × V , T \mathcal{T} T denotes the local tree rooted at w w w in G ∖ u G\setminus u G ∖ u with depth up to d d d . For a pair of vertices ( v ~ , x ~ ) ∈ V ~ × V ~ (\tilde{v},\tilde{x})\in\widetilde{\mathcal{V}}\times\widetilde{\mathcal{V}} ( v ~ , x ~ ) ∈ V × V , T ~ \widetilde{\mathcal{T}} T denotes the local tree rooted at x ~ \tilde{x} x ~ in G ~ ∖ v ~ \widetilde{G}\setminus\tilde{v} G ∖ v ~ with depth up to d d d .
Lemma 14. Suppose ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G})\sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) . For any pair of unlabeled rooted tree ( t , t ~ ) ∈ Z × Z (t,\tilde{t})\in\mathcal{Z}\times\mathcal{Z} ( t , t ~ ) ∈ Z × Z , both with depth within d d d , we have
P ( { [ T ] = t } ∩ { [ T ~ ] = t ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ) Q ( [ H d ] = t , [ H ~ d ] = t ~ ) ≤ exp ( λ n ( ( ∣ V ( t ) ∣ + 1 ) ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ( 1 + ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ) ) ) . (102) \frac{P\left(\{[\mathcal{T}]=t\}\cap\{[\widetilde{\mathcal{T}}]=\tilde{t}\}\cap\{\overline{\mathcal{V}}(\mathcal{T})\cap\overline{\mathcal{V}}(\widetilde{\mathcal{T}})=\varnothing\}\right)}
{\mathbb{Q}([\mathcal{H}_d]=t,[\widetilde{\mathcal{H}}_d]=\tilde{t})}
\le
\exp\left(\frac{\lambda}{n}\left((|\mathcal{V}(t)|+1)|\mathcal{V}(t)|+|\mathcal{V}(\tilde{t})|(1+|\mathcal{V}(t)|+|\mathcal{V}(\tilde{t})|)\right)\right). \tag*{(102)} Q ([ H d ] = t , [ H d ] = t ~ ) P ( {[ T ] = t } ∩ {[ T ] = t ~ } ∩ { V ( T ) ∩ V ( T ) = ∅ } ) ≤ exp ( n λ ( ( ∣ V ( t ) ∣ + 1 ) ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ( 1 + ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ) ) ) . (102)
Proof. To begin with, we define a mapping ℓ \ell ℓ that relabels a local tree in an Erdős–Rényi graph into a Galton–Watson tree that is labeled by the children orders. Consider a non-empty local tree T \mathcal{T} T . The image ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) has the same underlying rooted tree structure as T \mathcal{T} T , but its vertex labels are replaced by order labels as follows. First, the root of ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) is assigned the label ( 1 ) (1) ( 1 ) . For each vertex v ∈ V ( T ) v\in\mathcal{V}(\mathcal{T}) v ∈ V ( T ) , we order the children of v v v according to their indices in T \mathcal{T} T : if the children of v v v have indices
i 1 < i 2 < ⋯ < i c v , i_1<i_2<\cdots<i_{c_v}, i 1 < i 2 < ⋯ < i c v ,
then the child with index i j i_j i j is assigned order j j j among the children of v v v . Given these sibling orders, the label of each vertex in ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) is obtained by concatenating the label of its parent and its order. With the definition of ℓ \ell ℓ , we claim that for each ( h , h ~ ) ∈ X × X (h,\tilde{h})\in\mathcal{X}\times\mathcal{X} ( h , h ~ ) ∈ X × X , both with depth up to d d d ,
P ( { ℓ ( T ) = h } ∩ { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ) Q ( H d = h , H ~ d = h ~ ) ≤ exp ( λ n ( ( ∣ V ( h ) ∣ + 1 ) ∣ V ( h ) ∣ + ∣ V ( h ~ ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ~ ) ∣ ) ) ) . (103) \begin{aligned}
\frac{P\left(\{\ell(\mathcal{T})=h\}\cap\{\ell(\widetilde{\mathcal{T}})=\tilde{h}\}\cap\{\overline{\mathcal{V}}(\mathcal{T})\cap\overline{\mathcal{V}}(\widetilde{\mathcal{T}})=\varnothing\}\right)}
{\mathbb{Q}(\mathcal{H}_d=h,\widetilde{\mathcal{H}}_d=\tilde{h})} \\
&\le\exp\left(\frac{\lambda}{n}\left((|\mathcal{V}(h)|+1)|\mathcal{V}(h)|+|\mathcal{V}(\widetilde{h})|(1+|\mathcal{V}(h)|+|\mathcal{V}(\widetilde{h})|)\right)\right). \tag*{(103)}
\end{aligned} Q ( H d = h , H d = h ~ ) P ( { ℓ ( T ) = h } ∩ { ℓ ( T ) = h ~ } ∩ { V ( T ) ∩ V ( T ) = ∅ } ) ≤ exp ( n λ ( ( ∣ V ( h ) ∣ + 1 ) ∣ V ( h ) ∣ + ∣ V ( h ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ) ∣ ) ) ) . (103)
Since the mapping ℓ \ell ℓ preserves the tree structure, we know that [ T ] = t [\mathcal{T}]=t [ T ] = t only if ℓ ( T ) = h \ell(\mathcal{T})=h ℓ ( T ) = h for some h ∈ X h\in\mathcal{X} h ∈ X that satisfies [ h ] = t [h]=t [ h ] = t . Therefore, we have for each ( t , t ~ ) ∈ Z × Z (t,\widetilde{t})\in\mathcal{Z}\times\mathcal{Z} ( t , t ) ∈ Z × Z ,
P ( { [ T ] = t } ∩ { [ T ~ ] = t ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ) Q ( [ H d ] = t , [ H ~ d ] = t ~ ) = ∑ ( h , h ~ ) ∈ X × X [ h ] = t , [ h ~ ] = t ~ P ( { ℓ ( T ) = h } ∩ { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ) ∑ ( h , h ~ ) ∈ X × X [ h ] = t , [ h ~ ] = t ~ Q ( H d = h , H ~ d = h ~ ) ≤ exp ( λ n ( ( ∣ V ( t ) ∣ + 1 ) ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ( 1 + ∣ V ( t ) ∣ + ∣ V ( t ~ ) ∣ ) ) ) . \frac{\mathbb{P}\left(\{[\mathcal{T}]=t\}\cap\{[\widetilde{\mathcal{T}}]=\widetilde{t}\}\cap\{\overline{\mathcal{V}}(\mathcal{T})\cap\overline{\mathcal{V}}(\widetilde{\mathcal{T}})=\varnothing\}\right)}{\mathbb{Q}([\mathcal{H}_d]=t,[\widetilde{\mathcal{H}}_d]=\widetilde{t})}
=
\frac{\sum_{\substack{(h,\widetilde{h})\in\mathcal{X}\times\mathcal{X}\\ [h]=t,[\widetilde{h}]=\widetilde{t}}}\mathbb{P}\left(\{\ell(\mathcal{T})=h\}\cap\{\ell(\widetilde{\mathcal{T}})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(\mathcal{T})\cap\overline{\mathcal{V}}(\widetilde{\mathcal{T}})=\varnothing\}\right)}{\sum_{\substack{(h,\widetilde{h})\in\mathcal{X}\times\mathcal{X}\\ [h]=t,[\widetilde{h}]=\widetilde{t}}}\mathbb{Q}(\mathcal{H}_d=h,\widetilde{\mathcal{H}}_d=\widetilde{h})}
\le\exp\left(\frac{\lambda}{n}\left((|\mathcal{V}(t)|+1)|\mathcal{V}(t)|+|\mathcal{V}(\widetilde{t})|(1+|\mathcal{V}(t)|+|\mathcal{V}(\widetilde{t})|)\right)\right). Q ([ H d ] = t , [ H d ] = t ) P ( {[ T ] = t } ∩ {[ T ] = t } ∩ { V ( T ) ∩ V ( T ) = ∅ } ) = ∑ ( h , h ) ∈ X × X [ h ] = t , [ h ] = t Q ( H d = h , H d = h ) ∑ ( h , h ) ∈ X × X [ h ] = t , [ h ] = t P ( { ℓ ( T ) = h } ∩ { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ) ≤ exp ( n λ ( ( ∣ V ( t ) ∣ + 1 ) ∣ V ( t ) ∣ + ∣ V ( t ) ∣ ( 1 + ∣ V ( t ) ∣ + ∣ V ( t ) ∣ ) ) ) .
where the last inequality follows by (103) and the fact that ∣ V ( t ) ∣ = ∣ V ( h ) ∣ |\mathcal{V}(t)|=|\mathcal{V}(h)| ∣ V ( t ) ∣ = ∣ V ( h ) ∣ given that [ h ] = t [h]=t [ h ] = t . This completes the proof of (102) . In the rest of the proof, we focus on proving the claimed inequality (103) .
By the definition of the independent tree distribution Q ( H , H ~ ) \mathbb{Q}(\mathcal{H},\widetilde{\mathcal{H}}) Q ( H , H ) , we have
Q ( H d = h , H ~ d = h ~ ) = GW ( H d = h ) GW ( H ~ d = h ~ ) . \mathbb{Q}(\mathcal{H}_d=h,\widetilde{\mathcal{H}}_d=\widetilde{h})=\operatorname{GW}(\mathcal{H}_d=h)\operatorname{GW}(\widetilde{\mathcal{H}}_d=\widetilde{h}). Q ( H d = h , H d = h ) = GW ( H d = h ) GW ( H d = h ) .
In the following, we will focus on proving
P ( ℓ ( T ) = h ) GW ( H d = h ) ≤ exp ( λ n ( ∣ V ( h ) ∣ + 1 ) ∣ V ( h ) ∣ ) , (104) \frac{\mathbb{P}(\ell(\mathcal{T})=h)}{\operatorname{GW}(\mathcal{H}_d=h)}
\le\exp\left(\frac{\lambda}{n}(|\mathcal{V}(h)|+1)|\mathcal{V}(h)|\right), \tag*{(104)} GW ( H d = h ) P ( ℓ ( T ) = h ) ≤ exp ( n λ ( ∣ V ( h ) ∣ + 1 ) ∣ V ( h ) ∣ ) , (104)
and
P ( { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ∣ ℓ ( T ) = h ) GW ( H ~ d = h ~ ) ≤ exp ( λ n ∣ V ( h ~ ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ~ ) ∣ ) ) . (105) \frac{\mathbb{P}\left(\{\ell(\widetilde{\mathcal{T}})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(\mathcal{T})\cap\overline{\mathcal{V}}(\widetilde{\mathcal{T}})=\varnothing\}\mid\ell(\mathcal{T})=h\right)}{\operatorname{GW}(\widetilde{\mathcal{H}}_d=\widetilde{h})}
\le\exp\left(\frac{\lambda}{n}|\mathcal{V}(\widetilde{h})|(1+|\mathcal{V}(h)|+|\mathcal{V}(\widetilde{h})|)\right). \tag*{(105)} GW ( H d = h ) P ( { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ∣ ℓ ( T ) = h ) ≤ exp ( n λ ∣ V ( h ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ) ∣ ) ) . (105)
The desired inequality (103) then follows by multiplying (104) and (105) .
Proof of (95): For each k ∈ { 0 , … , d − 1 } k\in\{0,\ldots,d-1\} k ∈ { 0 , … , d − 1 } , we define a total ordering for the vertices at depth k k k in the order-labeled rooted tree h h h : a vertex is ranked higher if its parent is ranked higher among vertices at depth k − 1 k-1 k − 1 ; among vertices sharing the same parent, the order is determined by the ordering of siblings. Recall that V ( h , k ) \mathcal{V}(h,k) V ( h , k ) denotes the set of vertices at depth k k k in graph h h h . For each k k k and r ∈ [ ∣ V ( h , k ) ∣ ] r\in[|\mathcal{V}(h,k)|] r ∈ [ ∣ V ( h , k ) ∣ ] , let c k , r c_{k,r} c k , r denote the number of children of the r r r -th ordered vertex at depth k k k . Then by the definition of the GW distribution, we have
GW ( H d = h ) = ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) , (106) \operatorname{GW}(\mathcal{H}_d=h)=\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(h,k)|}\mathbb{P}(\operatorname{Poi}(\lambda)=c_{k,r}), \tag*{(106)} GW ( H d = h ) = k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) , (106)
where we define the product ∏ r = 1 ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) \prod_{r=1}^{|\mathcal{V}(h,k)|}\mathbb{P}(\operatorname{Poi}(\lambda)=c_{k,r}) ∏ r = 1 ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) to be 1 when ∣ V ( h , k ) ∣ = 0 |\mathcal{V}(h,k)|=0 ∣ V ( h , k ) ∣ = 0 .
To bound the numerator P ( ℓ ( T ) = h ) \mathbb{P}(\ell(\mathcal{T})=h) P ( ℓ ( T ) = h ) , we describe a breadth-first exploration procedure for constructing T \mathcal{T} T . The exploration is performed in the graph G ∖ u G\setminus u G ∖ u and is rooted at w w w . We reveal the vertices of T \mathcal{T} T level by level, following the ordering of vertices in the target tree h h h introduced above. More precisely, among vertices at the same depth, a vertex is explored earlier if its parent is explored earlier, and among siblings, the order is determined by their vertex labels in G G G . At the beginning of the exploration, the root w w w is the only discovered vertex. Since the vertex u u u is removed, the number of neighbors of w w w in G ∖ u G \setminus u G ∖ u has distribution
Binom ( n − 2 , λ n ) . \operatorname{Binom}\left(n-2,\frac{\lambda}{n}\right). Binom ( n − 2 , n λ ) .
To obtain a local tree isomorphic to h h h , this number must be equal to c 0 , 1 c_{0,1} c 0 , 1 .
More generally, suppose that the exploration is about to reveal the children of the r r r -th ordered vertex at depth k k k in the breadth-first order, where k ∈ { 0 , … , d − 1 } k \in\{0,\ldots,d-1\} k ∈ { 0 , … , d − 1 } and r ∈ [ ∣ V ( h , k ) ∣ ] r \in[|\mathcal{V}(h,k)|] r ∈ [ ∣ V ( h , k ) ∣ ] . These children must satisfy:
The total number of these children is exactly c k , r c_{k,r} c k , r . We also note that the number of these children is distributed as
Binom ( n − 1 − x k , r , λ n ) . \operatorname{Binom}\left(n-1-x_{k,r},\frac{\lambda}{n}\right). Binom ( n − 1 − x k , r , n λ ) .
where x k , r x_{k,r} x k , r denotes the number of vertices that have already been discovered before this step in the breadth-first exploration.
In addition to matching the prescribed offspring numbers, the exploration must not create any cycle. Equivalently, every newly discovered vertex must be connected to the previously explored part only through its parent, and there must be no edges among vertices discovered at the same step. If any newly discovered vertex has an additional edge to an already discovered vertex, or if there is an edge among two newly discovered vertices, then the explored d d d -neighborhood is not a tree and T \mathcal{T} T becomes empty.
Recall that in Definition 1, T \mathcal{T} T is non-empty only when the d d d -depth neighborhood of w w w in G G G is a tree. Here, we loosen this constraint, and only require the d d d -depth neighborhood of w w w in G ∖ u G \setminus u G ∖ u is a tree. This results in an upper bound on the probability of ℓ ( T ) = h \ell(\mathcal{T})=h ℓ ( T ) = h . Through this breadth-first exploration, we have
P ( ℓ ( T ) = h ) ≤ ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h , k ) ∣ P ( the number of children is c k , r and the new children do not create any cycle ) ≤ ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h , k ) ∣ P ( Binom ( n − 1 − x k , r , λ n ) = c k , r ) ≤ ( a ) ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h , k ) ∣ exp ( λ n ( 1 + x k , r + c k , r ) ) P ( Poi ( λ ) = c k , r ) ≤ ( b ) exp ( λ n ∣ V ( h ) ∣ ( 1 + ∣ V ( h ) ∣ ) ) ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) . (107) \begin{aligned}
\mathbb{P}(\ell(\mathcal{T})=h)
&\le\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(h,k)|}
\mathbb{P}(\text{the number of children is }c_{k,r}\text{ and the new children do not create any cycle})\\
&\le\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(h,k)|}
\mathbb{P}\left(\operatorname{Binom}\left(n-1-x_{k,r},\frac{\lambda}{n}\right)=c_{k,r}\right)\\
&\overset{(a)}{\le}
\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(h,k)|}
\exp\left(\frac{\lambda}{n}(1+x_{k,r}+c_{k,r})\right)\mathbb{P}(\operatorname{Poi}(\lambda)=c_{k,r})\\
&\overset{(b)}{\le}
\exp\left(\frac{\lambda}{n}|\mathcal{V}(h)|(1+|\mathcal{V}(h)|)\right)
\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(h,k)|}
\mathbb{P}(\operatorname{Poi}(\lambda)=c_{k,r}). \tag*{(107)}
\end{aligned} P ( ℓ ( T ) = h ) ≤ k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( the number of children is c k , r and the new children do not create any cycle ) ≤ k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Binom ( n − 1 − x k , r , n λ ) = c k , r ) ≤ ( a ) k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ exp ( n λ ( 1 + x k , r + c k , r ) ) P ( Poi ( λ ) = c k , r ) ≤ ( b ) exp ( n λ ∣ V ( h ) ∣ ( 1 + ∣ V ( h ) ∣ ) ) k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) . (107)
Here (a) follows by Lemma 20, and (b) follows because c k , r + x k , r ≤ ∣ V ( h ) ∣ c_{k,r}+x_{k,r}\le|\mathcal{V}(h)| c k , r + x k , r ≤ ∣ V ( h ) ∣ throughout the exploration process and there are at most ∣ V ( h ) ∣ |\mathcal{V}(h)| ∣ V ( h ) ∣ terms in the double product. This completes the proof of (95).
Proof of (96): For the unlabeled rooted tree h ~ \widetilde{h} h , we similarly define the notations c ~ k , r \widetilde{c}_{k,r} c k , r and V ( h ~ , k ) \mathcal{V}(\widetilde{h},k) V ( h , k ) . Then we have
GW ( H ~ d = h ~ ) = ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h ~ , k ) ∣ P ( Poi ( λ ) = c ~ k , r ) . (108) \operatorname{GW}(\widetilde{H}_d=\widetilde{h})
=
\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(\widetilde{h},k)|}
\mathbb{P}(\operatorname{Poi}(\lambda)=\widetilde{c}_{k,r}). \tag*{(108)} GW ( H d = h ) = k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) . (108)
Now we move on to bound the numerator. Notice that
P ( { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ∣ ℓ ( T ) = h ) ≤ max S ⊆ V ‾ : w ˉ ∈ S , x ˉ ∉ S , ∣ S ∣ = ∣ V ( h ) ∣ P ( { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ‾ ( T ) = S ‾ } ) (109) \mathbb{P}\left(\{\ell(\widetilde{T})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(T)\cap\overline{\mathcal{V}}(\widetilde{T})=\varnothing\}\mid\ell(T)=h\right)
\leq\max_{\substack{S\subseteq\overline{\mathcal{V}}:\\ \bar{w}\in S,\\ \bar{x}\notin S,\\ |S|=|\mathcal{V}(h)|}}
\mathbb{P}\left(\{\ell(\widetilde{T})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(T)\cap\overline{\mathcal{V}}(\widetilde{T})=\varnothing\}\mid\{\ell(T)=h\}\cap\{\overline{\mathcal{V}}(T)=\overline{S}\}\right) \tag*{(109)} P ( { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ∣ ℓ ( T ) = h ) ≤ S ⊆ V : w ˉ ∈ S , x ˉ ∈ / S , ∣ S ∣ = ∣ V ( h ) ∣ max P ( { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ( T ) = S } ) (109)
Fix an arbitrary subset S ‾ ⊆ V ‾ \overline{S}\subseteq\overline{\mathcal{V}} S ⊆ V that satisfies the criteria in (109) . We focus on bounding the conditional probability
P ( { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ‾ ( T ) = S ‾ } ) . \mathbb{P}\left(\{\ell(\widetilde{T})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(T)\cap\overline{\mathcal{V}}(\widetilde{T})=\varnothing\}\mid\{\ell(T)=h\}\cap\{\overline{\mathcal{V}}(T)=\overline{S}\}\right). P ( { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ( T ) = S } ) .
We again consider the breadth-first exploration procedure to construct T ~ \widetilde{T} T . To guarantee the desired event { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } \{\ell(\widetilde{T})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(T)\cap\overline{\mathcal{V}}(\widetilde{T})=\varnothing\} { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } , when we explore the children of the r r r -th vertex at depth k k k , we have to ensure
The number of children is exactly c ~ k , r \widetilde{c}_{k,r} c k , r . Given the event that the vertex has no children corresponding to S ‾ \overline{S} S , the distribution of the number of children at this step is given by
Binom ( n − 1 − ∣ V ( h ) ∣ − x ~ k , r , λ n ) , \operatorname{Binom}\left(n-1-|\mathcal{V}(h)|-\widetilde{x}_{k,r},\frac{\lambda}{n}\right), Binom ( n − 1 − ∣ V ( h ) ∣ − x k , r , n λ ) ,
where the excluded set is S ‾ \overline{S} S , whose size is ∣ V ( h ) ∣ |\mathcal{V}(h)| ∣ V ( h ) ∣ by (109) , and where x ~ k , r \widetilde{x}_{k,r} x k , r is the number of vertices discovered before this step. This is because conditioning on the event { ℓ ( T ) = h } ∩ { V ‾ ( T ) = S ‾ } \{\ell(T)=h\}\cap\{\overline{\mathcal{V}}(T)=\overline{S}\} { ℓ ( T ) = h } ∩ { V ( T ) = S } does not reveal any information about any edge without an endpoint in S ‾ \overline{S} S .
Recall that in Definition 1, T ~ \widetilde{T} T is non-empty only when the d d d -depth neighborhood of x x x in G ~ \widetilde{G} G is a tree. Here, we loosen this constraint, and only require the d d d -depth neighborhood of x ~ \widetilde{x} x in G ~ ∖ v ~ \widetilde{G}\setminus\widetilde{v} G ∖ v is a tree. This results in an upper bound on the probability of ℓ ( T ~ ) = h ~ \ell(\widetilde{T})=\widetilde{h} ℓ ( T ) = h . By this exploration process, we have
P ( { ℓ ( T ~ ) = h ~ } ∩ { V ‾ ( T ) ∩ V ‾ ( T ~ ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ‾ ( T ) = S ‾ } ) ≤ ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h ~ , k ) ∣ P ( no children corresponding to any vertex in S ‾ and the number of new children is c ~ k , r and the new children do not create any cycle ) ≤ ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h ~ , k ) ∣ P ( Binom ( n − 1 − ∣ V ( h ) ∣ − x ~ k , r , λ n ) = c ~ k , r ) ≤ ( c ) ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h ~ , k ) ∣ exp ( λ n ( 1 + x ~ k , r + c ~ k , r + ∣ V ( h ) ∣ ) ) P ( Poi ( λ ) = c ~ k , r ) ≤ exp ( λ n ∣ V ( h ~ ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ~ ) ∣ ) ) ∏ k = 0 d − 1 ∏ r = 1 ∣ V ( h ~ , k ) ∣ P ( Poi ( λ ) = c ~ k , r ) . \begin{aligned}
&\mathbb{P}\left(\{\ell(\widetilde{T})=\widetilde{h}\}\cap\{\overline{\mathcal{V}}(T)\cap\overline{\mathcal{V}}(\widetilde{T})=\varnothing\}\mid\{\ell(T)=h\}\cap\{\overline{\mathcal{V}}(T)=\overline{S}\}\right)\\
&\leq\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(\widetilde{h},k)|}
\mathbb{P}\bigl(\text{no children corresponding to any vertex in }\overline{S}\text{ and}\\
&\hspace{7em}\text{the number of new children is }\widetilde{c}_{k,r}\text{ and}\\
&\hspace{7em}\text{the new children do not create any cycle}\bigr)\\
&\leq\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(\widetilde{h},k)|}
\mathbb{P}\left(\operatorname{Binom}\left(n-1-|\mathcal{V}(h)|-\widetilde{x}_{k,r},\frac{\lambda}{n}\right)=\widetilde{c}_{k,r}\right)\\
&\overset{(c)}{\leq}\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(\widetilde{h},k)|}
\exp\left(\frac{\lambda}{n}\left(1+\widetilde{x}_{k,r}+\widetilde{c}_{k,r}+|\mathcal{V}(h)|\right)\right)
\mathbb{P}\left(\operatorname{Poi}(\lambda)=\widetilde{c}_{k,r}\right) \\
&\leq\exp\left(\frac{\lambda}{n}|\mathcal{V}(\widetilde{h})|\left(1+|\mathcal{V}(h)|+|\mathcal{V}(\widetilde{h})|\right)\right)\prod_{k=0}^{d-1}\prod_{r=1}^{|\mathcal{V}(\widetilde{h},k)|}\mathbb{P}(\operatorname{Poi}(\lambda)=\widetilde{c}_{k,r}).
\end{aligned} P ( { ℓ ( T ) = h } ∩ { V ( T ) ∩ V ( T ) = ∅ } ∣ { ℓ ( T ) = h } ∩ { V ( T ) = S } ) ≤ k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( no children corresponding to any vertex in S and the number of new children is c k , r and the new children do not create any cycle ) ≤ k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Binom ( n − 1 − ∣ V ( h ) ∣ − x k , r , n λ ) = c k , r ) ≤ ( c ) k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ exp ( n λ ( 1 + x k , r + c k , r + ∣ V ( h ) ∣ ) ) P ( Poi ( λ ) = c k , r ) ≤ exp ( n λ ∣ V ( h ) ∣ ( 1 + ∣ V ( h ) ∣ + ∣ V ( h ) ∣ ) ) k = 0 ∏ d − 1 r = 1 ∏ ∣ V ( h , k ) ∣ P ( Poi ( λ ) = c k , r ) .
Here (c) and (d) follows by the similar reason as (a) and (b) in (98). This completes the proof of (96).
Let d ≥ 0 d \geq0 d ≥ 0 be an integer, and u u u and u ~ \widetilde{u} u be two corresponding vertices in G G G and G ~ \widetilde{G} G . Define T \mathcal{T} T to be the local tree rooted at u u u in G G G such that T \mathcal{T} T is the d d d -hop-neighborhood of u u u in G G G if it is a tree; otherwise, T \mathcal{T} T is an empty tree. Similarly, define T ~ \widetilde{\mathcal{T}} T as the local tree rooted at u ~ \widetilde{u} u in G ~ \widetilde{G} G .
Lemma 15. Suppose ( G , G ~ ) ∼ CER ( n , λ , s ) (G,\widetilde{G}) \sim\operatorname{CER}(n,\lambda,s) ( G , G ) ∼ CER ( n , λ , s ) , where λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) , λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) , and s ∈ ( C O t t e r , 1 ] s \in(\sqrt{C_{\mathrm{Otter}}},1] s ∈ ( C Otter , 1 ] is a constant. Assume d ≤ ( log n ) γ d \leq(\log n)^\gamma d ≤ ( log n ) γ for some constant γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) . Then there exists a coupling between ( T , T ~ ) (\mathcal{T},\widetilde{\mathcal{T}}) ( T , T ) and ( H , H ~ ) ∼ P (\mathcal{H},\widetilde{\mathcal{H}}) \sim\mathbb{P} ( H , H ) ∼ P such that
P ( [ T ] = [ H d ] , [ T ~ ] = [ H ~ d ] ) = 1 − O ( n − 1 / 2 ) . (110) \mathbb{P}([\mathcal{T}]=[\mathcal{H}_d],[\widetilde{\mathcal{T}}]=[\widetilde{\mathcal{H}}_d])=1-O(n^{-1/2}). \tag*{(110)} P ([ T ] = [ H d ] , [ T ] = [ H d ]) = 1 − O ( n − 1/2 ) . (110)
Proof. We first define a mapping ℓ \ell ℓ that relabels a pair of local trees to the format of a pair of Galton–Watson trees. We first describe the relabeling of T \mathcal{T} T . If T \mathcal{T} T is an empty tree, then the output ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) is also empty. Now suppose T \mathcal{T} T is non-empty. The root of ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) is assigned the label ( 1 ) (1) ( 1 ) . For a vertex v ∈ V ( T ) v \in\mathcal{V}(\mathcal{T}) v ∈ V ( T ) , if the corresponding vertex v ~ \widetilde{v} v also belongs to V ( T ~ ) \mathcal{V}(\widetilde{\mathcal{T}}) V ( T ) , then the children of v v v are ordered in two blocks. First, we list the common children, namely those children y y y of v v v such that the corresponding vertex y ~ \widetilde{y} y is a child of v ~ \widetilde{v} v in T ~ \widetilde{\mathcal{T}} T . These common children are ordered increasingly according to their indices. If there are c v ∗ c_v^* c v ∗ such children, they receive orders 1 , … , c v ∗ 1,\ldots,c_v^* 1 , … , c v ∗ . Next, we list the remaining children of v v v . These children are again ordered increasingly according to their indices and receive orders c v ∗ + 1 , … , c v ∗ + c v c_v^*+1,\ldots,c_v^*+c_v c v ∗ + 1 , … , c v ∗ + c v , where c v c_v c v is the number of such remaining children. If, on the other hand, the corresponding vertex v ~ \widetilde{v} v does not belong to V ( T ~ ) \mathcal{V}(\widetilde{\mathcal{T}}) V ( T ) , then all children of v v v are ordered increasingly according to their indices and receive orders 1 , … , c v 1,\ldots,c_v 1 , … , c v , where c v c_v c v is the number of children of v v v . After this ordering of the children has been specified for every vertex in ℓ ( T ) \ell(\mathcal{T}) ℓ ( T ) , the order labels are assigned recursively: if a vertex has label ( a 0 , … , a k ) (a_0,\ldots,a_k) ( a 0 , … , a k ) and its i i i -th ordered child is considered, then this child is assigned the label ( a 0 , … , a k , i ) (a_0,\ldots,a_k,i) ( a 0 , … , a k , i ) . The relabeling of T ~ \widetilde{\mathcal{T}} T is defined analogously.
In the rest of this proof, we will focus on constructing a coupling such that
P ( ℓ ( T , T ~ ) = ( H d , H ~ d ) ) = 1 − O ( n − 1 / 2 ) . (111) \mathbb{P}(\ell(\mathcal{T},\widetilde{\mathcal{T}})=(\mathcal{H}_d,\widetilde{\mathcal{H}}_d))=1-O(n^{-1/2}). \tag*{(111)} P ( ℓ ( T , T ) = ( H d , H d )) = 1 − O ( n − 1/2 ) . (111)
This implies the lemma statement (101) because ℓ ( T , T ~ ) = ( H d , H ~ d ) \ell(\mathcal{T},\widetilde{\mathcal{T}})=(\mathcal{H}_d,\widetilde{\mathcal{H}}_d) ℓ ( T , T ) = ( H d , H d ) implies [ T ] = [ H d ] [\mathcal{T}]=[\mathcal{H}_d] [ T ] = [ H d ] and [ T ~ ] = [ H ~ d ] [\widetilde{\mathcal{T}}]=[\widetilde{\mathcal{H}}_d] [ T ] = [ H d ] . Therefore, we are left to construct a coupling so that (102) holds.
The coupling is constructed recursively over depths. For each k ∈ [ d ] k \in[d] k ∈ [ d ] , let T k \mathcal{T}_k T k denote the rooted tree obtained by truncating T \mathcal{T} T at depth k k k . More specifically, T k \mathcal{T}_k T k is the subgraph of T \mathcal{T} T induced by the set of vertices within depth k k k from the root. We note that we have T = T d \mathcal{T}=\mathcal{T}_d T = T d under this definition. The truncated trees T ~ k \widetilde{\mathcal{T}}_k T k , H k \mathcal{H}_k H k and H ~ k \widetilde{\mathcal{H}}_k H k are defined similarly. By these definitions, we have
{ ℓ ( T , T ~ ) = ( H d , H ~ d ) } = ⋂ k = 1 d { ℓ ( T k , T ~ k ) = ( H k , H ~ k ) } . \{\ell(\mathcal{T},\widetilde{\mathcal{T}})=(\mathcal{H}_d,\widetilde{\mathcal{H}}_d)\}=\bigcap_{k=1}^{d}\{\ell(\mathcal{T}_k,\widetilde{\mathcal{T}}_k)=(\mathcal{H}_k,\widetilde{\mathcal{H}}_k)\}. { ℓ ( T , T ) = ( H d , H d )} = k = 1 ⋂ d { ℓ ( T k , T k ) = ( H k , H k )} .
Step 1. Coupling ( T 1 , T ~ 1 ) (\mathcal{T}_1,\widetilde{\mathcal{T}}_1) ( T 1 , T 1 ) with ( H 1 , H ~ 1 ) (\mathcal{H}_1,\widetilde{\mathcal{H}}_1) ( H 1 , H 1 ) : Recall that u u u and u ~ \widetilde{u} u are the roots of T \mathcal{T} T and T ~ \widetilde{\mathcal{T}} T , respectively. Under the mapping ℓ \ell ℓ , both roots are relabeled by ( 1 ) (1) ( 1 ) , which agrees with the root labels of H \mathcal{H} H and H ~ \widetilde{\mathcal{H}} H . Let C u ∗ C_u^* C u ∗ denote the set of common children of u u u and u ~ \widetilde{u} u in T \mathcal{T} T and T ~ \widetilde{\mathcal{T}} T . More precisely, C h u ∗ \mathrm{Ch}^{*}_{u} Ch u ∗ consists of all indices i ∈ [ n ] i \in[n] i ∈ [ n ] such that i i i is a child of u u u in T T T and i ~ \tilde{i} i ~ is a child of u ~ \tilde{u} u ~ in T ~ \tilde{T} T ~ . Let C h u \mathrm{Ch}_{u} Ch u denote the set of children of u u u in T T T whose corresponding vertices are not children of u ~ \tilde{u} u ~ in T ~ \tilde{T} T ~ , and let C h ~ u ~ \widetilde{\mathrm{Ch}}_{\tilde{u}} Ch u ~ denote the analogous set of children of u ~ \tilde{u} u ~ in T ~ \tilde{T} T ~ that do not correspond to children of u u u in T T T . We refer to these as the exclusive children of u u u and u ~ \tilde{u} u ~ , respectively. We define the following three events:
A 1 ∗ A^{*}_{1} A 1 ∗ is the event that under the maximal coupling [48 ] between random variables ∣ C h u ∗ ∣ \lvert\mathrm{Ch}^{*}_{u}\rvert ∣ Ch u ∗ ∣ , ∣ C h u ∣ \lvert\mathrm{Ch}_{u}\rvert ∣ Ch u ∣ , and ∣ C h ~ u ~ ∣ \lvert\widetilde{\mathrm{Ch}}_{\tilde{u}}\rvert ∣ Ch u ~ ∣ , and independent Poisson random variables, X u ∗ ∼ Poi ( λ s ) X^{*}_{u} \sim\operatorname{Poi}(\lambda s) X u ∗ ∼ Poi ( λ s ) , X u ∼ Poi ( λ ( 1 − s ) ) X_{u} \sim\operatorname{Poi}(\lambda(1-s)) X u ∼ Poi ( λ ( 1 − s )) , and X ~ u ~ ∼ Poi ( λ ( 1 − s ) ) \widetilde{X}_{\tilde{u}} \sim\operatorname{Poi}(\lambda(1-s)) X u ~ ∼ Poi ( λ ( 1 − s )) , we have ∣ C h u ∗ ∣ = X u ∗ \lvert\mathrm{Ch}^{*}_{u}\rvert= X^{*}_{u} ∣ Ch u ∗ ∣ = X u ∗ , ∣ C h u ∣ = X u \lvert\mathrm{Ch}_{u}\rvert= X_{u} ∣ Ch u ∣ = X u and ∣ C h ~ u ~ ∣ = X ~ u ~ \lvert\widetilde{\mathrm{Ch}}_{\tilde{u}}\rvert= \widetilde{X}_{\tilde{u}} ∣ Ch u ~ ∣ = X u ~ .
We claim that A 1 ∗ ∩ C 1 A^{*}_{1} \cap C_{1} A 1 ∗ ∩ C 1 implies ℓ ( T 1 , T ~ 1 ) = ( H 1 , H ~ 1 ) \ell(T_{1},\widetilde{T}_{1}) = (\mathcal{H}_{1},\widetilde{\mathcal{H}}_{1}) ℓ ( T 1 , T 1 ) = ( H 1 , H 1 ) . First, under event C 1 C_{1} C 1 , no cycles exist in the 1-hop-neighborhood of u u u and u ~ \tilde{u} u ~ . Therefore, both T 1 T_{1} T 1 and T ~ 1 \widetilde{T}_{1} T 1 are non-empty. Under the correlated tree-pair distribution P \mathbb{P} P , the number of children of the root in the intersection tree has distribution Poi ( λ s ) \operatorname{Poi}(\lambda s) Poi ( λ s ) , while the numbers of exclusive children added to the two trees have distribution Poi ( λ ( 1 − s ) ) \operatorname{Poi}(\lambda(1-s)) Poi ( λ ( 1 − s )) independently. Hence, on A 1 ∗ A^{*}_{1} A 1 ∗ , the numbers of common and exclusive root children in ( T 1 , T ~ 1 ) (T_{1},\widetilde{T}_{1}) ( T 1 , T 1 ) agree with those in ( H 1 , H ~ 1 ) (\mathcal{H}_{1},\widetilde{\mathcal{H}}_{1}) ( H 1 , H 1 ) . Moreover, the definition of ℓ \ell ℓ orders common children first and exclusive children afterwards, with each block ordered increasingly by index. Therefore, after applying ℓ \ell ℓ , the labels of all vertices up to depth one agree with those in ( H 1 , H ~ 1 ) (\mathcal{H}_{1},\widetilde{\mathcal{H}}_{1}) ( H 1 , H 1 ) .
The event B 1 B_{1} B 1 is not needed for this depth-one agreement. It is used to control the size of the explored neighborhood when bounding P ( C 1 c ) \mathbb{P}(C_{1}^{c}) P ( C 1 c ) and the other error events at deeper depths.
We claim that
( ∣ C h u ∗ ∣ , ∣ C h u ∣ , ∣ C h ~ u ~ ∣ , ∣ N C u ∣ ) ∼ Multi ( n − 1 , λ s n , λ ( 1 − s ) n , λ ( 1 − s ) n , 1 − λ ( 2 − s ) n ) , (112) \left(\lvert\mathrm{Ch}^{*}_{u}\rvert,\lvert\mathrm{Ch}_{u}\rvert,\lvert\widetilde{\mathrm{Ch}}_{\tilde{u}}\rvert,\lvert\mathrm{NC}_{u}\rvert\right) \sim\operatorname{Multi}\left(n-1,\frac{\lambda s}{n},\frac{\lambda(1-s)}{n},\frac{\lambda(1-s)}{n},1-\frac{\lambda(2-s)}{n}\right), \tag*{(112)} ( ∣ Ch u ∗ ∣ , ∣ Ch u ∣ , ∣ Ch u ~ ∣ , ∣ NC u ∣ ) ∼ Multi ( n − 1 , n λ s , n λ ( 1 − s ) , n λ ( 1 − s ) , 1 − n λ ( 2 − s ) ) , (112)
where ∣ N C u ∣ \lvert\mathrm{NC}_{u}\rvert ∣ NC u ∣ is the number of vertices that are not connected to u u u in G G G and not connected to u ~ \tilde{u} u ~ in G ~ \tilde{G} G ~ . This follows by the definition of the correlated Erdős–Rényi graph pair model, in which an edge appears in both G G G and G ~ \tilde{G} G ~ with probability λ s n \frac{\lambda s}{n} n λ s , only in G G G with probability λ ( 1 − s ) n \frac{\lambda(1-s)}{n} n λ ( 1 − s ) and only in G ~ \tilde{G} G ~ with probability λ ( 1 − s ) n \frac{\lambda(1-s)}{n} n λ ( 1 − s ) . Also, these edges are mutually independent.
By Lemma 22, we can couple these random variables with X u ∗ X^{*}_{u} X u ∗ , X u X_{u} X u and X ~ u ~ \widetilde{X}_{\tilde{u}} X u ~ such that
P ( ( A 1 ∗ ) c ) = O ( n − 3 / 4 ) . (113) \mathbb{P}\left((A^{*}_{1})^{c}\right) = O\left(n^{-3/4}\right). \tag*{(113)} P ( ( A 1 ∗ ) c ) = O ( n − 3/4 ) . (113)
By the Chernoff bound equation (136) in Lemma 18, we have
P ( B 1 c ) ≤ P ( Binom ( n − 1 , λ ( 2 − s ) n ) ≥ λ ( 2 − s ) log n ) = n − ω ( 1 ) . (114) \mathbb{P}(B_{1}^{c}) \leq\mathbb{P}\left(\operatorname{Binom}\left(n-1,\frac{\lambda(2-s)}{n}\right) \geq\lambda(2-s)\log n\right) = n^{-\omega(1)}. \tag*{(114)} P ( B 1 c ) ≤ P ( Binom ( n − 1 , n λ ( 2 − s ) ) ≥ λ ( 2 − s ) log n ) = n − ω ( 1 ) . (114)
By the union bound over all vertex pairs in C h u ∗ ∪ C h u ∪ C h ~ u ~ \mathrm{Ch}^{*}_{u} \cup\mathrm{Ch}_{u} \cup\widetilde{\mathrm{Ch}}_{\tilde{u}} Ch u ∗ ∪ Ch u ∪ Ch u ~ , we have
P ( C 1 c ∣ B 1 ) = O ( λ 3 log 2 n n ) . (115) \mathbb{P}(C_{1}^{c}\mid B_{1}) = O\left(\frac{\lambda^{3}\log^{2}n}{n}\right). \tag*{(115)} P ( C 1 c ∣ B 1 ) = O ( n λ 3 log 2 n ) . (115)
Equations (113) , (114) and (115) together imply that
P ( ( A 1 ∗ ) c ∪ B 1 c ∪ C 1 c ) = O ( n 1 / 4 + λ 3 log 2 n n ) = O ( n − 3 / 4 ) . (116) \mathbb{P}\left((A^{*}_{1})^{c} \cup B_{1}^{c} \cup C_{1}^{c}\right) = O\left(\frac{n^{1/4}+\lambda^{3}\log^{2}n}{n}\right) = O(n^{-3/4}). \tag*{(116)} P ( ( A 1 ∗ ) c ∪ B 1 c ∪ C 1 c ) = O ( n n 1/4 + λ 3 log 2 n ) = O ( n − 3/4 ) . (116)
Step 2. Coupling ( T k , T ~ k ) (T_k,\widetilde{T}_k) ( T k , T k ) with ( H k , H ~ k ) (H_k,\widetilde{H}_k) ( H k , H k ) given ℓ ( T k − 1 , T ~ k − 1 ) = ( H k − 1 , H ~ k − 1 ) \ell(T_{k-1},\widetilde{T}_{k-1})=(H_{k-1},\widetilde{H}_{k-1}) ℓ ( T k − 1 , T k − 1 ) = ( H k − 1 , H k − 1 ) : For each depth k ≥ 2 k\ge2 k ≥ 2 , we recursively define three sets of vertices: C O M k \mathrm{COM}_k COM k , E X C k \mathrm{EXC}_k EXC k , and E X C ~ k \widetilde{\mathrm{EXC}}_k EXC k . The set C O M k \mathrm{COM}_k COM k consists of the vertices at depth k k k that appear in both local trees under the correspondence, while E X C k \mathrm{EXC}_k EXC k and E X C ~ k \widetilde{\mathrm{EXC}}_k EXC k consist of the vertices appearing exclusively in T T T and T ~ \widetilde{T} T , respectively. At depth one, we initialize
C O M 1 : = C h u ∗ , E X C 1 : = C h u , E X C ~ 1 : = C h ~ u ~ . \mathrm{COM}_1:=\mathrm{Ch}^{*}_{u},\qquad\mathrm{EXC}_1:=\mathrm{Ch}_{u},\qquad\widetilde{\mathrm{EXC}}_1:=\widetilde{\mathrm{Ch}}_{\widetilde{u}}. COM 1 := Ch u ∗ , EXC 1 := Ch u , EXC 1 := Ch u .
Now we move on to consider a general k ≥ 2 k\ge2 k ≥ 2 , and recursively define the sets C O M k \mathrm{COM}_k COM k , E X C k \mathrm{EXC}_k EXC k , and E X C ~ k \widetilde{\mathrm{EXC}}_k EXC k . For each v ∈ C O M k − 1 v\in\mathrm{COM}_{k-1} v ∈ COM k − 1 , let C h v ∗ \mathrm{Ch}^{*}_{v} Ch v ∗ denote the set of common children of v v v and v ~ \widetilde{v} v in T T T and T ~ \widetilde{T} T ; that is, C h v ∗ \mathrm{Ch}^{*}_{v} Ch v ∗ contains all children y y y of v v v in T T T such that y ~ \widetilde{y} y is a child of v ~ \widetilde{v} v in T ~ \widetilde{T} T . Let C h v \mathrm{Ch}_{v} Ch v denote the set of children of v v v in T T T whose counterparts are not children of v ~ \widetilde{v} v in T ~ \widetilde{T} T , and let C h ~ v ~ \widetilde{\mathrm{Ch}}_{\widetilde{v}} Ch v denote the set of children of v ~ \widetilde{v} v in T ~ \widetilde{T} T whose counterparts are not children of v v v in T T T . For each v ∈ E X C k − 1 v\in\mathrm{EXC}_{k-1} v ∈ EXC k − 1 , let C h v \mathrm{Ch}_{v} Ch v denote the set of children of v v v in T T T . Similarly, for each v ~ ∈ E X C ~ k − 1 \widetilde{v}\in\widetilde{\mathrm{EXC}}_{k-1} v ∈ EXC k − 1 , let C h ~ v ~ \widetilde{\mathrm{Ch}}_{\widetilde{v}} Ch v denote the set of children of v ~ \widetilde{v} v in T ~ \widetilde{T} T .
We then define
C O M k : = ⋃ v ∈ C O M k − 1 C h v ∗ , \mathrm{COM}_k:=\bigcup_{v\in\mathrm{COM}_{k-1}}\mathrm{Ch}^{*}_{v}, COM k := v ∈ COM k − 1 ⋃ Ch v ∗ ,
E X C k : = ( ⋃ v ∈ C O M k − 1 C h v ) ∪ ( ⋃ v ∈ E X C k − 1 C h v ) , \mathrm{EXC}_k:=\left(\bigcup_{v\in\mathrm{COM}_{k-1}}\mathrm{Ch}_{v}\right)\cup\left(\bigcup_{v\in\mathrm{EXC}_{k-1}}\mathrm{Ch}_{v}\right), EXC k := v ∈ COM k − 1 ⋃ Ch v ∪ v ∈ EXC k − 1 ⋃ Ch v ,
and
E X C ~ k : = ( ⋃ v ∈ C O M k − 1 C h ~ v ~ ) ∪ ( ⋃ v ~ ∈ E X C ~ k − 1 C h ~ v ~ ) . \widetilde{\mathrm{EXC}}_k:=\left(\bigcup_{v\in\mathrm{COM}_{k-1}}\widetilde{\mathrm{Ch}}_{\widetilde{v}}\right)\cup\left(\bigcup_{\widetilde{v}\in\widetilde{\mathrm{EXC}}_{k-1}}\widetilde{\mathrm{Ch}}_{\widetilde{v}}\right). EXC k := v ∈ COM k − 1 ⋃ Ch v ∪ v ∈ EXC k − 1 ⋃ Ch v .
For each depth k ≥ 2 k\ge2 k ≥ 2 , we define the following events that can be shown to imply the desired property ℓ ( T k , T ~ k ) = ( H k , H ~ k ) \ell(T_k,\widetilde{T}_k)=(H_k,\widetilde{H}_k) ℓ ( T k , T k ) = ( H k , H k ) .
A k ∗ A^{*}_k A k ∗ is the event that for each v ∈ C O M k − 1 v\in\mathrm{COM}_{k-1} v ∈ COM k − 1 , under the maximal coupling between random variables ∣ C h v ∗ ∣ |\mathrm{Ch}^{*}_{v}| ∣ Ch v ∗ ∣ , ∣ C h v ∣ |\mathrm{Ch}_{v}| ∣ Ch v ∣ , and ∣ C h ~ v ~ ∣ |\widetilde{\mathrm{Ch}}_{\widetilde{v}}| ∣ Ch v ∣ , and independent Poisson random variables, X v ∗ ∼ Poi ( λ s ) X^{*}_{v}\sim\operatorname{Poi}(\lambda s) X v ∗ ∼ Poi ( λ s ) , X v ∼ Poi ( λ ( 1 − s ) ) X_v\sim\operatorname{Poi}(\lambda(1-s)) X v ∼ Poi ( λ ( 1 − s )) , and X ~ v ~ ∼ Poi ( λ ( 1 − s ) ) \widetilde{X}_{\widetilde{v}}\sim\operatorname{Poi}(\lambda(1-s)) X v ∼ Poi ( λ ( 1 − s )) , we have ∣ C h v ∗ ∣ = X v ∗ |\mathrm{Ch}^{*}_{v}|=X^{*}_{v} ∣ Ch v ∗ ∣ = X v ∗ , ∣ C h v ∣ = X v |\mathrm{Ch}_{v}|=X_v ∣ Ch v ∣ = X v , and ∣ C h ~ v ~ ∣ = X ~ v ~ |\widetilde{\mathrm{Ch}}_{\widetilde{v}}|=\widetilde{X}_{\widetilde{v}} ∣ Ch v ∣ = X v .
A k A_k A k is the event that for each v ∈ E X C k − 1 v\in\mathrm{EXC}_{k-1} v ∈ EXC k − 1 , under the maximal coupling between the random variable ∣ C h v ∣ |\mathrm{Ch}_{v}| ∣ Ch v ∣ and the Poisson random variable X v ∼ Poi ( λ ) X_v\sim\operatorname{Poi}(\lambda) X v ∼ Poi ( λ ) , we have ∣ C h v ∣ = X v |\mathrm{Ch}_{v}|=X_v ∣ Ch v ∣ = X v .
A ~ k \widetilde{A}_k A k is the event that for each v ~ ∈ E X C ~ k − 1 \widetilde{v}\in\widetilde{\mathrm{EXC}}_{k-1} v ∈ EXC k − 1 , under the maximal coupling between the random variable ∣ C h ~ v ~ ∣ |\widetilde{\mathrm{Ch}}_{\widetilde{v}}| ∣ Ch v ∣ and the Poisson random variable X ~ v ~ ∼ Poi ( λ ) \widetilde{X}_{\widetilde{v}}\sim\operatorname{Poi}(\lambda) X v ∼ Poi ( λ ) , we have ∣ C h ~ v ~ ∣ = X ~ v ~ |\widetilde{\mathrm{Ch}}_{\widetilde{v}}|=\widetilde{X}_{\widetilde{v}} ∣ Ch v ∣ = X v .
D k D_k D k is the event that in the union graph G ‾ \overline{G} G , there exists no vertex outside the two trees T k − 1 T_{k-1} T k − 1 and T ~ k − 1 \widetilde{T}_{k-1} T k − 1 that is adjacent to more than one vertex in C O M k − 1 ∪ E X C k − 1 ∪ E X C ~ k − 1 \mathrm{COM}_{k-1}\cup\mathrm{EXC}_{k-1}\cup\widetilde{\mathrm{EXC}}_{k-1} COM k − 1 ∪ EXC k − 1 ∪ EXC k − 1 .
We claim that, for every k ≥ 1 k\ge1 k ≥ 1 ,
( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ ⋂ i = 2 k ( A i ∗ ∩ A i ∩ A ~ i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I ~ i ) ⊆ { ℓ ( T k , T ~ k ) = ( H k , H ~ k ) } . \left(\mathcal{A}_1^*\cap\mathcal{B}_1\cap\mathcal{C}_1\right)\cap\bigcap_{i=2}^{k}\left(\mathcal{A}_i^*\cap\mathcal{A}_i\cap\widetilde{\mathcal{A}}_i\cap\mathcal{B}_i\cap\mathcal{C}_i\cap\mathcal{D}_i\cap\mathcal{I}_i\cap\widetilde{\mathcal{I}}_i\right)\subseteq\left\{\ell(\mathcal{T}_k,\widetilde{\mathcal{T}}_k)=(\mathcal{H}_k,\widetilde{\mathcal{H}}_k)\right\}. ( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ i = 2 ⋂ k ( A i ∗ ∩ A i ∩ A i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I i ) ⊆ { ℓ ( T k , T k ) = ( H k , H k ) } .
We prove this claim by induction on k k k . The case k = 1 k=1 k = 1 has already been established in Step 1. Now suppose that the claim holds up to depth k − 1 k-1 k − 1 , where k ≥ 2 k\ge2 k ≥ 2 . That is, assume
( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ ⋂ i = 2 k − 1 ( A i ∗ ∩ A i ∩ A ~ i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I ~ i ) ⊆ { ℓ ( T k − 1 , T ~ k − 1 ) = ( H k − 1 , H ~ k − 1 ) } . \left(\mathcal{A}_1^*\cap\mathcal{B}_1\cap\mathcal{C}_1\right)\cap\bigcap_{i=2}^{k-1}\left(\mathcal{A}_i^*\cap\mathcal{A}_i\cap\widetilde{\mathcal{A}}_i\cap\mathcal{B}_i\cap\mathcal{C}_i\cap\mathcal{D}_i\cap\mathcal{I}_i\cap\widetilde{\mathcal{I}}_i\right)\subseteq\left\{\ell(\mathcal{T}_{k-1},\widetilde{\mathcal{T}}_{k-1})=(\mathcal{H}_{k-1},\widetilde{\mathcal{H}}_{k-1})\right\}. ( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ i = 2 ⋂ k − 1 ( A i ∗ ∩ A i ∩ A i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I i ) ⊆ { ℓ ( T k − 1 , T k − 1 ) = ( H k − 1 , H k − 1 ) } .
We show that, on the additional event
A k ∗ ∩ A k ∩ A ~ k ∩ B k ∩ C k ∩ D k ∩ I k ∩ I ~ k , \mathcal{A}_k^*\cap\mathcal{A}_k\cap\widetilde{\mathcal{A}}_k\cap\mathcal{B}_k\cap\mathcal{C}_k\cap\mathcal{D}_k\cap\mathcal{I}_k\cap\widetilde{\mathcal{I}}_k, A k ∗ ∩ A k ∩ A k ∩ B k ∩ C k ∩ D k ∩ I k ∩ I k ,
the equality extends to depth k k k .
By the induction hypothesis, the order-labeled structures of ( T , T ~ ) (\mathcal{T},\widetilde{\mathcal{T}}) ( T , T ) and ( H , H ~ ) (\mathcal{H},\widetilde{\mathcal{H}}) ( H , H ) agree up to depth k − 1 k-1 k − 1 . It remains to compare the children generated by vertices at depth k − 1 k-1 k − 1 . For each common vertex v ∈ C O M k − 1 v\in\mathrm{COM}_{k-1} v ∈ COM k − 1 , the event A k ∗ \mathcal{A}_k^* A k ∗ couples the children numbers ∣ C h v ∗ ∣ |\mathrm{Ch}_v^*| ∣ Ch v ∗ ∣ , ∣ C h v ∣ |\mathrm{Ch}_v| ∣ Ch v ∣ and ∣ C h v ~ ∣ |\mathrm{Ch}_{\widetilde{v}}| ∣ Ch v ∣ with independent Poisson random variables of means λ s \lambda s λ s , λ ( 1 − s ) \lambda(1-s) λ ( 1 − s ) , and λ ( 1 − s ) \lambda(1-s) λ ( 1 − s ) , respectively. These are exactly the offspring distributions used in the correlated tree-pair construction P \mathbb{P} P for vertices in the intersection tree and for the exclusive children added to the two trees. Similarly, for each exclusive vertex v ∈ E X C k − 1 v\in\mathrm{EXC}_{k-1} v ∈ EXC k − 1 , the event A k \mathcal{A}_k A k couples ∣ C h v ∣ |\mathrm{Ch}_v| ∣ Ch v ∣ with a Poi ( λ ) \operatorname{Poi}(\lambda) Poi ( λ ) random variable, which is the offspring distribution of an exclusive Galton–Watson subtree attached to H \mathcal{H} H . The event A ~ k \widetilde{\mathcal{A}}_k A k gives the analogous coupling for every exclusive vertex v ~ ∈ E X C ~ k − 1 \widetilde{v}\in\widetilde{\mathrm{EXC}}_{k-1} v ∈ EXC k − 1 in T ~ \widetilde{\mathcal{T}} T . Therefore, the numbers of children generated from all vertices at depth k − 1 k-1 k − 1 agree with those in the coupled Galton–Watson tree pair. Moreover, by the definition of the relabeling map ℓ \ell ℓ , common children are ordered first, followed by exclusive children, and each block is ordered increasingly by index. This is precisely the deterministic ordering convention used in the construction of ( H , H ~ ) (\mathcal{H},\widetilde{\mathcal{H}}) ( H , H ) . Hence, after applying ℓ \ell ℓ , the labels of all newly generated vertices at depth k k k agree with those in ( H k , H ~ k ) (\mathcal{H}_k,\widetilde{\mathcal{H}}_k) ( H k , H k ) .
Moreover, event C k \mathcal{C}_k C k rules out edges among vertices in C O M k ∪ E X C k ∪ E X C ~ k \mathrm{COM}_k\cup\mathrm{EXC}_k\cup\widetilde{\mathrm{EXC}}_k COM k ∪ EXC k ∪ EXC k , and event D k \mathcal{D}_k D k rules out any vertex outside the previously explored trees that is connected to more than one vertex in C O M k − 1 ∪ E X C k − 1 ∪ E X C ~ k − 1 \mathrm{COM}_{k-1}\cup\mathrm{EXC}_{k-1}\cup\widetilde{\mathrm{EXC}}_{k-1} COM k − 1 ∪ EXC k − 1 ∪ EXC k − 1 . Together, these events ensure that the newly revealed vertices do not create any cycles. Therefore, we have ℓ ( T k , T ~ k ) = ( H k , H ~ k ) \ell(\mathcal{T}_k,\widetilde{\mathcal{T}}_k)=(\mathcal{H}_k,\widetilde{\mathcal{H}}_k) ℓ ( T k , T k ) = ( H k , H k ) , which completes the induction.
We note that the events B k \mathcal{B}_k B k , I k \mathcal{I}_k I k and I ~ k \widetilde{\mathcal{I}}_k I k are not needed for the immediate implication ℓ ( T k , T ~ k ) = ( H k , H ~ k ) \ell(\mathcal{T}_k,\widetilde{\mathcal{T}}_k)=(\mathcal{H}_k,\widetilde{\mathcal{H}}_k) ℓ ( T k , T k ) = ( H k , H k ) . The event B k \mathcal{B}_k B k provides a size bound on the newly explored vertices, which is used to control the error events. Events I k \mathcal{I}_k I k and I ~ k \widetilde{\mathcal{I}}_k I k prevent overlaps of the exclusive part of the trees at later depths, thus ruling out undesired correlations that could affect the coupling.
Next, we separately bound the probability of these events at depth k k k conditioned on the event
G k − 1 : = ( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ ⋂ i = 2 k − 1 ( A i ∗ ∩ A i ∩ A ~ i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I ~ i ) . \mathcal{G}_{k-1}:=\left(\mathcal{A}_1^*\cap\mathcal{B}_1\cap\mathcal{C}_1\right)\cap\bigcap_{i=2}^{k-1}\left(\mathcal{A}_i^*\cap\mathcal{A}_i\cap\widetilde{\mathcal{A}}_i\cap\mathcal{B}_i\cap\mathcal{C}_i\cap\mathcal{D}_i\cap\mathcal{I}_i\cap\widetilde{\mathcal{I}}_i\right). G k − 1 := ( A 1 ∗ ∩ B 1 ∩ C 1 ) ∩ i = 2 ⋂ k − 1 ( A i ∗ ∩ A i ∩ A i ∩ B i ∩ C i ∩ D i ∩ I i ∩ I i ) .
Notice that given ⋂ i = 1 k − 1 B i \bigcap_{i=1}^{k-1}\mathcal{B}_i ⋂ i = 1 k − 1 B i the total number of vertices within k − 1 k-1 k − 1 depth of the two trees satisfies
∣ V ( T k − 1 ) ∪ V ( T ~ k − 1 ) ∣ = 1 + ∑ i = 1 k − 1 ∣ C O M i ∪ E X C i ∪ E X C ~ i ∣ \left|\mathcal{V}(\mathcal{T}_{k-1})\cup\mathcal{V}(\widetilde{\mathcal{T}}_{k-1})\right|=1+\sum_{i=1}^{k-1}\left|\mathrm{COM}_i\cup\mathrm{EXC}_i\cup\widetilde{\mathrm{EXC}}_i\right| V ( T k − 1 ) ∪ V ( T k − 1 ) = 1 + i = 1 ∑ k − 1 COM i ∪ EXC i ∪ EXC i
≤ 1 + ∑ i = 1 k − 1 2 i − 1 ( λ ( 2 − s ) ) i log n ≤ ( 2 λ ( 2 − s ) ) k − 1 log n , \begin{aligned}
\le1+\sum_{i=1}^{k-1}2^{i-1}\left(\lambda(2-s)\right)^i\log n \\
&\le\left(2\lambda(2-s)\right)^{k-1}\log n,
\end{aligned} ≤ 1 + i = 1 ∑ k − 1 2 i − 1 ( λ ( 2 − s ) ) i log n ≤ ( 2 λ ( 2 − s ) ) k − 1 log n ,
where V ˉ ( T k − 1 ) \bar{V}(\mathcal{T}_{k-1}) V ˉ ( T k − 1 ) (resp. V ˉ ( T ~ k − 1 ) \bar{V}(\widetilde{\mathcal{T}}_{k-1}) V ˉ ( T k − 1 ) ) denotes the image of the nodes in T k − 1 \mathcal{T}_{k-1} T k − 1 (resp. T ~ k − 1 \widetilde{\mathcal{T}}_{k-1} T k − 1 ) in the union graph G ˉ \bar{G} G ˉ .
Given event G k − 1 \mathcal{G}_{k-1} G k − 1 , for each v ∈ C O M k − 1 v \in\mathrm{COM}_{k-1} v ∈ COM k − 1 , the number of children has distribution
( ∣ C h v ∗ ∣ , ∣ C h v ∣ , ∣ C h ~ v ~ ∣ , ∣ N C v ∣ ) ∼ Multi ( n − ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ , λ s n , λ ( 1 − s ) n , λ ( 1 − s ) n , 1 − λ ( 2 − s ) n ) . (117) \left(\lvert\mathrm{Ch}_{v}^{*}\rvert,\lvert\mathrm{Ch}_{v}\rvert,\lvert\widetilde{\mathrm{Ch}}_{\widetilde{v}}\rvert,\lvert\mathrm{NC}_{v}\rvert\right)
\sim\operatorname{Multi}\left(n-\left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert,\frac{\lambda s}{n},\frac{\lambda(1-s)}{n},\frac{\lambda(1-s)}{n},1-\frac{\lambda(2-s)}{n}\right). \tag*{(117)} ( ∣ Ch v ∗ ∣ , ∣ Ch v ∣ , ∣ Ch v ∣ , ∣ NC v ∣ ) ∼ Multi ( n − V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) , n λ s , n λ ( 1 − s ) , n λ ( 1 − s ) , 1 − n λ ( 2 − s ) ) . (117)
where ∣ N C v ∣ \lvert\mathrm{NC}_{v}\rvert ∣ NC v ∣ is the total number of vertices outside ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ \left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) that are not connected to v v v in G G G and not connected to v ~ \widetilde{v} v in G ~ \widetilde{G} G . The reasoning for (117) is similar to that for (103). The only difference is that we need to exclude all the already explored vertices in ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ \left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) , and hence there are n − ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ n-\left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert n − V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) vertices taken into consideration.
Applying Lemma 22 with n − m = ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ n-m=\left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert n − m = V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) , we can couple ( ∣ C h v ∗ ∣ , ∣ C h v ∣ , ∣ C h ~ v ~ ∣ ) \left(\lvert\mathrm{Ch}_{v}^{*}\rvert,\lvert\mathrm{Ch}_{v}\rvert,\lvert\widetilde{\mathrm{Ch}}_{\widetilde{v}}\rvert\right) ( ∣ Ch v ∗ ∣ , ∣ Ch v ∣ , ∣ Ch v ∣ ) with ( X v ∗ , X v , X ~ v ~ ) \left(X_{v}^{*},X_{v},\widetilde{X}_{\widetilde{v}}\right) ( X v ∗ , X v , X v ) such that
P ( ∣ C h v ∗ ∣ = X v ∗ , ∣ C h v ∣ = X v , ∣ C h ~ v ~ ∣ = X ~ v ~ ) = 1 − O ( ( 2 λ ( 2 − s ) ) k log n + n 1 / 4 n ) . \mathbb{P}\left(\lvert\mathrm{Ch}_{v}^{*}\rvert=X_{v}^{*},\lvert\mathrm{Ch}_{v}\rvert=X_{v},\lvert\widetilde{\mathrm{Ch}}_{\widetilde{v}}\rvert=\widetilde{X}_{\widetilde{v}}\right)=1-O\left(\frac{\left(2\lambda(2-s)\right)^k\log n+n^{1/4}}{n}\right). P ( ∣ Ch v ∗ ∣ = X v ∗ , ∣ Ch v ∣ = X v , ∣ Ch v ∣ = X v ) = 1 − O ( n ( 2 λ ( 2 − s ) ) k log n + n 1/4 ) .
Taking a union bound over the set C O M k − 1 \mathrm{COM}_{k-1} COM k − 1 , whose size is bounded by ( 2 λ ( 2 − s ) ) k − 1 log n \left(2\lambda(2-s)\right)^{k-1}\log n ( 2 λ ( 2 − s ) ) k − 1 log n conditioned on event ⋂ i = 1 k − 1 B i \bigcap_{i=1}^{k-1}B_i ⋂ i = 1 k − 1 B i , yields
P ( ( A k ∗ ) c ∣ G k − 1 ) = O ( ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k n 1 / 4 log n n ) . (118) \mathbb{P}\left((\mathcal{A}_{k}^{*})^{c}\mid\mathcal{G}_{k-1}\right)=O\left(\frac{\left(2\lambda(2-s)\right)^{2k}\log^{2}n+\left(2\lambda(2-s)\right)^k n^{1/4}\log n}{n}\right). \tag*{(118)} P ( ( A k ∗ ) c ∣ G k − 1 ) = O ( n ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k n 1/4 log n ) . (118)
For each v ∈ E X C k − 1 v\in\mathrm{EXC}_{k-1} v ∈ EXC k − 1 , we have
∣ C h v ∣ ∼ Binom ( n − ∣ V ˉ ( T k − 1 ) ∪ V ˉ ( T ~ k − 1 ) ∣ , λ n ) . \lvert\mathrm{Ch}_{v}\rvert\sim\operatorname{Binom}\left(n-\left\lvert\bar{V}(\mathcal{T}_{k-1})\cup\bar{V}(\widetilde{\mathcal{T}}_{k-1})\right\rvert,\frac{\lambda}{n}\right). ∣ Ch v ∣ ∼ Binom ( n − V ˉ ( T k − 1 ) ∪ V ˉ ( T k − 1 ) , n λ ) .
By Lemma 21, we can couple ∣ C h v ∣ \lvert\mathrm{Ch}_{v}\rvert ∣ Ch v ∣ with X v X_{v} X v such that
P ( ∣ C h v ∣ = X v ) ≥ 1 − λ 2 + ( 2 λ ( 2 − s ) ) k − 1 λ log n n , \mathbb{P}\left(\lvert\mathrm{Ch}_{v}\rvert=X_{v}\right)\ge1-\frac{\lambda^{2}+\left(2\lambda(2-s)\right)^{k-1}\lambda\log n}{n}, P ( ∣ Ch v ∣ = X v ) ≥ 1 − n λ 2 + ( 2 λ ( 2 − s ) ) k − 1 λ log n ,
and a union bound over E X C k − 1 \mathrm{EXC}_{k-1} EXC k − 1 , whose size is bounded by ( 2 λ ( 2 − s ) ) k − 1 log n \left(2\lambda(2-s)\right)^{k-1}\log n ( 2 λ ( 2 − s ) ) k − 1 log n conditioned on event ⋂ i = 1 k − 1 B i \bigcap_{i=1}^{k-1}B_i ⋂ i = 1 k − 1 B i yields
P ( A k c ∣ G k − 1 ) = O ( ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k + 1 log n n ) . (119) \mathbb{P}\left(\mathcal{A}_{k}^{c}\mid\mathcal{G}_{k-1}\right)=O\left(\frac{\left(2\lambda(2-s)\right)^{2k}\log^{2}n+\left(2\lambda(2-s)\right)^{k+1}\log n}{n}\right). \tag*{(119)} P ( A k c ∣ G k − 1 ) = O ( n ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k + 1 log n ) . (119)
By an analogous argument, we can also get
P ( A ~ k c ∣ G k − 1 ) = O ( ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k + 1 log n n ) . (120) \mathbb{P}\left(\widetilde{\mathcal{A}}_{k}^{c}\mid\mathcal{G}_{k-1}\right)=O\left(\frac{\left(2\lambda(2-s)\right)^{2k}\log^{2}n+\left(2\lambda(2-s)\right)^{k+1}\log n}{n}\right). \tag*{(120)} P ( A k c ∣ G k − 1 ) = O ( n ( 2 λ ( 2 − s ) ) 2 k log 2 n + ( 2 λ ( 2 − s ) ) k + 1 log n ) . (120)
Because we have ∣ C O M k − 1 ∪ E X C k − 1 ∪ E X C ~ k − 1 ∣ ≤ 2 k − 2 ( λ ( 2 − s ) ) k − 1 log n |\mathrm{COM}_{k-1} \cup\mathrm{EXC}_{k-1} \cup\widetilde{\mathrm{EXC}}_{k-1}| \le2^{k-2}(\lambda(2-s))^{k-1}\log n ∣ COM k − 1 ∪ EXC k − 1 ∪ EXC k − 1 ∣ ≤ 2 k − 2 ( λ ( 2 − s ) ) k − 1 log n on the event ⋂ i = 1 k − 1 B i \bigcap_{i=1}^{k-1} B_i ⋂ i = 1 k − 1 B i , there are at most n 2 2 k − 4 ( λ ( 2 − s ) ) 2 k − 2 log 2 n n2^{2k-4}(\lambda(2-s))^{2k-2}\log^2 n n 2 2 k − 4 ( λ ( 2 − s ) ) 2 k − 2 log 2 n ways to pick two distinct vertices from C O M k − 1 ∪ E X C k − 1 ∪ E X C ~ k − 1 \mathrm{COM}_{k-1} \cup\mathrm{EXC}_{k-1} \cup\widetilde{\mathrm{EXC}}_{k-1} COM k − 1 ∪ EXC k − 1 ∪ EXC k − 1 and one vertex from the unexplored part of the graph. In the union graph G ‾ \overline{G} G , the probability that the two picked vertices both have an edge with the vertex in the unexplored part is ( λ ( 2 − s ) n ) 2 \left(\frac{\lambda(2-s)}{n}\right)^2 ( n λ ( 2 − s ) ) 2 . Then, we can apply the union bound to obtain
P ( D k c ∣ G k − 1 ) = O ( λ 2 ( 2 − s ) 2 n 2 2 k − 4 ( λ ( 2 − s ) ) 2 k − 2 log 2 n n 2 ) = O ( ( 2 λ ( 2 − s ) ) 2 k log 2 n n ) . (121) \mathbb{P}(\mathcal{D}_k^c \mid\mathcal{G}_{k-1}) = O\left(\frac{\lambda^2(2-s)^2 n2^{2k-4}(\lambda(2-s))^{2k-2}\log^2 n}{n^2}\right) = O\left(\frac{(2\lambda(2-s))^{2k}\log^2 n}{n}\right). \tag*{(121)} P ( D k c ∣ G k − 1 ) = O ( n 2 λ 2 ( 2 − s ) 2 n 2 2 k − 4 ( λ ( 2 − s ) ) 2 k − 2 log 2 n ) = O ( n ( 2 λ ( 2 − s ) ) 2 k log 2 n ) . (121)
Notice that
∣ C O M k ∪ E X C k ∪ E X C ~ k ∣ ≤ Binom ( n , λ ( 2 − s ) n ∣ C O M k − 1 ∪ E X C k − 1 ∪ E X C ~ k − 1 ∣ ) . |\mathrm{COM}_k \cup\mathrm{EXC}_k \cup\widetilde{\mathrm{EXC}}_k| \le\operatorname{Binom}\left(n,\frac{\lambda(2-s)}{n}|\mathrm{COM}_{k-1} \cup\mathrm{EXC}_{k-1} \cup\widetilde{\mathrm{EXC}}_{k-1}|\right). ∣ COM k ∪ EXC k ∪ EXC k ∣ ≤ Binom ( n , n λ ( 2 − s ) ∣ COM k − 1 ∪ EXC k − 1 ∪ EXC k − 1 ∣ ) .
We can apply the Chernoff bound (equation (128) in Lemma 18) to obtain
P ( B k c ∣ G k − 1 ) ≤ P ( Binom ( n , λ ( 2 − s ) n 2 k − 2 ( λ ( 2 − s ) ) k − 1 log n ) ≥ 2 k − 1 ( λ ( 2 − s ) ) k log n ) ≤ exp ( − 2 k − 2 ( λ ( 2 − s ) ) k log n 3 ) = n − ω ( 1 ) . (122) \begin{aligned}
\mathbb{P}(\mathcal{B}_k^c \mid\mathcal{G}_{k-1}) \le\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{\lambda(2-s)}{n}2^{k-2}(\lambda(2-s))^{k-1}\log n\right) \ge2^{k-1}(\lambda(2-s))^k\log n\right) \\
&\le\exp\left(-\frac{2^{k-2}(\lambda(2-s))^k\log n}{3}\right)=n^{-\omega(1)}. \tag*{(122)}
\end{aligned} P ( B k c ∣ G k − 1 ) ≤ P ( Binom ( n , n λ ( 2 − s ) 2 k − 2 ( λ ( 2 − s ) ) k − 1 log n ) ≥ 2 k − 1 ( λ ( 2 − s ) ) k log n ) ≤ exp ( − 3 2 k − 2 ( λ ( 2 − s ) ) k log n ) = n − ω ( 1 ) . (122)
Now further condition on event B k \mathcal{B}_k B k , which implies there are at most 2 2 k − 2 ( λ ( 2 − s ) ) 2 k log 2 n 2^{2k-2}(\lambda(2-s))^{2k}\log^2 n 2 2 k − 2 ( λ ( 2 − s ) ) 2 k log 2 n vertex pairs in C O M k ∪ E X C k ∪ E X C ~ k \mathrm{COM}_k\cup\mathrm{EXC}_k\cup\widetilde{\mathrm{EXC}}_k COM k ∪ EXC k ∪ EXC k . we can apply a union bound over these vertex pairs to obtain
P ( C k c ∣ G k − 1 ∩ B k ) ≤ 2 2 k − 2 ( λ ( 2 − s ) ) 2 k λ ( 2 − s ) n log 2 n = O ( ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n n ) . (123) \mathbb{P}(\mathcal{C}_k^c \mid\mathcal{G}_{k-1}\cap\mathcal{B}_k) \le2^{2k-2}(\lambda(2-s))^{2k}\frac{\lambda(2-s)}{n}\log^2 n = O\left(\frac{(2\lambda(2-s))^{2k+1}\log^2 n}{n}\right). \tag*{(123)} P ( C k c ∣ G k − 1 ∩ B k ) ≤ 2 2 k − 2 ( λ ( 2 − s ) ) 2 k n λ ( 2 − s ) log 2 n = O ( n ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n ) . (123)
By a union bound over the vertex pairs in ( ⋃ i = 1 k ( E X C i ∪ C O M i ) ) × ( ⋃ i = 1 k E X C ~ i ) (\bigcup_{i=1}^k(\mathrm{EXC}_i\cup\mathrm{COM}_i))\times(\bigcup_{i=1}^k\widetilde{\mathrm{EXC}}_i) ( ⋃ i = 1 k ( EXC i ∪ COM i )) × ( ⋃ i = 1 k EXC i ) , whose size is bounded by
( ∑ i = 1 k 2 i − 1 ( λ ( 2 − s ) ) i log n ) 2 \left(\sum_{i=1}^k 2^{i-1}(\lambda(2-s))^i\log n\right)^2 ( i = 1 ∑ k 2 i − 1 ( λ ( 2 − s ) ) i log n ) 2
conditioned on event ⋂ i = 1 k B i \bigcap_{i=1}^k B_i ⋂ i = 1 k B i , we get
P ( I k c ∣ G k − 1 ∩ B k ) ≤ ( ∑ i = 1 k 2 i − 1 ( λ ( 2 − s ) ) i log n ) 2 λ n ≤ ( 2 λ ( 2 − s ) ) 2 k λ n log 2 n = O ( ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n n ) . (124) \begin{aligned}
\mathbb{P}(\mathcal{I}_k^c \mid\mathcal{G}_{k-1}\cap\mathcal{B}_k) \le\left(\sum_{i=1}^k 2^{i-1}(\lambda(2-s))^i\log n\right)^2\frac{\lambda}{n} \\
&\le(2\lambda(2-s))^{2k}\frac{\lambda}{n}\log^2 n \\
&= O\left(\frac{(2\lambda(2-s))^{2k+1}\log^2 n}{n}\right). \tag*{(124)}
\end{aligned} P ( I k c ∣ G k − 1 ∩ B k ) ≤ ( i = 1 ∑ k 2 i − 1 ( λ ( 2 − s ) ) i log n ) 2 n λ ≤ ( 2 λ ( 2 − s ) ) 2 k n λ log 2 n = O ( n ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n ) . (124)
Similarly, we can bound
P ( I ~ k c ∣ G k − 1 ∩ B k ) = O ( ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n n ) . (125) \mathbb{P}(\widetilde{\mathcal{I}}_k^c \mid\mathcal{G}_{k-1}\cap\mathcal{B}_k) = O\left(\frac{(2\lambda(2-s))^{2k+1}\log^2 n}{n}\right). \tag*{(125)} P ( I k c ∣ G k − 1 ∩ B k ) = O ( n ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n ) . (125)
By equations (109) - (116), we have
P ( A k ∗ c ∪ A k c ∪ A ~ k c ∪ B k c ∪ C k c ∪ D k c ∪ I k c ∪ I ~ k c ∣ G k − 1 ) = O ( ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n + ( 2 λ ( 2 − s ) ) k n 1 / 4 log n n ) = O ( n − 2 / 3 ) , (126) \begin{aligned}
\mathbb{P}(\mathcal{A}_k^{*c}\cup\mathcal{A}_k^c\cup\widetilde{\mathcal{A}}_k^c\cup\mathcal{B}_k^c\cup\mathcal{C}_k^c\cup\mathcal{D}_k^c\cup\mathcal{I}_k^c\cup\widetilde{\mathcal{I}}_k^c\mid\mathcal{G}_{k-1}) \\
&= O\left(\frac{(2\lambda(2-s))^{2k+1}\log^2 n+(2\lambda(2-s))^k n^{1/4}\log n}{n}\right)=O(n^{-2/3}), \tag*{(126)}
\end{aligned} P ( A k ∗ c ∪ A k c ∪ A k c ∪ B k c ∪ C k c ∪ D k c ∪ I k c ∪ I k c ∣ G k − 1 ) = O ( n ( 2 λ ( 2 − s ) ) 2 k + 1 log 2 n + ( 2 λ ( 2 − s ) ) k n 1/4 log n ) = O ( n − 2/3 ) , (126)
where the last inequality follows because ( 2 λ ( 2 − s ) ) 2 k + 1 = n o ( 1 ) (2\lambda(2-s))^{2k+1}=n^{o(1)} ( 2 λ ( 2 − s ) ) 2 k + 1 = n o ( 1 ) and ( 2 λ ( 2 − s ) ) k = n o ( 1 ) (2\lambda(2-s))^k=n^{o(1)} ( 2 λ ( 2 − s ) ) k = n o ( 1 ) under the assumptions λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) and k ≤ d ≤ ( log n ) γ k\le d\le(\log n)^\gamma k ≤ d ≤ ( log n ) γ for some γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) .
Finally, by equations (116) and (126) , under the coupling we constructed
P ( ℓ ( T d , T ~ d ) = ( H d , H ~ d ) ) \mathbb{P}\left(\ell(T_d,\widetilde{T}_d)=(\mathcal{H}_d,\widetilde{\mathcal{H}}_d)\right) P ( ℓ ( T d , T d ) = ( H d , H d ) )
≥ 1 − P ( A 1 c ∪ B 1 c ∪ C 1 c ) − ∑ k = 2 d P ( A k c ∪ A k c ∪ A ~ k c ∪ B k c ∪ C k c ∪ D k c ∪ I k c ∪ I ~ k c ∣ G k − 1 ) = 1 − O ( n − 1 / 2 ) , \begin{aligned}
\ge1-\mathbb{P}\left(A_1^{c}\cup B_1^{c}\cup C_1^{c}\right)-\sum_{k=2}^{d}\mathbb{P}\left(A_k^{c}\cup A_k^{c}\cup\widetilde{A}_k^{c}\cup B_k^{c}\cup C_k^{c}\cup D_k^{c}\cup I_k^{c}\cup\widetilde{I}_k^{c}\mid G_{k-1}\right) \\
&=1-O\left(n^{-1/2}\right),
\end{aligned} ≥ 1 − P ( A 1 c ∪ B 1 c ∪ C 1 c ) − k = 2 ∑ d P ( A k c ∪ A k c ∪ A k c ∪ B k c ∪ C k c ∪ D k c ∪ I k c ∪ I k c ∣ G k − 1 ) = 1 − O ( n − 1/2 ) ,
which completes the proof.
Degree Cutoff
Recall the parameters d d d and τ \tau τ defined in (2) , where
d = ⌈ ( log n ) 1 / 3 ⌉ , τ = ⌈ max { log n , λ ( 1 + 1 log log n ) } ⌉ . (127) d=\left\lceil(\log n)^{1/3}\right\rceil,\qquad\tau=\left\lceil\max\left\{\sqrt{\log n},\lambda\left(1+\frac{1}{\log\log n}\right)\right\}\right\rceil. \tag*{(127)} d = ⌈ ( log n ) 1/3 ⌉ , τ = ⌈ max { log n , λ ( 1 + log log n 1 ) } ⌉ . (127)
We define B \mathcal{B} B and B ~ \widetilde{\mathcal{B}} B as the sets of vertices whose ( d + 1 ) (d+1) ( d + 1 ) -hop neighborhoods contain a vertex with degree greater than τ \tau τ :
B : = { u ∈ V : ∃ v ∈ V such that dist G ( u , v ) ≤ d + 1 and deg G ( v ) > τ } , (128) \mathcal{B}:=\left\{u\in V:\exists v\in V\text{ such that }\operatorname{dist}_{G}(u,v)\le d+1\text{ and }\deg_{G}(v)>\tau\right\}, \tag*{(128)} B := { u ∈ V : ∃ v ∈ V such that dist G ( u , v ) ≤ d + 1 and deg G ( v ) > τ } , (128)
B ~ : = { u ~ ∈ V ~ : ∃ v ~ ∈ V ~ such that dist G ~ ( u ~ , v ~ ) ≤ d + 1 and deg G ~ ( v ~ ) > τ } . (129) \widetilde{\mathcal{B}}:=\left\{\widetilde{u}\in\widetilde{V}:\exists\widetilde{v}\in\widetilde{V}\text{ such that }\operatorname{dist}_{\widetilde{G}}(\widetilde{u},\widetilde{v})\le d+1\text{ and }\deg_{\widetilde{G}}(\widetilde{v})>\tau\right\}. \tag*{(129)} B := { u ∈ V : ∃ v ∈ V such that dist G ( u , v ) ≤ d + 1 and deg G ( v ) > τ } . (129)
Lemma 16. Consider two Erdős–Rényi graph G , G ~ ∼ ER ( n , λ / n ) G,\widetilde{G}\sim\operatorname{ER}(n,\lambda/n) G , G ∼ ER ( n , λ / n ) such that λ = ω ( 1 ) \lambda=\omega(1) λ = ω ( 1 ) and λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . Choose d d d and τ \tau τ as in (2) when constructing the local trees. Then for the sets B \mathcal{B} B and B ~ \widetilde{\mathcal{B}} B defined in (128) and (129) , we have
∣ B ∣ + ∣ B ~ ∣ ≤ 2 n exp ( − ( log n ) 2 / 5 ) (130) |\mathcal{B}|+|\widetilde{\mathcal{B}}|\le2n\exp\left(-(\log n)^{2/5}\right) \tag*{(130)} ∣ B ∣ + ∣ B ∣ ≤ 2 n exp ( − ( log n ) 2/5 ) (130) with probability at least
1 − 2 exp ( − ( log n ) 2 / 5 ) 1-2\exp\left(-(\log n)^{2/5}\right) 1 − 2 exp ( − ( log n ) 2/5 ) for all sufficiently large n n n .
Proof. To prove (130) , we will establish the following expectation bounds for ∣ B ∣ |\mathcal{B}| ∣ B ∣ and ∣ B ~ ∣ |\widetilde{\mathcal{B}}| ∣ B ∣ :
E [ ∣ B ∣ ] ≤ n exp ( − 2 ( log n ) 2 / 5 ) . (131) \mathbb{E}[|\mathcal{B}|]\le n\exp\left(-2(\log n)^{2/5}\right). \tag*{(131)} E [ ∣ B ∣ ] ≤ n exp ( − 2 ( log n ) 2/5 ) . (131)
E [ ∣ B ~ ∣ ] ≤ n exp ( − 2 ( log n ) 2 / 5 ) . (132) \mathbb{E}[|\widetilde{\mathcal{B}}|]\le n\exp\left(-2(\log n)^{2/5}\right). \tag*{(132)} E [ ∣ B ∣ ] ≤ n exp ( − 2 ( log n ) 2/5 ) . (132)
Notice that
{ ∣ B ∣ + ∣ B ~ ∣ > 2 n exp ( − ( log n ) 2 / 5 ) } ⊂ { ∣ B ∣ > n exp ( − ( log n ) 2 / 5 ) } ∪ { ∣ B ~ ∣ > n exp ( − ( log n ) 2 / 5 ) } . \left\{|\mathcal{B}|+|\widetilde{\mathcal{B}}|>2n\exp\left(-(\log n)^{2/5}\right)\right\}\subset\left\{|\mathcal{B}|>n\exp\left(-(\log n)^{2/5}\right)\right\}\cup\left\{|\widetilde{\mathcal{B}}|>n\exp\left(-(\log n)^{2/5}\right)\right\}. { ∣ B ∣ + ∣ B ∣ > 2 n exp ( − ( log n ) 2/5 ) } ⊂ { ∣ B ∣ > n exp ( − ( log n ) 2/5 ) } ∪ { ∣ B ∣ > n exp ( − ( log n ) 2/5 ) } .
We have
P ( ∣ B ∣ + ∣ B ~ ∣ > 2 n exp ( − ( log n ) 2 / 5 ) ) ≤ P ( ∣ B ∣ > n exp ( − ( log n ) 2 / 5 ) ) + P ( ∣ B ~ ∣ > n exp ( − ( log n ) 2 / 5 ) ) ≤ 2 exp ( − ( log n ) 2 / 5 ) , \begin{aligned}
\mathbb{P}\left(|\mathcal{B}|+|\widetilde{\mathcal{B}}|>2n\exp\left(-(\log n)^{2/5}\right)\right)
&\leq\mathbb{P}\left(|\mathcal{B}|>n\exp\left(-(\log n)^{2/5}\right)\right)\\
&\quad+\mathbb{P}\left(|\widetilde{\mathcal{B}}|>n\exp\left(-(\log n)^{2/5}\right)\right)\\
&\leq2\exp\left(-(\log n)^{2/5}\right),
\end{aligned} P ( ∣ B ∣ + ∣ B ∣ > 2 n exp ( − ( log n ) 2/5 ) ) ≤ P ( ∣ B ∣ > n exp ( − ( log n ) 2/5 ) ) + P ( ∣ B ∣ > n exp ( − ( log n ) 2/5 ) ) ≤ 2 exp ( − ( log n ) 2/5 ) ,
where the last inequality follows by equations (131) and (132) and Markov’s inequality. In the rest of this proof, we focus on proving (131) , and (132) follows by symmetry.
Proof of (131) : Fix a vertex u ∈ V u \in\mathcal{V} u ∈ V . Define event
B A D u : = { ∃ v ∈ V such that dist ( u , v ) ≤ d + 1 and deg ( v ) > τ } . \mathrm{BAD}_{u}:=\{\exists v \in\mathcal{V}\text{ such that }\operatorname{dist}(u,v)\leq d+1\text{ and }\deg(v)>\tau\}. BAD u := { ∃ v ∈ V such that dist ( u , v ) ≤ d + 1 and deg ( v ) > τ } .
By (128) , u ∈ B u \in\mathcal{B} u ∈ B if and only if B A D u \mathrm{BAD}_{u} BAD u occurs. Equivalently, either deg G ( u ) > τ \deg_{G}(u)>\tau deg G ( u ) > τ , or there exist an integer l ∈ [ d + 1 ] l\in[d+1] l ∈ [ d + 1 ] and distinct vertices v 1 , … , v l ∈ V ∖ { u } v_{1},\ldots,v_{l}\in\mathcal{V}\setminus\{u\} v 1 , … , v l ∈ V ∖ { u } such that ( u , v 1 , … , v l ) (u,v_{1},\ldots,v_{l}) ( u , v 1 , … , v l ) is a path in G G G and deg G ( v l ) > τ \deg_{G}(v_{l})>\tau deg G ( v l ) > τ . Since deg G ( u ) ∼ Binom ( n − 1 , λ / n ) \deg_{G}(u)\sim\operatorname{Binom}(n-1,\lambda/n) deg G ( u ) ∼ Binom ( n − 1 , λ / n ) , we have
P ( deg G ( u ) > τ ) = P ( Binom ( n − 1 , λ n ) > τ ) ≤ P ( Binom ( n , λ n ) ≥ τ − 1 ) ≤ exp ( − 4 ( log n ) 2 / 5 ) . (133) \begin{aligned}
\mathbb{P}(\deg_{G}(u)>\tau)
&=\mathbb{P}\left(\operatorname{Binom}\left(n-1,\frac{\lambda}{n}\right)>\tau\right)\\
&\leq\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{\lambda}{n}\right)\geq\tau-1\right)\\
&\leq\exp\left(-4(\log n)^{2/5}\right). \tag*{(133)}
\end{aligned} P ( deg G ( u ) > τ ) = P ( Binom ( n − 1 , n λ ) > τ ) ≤ P ( Binom ( n , n λ ) ≥ τ − 1 ) ≤ exp ( − 4 ( log n ) 2/5 ) . (133)
Here, the last inequality is obtained by applying the Chernoff bound. We defer the detailed reasoning to the end of this proof. Fix distinct vertices v 1 , … , v l v_{1},\ldots,v_{l} v 1 , … , v l in V \mathcal{V} V . Because each edge appears in the graph G G G with probability λ / n \lambda/n λ / n , the path ( u , v 1 , v 2 , … , v l ) (u,v_{1},v_{2},\ldots,v_{l}) ( u , v 1 , v 2 , … , v l ) appears in G G G with probability λ l n l \frac{\lambda^{l}}{n^{l}} n l λ l . Moreover, conditioned on the path ( u , v 1 , v 2 , … , v l ) (u,v_{1},v_{2},\ldots,v_{l}) ( u , v 1 , v 2 , … , v l ) , we have
deg ( v l ) ∼ 1 + Binom ( n − 2 , λ / n ) . \deg(v_{l})\sim1+\operatorname{Binom}(n-2,\lambda/n). deg ( v l ) ∼ 1 + Binom ( n − 2 , λ / n ) .
This is because the path implies that v l − 1 v_{l-1} v l − 1 is a neighbor of v l v_{l} v l , while the edge between v l v_{l} v l and any other vertex in the graph appears independently with probability λ / n \lambda/n λ / n . From this argument, we know that
P ( the path ( u , v 1 , … , v l ) appears in G and deg ( v l ) > τ ) = ( λ n ) l P ( Binom ( n − 2 , λ n ) > τ − 1 ) ≤ ( λ n ) l P ( Binom ( n , λ n ) ≥ τ − 1 ) ≤ ( λ n ) l exp ( − 4 ( log n ) 2 / 5 ) . (134) \begin{aligned}
\mathbb{P}(\text{the path }(u,v_{1},\ldots,v_{l})\text{ appears in }G\text{ and }\deg(v_{l})>\tau)
&=\left(\frac{\lambda}{n}\right)^{l}\mathbb{P}\left(\operatorname{Binom}\left(n-2,\frac{\lambda}{n}\right)>\tau-1\right)\\
&\leq\left(\frac{\lambda}{n}\right)^{l}\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{\lambda}{n}\right)\geq\tau-1\right)\\
&\leq\left(\frac{\lambda}{n}\right)^{l}\exp\left(-4(\log n)^{2/5}\right). \tag*{(134)}
\end{aligned} P ( the path ( u , v 1 , … , v l ) appears in G and deg ( v l ) > τ ) = ( n λ ) l P ( Binom ( n − 2 , n λ ) > τ − 1 ) ≤ ( n λ ) l P ( Binom ( n , n λ ) ≥ τ − 1 ) ≤ ( n λ ) l exp ( − 4 ( log n ) 2/5 ) . (134)
Here the last inequality follows by the same argument as in (133) .
For each fixed l l l , there are at most n l n^{l} n l ways to choose the vertices v 1 , … , v l v_{1},\ldots,v_{l} v 1 , … , v l from the graph. Therefore, we can apply the union bound with (133) and (134) to obtain
P ( B A D u ) ≤ exp ( − 4 ( log n ) 2 / 5 ) + ∑ l = 1 d + 1 n l ( λ n ) l exp ( − 4 ( log n ) 2 / 5 ) \mathbb{P}(\mathrm{BAD}_{u})\leq\exp\left(-4(\log n)^{2/5}\right)+\sum_{l=1}^{d+1}n^{l}\left(\frac{\lambda}{n}\right)^{l}\exp\left(-4(\log n)^{2/5}\right) P ( BAD u ) ≤ exp ( − 4 ( log n ) 2/5 ) + l = 1 ∑ d + 1 n l ( n λ ) l exp ( − 4 ( log n ) 2/5 )
= ∑ l = 0 d + 1 λ l exp ( − 4 ( log n ) 2 / 5 ) ≤ λ d + 2 exp ( − 4 ( log n ) 2 / 5 ) (a) ≤ exp ( ( log n ) 1 / 3 + 3 ) log λ − 4 ( log n ) 2 / 5 (b) ≤ exp ( − 2 ( log n ) 2 / 5 ) . (135) \begin{aligned}
&= \sum_{l=0}^{d+1} \lambda^l \exp\left(-4(\log n)^{2/5}\right) \\
&\le\lambda^{d+2}\exp\left(-4(\log n)^{2/5}\right) \\
&\text{(a)}\quad\le\exp\left((\log n)^{1/3}+3\right)\log\lambda-4(\log n)^{2/5} \\
&\text{(b)}\quad\le\exp\left(-2(\log n)^{2/5}\right). \tag*{(135)}
\end{aligned} = l = 0 ∑ d + 1 λ l exp ( − 4 ( log n ) 2/5 ) ≤ λ d + 2 exp ( − 4 ( log n ) 2/5 ) (a) ≤ exp ( ( log n ) 1/3 + 3 ) log λ − 4 ( log n ) 2/5 (b) ≤ exp ( − 2 ( log n ) 2/5 ) . (135)
for all sufficiently large n n n , where (a) holds because d + 2 = ⌈ ( log n ) 1 / 3 ⌉ + 2 ≤ ( log n ) 1 / 3 + 3 d+2=\lceil(\log n)^{1/3}\rceil+2\le(\log n)^{1/3}+3 d + 2 = ⌈( log n ) 1/3 ⌉ + 2 ≤ ( log n ) 1/3 + 3 , and (b) holds because log λ = O ( log log n ) \log\lambda=O(\log\log n) log λ = O ( log log n ) .
Finally, using ∣ B ∣ = ∑ u ∈ V 1 { B A D u } |\mathcal{B}|=\sum_{u\in\mathcal{V}}\mathbb{1}\{\mathrm{BAD}_u\} ∣ B ∣ = ∑ u ∈ V 1 { BAD u } and linearity of expectation, (126) gives
E [ ∣ B ∣ ] = ∑ u ∈ V P ( B A D u ) ≤ n exp ( − 2 ( log n ) 2 / 5 ) , \mathbb{E}[|\mathcal{B}|]=\sum_{u\in\mathcal{V}}\mathbb{P}(\mathrm{BAD}_u)\le n\exp\left(-2(\log n)^{2/5}\right), E [ ∣ B ∣ ] = u ∈ V ∑ P ( BAD u ) ≤ n exp ( − 2 ( log n ) 2/5 ) ,
which completes the proof of (122).
Proof of the last inequality in (124): By (2), we have τ ≥ log n \tau\ge\sqrt{\log n} τ ≥ log n and τ ≥ λ ( 1 + 1 / log log n ) \tau\ge\lambda(1+1/\log\log n) τ ≥ λ ( 1 + 1/ log log n ) . Since τ ≥ log n ≥ 4 log log n \tau\ge\sqrt{\log n}\ge4\log\log n τ ≥ log n ≥ 4 log log n for all sufficiently large n n n , we have
( τ − 1 ) ( 1 + 1 log log n ) ≥ τ ( 1 + 1 log log n − 2 τ ) ≥ τ ( 1 + 1 2 log log n ) . (\tau-1)\left(1+\frac{1}{\log\log n}\right)\ge\tau\left(1+\frac{1}{\log\log n}-\frac{2}{\tau}\right)\ge\tau\left(1+\frac{1}{2\log\log n}\right). ( τ − 1 ) ( 1 + log log n 1 ) ≥ τ ( 1 + log log n 1 − τ 2 ) ≥ τ ( 1 + 2 log log n 1 ) .
Then it follows that
λ ≤ τ 1 + 1 / log log n ≤ τ − 1 1 + 1 / ( 2 log log n ) . \lambda\le\frac{\tau}{1+1/\log\log n}\le\frac{\tau-1}{1+1/(2\log\log n)}. λ ≤ 1 + 1/ log log n τ ≤ 1 + 1/ ( 2 log log n ) τ − 1 .
Hence, by the Chernoff bound (128) in Lemma 18,
P ( Binom ( n , λ n ) ≥ τ − 1 ) ≤ P ( Binom ( n , τ − 1 n ( 1 + 1 / ( 2 log log n ) ) ) ≥ τ − 1 ) ≤ exp ( − τ − 1 12 ( 1 + 1 / ( 2 log log n ) ) ( log log n ) 2 ) (c) ≤ exp ( − τ 48 ( log log n ) 2 ) (d) ≤ exp ( − 4 ( log n ) 2 / 5 ) , \begin{aligned}
\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{\lambda}{n}\right)\ge\tau-1\right)
&\le\mathbb{P}\left(\operatorname{Binom}\left(n,\frac{\tau-1}{n(1+1/(2\log\log n))}\right)\ge\tau-1\right) \\
&\le\exp\left(-\frac{\tau-1}{12(1+1/(2\log\log n))(\log\log n)^2}\right) \\
&\text{(c)}\quad\le\exp\left(-\frac{\tau}{48(\log\log n)^2}\right) \\
&\text{(d)}\quad\le\exp\left(-4(\log n)^{2/5}\right),
\end{aligned} P ( Binom ( n , n λ ) ≥ τ − 1 ) ≤ P ( Binom ( n , n ( 1 + 1/ ( 2 log log n )) τ − 1 ) ≥ τ − 1 ) ≤ exp ( − 12 ( 1 + 1/ ( 2 log log n )) ( log log n ) 2 τ − 1 ) (c) ≤ exp ( − 48 ( log log n ) 2 τ ) (d) ≤ exp ( − 4 ( log n ) 2/5 ) ,
where (c) holds because τ − 1 > τ / 2 \tau-1>\tau/2 τ − 1 > τ /2 and 1 + 1 / ( 2 log log n ) < 2 1+1/(2\log\log n)<2 1 + 1/ ( 2 log log n ) < 2 for large enough n n n , and (d) holds because τ ≥ log n \tau\ge\sqrt{\log n} τ ≥ log n . □ \square □
Concentration Inequalities and Poisson Approximations
This appendix collects the concentration inequalities and Poisson approximations used in the pre-coding appendices.
Concentration Inequalities
Lemma 17 (Bennett’s inequality [49 ] ). Suppose X 1 , … , X n X_1,\ldots,X_n X 1 , … , X n are independent random variables with finite second moments. Assume X i − E [ X i ] ≤ B X_i-\mathbb{E}[X_i]\le B X i − E [ X i ] ≤ B a.s. for each i ∈ [ n ] i\in[n] i ∈ [ n ] and some constant B > 0 B>0 B > 0 . Let V = ∑ i = 1 n E [ ( X i − E [ X i ] ) 2 ] V=\sum_{i=1}^{n}\mathbb{E}[(X_i-\mathbb{E}[X_i])^2] V = ∑ i = 1 n E [( X i − E [ X i ] ) 2 ] . Then, for every x ≥ 0 x\ge0 x ≥ 0 ,
P ( ∑ i = 1 n ( X i − E [ X i ] ) ≥ x ) ≤ exp ( − V B 2 ⋅ ϕ ( x B / V ) ) . \mathbb{P}\left(\sum_{i=1}^{n}(X_i-\mathbb{E}[X_i])\ge x\right)\le\exp\left(-\frac{V}{B^2}\cdot\phi(xB/V)\right). P ( i = 1 ∑ n ( X i − E [ X i ]) ≥ x ) ≤ exp ( − B 2 V ⋅ ϕ ( x B / V ) ) . where ϕ ( t ) : = ( 1 + t ) log ( 1 + t ) − t \phi(t):=(1+t)\log(1+t)-t ϕ ( t ) := ( 1 + t ) log ( 1 + t ) − t for $t\ge 0.
Lemma 18 (Chernoff bound for Binomial distribution [50 Theorems 20 and 21] ). Let X ∼ Bin ( n , p ) X\sim\operatorname{Bin}(n,p) X ∼ Bin ( n , p ) be a Binomial distribution with mean μ : = n p \mu:=np μ := n p . Then the following bounds hold.
(i) (Upper Tails). For any τ > μ \tau>\mu τ > μ ,
P ( X ≥ τ ) < ( e μ τ ) τ = exp ( τ ( 1 + log μ − log τ ) ) . (136) \mathbb{P}(X\ge\tau)<\left(\frac{e\mu}{\tau}\right)^\tau=\exp\left(\tau(1+\log\mu-\log\tau)\right). \tag*{(136)} P ( X ≥ τ ) < ( τ e μ ) τ = exp ( τ ( 1 + log μ − log τ ) ) . (136) For any δ ∈ ( 0 , 1 ] \delta\in(0,1] δ ∈ ( 0 , 1 ] ,
P ( X ≥ ( 1 + δ ) μ ) < exp ( − μ δ 2 3 ) . (137) \mathbb{P}(X\ge(1+\delta)\mu)<\exp\left(-\frac{\mu\delta^2}{3}\right). \tag*{(137)} P ( X ≥ ( 1 + δ ) μ ) < exp ( − 3 μ δ 2 ) . (137) (ii) (Lower Tail). For any δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) ,
P ( X ≤ ( 1 − δ ) μ ) ≤ exp ( − μ δ 2 2 ) . (138) \mathbb{P}(X\le(1-\delta)\mu)\le\exp\left(-\frac{\mu\delta^2}{2}\right). \tag*{(138)} P ( X ≤ ( 1 − δ ) μ ) ≤ exp ( − 2 μ δ 2 ) . (138)
Concentration Bounds on Tree Generation Size
Lemma 19. Let μ ≥ 2 \mu\ge2 μ ≥ 2 , and let H \mathcal{H} H be a Poisson Galton–Watson tree with offspring mean μ \mu μ . Let S l ( H ) S_l(\mathcal{H}) S l ( H ) be the set of nodes in the l l l -th generation of H \mathcal{H} H for l ∈ N l\in\mathbb{N} l ∈ N . Then for any constant C 2 > 1 C_2>1 C 2 > 1 ,
P ( ∣ S l ( H ) ∣ ≥ ( C 2 μ ) l ) ≤ exp ( − 1 4 C 2 l + 1 2 ) , (139) \mathbb{P}\left(|S_l(\mathcal{H})|\ge(C_2\mu)^l\right)\le\exp\left(-\frac{1}{4}C_2^l+\frac{1}{2}\right), \tag*{(139)} P ( ∣ S l ( H ) ∣ ≥ ( C 2 μ ) l ) ≤ exp ( − 4 1 C 2 l + 2 1 ) , (139) P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 μ l ) ≤ C 2 2 ( C 2 − 1 ) 2 ⋅ 1 μ − 1 . (140) \mathbb{P}\left(|S_l(\mathcal{H})|\le C_2^{-1}\mu^l\right)\le\frac{C_2^2}{(C_2-1)^2}\cdot\frac{1}{\mu-1}. \tag*{(140)} P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 μ l ) ≤ ( C 2 − 1 ) 2 C 2 2 ⋅ μ − 1 1 . (140)
Proof. We first set up the log-moment generating function of the generation sizes, and then prove the upper-tail bound (130) and the lower-tail bound (131) in turn.
For any fixed k ∈ [ l ] k\in[l] k ∈ [ l ] , each node in S k − 1 ( H ) S_{k-1}(\mathcal{H}) S k − 1 ( H ) has an independent Poi ( μ ) \operatorname{Poi}(\mu) Poi ( μ ) number of children. Hence, conditioned on ∣ S k − 1 ( H ) ∣ |S_{k-1}(\mathcal{H})| ∣ S k − 1 ( H ) ∣ , by the Poisson summation property,
∣ S k ( H ) ∣ ∼ Poi ( ∣ S k − 1 ( H ) ∣ μ ) . (141) |S_k(\mathcal{H})|\sim\operatorname{Poi}(|S_{k-1}(\mathcal{H})|\mu). \tag*{(141)} ∣ S k ( H ) ∣ ∼ Poi ( ∣ S k − 1 ( H ) ∣ μ ) . (141)
Define the log-moment generating function φ k ( t ) : = log E [ e t ∣ S k ( H ) ∣ ] \varphi_k(t):=\log\mathbb{E}\left[e^{t|S_k(\mathcal{H})|}\right] φ k ( t ) := log E [ e t ∣ S k ( H ) ∣ ] for all k ∈ [ l ] k\in[l] k ∈ [ l ] . Since ∣ S 0 ( H ) ∣ = 1 |S_0(\mathcal{H})|=1 ∣ S 0 ( H ) ∣ = 1 and ∣ S 1 ( H ) ∣ ∼ Poi ( μ ) |S_1(\mathcal{H})|\sim\operatorname{Poi}(\mu) ∣ S 1 ( H ) ∣ ∼ Poi ( μ ) , we have
φ 0 ( t ) = log E [ e t ∣ S 0 ( H ) ∣ ] = t , \varphi_0(t)=\log\mathbb{E}\left[e^{t|S_0(\mathcal{H})|}\right]=t, φ 0 ( t ) = log E [ e t ∣ S 0 ( H ) ∣ ] = t ,
φ 1 ( t ) = log E [ e t ∣ S 1 ( H ) ∣ ] = μ ( e t − 1 ) = μ ( e φ 0 ( t ) − 1 ) , \varphi_1(t)=\log\mathbb{E}\left[e^{t|S_1(\mathcal{H})|}\right]=\mu(e^t-1)=\mu\left(e^{\varphi_0(t)}-1\right), φ 1 ( t ) = log E [ e t ∣ S 1 ( H ) ∣ ] = μ ( e t − 1 ) = μ ( e φ 0 ( t ) − 1 ) ,
and for general 1 ≤ k ≤ l 1\le k\le l 1 ≤ k ≤ l , the tower property and (132) give
φ k ( t ) = log E [ e t ∣ S k ( H ) ∣ ] = log E [ E [ e t ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ ] ] = log E [ exp ( μ ⋅ ∣ S k − 1 ( H ) ∣ ⋅ ( e t − 1 ) ) ] = φ k − 1 ( μ ( e t − 1 ) ) . (142) \begin{aligned}
\varphi_k(t)=\log\mathbb{E}\left[e^{t|S_k(\mathcal{H})|}\right]=\log\mathbb{E}\left[\mathbb{E}\left[e^{t|S_k(\mathcal{H})|}\mid|S_{k-1}(\mathcal{H})|\right]\right] \\
&= \log\mathbb{E}\left[\exp\left(\mu\cdot\lvert S_{k-1}(\mathcal{H})\rvert\cdot(e^t-1)\right)\right]
= \varphi_{k-1}\left(\mu(e^t-1)\right). \tag*{(142)}
\end{aligned} φ k ( t ) = log E [ e t ∣ S k ( H ) ∣ ] = log E [ E [ e t ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ ] ] = log E [ exp ( μ ⋅ ∣ S k − 1 ( H )∣ ⋅ ( e t − 1 ) ) ] = φ k − 1 ( μ ( e t − 1 ) ) . (142)
Iterating (133) yields φ k = φ 1 ∘ ⋯ ∘ φ 1 ⏟ k t i m e s \varphi_k=\underbrace{\varphi_1\circ\cdots\circ\varphi_1}_{k\ \mathrm{times}} φ k = k times φ 1 ∘ ⋯ ∘ φ 1 , where ∘ \circ ∘ denotes composition. Separating the leftmost factor then gives
φ k ( t ) = φ 1 ( φ k − 1 ( t ) ) = μ ( e φ k − 1 ( t ) − 1 ) , 1 ≤ k ≤ l . (143) \varphi_k(t)=\varphi_1\left(\varphi_{k-1}(t)\right)=\mu\left(e^{\varphi_{k-1}(t)}-1\right),\qquad1\le k\le l. \tag*{(143)} φ k ( t ) = φ 1 ( φ k − 1 ( t ) ) = μ ( e φ k − 1 ( t ) − 1 ) , 1 ≤ k ≤ l . (143)
Proof of (130). By the Chernoff bound, for any t > 0 t>0 t > 0 ,
P ( ∣ S l ( H ) ∣ ≥ ( C 2 μ ) l ) ≤ exp ( − t ( C 2 μ ) l + φ l ( t ) ) . (144) \mathbb{P}\left(\lvert S_l(\mathcal{H})\rvert\ge(C_2\mu)^l\right)\le\exp\left(-t(C_2\mu)^l+\varphi_l(t)\right). \tag*{(144)} P ( ∣ S l ( H )∣ ≥ ( C 2 μ ) l ) ≤ exp ( − t ( C 2 μ ) l + φ l ( t ) ) . (144)
By choosing t = 1 4 μ l > 0 t=\frac{1}{4\mu^l}>0 t = 4 μ l 1 > 0 , we have
P ( ∣ S l ( H ) ∣ ≥ ( C 2 μ ) l ) ≤ exp ( − 1 4 μ l ( C 2 μ ) l + φ l ( 1 4 μ l ) ) = exp ( − 1 4 C 2 l + φ l ( 1 4 μ l ) ) . (145) \mathbb{P}\left(\lvert S_l(\mathcal{H})\rvert\ge(C_2\mu)^l\right)\le\exp\left(-\frac{1}{4\mu^l}(C_2\mu)^l+\varphi_l\left(\frac{1}{4\mu^l}\right)\right)=\exp\left(-\frac{1}{4}C_2^l+\varphi_l\left(\frac{1}{4\mu^l}\right)\right). \tag*{(145)} P ( ∣ S l ( H )∣ ≥ ( C 2 μ ) l ) ≤ exp ( − 4 μ l 1 ( C 2 μ ) l + φ l ( 4 μ l 1 ) ) = exp ( − 4 1 C 2 l + φ l ( 4 μ l 1 ) ) . (145)
To prove (130), it suffices to show that
φ l ( 1 4 μ l ) ≤ 1 2 . (146) \varphi_l\left(\frac{1}{4\mu^l}\right)\le\frac{1}{2}. \tag*{(146)} φ l ( 4 μ l 1 ) ≤ 2 1 . (146)
since substituting (137) into (136) then proves (130).
Proof of (137): Since μ ≥ 2 \mu\ge2 μ ≥ 2 ,
∏ j = 1 ∞ ( 1 + 1 2 μ j ) ≤ exp ( ∑ j = 1 ∞ 1 2 μ j ) = exp ( 1 2 ( μ − 1 ) ) ≤ e 1 / 2 , (147) \prod_{j=1}^{\infty}\left(1+\frac{1}{2\mu^j}\right)\le\exp\left(\sum_{j=1}^{\infty}\frac{1}{2\mu^j}\right)=\exp\left(\frac{1}{2(\mu-1)}\right)\le e^{1/2}, \tag*{(147)} j = 1 ∏ ∞ ( 1 + 2 μ j 1 ) ≤ exp ( j = 1 ∑ ∞ 2 μ j 1 ) = exp ( 2 ( μ − 1 ) 1 ) ≤ e 1/2 , (147)
where the first inequality uses 1 + x ≤ e x 1+x\le e^x 1 + x ≤ e x and the last uses μ ≥ 2 \mu\ge2 μ ≥ 2 . We now prove by induction on k = 0 , 1 , … , l k=0,1,\ldots,l k = 0 , 1 , … , l that
φ k ( 1 4 μ l ) ≤ 1 4 μ l − k ∏ j = l − k + 1 l ( 1 + 1 2 μ j ) . (148) \varphi_k\left(\frac{1}{4\mu^l}\right)\le\frac{1}{4\mu^{l-k}}\prod_{j=l-k+1}^{l}\left(1+\frac{1}{2\mu^j}\right). \tag*{(148)} φ k ( 4 μ l 1 ) ≤ 4 μ l − k 1 j = l − k + 1 ∏ l ( 1 + 2 μ j 1 ) . (148)
For the base case k = 0 k=0 k = 0 , the product is empty and (139) holds since φ 0 ( 1 4 μ l ) = 1 4 μ l \varphi_0\left(\frac{1}{4\mu^l}\right)=\frac{1}{4\mu^l} φ 0 ( 4 μ l 1 ) = 4 μ l 1 . Now assume (139) holds for k − 1 k-1 k − 1 . Bounding the partial product by (138), the induction hypothesis gives
φ k − 1 ( 1 4 μ l ) ≤ 1 μ l − k + 1 ⋅ e 1 / 2 4 ≤ 1 2 μ l − k + 1 ≤ 1 2 , (149) \varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\le\frac{1}{\mu^{l-k+1}}\cdot\frac{e^{1/2}}{4}\le\frac{1}{2\mu^{l-k+1}}\le\frac{1}{2}, \tag*{(149)} φ k − 1 ( 4 μ l 1 ) ≤ μ l − k + 1 1 ⋅ 4 e 1/2 ≤ 2 μ l − k + 1 1 ≤ 2 1 , (149)
where the second inequality uses e 1 / 2 4 ≤ 1 2 \frac{e^{1/2}}{4}\le\frac{1}{2} 4 e 1/2 ≤ 2 1 and the third uses μ l − k + 1 ≥ μ ≥ 2 \mu^{l-k+1}\ge\mu\ge2 μ l − k + 1 ≥ μ ≥ 2 . Moreover, since ∣ S k − 1 ( H ) ∣ ≥ 0 \lvert S_{k-1}(\mathcal{H})\rvert\ge0 ∣ S k − 1 ( H )∣ ≥ 0 , we have
φ k − 1 ( 1 4 μ l ) = log E [ e 1 4 μ l ∣ S k − 1 ( H ) ∣ ] ≥ 0 , \varphi_{k-1}\left(\frac{1}{4\mu^l}\right)=\log\mathbb{E}\left[e^{\frac{1}{4\mu^l}\lvert S_{k-1}(\mathcal{H})\rvert}\right]\ge0, φ k − 1 ( 4 μ l 1 ) = log E [ e 4 μ l 1 ∣ S k − 1 ( H )∣ ] ≥ 0 ,
and thus φ k − 1 ( 1 4 μ l ) ∈ [ 0 , 1 2 ] \varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\in\left[0,\frac{1}{2}\right] φ k − 1 ( 4 μ l 1 ) ∈ [ 0 , 2 1 ] . By (134), we have
φ k ( 1 4 μ l ) = μ ( e φ k − 1 ( 1 4 μ l ) − 1 ) ≤ μ φ k − 1 ( 1 4 μ l ) ( 1 + φ k − 1 ( 1 4 μ l ) ) ≤ μ φ k − 1 ( 1 4 μ l ) ( 1 + 1 2 μ l − k + 1 ) , \begin{aligned}
\varphi_k\left(\frac{1}{4\mu^l}\right)=\mu\left(e^{\varphi_{k-1}\left(\frac{1}{4\mu^l}\right)}-1\right)\le\mu\varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\left(1+\varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\right) \\
&\le\mu\varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\left(1+\frac{1}{2\mu^{l-k+1}}\right),
\end{aligned} φ k ( 4 μ l 1 ) = μ ( e φ k − 1 ( 4 μ l 1 ) − 1 ) ≤ μ φ k − 1 ( 4 μ l 1 ) ( 1 + φ k − 1 ( 4 μ l 1 ) ) ≤ μ φ k − 1 ( 4 μ l 1 ) ( 1 + 2 μ l − k + 1 1 ) ,
where the first inequality holds by applying x = φ k − 1 ( 1 4 μ l ) x=\varphi_{k-1}\left(\frac{1}{4\mu^l}\right) x = φ k − 1 ( 4 μ l 1 ) to the inequality e x − 1 ≤ x ( 1 + x ) e^x-1\le x(1+x) e x − 1 ≤ x ( 1 + x ) for x ∈ [ 0 , 1 2 ] x\in\left[0,\frac{1}{2}\right] x ∈ [ 0 , 2 1 ] , and the last inequality uses φ k − 1 ( 1 4 μ l ) ≤ 1 2 μ l − k + 1 \varphi_{k-1}\left(\frac{1}{4\mu^l}\right)\le\frac{1}{2\mu^{l-k+1}} φ k − 1 ( 4 μ l 1 ) ≤ 2 μ l − k + 1 1 in (140). Substituting the induction hypothesis (139) for the remaining factor φ k − 1 ( 1 4 μ l ) \varphi_{k-1}\left(\frac{1}{4\mu^l}\right) φ k − 1 ( 4 μ l 1 ) gives
φ k ( 1 4 μ l ) ≤ μ ⋅ 1 μ l − k + 1 ⋅ 1 4 ∏ j = l − k + 2 l ( 1 + 1 2 μ j ) ⋅ ( 1 + 1 2 μ l − k + 1 ) = 1 μ l − k ⋅ 1 4 ∏ j = l − k + 1 l ( 1 + 1 2 μ j ) , \varphi_k\left(\frac{1}{4\mu^l}\right)\le\mu\cdot\frac{1}{\mu^{l-k+1}}\cdot\frac{1}{4}\prod_{j=l-k+2}^{l}\left(1+\frac{1}{2\mu^j}\right)\cdot\left(1+\frac{1}{2\mu^{l-k+1}}\right)=\frac{1}{\mu^{l-k}}\cdot\frac{1}{4}\prod_{j=l-k+1}^{l}\left(1+\frac{1}{2\mu^j}\right), φ k ( 4 μ l 1 ) ≤ μ ⋅ μ l − k + 1 1 ⋅ 4 1 j = l − k + 2 ∏ l ( 1 + 2 μ j 1 ) ⋅ ( 1 + 2 μ l − k + 1 1 ) = μ l − k 1 ⋅ 4 1 j = l − k + 1 ∏ l ( 1 + 2 μ j 1 ) ,
which completes the induction on k k k for (139). Taking k = l k=l k = l in (139) and applying (138) yields
φ l ( 1 4 μ l ) ≤ 1 4 ∏ j = 1 l ( 1 + 1 2 μ j ) ≤ e 1 / 2 4 ≤ 1 2 , \varphi_l\left(\frac{1}{4\mu^l}\right)\le\frac{1}{4}\prod_{j=1}^{l}\left(1+\frac{1}{2\mu^j}\right)\le\frac{e^{1/2}}{4}\le\frac{1}{2}, φ l ( 4 μ l 1 ) ≤ 4 1 j = 1 ∏ l ( 1 + 2 μ j 1 ) ≤ 4 e 1/2 ≤ 2 1 ,
which proves (137).
Proof of (131). Since H \mathcal{H} H is a Poisson Galton–Watson tree with offspring mean μ \mu μ , equation (132) gives E [ ∣ S k ( H ) ∣ ] = μ E [ ∣ S k − 1 ( H ) ∣ ] \mathbb{E}[|S_k(\mathcal{H})|]=\mu\mathbb{E}[|S_{k-1}(\mathcal{H})|] E [ ∣ S k ( H ) ∣ ] = μ E [ ∣ S k − 1 ( H ) ∣ ] for each k ∈ [ l ] k\in[l] k ∈ [ l ] , so E [ ∣ S l ( H ) ∣ ] = μ l \mathbb{E}[|S_l(\mathcal{H})|]=\mu^l E [ ∣ S l ( H ) ∣ ] = μ l since ∣ S 0 ( H ) ∣ = 1 |S_0(\mathcal{H})|=1 ∣ S 0 ( H ) ∣ = 1 . Also Var ( ∣ S 0 ( H ) ∣ ) = 0 \operatorname{Var}(|S_0(\mathcal{H})|)=0 Var ( ∣ S 0 ( H ) ∣ ) = 0 , and for each k ∈ [ l ] k\in[l] k ∈ [ l ] , by the law of total variance and (132),
Var ( ∣ S k ( H ) ∣ ) = E [ Var ( ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ ) ] + Var ( E [ ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ ] ) = μ E [ ∣ S k − 1 ( H ) ∣ ] + μ 2 Var ( ∣ S k − 1 ( H ) ∣ ) , \begin{aligned}
\operatorname{Var}(|S_k(\mathcal{H})|)=\mathbb{E}[\operatorname{Var}(|S_k(\mathcal{H})|\mid|S_{k-1}(\mathcal{H})|)]+\operatorname{Var}(\mathbb{E}[|S_k(\mathcal{H})|\mid|S_{k-1}(\mathcal{H})|]) \\
&=\mu\mathbb{E}[|S_{k-1}(\mathcal{H})|]+\mu^2\operatorname{Var}(|S_{k-1}(\mathcal{H})|),
\end{aligned} Var ( ∣ S k ( H ) ∣ ) = E [ Var ( ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ )] + Var ( E [ ∣ S k ( H ) ∣ ∣ ∣ S k − 1 ( H ) ∣ ]) = μ E [ ∣ S k − 1 ( H ) ∣ ] + μ 2 Var ( ∣ S k − 1 ( H ) ∣ ) ,
where the second equality uses (132), under which the conditional variance and mean of ∣ S k ( H ) ∣ |S_k(\mathcal{H})| ∣ S k ( H ) ∣ both equal μ ∣ S k − 1 ( H ) ∣ \mu|S_{k-1}(\mathcal{H})| μ ∣ S k − 1 ( H ) ∣ . Induction on k ∈ [ l ] k\in[l] k ∈ [ l ] then gives Var ( ∣ S l ( H ) ∣ ) = μ l ⋅ μ l − 1 μ − 1 \operatorname{Var}(|S_l(\mathcal{H})|)=\mu^l\cdot\frac{\mu^l-1}{\mu-1} Var ( ∣ S l ( H ) ∣ ) = μ l ⋅ μ − 1 μ l − 1 . Hence, by Chebyshev’s inequality,
P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 μ l ) = P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 E [ ∣ S l ( H ) ∣ ] ) ≤ P ( ∣ ∣ S l ( H ) ∣ − E [ ∣ S l ( H ) ∣ ] ∣ ≥ ( 1 − C 2 − 1 ) E [ ∣ S l ( H ) ∣ ] ) ≤ Var ( ∣ S l ( H ) ∣ ) ( 1 − C 2 − 1 ) 2 ( E [ ∣ S l ( H ) ∣ ] ) 2 ≤ C 2 2 ( C 2 − 1 ) 2 ⋅ 1 μ − 1 , \begin{aligned}
\mathbb{P}(|S_l(\mathcal{H})|\le C_2^{-1}\mu^l)=\mathbb{P}(|S_l(\mathcal{H})|\le C_2^{-1}\mathbb{E}[|S_l(\mathcal{H})|]) \\
&\le\mathbb{P}(\lvert|S_l(\mathcal{H})|-\mathbb{E}[|S_l(\mathcal{H})|]\rvert\ge(1-C_2^{-1})\mathbb{E}[|S_l(\mathcal{H})|]) \\
&\le\frac{\operatorname{Var}(|S_l(\mathcal{H})|)}{(1-C_2^{-1})^2(\mathbb{E}[|S_l(\mathcal{H})|])^2}\le\frac{C_2^2}{(C_2-1)^2}\cdot\frac{1}{\mu-1},
\end{aligned} P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 μ l ) = P ( ∣ S l ( H ) ∣ ≤ C 2 − 1 E [ ∣ S l ( H ) ∣ ]) ≤ P (∣ ∣ S l ( H ) ∣ − E [ ∣ S l ( H ) ∣ ]∣ ≥ ( 1 − C 2 − 1 ) E [ ∣ S l ( H ) ∣ ]) ≤ ( 1 − C 2 − 1 ) 2 ( E [ ∣ S l ( H ) ∣ ] ) 2 Var ( ∣ S l ( H ) ∣ ) ≤ ( C 2 − 1 ) 2 C 2 2 ⋅ μ − 1 1 ,
where the last inequality uses μ l − 1 μ l ≤ 1 \frac{\mu^l-1}{\mu^l}\le1 μ l μ l − 1 ≤ 1 . This proves (131). □
Poisson Approximation
Lemma 20 (Lemma 22 in [41 ] ). Let n ∈ N + n\in\mathbb{N}^+ n ∈ N + , μ ∈ R + \mu\in\mathbb{R}^+ μ ∈ R + and x , y ∈ N x,y\in\mathbb{N} x , y ∈ N be such that x < n x<n x < n and y ≤ n − x y\le n-x y ≤ n − x . Then we have
P ( Binom ( n − x , μ / n ) = y ) P ( Poi ( μ ) = y ) ≤ exp ( μ n ( x + y ) ) . \frac{\mathbb{P}(\operatorname{Binom}(n-x,\mu/n)=y)}{\mathbb{P}(\operatorname{Poi}(\mu)=y)}\le\exp\left(\frac{\mu}{n}(x+y)\right). P ( Poi ( μ ) = y ) P ( Binom ( n − x , μ / n ) = y ) ≤ exp ( n μ ( x + y ) ) .
Lemma 21. If m m m and n n n are positive integers such that m ≤ n m\le n m ≤ n and μ \mu μ is a positive real number, then
d T V ( Binom ( m , μ n ) , Poi ( μ ) ) ≤ μ 2 + ( n − m ) μ n . d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m,\frac{\mu}{n}\right),\operatorname{Poi}(\mu)\right)\le\frac{\mu^2+(n-m)\mu}{n}. d TV ( Binom ( m , n μ ) , Poi ( μ ) ) ≤ n μ 2 + ( n − m ) μ .
Proof. By the triangle inequality, we have
d T V ( Binom ( m , μ n ) , Poi ( μ ) ) ≤ d T V ( Binom ( m , μ n ) , Poi ( m μ n ) ) + d T V ( Poi ( μ ) , Poi ( m μ n ) ) , d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m,\frac{\mu}{n}\right),\operatorname{Poi}(\mu)\right)
\le d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m,\frac{\mu}{n}\right),\operatorname{Poi}\left(\frac{m\mu}{n}\right)\right)+d_{\mathrm{TV}}\left(\operatorname{Poi}(\mu),\operatorname{Poi}\left(\frac{m\mu}{n}\right)\right), d TV ( Binom ( m , n μ ) , Poi ( μ ) ) ≤ d TV ( Binom ( m , n μ ) , Poi ( n m μ ) ) + d TV ( Poi ( μ ) , Poi ( n m μ ) ) ,
and it suffices to bound these two total variation distances separately. It follows by the classic Poisson approximation of binomial random variables (see for example [51 ] ) that
d T V ( Binom ( m , μ n ) , Poi ( m μ n ) ) ≤ m μ 2 n 2 ≤ μ 2 n . (150) d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m,\frac{\mu}{n}\right),\operatorname{Poi}\left(\frac{m\mu}{n}\right)\right)\le\frac{m\mu^2}{n^2}\le\frac{\mu^2}{n}. \tag*{(150)} d TV ( Binom ( m , n μ ) , Poi ( n m μ ) ) ≤ n 2 m μ 2 ≤ n μ 2 . (150)
On the other hand, for a random variable X ∼ Poi ( μ ) X\sim\operatorname{Poi}(\mu) X ∼ Poi ( μ ) , we can write X = Y + Z X=Y+Z X = Y + Z , where Y ∼ Poi ( m μ / n ) Y\sim\operatorname{Poi}(m\mu/n) Y ∼ Poi ( m μ / n ) and Z ∼ Poi ( μ − m μ / n ) Z\sim\operatorname{Poi}(\mu-m\mu/n) Z ∼ Poi ( μ − m μ / n ) are two independent Poisson random variables. We then have
d T V ( Poi ( μ ) , Poi ( m μ n ) ) ≤ P ( X ≠ Y ) = P ( Z ≠ 0 ) = 1 − exp ( − μ + m μ n ) ≤ ( n − m ) μ n . (151) d_{\mathrm{TV}}\left(\operatorname{Poi}(\mu),\operatorname{Poi}\left(\frac{m\mu}{n}\right)\right)\le\mathbb{P}(X\ne Y)=\mathbb{P}(Z\ne0)=1-\exp\left(-\mu+\frac{m\mu}{n}\right)\le\frac{(n-m)\mu}{n}. \tag*{(151)} d TV ( Poi ( μ ) , Poi ( n m μ ) ) ≤ P ( X = Y ) = P ( Z = 0 ) = 1 − exp ( − μ + n m μ ) ≤ n ( n − m ) μ . (151)
Equations (150) and (151) together imply the desired inequality. □
Lemma 22. Let m m m and n n n be two positive integers satisfying m ≤ n m\le n m ≤ n and n − m = o ( n / λ ) n-m=o(n/\lambda) n − m = o ( n / λ ) . Let s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] be a constant. Suppose λ = ( log n ) O ( 1 ) \lambda=(\log n)^{O(1)} λ = ( log n ) O ( 1 ) . Consider random variables
( X 1 , X 2 , X 3 , X 4 ) ∼ Multi ( m , λ s n , λ ( 1 − s ) n , λ ( 1 − s ) n , 1 − ( 2 − s ) λ n ) , (X_1,X_2,X_3,X_4)\sim\operatorname{Multi}\left(m,\frac{\lambda s}{n},\frac{\lambda(1-s)}{n},\frac{\lambda(1-s)}{n},1-\frac{(2-s)\lambda}{n}\right), ( X 1 , X 2 , X 3 , X 4 ) ∼ Multi ( m , n λ s , n λ ( 1 − s ) , n λ ( 1 − s ) , 1 − n ( 2 − s ) λ ) , and three independent Poisson random variables X 1 ′ ∼ Poi ( λ s ) X'_1\sim\operatorname{Poi}(\lambda s) X 1 ′ ∼ Poi ( λ s ) , X 2 ′ ∼ Poi ( λ ( 1 − s ) ) X'_2\sim\operatorname{Poi}(\lambda(1-s)) X 2 ′ ∼ Poi ( λ ( 1 − s )) and X 3 ′ ∼ Poi ( λ ( 1 − s ) ) X'_3\sim\operatorname{Poi}(\lambda(1-s)) X 3 ′ ∼ Poi ( λ ( 1 − s )) . Then we have
d T V ( L ( X 1 , X 2 , X 3 ) , L ( X 1 ′ , X 2 ′ , X 3 ′ ) ) = O ( ( n − m ) λ + n 1 / 4 n ) . (152) d_{\mathrm{TV}}\left(\mathcal{L}(X_1,X_2,X_3),\mathcal{L}(X'_1,X'_2,X'_3)\right)=O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). \tag*{(152)} d TV ( L ( X 1 , X 2 , X 3 ) , L ( X 1 ′ , X 2 ′ , X 3 ′ ) ) = O ( n ( n − m ) λ + n 1/4 ) . (152) Proof. First assume s = 1 s=1 s = 1 . In this case, (152) simply follows by Lemma 21. We assume s < 1 s<1 s < 1 in the rest of the proof.
By the definition of the multinomial distribution, random variables X 1 , X 2 , X 3 X_1,X_2,X_3 X 1 , X 2 , X 3 can be sampled in a sequential manner:
Sample X 1 ∼ Binom ( m , λ s / n ) X_1\sim\operatorname{Binom}(m,\lambda s/n) X 1 ∼ Binom ( m , λ s / n ) .
Given X 1 X_1 X 1 , sample X 2 ∼ Binom ( m − X 1 , λ ( 1 − s ) n − λ s ) X_2\sim\operatorname{Binom}\left(m-X_1,\frac{\lambda(1-s)}{n-\lambda s}\right) X 2 ∼ Binom ( m − X 1 , n − λ s λ ( 1 − s ) ) .
Given X 1 X_1 X 1 and X 2 X_2 X 2 , sample X 3 ∼ Binom ( m − X 1 − X 2 , λ ( 1 − s ) n − λ ) X_3\sim\operatorname{Binom}\left(m-X_1-X_2,\frac{\lambda(1-s)}{n-\lambda}\right) X 3 ∼ Binom ( m − X 1 − X 2 , n − λ λ ( 1 − s ) ) .
By Lemma 21, we can couple X 1 X_1 X 1 and X 1 ′ X'_1 X 1 ′ such that under the coupling,
P ( X 1 ≠ X 1 ′ ) ≤ λ 2 s 2 + ( n − m ) λ s n = O ( ( n − m ) λ + n 1 / 4 n ) , (153) \mathbb{P}(X_1\ne X'_1)\le\frac{\lambda^2s^2+(n-m)\lambda s}{n}=O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right), \tag*{(153)} P ( X 1 = X 1 ′ ) ≤ n λ 2 s 2 + ( n − m ) λ s = O ( n ( n − m ) λ + n 1/4 ) , (153) because λ = O ( n 1 / 8 ) \lambda=O(n^{1/8}) λ = O ( n 1/8 ) . By the Chernoff bound (equation (136) in Lemma 18), we know that
P ( X 1 > n 1 / 8 ) < exp ( n 1 / 8 ( 1 + log λ s m n − 1 8 log n ) ) = n − ω ( 1 ) , (154) \mathbb{P}(X_1>n^{1/8})<\exp\left(n^{1/8}\left(1+\log\frac{\lambda s m}{n}-\frac{1}{8}\log n\right)\right)=n^{-\omega(1)}, \tag*{(154)} P ( X 1 > n 1/8 ) < exp ( n 1/8 ( 1 + log n λ s m − 8 1 log n ) ) = n − ω ( 1 ) , (154)
where the last equality follows because log λ s m n = O ( log λ ) = O ( log log n ) \log\frac{\lambda s m}{n}=O(\log\lambda)=O(\log\log n) log n λ s m = O ( log λ ) = O ( log log n ) .
Conditioned on the event { X 1 = X 1 ′ = x } \{X_1=X'_1=x\} { X 1 = X 1 ′ = x } , we have
X 2 ∼ Binom ( m − x , λ ( 1 − s ) n − λ s ) , X_2 \sim\operatorname{Binom}\left(m-x,\frac{\lambda(1-s)}{n-\lambda s}\right), X 2 ∼ Binom ( m − x , n − λ s λ ( 1 − s ) ) ,
and
X 2 ′ ∼ Poi ( λ ( 1 − s ) ) . X'_2 \sim\operatorname{Poi}(\lambda(1-s)). X 2 ′ ∼ Poi ( λ ( 1 − s )) .
We can couple these two random variables such that
P ( X 2 ≠ X 2 ′ ∣ X 1 = X 1 ′ = x ) ≤ d T V ( Binom ( m − x , λ ( 1 − s ) n − λ s ) , Poi ( λ ( 1 − s ) ) ) ≤ d T V ( Binom ( m − x , λ ( 1 − s ) n − λ s ) , Poi ( λ ( 1 − s ) ( m − x ) n − λ s ) ) + d T V ( Poi ( λ ( 1 − s ) ) , Poi ( λ ( 1 − s ) ( m − x ) n − λ s ) ) ≤ ( m − x ) λ 2 ( 1 − s ) 2 ( n − λ s ) 2 + ∣ λ ( 1 − s ) − λ ( 1 − s ) ( m − x ) n − λ s ∣ , (155) \begin{aligned}
\mathbb{P}(X_2\ne X'_2\mid X_1=X'_1=x)
&\le d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m-x,\frac{\lambda(1-s)}{n-\lambda s}\right),\operatorname{Poi}(\lambda(1-s))\right)\\
&\le d_{\mathrm{TV}}\left(\operatorname{Binom}\left(m-x,\frac{\lambda(1-s)}{n-\lambda s}\right),\operatorname{Poi}\left(\frac{\lambda(1-s)(m-x)}{n-\lambda s}\right)\right)\\
&\quad+d_{\mathrm{TV}}\left(\operatorname{Poi}(\lambda(1-s)),\operatorname{Poi}\left(\frac{\lambda(1-s)(m-x)}{n-\lambda s}\right)\right)\\
&\le\frac{(m-x)\lambda^2(1-s)^2}{(n-\lambda s)^2}+\left|\lambda(1-s)-\frac{\lambda(1-s)(m-x)}{n-\lambda s}\right|, \tag*{(155)}
\end{aligned} P ( X 2 = X 2 ′ ∣ X 1 = X 1 ′ = x ) ≤ d TV ( Binom ( m − x , n − λ s λ ( 1 − s ) ) , Poi ( λ ( 1 − s )) ) ≤ d TV ( Binom ( m − x , n − λ s λ ( 1 − s ) ) , Poi ( n − λ s λ ( 1 − s ) ( m − x ) ) ) + d TV ( Poi ( λ ( 1 − s )) , Poi ( n − λ s λ ( 1 − s ) ( m − x ) ) ) ≤ ( n − λ s ) 2 ( m − x ) λ 2 ( 1 − s ) 2 + λ ( 1 − s ) − n − λ s λ ( 1 − s ) ( m − x ) , (155)
where the last inequality follows by (150) and (151) in the proof of Lemma 21.
Under the assumption that x ≤ n 1 / 8 x\le n^{1/8} x ≤ n 1/8 , we further have
( m − x ) λ 2 ( 1 − s ) 2 ( n − λ s ) 2 = O ( n 1 / 4 n ) . \frac{(m-x)\lambda^2(1-s)^2}{(n-\lambda s)^2}=O\left(\frac{n^{1/4}}{n}\right). ( n − λ s ) 2 ( m − x ) λ 2 ( 1 − s ) 2 = O ( n n 1/4 ) .
and
∣ λ ( 1 − s ) − λ ( 1 − s ) ( m − x ) n − λ s ∣ = ∣ λ ( 1 − s ) ( n − m − λ s + x ) n − λ s ∣ = O ( ( n − m ) λ + n 1 / 4 n ) . \left|\lambda(1-s)-\frac{\lambda(1-s)(m-x)}{n-\lambda s}\right|=\left|\frac{\lambda(1-s)(n-m-\lambda s+x)}{n-\lambda s}\right|=O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). λ ( 1 − s ) − n − λ s λ ( 1 − s ) ( m − x ) = n − λ s λ ( 1 − s ) ( n − m − λ s + x ) = O ( n ( n − m ) λ + n 1/4 ) .
So the right-hand side of (155) is equal to
O ( ( n − m ) λ + n 1 / 4 n ) . O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). O ( n ( n − m ) λ + n 1/4 ) .
This implies that conditioned on events { X 1 = X 1 ′ } \{X_1=X'_1\} { X 1 = X 1 ′ } and { X 1 ≤ n 1 / 8 } \{X_1\le n^{1/8}\} { X 1 ≤ n 1/8 } , we can couple X 2 X_2 X 2 and X 2 ′ X'_2 X 2 ′ so that
P ( X 2 ≠ X 2 ′ ∣ X 1 = X 1 ′ , X 1 ≤ n 1 / 8 ) = O ( ( n − m ) λ + n 1 / 4 n ) . (156) \mathbb{P}(X_2\ne X'_2\mid X_1=X'_1,X_1\le n^{1/8})=O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). \tag*{(156)} P ( X 2 = X 2 ′ ∣ X 1 = X 1 ′ , X 1 ≤ n 1/8 ) = O ( n ( n − m ) λ + n 1/4 ) . (156)
We can apply the Chernoff bound (equation (136) in Lemma 18 ) to get
P ( X 2 > n 1 / 8 ∣ X 1 = X 1 ′ , X 1 ≤ n 1 / 8 ) = n − ω ( 1 ) . (157) \mathbb{P}(X_2>n^{1/8}\mid X_1=X'_1,X_1\le n^{1/8})=n^{-\omega(1)}. \tag*{(157)} P ( X 2 > n 1/8 ∣ X 1 = X 1 ′ , X 1 ≤ n 1/8 ) = n − ω ( 1 ) . (157)
Conditioned on events { X 1 = X 1 ′ = x } \{X_1=X'_1=x\} { X 1 = X 1 ′ = x } and { X 2 = X 2 ′ = y } \{X_2=X'_2=y\} { X 2 = X 2 ′ = y } , we have
X 3 ∼ Binom ( m − x − y , λ ( 1 − s ) n − λ ) , X_3\sim\operatorname{Binom}\left(m-x-y,\frac{\lambda(1-s)}{n-\lambda}\right), X 3 ∼ Binom ( m − x − y , n − λ λ ( 1 − s ) ) ,
and
X 3 ′ ∼ Poi ( λ ( 1 − s ) ) . X'_3 \sim\operatorname{Poi}(\lambda(1-s)). X 3 ′ ∼ Poi ( λ ( 1 − s )) .
Similarly to (146), we can couple these two random variables so that
P ( X 3 ≠ X 3 ′ ∣ X 1 = X 1 ′ = x , X 2 = X 2 ′ = y ) ≤ ( m − x − y ) λ 2 ( 1 − s ) 2 ( n − λ ) 2 + ∣ λ ( 1 − s ) − λ ( 1 − s ) ( m − x − y ) n − λ ∣ . (158) \mathbb{P}(X_3 \ne X'_3 \mid X_1 = X'_1 = x, X_2 = X'_2 = y) \le\frac{(m-x-y)\lambda^2(1-s)^2}{(n-\lambda)^2}+\left\lvert\lambda(1-s)-\frac{\lambda(1-s)(m-x-y)}{n-\lambda}\right\rvert. \tag*{(158)} P ( X 3 = X 3 ′ ∣ X 1 = X 1 ′ = x , X 2 = X 2 ′ = y ) ≤ ( n − λ ) 2 ( m − x − y ) λ 2 ( 1 − s ) 2 + λ ( 1 − s ) − n − λ λ ( 1 − s ) ( m − x − y ) . (158)
Under the assumptions x ≤ n 1 / 8 x \le n^{1/8} x ≤ n 1/8 and y ≤ n 1 / 8 y \le n^{1/8} y ≤ n 1/8 , the right-hand side of (158) is
O ( ( n − m ) λ + n 1 / 4 n ) . O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). O ( n ( n − m ) λ + n 1/4 ) .
This implies that conditioned on events { X 1 = X 1 ′ } \{X_1 = X'_1\} { X 1 = X 1 ′ } , { X 1 ≤ n 1 / 8 } \{X_1 \le n^{1/8}\} { X 1 ≤ n 1/8 } , { X 2 = X 2 ′ } \{X_2 = X'_2\} { X 2 = X 2 ′ } and { X 2 ≤ n 1 / 8 } \{X_2 \le n^{1/8}\} { X 2 ≤ n 1/8 } , we can further couple X 3 X_3 X 3 with X 3 ′ X'_3 X 3 ′ such that
P ( X 3 ≠ X 3 ′ ∣ X 1 = X 1 ′ , X 2 = X 2 ′ , X 1 ≤ n 1 / 8 , X 2 ≤ n 1 / 8 ) = O ( ( n − m ) λ + n 1 / 4 n ) . (159) \mathbb{P}(X_3 \ne X'_3 \mid X_1 = X'_1, X_2 = X'_2, X_1 \le n^{1/8}, X_2 \le n^{1/8}) = O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right). \tag*{(159)} P ( X 3 = X 3 ′ ∣ X 1 = X 1 ′ , X 2 = X 2 ′ , X 1 ≤ n 1/8 , X 2 ≤ n 1/8 ) = O ( n ( n − m ) λ + n 1/4 ) . (159)
Finally, putting (144), (145), (147), (148) and (150) yields that we can couple ( X 1 , X 2 , X 3 ) (X_1,X_2,X_3) ( X 1 , X 2 , X 3 ) and ( X 1 ′ , X 2 ′ , X 3 ′ ) (X'_1,X'_2,X'_3) ( X 1 ′ , X 2 ′ , X 3 ′ ) such that
P ( X 1 = X 1 ′ , X 2 = X 2 ′ , X 3 = X 3 ′ ) ≥ P ( X 1 = X 1 ′ , X 2 = X 2 ′ , X 3 = X 3 ′ , X 1 ≤ n 1 / 8 , X 2 ≤ n 1 / 8 ) ≥ 1 − P ( X 1 ≠ X 1 ′ ) − P ( X 1 > n 1 / 8 ) − P ( X 2 ≠ X 2 ′ ∣ X 1 = X 1 ′ , X 1 ≤ n 1 / 8 ) − P ( X 2 > n 1 / 8 ∣ X 1 = X 1 ′ , X 1 ≤ n 1 / 8 ) − P ( X 3 ≠ X 3 ′ ∣ X 1 = X 1 ′ , X 2 = X 2 ′ , X 1 ≤ n 1 / 8 , X 2 ≤ n 1 / 8 ) = 1 − O ( ( n − m ) λ + n 1 / 4 n ) , \begin{aligned}
\mathbb{P}(X_1 = X'_1, X_2 = X'_2, X_3 = X'_3)
&\ge\mathbb{P}(X_1 = X'_1, X_2 = X'_2, X_3 = X'_3, X_1 \le n^{1/8}, X_2 \le n^{1/8}) \\
&\ge1-\mathbb{P}(X_1 \ne X'_1)-\mathbb{P}(X_1 > n^{1/8})-\mathbb{P}(X_2 \ne X'_2 \mid X_1 = X'_1, X_1 \le n^{1/8}) \\
&\quad-\mathbb{P}(X_2 > n^{1/8}\mid X_1 = X'_1, X_1 \le n^{1/8}) \\
&\quad-\mathbb{P}(X_3 \ne X'_3\mid X_1 = X'_1, X_2 = X'_2, X_1 \le n^{1/8}, X_2 \le n^{1/8}) \\
&= 1-O\left(\frac{(n-m)\lambda+n^{1/4}}{n}\right),
\end{aligned} P ( X 1 = X 1 ′ , X 2 = X 2 ′ , X 3 = X 3 ′ ) ≥ P ( X 1 = X 1 ′ , X 2 = X 2 ′ , X 3 = X 3 ′ , X 1 ≤ n 1/8 , X 2 ≤ n 1/8 ) ≥ 1 − P ( X 1 = X 1 ′ ) − P ( X 1 > n 1/8 ) − P ( X 2 = X 2 ′ ∣ X 1 = X 1 ′ , X 1 ≤ n 1/8 ) − P ( X 2 > n 1/8 ∣ X 1 = X 1 ′ , X 1 ≤ n 1/8 ) − P ( X 3 = X 3 ′ ∣ X 1 = X 1 ′ , X 2 = X 2 ′ , X 1 ≤ n 1/8 , X 2 ≤ n 1/8 ) = 1 − O ( n ( n − m ) λ + n 1/4 ) ,
which completes the proof.