2012 ACM Subject Classification Theory of computation → \to → Streaming, sublinear and near linear time algorithms; Theory of computation → \to → Approximation algorithms analysis
Keywords and phrases traveling salesman problem, path cover, matching, sublinear-time algorithms, semi-streaming algorithms, random vertex orders
Introduction
Let G = ( V , E ) G = (V, E) G = ( V , E ) be a simple undirected graph on n n n vertices. A path cover , also called a linear forest , is a collection of vertex-disjoint paths covering all vertices, with isolated vertices allowed. The maximum path cover (MPC) problem maximizes the number of selected edges; write ρ ( G ) \rho(G) ρ ( G ) for its optimum. In weighted MPC , each edge has a nonnegative weight, and the objective is to maximize the total selected weight, with optimum ρ w ( G ) \rho_w(G) ρ w ( G ) . The problem is NP-hard even in the unweighted case [2 ] .
Path covers also link MPC to the traveling salesman problem (TSP). In (1, 2)-TSP, one minimizes Hamiltonian-cycle cost in a complete graph with edge costs one or two. Let G 1 = ( V , E 1 ) G_1 = (V, E_1) G 1 = ( V , E 1 ) be the graph formed by the cost-one edges, and let O P T 12 \mathrm{OPT}_{12} OPT 12 be the minimum tour cost of the (1, 2)-TSP instance. A cover with p p p edges of G 1 G_1 G 1 gives a tour of cost at most 2 n − p 2n - p 2 n − p . Thus a large cover gives a short tour, while a lower estimate of its size gives an upper estimate of tour cost [6 , 2 ] . In Max-TSP, one maximizes tour weight in a complete nonnegatively weighted graph; completing a weighted cover cannot decrease its weight.
In this paper, we study approximation algorithms for these problems in two settings: the semi-streaming model and sublinear-time computation , which restrict memory and running time, respectively.
The semi-streaming model. Edges are scanned sequentially in a fixed arbitrary order, possibly in several passes, using O ( n polylog n ) O(n\operatorname{polylog} n) O ( n polylog n ) bits of memory [13 ] . Here polylog n \operatorname{polylog} n polylog n is a fixed polynomial in log n \log n log n . Our algorithms receive edges with their costs or weights and return explicit path covers or Hamiltonian tours. For fixed accuracy ε \varepsilon ε , they use O ( n log n ) O(n\log n) O ( n log n ) words. If each edge weight is encoded with O ( polylog n ) O(\operatorname{polylog} n) O ( polylog n ) bits, each word also uses O ( polylog n ) O(\operatorname{polylog} n) O ( polylog n ) bits, giving O ( n polylog n ) O(n\operatorname{polylog} n) O ( n polylog n ) bits overall.
Sublinear-time computation. A sublinear-time algorithm accesses selected input entries through queries and uses time smaller than the input size, counting both queries and computation. Here adjacency queries test edges of an unweighted graph, and distance queries return costs in a (1, 2)-TSP instance. We seek time sublinear in the Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) matrix entries, not necessarily in n n n . The outputs are lower estimates of MPC size or upper estimates of optimum tour cost, not explicit solutions.
Notation and path-cover conversion
We assume n ≥ 3 n \ge3 n ≥ 3 ; MPC instances on one or two vertices are handled directly. Write m = ∣ E ∣ m = |E| m = ∣ E ∣ and u v uv uv for an edge joining u u u and v v v . We identify Q ⊆ E Q \subseteq E Q ⊆ E with its spanning subgraph ( V , Q ) (V, Q) ( V , Q ) and write deg Q ( v ) \deg_Q(v) deg Q ( v ) for the degree of v v v . For nonnegative edge weights w : E → R ≥ 0 w : E \to\mathbb{R}_{\ge0} w : E → R ≥ 0 , put w ( Q ) = ∑ e ∈ Q w ( e ) w(Q) = \sum_{e\in Q} w(e) w ( Q ) = ∑ e ∈ Q w ( e ) .
A matching is a set of pairwise vertex-disjoint edges; ν ( G ) \nu(G) ν ( G ) and ν w ( G ) \nu_w(G) ν w ( G ) denote its maximum size and weight. Alternating along each path partitions a path cover into two matchings. For S ⊆ E S \subseteq E S ⊆ E , let G − S = ( V , E ∖ S ) G - S = (V, E \setminus S) G − S = ( V , E ∖ S ) ; for U ⊆ V U \subseteq V U ⊆ V , let G − U G - U G − U be the induced graph obtained by deleting the vertices in U U U .
We write O P T M a x T S P \mathrm{OPT}_{\mathrm{MaxTSP}} OPT MaxTSP for the maximum tour weight in Max-TSP. A path-preserving completion is a Hamiltonian cycle containing every edge of a specified path cover.
Accuracy and resources. A maximization ratio α \alpha α guarantees value at least α \alpha α times optimum; a minimization factor λ \lambda λ guarantees cost at most λ \lambda λ times optimum. An error-δ \delta δ matching call has ratio 1 − δ 1-\delta 1 − δ , where 0 ≤ δ < 1 0 \le\delta< 1 0 ≤ δ < 1 ; an exact call has δ = 0 \delta= 0 δ = 0 . Ties may be broken arbitrarily. Ratio infima exclude inputs with zero optimum.
In n 2 − Ω ε ( 1 ) n^{2-\Omega_\varepsilon(1)} n 2 − Ω ε ( 1 ) , the positive exponent gap and hidden constants may depend on fixed ε > 0 \varepsilon> 0 ε > 0 ; no polynomial dependence on 1 / ε 1/\varepsilon 1/ ε is required. With high probability means probability at least 1 − n − a 0 1-n^{-a_0} 1 − n − a 0 for a fixed confidence exponent a 0 > 0 a_0>0 a 0 > 0 . Logarithms are natural. We use poly for an unspecified polynomial and O ~ \widetilde{O} O to suppress polylogarithmic factors in n n n ; a subscript allows dependence on the indicated fixed parameters.
Lemma 1. For the cost-one graph G 1 G_1 G 1 of a ( 1 , 2 ) (1,2) ( 1 , 2 ) -metric, the standard conversion inequalities [6 ] are
2 n − ρ ( G 1 ) − 1 ≤ OPT 12 ≤ 2 n − ρ ( G 1 ) , OPT 12 ≥ n . (1) 2n-\rho(G_1)-1\leq\operatorname{OPT}_{12}\leq2n-\rho(G_1),\qquad\operatorname{OPT}_{12}\geq n. \tag*{(1)} 2 n − ρ ( G 1 ) − 1 ≤ OPT 12 ≤ 2 n − ρ ( G 1 ) , OPT 12 ≥ n . (1) If 0 ≤ s ≤ ρ ( G 1 ) 0\leq s\leq\rho(G_1) 0 ≤ s ≤ ρ ( G 1 ) and s ≥ γ ρ ( G 1 ) − η n s\geq\gamma\rho(G_1)-\eta n s ≥ γ ρ ( G 1 ) − η n , with 0 ≤ γ ≤ 1 0\leq\gamma\leq1 0 ≤ γ ≤ 1 and η ≥ 0 \eta\geq0 η ≥ 0 , then T ^ = 2 n − s \widehat{T}=2n-s T = 2 n − s satisfies
OPT 12 ≤ T ^ ≤ ( 2 − γ + η ) OPT 12 + γ . (2) \operatorname{OPT}_{12}\leq\widehat{T}\leq(2-\gamma+\eta)\operatorname{OPT}_{12}+\gamma. \tag*{(2)} OPT 12 ≤ T ≤ ( 2 − γ + η ) OPT 12 + γ . (2) When s s s is the size of an explicit cover, completing it gives a tour of cost at most T ^ \widehat{T} T .
Proof. For (2), s ≤ ρ ( G 1 ) s\leq\rho(G_1) s ≤ ρ ( G 1 ) and (1) give T ^ ≥ 2 n − ρ ( G 1 ) ≥ OPT 12 \widehat{T}\geq2n-\rho(G_1)\geq\operatorname{OPT}_{12} T ≥ 2 n − ρ ( G 1 ) ≥ OPT 12 . Since ρ ( G 1 ) ≥ 2 n − OPT 12 − 1 \rho(G_1)\geq2n-\operatorname{OPT}_{12}-1 ρ ( G 1 ) ≥ 2 n − OPT 12 − 1 and n ≤ OPT 12 n\leq\operatorname{OPT}_{12} n ≤ OPT 12 ,
T ^ ≤ γ OPT 12 + ( 2 − 2 γ + η ) n + γ ≤ ( 2 − γ + η ) OPT 12 + γ . \widehat{T}\leq\gamma\operatorname{OPT}_{12}+(2-2\gamma+\eta)n+\gamma\leq(2-\gamma+\eta)\operatorname{OPT}_{12}+\gamma. T ≤ γ OPT 12 + ( 2 − 2 γ + η ) n + γ ≤ ( 2 − γ + η ) OPT 12 + γ .
If s s s is the size of an explicit cover, joining its n − s n-s n − s paths costs at most s + 2 ( n − s ) = T ^ s+2(n-s)=\widehat{T} s + 2 ( n − s ) = T .
Our results
Sublinear-time value estimation. For every fixed ε > 0 \varepsilon>0 ε > 0 , we obtain, with high probability, an upper estimate of ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP cost within factor 2 − c ⋆ + ε = 1.413184 … + ε 2-c_{\star}+\varepsilon=1.413184\ldots+\varepsilon 2 − c ⋆ + ε = 1.413184 … + ε , where c ⋆ = 2 ( sec 1 − tan 1 ) c_{\star}=2(\sec1-\tan1) c ⋆ = 2 ( sec 1 − tan 1 ) , in n 2 − Ω ε ( 1 ) n^{2-\Omega_{\varepsilon}(1)} n 2 − Ω ε ( 1 ) time and queries. Table 1 compares our approximation factor and running time with the known bounds. Our factor is smaller than 3 / 2 + ε 3/2+\varepsilon 3/2 + ε , while our time bound is larger than that of the near-linear estimator.
Table 1. Approximation factors and running times for sublinear-time ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP cost estimation, for fixed accuracy.
Our estimator uses a single uniform vertex order to orient the edges, then splits each vertex into incoming and outgoing copies. Matchings in the resulting implicit bipartite graph project to path covers; each query requires at most one original query. Since ν ( G ) ≤ ρ ( G ) ≤ 2 ν ( G ) \nu(G)\leq\rho(G)\leq2\nu(G) ν ( G ) ≤ ρ ( G ) ≤ 2 ν ( G ) , direct additive matching estimation retains coefficient 1 / 2 1/2 1/2 . Our representation raises the expected coefficient to c ⋆ = 0.586815986 … c_{\star}=0.586815986\ldots c ⋆ = 0.586815986 … . An alternating-run analysis using André’s identity [27 ] proves this bound. Concentration makes one order sufficient for large n n n ; Algorithm 1 combines it with additive matching-value estimation [8 ] . On long paths, even the best of polynomially many uniform vertex orders gives a maximum matching of size at most ( c ⋆ + o ( 1 ) ) (c_{\star}+o(1)) ( c ⋆ + o ( 1 )) times the path length, with high probability.
Semi-streaming constructions. For 0 < ε < 1 / 3 0<\varepsilon<1/3 0 < ε < 1/3 , we obtain deterministic ( 5 / 7 − ε ) (5/7-\varepsilon) ( 5/7 − ε ) -approximations for unweighted MPC and ( 9 / 7 + ε + 5 / ( 7 n ) ) (9/7+\varepsilon+5/(7n)) ( 9/7 + ε + 5/ ( 7 n )) -approximations for ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP. For nonnegative weights, we obtain ( 2 / 3 − ε ) (2/3-\varepsilon) ( 2/3 − ε ) -approximations for weighted MPC and Max-TSP. All these algorithms use poly ( 1 / ε ) \operatorname{poly}(1/\varepsilon) poly ( 1/ ε ) passes independent of n n n and O ( n log ( n / ε ) poly ( 1 / ε ) ) O(n\log(n/\varepsilon)\operatorname{poly}(1/\varepsilon)) O ( n log ( n / ε ) poly ( 1/ ε )) words. Table 2 shows the improved guarantees within the same pass regime [2 ] .
Our idea is to delete the edges of a first matching rather than contract them as in [2 ] . Algorithm 2 computes a matching A A A in G G G and a matching B B B in G − A G-A G − A , keeping all vertices. A cycle-compensation lemma relates the weight lost when opening cycles of A ∪ B A\cup B A ∪ B to the residual matching optimum, yielding the weighted bound for approximate calls. For unweighted MPC, Algorithm 3 chooses component connections with a third matching before opening cycles. A Tutte–Berge count bounds the missed path-cover edges. A simple auxiliary graph on at most 2 n 2n 2 n vertices implements this optimization without storing all component adjacencies, and its matching guarantee transfers to the entire output forest.
Table 2. Semi-streaming constructions in poly ( 1 / ε ) \operatorname{poly}(1/\varepsilon) poly ( 1/ ε ) passes independent of n n n .
We also answer the iteration question in [2 ] for exact matching calls. Three unstructured residual matchings have retained-edge path-cover infimum 2 / 3 2/3 2/3 ; our structured third call avoids this obstruction. Appendix D gives stronger unweighted guarantees with log n n n -dependent passes and subquadratic postprocessing when a starting 2-matching is supplied explicitly.
Further related work. Matching pairs and successive selection are classical [9 , 12 ] . The offline weighted factor 2 / 3 2/3 2/3 is also known through a degree-two relaxation followed by cycle breaking [21 ] . Offline unweighted guarantees include 3 / 4 3/4 3/4 through triangle-free 2-matching and 6 / 7 6/7 6/7 [22 , 7 ] , but these do not imply our access bounds. TSP under both streaming and distance-query access is also studied in [10 ] .
The time budget is essential to the sublinear comparison. Beating 3 / 2 3/2 3/2 in n 1 + o ( 1 ) n^{1+o(1)} n 1 + o ( 1 ) time would settle a near-linear bipartite-matching promise problem [6 ] ; our larger time budget does not resolve it. Some fixed ( 1 + ε 0 ) (1+\varepsilon_0) ( 1 + ε 0 ) TSP approximation requires Ω ( n 2 ) \Omega(n^2) Ω ( n 2 ) queries [9 ] . For additive matching estimation, every exponent gap ζ > 0 \zeta>0 ζ > 0 admits an accuracy requiring Ω ( n 2 − ζ ) \Omega(n^{2-\zeta}) Ω ( n 2 − ζ ) queries in the adjacency-list [5 ] and pair-query [4 ] models.
Organization of the paper. § 2 gives sublinear-time path-cover and TSP estimates. § 3 and § 4 analyze the weighted and unweighted constructions; § 5 gives their semi-streaming implementations. § 6 presents algorithmic limits and open questions. Appendix § 7 proves the residual-matching obstruction, and Appendix § 8 gives a short proof of the unweighted two-round guarantee and proves the contraction limits. Appendix § 9 collects the conditional weighted comparison, compatible attachments, the one-call alternative, and hardness. Appendix § 10 gives the general component bound, stronger input-size-dependent pass guarantees, and estimation with a supplied 2-matching. Appendix § 11 gives the lower-pass greedy algorithm and its upper family. Appendix § 12 derives an explicit subquadratic exponent.
Sublinear-time path-cover and TSP estimation
We estimate path-cover size from adjacency-matrix (pair) queries, using a bipartite graph determined by a randomly sampled vertex order.
Random-order bipartite representation
Choose a uniformly random ordering of V V V , and let π ( v ) \pi(v) π ( v ) be the position of v v v . Let V L = { v L : v ∈ V } V_L = \{v_L : v \in V\} V L = { v L : v ∈ V } and V R = { v R : v ∈ V } V_R = \{v_R : v \in V\} V R = { v R : v ∈ V } be disjoint copies of V V V . In the bipartite graph B π B_\pi B π , represent each original edge by an edge joining the left copy of its earlier endpoint to the right copy of its later endpoint: u L v R ∈ E ( B π ) ⟺ u v ∈ E ( G ) u_Lv_R \in E(B_\pi) \Longleftrightarrow uv \in E(G) u L v R ∈ E ( B π ) ⟺ uv ∈ E ( G ) and π ( u ) < π ( v ) \pi(u) < \pi(v) π ( u ) < π ( v ) . A uniform shuffle generates the stored positions in O ( n ) O(n) O ( n ) word operations. We answer queries without storing the edges of B π B_\pi B π . For a cross-side query, write its endpoints as u L , v R u_L,v_R u L , v R . Return no if π ( u ) ≥ π ( v ) \pi(u) \ge\pi(v) π ( u ) ≥ π ( v ) ; otherwise query whether u v ∈ E ( G ) uv \in E(G) uv ∈ E ( G ) . Same-side queries return no. Thus each auxiliary query uses at most one original query, regardless of the order of its endpoints.
Lemma 2. Replacing each edge u L v R u_Lv_R u L v R of a matching in B π B_\pi B π by u v uv uv gives a path cover of G G G with the same number of edges. Thus 0 ≤ ν ( B π ) ≤ ρ ( G ) 0 \le\nu(B_\pi) \le\rho(G) 0 ≤ ν ( B π ) ≤ ρ ( G ) for every order π \pi π .
Proof. Each vertex v v v has two copies, and a matching uses at most one edge at each copy. The resulting subgraph of G G G therefore has degree at most two. Suppose it contains a cycle, and choose the vertex v v v with smallest π ( v ) \pi(v) π ( v ) on that cycle. Both cycle neighbors occur later than v v v , so the two cycle edges would both use v L v_L v L in B π B_\pi B π , contradicting the matching property. Thus the subgraph is a disjoint union of paths. Including unused vertices as isolates gives a path cover. Each original edge has only one representing edge, so the edge count is unchanged.
Expected path-cover retention
Fix a path P = v 0 ⋯ v ℓ P = v_0 \cdots v_\ell P = v 0 ⋯ v ℓ with edges e i = v i − 1 v i e_i = v_{i-1}v_i e i = v i − 1 v i for 1 ≤ i ≤ ℓ 1 \le i \le\ell 1 ≤ i ≤ ℓ . Two path edges conflict if their representing edges in B π B_\pi B π share a vertex and hence cannot both belong to a matching. Nonconsecutive edges have disjoint endpoints and cannot conflict. Thus e i e_i e i and e i + 1 e_{i+1} e i + 1 conflict precisely when π ( v i ) \pi(v_i) π ( v i ) is smaller than both neighboring positions or larger than both: their representing edges then share ( v i ) L (v_i)_L ( v i ) L or ( v i ) R (v_i)_R ( v i ) R , respectively. These are the local minima and maxima of the positions along P P P . When π ( v i ) \pi(v_i) π ( v i ) lies between its neighbors’ positions, the two edges use different copies and are compatible.
The conflict graph C π C_\pi C π has one vertex for each e i e_i e i , with two vertices adjacent exactly when the corresponding path edges conflict. Its components are paths or isolates, since only consecutive e i e_i e i can be adjacent. An independent set contains no adjacent pair; write ind ( C ) \operatorname{ind}(C) ind ( C ) for its maximum size in C C C . Thus ν ( B π [ P ] ) = ind ( C π ) \nu(B_\pi[P]) = \operatorname{ind}(C_\pi) ν ( B π [ P ]) = ind ( C π ) , where B π [ P ] B_\pi[P] B π [ P ] keeps only edges representing those of P P P . Figure 1 illustrates the correspondence.
Figure 1. Positions 1, 4, 2, 3, 5 make e 1 , e 2 e_1,e_2 e 1 , e 2 share ( v 1 ) R (v_1)_R ( v 1 ) R and e 2 , e 3 e_2,e_3 e 2 , e 3 share ( v 2 ) L (v_2)_L ( v 2 ) L in B π B_\pi B π . The compatible set { e 1 , e 3 , e 4 } \{e_1,e_3,e_4\} { e 1 , e 3 , e 4 } , shown bold in (a), gives a matching in B π B_\pi B π and two paths in G G G .
A component of C π C_\pi C π with r r r vertices contributes ⌈ r / 2 ⌉ \lceil r/2 \rceil ⌈ r /2 ⌉ compatible edges. We bound their expected total using the constant c ⋆ = 2 ( sec 1 − tan 1 ) c_\star= 2(\sec1 - \tan1) c ⋆ = 2 ( sec 1 − tan 1 ) defined in the introduction.
Lemma 3. For every path with ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 edges, c ⋆ ℓ ≤ E [ ind ( C π ) ] ≤ c ⋆ ℓ + 2 c_\star\ell\le\mathbb{E}[\operatorname{ind}(C_\pi)] \le c_\star\ell+ 2 c ⋆ ℓ ≤ E [ ind ( C π )] ≤ c ⋆ ℓ + 2 . The coefficient c ⋆ c_\star c ⋆ in the lower bound is best possible.
Proof. Proof idea. Conflicts along a path form a stationary process of alternating runs; the density of an optimal independent set is an alternating sum of run probabilities, which André’s identity evaluates in closed form.
Conflict runs. Let ( U i ) i ∈ Z (U_i)_{i\in\mathbb{Z}} ( U i ) i ∈ Z be independent uniform ranks in ( 0 , 1 ) (0,1) ( 0 , 1 ) assigned to vertices i i i . Conflict vertex i i i represents the path edge between vertices i i i and i + 1 i+1 i + 1 ; join conflict vertices i − 1 , i i-1,i i − 1 , i when U i U_i U i is a local extremum. The ranks have the same independent distribution at every position, and the conflict rule is unchanged by shifting all indices. Hence probabilities of conflict patterns do not depend on their starting position; this is stationarity.
Let p k p_k p k be the probability that k k k consecutive edges of the conflict graph are present, with p 0 = 1 p_0=1 p 0 = 1 . The k + 2 k+2 k + 2 ranks involved must alternate, in either direction. If E j E_j E j denotes the Euler zigzag numbers (the number of up–down permutations of j j j elements, with E 0 = E 1 = 1 E_0=E_1=1 E 0 = E 1 = 1 ), then
p k = 2 E k + 2 ( k + 2 ) ! ( k ≥ 0 ) . p_k=\frac{2E_{k+2}}{(k+2)!}\quad(k\geq0). p k = ( k + 2 )! 2 E k + 2 ( k ≥ 0 ) .
For k ≥ 1 k\geq1 k ≥ 1 , choose the requirements at centers 1 , 4 , 7 , … ≤ k 1,4,7,\ldots\leq k 1 , 4 , 7 , … ≤ k , a total of ⌈ k / 3 ⌉ \lceil k/3\rceil ⌈ k /3 ⌉ . They use disjoint triples of independent ranks, so
p k ≤ ( 2 / 3 ) ⌈ k / 3 ⌉ ( k ≥ 0 ) . (3) p_k\leq(2/3)^{\lceil k/3\rceil}\quad(k\geq0). \tag*{(3)} p k ≤ ( 2/3 ) ⌈ k /3 ⌉ ( k ≥ 0 ) . (3)
By (3) , an infinite run from any fixed index has probability zero. A countable union over all indices shows that every component is finite almost surely.
Independent-set density. Let q r q_r q r be the probability that a fixed conflict vertex starts a component of exactly r r r vertices. Inclusion–exclusion at its two boundaries gives
q r = p r − 1 − 2 p r + p r + 1 , ∑ r ≥ 1 r q r = 1. (4) q_r=p_{r-1}-2p_r+p_{r+1},\qquad\sum_{r\geq1}rq_r=1. \tag*{(4)} q r = p r − 1 − 2 p r + p r + 1 , r ≥ 1 ∑ r q r = 1. (4)
The second identity counts the r r r possible positions of a vertex in an r r r -vertex component. Select odd-positioned vertices in each component, starting from its left endpoint. This gives an independent set that is optimal on every component, with the same selection probability at each index:
d = ∑ r ≥ 1 ⌈ r / 2 ⌉ q r = 1 2 + 1 2 ∑ j ≥ 0 q 2 j + 1 = ∑ k ≥ 0 ( − 1 ) k p k . (5) d=\sum_{r\geq1}\lceil r/2\rceil q_r=\frac{1}{2}+\frac{1}{2}\sum_{j\geq0}q_{2j+1}=\sum_{k\geq0}(-1)^kp_k. \tag*{(5)} d = r ≥ 1 ∑ ⌈ r /2 ⌉ q r = 2 1 + 2 1 j ≥ 0 ∑ q 2 j + 1 = k ≥ 0 ∑ ( − 1 ) k p k . (5)
For the last equality, substitute (4) : the odd-order sum is p 0 + 2 ∑ k ≥ 1 ( − 1 ) k p k p_0+2\sum_{k\geq1}(-1)^kp_k p 0 + 2 ∑ k ≥ 1 ( − 1 ) k p k . Bound (3) gives absolute convergence and justifies the rearrangements.
Evaluating the density. André’s identity, as stated in Stanley’s survey [27 ] , is ∑ j ≥ 0 E j z j j ! = sec z + tan z \sum_{j\geq0}E_j\frac{z^j}{j!}=\sec z+\tan z ∑ j ≥ 0 E j j ! z j = sec z + tan z . Its radius of convergence is π / 2 \pi/2 π /2 , so it converges at z = − 1 z=-1 z = − 1 . Substitution in (5) , with E 0 = E 1 = 1 E_0=E_1=1 E 0 = E 1 = 1 , gives d = 2 ∑ j ≥ 2 ( − 1 ) j E j j ! = 2 ( sec ( − 1 ) + tan ( − 1 ) − 1 + 1 ) = c ⋆ d=2\sum_{j\geq2}(-1)^j\frac{E_j}{j!}=2(\sec(-1)+\tan(-1)-1+1)=c_\star d = 2 ∑ j ≥ 2 ( − 1 ) j j ! E j = 2 ( sec ( − 1 ) + tan ( − 1 ) − 1 + 1 ) = c ⋆ .
Finite paths. Restrict the stationary independent set to ℓ \ell ℓ consecutive conflict vertices. It remains independent and has expected size c ⋆ ℓ c_\star\ell c ⋆ ℓ . The ℓ + 1 \ell+1 ℓ + 1 underlying ranks have the same relative-order distribution as on the finite path, proving the lower bound.
For the upper bound, the finite components of orders r 1 , … , r j r_1,\ldots,r_j r 1 , … , r j have total optimum ∑ i ⌈ r i / 2 ⌉ \sum_i\lceil r_i/2\rceil ∑ i ⌈ r i /2 ⌉ . The stationary choice is optimal on every untruncated component. On a truncated component it selects either ⌊ r i / 2 ⌋ \lfloor r_i/2\rfloor ⌊ r i /2 ⌋ or ⌈ r i / 2 ⌉ \lceil r_i/2\rceil ⌈ r i /2 ⌉ vertices, losing at most one. Only the two boundary components can be truncated. The finite optimum therefore exceeds the restricted choice by at most two. Dividing by ℓ \ell ℓ proves sharpness.
Theorem 4. For every finite simple graph G G G ,
c ⋆ ρ ( G ) ≤ E π [ ν ( B π ) ] ≤ ρ ( G ) . c_\star\rho(G)\leq\mathbb{E}_{\pi}[\nu(B_\pi)]\leq\rho(G). c ⋆ ρ ( G ) ≤ E π [ ν ( B π )] ≤ ρ ( G ) . The coefficient c ⋆ c_\star c ⋆ cannot be increased uniformly over all graphs.
Proof. Fix an optimum path cover independently of π \pi π . Its path components have uniform restricted orders and vertex-disjoint split graphs. Unite maximum matchings of these graphs and apply Lemma 3 by linearity of expectation. This proves the lower bound; Lemma 2 gives the upper bound for every order. Long paths establish sharpness.
Concentration and sharpness
Theorem 5. Let G G G be a graph on n ≥ 2 n \ge2 n ≥ 2 vertices. For any integer r ≥ 1 r \ge1 r ≥ 1 and random orders π 1 , … , π r \pi_1,\ldots,\pi_r π 1 , … , π r , each marginally uniform, put X j = ν ( B π j ) X_j = \nu(B_{\pi_j}) X j = ν ( B π j ) . For u > 0 u > 0 u > 0 ,
Pr [ max j ∣ X j − E X j ∣ > u ] ≤ 2 r exp ( − u 2 2 n ) . \Pr\left[\max_j |X_j-\mathbb{E}X_j|>u\right]\le2r\exp\left(-\frac{u^2}{2n}\right). Pr [ j max ∣ X j − E X j ∣ > u ] ≤ 2 r exp ( − 2 n u 2 ) . If G G G is a path and r ≤ n D r \le n^D r ≤ n D for a fixed D D D , then max j X j = c ⋆ ( n − 1 ) + O ( n log n ) \max_j X_j = c_\star(n-1)+O(\sqrt{n\log n}) max j X j = c ⋆ ( n − 1 ) + O ( n log n ) with high probability. Independence between the orders is not required.
Proof. For each fixed j j j , generate its uniform marginal from independent continuous ranks. Changing one rank moves one vertex v v v and leaves the relative order of all other vertices unchanged, so B π − { v L , v R } B_\pi-\{v_L,v_R\} B π − { v L , v R } is the same graph before and after. Deleting a vertex lowers ν \nu ν by at most one, so ν ( B π ) \nu(B_\pi) ν ( B π ) changes by at most two. Bounded differences [19 ] gives Pr [ ∣ X j − E X j ∣ ≥ u ] ≤ 2 e − u 2 / ( 2 n ) \Pr[|X_j-\mathbb{E}X_j|\ge u]\le2e^{-u^2/(2n)} Pr [ ∣ X j − E X j ∣ ≥ u ] ≤ 2 e − u 2 / ( 2 n ) . A union bound proves the first claim. For a path, take u = 2 n log ( 2 r n a 0 ) u=\sqrt{2n\log(2rn^{a_0})} u = 2 n log ( 2 r n a 0 ) , where a 0 > 0 a_0>0 a 0 > 0 , and use c ⋆ ( n − 1 ) ≤ E X j ≤ c ⋆ ( n − 1 ) + 2 c_\star(n-1)\le\mathbb{E}X_j\le c_\star(n-1)+2 c ⋆ ( n − 1 ) ≤ E X j ≤ c ⋆ ( n − 1 ) + 2 from Lemma 3.
On the ( 1 , 2 ) (1,2) ( 1 , 2 ) -metric whose cost-one graph is a path on n n n vertices, OPT 12 = n + 1 \operatorname{OPT}_{12}=n+1 OPT 12 = n + 1 for n ≥ 3 n\ge3 n ≥ 3 . With polynomially many uniform orders, the ratio of 2 n − max j X j 2n-\max_jX_j 2 n − max j X j therefore converges to 2 − c ⋆ 2-c_\star 2 − c ⋆ with high probability. Lower estimates z j ≤ X j z_j\le X_j z j ≤ X j cannot improve it: subtracting max j z j \max_jz_j max j z j from 2 n 2n 2 n only increases the reported cost. If also z j ≥ X j − η n z_j\ge X_j-\eta n z j ≥ X j − η n for every j j j , that increase is at most η n \eta n η n , or less than η \eta η in the ratio. This error need not vanish for fixed η \eta η , so exact convergence is asserted for exact matching values.
Path-cover and TSP value estimation
We use an additive estimator that returns a lower bound on matching size.
Theorem 6 ([8 ] ). For every fixed 0 < a < 1 0<a<1 0 < a < 1 , an N N N -vertex graph H H H given by adjacency-matrix queries has a randomized estimator returning, with high probability, a value z z z satisfying ν ( H ) − a N ≤ z ≤ ν ( H ) \nu(H)-aN\le z\le\nu(H) ν ( H ) − a N ≤ z ≤ ν ( H ) . Its running time is T a d d ( N , a ) = O ~ a ( N 2 − ξ ( a ) ) T_{\mathrm{add}}(N,a)=\widetilde{O}_a(N^{2-\xi(a)}) T add ( N , a ) = O a ( N 2 − ξ ( a ) ) for a positive ξ ( a ) \xi(a) ξ ( a ) .
The reduction uses only this value-estimation interface. Independent median repetitions raise its confidence while preserving the interval; Appendix § 12 gives an explicit admissible ξ \xi ξ . By Theorem 5 , one vertex order suffices outside a bounded-size branch.
Algorithm 1 Single-order path-cover value estimation
Input: Adjacency-query access to G G G on n ≥ 2 n\ge2 n ≥ 2 vertices; 0 < η < 1 0<\eta<1 0 < η < 1 ; a 0 > 0 a_0>0 a 0 > 0 .
Output: A scalar estimate S S S of the maximum path-cover size.
if n < 8 η − 2 log ( 4 n a 0 ) n<8\eta^{-2}\log(4n^{a_0}) n < 8 η − 2 log ( 4 n a 0 ) then Query all vertex pairs and return ρ ( G ) \rho(G) ρ ( G ) , computed by exhaustive search.
Sample a uniform vertex order π \pi π and store its positions.
Provide the implicit adjacency oracle for B π B_\pi B π from Section 2.1.
Using fresh randomness, estimate ν ( B π ) \nu(B_\pi) ν ( B π ) as z z z at accuracy η / 4 \eta/4 η /4 (Theorem 6), amplified to failure probability at most n − a 0 / 2 n^{-a_0}/2 n − a 0 /2 .
return max { 0 , min { n − 1 , z } } \max\{0,\min\{n-1,z\}\} max { 0 , min { n − 1 , z }} .
Theorem 7. Fix 0 < η < 1 0 < \eta< 1 0 < η < 1 and a 0 > 0 a_0 > 0 a 0 > 0 . On an n ≥ 2 n \ge2 n ≥ 2 vertex graph given by adjacency queries, Algorithm 1 runs in n 2 − Ω η ( 1 ) n^{2-\Omega_{\eta}(1)} n 2 − Ω η ( 1 ) time and, with probability at least 1 − n − a 0 1-n^{-a_0} 1 − n − a 0 , returns s s s satisfying
c ⋆ ρ ( G ) − η n ≤ s ≤ ρ ( G ) . (6) c_{\star}\rho(G)-\eta n \le s \le\rho(G). \tag*{(6)} c ⋆ ρ ( G ) − η n ≤ s ≤ ρ ( G ) . (6) The hidden constants and exponent may depend on η , a 0 \eta,a_0 η , a 0 . No path cover is returned.
Proof. Success probability. The exhaustive branch is exact. Otherwise put Y = ν ( B π ) Y=\nu(B_{\pi}) Y = ν ( B π ) . By Theorem 4, E Y ≥ c ⋆ ρ ( G ) \mathbb{E}Y \ge c_{\star}\rho(G) E Y ≥ c ⋆ ρ ( G ) . Taking r = 1 r=1 r = 1 and u = η n / 2 u=\eta n/2 u = η n /2 in Theorem 5 gives Pr [ Y < c ⋆ ρ ( G ) − η n / 2 ] ≤ 2 e − η 2 n / 8 ≤ n − a 0 / 2 \Pr[Y < c_{\star}\rho(G)-\eta n/2] \le2e^{-\eta^2 n/8} \le n^{-a_0}/2 Pr [ Y < c ⋆ ρ ( G ) − η n /2 ] ≤ 2 e − η 2 n /8 ≤ n − a 0 /2 , using the threshold in Algorithm 1. Conditional on the sampled order, the matching estimate satisfies Y − η n / 2 ≤ z ≤ Y Y-\eta n/2 \le z \le Y Y − η n /2 ≤ z ≤ Y except with probability at most n − a 0 / 2 n^{-a_0}/2 n − a 0 /2 . On the joint success event, c ⋆ ρ ( G ) − η n ≤ z ≤ Y ≤ ρ ( G ) c_{\star}\rho(G)-\eta n \le z \le Y \le\rho(G) c ⋆ ρ ( G ) − η n ≤ z ≤ Y ≤ ρ ( G ) . Clipping preserves these bounds because 0 ≤ ρ ( G ) ≤ n − 1 0 \le\rho(G) \le n-1 0 ≤ ρ ( G ) ≤ n − 1 . A union bound proves (6).
Time and queries. Inputs failing the threshold have bounded size for fixed η , a 0 \eta,a_0 η , a 0 , so the exhaustive work is absorbed into a parameter-dependent constant. Otherwise one shuffle takes O ( n ) O(n) O ( n ) operations, and each auxiliary query costs at most one original query. The O η , a 0 ( log n ) O_{\eta,a_0}(\log n) O η , a 0 ( log n ) confidence repetitions give
O η , a 0 ( log n T a d d ( 2 n , η / 4 ) + n ) = O ~ η , a 0 ( n 2 − ξ ( η / 4 ) ) . (7) O_{\eta,a_0}\bigl(\log n\,T_{\mathrm{add}}(2n,\eta/4)+n\bigr)=\widetilde{O}_{\eta,a_0}\bigl(n^{2-\xi(\eta/4)}\bigr). \tag*{(7)} O η , a 0 ( log n T add ( 2 n , η /4 ) + n ) = O η , a 0 ( n 2 − ξ ( η /4 ) ) . (7)
Absorbing the logarithmic factors gives n 2 − Ω η ( 1 ) n^{2-\Omega_{\eta}(1)} n 2 − Ω η ( 1 ) time.
A purely multiplicative guarantee on all graphs would require quadratic queries: a uniformly hidden edge is found by q q q distinct pair queries with probability at most q / ( n 2 ) q/\binom{n}{2} q / ( 2 n ) . Until then, the answers coincide with those of the empty graph. This explains the additive term in (6).
Theorem 8. For every n n n -vertex ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP instance with n ≥ 3 n \ge3 n ≥ 3 , every fixed 0 < ε < 1 0 < \varepsilon< 1 0 < ε < 1 , and every confidence exponent a 0 > 0 a_0 > 0 a 0 > 0 , a randomized distance-query algorithm returns, with probability at least 1 − n − a 0 1-n^{-a_0} 1 − n − a 0 ,
OPT 12 ≤ T ^ ≤ ( 2 − c ⋆ + ε ) OPT 12 \operatorname{OPT}_{12} \le\widehat{T} \le(2-c_{\star}+\varepsilon)\operatorname{OPT}_{12} OPT 12 ≤ T ≤ ( 2 − c ⋆ + ε ) OPT 12 in n 2 − Ω ε ( 1 ) n^{2-\Omega_{\varepsilon}(1)} n 2 − Ω ε ( 1 ) time and queries. More explicitly, the bound is O ~ ε , a 0 ( n 2 − ξ ( ε / 8 ) ) \widetilde{O}_{\varepsilon,a_0}(n^{2-\xi(\varepsilon/8)}) O ε , a 0 ( n 2 − ξ ( ε /8 ) ) , where ξ \xi ξ is specified in Appendix § 12 .
Proof. For n ≥ ⌈ 2 / ε ⌉ n \ge\lceil2/\varepsilon\rceil n ≥ ⌈ 2/ ε ⌉ , run Algorithm 1 on G 1 G_1 G 1 with η = ε / 2 \eta=\varepsilon/2 η = ε /2 and return T ^ = 2 n − s \widehat{T}=2n-s T = 2 n − s . By Theorem 7 and Lemma 1 , on the success event,
OPT 12 ≤ T ^ ≤ ( 2 − c ⋆ + ε / 2 ) OPT 12 + c ⋆ ≤ ( 2 − c ⋆ + ε ) OPT 12 , \operatorname{OPT}_{12} \le\widehat{T} \le(2-c_{\star}+\varepsilon/2)\operatorname{OPT}_{12}+c_{\star} \le(2-c_{\star}+\varepsilon)\operatorname{OPT}_{12}, OPT 12 ≤ T ≤ ( 2 − c ⋆ + ε /2 ) OPT 12 + c ⋆ ≤ ( 2 − c ⋆ + ε ) OPT 12 ,
since OPT 12 ≥ n ≥ 2 / ε \operatorname{OPT}_{12} \ge n \ge2/\varepsilon OPT 12 ≥ n ≥ 2/ ε and c ⋆ < 1 c_{\star}<1 c ⋆ < 1 . For smaller n n n , read the whole instance and solve it exhaustively. Its size depends only on fixed ε \varepsilon ε , so the work is absorbed into the ε \varepsilon ε -dependent constant. Each query to G 1 G_1 G 1 costs one distance query.
Remark 9. A simpler analysis gives a weaker approximation guarantee. For a path with ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 edges, let Z Z Z count the isolated vertices of its conflict graph C π C_{\pi} C π . Since each component is a path, ind ( C π ) ≥ ℓ / 2 + Z / 2 \operatorname{ind}(C_{\pi}) \ge\ell/2+Z/2 ind ( C π ) ≥ ℓ /2 + Z /2 . At an interior position, a conflict vertex is isolated with probability 1 / 12 1/12 1/12 , because the four underlying ranks must be monotone. At either endpoint position, this probability is 1 / 3 1/3 1/3 when ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 ; the sole vertex is always isolated when ℓ = 1 \ell=1 ℓ = 1 . Thus E [ Z ] ≥ ℓ / 12 \mathbb{E}[Z] \ge\ell/12 E [ Z ] ≥ ℓ /12 and E [ ind ( C π ) ] ≥ 13 ℓ / 24 \mathbb{E}[\operatorname{ind}(C_{\pi})] \ge13\ell/24 E [ ind ( C π )] ≥ 13 ℓ /24 . Replacing c ⋆ c_{\star} c ⋆ by 13 / 24 13/24 13/24 in the estimation argument therefore gives the weaker ( 35 / 24 + ε ) (35/24+\varepsilon) ( 35/24 + ε ) -approximation for ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP cost estimation, without the alternating-permutation calculation.
Weighted path cover by edge deletion
Algorithm 2 gives the two-call deletion rule for weighted path cover. § 5 handles weight normalization and the small-instance Max-TSP branch.
Algorithm 2 Weighted path cover by edge deletion
Input: Graph G = ( V , E ) G=(V,E) G = ( V , E ) with nonnegative weights w w w ; ratios 0 < α , β ≤ 1 0<\alpha,\beta\le1 0 < α , β ≤ 1 .
Output: A path cover ( V , F ) (V,F) ( V , F ) .
Compute a matching A A A in G G G with w ( A ) ≥ α ν w ( G ) w(A)\ge\alpha\nu_w(G) w ( A ) ≥ α ν w ( G ) .
Compute a matching B B B in G − A G-A G − A with w ( B ) ≥ β ν w ( G − A ) w(B)\ge\beta\nu_w(G-A) w ( B ) ≥ β ν w ( G − A ) .
F ← A ∪ B F\leftarrow A\cup B F ← A ∪ B .
for each cycle component C C C of ( V , A ∪ B ) (V,A\cup B) ( V , A ∪ B ) do
Delete from F F F an edge of minimum weight in C C C .
return ( V , F ) (V,F) ( V , F ) .
Let C \mathcal{C} C be the cycle components of A ∪ B A\cup B A ∪ B . Their edges alternate between the matchings, so each cycle has even length at least four. Deleting one edge per cycle therefore gives a path cover; the deleted edge may belong to either matching. For each cycle C C C , let λ C = min e ∈ E ( C ) w ( e ) \lambda_C=\min_{e\in E(C)}w(e) λ C = min e ∈ E ( C ) w ( e ) , and put Λ = Λ ( A , B ) = ∑ C ∈ C λ C \Lambda=\Lambda(A,B)=\sum_{C\in\mathcal{C}}\lambda_C Λ = Λ ( A , B ) = ∑ C ∈ C λ C . Thus w ( F ) = w ( A ) + w ( B ) − Λ w(F)=w(A)+w(B)-\Lambda w ( F ) = w ( A ) + w ( B ) − Λ , with Λ = 0 \Lambda=0 Λ = 0 when there are no cycles. Each cycle has at least two B B B -edges, so
w ( B ) ≥ 2 Λ . (8) w(B)\ge2\Lambda. \tag*{(8)} w ( B ) ≥ 2Λ. (8)
Lemma 10. For any edge-disjoint matchings A A A , B B B of a nonnegatively weighted graph G G G and any linear forest P ⊆ G P\subseteq G P ⊆ G ,
2 ν w ( G − A ) ≥ w ( P ) − w ( A ) + Λ ( A , B ) . 2\nu_w(G-A)\ge w(P)-w(A)+\Lambda(A,B). 2 ν w ( G − A ) ≥ w ( P ) − w ( A ) + Λ ( A , B ) .
Proof. Put P 0 = P − A P_0=P-A P 0 = P − A . Partition C \mathcal{C} C into C 0 \mathcal{C}_0 C 0 , whose cycles have an A A A -edge outside P P P , and C 1 \mathcal{C}_1 C 1 , whose A A A -edges all lie in P P P . A missing A A A -edge from each cycle of C 0 \mathcal{C}_0 C 0 gives distinct edges of weight at least λ C \lambda_C λ C . Nonnegativity therefore gives
w ( A ∖ P ) ≥ ∑ C ∈ C 0 λ C . (9) w(A\setminus P)\ge\sum_{C\in\mathcal{C}_0}\lambda_C. \tag*{(9)} w ( A ∖ P ) ≥ C ∈ C 0 ∑ λ C . (9)
For the other cycles, we will select one new B B B -edge per cycle whose addition to P 0 P_0 P 0 preserves a linear forest.
Simultaneous selection. The graphic matroid of G G G treats an edge set as independent exactly when it contains no cycle. Its rank rk ( X ) \operatorname{rk}(X) rk ( X ) is the maximum size of an acyclic subset of X X X ; equivalently, rk ( X ) = n − cc ( X ) \operatorname{rk}(X)=n-\operatorname{cc}(X) rk ( X ) = n − cc ( X ) , where cc ( X ) \operatorname{cc}(X) cc ( X ) counts the components of ( V , X ) (V,X) ( V , X ) , including isolates. Contract each component of P 0 P_0 P 0 to one vertex and keep the edges of E ∖ P 0 E\setminus P_0 E ∖ P 0 as distinct copies, including loops and parallel edges. In the resulting graphic matroid, a set X ⊆ E ∖ P 0 X\subseteq E\setminus P_0 X ⊆ E ∖ P 0 has rank rk ( P 0 ∪ X ) − rk ( P 0 ) \operatorname{rk}(P_0\cup X)-\operatorname{rk}(P_0) rk ( P 0 ∪ X ) − rk ( P 0 ) and is independent exactly when P 0 ∪ X P_0\cup X P 0 ∪ X is acyclic.
For J ⊆ C 1 \mathcal{J}\subseteq\mathcal{C}_1 J ⊆ C 1 , define A J = A ∩ ⋃ C ∈ J E ( C ) A_{\mathcal{J}}=A\cap\bigcup_{C\in\mathcal{J}}E(C) A J = A ∩ ⋃ C ∈ J E ( C ) and B J = B ∩ ⋃ C ∈ J E ( C ) B_{\mathcal{J}}=B\cap\bigcup_{C\in\mathcal{J}}E(C) B J = B ∩ ⋃ C ∈ J E ( C ) . Since P 0 ∪ A J ⊆ P P_0\cup A_{\mathcal{J}}\subseteq P P 0 ∪ A J ⊆ P is a forest, its rank is rk ( P 0 ) + ∣ A J ∣ \operatorname{rk}(P_0)+|A_{\mathcal{J}}| rk ( P 0 ) + ∣ A J ∣ . In P 0 ∪ A J ∪ B J P_0\cup A_{\mathcal{J}}\cup B_{\mathcal{J}} P 0 ∪ A J ∪ B J , delete one A A A -edge per cycle in J \mathcal{J} J . Each deleted edge has a bypass along its own cycle; the cycles are disjoint, so these deletions preserve connectivity. The remaining graph adds only ∣ A J ∣ − ∣ J ∣ |A_{\mathcal{J}}|-|\mathcal{J}| ∣ A J ∣ − ∣ J ∣ edges to P 0 ∪ B J P_0\cup B_{\mathcal{J}} P 0 ∪ B J . Hence
rk ( P 0 ) + ∣ A J ∣ ≤ rk ( P 0 ∪ A J ∪ B J ) ≤ rk ( P 0 ∪ B J ) + ∣ A J ∣ − ∣ J ∣ , \operatorname{rk}(P_0)+|A_{\mathcal{J}}|\le\operatorname{rk}(P_0\cup A_{\mathcal{J}}\cup B_{\mathcal{J}})\le\operatorname{rk}(P_0\cup B_{\mathcal{J}})+|A_{\mathcal{J}}|-|\mathcal{J}|, rk ( P 0 ) + ∣ A J ∣ ≤ rk ( P 0 ∪ A J ∪ B J ) ≤ rk ( P 0 ∪ B J ) + ∣ A J ∣ − ∣ J ∣ ,
and therefore
rk ( P 0 ∪ B J ) − rk ( P 0 ) ≥ ∣ J ∣ . (10) \operatorname{rk}(P_0\cup B_{\mathcal{J}})-\operatorname{rk}(P_0)\ge|\mathcal{J}|. \tag*{(10)} rk ( P 0 ∪ B J ) − rk ( P 0 ) ≥ ∣ J ∣. (10)
The disjoint candidate sets are ( B ∩ E ( C ) ) ∖ P 0 (B \cap E(C)) \setminus P_0 ( B ∩ E ( C )) ∖ P 0 , for C ∈ C 1 C \in\mathcal{C}_1 C ∈ C 1 . Rado’s criterion [25 ] gives one representative from each set, independent in the contracted matroid, whenever the union of any subfamily has rank at least the number of sets in that subfamily. Equation (10) verifies this condition; excluding edges already in P 0 P_0 P 0 does not change the rank. The selected edges e C e_C e C therefore create no cycle when added to P 0 P_0 P 0 .
Degrees and weight. Each cycle in C 1 \mathcal{C}_1 C 1 has its A A A -edges in P P P , so deleting A A A leaves its vertices with degree at most one. The representatives belong to the matching B B B , so their endpoints are distinct. Hence Q = P 0 ∪ { e C : C ∈ C 1 } Q = P_0 \cup\{e_C : C \in\mathcal{C}_1\} Q = P 0 ∪ { e C : C ∈ C 1 } is a path cover in G − A G - A G − A . Splitting Q Q Q into two matchings and using (9) gives 2 ν w ( G − A ) ≥ w ( Q ) ≥ w ( P − A ) + ∑ C ∈ C 1 λ C = w ( P ) − w ( A ) + w ( A ∖ P ) + ∑ C ∈ C 1 λ C ≥ w ( P ) − w ( A ) + Λ ( A , B ) 2\nu_w(G - A) \ge w(Q) \ge w(P - A) + \sum_{C \in\mathcal{C}_1} \lambda_C = w(P) - w(A) + w(A \setminus P) + \sum_{C \in\mathcal{C}_1} \lambda_C \ge w(P) - w(A) + \Lambda(A,B) 2 ν w ( G − A ) ≥ w ( Q ) ≥ w ( P − A ) + ∑ C ∈ C 1 λ C = w ( P ) − w ( A ) + w ( A ∖ P ) + ∑ C ∈ C 1 λ C ≥ w ( P ) − w ( A ) + Λ ( A , B ) .
Theorem 11. Let 0 < α , β ≤ 1 0 < \alpha, \beta\le1 0 < α , β ≤ 1 . Suppose A A A is a matching in G G G and B B B a matching in G − A G - A G − A with w ( A ) ≥ α ν w ( G ) w(A) \ge\alpha\nu_w(G) w ( A ) ≥ α ν w ( G ) and w ( B ) ≥ β ν w ( G − A ) w(B) \ge\beta\nu_w(G - A) w ( B ) ≥ β ν w ( G − A ) . Then Algorithm 2 returns a path cover F F F satisfying w ( F ) ≥ 2 α + β − α β 4 − β ρ w ( G ) w(F) \ge\frac{2\alpha+\beta-\alpha\beta}{4-\beta}\rho_w(G) w ( F ) ≥ 4 − β 2 α + β − α β ρ w ( G ) . Exact calls give 2 / 3 2/3 2/3 . With two error-δ \delta δ calls, 0 ≤ δ < 1 0 \le\delta< 1 0 ≤ δ < 1 , w ( F ) ≥ ( 1 − δ ) ( 2 + δ ) 3 + δ ρ w ( G ) ≥ 2 3 ( 1 − δ ) ρ w ( G ) w(F) \ge\frac{(1-\delta)(2+\delta)}{3+\delta}\rho_w(G) \ge\frac{2}{3}(1-\delta)\rho_w(G) w ( F ) ≥ 3 + δ ( 1 − δ ) ( 2 + δ ) ρ w ( G ) ≥ 3 2 ( 1 − δ ) ρ w ( G ) .
Proof. Splitting an optimum cover into two matchings gives w ( A ) ≥ α ρ w ( G ) / 2 w(A) \ge\alpha\rho_w(G)/2 w ( A ) ≥ α ρ w ( G ) /2 . By Lemma 10 and the second-call guarantee, β ρ w ( G ) ≤ β w ( A ) + 2 w ( B ) − β Λ \beta\rho_w(G) \le\beta w(A) + 2w(B) - \beta\Lambda β ρ w ( G ) ≤ β w ( A ) + 2 w ( B ) − β Λ . Use the identity ( 4 − β ) w ( F ) = ( β w ( A ) + 2 w ( B ) − β Λ ) + ( 4 − 2 β ) w ( A ) + ( 2 − β ) ( w ( B ) − 2 Λ ) (4-\beta)w(F) = (\beta w(A) + 2w(B) - \beta\Lambda) + (4 - 2\beta)w(A) + (2-\beta)(w(B) - 2\Lambda) ( 4 − β ) w ( F ) = ( β w ( A ) + 2 w ( B ) − β Λ ) + ( 4 − 2 β ) w ( A ) + ( 2 − β ) ( w ( B ) − 2Λ ) . Its terms are bounded below by β ρ w ( G ) \beta\rho_w(G) β ρ w ( G ) , α ( 2 − β ) ρ w ( G ) \alpha(2-\beta)\rho_w(G) α ( 2 − β ) ρ w ( G ) , and zero, respectively, using (8) . This proves the ratio. Set α = β = 1 \alpha= \beta= 1 α = β = 1 for the exact case, or α = β = 1 − δ \alpha= \beta= 1-\delta α = β = 1 − δ and use ( 2 + δ ) / ( 3 + δ ) ≥ 2 / 3 (2+\delta)/(3+\delta) \ge2/3 ( 2 + δ ) / ( 3 + δ ) ≥ 2/3 for the error bound.
Role of compensation. The term Λ ( A , B ) \Lambda(A,B) Λ ( A , B ) in Lemma 10 accounts for the weight later removed by cycle breaking. Omitting it gives only w ( A ) ≥ ρ w ( G ) / 2 w(A) \ge\rho_w(G)/2 w ( A ) ≥ ρ w ( G ) /2 and w ( B ) ≥ ( ρ w ( G ) − w ( A ) ) / 2 w(B) \ge(\rho_w(G) - w(A))/2 w ( B ) ≥ ( ρ w ( G ) − w ( A )) /2 for exact calls, hence w ( A ) + w ( B ) ≥ 3 ρ w ( G ) / 4 w(A) + w(B) \ge3\rho_w(G)/4 w ( A ) + w ( B ) ≥ 3 ρ w ( G ) /4 [12 ] . Separately bounding the loss by one quarter of this total guarantees only 9 ρ w ( G ) / 16 9\rho_w(G)/16 9 ρ w ( G ) /16 [6 ] . Keeping the loss term in the residual-matching bound gives 2 / 3 2/3 2/3 instead. This exact-call constant is tight (Proposition 20); tightness of the general ( α , β ) (\alpha,\beta) ( α , β ) bound is not established.
Unweighted path cover by component matching
For unweighted graphs, we choose connections between the components of A ∪ B A \cup B A ∪ B before opening their cycles. A matching in a simple auxiliary graph implements this choice.
Component graph and matching bounds
Let Q ⊆ E Q \subseteq E Q ⊆ E be a simple 2-matching : a spanning subgraph of maximum degree at most two, with cycles allowed. A vertex is available if it lies on a cycle of Q Q Q or has degree at most one in Q Q Q . An eligible connector is an edge joining available vertices in distinct components. The simple component graph K Q K_Q K Q has the components of ( V , Q ) (V,Q) ( V , Q ) as vertices and an adjacency whenever an eligible connector exists. Let k k k count the cycles of Q Q Q . Deleting one edge from each cycle leaves f = ∣ Q ∣ − k f = |Q| - k f = ∣ Q ∣ − k edges in n − f n - f n − f path components, including isolates. Let h ∗ = ν ( K Q ) h_* = \nu(K_Q) h ∗ = ν ( K Q ) be the maximum number of disjoint component pairs that can be joined. A matching of K Q K_Q K Q with j j j edges gives a cover of size f + j f + j f + j : choose a witnessing connector for each matched pair, open each matched cycle at its attachment vertex by deleting an incident edge, and open other cycles arbitrarily. The connectors join disjoint pairs of paths, so no cycle or degree-three vertex is created.
For each component C C C , let P C P_C P C be its available-vertex set and put q C = ∣ P C ∣ ≥ 1 q_C = |P_C| \ge1 q C = ∣ P C ∣ ≥ 1 . Let I I I contain the internal (degree-two) vertices of the path components of Q Q Q and put i = ∣ I ∣ i = |I| i = ∣ I ∣ .
Lemma 12. There exists S ⊆ V ( K Q ) S \subseteq V(K_Q) S ⊆ V ( K Q ) with ∣ S ∣ ≤ h ∗ |S| \le h_\ast ∣ S ∣ ≤ h ∗ such that
ρ ( G ) ≤ f + 2 h ∗ + i + ∑ C ∈ S ( q C − 1 ) . (11) \rho(G) \le f + 2h_\ast+ i + \sum_{C \in S}(q_C - 1). \tag*{(11)} ρ ( G ) ≤ f + 2 h ∗ + i + C ∈ S ∑ ( q C − 1 ) . (11) Proof. Let o ( H ) o(H) o ( H ) count the odd-order connected components of a graph H H H . Since K Q K_Q K Q has n − f n-f n − f vertices, the Tutte–Berge formula [24 ] gives S S S with o ( K Q − S ) − ∣ S ∣ = n − f − 2 h ∗ o(K_Q-S)-|S|=n-f-2h_\ast o ( K Q − S ) − ∣ S ∣ = n − f − 2 h ∗ . The bound o ( K Q − S ) ≤ n − f − ∣ S ∣ o(K_Q-S)\le n-f-|S| o ( K Q − S ) ≤ n − f − ∣ S ∣ then gives ∣ S ∣ ≤ h ∗ |S|\le h_\ast ∣ S ∣ ≤ h ∗ .
An optimum path cover P P P has n − ρ ( G ) n-\rho(G) n − ρ ( G ) components. Delete the vertices in I I I and all sets P C P_C P C with C ∈ S C\in S C ∈ S . Each deleted vertex increases the number of components by at most one, so at most n − ρ ( G ) + i + ∑ C ∈ S q C n-\rho(G)+i+\sum_{C\in S}q_C n − ρ ( G ) + i + ∑ C ∈ S q C remain.
Every component of K Q − S K_Q-S K Q − S contains a nonempty surviving set P C P_C P C . No surviving input edge joins sets in different components of K Q − S K_Q-S K Q − S , because such an edge would be eligible. Thus at least o ( K Q − S ) o(K_Q-S) o ( K Q − S ) forest components remain, and n − f − 2 h ∗ + ∣ S ∣ ≤ n − ρ ( G ) + i + ∑ C ∈ S q C n-f-2h_\ast+|S|\le n-\rho(G)+i+\sum_{C\in S}q_C n − f − 2 h ∗ + ∣ S ∣ ≤ n − ρ ( G ) + i + ∑ C ∈ S q C . Rearranging proves the bound. The algorithm need not compute S S S .
Lemma 13. If Q = A ∪ B Q=A\cup B Q = A ∪ B for edge-disjoint matchings, set s = ∣ B ∣ − 2 k ≥ 0 s=|B|-2k\ge0 s = ∣ B ∣ − 2 k ≥ 0 . Then
ρ ( G ) ≤ f + 2 s + 5 h ∗ . (12) \rho(G) \le f+2s+5h_\ast. \tag*{(12)} ρ ( G ) ≤ f + 2 s + 5 h ∗ . (12) Proof. Use S S S from Lemma 12 and put b C = ∣ B ∩ E ( C ) ∣ b_C=|B\cap E(C)| b C = ∣ B ∩ E ( C ) ∣ . Every cycle has 2 b C ≥ 4 2b_C\ge4 2 b C ≥ 4 edges. A cycle in S S S contributes q C − 1 = 2 ( b C − 2 ) + 3 q_C-1=2(b_C-2)+3 q C − 1 = 2 ( b C − 2 ) + 3 to the sum in (11) . By alternation, a nontrivial ℓ \ell ℓ -edge path has ℓ − 1 ≤ 2 b C \ell-1\le2b_C ℓ − 1 ≤ 2 b C internal vertices; its available-vertex set contributes one more if C ∈ S C\in S C ∈ S . Isolates contribute zero. Therefore i + ∑ C ∈ S ( q C − 1 ) ≤ 2 ∑ C a path b C + 2 ∑ C a cycle ( b C − 2 ) + 3 ∣ S ∣ = 2 s + 3 ∣ S ∣ ≤ 2 s + 3 h ∗ i+\sum_{C\in S}(q_C-1)\le2\sum_{C\text{ a path}}b_C+2\sum_{C\text{ a cycle}}(b_C-2)+3|S|=2s+3|S|\le2s+3h_\ast i + ∑ C ∈ S ( q C − 1 ) ≤ 2 ∑ C a path b C + 2 ∑ C a cycle ( b C − 2 ) + 3∣ S ∣ = 2 s + 3∣ S ∣ ≤ 2 s + 3 h ∗ . Here the cycle terms added for C ∉ S C\notin S C ∈ / S are nonnegative. Apply (11) .
An auxiliary graph for component matching
To avoid storing all component adjacencies, keep the available vertices separate. For arbitrary Q Q Q , order them as p C , 1 , … , p C , q C p_{C,1},\ldots,p_{C,q_C} p C , 1 , … , p C , q C , introduce q C − 1 q_C-1 q C − 1 private vertices outside V V V , and add the internal path
p C , 1 − z C , 1 − p C , 2 − z C , 2 − ⋯ − z C , q C − 1 − p C , q C . (13) p_{C,1}-z_{C,1}-p_{C,2}-z_{C,2}-\cdots-z_{C,q_C-1}-p_{C,q_C}. \tag*{(13)} p C , 1 − z C , 1 − p C , 2 − z C , 2 − ⋯ − z C , q C − 1 − p C , q C . (13)
For q C = 1 q_C=1 q C = 1 , this is a single vertex. The auxiliary graph L Q L_Q L Q contains these paths and every eligible original connector; unavailable original vertices remain as isolates. Define b 0 = ∑ C ( q C − 1 ) b_0=\sum_C(q_C-1) b 0 = ∑ C ( q C − 1 ) . Then L Q L_Q L Q is simple, with n + b 0 ≤ 2 n n+b_0\le2n n + b 0 ≤ 2 n vertices and at most m + 2 b 0 m+2b_0 m + 2 b 0 edges. It need not be bipartite. Also b 0 ≤ f b_0\le f b 0 ≤ f : a cycle contributes its length minus one to both quantities, a nontrivial path contributes one to b 0 b_0 b 0 and its length to f f f , and an isolate contributes zero.
Lemma 14. For every simple 2 2 2 -matching Q Q Q ,
ν ( L Q ) = b 0 + h ∗ . (14) \nu(L_Q)=b_0+h_\ast. \tag*{(14)} ν ( L Q ) = b 0 + h ∗ . (14) Every matching M M M in L Q L_Q L Q yields original connectors representing a matching J J J of K Q K_Q K Q , with ∣ J ∣ ≥ ∣ M ∣ − b 0 |J|\ge|M|-b_0 ∣ J ∣ ≥ ∣ M ∣ − b 0 .
Proof. Lifting a component matching. Choose original witnesses for a maximum matching of K Q K_Q K Q . In each component at most one available vertex, say p C , j p_{C,j} p C , j , is used externally. Match z C , i z_{C,i} z C , i to p C , i p_{C,i} p C , i for i < j i<j i < j , and to p C , i + 1 p_{C,i+1} p C , i + 1 for i ≥ j i\ge j i ≥ j . This matches all private vertices while leaving p C , j p_{C,j} p C , j free. Choose any j j j in an unused component. The resulting matching has b 0 + h ∗ b_0+h_\ast b 0 + h ∗ edges.
Extracting connectors. For an arbitrary auxiliary matching M M M , let X X X be its external edges and t C t_C t C their number of endpoints in component C C C . Each internal matched edge uses a private vertex and an available vertex not occupied by X X X . Its component therefore contributes at most min { q C − 1 , q C − t C } = ( q C − 1 ) − ( t C − 1 ) + \min\{q_C-1,q_C-t_C\}=(q_C-1)-(t_C-1)_+ min { q C − 1 , q C − t C } = ( q C − 1 ) − ( t C − 1 ) + internal edges, where x + = max { x , 0 } x_+=\max\{x,0\} x + = max { x , 0 } . With Φ = ∑ C ( t C − 1 ) + \Phi=\sum_C(t_C-1)_+ Φ = ∑ C ( t C − 1 ) + , we obtain ∣ M ∣ ≤ b 0 + ∣ X ∣ − Φ |M|\le b_0+|X|-\Phi ∣ M ∣ ≤ b 0 + ∣ X ∣ − Φ . While a component meets at least two edges of X X X , delete one of them. Each deletion reduces the current excess by at least one, so at most the initial Φ \Phi Φ edges are deleted. The remaining connectors form J J J with ∣ J ∣ ≥ ∣ X ∣ − Φ ≥ ∣ M ∣ − b 0 |J|\ge|X|-\Phi\ge|M|-b_0 ∣ J ∣ ≥ ∣ X ∣ − Φ ≥ ∣ M ∣ − b 0 . Since ∣ J ∣ ≤ h ∗ |J|\le h_* ∣ J ∣ ≤ h ∗ , this also proves the upper bound in (14) .
If ∣ M ∣ ≥ γ ν ( L Q ) |M|\ge\gamma\nu(L_Q) ∣ M ∣ ≥ γ ν ( L Q ) for 0 < γ ≤ 1 0<\gamma\le1 0 < γ ≤ 1 , extraction and cycle opening give
∣ F ∣ = f + ∣ J ∣ ≥ γ ( f + h ∗ ) + ( 1 − γ ) ( f − b 0 ) ≥ γ ( f + h ∗ ) . (15) |F|=f+|J|\ge\gamma(f+h_*)+(1-\gamma)(f-b_0)\ge\gamma(f+h_*). \tag*{(15)} ∣ F ∣ = f + ∣ J ∣ ≥ γ ( f + h ∗ ) + ( 1 − γ ) ( f − b 0 ) ≥ γ ( f + h ∗ ) . (15)
Since f ≥ b 0 f\ge b_0 f ≥ b 0 , the extra term is nonnegative. This proves the approximation for the whole forest, even though the extracted connectors need not approximate h ∗ h_* h ∗ multiplicatively.
Three-call algorithm and approximation guarantee
Algorithm 3 Unweighted path cover by component matching
Input: Unweighted edge stream of G = ( V , E ) G=(V,E) G = ( V , E ) ; matching ratios 0 < α , β , γ ≤ 1 0<\alpha,\beta,\gamma\le1 0 < α , β , γ ≤ 1 .
Output: A path cover ( V , F ) (V,F) ( V , F ) .
Compute a matching A A A in G G G with ∣ A ∣ ≥ α ν ( G ) |A|\ge\alpha\nu(G) ∣ A ∣ ≥ α ν ( G ) .
Compute a matching B B B in G − A G-A G − A with ∣ B ∣ ≥ β ν ( G − A ) |B|\ge\beta\nu(G-A) ∣ B ∣ ≥ β ν ( G − A ) .
Q ← A ∪ B Q\leftarrow A\cup B Q ← A ∪ B ; fix its component labels and available-vertex sets.
Prepare the auxiliary-path records defining the virtual stream of L Q L_Q L Q .
Compute a matching M M M in the virtual stream of L Q L_Q L Q with ∣ M ∣ ≥ γ ν ( L Q ) |M|\ge\gamma\nu(L_Q) ∣ M ∣ ≥ γ ν ( L Q ) .
J ← { u v ∈ M : u , v ∈ V } J\leftarrow\{uv\in M:u,v\in V\} J ← { uv ∈ M : u , v ∈ V } , the original connector edges of M M M .
while some fixed component C C C of ( V , Q ) (V,Q) ( V , Q ) meets at least two edges of J J J do
Delete any one of those edges from J J J .
F ← Q F\leftarrow Q F ← Q .
for each cycle component C C C of ( V , Q ) (V,Q) ( V , Q ) do
if C C C meets its unique connector of J J J at vertex v v v then
Delete from F F F either edge of C C C incident with v v v .
else
Delete from F F F any edge of C C C .
F ← F ∪ J F\leftarrow F\cup J F ← F ∪ J ; return ( V , F ) (V,F) ( V , F ) .
Theorem 15. For 0 < α , β , γ ≤ 1 0<\alpha,\beta,\gamma\le1 0 < α , β , γ ≤ 1 , Algorithm 3 returns a path cover F F F satisfying
∣ F ∣ ≥ γ 1 + 2 α + 2 β 7 ρ ( G ) . |F|\ge\gamma\frac{1+2\alpha+2\beta}{7}\rho(G). ∣ F ∣ ≥ γ 7 1 + 2 α + 2 β ρ ( G ) . When all three calls have error 0 ≤ δ < 1 0\le\delta<1 0 ≤ δ < 1 , the ratio is at least ( 1 − δ ) ( 5 − 4 δ ) 7 = 5 7 − 9 7 δ + 4 7 δ 2 \frac{(1-\delta)(5-4\delta)}{7}=\frac{5}{7}-\frac{9}{7}\delta+\frac{4}{7}\delta^2 7 ( 1 − δ ) ( 5 − 4 δ ) = 7 5 − 7 9 δ + 7 4 δ 2 .
Proof. Put Q = A ∪ B Q=A\cup B Q = A ∪ B and s = ∣ B ∣ − 2 k s=|B|-2k s = ∣ B ∣ − 2 k . Splitting an optimum path cover gives 2 ∣ A ∣ ≥ α ρ ( G ) 2|A|\ge\alpha\rho(G) 2∣ A ∣ ≥ α ρ ( G ) . Applying Lemma 10 with unit weights gives 2 ∣ B ∣ ≥ β ( ρ ( G ) − ∣ A ∣ + k ) 2|B|\ge\beta(\rho(G)-|A|+k) 2∣ B ∣ ≥ β ( ρ ( G ) − ∣ A ∣ + k ) , and hence
∣ A ∣ + 2 ∣ B ∣ − k ≥ β ρ ( G ) + ( 1 − β ) ( ∣ A ∣ − k ) ≥ β ρ ( G ) , |A|+2|B|-k\ge\beta\rho(G)+(1-\beta)(|A|-k)\ge\beta\rho(G), ∣ A ∣ + 2∣ B ∣ − k ≥ β ρ ( G ) + ( 1 − β ) ( ∣ A ∣ − k ) ≥ β ρ ( G ) ,
because ∣ A ∣ ≥ 2 k |A|\ge2k ∣ A ∣ ≥ 2 k . Thus
3 f = 2 ∣ A ∣ + ( ∣ A ∣ + 2 ∣ B ∣ − k ) + ( ∣ B ∣ − 2 k ) ≥ ( α + β ) ρ ( G ) + s . (16) 3f=2|A|+(|A|+2|B|-k)+(|B|-2k)\ge(\alpha+\beta)\rho(G)+s. \tag*{(16)} 3 f = 2∣ A ∣ + ( ∣ A ∣ + 2∣ B ∣ − k ) + ( ∣ B ∣ − 2 k ) ≥ ( α + β ) ρ ( G ) + s . (16)
Substitute s ≤ 3 f − ( α + β ) ρ ( G ) s \le3f - (\alpha+ \beta)\rho(G) s ≤ 3 f − ( α + β ) ρ ( G ) into (12) : ( 1 + 2 α + 2 β ) ρ ( G ) ≤ 7 f + 5 h ∗ ≤ 7 ( f + h ∗ ) (1 + 2\alpha+ 2\beta)\rho(G) \le7f + 5h_* \le7(f + h_*) ( 1 + 2 α + 2 β ) ρ ( G ) ≤ 7 f + 5 h ∗ ≤ 7 ( f + h ∗ ) . Equation (15) now proves the first claim. Substitute α = β = γ = 1 − δ \alpha= \beta= \gamma= 1 - \delta α = β = γ = 1 − δ for the second. ◀
Section 6.1 contrasts this auxiliary call with a third matching in the residual graph.
Semi-streaming implementations and guarantees
For weighted algorithms, assume rational weights with at most L i n L_{\mathrm{in}} L in bits per numerator and denominator. A word has O ( L i n + log ( n / ε ) ) O(L_{\mathrm{in}} + \log(n/\varepsilon)) O ( L in + log ( n / ε )) bits. At fixed accuracy and L i n = O ( polylog n ) L_{\mathrm{in}} = O(\operatorname{polylog} n) L in = O ( polylog n ) , the bounds below give semi-streaming space.
Let T u ( N , δ ) T_u(N, \delta) T u ( N , δ ) , S u ( N , δ ) S_u(N, \delta) S u ( N , δ ) be monotone bounds on passes and words for a deterministic error-δ \delta δ cardinality-matching routine on at most N N N vertices. Let T w ( δ ) T_w(\delta) T w ( δ ) , S w ( n , δ , W ) S_w(n, \delta, W) S w ( n , δ , W ) denote the corresponding bounds for a deterministic routine on simple graphs with integer weights in [ 1 , W ] [1, W] [ 1 , W ] .
Corollary 16. For 0 < ε < 1 / 3 0 < \varepsilon< 1/3 0 < ε < 1/3 , set δ = 7 ε / 9 \delta= 7\varepsilon/9 δ = 7 ε /9 . Algorithm 3, with α = β = γ = 1 − δ \alpha= \beta= \gamma= 1 - \delta α = β = γ = 1 − δ , gives a ( 5 / 7 − ε ) (5/7 - \varepsilon) ( 5/7 − ε ) -approximation in 2 T u ( n , δ ) + T u ( 2 n , δ ) 2T_u(n, \delta) + T_u(2n, \delta) 2 T u ( n , δ ) + T u ( 2 n , δ ) passes and S u ( 2 n , δ ) + O ( n ) S_u(2n, \delta) + O(n) S u ( 2 n , δ ) + O ( n ) words. An optional cleanup scan makes the forest maximal without weakening the bound.
Proof. Store A A A as a matched-partner array to filter the second call. Since Q = A ∪ B Q = A \cup B Q = A ∪ B has at most n n n edges, its components, available vertices, and auxiliary-path records fit in O ( n ) O(n) O ( n ) words.
A virtual scan of L Q L_Q L Q first generates its 2 b 0 2b_0 2 b 0 internal edges, then scans G G G for eligible connectors. This costs one original scan and O ( n ) O(n) O ( n ) extra work. Connectors keep their original endpoint pairs, so no component-pair deduplication is needed. Component computation, extraction, cycle opening, and reporting the forest require no further scan.
Substituting δ = 7 ε / 9 \delta= 7\varepsilon/9 δ = 7 ε /9 in Theorem 15 gives ratio at least 5 / 7 − ε + 28 ε 2 / 81 5/7 - \varepsilon+ 28\varepsilon^2/81 5/7 − ε + 28 ε 2 /81 . For cleanup, add an edge when both endpoint degrees are at most one and their current components differ. Degrees and connectivity only increase, so a rejected edge never becomes feasible. One scan, using degrees and union–find in O ( n ) O(n) O ( n ) words, therefore makes the forest maximal. ◀
The deterministic matching algorithm in [20 ] improves [14 ] and gives an O ( ε − 6 ) O(\varepsilon^{-6}) O ( ε − 6 ) -pass implementation using O ( n ε − 6 ) O(n\varepsilon^{-6}) O ( n ε − 6 ) words. For its ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximation convention, choose κ = δ / ( 1 − δ ) \kappa= \delta/(1-\delta) κ = δ / ( 1 − δ ) so that 1 / ( 1 + κ ) = 1 − δ 1/(1+\kappa) = 1 - \delta 1/ ( 1 + κ ) = 1 − δ . The preprint [18 ] gives O ( ε − 4 ) O(\varepsilon^{-4}) O ( ε − 4 ) passes and O ( n log n ) O(n\log n) O ( n log n ) bits.
Corollary 17. For an n n n -vertex ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP instance with n ≥ 3 n \ge3 n ≥ 3 and 0 < ε < 1 / 3 0 < \varepsilon< 1/3 0 < ε < 1/3 , the algorithm returns a tour of cost at most ( 9 / 7 + ε + 5 / ( 7 n ) ) OPT 12 (9/7 + \varepsilon+ 5/(7n))\operatorname{OPT}_{12} ( 9/7 + ε + 5/ ( 7 n )) OPT 12 , with the pass and space bounds of Corollary 16 .
Proof. Apply the algorithm to G 1 G_1 G 1 . Its forest has at least λ ρ ( G 1 ) \lambda\rho(G_1) λ ρ ( G 1 ) edges for λ = 5 / 7 − ε \lambda= 5/7 - \varepsilon λ = 5/7 − ε . By Lemma 1 , completion costs at most ( 2 − λ ) OPT 12 + λ (2 - \lambda)\operatorname{OPT}_{12} + \lambda ( 2 − λ ) OPT 12 + λ . Use OPT 12 ≥ n \operatorname{OPT}_{12} \ge n OPT 12 ≥ n and λ ≤ 5 / 7 \lambda\le5/7 λ ≤ 5/7 . Completing the stored paths needs no new scan; each connector costs at most two. ◀
Theorem 18. For 0 < ε < 1 / 3 0 < \varepsilon< 1/3 0 < ε < 1/3 , weighted path cover and Max-TSP admit deterministic ( 2 / 3 − ε ) (2/3 - \varepsilon) ( 2/3 − ε ) -approximations in O ( 1 / ε ) O(1/\varepsilon) O ( 1/ ε ) passes independent of n n n and O ( n log ( n / ε ) poly ( 1 / ε ) ) O(n\log(n/\varepsilon)\operatorname{poly}(1/\varepsilon)) O ( n log ( n / ε ) poly ( 1/ ε )) words. For Max-TSP with n < 4 / ε n < 4/\varepsilon n < 4/ ε , the algorithm stores the rounded graph and solves a degree-two relaxation offline; otherwise it uses two matching calls.
Proof. Matching primitive. The weighted matching algorithm in [17 ] gives T w ( δ ) = poly ( 1 / δ ) T_w(\delta) = \operatorname{poly}(1/\delta) T w ( δ ) = poly ( 1/ δ ) and S w ( n , δ , W ) = O ( n log ( 2 W ) poly ( 1 / δ ) ) S_w(n,\delta,W) = O(n\log(2W)\operatorname{poly}(1/\delta)) S w ( n , δ , W ) = O ( n log ( 2 W ) poly ( 1/ δ )) words. Its streaming implementation of the weight reduction in [16 ] keeps weight-range dependence in memory, not passes. We write log ( 2 W ) \log(2W) log ( 2 W ) to include W = 1 W = 1 W = 1 . Normalization and path covers. Choose reciprocal powers of two θ , δ ∈ ( ε / 8 , ε / 4 ] \theta,\delta\in(\varepsilon/8,\varepsilon/4] θ , δ ∈ ( ε /8 , ε /4 ] . Find the maximum edge weight w max w_{\max} w m a x (zero if E = ∅ E = \varnothing E = ∅ ) in one pass; if it is zero, any feasible output suffices. Otherwise set τ = θ w max / n \tau= \theta w_{\max}/n τ = θ w m a x / n , w ^ ( e ) = ⌊ w ( e ) / τ ⌋ \widehat{w}(e) = \lfloor w(e)/\tau\rfloor w ( e ) = ⌊ w ( e ) / τ ⌋ , and W = ⌊ n / θ ⌋ W = \lfloor n/\theta\rfloor W = ⌊ n / θ ⌋ . Positive rounded weights lie in [ 1 , W ] [1,W] [ 1 , W ] . A cover or tour has at most n n n edges, so rounding loses at most θ w max \theta w_{\max} θ w m a x . If ρ ^ \widehat{\rho} ρ is the optimum rounded cover weight, then τ ρ ^ ≥ ( 1 − θ ) ρ w ( G ) \tau\widehat{\rho} \ge(1-\theta)\rho_w(G) τ ρ ≥ ( 1 − θ ) ρ w ( G ) , since w max ≤ ρ w ( G ) w_{\max} \le\rho_w(G) w m a x ≤ ρ w ( G ) . Run Algorithm 2 with weights w ^ \widehat{w} w and α = β = 1 − δ \alpha= \beta= 1-\delta α = β = 1 − δ , ignoring zero rounded edges in its matching calls. By Theorem 11, w ( F ) ≥ τ w ^ ( F ) ≥ 2 3 ( 1 − δ ) τ ρ ^ ≥ 2 3 ( 1 − δ ) ( 1 − θ ) ρ w ( G ) w(F) \ge\tau\widehat{w}(F) \ge\frac{2}{3}(1-\delta)\tau\widehat{\rho} \ge\frac{2}{3}(1-\delta)(1-\theta)\rho_w(G) w ( F ) ≥ τ w ( F ) ≥ 3 2 ( 1 − δ ) τ ρ ≥ 3 2 ( 1 − δ ) ( 1 − θ ) ρ w ( G ) . This is at least ( 2 / 3 − ε ) ρ w ( G ) (2/3-\varepsilon)\rho_w(G) ( 2/3 − ε ) ρ w ( G ) .
Tours. Removing a lightest edge of an optimum tour gives ρ w ( G ) ≥ ( 1 − 1 / n ) OPT M a x T S P \rho_w(G) \ge(1-1/n)\operatorname{OPT}_{\mathrm{MaxTSP}} ρ w ( G ) ≥ ( 1 − 1/ n ) OPT MaxTSP . For n ≥ 4 / ε n \ge4/\varepsilon n ≥ 4/ ε , completing the returned paths retains a fraction at least 2 3 ( 1 − δ ) ( 1 − θ ) ( 1 − 1 / n ) ≥ 2 / 3 − ε \frac{2}{3}(1-\delta)(1-\theta)(1-1/n) \ge2/3-\varepsilon 3 2 ( 1 − δ ) ( 1 − θ ) ( 1 − 1/ n ) ≥ 2/3 − ε , because δ + θ + 1 / n ≤ 3 ε / 4 \delta+\theta+1/n \le3\varepsilon/4 δ + θ + 1/ n ≤ 3 ε /4 . For n < 4 / ε n < 4/\varepsilon n < 4/ ε , compute a maximum-weight simple 2-matching in the stored rounded graph. A rounded optimum tour is feasible for this relaxation. Deleting a lightest edge per cycle retains at least two thirds of the relaxation value [15 , 21 ] . Complete the paths. Since w max ≤ OPT M a x T S P w_{\max} \le\operatorname{OPT}_{\mathrm{MaxTSP}} w m a x ≤ OPT MaxTSP , the original output weight is at least 2 3 ( 1 − θ ) OPT M a x T S P \frac{2}{3}(1-\theta)\operatorname{OPT}_{\mathrm{MaxTSP}} 3 2 ( 1 − θ ) OPT MaxTSP .
Resources. Normalize on the fly and filter A A A during the second call. Storing A ∪ B A \cup B A ∪ B allows cycle breaking in memory. This uses 2 T w ( δ ) + O ( 1 ) 2T_w(\delta)+O(1) 2 T w ( δ ) + O ( 1 ) passes and S w ( n , δ , W ) + O ( n ) S_w(n,\delta,W)+O(n) S w ( n , δ , W ) + O ( n ) words. Reporting connector weights requires one further scan; reporting the tour does not. In the small branch, n = O ( 1 / ε ) n=O(1/\varepsilon) n = O ( 1/ ε ) and w ^ ( e ) = O ( ε − 2 ) \widehat{w}(e)=O(\varepsilon^{-2}) w ( e ) = O ( ε − 2 ) , so the stored graph and polynomial auxiliary workspace fit n poly ( 1 / ε ) n\operatorname{poly}(1/\varepsilon) n poly ( 1/ ε ) words. ◀
Other pass tradeoffs. The deterministic bound in Theorem 18 gives a constant pass count for each fixed target below 2 / 3 2/3 2/3 . Its accuracy dependence can be large: the comparison in [18 ] reports exponent 39 for the matching primitive. The randomized routine in [3 ] instead gives 2 / 3 − ε 2/3-\varepsilon 2/3 − ε in O ( log n / ε ) O(\log n/\varepsilon) O ( log n / ε ) passes with probability 1 − n − Ω ( 1 ) 1-n^{-\Omega(1)} 1 − n − Ω ( 1 ) . Fresh randomness in the second call gives its guarantee conditional on A A A ; a union bound controls both calls.
Lower unweighted targets need less work. The greedy component method in Appendix § 11 gives 7 / 10 − ε 7/10-\varepsilon 7/10 − ε using two matching calls and one scan. A matching followed by greedy forest extension gives 2 / 3 − ε 2/3-\varepsilon 2/3 − ε in T u ( n , 3 ε ) + 1 T_u(n,3\varepsilon)+1 T u ( n , 3 ε ) + 1 passes (Appendix § 9 .§ 3 ).
Appendix § 10 .§ 2 obtains 3 / 4 − ε 3/4-\varepsilon 3/4 − ε unweighted and 4 / 5 − ε 4/5-\varepsilon 4/5 − ε on triangle-free inputs via [1 ] . The pass bound is O ( ε − 4 log 2 ( 1 / ε ) log n ) O(\varepsilon^{-4}\log^2(1/\varepsilon)\log n) O ( ε − 4 log 2 ( 1/ ε ) log n ) . The unit-weight support bound justifies rounding in memory; the weighted comparison in Appendix § 9 .§ 1 remains conditional on support availability. No determinism claim is added for these imported algorithms.
Given an explicit starting 2-matching Q Q Q , Appendix § 10 .§ 3 estimates the optimized joining value f + h ∗ f+h_\ast f + h ∗ to additive error η n \eta n η n in subquadratic time. Constructing Q Q Q within that budget is not part of this result.
Algorithmic limits and open questions
Limits of residual matching and contraction
We consider exact residual matching and repeated contraction. These limitations concern the stated rules, not all semi-streaming algorithms.
Three residual matchings. Start with H 0 = ∅ H_0=\varnothing H 0 = ∅ . For i = 1 , 2 , 3 i=1,2,3 i = 1 , 2 , 3 , compute a maximum-weight matching M i M_i M i in G − H i − 1 G-H_{i-1} G − H i − 1 and set H i = H i − 1 ∪ M i H_i=H_{i-1}\cup M_i H i = H i − 1 ∪ M i . The ratio ρ w ( H 3 ) / ρ w ( G ) \rho_w(H_3)/\rho_w(G) ρ w ( H 3 ) / ρ w ( G ) has infimum 2 / 3 2/3 2/3 over inputs and exact matching choices, even after optimal recombination of retained edges.
For a unit-weight example, take vertices 0 , … , 6 0,\ldots,6 0 , … , 6 and edge set M 1 ∪ M 2 ∪ M 3 ∪ R M_1\cup M_2\cup M_3\cup R M 1 ∪ M 2 ∪ M 3 ∪ R , where
M 1 = { 12 , 34 , 56 } , M 2 = { 15 , 26 } , M 3 = { 16 , 25 } , R = { 01 , 23 } . M_1=\{12,34,56\},\qquad M_2=\{15,26\},\qquad M_3=\{16,25\},\qquad R=\{01,23\}. M 1 = { 12 , 34 , 56 } , M 2 = { 15 , 26 } , M 3 = { 16 , 25 } , R = { 01 , 23 } .
These choices are maximum: M 1 M_1 M 1 matches six of seven vertices; after its deletion every edge meets { 1 , 2 } \{1, 2\} { 1 , 2 } , so each later matching has at most two edges. The retained graph H 3 H_3 H 3 consists of the complete graph on { 1 , 2 , 5 , 6 } \{1, 2, 5, 6\} { 1 , 2 , 5 , 6 } , the edge 34, and the isolated vertex 0. Thus ρ ( H 3 ) = 4 \rho(H_3) = 4 ρ ( H 3 ) = 4 , whereas the Hamiltonian path 0 − 1 − 5 − 6 − 2 − 3 − 4 0-1-5-6-2-3-4 0 − 1 − 5 − 6 − 2 − 3 − 4 gives ρ ( G ) = 6 \rho(G) = 6 ρ ( G ) = 6 . A weight perturbation makes all three choices unique while the ratio tends to 2/3 (Theorem 19 ). Our structured third call escapes this restriction by representing the missing connectors 01 and 23 in its auxiliary graph.
Repeated contraction. The iterative rule in [2 ] retains selected edges. Before each new call, it deletes unused edges incident with internal path vertices, contracts the paths, and discards loops.
Its ratio infima are 2/3 unweighted and 5/8 weighted (Appendix § 8 ). Every exact execution attains at least the corresponding fraction, and examples approach it. The unweighted construction uses particular maximum-matching choices. The weighted construction makes both initial choices unique; further rounds add no positive weight, and every tour containing the selected paths has ratio tending to 5/8. Thus further rounds do not improve the worst-case guarantees, answering the iteration question for exact calls.
Open questions
Sublinear-time estimation. The quadratic-query lower bound in [9 ] and Lemma 1 rule out a scheme giving ( 1 − η ) ρ ( G ) − η n ≤ s ≤ ρ ( G ) (1-\eta)\rho(G)-\eta n \le s \le\rho(G) ( 1 − η ) ρ ( G ) − η n ≤ s ≤ ρ ( G ) in truly subquadratic time for every fixed η > 0 \eta> 0 η > 0 . Appendix § 9 .§ 4 gives the corresponding computational restriction. Neither bound determines the best retention coefficient or running-time exponent.
Theorem 5 covers correlated uniform orders. Reversing an order merely transposes B π B_\pi B π , but nonuniform input-dependent orders could behave differently: an order along a known path retains all its edges. Can an algorithm find useful orders without learning that path, or obtain a better constant from another implicit representation?
Semi-streaming construction. The compensation proof uses vertex-disjoint alternating cycles and the degree bound left after deleting one matching. Replacing that matching by A ∪ B A \cup B A ∪ B need not preserve these properties. Better starting relaxations or compatible multiple attachments may improve the unweighted 5/7 or weighted 2/3 guarantee. The 4/5 approach in Appendix § 10 would require a suitable streaming triangle-free 2-matching primitive on general graphs. The deletion rule’s completed-tour infimum remains open.
Use of AI tools. Generative AI tools assisted with exploring examples, proof ideas, and tight instances; testing the algorithms on small graphs; editing the exposition; and checking references and parameters. The authors remain responsible for all mathematics, citations, and submitted text.
Residual matching and deletion-rule tightness
Use the residual sequence H i H_i H i from § 6.1 . The following theorem allows arbitrary postprocessing within H 3 H_3 H 3 .
Theorem 19. The infimum of ρ w ( H 3 ) / ρ w ( G ) \rho_w(H_3)/\rho_w(G) ρ w ( H 3 ) / ρ w ( G ) over positive-optimum inputs and legal exact choices is 2 / 3 2/3 2/3 . Ratios approaching 2 / 3 2/3 2/3 occur with unique optima in all three calls. Hence no postprocessing restricted to the edges retained by three exact calls has a larger uniform path-cover guarantee.
Proof. The first two matchings contain a forest of weight at least 2 ρ w ( G ) / 3 2\rho_w(G)/3 2 ρ w ( G ) /3 by Theorem 11, giving the lower bound. For the upper bound, use the nine-edge graph and sets M 1 M_1 M 1 , M 2 M_2 M 2 , M 3 M_3 M 3 , R R R displayed in § 6.1 . Give their edges weights 1 + 3 t 1+3t 1 + 3 t , 1 + 2 t 1+2t 1 + 2 t , 1 + t 1+t 1 + t , and 1 1 1 , respectively, where 0 ≤ t < 1 / 3 0 \le t < 1/3 0 ≤ t < 1/3 . The displayed matching in each round has maximum possible cardinality and uses only the heaviest available edges. For t > 0 t > 0 t > 0 , these edges are strictly heavier than all others, making every choice unique.
The retained graph has path-cover size four, as shown in § 6.1 . Its four heaviest edges sum to 4 + 11 t 4+11t 4 + 11 t , attained by the path 2 − 1 − 5 − 6 2-1-5-6 2 − 1 − 5 − 6 together with 34 34 34 .
In G G G , any six-edge forest is a Hamiltonian path from 0 0 0 to 4 4 4 , with last segment 2 − 3 − 4 2-3-4 2 − 3 − 4 . The only two possibilities pass through 1 − 5 − 6 − 2 1-5-6-2 1 − 5 − 6 − 2 or 1 − 6 − 5 − 2 1-6-5-2 1 − 6 − 5 − 2 , of total weights 6 + 10 t 6+10t 6 + 10 t and 6 + 8 t 6+8t 6 + 8 t . Any forest with at most five edges weighs at most 5 + 13 t < 6 + 10 t 5+13t < 6+10t 5 + 13 t < 6 + 10 t . Hence ρ w ( H 3 ) ρ w ( G ) = 4 + 11 t 6 + 10 t ⟶ 2 3 \frac{\rho_w(H_3)}{\rho_w(G)} = \frac{4+11t}{6+10t} \longrightarrow\frac{2}{3} ρ w ( G ) ρ w ( H 3 ) = 6 + 10 t 4 + 11 t ⟶ 3 2 . At t = 0 t=0 t = 0 , equality is attained.
Proposition 20. The deletion rule has path-cover ratio infimum 2 / 3 2/3 2/3 for every exact implementation, even when both matching calls have unique optima. It differs from the degree-two-relaxation algorithm in [21 ] .
Proof. The lower bound is Theorem 11. The family in Theorem 19 gives the upper bound even for an optimum forest in a larger retained graph, hence also for the two-call output. To distinguish the algorithms, take unit-weight edges E = { 01 , 12 , 15 , 23 , 26 , 34 , 56 } E = \{01, 12, 15, 23, 26, 34, 56\} E = { 01 , 12 , 15 , 23 , 26 , 34 , 56 } . The maximum choices A = { 12 , 34 , 56 } A = \{12, 34, 56\} A = { 12 , 34 , 56 } and B = { 15 , 26 } B = \{15, 26\} B = { 15 , 26 } give a four-cycle and edge 34 34 34 , hence four edges after breaking. The unique maximum simple 2-matching is the six-edge path 0 − 1 − 5 − 6 − 2 − 3 − 4 0-1-5-6-2-3-4 0 − 1 − 5 − 6 − 2 − 3 − 4 : retaining six edges must lower both degree-three vertices 1 1 1 , 2 2 2 , forcing deletion of their common edge 12 12 12 . The relaxation algorithm therefore returns six edges, not four.
A fourth residual call collects R R R . For unit weights, Figure 2 shows how joining and cleanup instead recover a Hamiltonian path using these missing edges.
Figure 2. Joining before cycle opening. Solid edges form A ∪ B A\cup B A ∪ B ; dashed edges in (a) are eligible connectors. Accepting 01 and removing 12 gives the five-edge forest in (b). A subsequent cleanup scan can add 23.
Repeated contraction: guarantees and tightness
For a matching M M M , contract each pair u v uv uv to a supervertex [ u v ] [uv] [ uv ] , leave unmatched vertices unchanged, discard loops, and retain parallel edge copies with their original identities and weights. Denote the quotient by G / M G/M G / M . Lifting a selected copy recovers its original edge. An ambient matching may pair nonadjacent vertices without adding an edge. If π M : V → V ( G / M ) \pi_M: V \to V(G/M) π M : V → V ( G / M ) is the quotient map, then ∣ π M − 1 ( S ) ∣ ≤ 2 ∣ S ∣ |\pi_M^{-1}(S)| \le2|S| ∣ π M − 1 ( S ) ∣ ≤ 2∣ S ∣ for every quotient-vertex set S S S .
Write F i F_i F i for the lifted union after i i i rounds of the iterative rule in § 6.1 . Since selected edges are never removed, we call the iteration frozen . Every call in a legal exact execution is optimal for its cardinality or weight objective. This is the iterative rule of [2 ] with approximate calls replaced by exact ones; quotient edges are identified with their original copies.
The unweighted two-round guarantee
We reprove the two-round guarantee of [2 ] using Tutte–Berge. The contraction bound below also allows ambient matchings.
Lemma 21. Let H H H be a loopless multigraph of maximum degree at most four, with degrees counting edge copies. If S = { v ∈ V ( H ) : deg H ( v ) ≥ 3 } S = \{v \in V(H) : \deg_H(v) \ge3\} S = { v ∈ V ( H ) : deg H ( v ) ≥ 3 } , then ∣ E ( H ) ∣ ≤ 3 ν ( H ) + ∣ S ∣ |E(H)| \le3\nu(H) + |S| ∣ E ( H ) ∣ ≤ 3 ν ( H ) + ∣ S ∣ .
Proof. By Tutte–Berge [24 ] , choose U ⊆ V ( H ) U \subseteq V(H) U ⊆ V ( H ) with 2 ν ( H ) = ∣ V ( H ) ∣ + ∣ U ∣ − o ( H − U ) 2\nu(H) = |V(H)| + |U| - o(H-U) 2 ν ( H ) = ∣ V ( H ) ∣ + ∣ U ∣ − o ( H − U ) , where o o o counts odd-order components. At most 3 ∣ U ∣ + ∣ S ∩ U ∣ 3|U| + |S \cap U| 3∣ U ∣ + ∣ S ∩ U ∣ edges meet U U U , since vertices outside S S S have degree at most two and those in S S S at most four. For a component C C C of H − U H-U H − U , summing degrees gives ∣ E ( C ) ∣ ≤ ∣ V ( C ) ∣ + ∣ S ∩ V ( C ) ∣ |E(C)| \le|V(C)| + |S \cap V(C)| ∣ E ( C ) ∣ ≤ ∣ V ( C ) ∣ + ∣ S ∩ V ( C ) ∣ . For even ∣ V ( C ) ∣ |V(C)| ∣ V ( C ) ∣ , this is at most 3 ∣ V ( C ) ∣ / 2 + ∣ S ∩ V ( C ) ∣ 3|V(C)|/2 + |S \cap V(C)| 3∣ V ( C ) ∣/2 + ∣ S ∩ V ( C ) ∣ ; for odd ∣ V ( C ) ∣ ≥ 3 |V(C)| \ge3 ∣ V ( C ) ∣ ≥ 3 , it is at most 3 ( ∣ V ( C ) ∣ − 1 ) / 2 + ∣ S ∩ V ( C ) ∣ 3(|V(C)|-1)/2 + |S \cap V(C)| 3 ( ∣ V ( C ) ∣ − 1 ) /2 + ∣ S ∩ V ( C ) ∣ . A singleton has no internal edge. Summing yields ∣ E ( H ) ∣ ≤ 3 ∣ U ∣ + 3 2 ( ∣ V ( H ) ∣ − ∣ U ∣ − o ( H − U ) ) + ∣ S ∣ = 3 ν ( H ) + ∣ S ∣ |E(H)| \le3|U| + \frac{3}{2}(|V(H)|-|U|-o(H-U)) + |S| = 3\nu(H) + |S| ∣ E ( H ) ∣ ≤ 3∣ U ∣ + 2 3 ( ∣ V ( H ) ∣ − ∣ U ∣ − o ( H − U )) + ∣ S ∣ = 3 ν ( H ) + ∣ S ∣ .
Lemma 22. For every simple graph G G G and ambient matching M M M on V ( G ) V(G) V ( G ) , ν ( G / M ) ≥ ( ρ ( G ) − ∣ M ∣ ) / 3 \nu(G/M) \ge(\rho(G)-|M|)/3 ν ( G / M ) ≥ ( ρ ( G ) − ∣ M ∣ ) /3 .
Proof. Fix a maximum path cover P P P . Let H H H be the spanning subgraph of G / M G/M G / M consisting of the surviving copies of P P P . It has ρ ( G ) − ∣ M ∩ P ∣ \rho(G)-|M \cap P| ρ ( G ) − ∣ M ∩ P ∣ edges and maximum degree at most four. An unmatched vertex, or the supervertex of an edge in M ∩ P M \cap P M ∩ P , has degree at most two. Hence only pairs in M ∖ P M \setminus P M ∖ P can produce degree at least three. By Lemma 21, 3 ν ( G / M ) ≥ 3 ν ( H ) ≥ ρ ( G ) − ∣ M ∩ P ∣ − ∣ M ∖ P ∣ = ρ ( G ) − ∣ M ∣ 3\nu(G/M) \ge3\nu(H) \ge\rho(G)-|M \cap P|-|M \setminus P| = \rho(G)-|M| 3 ν ( G / M ) ≥ 3 ν ( H ) ≥ ρ ( G ) − ∣ M ∩ P ∣ − ∣ M ∖ P ∣ = ρ ( G ) − ∣ M ∣ .
Corollary 23. Let 0 ≤ δ < 1 0 \le\delta< 1 0 ≤ δ < 1 . If M 1 M_1 M 1 and M 2 M_2 M 2 are error-δ \delta δ cardinality matchings in G G G and G / M 1 G/M_1 G / M 1 , respectively, their lifted union is a path cover with at least ( 1 − δ ) ( 4 + δ ) 6 ρ ( G ) ≥ 2 3 ( 1 − δ ) ρ ( G ) \frac{(1-\delta)(4+\delta)}{6}\rho(G) \ge\frac{2}{3}(1-\delta)\rho(G) 6 ( 1 − δ ) ( 4 + δ ) ρ ( G ) ≥ 3 2 ( 1 − δ ) ρ ( G ) edges.
Proof. A lifted second-round edge joins at most two edges of M 1 M_1 M 1 , and each contracted vertex meets at most one second-round edge. Thus the output consists of paths of length at most three. Since ∣ M 1 ∣ ≥ ( 1 − δ ) ρ ( G ) / 2 |M_1| \ge(1-\delta)\rho(G)/2 ∣ M 1 ∣ ≥ ( 1 − δ ) ρ ( G ) /2 , Lemma 22 gives ∣ M 1 ∣ + ∣ M 2 ∣ ≥ 1 − δ 3 ρ ( G ) + 2 + δ 3 ∣ M 1 ∣ ≥ ( 1 − δ ) ( 4 + δ ) 6 ρ ( G ) |M_1| + |M_2| \ge\frac{1-\delta}{3}\rho(G) + \frac{2+\delta}{3}|M_1| \ge\frac{(1-\delta)(4+\delta)}{6}\rho(G) ∣ M 1 ∣ + ∣ M 2 ∣ ≥ 3 1 − δ ρ ( G ) + 3 2 + δ ∣ M 1 ∣ ≥ 6 ( 1 − δ ) ( 4 + δ ) ρ ( G ) .
The unweighted iteration barrier
Theorem 24. The unweighted frozen-contraction ratio has infimum 2 / 3 2/3 2/3 over instances and legal exact executions. For every integer r ≥ 2 r \ge2 r ≥ 2 , a graph G r G_r G r has a legal execution of ratio 4 r / ( 6 r − 1 ) 4r/(6r-1) 4 r / ( 6 r − 1 ) with no edge surviving after round two.
Proof. Corollary 23 gives at least 2 ρ ( G ) / 3 2\rho(G)/3 2 ρ ( G ) /3 edges after two rounds; later rounds only add edges.
Construction and matching choices. For the upper bound, let V ( G r ) = { a i , b i , c i , d i , x i , y i : 1 ≤ i ≤ r } V(G_r) = \{a_i, b_i, c_i, d_i, x_i, y_i : 1 \le i \le r\} V ( G r ) = { a i , b i , c i , d i , x i , y i : 1 ≤ i ≤ r } and
E ( G r ) = { a i b i , b i c i , c i d i , x i y i , x i b i , d i a i : 1 ≤ i ≤ r } ∪ { b i y i − 1 , a i c i − 1 : 2 ≤ i ≤ r } ∪ { b 1 c r } . E(G_r) = \{a_i b_i, b_i c_i, c_i d_i, x_i y_i, x_i b_i, d_i a_i : 1 \le i \le r\}
\cup\{b_i y_{i-1}, a_i c_{i-1} : 2 \le i \le r\} \cup\{b_1 c_r\}. E ( G r ) = { a i b i , b i c i , c i d i , x i y i , x i b i , d i a i : 1 ≤ i ≤ r } ∪ { b i y i − 1 , a i c i − 1 : 2 ≤ i ≤ r } ∪ { b 1 c r } .
Choose M 1 = { a i b i , c i d i , x i y i : 1 ≤ i ≤ r } M_1 = \{a_i b_i, c_i d_i, x_i y_i : 1 \le i \le r\} M 1 = { a i b i , c i d i , x i y i : 1 ≤ i ≤ r } and, after contraction, the copies of M 2 = { b i c i : 1 ≤ i ≤ r } M_2 = \{b_i c_i : 1 \le i \le r\} M 2 = { b i c i : 1 ≤ i ≤ r } . Their matching is perfect. Every quotient edge meets one of the r r r vertices [ a i b i ] [a_i b_i] [ a i b i ] , so the r r r -edge matching M 2 M_2 M 2 is maximum.
Termination. The lifted output consists of a i − b i − c i − d i a_i-b_i-c_i-d_i a i − b i − c i − d i and x i − y i x_i-y_i x i − y i , with 4 r 4r 4 r edges. Its degree-two vertices are b i , c i b_i,c_i b i , c i . Every unused edge except d i a i d_i a_i d i a i meets one of these vertices and is deleted. Each d i a i d_i a_i d i a i becomes a loop when its path is contracted. Thus no third-round edge survives.
Optimum. The sequence
y r , x r , b r , y r − 1 , x r − 1 , b r − 1 , … , y 1 , x 1 , b 1 , y_r, x_r, b_r, y_{r-1}, x_{r-1}, b_{r-1}, \ldots, y_1, x_1, b_1, y r , x r , b r , y r − 1 , x r − 1 , b r − 1 , … , y 1 , x 1 , b 1 ,
c r , d r , a r , c r − 1 , d r − 1 , a r − 1 , … , c 1 , d 1 , a 1 c_r, d_r, a_r, c_{r-1}, d_{r-1}, a_{r-1}, \ldots, c_1, d_1, a_1 c r , d r , a r , c r − 1 , d r − 1 , a r − 1 , … , c 1 , d 1 , a 1
is a Hamiltonian path: every vertex occurs once and consecutive vertices are adjacent. Therefore ρ ( G r ) = 6 r − 1 \rho(G_r)=6r-1 ρ ( G r ) = 6 r − 1 and 4 r / ( 6 r − 1 ) → 2 / 3 4r/(6r-1) \to2/3 4 r / ( 6 r − 1 ) → 2/3 .
The construction uses the displayed choices among maximum matchings; it does not rule out a better secondary tie-breaking rule.
A fractional certificate for weighted path covers
Matching certificates. For a loopless multigraph H H H , a vector z ∈ R E ( H ) z \in\mathbb{R}^{E(H)} z ∈ R E ( H ) has one coordinate per edge copy, and z ( A ) = ∑ e ∈ A z e z(A)=\sum_{e\in A}z_e z ( A ) = ∑ e ∈ A z e . For S ⊆ V ( H ) S \subseteq V(H) S ⊆ V ( H ) , let H [ S ] H[S] H [ S ] be the induced subgraph and set E H ( S ) = E ( H [ S ] ) E_H(S)=E(H[S]) E H ( S ) = E ( H [ S ]) . Let δ H ( v ) \delta_H(v) δ H ( v ) be the set of incident edge copies at v v v . Edmonds’ matching polytope [11 ] is
M ( H ) = { z ≥ 0 : z ( δ H ( v ) ) ≤ 1 ( v ∈ V ( H ) ) , z ( E H ( S ) ) ≤ ( ∣ S ∣ − 1 ) / 2 ( S ⊆ V ( H ) , ∣ S ∣ ≥ 3 odd ) } . \mathcal{M}(H)=\left\{z\ge0 : z(\delta_H(v))\le1 \quad(v\in V(H)),\quad z(E_H(S))\le(|S|-1)/2 \quad(S\subseteq V(H),\ |S|\ge3\text{ odd})\right\}. M ( H ) = { z ≥ 0 : z ( δ H ( v )) ≤ 1 ( v ∈ V ( H )) , z ( E H ( S )) ≤ ( ∣ S ∣ − 1 ) /2 ( S ⊆ V ( H ) , ∣ S ∣ ≥ 3 odd ) } .
This is the convex hull of matching incidence vectors, so
ν w ( H ) = max z ∈ M ( H ) ∑ e ∈ E ( H ) w ( e ) z e (17) \nu_w(H)=\max_{z\in\mathcal{M}(H)}\sum_{e\in E(H)}w(e)z_e \tag*{(17)} ν w ( H ) = z ∈ M ( H ) max e ∈ E ( H ) ∑ w ( e ) z e (17)
If H H H is bipartite, nonnegativity and the degree inequalities suffice [26 ] : summing over the smaller side of H [ S ] H[S] H [ S ] gives each odd-set inequality.
Theorem 25. For every nonnegatively weighted linear forest P P P and ambient matching M M M on V ( P ) V(P) V ( P ) ,
ν w ( P ) + ν w ( P / M ) ≥ 5 8 w ( P ) . \nu_w(P)+\nu_w(P/M)\ge\frac{5}{8}w(P). ν w ( P ) + ν w ( P / M ) ≥ 8 5 w ( P ) . The constant is best possible.
Proof. We construct fractional matchings x x x in P P P and y y y in P / M P/M P / M with x e + y e = 5 / 8 x_e+y_e=5/8 x e + y e = 5/8 on every original edge. Here y e y_e y e refers to its surviving copy, or is zero when the edge is contracted. Equation (17) then proves the bound.
Put D = E ( P ) ∩ M D=E(P)\cap M D = E ( P ) ∩ M . Call a surviving edge special if it shares an endpoint with an edge of D D D , and ordinary otherwise. A D D D -supervertex is the contraction of an edge of D D D . Set
x e = { 5 / 8 , e ∈ D , 3 / 8 , e special , 1 / 2 , e ordinary , y e = { 1 / 4 , e special , 1 / 8 , e ordinary . x_e=\begin{cases}5/8,&e\in D,\\3/8,&e\text{ special},\\1/2,&e\text{ ordinary},\end{cases}
\qquad
y_e=\begin{cases}1/4,&e\text{ special},\\1/8,&e\text{ ordinary}.\end{cases} x e = ⎩ ⎨ ⎧ 5/8 , 3/8 , 1/2 , e ∈ D , e special , e ordinary , y e = { 1/4 , 1/8 , e special , e ordinary .
Before contraction. At a vertex incident with D D D , the x x x -sum is at most 5 / 8 + 3 / 8 = 1 5/8+3/8=1 5/8 + 3/8 = 1 ; elsewhere it is at most 1 / 2 + 1 / 2 1/2+1/2 1/2 + 1/2 . Since P P P is bipartite, x ∈ M ( P ) x\in\mathcal{M}(P) x ∈ M ( P ) .
After contraction. Put H = P / M H=P/M H = P / M . An uncontracted vertex or D D D -supervertex has at most two incident edges, of y y y -sum at most 1 / 2 1/2 1/2 . Any other supervertex has at most four, each of coefficient at most 1 / 4 1/4 1/4 . Thus the degree inequalities hold. For an odd set S ⊆ V ( H ) S \subseteq V(H) S ⊆ V ( H ) , put s = ∣ S ∣ ≥ 3 s = |S| \ge3 s = ∣ S ∣ ≥ 3 and U = π M − 1 ( S ) U = \pi_M^{-1}(S) U = π M − 1 ( S ) . Let d S d_S d S count its D D D -supervertices and put q = ∣ E H ( S ) ∣ q = |E_H(S)| q = ∣ E H ( S ) ∣ . The forest P [ U ] P[U] P [ U ] contains exactly these q q q surviving edges and the d S d_S d S contracted edges. Hence q + d S ≤ ∣ U ∣ − 1 ≤ 2 s − 1 q + d_S \le|U| - 1 \le2s - 1 q + d S ≤ ∣ U ∣ − 1 ≤ 2 s − 1 . Let r S r_S r S count the special edges in E H ( S ) E_H(S) E H ( S ) . Each meets a D D D -supervertex, with at most two per such vertex, so r S ≤ 2 d S r_S \le2d_S r S ≤ 2 d S . Therefore
8 y ( E H ( S ) ) = 2 r S + ( q − r S ) = q + r S ≤ 2 s − 1 + d S ≤ 3 s − 1 ≤ 4 s − 4. 8y(E_H(S)) = 2r_S + (q-r_S) = q + r_S \le2s - 1 + d_S \le3s - 1 \le4s - 4. 8 y ( E H ( S )) = 2 r S + ( q − r S ) = q + r S ≤ 2 s − 1 + d S ≤ 3 s − 1 ≤ 4 s − 4.
Thus y ( E H ( S ) ) ≤ ( s − 1 ) / 2 y(E_H(S)) \le(s - 1)/2 y ( E H ( S )) ≤ ( s − 1 ) /2 and y ∈ M ( H ) y \in\mathcal{M}(H) y ∈ M ( H ) . The combined coefficient is 5 / 8 5/8 5/8 on every edge, completing the certificate.
For equality, take P = v 0 ⋯ v 7 P = v_0 \cdots v_7 P = v 0 ⋯ v 7 with consecutive weights 1 , 1 , 1 , 2 , 1 , 1 , 1 1,1,1,2,1,1,1 1 , 1 , 1 , 2 , 1 , 1 , 1 and M = { v 0 v 1 , v 2 v 5 , v 3 v 4 , v 6 v 7 } M = \{v_0v_1, v_2v_5, v_3v_4, v_6v_7\} M = { v 0 v 1 , v 2 v 5 , v 3 v 4 , v 6 v 7 } . Then w ( P ) = 8 w(P) = 8 w ( P ) = 8 , ν w ( P ) = 4 \nu_w(P) = 4 ν w ( P ) = 4 , and ν w ( P / M ) = 1 \nu_w(P/M) = 1 ν w ( P / M ) = 1 : all surviving edges have weight one and meet [ v 2 v 5 ] [v_2v_5] [ v 2 v 5 ] . Here v 2 v 5 v_2v_5 v 2 v 5 is an ambient pair, not an edge of P P P .
Weighted iteration and tour completion
Theorem 26. Every exact weighted implementation of the two-round contraction rule or its frozen iteration has path-cover ratio infimum 5 / 8 5/8 5/8 . There is a family of complete weighted graphs with unique first and second maximum-weight matchings on which every path-preserving tour completion has ratio tending to 5 / 8 5/8 5/8 , even after further frozen rounds.
Proof. For an optimum path cover P ∗ ⊆ G P^* \subseteq G P ∗ ⊆ G , the matching optima in G G G and G / M 1 G/M_1 G / M 1 are at least those in P ∗ P^* P ∗ and P ∗ / M 1 P^*/M_1 P ∗ / M 1 . The forest inequality gives the 5 / 8 5/8 5/8 lower bound, and later rounds cannot decrease the selected weight.
Fix 0 < t < 1 / 3 0 < t < 1/3 0 < t < 1/3 . Let P = v 0 ⋯ v 7 P = v_0 \cdots v_7 P = v 0 ⋯ v 7 have the weights from Theorem 25. Add vertices a a a , a ′ a' a ′ , b b b , b ′ b' b ′ and give the edges v 2 v 5 v_2v_5 v 2 v 5 , v 4 a v_4a v 4 a , a a ′ aa' a a ′ , v 6 b v_6b v 6 b , b b ′ bb' b b ′ weight t t t . Keep the path weights and give all other pairs weight zero. Write K t K_t K t for this complete graph.
First round. The unique maximum-weight matching is
M 1 = { v 0 v 1 , v 2 v 5 , v 3 v 4 , v 6 v 7 , a a ′ , b b ′ } , w ( M 1 ) = 4 + 3 t . M_1 = \{v_0v_1, v_2v_5, v_3v_4, v_6v_7, aa', bb'\}, \qquad w(M_1) = 4 + 3t. M 1 = { v 0 v 1 , v 2 v 5 , v 3 v 4 , v 6 v 7 , a a ′ , b b ′ } , w ( M 1 ) = 4 + 3 t .
A matching uses at most three t t t -edges: they form an isolated edge and two two-edge paths. Its path contribution is at most four, or at most three if it uses v 4 a v_4a v 4 a or v 6 b v_6b v 6 b , since deleting vertex v 4 v_4 v 4 or v 6 v_6 v 6 from P P P leaves maximum matching weight three. Equality requires v 2 v 5 v_2v_5 v 2 v 5 , a a ′ aa' a a ′ , b b ′ bb' b b ′ and the unique remaining path matching { v 0 v 1 , v 3 v 4 , v 6 v 7 } \{v_0v_1, v_3v_4, v_6v_7\} { v 0 v 1 , v 3 v 4 , v 6 v 7 } . This matching is perfect, so zero-weight edges introduce no further choices.
Second round. Every surviving unit-weight edge meets [ v 2 v 5 ] [v_2v_5] [ v 2 v 5 ] , so a quotient matching contains at most one. Without such an edge it weighs at most 2 t 2t 2 t . Only v 1 v 2 v_1v_2 v 1 v 2 leaves both attachment edges v 4 a v_4a v 4 a , v 6 b v_6b v 6 b available. Hence the unique quotient optimum lifts to
M 2 = { v 1 v 2 , v 4 a , v 6 b } , w ( M 2 ) = 1 + 2 t . M_2 = \{v_1v_2, v_4a, v_6b\}, \qquad w(M_2) = 1 + 2t. M 2 = { v 1 v 2 , v 4 a , v 6 b } , w ( M 2 ) = 1 + 2 t .
It is perfect in the quotient. Its union with M 1 M_1 M 1 consists of
v 0 − v 1 − v 2 − v 5 , v 3 − v 4 − a − a ′ , v 7 − v 6 − b − b ′ v_0-v_1-v_2-v_5,\qquad v_3-v_4-a-a',\qquad v_7-v_6-b-b' v 0 − v 1 − v 2 − v 5 , v 3 − v 4 − a − a ′ , v 7 − v 6 − b − b ′
and weighs 5 + 5 t 5 + 5t 5 + 5 t . The only unused positive edges are v 2 v 3 v_2v_3 v 2 v 3 , v 4 v 5 v_4v_5 v 4 v 5 , v 5 v 6 v_5v_6 v 5 v 6 . Each meets an internal path vertex, so none survives the next deletion step or belongs to a tour containing these paths. Further frozen rounds add no positive weight, and every path-preserving completion weighs 5 + 5 t 5 + 5t 5 + 5 t .
Optimum. The path P P P together with a a ′ aa' a a ′ and b b ′ bb' b b ′ has weight 8 + 2 t 8 + 2t 8 + 2 t and admits a zero-weight completion. Any subgraph of maximum degree two that uses v 2 v 5 v_2v_5 v 2 v 5 , v 4 a v_4a v 4 a , or v 6 b v_6b v 6 b must omit an edge of P P P , losing at least one. Its weight is at most 7 + 5 t < 8 + 2 t 7+5t<8+2t 7 + 5 t < 8 + 2 t . Without those three edges, its weight is at most 8 + 2 t 8+2t 8 + 2 t . Therefore
ρ w ( K t ) = OPT M a x T S P ( K t ) = 8 + 2 t , 5 + 5 t 8 + 2 t ⟶ 5 8 . \rho_w(K_t)=\operatorname{OPT}_{\mathrm{MaxTSP}}(K_t)=8+2t,\qquad\frac{5+5t}{8+2t}\longrightarrow\frac{5}{8}. ρ w ( K t ) = OPT MaxTSP ( K t ) = 8 + 2 t , 8 + 2 t 5 + 5 t ⟶ 8 5 .
On the positive-edge subgraph, the rule stops after round two with the same path-cover optimum.
The universal lower bound is for path covers; for tours, the theorem supplies a tightness obstruction for path-preserving completion.
Approximate calls and (1, 2)-TSP
For error-δ \delta δ calls, the two-round lower bounds are 2 3 ( 1 − δ ) \frac{2}{3}(1-\delta) 3 2 ( 1 − δ ) unweighted by Corollary 23 and 5 8 ( 1 − δ ) \frac{5}{8}(1-\delta) 8 5 ( 1 − δ ) weighted by Theorem 25 . Exact optima also satisfy these contracts, so the contracts alone cannot exclude the bad executions. A particular implementation may impose additional selection rules.
For the unweighted graph G r G_r G r , give its edges cost one and every other pair cost two. The output has 4 r 4r 4 r cost-one edges in 2 r 2r 2 r paths. No cost-one edge joins endpoints of distinct output components, so every path-preserving completion costs 8 r 8r 8 r . Its displayed Hamiltonian path gives a tour of cost at most 6 r + 1 6r+1 6 r + 1 ; vertex y r y_r y r has only one cost-one neighbor, so this is optimal. Thus the ratio approaches 4 / 3 4/3 4/3 for this legal execution.
Supporting comparisons and extensions
Conditional comparison via capacitated b b b -matching
A capacitated b b b -matching permits incident multiplicity at most b v b_v b v at vertex v v v and multiplicity at most c e c_e c e on edge e e e . Thus b v = 2 b_v=2 b v = 2 , c e = 1 c_e=1 c e = 1 gives integral simple 2-matchings. Let Z Z Z be the optimum integral weight and put R ( n , η ) = O ( η − 4 log 2 ( 1 / η ) log n ) R(n,\eta)=O(\eta^{-4}\log^2(1/\eta)\log n) R ( n , η ) = O ( η − 4 log 2 ( 1/ η ) log n ) .
The fractional algorithm in [1 ] makes R ( n , η ) R(n,\eta) R ( n , η ) passes. Its additional workspace is O ( min { m , ∑ v b v } poly ( 1 / η , log n ) ) O(\min\{m,\sum_v b_v\}\operatorname{poly}(1/\eta,\log n)) O ( min { m , ∑ v b v } poly ( 1/ η , log n )) . It requires polynomially bounded integers and 3 / n ≤ η ≤ 1 / 16 3/\sqrt{n}\leq\eta\leq1/16 3/ n ≤ η ≤ 1/16 . Its feasible output y y y has weight ( 1 − O ( η ) ) Z (1-O(\eta))Z ( 1 − O ( η )) Z and support E + = { e : y e > 0 } E_+=\{e:y_e>0\} E + = { e : y e > 0 } satisfying
∑ e ∈ E + w ( e ) c e ≤ 16 R ( n , η ) Z . (18) \sum_{e\in E_+}w(e)c_e\leq16R(n,\eta)Z. \tag*{(18)} e ∈ E + ∑ w ( e ) c e ≤ 16 R ( n , η ) Z . (18)
The integral rounding uses this support, takes O ( ∣ E + ∣ / η 2 ) O(|E_+|/\eta^2) O ( ∣ E + ∣/ η 2 ) space, and returns weight at least ( 1 − η ) ∑ e w ( e ) y e − η Z (1-\eta)\sum_e w(e)y_e-\eta Z ( 1 − η ) ∑ e w ( e ) y e − η Z . The following weighted comparison assumes that the support and its values can be stored.
Proposition 27. If the fractional output and edge weights are retained in n poly ( 1 / η , log n ) n\operatorname{poly}(1/\eta,\log n) n poly ( 1/ η , log n ) words with ∣ E + ∣ |E_+| ∣ E + ∣ within the same bound, its rounding and cycle breaking give 2 / 3 − ε 2/3-\varepsilon 2/3 − ε for weighted path cover and M a x - T S P Max\text{-}TSP M a x - T S P in O ( ε − 4 log 2 ( 1 / ε ) log n ) O(\varepsilon^{-4}\log^2(1/\varepsilon)\log n) O ( ε − 4 log 2 ( 1/ ε ) log n ) passes and n poly ( 1 / ε , log n ) n\operatorname{poly}(1/\varepsilon,\log n) n poly ( 1/ ε , log n ) words.
Proof. Normalize with error θ = Θ ( ε ) \theta=\Theta(\varepsilon) θ = Θ ( ε ) as in Theorem 18 , and apply the assumed support interface to the normalized instance. The source’s integral rounding uses only the stored support, giving value ( 1 − O ( η ) ) Z (1-O(\eta))Z ( 1 − O ( η )) Z without another input scan. A path cover or tour is feasible for the degree-two relaxation. Deleting a lightest edge from each cycle retains at least two thirds of its weight; complete the paths for Max-TSP. Choose η = Θ ( ε ) \eta= \Theta(\varepsilon) η = Θ ( ε ) sufficiently small. If n ≤ 9 / η 2 n \le9/\eta^2 n ≤ 9/ η 2 , store the rounded graph and solve the relaxation exactly; otherwise the source’s size condition holds.
The workspace bound alone does not imply the support hypothesis. Appendix § 10 .§ 2 establishes it for unit weights using (18) .
Compatibility of two attachments
Removing u v uv uv from a cycle exposes exactly u , v u,v u , v . Two distinct attachments are therefore compatible with one cut if and only if they are adjacent. Attaching leaves to opposite vertices of a four-cycle requires two cuts.
More generally, let H = A ∪ B H=A\cup B H = A ∪ B have k k k cycle components. Suppose connectors J J J give a linear forest on its components, with one quotient edge per connector. Every attachment to a nontrivial path must be at an endpoint; if it is used twice, the two endpoints must be distinct. For a cycle used twice, require attachments at distinct adjacent vertices. A cycle used once may attach at any vertex; an isolate may have two incident connectors. Then opening cycles compatibly and adding J J J gives a linear forest of size ∣ A ∣ + ∣ B ∣ − k + ∣ J ∣ |A|+|B|-k+|J| ∣ A ∣ + ∣ B ∣ − k + ∣ J ∣ . Indeed, all original-vertex degrees are at most two, and a cycle in the lifted graph would induce a cycle in the component forest. An unconstrained degree-two relaxation on components omits these endpoint conditions.
One matching call and greedy extension
Let A A A be a matching in G G G and F ⊇ A F\supseteq A F ⊇ A a maximal path cover. Let I I I contain its internal vertices, and let q q q count nontrivial components, so ∣ F ∣ = ∣ I ∣ + q |F|=|I|+q ∣ F ∣ = ∣ I ∣ + q . At most 2 ∣ I ∣ 2|I| 2∣ I ∣ optimum edges meet I I I . By maximality, every other optimum edge joins the two endpoints of one component of F F F , giving at most q q q more. Thus ρ ( G ) ≤ 2 ∣ I ∣ + q = ∣ F ∣ + ∣ I ∣ \rho(G)\le2|I|+q=|F|+|I| ρ ( G ) ≤ 2∣ I ∣ + q = ∣ F ∣ + ∣ I ∣ . On each nontrivial ℓ \ell ℓ -edge component, at most ⌈ ℓ / 2 ⌉ \lceil\ell/2\rceil ⌈ ℓ /2 ⌉ edges belong to A A A , and ℓ − 1 ≤ 2 ( ℓ − ⌈ ℓ / 2 ⌉ ) \ell-1\le2(\ell-\lceil\ell/2\rceil) ℓ − 1 ≤ 2 ( ℓ − ⌈ ℓ /2 ⌉) . Isolates contribute zero, so ∣ I ∣ ≤ 2 ( ∣ F ∣ − ∣ A ∣ ) |I|\le2(|F|-|A|) ∣ I ∣ ≤ 2 ( ∣ F ∣ − ∣ A ∣ ) and ρ ( G ) ≤ 3 ∣ F ∣ − 2 ∣ A ∣ \rho(G)\le3|F|-2|A| ρ ( G ) ≤ 3∣ F ∣ − 2∣ A ∣ . Also ∣ I ∣ ≤ ∣ F ∣ |I|\le|F| ∣ I ∣ ≤ ∣ F ∣ , giving ρ ( G ) ≤ 2 ∣ F ∣ \rho(G)\le2|F| ρ ( G ) ≤ 2∣ F ∣ . Therefore
∣ F ∣ ≥ max { ρ ( G ) / 2 , ( ρ ( G ) + 2 ∣ A ∣ ) / 3 } . |F|\ge\max\{\rho(G)/2,\;(\rho(G)+2|A|)/3\}. ∣ F ∣ ≥ max { ρ ( G ) /2 , ( ρ ( G ) + 2∣ A ∣ ) /3 } .
An error-δ \delta δ matching gives ∣ F ∣ ≥ ( 2 − δ ) ρ ( G ) / 3 |F|\ge(2-\delta)\rho(G)/3 ∣ F ∣ ≥ ( 2 − δ ) ρ ( G ) /3 . One greedy extension scan constructs such an F F F , in T u ( n , 3 ε ) + 1 T_u(n,3\varepsilon)+1 T u ( n , 3 ε ) + 1 passes at target 2 / 3 − ε 2/3-\varepsilon 2/3 − ε . Greedy weighted path extension itself is classical [21 ] . After cycle opening, the forest need not contain A A A . The seed bound therefore does not by itself improve the joining guarantees.
Hardness of near-optimal value estimation
Suppose that for every fixed η > 0 \eta>0 η > 0 a polynomial-time algorithm returns a number s s s with ( 1 − η ) ρ ( G ) − η n ≤ s ≤ ρ ( G ) (1-\eta)\rho(G)-\eta n\le s\le\rho(G) ( 1 − η ) ρ ( G ) − η n ≤ s ≤ ρ ( G ) . By Lemma 1, O P T 12 ≤ 2 n − s ≤ ( 1 + 2 η ) O P T 12 + 1 \mathrm{OPT}_{12}\le2n-s\le(1+2\eta)\,\mathrm{OPT}_{12}+1 OPT 12 ≤ 2 n − s ≤ ( 1 + 2 η ) OPT 12 + 1 . Given target ε \varepsilon ε , choose η = ε / 4 \eta=\varepsilon/4 η = ε /4 and handle n < 2 / ε n<2/\varepsilon n < 2/ ε by exhaustive search; this is constant-size work at fixed accuracy. The resulting TSP value estimator has factor 1 + ε 1+\varepsilon 1 + ε . The gap form of APX-hardness of (1,2)-TSP [23 ] rules out these deterministic estimators unless P = N P P=NP P = N P , or bounded-error randomized estimators unless N P ⊆ B P P NP\subseteq BPP N P ⊆ B P P . The same holds for explicit covers. This computational restriction is distinct from the unconditional pair-query lower bound in [9 ] .
Failure of compensation for a 2-matching
The compensation lemma uses vertex-disjoint alternating cycles of two matchings. If its second argument is replaced by an arbitrary simple 2-matching, even a triangle-free one, the unchanged inequality is false. Take A = ∅ A = \varnothing A = ∅ , B = E ( C 5 ) B = E(C_5) B = E ( C 5 ) , unit weights, and a four-edge path P ⊂ C 5 P \subset C_5 P ⊂ C 5 . The natural cycle-breaking loss is one, yet 2 ν ( G − A ) = 4 < ∣ P ∣ − ∣ A ∣ + 1 = 5 2\nu(G-A)=4 < |P|-|A|+1=5 2 ν ( G − A ) = 4 < ∣ P ∣ − ∣ A ∣ + 1 = 5 . The original lemma allows arbitrary A A A , so this disproves the proposed extension.
Component matching: cycle lengths and access bounds
Let Q Q Q be an explicit simple 2-matching in an unweighted graph, with notation as in § 4 . In particular, k k k counts cycles, f = ∣ Q ∣ − k f=|Q|-k f = ∣ Q ∣ − k , and h ∗ = ν ( K Q ) h_*=\nu(K_Q) h ∗ = ν ( K Q ) .
Cycle lengths and the starting relaxation
For each integer g ≥ 3 g \ge3 g ≥ 3 , define
d g ( Q ) = ∑ C a cycle of Q ( g − ∣ V ( C ) ∣ ) + d_g(Q)=\sum_{\substack{C\ \text{a cycle of }Q}}(g-|V(C)|)_+ d g ( Q ) = C a cycle of Q ∑ ( g − ∣ V ( C ) ∣ ) +
s g ( Q ) = ∑ C a path of Q ∣ E ( C ) ∣ + ∑ C a cycle of Q ( ∣ V ( C ) ∣ − g ) + s_g(Q)=\sum_{\substack{C\ \text{a path of }Q}}|E(C)|+\sum_{\substack{C\ \text{a cycle of }Q}}(|V(C)|-g)_+ s g ( Q ) = C a path of Q ∑ ∣ E ( C ) ∣ + C a cycle of Q ∑ ( ∣ V ( C ) ∣ − g ) +
Isolates contribute zero. Thus ∣ Q ∣ = g k + s g ( Q ) − d g ( Q ) |Q|=gk+s_g(Q)-d_g(Q) ∣ Q ∣ = g k + s g ( Q ) − d g ( Q ) .
Theorem 28. For any simple 2-matching Q Q Q and integer g ≥ 3 g \ge3 g ≥ 3 ,
( g + 1 ) ( f + h ∗ ) ≥ ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) . (19) (g+1)(f+h_*)\ge(g-1)|Q|+\rho(G)-d_g(Q). \tag*{(19)} ( g + 1 ) ( f + h ∗ ) ≥ ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) . (19)
For 0 < γ ≤ 1 0<\gamma\le1 0 < γ ≤ 1 , a ratio-γ \gamma γ matching in L Q L_Q L Q , projected and opened as in § 4 , therefore returns
∣ F ∣ ≥ γ g + 1 ( ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) ) |F|\ge\frac{\gamma}{g+1}\bigl((g-1)|Q|+\rho(G)-d_g(Q)\bigr) ∣ F ∣ ≥ g + 1 γ ( ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) )
In particular, if 0 ≤ θ < 1 0\le\theta<1 0 ≤ θ < 1 , ∣ Q ∣ ≥ ( 1 − θ ) ρ ( G ) |Q|\ge(1-\theta)\rho(G) ∣ Q ∣ ≥ ( 1 − θ ) ρ ( G ) , and Q Q Q has no cycle shorter than g g g , the returned ratio is at least γ g − ( g − 1 ) θ g + 1 \gamma\frac{g-(g-1)\theta}{g+1} γ g + 1 g − ( g − 1 ) θ .
Proof. Use the set S S S from Lemma 12 . A cycle of length ℓ \ell ℓ contributes q C − 1 = ℓ − 1 ≤ ( g − 1 ) + ( ℓ − g ) + q_C-1=\ell-1\le(g-1)+(\ell-g)_+ q C − 1 = ℓ − 1 ≤ ( g − 1 ) + ( ℓ − g ) + . A path contributes at most one to the sum over S S S , and its internal-vertex count is at most its number of edges. An isolate contributes zero. Therefore
i + ∑ C ∈ S ( q C − 1 ) ≤ s g ( Q ) + ( g − 1 ) ∣ S ∣ ≤ s g ( Q ) + ( g − 1 ) h ∗ . i+\sum_{C\in S}(q_C-1)\le s_g(Q)+(g-1)|S|\le s_g(Q)+(g-1)h_*. i + C ∈ S ∑ ( q C − 1 ) ≤ s g ( Q ) + ( g − 1 ) ∣ S ∣ ≤ s g ( Q ) + ( g − 1 ) h ∗ .
Equation (11) now gives ρ ( G ) ≤ f + s g ( Q ) + ( g + 1 ) h ∗ \rho(G)\le f+s_g(Q)+(g+1)h_* ρ ( G ) ≤ f + s g ( Q ) + ( g + 1 ) h ∗ . Rearranging and using f = ∣ Q ∣ − k f=|Q|-k f = ∣ Q ∣ − k and ∣ Q ∣ = g k + s g ( Q ) − d g ( Q ) |Q|=gk+s_g(Q)-d_g(Q) ∣ Q ∣ = g k + s g ( Q ) − d g ( Q ) gives
( g + 1 ) ( f + h ∗ ) ≥ g f + ρ ( G ) − s g ( Q ) = ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) . (g+1)(f+h_*)\ge gf+\rho(G)-s_g(Q)=(g-1)|Q|+\rho(G)-d_g(Q). ( g + 1 ) ( f + h ∗ ) ≥ g f + ρ ( G ) − s g ( Q ) = ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) .
Apply (15) to obtain the approximate-call form. The last statement has d g ( Q ) = 0. ▲ d_g(Q)=0. \blacktriangle d g ( Q ) = 0. ▲
Offline, a maximum triangle-free simple 2-matching has ∣ Q ∣ ≥ ρ ( G ) |Q|\ge\rho(G) ∣ Q ∣ ≥ ρ ( G ) , so g = 4 g=4 g = 4 gives 4 / 5 4/5 4/5 . That relaxation is polynomial-time solvable [22 ] , but the resulting ratio is below the general 6 / 7 6/7 6/7 guarantee in [7 ] . If the input has girth at least g g g , an ordinary maximum simple 2-matching gives g / ( g + 1 ) g/(g+1) g / ( g + 1 ) . Here girth is the shortest cycle length, infinite for a forest; the theorem itself requires the cycle-length condition only on Q Q Q .
Unit-weight streaming bounds via integral rounding
Choose 0 < η ≤ 1 / 16 0 < \eta\le1/16 0 < η ≤ 1/16 and use the fractional algorithm and rounding from Appendix § 9 .§ 1 with b v = 2 b_v = 2 b v = 2 and c e = w ( e ) = 1 c_e = w(e) = 1 c e = w ( e ) = 1 . Integral solutions are simple 2-matchings, with optimum Z ≤ n Z \le n Z ≤ n . Since w ( e ) c e = 1 w(e)c_e = 1 w ( e ) c e = 1 for every edge, (18) gives ∣ E + ∣ = ∑ e ∈ E + w ( e ) c e ≤ 16 R ( n , η ) Z ≤ 16 R ( n , η ) n |E_+| = \sum_{e \in E_+} w(e)c_e \le16R(n,\eta)Z \le16R(n,\eta)n ∣ E + ∣ = ∑ e ∈ E + w ( e ) c e ≤ 16 R ( n , η ) Z ≤ 16 R ( n , η ) n . Both the edges and fractional values therefore fit in n poly ( 1 / η , log n ) n\operatorname{poly}(1/\eta,\log n) n poly ( 1/ η , log n ) words. For general weights and capacities, the source controls a weighted sum rather than the support size; here no additional assumption is needed.
Rounding uses only the stored support and returns Q Q Q of size ( 1 − O ( η ) ) Z ≥ ( 1 − O ( η ) ) ρ ( G ) (1-O(\eta))Z \ge(1-O(\eta))\rho(G) ( 1 − O ( η )) Z ≥ ( 1 − O ( η )) ρ ( G ) . Its O ( ∣ E + ∣ / η 2 ) O(|E_+|/\eta^2) O ( ∣ E + ∣/ η 2 ) workspace remains within the stated bound. Apply the same source algorithms to L Q L_Q L Q , now with b v = c e = w ( e ) = 1 b_v = c_e = w(e) = 1 b v = c e = w ( e ) = 1 , to obtain a matching of ratio 1 − O ( η ) 1-O(\eta) 1 − O ( η ) . Since L Q L_Q L Q has at most 2 n 2n 2 n vertices, the same support argument applies; each virtual pass costs one original scan by Corollary 16 .
All weights and capacities are one or two, so the source’s requirement of polynomially bounded integers holds. For n > 9 / η 2 n > 9/\eta^2 n > 9/ η 2 , both calls satisfy the source’s size condition, because L Q L_Q L Q retains the original vertices. Otherwise store G G G and solve both matching problems offline. This branch uses n poly ( 1 / η ) n\operatorname{poly}(1/\eta) n poly ( 1/ η ) words, including polynomial auxiliary workspace.
Corollary 29. For 0 < ε < 1 / 3 0 < \varepsilon< 1/3 0 < ε < 1/3 , the guarantees in [1 ] and component joining give an unweighted ( 3 / 4 − ε ) (3/4-\varepsilon) ( 3/4 − ε ) -approximation in O ( ε − 4 log 2 ( 1 / ε ) log n ) O(\varepsilon^{-4}\log^2(1/\varepsilon)\log n) O ( ε − 4 log 2 ( 1/ ε ) log n ) passes and n poly ( 1 / ε , log n ) n\operatorname{poly}(1/\varepsilon,\log n) n poly ( 1/ ε , log n ) words. On triangle-free input graphs the ratio is 4 / 5 − ε 4/5-\varepsilon 4/5 − ε . More generally, for each fixed g ≥ 3 g \ge3 g ≥ 3 , input girth at least g g g gives g / ( g + 1 ) − ε g/(g+1)-\varepsilon g / ( g + 1 ) − ε in the same resource class. On arbitrary ( 1 , 2 ) (1,2) ( 1 , 2 ) -TSP instances the general 3 / 4 − ε 3/4-\varepsilon 3/4 − ε bound yields factor 5 / 4 + ε + 3 / ( 4 n ) 5/4+\varepsilon+3/(4n) 5/4 + ε + 3/ ( 4 n ) .
Proof. The two source calls give θ = O ( η ) \theta= O(\eta) θ = O ( η ) and γ = 1 − O ( η ) \gamma= 1-O(\eta) γ = 1 − O ( η ) in Theorem 28 , hence ratio at least g / ( g + 1 ) − O ( η ) g/(g+1)-O(\eta) g / ( g + 1 ) − O ( η ) whenever Q Q Q has no cycle shorter than g g g . An ordinary simple 2-matching has no cycles of length below three and inherits every girth promise of the input. Set g = 3 g=3 g = 3 for general graphs, g = 4 g=4 g = 4 for triangle-free inputs, and choose a sufficiently small constant multiple η = Θ ( ε ) \eta=\Theta(\varepsilon) η = Θ ( ε ) for the respective guarantee. The small-input branch uses exact calls. The tour factor follows from Lemma 1 with λ = 3 / 4 − ε \lambda=3/4-\varepsilon λ = 3/4 − ε and O P T 12 ≥ n \mathrm{OPT}_{12} \ge n OPT 12 ≥ n . ◀
Subquadratic estimation with a supplied 2-matching
Store the component labels and positions in (13) . An original pair requires one query to G G G only when both vertices are available in different components. Original–private adjacency is determined by path positions; private–private pairs are absent. Thus an auxiliary pair query uses at most one original query. Traversing the supplied Q Q Q builds these records in O ( n ) O(n) O ( n ) time and space.
Theorem 30. Suppose an explicit simple 2-matching Q ⊆ G Q \subseteq G Q ⊆ G is supplied together with pair-query access to G G G . For every fixed 0 < η < 1 0 < \eta< 1 0 < η < 1 , an algorithm returns with high probability a scalar v v v such that
f + h ∗ − η n ≤ v ≤ f + h ∗ ≤ ρ ( G ) f+h_*-\eta n \le v \le f+h_* \le\rho(G) f + h ∗ − η n ≤ v ≤ f + h ∗ ≤ ρ ( G ) in n 2 − Ω η ( 1 ) n^{2-\Omega_\eta(1)} n 2 − Ω η ( 1 ) time and queries. In particular, for every integer g ≥ 3 g \ge3 g ≥ 3 ,
v ≥ ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) g + 1 − η n . v \ge\frac{(g-1)|Q|+\rho(G)-d_g(Q)}{g+1}-\eta n. v ≥ g + 1 ( g − 1 ) ∣ Q ∣ + ρ ( G ) − d g ( Q ) − η n . It need not recover a forest.
Proof. Use Theorem 6 on L Q L_Q L Q , at accuracy η / 2 \eta/2 η /2 on at most 2 n 2n 2 n vertices, to obtain z z z with ν ( L Q ) − η n ≤ z ≤ ν ( L Q ) \nu(L_Q)-\eta n \le z \le\nu(L_Q) ν ( L Q ) − η n ≤ z ≤ ν ( L Q ) . Return v = f + max { 0 , z − b 0 } v=f+\max\{0,z-b_0\} v = f + max { 0 , z − b 0 } . On the success event, (14) gives h ∗ − η n ≤ max { 0 , z − b 0 } ≤ h ∗ h_*-\eta n \le\max\{0,z-b_0\} \le h_* h ∗ − η n ≤ max { 0 , z − b 0 } ≤ h ∗ . This includes z < b 0 z<b_0 z < b 0 : then h ∗ < η n h_*<\eta n h ∗ < η n , and returning the baseline is sufficient. Maximum component joining gives an actual forest of value f + h ∗ f+h_* f + h ∗ , proving the upper bound by ρ ( G ) \rho(G) ρ ( G ) . Apply (19) for the last bound. Preprocessing and the constant-overhead oracle preserve the subquadratic runtime. ◀
The scalar estimator does not construct Q Q Q or its component labels. The per-vertex matching oracle in [8 ] has a different cost and does not remove the assumption that Q Q Q is supplied.
Greedy component joining and its limits
A greedy joining scan gives 7 / 10 − ε 7/10-\varepsilon 7/10 − ε with two matching calls. We use the available vertices, eligible connectors, and cycle-opening rule from § 4 .
Compute matchings A A A in G G G and B B B in G − A G-A G − A . Put H = ( V , A ∪ B ) H=(V,A\cup B) H = ( V , A ∪ B ) , and let k k k count its cycle components. As in § 4 , f = ∣ A ∣ + ∣ B ∣ − k f=|A|+|B|-k f = ∣ A ∣ + ∣ B ∣ − k denotes the baseline forest size after cycle opening. Set s = ∣ B ∣ − 2 k ≥ 0 s=|B|-2k\ge0 s = ∣ B ∣ − 2 k ≥ 0 .
The joining scan. Mark every component of H H H unused. Scan the original edges once, accepting an eligible connector when both components are unused, then mark them used. Let J J J be the accepted connectors and h = ∣ J ∣ h=|J| h = ∣ J ∣ . Labels and availability refer to the fixed graph H H H . The component matching is maximal: a connector between two finally unused components would have been accepted.
Open cycles and add J J J as in § 4 , obtaining a valid linear forest F + F^+ F + of size f + h f+h f + h . The optional cleanup scan of Corollary 16 uses current component labels and yields a maximal forest F ⋆ ⊇ F + F^\star\supseteq F^+ F ⋆ ⊇ F + .
Approximation and pass bounds
Let T \mathcal{T} T denote the set of used components; since each connector in J J J pairs two distinct components, ∣ T ∣ = 2 h |\mathcal{T}|=2h ∣ T ∣ = 2 h . Let t C t_C t C and t P t_P t P count the cycle and path components in T \mathcal{T} T , with isolated vertices counted under t P t_P t P , so that t C + t P = 2 h t_C+t_P=2h t C + t P = 2 h . For each component C C C , let b C = ∣ B ∩ E ( C ) ∣ b_C=|B\cap E(C)| b C = ∣ B ∩ E ( C ) ∣ . Let z z z count the used isolated vertices, and define the surplus of unused cycles as u = ∑ C u n u s e d c y c l e ( b C − 2 ) ≥ 0 u=\sum_{C\ \mathrm{unused\ cycle}}(b_C-2)\ge0 u = ∑ C unused cycle ( b C − 2 ) ≥ 0 .
Lemma 31. For any edge-disjoint matchings A A A , B B B and any maximal matching of their eligible component graph,
ρ ( G ) ≤ f + 2 s + 5 t C + 3 t P − z − 2 u = f + 2 s + 10 h − 2 t P − z − 2 u . \rho(G)\le f+2s+5t_C+3t_P-z-2u=f+2s+10h-2t_P-z-2u. ρ ( G ) ≤ f + 2 s + 5 t C + 3 t P − z − 2 u = f + 2 s + 10 h − 2 t P − z − 2 u .
Proof. Let N T = ∑ C ∈ T ∣ V ( C ) ∣ N_{\mathcal{T}} = \sum_{C\in\mathcal{T}} |V(C)| N T = ∑ C ∈ T ∣ V ( C ) ∣ . Let I I I contain the internal vertices of unused paths and put i = ∣ I ∣ i = |I| i = ∣ I ∣ . Delete the vertices in used components and in I I I . The survivors lie in unused cycles, endpoint pairs of unused nontrivial paths, or unused isolates. No input edge joins surviving vertices from different original components of H H H , since it would be an eligible connector between two unused components.
Fix an optimum path cover P P P , and let q q q count unused nontrivial paths. At most 2 N T + 2 i 2N_{\mathcal{T}} + 2i 2 N T + 2 i edges of P P P meet deleted vertices. Within an unused cycle C C C , at most ∣ V ( C ) ∣ − 1 |V(C)| - 1 ∣ V ( C ) ∣ − 1 remain, even if G G G contains chords; at most one remains between the endpoints of each unused path. Hence
∣ P ∣ ≤ 2 N T + 2 i + q + ∑ C unused C a cycle ( ∣ V ( C ) ∣ − 1 ) . |P| \le2N_{\mathcal{T}} + 2i + q + \sum_{\substack{C\text{ unused}\\C\text{ a cycle}}} (|V(C)| - 1). ∣ P ∣ ≤ 2 N T + 2 i + q + C unused C a cycle ∑ ( ∣ V ( C ) ∣ − 1 ) .
After cycle opening, used components contribute N T − ∣ T ∣ N_{\mathcal{T}} - |\mathcal{T}| N T − ∣ T ∣ edges; unused paths contribute i + q i + q i + q . Thus
f = N T − ∣ T ∣ + i + q + ∑ C unused C a cycle ( ∣ V ( C ) ∣ − 1 ) , f = N_{\mathcal{T}} - |\mathcal{T}| + i + q + \sum_{\substack{C\text{ unused}\\C\text{ a cycle}}} (|V(C)| - 1), f = N T − ∣ T ∣ + i + q + C unused C a cycle ∑ ( ∣ V ( C ) ∣ − 1 ) ,
and ρ ( G ) ≤ f + N T + ∣ T ∣ + i \rho(G) \le f + N_{\mathcal{T}} + |\mathcal{T}| + i ρ ( G ) ≤ f + N T + ∣ T ∣ + i .
A used cycle contributes ∣ V ( C ) ∣ + 1 = 2 ( b C − 2 ) + 5 |V(C)| + 1 = 2(b_C - 2) + 5 ∣ V ( C ) ∣ + 1 = 2 ( b C − 2 ) + 5 to N T + ∣ T ∣ N_{\mathcal{T}} + |\mathcal{T}| N T + ∣ T ∣ . By alternation, a nontrivial ℓ \ell ℓ -edge path has ℓ ≤ 2 b C + 1 \ell\le2b_C + 1 ℓ ≤ 2 b C + 1 : if used, it contributes at most 2 b C + 3 2b_C + 3 2 b C + 3 ; if unused, its internal vertices contribute at most 2 b C 2b_C 2 b C to i i i . A used isolate contributes two, not the three charged by 3 t P 3t_P 3 t P , giving the correction − z -z − z . Unused cycles and unused isolates contribute nothing. Consequently,
N T + ∣ T ∣ + i ≤ 2 ∑ C a path b C + 2 ∑ C used C a cycle ( b C − 2 ) + 5 t C + 3 t P − z = 2 s + 5 t C + 3 t P − z − 2 u . \begin{aligned}
N_{\mathcal{T}} + |\mathcal{T}| + i \le2\sum_{C\text{ a path}} b_C + 2\sum_{\substack{C\text{ used}\\C\text{ a cycle}}} (b_C - 2) + 5t_C + 3t_P - z \\
&= 2s + 5t_C + 3t_P - z - 2u.
\end{aligned} N T + ∣ T ∣ + i ≤ 2 C a path ∑ b C + 2 C used C a cycle ∑ ( b C − 2 ) + 5 t C + 3 t P − z = 2 s + 5 t C + 3 t P − z − 2 u .
The term − 2 u -2u − 2 u removes the unused-cycle surplus included in 2 s 2s 2 s . Substitute in the preceding bound and use t C + t P = 2 h t_C + t_P = 2h t C + t P = 2 h .
Theorem 32. If ∣ A ∣ ≥ α ν ( G ) |A| \ge\alpha\nu(G) ∣ A ∣ ≥ α ν ( G ) and ∣ B ∣ ≥ β ν ( G − A ) |B| \ge\beta\nu(G - A) ∣ B ∣ ≥ β ν ( G − A ) , where 0 < α , β ≤ 1 0 < \alpha, \beta\le1 0 < α , β ≤ 1 , then
∣ F ⋆ ∣ ≥ ∣ F + ∣ ≥ 1 + 3 α + 3 β 10 ρ ( G ) + t P 5 + z 10 + u 5 . |F^\star| \ge|F^+| \ge\frac{1 + 3\alpha+ 3\beta}{10}\rho(G) + \frac{t_P}{5} + \frac{z}{10} + \frac{u}{5}. ∣ F ⋆ ∣ ≥ ∣ F + ∣ ≥ 10 1 + 3 α + 3 β ρ ( G ) + 5 t P + 10 z + 5 u . In particular, exact matching calls give a 7 / 10 7/10 7/10 approximation, and two error-δ \delta δ calls give 7 / 10 − 3 δ / 5 7/10 - 3\delta/5 7/10 − 3 δ /5 .
Proof. Equation (16) gives 3 f ≥ ( α + β ) ρ ( G ) + s 3f \ge(\alpha+ \beta)\rho(G) + s 3 f ≥ ( α + β ) ρ ( G ) + s . Substitute s ≤ 3 f − ( α + β ) ρ ( G ) s \le3f - (\alpha+ \beta)\rho(G) s ≤ 3 f − ( α + β ) ρ ( G ) into Lemma 31 and use ∣ F + ∣ = f + h |F^+| = f + h ∣ F + ∣ = f + h to obtain ( 1 + 2 α + 2 β ) ρ ( G ) + 3 f ≤ 10 ∣ F + ∣ − 2 t P − z − 2 u (1 + 2\alpha+ 2\beta)\rho(G) + 3f \le10|F^+| - 2t_P - z - 2u ( 1 + 2 α + 2 β ) ρ ( G ) + 3 f ≤ 10∣ F + ∣ − 2 t P − z − 2 u . Since s ≥ 0 s \ge0 s ≥ 0 , also 3 f ≥ ( α + β ) ρ ( G ) 3f \ge(\alpha+ \beta)\rho(G) 3 f ≥ ( α + β ) ρ ( G ) . Rearranging gives the bound; cleanup only adds edges. Set α = β = 1 \alpha= \beta= 1 α = β = 1 or α = β = 1 − δ \alpha= \beta= 1 - \delta α = β = 1 − δ for the stated special cases.
Appendix § 9 .§ 2 gives conditions for two compatible attachments. In the upper family of Appendix § 11 .§ 2 , t P = z = u = 0 t_P = z = u = 0 t P = z = u = 0 , so the corrections above do not improve the 7 / 10 7/10 7/10 bound.
Pass tradeoff. Setting δ = 5 ε / 3 \delta= 5\varepsilon/3 δ = 5 ε /3 for 0 < ε < 1 / 3 0 < \varepsilon< 1/3 0 < ε < 1/3 yields a ( 7 / 10 − ε ) (7/10 - \varepsilon) ( 7/10 − ε ) -approximation. The forest F + F^+ F + uses 2 T u ( n , δ ) + 1 2T_u(n,\delta) + 1 2 T u ( n , δ ) + 1 streaming passes and S u ( n , δ ) + O ( n ) S_u(n,\delta) + O(n) S u ( n , δ ) + O ( n ) words of memory; the cleanup scan that gives F ⋆ F^\star F ⋆ adds one final pass. Connected components are determined from the stored matching edges.
A worst-case upper bound of 17/24
The greedy method has legal exact choices and scan orders with ratios tending to 17 / 24 17/24 17/24 . This uses matching ties and concerns only the greedy method, not Theorem 15 .
Fix an integer h ≥ 1 h \ge1 h ≥ 1 and put ℓ = 4 h − 1 \ell= 4h-1 ℓ = 4 h − 1 . For 0 ≤ i < ℓ 0 \le i < \ell 0 ≤ i < ℓ , construct a four-cycle on distinct vertices p i , q i , x i , y i p_i,q_i,x_i,y_i p i , q i , x i , y i , with A i = { p i q i , x i y i } A_i = \{p_iq_i,x_iy_i\} A i = { p i q i , x i y i } and B i = { p i x i , q i y i } B_i = \{p_ix_i,q_iy_i\} B i = { p i x i , q i y i } . Create ℓ \ell ℓ additional disjoint edges a j b j a_jb_j a j b j (0 ≤ j < ℓ 0 \le j < \ell 0 ≤ j < ℓ ) and one isolated vertex z z z . Put
A = ⋃ i = 0 ℓ − 1 A i ∪ { a j b j : 0 ≤ j < ℓ } , B = ⋃ i = 0 ℓ − 1 B i . A = \bigcup_{i=0}^{\ell-1} A_i \cup\{a_jb_j : 0 \le j < \ell\}, \qquad B = \bigcup_{i=0}^{\ell-1} B_i. A = i = 0 ⋃ ℓ − 1 A i ∪ { a j b j : 0 ≤ j < ℓ } , B = i = 0 ⋃ ℓ − 1 B i .
The first 2 h 2h 2 h cycles are designated as distinguished. The graph has n = 6 ℓ + 1 n = 6\ell+ 1 n = 6 ℓ + 1 vertices, and every input edge has unit weight.
Additional edges and a Hamiltonian path. List the 4 h 4h 4 h vertices p i , q i p_i,q_i p i , q i of the distinguished cycles as d 2 i = p i d_{2i} = p_i d 2 i = p i , d 2 i + 1 = q i d_{2i+1} = q_i d 2 i + 1 = q i for 0 ≤ i < 2 h 0 \le i < 2h 0 ≤ i < 2 h . Let Z 0 = ( z ) Z_0 = (z) Z 0 = ( z ) and Z j + 1 = ( a j , b j ) Z_{j+1} = (a_j,b_j) Z j + 1 = ( a j , b j ) for 0 ≤ j < ℓ 0 \le j < \ell 0 ≤ j < ℓ . Begin the vertex sequence
Z 0 , d 0 , Z 1 , d 1 , … , Z 4 h − 1 , d 4 h − 1 , x 0 , y 0 , Z_0,d_0,Z_1,d_1,\ldots,Z_{4h-1},d_{4h-1},x_0,y_0, Z 0 , d 0 , Z 1 , d 1 , … , Z 4 h − 1 , d 4 h − 1 , x 0 , y 0 ,
expanding each block Z j Z_j Z j in its displayed order. For j = 0 , … , 2 h − 2 j = 0,\ldots,2h-2 j = 0 , … , 2 h − 2 , append
p 2 h + j , x 2 h + j , y 2 h + j , q 2 h + j , x j + 1 , y j + 1 . p_{2h+j},x_{2h+j},y_{2h+j},q_{2h+j},x_{j+1},y_{j+1}. p 2 h + j , x 2 h + j , y 2 h + j , q 2 h + j , x j + 1 , y j + 1 .
Call the complete sequence Π \Pi Π . It visits every vertex of G G G exactly once. Add all consecutive edges of Π \Pi Π to A ∪ B A \cup B A ∪ B . Finally, add the edges p 2 j + 1 x 2 j p_{2j+1}x_{2j} p 2 j + 1 x 2 j for 0 ≤ j < h 0 \le j < h 0 ≤ j < h , and place these h h h special connectors first in the streaming order of the joining scan. There are no other edges in G G G .
Matching optimality. The matching A A A contains 3 ℓ = ⌊ n / 2 ⌋ 3\ell= \lfloor n/2\rfloor 3 ℓ = ⌊ n /2 ⌋ edges, and is therefore maximum. Let S = { p i , q i : 0 ≤ i < ℓ } S = \{p_i,q_i : 0 \le i < \ell\} S = { p i , q i : 0 ≤ i < ℓ } . Every edge outside A A A meets S S S : this holds for B B B , the added path edges of Π \Pi Π , and the special connectors. Thus S S S is a vertex cover of G − A G-A G − A of size 2 ℓ 2\ell 2 ℓ , which is attained by the matching B B B . Hence, both matching calls are exact.
Output and optimum. The components of A ∪ B A \cup B A ∪ B are exactly the ℓ \ell ℓ four-cycles, ℓ \ell ℓ isolated edges, and the isolate z z z . Every intercomponent edge touches a distinguished cycle. The first h h h scanned connectors are accepted and mark all 2 h 2h 2 h distinguished cycles used. No subsequent connector in the stream joins two unused components, so ∣ J ∣ = h |J| = h ∣ J ∣ = h . Therefore, ∣ F + ∣ = ∣ A ∣ + ∣ B ∣ − ℓ + h = 4 ℓ + h = 17 h − 4 |F^+| = |A| + |B| - \ell+ h = 4\ell+ h = 17h - 4 ∣ F + ∣ = ∣ A ∣ + ∣ B ∣ − ℓ + h = 4 ℓ + h = 17 h − 4 . The Hamiltonian path Π \Pi Π gives ρ ( G ) = n − 1 = 6 ℓ = 24 h − 6 \rho(G) = n - 1 = 6\ell= 24h - 6 ρ ( G ) = n − 1 = 6 ℓ = 24 h − 6 , and hence
∣ F + ∣ ρ ( G ) = 17 h − 4 24 h − 6 → 17 24 . \frac{|F^+|}{\rho(G)} = \frac{17h-4}{24h-6} \to\frac{17}{24}. ρ ( G ) ∣ F + ∣ = 24 h − 6 17 h − 4 → 24 17 .
Together with Theorem 32 , this places the greedy rule’s worst-case ratio infimum in [ 7 / 10 , 17 / 24 ] [7/10,17/24] [ 7/10 , 17/24 ] .
Maximal outputs in the upper-bound family
In the construction above, configure the cycle openings as follows: remove x i y i x_iy_i x i y i for every even distinguished index i < 2 h i < 2h i < 2 h ; remove p i x i p_ix_i p i x i for every odd distinguished index i < 2 h i < 2h i < 2 h ; and remove x i y i x_iy_i x i y i for every undistinguished index i ≥ 2 h i \ge2h i ≥ 2 h . Each opening at a used cycle is incident with its attachment: x 2 j x_{2j} x 2 j for even indices and p 2 j + 1 p_{2j+1} p 2 j + 1 for odd indices.
After adding the selected connectors, every p i , q i p_i,q_i p i , q i has degree two. For even distinguished and undistinguished cycles, deleting x i y i x_iy_i x i y i leaves both vertices internal. For odd distinguished cycles, deleting p i x i p_i x_i p i x i leaves q i q_i q i internal while the connector supplies the second edge at p i p_i p i . Thus every vertex of the vertex cover S = { p i , q i : 0 ≤ i < ℓ } S=\{p_i,q_i:0\le i<\ell\} S = { p i , q i : 0 ≤ i < ℓ } of G − A G-A G − A is saturated. Every edge of Π \Pi Π outside A ∪ B A\cup B A ∪ B meets S S S , so none can be added. In used cycles, each removed edge meets the saturated attachment vertex. In unused cycles, the removed x i y i x_i y_i x i y i joins endpoints of the same path, so adding it would create a cycle. No other edges exist. Hence F + F^+ F + is maximal and ∣ F ⋆ ∣ = ∣ F + ∣ = 17 h − 4 |F^\star|=|F^+|=17h-4 ∣ F ⋆ ∣ = ∣ F + ∣ = 17 h − 4 after cleanup. These openings preserve the limit 17 / 24 17/24 17/24 ; other openings may allow more edges.
An explicit exponent for matching-value estimation
We give an explicit exponent for the estimator in [8 ] . Source locators refer to the full version arXiv:2302.05030v3. The notation below is local.
Fix the additive accuracy 0 < a < 1 0<a<1 0 < a < 1 of the Theorem 6. Here γ = a / 4 \gamma=a/4 γ = a /4 is the accuracy scale, 2 K + 1 2K+1 2 K + 1 bounds the augmenting-path length, q q q is the survival fraction, ψ \psi ψ is the source’s smallness parameter, σ \sigma σ is the minimal relative gain per successful call, T T T bounds the iterations per call, R R R bounds the total number of calls, and ξ ( a ) \xi(a) ξ ( a ) is the resulting base exponent. Define
γ = a / 4 , K = ⌈ 1 / γ ⌉ , q = γ 2 ( 2 K + 2 ) − ( 2 K + 2 ) , \gamma=a/4,\qquad K=\left\lceil1/\gamma\right\rceil,\qquad q=\gamma^2(2K+2)^{-(2K+2)}, γ = a /4 , K = ⌈ 1/ γ ⌉ , q = γ 2 ( 2 K + 2 ) − ( 2 K + 2 ) ,
ψ = q 4 ( 10 8 K + 1 ) , σ = 10 − 8 ψ 4 K + 3 , T = ⌈ 3 ( K + 2 ) 2 σ ⌉ , \psi=\frac{q}{4(10^8K+1)},\qquad\sigma=10^{-8}\psi^{4K+3},\qquad T=\left\lceil\frac{3(K+2)^2}{\sigma}\right\rceil, ψ = 4 ( 1 0 8 K + 1 ) q , σ = 1 0 − 8 ψ 4 K + 3 , T = ⌈ σ 3 ( K + 2 ) 2 ⌉ ,
R = ⌈ ( K + 1 ) ( σ − 1 + 1 ) ⌉ , ξ ( a ) = 1 20 ⋅ 9 T ( R + 1 ) . R=\left\lceil(K+1)(\sigma^{-1}+1)\right\rceil,\qquad\xi(a)=\frac{1}{20\cdot9^{T(R+1)}}. R = ⌈ ( K + 1 ) ( σ − 1 + 1 ) ⌉ , ξ ( a ) = 20 ⋅ 9 T ( R + 1 ) 1 .
These parameters depend only on a a a . We show that the positive exponent ξ ( a ) \xi(a) ξ ( a ) gives time O ~ a ( N 2 − ξ ( a ) ) \widetilde{O}_a(N^{2-\xi(a)}) O a ( N 2 − ξ ( a ) ) on N N N vertices.
Layer survival and thresholds. The source’s Algorithm 4 uses K = ⌈ 1 / γ ⌉ K=\left\lceil1/\gamma\right\rceil K = ⌈ 1/ γ ⌉ and calls the augmentation procedure at lengths 2 i + 1 2i+1 2 i + 1 , 0 ≤ i ≤ K 0\le i\le K 0 ≤ i ≤ K , with density parameter γ 2 \gamma^2 γ 2 . If the current matching admits at least γ 2 N \gamma^2N γ 2 N vertex-disjoint augmenting paths of length 2 i + 1 2i+1 2 i + 1 , fix such a collection before sampling the layers. By their Lemma 5.3, each path survives independently with probability ( 2 i + 2 ) − ( 2 i + 2 ) (2i+2)^{-(2i+2)} ( 2 i + 2 ) − ( 2 i + 2 ) . The expected number of survivors is at least q N qN q N , so a Chernoff bound gives at least q N / 2 qN/2 q N /2 survivors with high probability for sufficiently large N N N (depending on a a a ). Without the candidate-path hypothesis, the source procedure may return failure. Use the same ψ \psi ψ for all calls. Their equation (1) in Section 5.1.1 sets
ψ j = 10 − 8 ψ 4 j + 3 , δ j = ψ 4 j + 1 . \psi_j=10^{-8}\psi^{4j+3},\qquad\delta_j=\psi^{4j+1}. ψ j = 1 0 − 8 ψ 4 j + 3 , δ j = ψ 4 j + 1 .
For i ≤ K i\le K i ≤ K , the loss bound in Corollary 5.16 is at most
∑ j = 0 i − 1 δ j + 1 ψ j N ≤ K 10 8 ψ N . \sum_{j=0}^{i-1}\frac{\delta_{j+1}}{\psi_j}N\le K10^8\psi N. j = 0 ∑ i − 1 ψ j δ j + 1 N ≤ K 1 0 8 ψ N .
Since δ 0 = ψ 5 ≤ ψ \delta_0=\psi^5\le\psi δ 0 = ψ 5 ≤ ψ and ( K 10 8 + 1 ) ψ = q / 4 < q / 2 (K10^8+1)\psi=q/4<q/2 ( K 1 0 8 + 1 ) ψ = q /4 < q /2 , on the survival event above the number of paths exceeds that loss plus δ 0 N \delta_0N δ 0 N . Thus our explicit ψ \psi ψ satisfies the source’s sufficient-smallness condition under the candidate-path hypothesis. Whenever an augmentation call succeeds, the paragraph after Corollary 5.17 guarantees an increase of at least ψ i / N ≥ σ N \psi_i/N\ge\sigma N ψ i / N ≥ σ N . Iteration counts. Claim 5.13 bounds backtracks at layer 2 j 2j 2 j by 1 / ψ j 1/\psi_j 1/ ψ j . The displayed calculation in Corollary 5.14 consequently bounds all iterations of a length-2 i + 1 2i+1 2 i + 1 call by
( i + 2 ) ( ∑ j = 0 i − 1 ψ j − 1 + 1 ) + ( i + 1 ) ≤ ( K + 2 ) ( K / σ + 1 ) + K + 1 ≤ T . (i+2)\left(\sum_{j=0}^{i-1}\psi_j^{-1}+1\right)+(i+1)\le(K+2)(K/\sigma+1)+K+1\le T. ( i + 2 ) ( j = 0 ∑ i − 1 ψ j − 1 + 1 ) + ( i + 1 ) ≤ ( K + 2 ) ( K / σ + 1 ) + K + 1 ≤ T .
There are at most σ − 1 \sigma^{-1} σ − 1 successful calls, since matching size increases by at least σ N \sigma N σ N and never exceeds N / 2 N/2 N /2 . Every nonfinal round of Algorithm 4 contains a success, and every round has K + 1 K+1 K + 1 calls. Hence the total call count is at most R R R .
Exponent bookkeeping. Theorem 5.2 and equation (6) of Section 5.2 multiply the matching-oracle exponent by at most 9 T 9^T 9 T per successful call. Start with exponent ξ ( a ) \xi(a) ξ ( a ) . Even allowing this multiplication on every call and once more for a final unsuccessful call gives
ξ ( a ) 9 T ( R + 1 ) = 1 / 20 \xi(a)9^{T(R+1)} = 1/20 ξ ( a ) 9 T ( R + 1 ) = 1/20
Every intermediate exponent is therefore at most 1 / 20 < 1 / 5 1/20 < 1/5 1/20 < 1/5 , as required by Definition 5.1. Each preprocessing call costs at most O ~ a ( N 2 − ξ ( a ) ) \widetilde{O}_a(N^{2-\xi(a)}) O a ( N 2 − ξ ( a ) ) ; their number is an a a a -dependent constant. The final matching oracle has query exponent at most 1 + 1 / 20 1+1/20 1 + 1/20 , so the sampling step of Corollary 6.2 fits within the same bound. That corollary has additive error 4 γ N = a N 4\gamma N = aN 4 γ N = a N and the one-sided value guarantee. Exceptional bounded N N N can be read in full, absorbed into the a a a -dependent constant.
For (7) , use a = η / 4 a=\eta/4 a = η /4 , or a = ε / 8 a=\varepsilon/8 a = ε /8 for TSP. That bound includes confidence amplification of one matching-value estimate and the cost of one vertex order. The displayed ξ \xi ξ is a conservative choice, not an optimized exponent.