Manuscript Offprint
arXiv:2611.05189Logarithmic Embeddings into Probabilistic Spanning Trees for Distances and Capacities
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We prove that every connected -vertex graph admits a probabilistic embedding into its spanning trees with expected distance stretch . This settles the logarithmic stretch conjecture of Alon, Karp, Peleg, and West, whose spanning-tree game appeared at the 1991 DIMACS Workshop on On-Line Algorithms and in SIAM Journal on Computing in 1995. A weighted form of the theorem also yields a distribution over spanning trees with capacities exactly equal to their fundamental graph cuts. Every tree dominates every graph cut, every cut is approximated within in expectation, and the same capacity distribution defines an -competitive fractional oblivious routing. The distance and capacity distributions may differ. Diamond graphs give matching logarithmic lower bounds for stretch, congestion, and cut distortion.
For rational input, both distributions are constructed deterministically in polynomial time and use at most trees, where is the number of graph edges. We prove an support lower bound for congestion ; in particular, trees can be necessary for near-unit congestion, even when the optimum tends to one. Thus linear dependence on is unavoidable in this regime.
The weighted theorem combines a protected-geodesic petal decomposition with a pathwise entropy bound for locally selected centers. A local averaging inequality derandomizes the radii, and an adaptive rational packing procedure constructs the distributions.
1 Introduction
Approximating a graph by a distribution of trees is a basic tool in the design of algorithms. A tree makes distances, cuts, and routing particularly simple, while a distribution can avoid the distortion forced on any one tree. There are, however, two different notions of a tree approximation. An abstract tree metric may introduce Steiner vertices and edges unrelated to the input graph. A spanning tree must use the original vertices and original edges, with their given lengths. The latter restriction is essential when a tree path must be a path in the network itself.
Alon, Karp, Peleg, and West [AKPW92, AKPW95] formulated the spanning-tree problem as a zero-sum game between a tree player and an edge player. Their extended abstract appeared at the 1991 DIMACS Workshop on On-Line Algorithms, with proceedings published in 1992; the full paper appeared in 1995. They proved a bound of and conjectured an bound. Their original payoff differs pointwise by at most one from , so the two game values differ by at most one. The modified game asks for a distribution over spanning trees whose
M. Hajiaghayi
expected stretch is small on every original edge. An edge guarantee immediately extends to every pair of vertices by summing along a shortest graph path.
Subsequent work brought the upper bound close to logarithmic. Elkin, Emek, Spielman, and Teng [EEST08] obtained average stretch . Abraham, Bartal, and Neiman [ABN08] obtained stochastic stretch . The petal decomposition of Abraham and Neiman [AN19] gives average stretch and a construction with the same logarithmic factors in its nearly linear running time. Low-stretch trees also underlie preconditioners for fast solvers of symmetric diagonally dominant linear systems [ST14]. The remaining gap is a geometric one: local partitions must be chosen so that they can be reconnected using original edges without losing the distance estimate.
We close this gap by proving the logarithmic bound for spanning trees. The theorem is weighted: the demand assigned to an edge is independent of its length. This is the form needed both for the spanning-tree game and for a capacity decomposition. Our construction runs in polynomial time for arbitrary rational input. Its running time is not nearly linear; the contribution is the logarithmic approximation within the spanning-tree family and an explicit polynomial construction.
Thus the tree topology is a subgraph, while its capacities are determined by its fundamental cuts. These are exactly the smallest capacities on that topology that dominate every graph cut (Proposition 9.5).
Theorem 1.1 (Logarithmic spanning-tree decompositions). There is an absolute integer with the following property. Put and fix . Let .
(i) For every positive length vector , there is a distribution over spanning trees such that, for all ,
(ii) For every positive capacity vector , there is a distribution over spanning trees, equipped with (1), such that
Consequently, for every ,
Splitting every pair's demand among its tree paths with the fixed probabilities gives an -competitive fractional oblivious routing.
M. Hajiaghayi
Each distribution can be supported on at most trees. For rational input and rational , it can be constructed deterministically using at most
weighted-tree calls and polynomial additional work. The complete running time is polynomial in the binary input length and .
The capacity distribution is fixed before the cut or the demand vector is chosen. Its guarantee is , and the routing uses the fractional mixture of tree paths. The theorem does not require each sampled tree to have small congestion. The distance and capacity distributions may differ; this is necessary even when all graph lengths and capacities are one (Proposition 10.4).
The main ingredient is a deterministic weighted-tree theorem. Given arbitrary demands and lengths , it constructs a spanning tree satisfying
The geometric and entropy arguments proving this statement occupy Sections 4–6. We use symbolic constants there and give an explicit admissible choice, including , in Section 11. The distribution construction in Section 8 works with any weighted response bound , loses only a factor , and has a call bound independent of the numerical size of .
Tightness on diamonds. The logarithmic lower bound for probabilistic tree metrics on recursive diamonds is classical [GNRS04]. We give a direct spanning-tree proof in Section 10.1. For every spanning tree of the height- unit diamond , the sum of tree distances over the original edges is at least . The same inequality, by double counting, gives an lower bound for maximum expected fundamental-cut congestion. Summing singleton tree cuts gives the lower bound for expected cut distortion as well. Thus all three logarithmic bounds in Theorem 1.1 are asymptotically tight on the same series-parallel family.
The size of an explicit decomposition. Charikar, Chekuri, Goel, Guha, and Plotkin [CCG+98] showed that abstract tree metrics suffice for their probabilistic metric embedding. This raises the corresponding support question for spanning trees. Our support bound cannot in general be replaced by for fundamental-cut congestion, even when the optimal congestion approaches one. For an integer , let consist of two -vertex stars whose edges have capacity , together with all cross edges of capacity one.
Theorem 1.2 (Support required by fundamental-cut congestion). For , every distribution with maximum expected congestion at most has support at least . There is a distribution with congestion at most . Moreover, for every
the minimum support size is exactly . On the same family, one fundamental-cut tree approximates every cut within factor three; with unit metric lengths, one spanning tree has distance distortion at most three.
M. Hajiaghayi
The proof is in Section 10.2. Since and , the theorem gives support. In particular, constant congestion can require trees, and logarithmic congestion can require trees. The lower bound concerns individual original-edge loads, the property used by the oblivious routing guarantee. It does not follow from cut approximation alone. At the attainable bound , every distribution needs at least trees (Corollary 10.3). Thus the dependence on is asymptotically sharp for congestion tending to one.
1.2 Related work
Probabilistic metric embeddings. Bartal [Bar96, Bar98] established probabilistic approximation by hierarchically well-separated trees (HSTs), first with distortion and then with distortion . Fakcharoenphol, Rao, and Talwar [FRT04] obtained the optimal bound: every finite metric admits a distribution of dominating tree metrics with this expected distortion for every pair. Their construction also produces HSTs, whose edge lengths decrease geometrically along root-to-leaf paths. The distinction between deterministic domination and expected distortion is central to the applications. A fixed feasible solution has a cost controlled in expectation by linearity, while domination supports transferring a tree solution back to the original metric. The allowed trees can have Steiner vertices and edges outside the input graph. Replacing such edges by graph paths can create cycles; extracting a spanning tree from their union need not preserve the distance bound. Consequently the metric theorem does not supply the original-edge guarantee studied here.
Approximation and online algorithms. Metric labeling illustrates the role of HST structure. Kleinberg and Tardos [KT02] give a constant-factor algorithm when the metric on the labels is an HST with a fixed separation greater than two. Combined with FRT, this yields an approximation for arbitrary label metrics: assignment costs are unchanged, and the metric controls the pairwise separation costs. The related 0-extension problem fixes the labels of designated terminals. Calinescu, Karloff, and Rabani [CKR05] obtain an approximation, where counts terminals, through a metric relaxation and randomized partitions. Their partitioning method is also an ingredient in the development of FRT [FRT04]; this is a connection between the techniques, rather than an attribution of the 0-extension theorem to FRT.
For network design, Awerbuch and Azar [AA97] use tree embeddings for uniform buy-at-bulk, where cable types and their costs per unit length are common to all edges. Their constant-factor tree algorithm and the FRT distortion bound give an expected approximation, including the multiple source-sink setting. For group Steiner tree with groups, Garg, Konjevod, and Ravi [GKR00] obtain an approximation on trees; combining it with FRT gives on general graphs. In online computation, Fiat and Mendel [FM03] give an -competitive algorithm on HSTs. Its classical combination with FRT gives an randomized competitive ratio for metrical task systems against oblivious adversaries [FRT04]. These examples explain why both the distortion and the structure of the target trees matter: the reduction must preserve the particular objective and feasibility conditions of its application.
Spanning trees and numerical algorithms. The original-edge problem has a separate history, beginning with the tree-edge game of Alon, Karp, Peleg, and West [AKPW95], motivated by the -server problem on road networks. Their reduction relates the game value to a randomized competitive ratio against an oblivious adversary. The subsequent star decompositions of Elkin, Emek,
M. Hajiaghayi
Spielman, and Teng [EEST08], the portal highways of Abraham, Bartal, and Neiman [ABN08], and the petal decompositions of Abraham and Neiman [AN19] successively improved the distortion while maintaining a spanning subgraph. The latter construction achieves average stretch in time. For unweighted series-parallel graphs, Emek and Peleg [EP09] already obtain a tight logarithmic distribution over spanning trees. The diamond lower bound of Gupta, Newman, Rabinovich, and Sinclair [GNRS04] therefore holds even in a graph class where the spanning-tree question was previously settled.
Low-stretch spanning trees also enter combinatorial preconditioning. Spielman and Teng [ST14] construct sparse subgraph preconditioners by adding edges to low-stretch trees and use recursive preconditioning to solve symmetric diagonally dominant systems in nearly linear time. This application requires efficient construction, in addition to a stretch bound. Our polynomial-time weighted oracle establishes the logarithmic distortion guarantee; obtaining a comparable running time remains a separate algorithmic question.
Recent work also studies faster constructions. Kyng et al. [KPGR25] obtain efficient logarithmic metric-tree embeddings and -oblivious routing by analyzing random-shift decompositions across scales. Dorkofikis et al. [DHPG+26] obtain spanning trees from randomly perturbed shortest-path computations. Their worst-case construction has expected stretch and running time for positive, polynomially bounded integer lengths. These results address computational efficiency and alternative constructions alongside the distortion question.
Cut decompositions and minimum bisection. Räcke [Räc08] constructs a convex combination of capacitated decomposition trees that supports -competitive fractional oblivious routing in undirected networks. The leaves correspond to graph vertices, while tree edges are mapped to graph paths; these trees are not required to be spanning subgraphs. The same framework gives an approximation for minimum bisection with exact cardinality balance: when is even, both output parts have exactly vertices, and the cut capacity is within the stated factor of the minimum among such bisections. Räcke computes a minimum-cost leaf bisection in each supported tree by dynamic programming and returns the best induced graph bisection [Räc08, Section 3, Lemma 9]. The balance counts leaves, and hence original vertices; internal tree nodes do not contribute to it. The framework also yields logarithmic approximations for sparsest cut and multicut. Thus the logarithmic bisection approximation is an established application. Corollary 9.4 recovers this guarantee, and its analogue for any prescribed side cardinality, using spanning trees on the original vertex set with prescribed fundamental-cut capacities. The additional contribution concerns this representation and its construction.
Family-preserving duality and explicit distributions. Andersen and Feige [AF09, Theorem 6] formulate the equivalence between stretch and congestion for a fixed family of admissible mappings. Their discussion explicitly distinguishes the distributions needed for the two guarantees. For spanning trees, the mapping sends each edge to its tree path, and the induced loads are precisely fundamental-cut capacities. They already use this family for a near-logarithmic minimum-bisection approximation and explain how abstract tree metrics recover Räcke's logarithmic bound [AF09, Sections 4.5 and 5]. Our weighted theorem supplies a logarithmic response within the spanning-tree family itself.
Charikar, Chekuri, Goel, Guha, and Plotkin [CCG+98] give a deterministic polynomial construction of a distribution on metric trees with distortion. Their work predates FRT and connects weighted response oracles to explicit distributions through fractional packing. Our rational master follows this framework and the multiplicative-weights method [PST95, AHK12];
M. Hajiaghayi
it gives a factor loss, uniformly bounded query encodings, and exact compression to trees. The support obstruction proved here concerns fundamental-cut congestion on original-edge trees. Its bound explains why the support guarantee for metric approximation cannot be transferred to that requirement, even at logarithmic congestion.
Organization. Section 2 explains the proof and construction. Section 3 fixes conventions. Sections 4–7 give the weighted theorem and its running time. Sections 8 and 9 construct the distributions and prove the capacity and routing statements. Section 10 proves the lower bounds, and Section 11 checks the constants.
2 Our approach and techniques
Our starting point is a weighted formulation of the spanning-tree problem. Give each graph edge a positive length and an arbitrary nonnegative demand . We construct one actual spanning tree for which
The demands may depend on the lengths. This freedom is what allows the same theorem to yield both distance and capacity decompositions. For distances, a weighted response controls a specified linear combination of edge stretches. For capacities, given positive edge prices , we use auxiliary lengths and demands . Double counting the resulting tree paths identifies the weighted distance objective with the priced sum of fundamental-cut congestions. This is the family-preserving distance–capacity equivalence of Räcke and Andersen–Feige [Räc08, AF09]. Our task is therefore to prove the weighted bound while keeping every tree edge in the input graph. The distance and capacity distributions obtained from it may be different.
A demand routable in the graph with congestion induces load at most on every tree edge, by the cut inequality for its fundamental cut. Averaging the corresponding original-edge tree paths therefore gives the stated oblivious routing.
2.1 The logarithmic weighted bound
Protecting an entire shortest path. Recursive tree constructions must control the distances created when their clusters are reconnected. Petal decompositions achieve this by coordinating cluster boundaries with paths leading toward a root [ABN08, AN19]. We retain this geometric principle and change the object carried by the recursion: each instance protects an entire physical shortest path starting at its root. Every child avoids that path, which is retained verbatim in the final tree. The child receives a new protected path, inherited from the root's shortest-path tree through the chosen source; see Figure 1.
The construction uses temporary lengths that halve precisely the protected-path edges. A petal boundary is defined by a distance gauge adapted to a shortest-path tree in these temporary lengths. Removing a petal leaves an ancestor-closed residual, so its surviving root distances stay unchanged. Each child has one designated original portal edge leading to the later residual. Its witness paths lie entirely within the child and contain no edge of the old protected path. Consequently they have their original physical lengths, and the new designated path is physically shortest in the induced child. These properties are preserved for every admissible radius choice.
The resulting tree has constant distortion from every vertex of the protected path to every vertex in the instance. This gives the cost scale needed in the analysis: an edge first separated in an
M. Hajiaghayi
instance can be charged according to its endpoint's distance to that instance's protected path. Once this distance becomes comparable to the edge length, the edge's entire remaining tree distance is paid immediately. The geometry also permits every surviving off-path vertex to compete as a source, which is essential for the local comparisons below.
Local scales and a carried threshold. For a vertex in an instance , let be its physical distance to the protected path, measured at entry to the instance. We fix an allowance , for a sufficiently small absolute constant . These allowances stay fixed while the parent is carved. Their Lipschitz property supplies meaningful comparisons between nearby vertices even after residual distances have increased.
We also fix a positive vertex measure once for the entire construction. Write and , and assume ; the zero-demand case is immediate. Assign each vertex the baseline weights of its incident edges and an additional mass . Its total mass is , and its entropy is at most . This single entropy budget will pay for all charged edges throughout the recursion. In a current residual, the core of is a small physical ball of radius ; denote its mass by and the fixed parent mass by .
The personal rate of a vertex is proportional to , where . A vertex is eligible when this rate is at most the current threshold . Among eligible vertices we maximize , where is its current root distance. The threshold doubles when no candidate is eligible. Each child starts with twice the threshold used at its own source selection. The priority rule ensures that an eligible captured vertex has an allowance comparable to the source's allowance and a child root distance at most . Thus eligibility gives strong contraction; ineligibility gives a mass inequality that will instead pay for the capture.
Summing over physical scales. The natural charge at a capture of is . Although need not decrease at every capture, it always lies within a constant factor of its running minimum. The reason is that current root heights decrease along a recursive history, and every capture resets the next root height to at most a constant times the present distance to the protected path. This also controls any later increase in that distance.
We group captures into dyadic bands of the running minimum. Within one band, the physical scales are comparable while the carried thresholds grow geometrically. The total charge in that band is therefore bounded by a constant times its last charge. For these representatives, place an inner and an outer physical ball around the vertex. Their radii are fixed constant multiples of the running minimum. After a constant number of occupied bands, the later outer ball is contained in the earlier inner ball. Residuals are nested, and intrinsic distances cannot decrease under restriction. The logarithms of these local mass ratios consequently telescope, independently of the number of recursive levels or the metric aspect ratio.
Far captures and inherited rates. Call a capture far when the source allowance is at most times the captured vertex's allowance, for a fixed constant . Such a vertex must be ineligible: the comparison for eligible captures rules out this discrepancy. Using within constant factors of , the two eligibility comparisons bound the charge by a difference of logarithms. Their common parent-mass term cancels, giving
M. Hajiaghayi

Figure 1: A recursive step. The child avoids the inherited protected path and is joined through the original edge . Its new protected path runs from to the selected source . Only the protected paths, the relevant root-path segment, and one branch of the child are shown; physical lengths are not to scale.
Here the constants absorb , and are the outer and inner balls just described. Geometry places the source core inside , while lies in the endpoint core. The local entropy telescope therefore pays for every far capture, including captures deep inside a cell.
Near captures require additional care because an inherited threshold may greatly exceed a vertex's present personal rate. We begin a new run at the first capture, whenever the vertex is ineligible, or when the threshold has increased inside its current parent. At these seed captures, the threshold is controlled by the vertex's personal rate. The first subsequent charge is at most a constant multiple of the seed charge; later charges decrease geometrically because eligibility contracts the scale faster than threshold inheritance increases it. The run's total charge is therefore bounded by a constant times its seed charge.
A seed bound initially contains an additive constant from . Paying that constant once per occupied band would destroy the desired estimate. We prove that a seed with sufficiently small entropy is deep inside its cell and cannot be charged for separating an active near edge. Its inner ball contains almost all the parent mass, while the seed bound gives the source core a constant fraction of that mass. The two balls must therefore intersect. The next distance to the protected path is then so small that a further capture requires a fresh threshold increase. Such a seed cannot sponsor a later inherited-rate charge either. The remaining seeds have enough entropy to absorb the additive constant.
Accounting for near vertices together. At a near seed, the rate estimate still involves the whole parent mass. Split its logarithm into a local inner-to-outer mass ratio and the remaining parent-to-outer ratio. The first part has already been handled by nested balls. To bound the second, consider one actual child cell and let and be the masses of its near and far vertices, respectively. All near vertices lie within each other's outer balls. Writing , their total remaining charge is bounded using the elementary inequality
The first term belongs to the entropy of the parent partition and telescopes over the recursive partition tree. Every far vertex has a constant lower bound on its capture charge, so the second term is paid by the far-capture estimate. This aggregate step is what removes the global parent-mass term from the local analysis.
M. Hajiaghayi
Boundary events and the upper endpoint of a radius. For analysis, a radius is drawn from a truncated exponential law on the source's allowance interval. The exact separation identity consists of a capture term and a truncation remainder. The capture term can be restricted to vertices whose entry thresholds are near the interval; a deep capture contributes nothing to it. For far opportunities, the remainder is paid by source-core masses: their normalized squares sum to at most a constant within a parent, and the same nested-ball argument controls their carried rates across parents. This covers earlier potential separations even when the actual capture occurs later. For near edges entering in the last exponential length of the interval, we instead charge the binary entropy of the actual cell and its complement. Both kinds of remainder therefore fit within the original entropy budget.
2.2 Exact constructions and the size of the distribution
A deterministic radius from a local inequality. The preceding accounting also gives a deterministic weighted oracle. At a fixed source step, let bound the weighted distance cost of edges separated by radius . The one-step exponential analysis shows that its expectation is at most the sum of three credits: the charge of actual captures, the binary entropy of the split, and the far truncation remainder. Each credit has a bound that holds for every complete admissible execution. It therefore suffices to choose a radius satisfying this same inequality locally and then sum the resulting inequalities.
Such a radius can be found exactly. The cell, its portal, and all edge-entry events are constant between consecutive vertex gauges. Enumerating the rational midpoints of these intervals gives a finite list containing a satisfactory choice. Binary entropy is replaced by a rational upper bound within an absolute constant factor, and eligibility uses only the integers . No probability needs to be evaluated. A source becomes permanently protected after it is selected, so there are at most source selections. Fixed denominators for physical distances and polynomially bounded threshold exponents give polynomial running time for arbitrary rational input.
From weighted responses to an explicit distribution. We use the response-oracle viewpoint of Charikar et al., Räcke, and Andersen-Feige [CCG+98, Räck08, AF09]. For either application, a tree supplies an -dimensional nonnegative payoff vector, and the weighted oracle returns a vector whose cost against any positive price distribution is at most . An adaptive-step construction produces a mixture with every expected coordinate at most , using calls.
The update size is inversely proportional to the largest coordinate of the current response. Thus even a response with very large individual stretch or congestion makes only a bounded coordinate increment. Prices are integer powers of a rational base, with exponents determined by rounded accumulated coordinates. A potential bound limits these exponents uniformly. Normalizing the stopping horizon by makes the call count independent of the numerical size of . All probabilities and queries consequently have polynomial encodings. Finally, affine dependence reduces the mixture to at most trees while preserving its mean. One additional rational linear-algebra step either removes an affine dependence or decreases all mean coordinates together until a probability vanishes. This gives support at most without another oracle call.
Why substantially smaller support can fail. For fundamental-cut congestion, a quadratic dependence on the number of vertices can be necessary even when the best congestion tends to one. Take two sets of vertices, put a capacity- star inside each (Figure 3), and add every cross edge with capacity one. Every spanning tree contains a cross edge, and its fundamental cut has capacity
M. Hajiaghayi
at least . A tree given probability therefore contributes at least to some original edge's expected congestion. Any distribution with congestion at most must satisfy
Nevertheless, retaining both heavy stars and choosing one cross edge uniformly gives congestion at most . Balanced sets of cross edges attain the support lower bound for every . Thus the support requirement reflects the large congestion of an individual sampled tree, despite the small congestion of the fixed mixture. It applies to the original-edge load guarantee used for routing. On the same family, a single fundamental-cut tree already approximates every cut within a constant factor. This explains why the support bound for abstract metric-tree embeddings [CCG+98] does not carry over to the stronger congestion requirement.
3 Preliminaries and the recursive construction
We delete loops at the outset and allow parallel edges. All lengths in the metric theorem are strictly positive. Unless stated otherwise, capacities are also strictly positive; Section 9 explains the extension to nonnegative capacities. For a vertex set , is the set of original edges with exactly one endpoint in , and is their total capacity. All graph distances are intrinsic to the specified induced graph. Balls are closed vertex balls. Logarithms without a subscript are natural. Every tie is broken by a fixed ordering.
The weighted theorem takes a positive length and a nonnegative demand on each edge. We call the physical length vector: every edge of the output tree keeps this length. Put
If , any spanning tree suffices. For , the proof fixes the positive vertex measure
The measure is only restricted under recursion; it is never recomputed from a child graph. Its total mass is , and
The geometric lemmas do not depend on this particular measure. The entropy argument first applies to any fixed positive measure and is then specialized to the one above.
Each recursive instance consists of an induced connected graph , a root , and a physical shortest path starting at . We call the protected path. The initial instance is , with an arbitrary root and the one-vertex path at that root. Within an instance, the algorithm repeatedly removes a connected petal disjoint from . A removed petal becomes a child instance and has one designated original portal edge joining it to the residual graph. Once only remains, the algorithm retains its edges and recurses on the children. The union of these paths, recursive trees, and portal edges is the output tree.
The next section defines petals and proves the geometric invariants for every admissible source and radius. The source rule and inherited threshold are specified in Section 5; a child's threshold is twice the threshold at the selection of its own source. Section 6 gives the finite deterministic radius rule. Temporary lengths used to define a petal are reset in each instance: edges on its protected path have length , and all other edges have length . In particular, lengths are never repeatedly halved along recursion.
M. Hajiaghayi
4 Protected geodesics and recursive spanning trees
The decomposition preserves one physical geodesic in each recursive instance. Temporarily shortening this path makes it possible to attach the remaining vertices through original graph edges while controlling their distances to every vertex of the preserved path. Throughout this section, physical lengths are the original positive lengths . The parameters used later satisfy
The structural and distance bounds hold for arbitrary admissible radii. The scale consequences use fixed allowances proportional to the parent distance from the protected path.
One recursive instance. Let be a connected induced graph, let be its root, and let be a physical shortest path starting at . Assign current length to the edges of and to all other edges. Every prefix of remains current-shortest: a competing route has current length at least half its physical length. Choose a current shortest-path tree rooted at that contains , and set . Such a tree exists by fixing the tight predecessors on and then choosing a tight predecessor for every remaining vertex. Positive lengths make this predecessor relation acyclic.
Initially the residual is . We shall maintain that is ancestor-closed in , so that every surviving root path remains and the current root distances in are still . To form a cell, select . Write , let be its last vertex on , and set . Choose a radius and put . Define the entry gauge and the cell by
Let be the first vertex of whose height exceeds , and let be its predecessor. Remove from and retain the portal edge . Continue until only remains.
After completing this parent decomposition, recurse on each induced child , with root and protected path . In the child the current lengths are reset: exactly its new protected path is halved, and every other edge receives its original physical length. The output consists of the child trees, all portal edges, and the edges of . In particular, no metric edge is introduced.
Lemma 4.1 (Structure of a petal). The gauge is nonnegative, satisfies , and is 4-Lipschitz in physical residual distance. Each cell is connected, contains and , and avoids ; its portal endpoint remains in the residual. Removing the cell preserves ancestor closure in . The path is physically shortest in the induced child.
If and , then the radius is admissible and the cell contains the entire physical core .
Proof. For every witness , the triangle inequality gives
The witness gives . Both and each residual distance function are 1-Lipschitz in physical residual distance. The expression in (3), and hence its minimum, is therefore 4-Lipschitz. On the source path, ancestor closure and the shortest-path property give
M. Hajiaghayi
Thus precisely the source-path vertices above the cutoff enter the cell. In particular, , , and the segment from to lies in .
For a captured vertex , choose a minimizing witness and define its excess
Consequently lies on the captured segment . Every vertex of a shortest route is captured as well. Indeed, moving from toward decreases the distance to by exactly the traversed length, whereas the height can decrease by at most that length. This proves connectivity. Along an outward edge of , the height increases by the edge's current length while any witness distance increases by at most that length. The gauge cannot increase. The cell therefore contains every surviving -descendant of each of its vertices, proving ancestor closure of the new residual.
To see that is avoided, fix . For a witness on , the one-dimensional distance formula gives
For a witness beyond , physical geodesicity of and give
The same lower bound follows. Hence . All witness routes inside the cell consequently avoid the shortened edges of , and their current lengths equal their physical lengths. The new protected path is a subpath of a current shortest path. Since the entire induced child contains no shortened edge, this path is physically shortest in the child.
Finally, the source tail from to has physical length , so and . On the prescribed core the Lipschitz bound gives , proving inclusion for every allowed radius.
Lemma 4.2 (Tree construction and root control). Every adaptive sequence of sources and admissible radii produces an original-edge spanning tree containing . For each captured vertex , there is a physical route from to , contained in except for its portal edge, of length at most . The output tree satisfies
There are at most source selections throughout the recursion from . Moreover, each recursive tree remains a connected subtree of the final output: the final tree path between vertices of is exactly their path in .
Proof. Every child avoids the nonempty path and is therefore smaller than its parent. Recursion terminates by induction on the number of vertices. At the parent level each portal points to a later cell or to . The child trees, portals, and consequently form a connected graph. If there are cells, its number of edges is
so it is a tree.
Fix and its witness from (4). Since , we have . Combining this with the capture inequality gives . The route that follows the source path from to and then a shortest witness route to is physical, by Lemma 4.1, and has length
M. Hajiaghayi
For the tree bound, let be the child's current root distance. Its new shortening gives
Inductively the child tree has root distances at most . Including the portal and using (4) yields
The root bound now follows backwards through the parent cells. On it holds with equality, since the retained physical lengths are twice the current lengths.
For the source count, a selected source becomes a vertex of its child's protected path and can never again be selected in any descendant. Different branches have disjoint vertex sets, so all selected sources are distinct initially unprotected vertices. Finally, every recursive tree is retained as a connected subgraph of the final tree. Uniqueness of tree paths proves the last claim. Several outside branches may attach to this subtree; connectivity and acyclicity alone give the required path property.
Lemma 4.3 (Protection of the entire geodesic). For every and ,
In particular, writing , every original edge of the instance satisfies
These inequalities also hold for the corresponding paths in the final tree of any larger instance containing this recursive call.
Proof. Follow the same-parent portal chain from until its first vertex . Put and . The tree and physical comparison bounds of Lemma 4.2 telescope along this chain: the tree route from to has length at most , and there is a physical comparison route of length at most . Since is 1-Lipschitz in physical distance and is physically geodesic,
Thus and . The retained path from to followed by the tree route to has length at most .
For an edge , choose a nearest protected-path vertex to . Then . Applying (6) to both endpoints and using the tree triangle inequality proves (7). The final assertion is the connected-subtree property of Lemma 4.2.
Lemma 4.4 (Ambient locality and eligible contraction). Suppose captures . With the parent distance fixed before any residual removals,
M. Hajiaghayi
In particular, these bounds use the original parent distance to , not a residual distance that may increase during the carving.
Suppose further that is fixed throughout the parent, , and maximizes over an eligible set containing . Then
Proof. Put and let be a minimizing witness for , with excess as in (4). The source-witness- route is entirely inside the cell and has physical length
Choose a nearest vertex to in the original parent metric, and write . Concatenate the physical source tail , the preceding in-cell route, and an ambient physical shortest path. The latter path need not survive in ; it is used only to compare lengths in . Physical geodesicity of and give
Therefore , and the bound on proves (9).
The same witness route, with the child's new shortening, gives
This proves (8). Substituting proves (10).
For an eligible , source maximality gives
The child-height bound follows immediately, while the canonical in-cell route has length at most . Finally, is 1-Lipschitz in the ambient physical metric, so
Rearranging yields both allowance ratios.
The scale information needed by the entropy analysis follows from these geometric bounds. In particular, the factor-three comparison below does not compound with recursion depth: current root heights decrease from one instance to the next.
Lemma 4.5 (Consequences for scales and boundary charges). Use fixed allowances , allowed radii , and the eligible priority rule of Lemma 4.4. Every capture satisfies
Along a vertex's recursive history, let be its parent distance to the protected path and . Then .
M. Hajiaghayi
A capture with must have an ineligible endpoint . For the near set , every two vertices are at physical distance less than in the same residual . If is the running minimum at this parent, then
Moreover, any physical shortest path in of length less than lies in every allowed cell, and bounds the child's distance from to its new protected path.
For an edge of length , stop tracking it in an instance as soon as an endpoint has . Its final tree distance is then at most . While both endpoints remain above this threshold, either endpoint gives the bound with . If for one endpoint and the source can separate such an edge by an allowed radius, its lower entry threshold is greater than .
Proof. The allowance satisfies . Since , the two locality bounds in Lemma 4.4 give and . The cutoff is positive, so (8) also gives . The suffix of the -root path to after its last vertex on is physical and has length at most , proving . Physical Lipschitzness and the more precise source-locality bound yield
Consequently . For an earlier index , decreasing root heights give . Taking the running minimum proves the claimed comparison with .
An eligible captured endpoint would satisfy , excluding a far capture. For we have , and hence . Joining two near vertices through the source gives residual distance less than . Since , their outer balls contain the full near set, proving (13). For a shortest residual path of length less than , every vertex on the path has gauge below and is therefore captured at every allowed radius. The source belongs to the new protected path, so this retained physical path bounds the child's distance to that path.
The stopping and active bounds follow from (7). At a stop use the endpoint with ; during activity, and . If an active endpoint is near, then
The two entry gauges differ by at most . If an allowed radius can separate the edge, the larger gauge is at least , so the smaller is at least , as claimed.
Discrete choices and hypothetical captures. All conclusions hold without uniqueness of shortest paths, edge subdivision, or perturbation of lengths. A cutoff equal to a path-vertex height excludes that vertex and uses the first vertex of greater height as ; any minimizing gauge witness gives the same inequalities. All child graphs are induced and retain every original edge whose endpoints survive. The source, the eligible set, the residual, and the parent data are fixed before the radius is chosen. The lemmas therefore also apply to any hypothetical allowed-radius capture at that state, independently of the numerical rule that defines eligibility.
M. Hajiaghayi
5 Entropy bounds for the recursive construction
Fix positive rational constants satisfying
The parameters control the local allowance, core radius, far-source separation, outer-ball radius, and low-entropy cutoff, respectively. They are absolute constants, independent of the input. We give one concrete choice in Section 11. Throughout this section the physical lengths and the positive vertex measure remain fixed. Write
All unmarked logarithms are natural.
5.1 Rates and charges
The source rule. In a parent with protected path , keep
fixed throughout its carving. The candidates are the surviving vertices outside . In residual , define
The integer is computed by comparisons with powers of two. A candidate is eligible when ; among eligible candidates choose a source maximizing , with a fixed tie rule. The root threshold is the minimum initial candidate rate. A threshold doubles only when no candidate is eligible, and a child inherits twice the threshold at its own source's selection. The radius may be any . Since ,
Thus source eligibility implies . Within one parent, residual restriction can only decrease , so is nondecreasing.
Geometric consequences. Lemmas 4.4 and 4.5 imply, for every capture of by ,
Indeed gives . If the captured vertex is eligible, then
These conclusions also hold for a hypothetical allowed-radius capture at the unchanged pre-draw state. The entry gauge is nonnegative, 4-Lipschitz in physical residual distance, and zero at . Consequently lies in every allowed cell, since . If , the
M. Hajiaghayi
entire physical shortest path lies in every allowed cell. Since is on the child's protected path, this also gives .
Follow a vertex's actual capturing cells until it reaches a protected path. At its th capture, write for the parent scale, capture threshold, pre-capture residual, and parent mass. Put
A capture is far if and flagged if . Define the total charges
Theorem 5.1 (Main-charge bound). For every admissible sequence of radii,
where
These constants depend only on the parameters in (14).
5.2 Far captures and scale telescoping
Lemma 5.2 (Running minima and occupied bands). Along every vertex history, , the residuals are nested, and . For any subset of capture indices, retain its last index in each occupied dyadic band of , ordered chronologically. Then
Proof. If realizes the running minimum, monotonicity of the root heights and (16) give ; the case is immediate. The next parent is the actual cell capturing the vertex, so its next pre-capture residual is contained in . Its threshold starts at and can only increase.
Within one dyadic band, the scales differ by less than a factor six. Backwards from the last selected index, the rates decrease by factors at least two. Summing this geometric series proves the first inequality. Successive occupied bands have strictly decreasing integer indices, so . The definition of gives . Physical distances cannot decrease under induced restriction; hence . For each residue class modulo , the logarithmic mass ratios telescope to at most , since every inner ball contains . Summing these bounds proves the second inequality.
Lemma 5.3 (Far captures). For every vertex,
This estimate includes far captures that are not flagged.
M. Hajiaghayi
Proof. An eligible captured vertex satisfies . Thus every far captured vertex is ineligible. By (15), endpoint ineligibility and source eligibility imply
The fixed parent numerator cancels. Writing , we obtain
The source core lies in : its center is within of , its radius is at most , and . The parameter bounds give . The endpoint core contains . Therefore
Apply Lemma 5.2 first to all far indices and then to their representatives. The resulting constant is .
5.3 Near captures and the seed argument
Lemma 5.4 (Seed reduction). Call a capture a seed if it is the vertex's first capture, if the vertex is ineligible, or if the threshold increased inside its parent before the capture. Every seed satisfies
If , the seed is unflagged and its next capture, if any, follows an internal threshold increase. Consequently
Proof. At an ineligible seed, . Otherwise consider the last local doubling before the capture. Immediately before it, the vertex was still present and ineligible. Monotonicity of gives at capture. At the initial root, if there was no increase, the initial minimum rate is at most the vertex's current rate. This proves the first bound. The endpoint core contains , so ; now apply (15).
Suppose . Since , one has and . The strict source-scale bound and source eligibility yield . Integrality gives , and consequently
The complement of in its parent has mass : for use , and for the complement has mass zero. Thus the source core intersects . Also gives . The intersection supplies
Every vertex on a physical shortest path has entry gauge less than . The seed is therefore unflagged. The entire path is inside every allowed cell, and the source is on the new protected path, so .
M. Hajiaghayi
Every actual capture satisfies the floor , because and . If the next capture used only the inherited threshold, then
a contradiction. Thus the next capture, if present, follows an internal threshold increase and is another seed.
Every maximal nonseed run follows a seed. Its first charge is at most six times that seed charge, by threshold inheritance and the arbitrary scale reset. Every subsequent predecessor is eligible, so later charges contract by . The entire run costs at most times its preceding seed. A low-entropy seed is unflagged and cannot precede a nonseed run. Assigning the remaining flagged charges to high-entropy seeds proves the factor . At these seeds, , proving the bound with .
Proof of Theorem 5.1. Multiply Lemma 5.3 by and sum to obtain the far bound. For flagged charges apply Lemma 5.4. Far high-entropy seeds are already paid by . For each vertex, group its remaining near high-entropy seeds into occupied dyadic bands and retain the last such seed in each band. Lemma 5.2 reduces their total charge to twelve times the sum over representatives. At each representative write
The first terms, summed with vertex masses, contribute at most .
For the second terms fix an actual source cell in a parent of mass and partition it as
Write , , and . Every near representative in this cell belongs to . For , (16) gives
Since and , its outer ball contains all of . Thus, for any representative subset of ,
The last inequality follows because the derivative of is at least on . The terms sum to at most over the recursive partition: include the retained protected path as a terminal part of each parent partition and telescope the complete partition entropies. For ,
Therefore . Combining the local mass ratios, the global mass cancellation, the band factor twelve, and the seed reduction gives the stated .
M. Hajiaghayi
5.4 Credits for missed far opportunities
Theorem 5.5 (Far-opportunity credits). Fix an original edge . Follow its residual carving until first capture in each parent. Continue to a child only if both endpoints enter it, and stop at separation, a protected-path endpoint, or an earlier analytical stopping rule. At a reached source step set
Label the step by an endpoint attaining , with a fixed tie rule. It is far-labelled if and . Let be any nonnegative pre-choice weights satisfying
for every realized history. Then, separately for each fixed endpoint label,
Proof. Boundary overlap implies that some allowed radius captures . If were eligible, (17) for that hypothetical capture would contradict . Thus is ineligible, and the local gap (18) applies even if the actual radius misses both endpoints. Hypothetical capture also gives , so the source core lies in the local outer ball and the inner ball lies in the endpoint core. Use the running minimum over the entire surviving vertex history, including parents omitted below. The local certificate (19) therefore holds at every such step.
In each parent with far-labelled steps, retain the last reached one, with threshold and its pre-choice residual. Monotonicity of the threshold and the packing hypothesis imply
These retained residuals are nested: the actual first-capturing cell lies in the residual at the retained step, and each subsequent residual lies inside that child. Their rates grow by at least two, because a child starts at twice the actual first-capture threshold, which is at least the preceding retained threshold. Omitting intervening parents preserves both properties.
Apply the occupied-band argument to these retained parents. Within one band the scales differ by less than six, and the rates form a backwards geometric series, giving factor twelve. At the last representative of each band the local mass certificate applies. After occupied bands the later outer ball lies inside the earlier inner ball. The logarithms thus telescope to at most . The product of constants is .
Corollary 5.6 (Rational packed credits). Set at a source step. These weights satisfy Theorem 5.5 for every admissible radius sequence. If and , then
Proof. Guaranteed cores lie in their actual removed cells, which are disjoint in a parent. Hence
M. Hajiaghayi
Apply Theorem 5.5 separately to each fixed endpoint label of every edge. After multiplying by and summing,
Omitting stopped or separated edges only removes nonnegative terms.
6 A deterministic radius rule
We now construct a weighted low-stretch tree. Fix the parameters from (14), and let
The constant is the protected-path guarantee in Lemma 4.3; bounds the cost of separating an edge whose endpoint scales exceed its length. An auxiliary exponential density is used only to establish a local averaging inequality. The algorithm chooses a rational radius satisfying that inequality.
6.1 Fixed measure and active edges
For nonnegative demands on the original edges, put and . If , return any spanning tree. Otherwise use the fixed measure
Start with a singleton protected path at an arbitrary root, and apply the source rule of Section 5. Complete each parent carving before processing its children in source order. Each child stores twice its own source-time threshold, regardless of subsequent increases in its parent.
Maintain a list of active original demand edges. At entry to a parent , stop the analysis of an edge when
Protected-path geometry and the connected-subtree invariant bound its final tree distance by , where
Pay this cost once. An active edge separated by a selected cell is also closed. An edge whose endpoints both enter a cell passes to the child; an edge whose endpoints both remain stays in the residual list. Stopping or closing an edge changes only this list, not the graph, measure, or source rule. Complete the structural construction even when the active list is empty.
For an active edge at a source step, either endpoint gives the pre-choice bound
Here follows from the stopping rule and (14). These estimates hold in the final global tree because each recursively constructed tree is a connected subtree of it.
M. Hajiaghayi
Implementation of the weighted construction. Algorithm 1 specifies the order of all graph operations. The original graph, physical lengths, demands, baseline weights, and vertex measure are shared by its recursive calls. Only the temporary lengths, distance tables, residual vertex sets, and active-edge lists belong to an individual instance. An active-edge list is bookkeeping for the radius objective: deleting an edge from this list never deletes it from an induced graph.
Algorithm 1. WEIGHTEDTREE and its recursive procedure
Input: A connected loopless graph , rational lengths , and rational demands . Use the parameters of (14), with the concrete choice in Section 11, and .
Output: An original-edge spanning tree satisfying Theorem 6.5.
Procedure WEIGHTEDTREE.
-
Compute and . If , return any spanning tree, including the empty tree when .
-
Fix for the entire call. Choose the first vertex in the fixed order and return BUILD. The symbol requests initialization of the root threshold.
Procedure BUILD. At entry, is connected and is a physical shortest path in starting at . Both endpoints of every edge in belong to .
-
If , stop all edges in and return ; their endpoint scales are zero.
-
Set on and otherwise. Compute current root distances and a current shortest-path tree containing : fix the predecessors on and choose a tight predecessor for each other vertex, with fixed ties. Compute by a physical multi-source shortest-path computation, and set and . Keep fixed throughout this parent.
-
Remove from each with . Initialize , , an empty ordered child list, and .
-
While :
(a) Compute all-pairs distances in and . For each candidate compute
(b) If , set . If no satisfies , multiply by the smallest power of two that makes one candidate eligible. Choose an eligible maximizing , using the fixed tie rule.
(c) Call CHOOSERADIUS at this state to obtain , where . Put . On let be the first vertex with , and let be its predecessor.
(d) Append the child record
Add the original edge to . Close every active edge with exactly one endpoint in ; remove the child's active edges from the parent list. Equivalently, replace by . Replace by the induced graph .
- Process the stored child records in source order, calling BUILD on each record and adding its returned edges to . Return .
The threshold stored for a child is twice the value at its own source selection; later increases in the parent do not change that record. The loop continues even when is empty. Thus every vertex is included and every structural edge required by Lemma 4.2 is retained. Repeated threshold doublings can be batched because the residual and personal rates do not change during those doublings.
M. Hajiaghayi
All shortest-path computations use exact rational arithmetic; the all-pairs implementation is the conservative one analyzed in Theorem 7.1.
6.2 The one-state boundary identity
Fix the state before choosing a radius: the residual , source , allowance , parent mass , core mass , and threshold . Source eligibility gives . For analysis only, consider
For an active edge , put
Choose an endpoint attaining by a fixed tie rule. This label is determined before the radius and is captured whenever the step captures either endpoint.
Lemma 6.1 (Boundary identity). Conditional on the fixed state,
where is the probability that at least one endpoint enters the selected cell. If and , then
Proof. The gauge is 4-Lipschitz, so . For , direct integration gives
The formulas include , when the capture probability is one. If , the cut probability and are both zero. The first assertion now follows from . In the stated nonterminal case, , proving the last inequality.
A boundary-capable edge is far at this step if , and near otherwise. A near edge is terminal if ; the other near boundary-capable edges are nonterminal. Since , a near nonterminal edge satisfies . Let be the set of far edges and the union of far and near nonterminal edges. Both sets are fixed before choosing the radius.
6.3 Terminal windows and split entropy
For , define
with zero contributions at the endpoints.
Lemma 6.2 (Terminal credit). Let be the selected cell's mass and . For any pre-choice subset of terminal active edges,
M. Hajiaghayi
Proof. Write and . Eligibility gives
A terminal edge's first entry threshold lies above and within of . The boundary identity therefore gives
Both endpoints remain outside with probability at least . The endpoint budgets hold pointwise:
Taking expectations yields . The left side in the lemma is consequently at most
The function decreases for x > 0. Using and gives
Every allowed cell contains its core, so . Moreover and for . Hence
Substitution proves the claim.
Lemma 6.3 (Rational entropy credits). For rational , put
Then
Over all actual source cells,
Proof. By symmetry take . The inequality implies
Since and , one also has .
For any partition into masses , . To see this, normalize and let . On the function is nonnegative and concave, with , so when . If every , then . Otherwise the unique has complement , and . This is the required binary-entropy inequality.
Include each retained protected path as a terminal part of its parent's partition. The complete partition entropies telescope to the entropy of the final parts, which is at most . The omitted part credits are nonnegative; multiplication by the factor six proves the total budget.
M. Hajiaghayi
6.4 Selecting a radius
For a radius in the open support interval away from every vertex entry threshold, compute
The cell is nonempty and excludes the nonempty protected path, so its mass lies strictly between zero and .
Lemma 6.4 (Finite radius rule). Among the open intervals between consecutive distinct values of
there is one whose midpoint satisfies
Selecting the first such midpoint in increasing order uses only exact rational arithmetic and comparisons with powers of two.
Proof. Use the auxiliary exponential density for this state only. For far edges retain both terms of Lemma 6.1; for near nonterminal edges use its factor-two absorption. After multiplication by the pre-choice bound (22), all main terms are bounded by . The far remainder is at most , since .
For near terminal edges, . Their entire expected cut cost is therefore at most
by Lemma 6.2, using and . Consequently . Each function is constant on every listed open interval, and every nonempty interval has positive auxiliary probability. Thus at least one interval satisfies (23).
The portal is also constant on each interval: on the source path, , so all portal transitions occur at listed vertex thresholds. The midpoint realizes the same cell and portal. Neither an auxiliary probability nor a conditional expectation of future cost is evaluated by the algorithm.
An exact sweep for the radius. The following helper implements (23) without sampling. It receives the parent data and residual distance tables already computed by BUILD. In particular, is the fixed parent mass, not the residual mass. All events at the same threshold are processed together; tested radii are strictly between consecutive thresholds.
M. Hajiaghayi
Algorithm 2. CHOOSERADIUS
Input: The current parent and residual data , threshold , eligible source , its core mass , current distance table , and active residual edges . The fixed weights are shared.
Output: A rational radius satisfying (23), and its cell .
- Put and , and let be the root-to-p path of . For every compute
- For each , compute , , and a fixed endpoint attaining . Set
Form the fixed sets
Precompute
- Sort the distinct values in as . Record each vertex's threshold group. Using these indices, bucket the vertex mass increments and the active-edge entry and exit events at interior thresholds in one pass; the update sums below are the resulting bucket totals. For the first midpoint , initialize
- For , in increasing order, set and compute
If , return . Otherwise, if another interval remains, process all events at together:
Lemma 6.4 guarantees that the helper returns. The cell always has , so the integer defining exists. An edge with equal entry thresholds contributes cancelling events to , and has . Each vertex enters once and each active edge has at most two events. Consequently, once the gauges have been computed, sorting and sweeping use arithmetic operations. Only the actual entry thresholds are sorted; no rational grid is enumerated. The portal chosen by BUILD is constant on the returned interval.
Theorem 6.5 (Deterministic weighted spanning-tree bound). For positive physical lengths and
M. Hajiaghayi
nonnegative edge demands, the source rule and finite radius rule return a spanning tree satisfying
where
The constant depends only on the fixed admissible parameters. For rational input, the algorithm runs in deterministic polynomial time in the standard Turing model.
Proof. Every edge is paid at its first small-scale parent or its first separation. These events exhaust its finite history, because the final retained pieces are protected paths, on which endpoint scales are zero. The first type contributes at most , and the second contributes at most .
At a selected radius, every main term in is assigned to an endpoint actually captured by that source. A far term is covered by . For a near term, the stopping rule implies
Boundary overlap gives . Thus the capture is flagged and covered by . At any capture of a vertex, all assigned incident baseline weights sum to at most its fixed -mass. Hence
Corollary 5.6 gives , including missed far opportunities, and Lemma 6.3 gives . Summing (23) proves the first bound. All three credit budgets hold for every admissible trajectory. Finally and imply the stated value of . Section 7 proves the running-time bound.
7 Running time
Theorem 7.1 (Polynomial construction with exact dyadic eligibility). Let the positive physical lengths and nonnegative edge demands be rational, and let be their total binary input length, including the graph encoding. Use fixed rational parameters satisfying (14), the fixed measure , and the exact rules
Here ; if , any spanning tree suffices. By Lemma 6.4, a suitable interval midpoint can be found using only exact rational arithmetic and integer comparisons. The whole weighted-tree construction can be implemented in
arithmetic operations on numbers with bits. A conservative running-time bound is therefore
The bound is not optimized. Numerical aspect ratios enter only through their binary encodings.
M. Hajiaghayi
Proof. Let be a common denominator of the original physical lengths, obtained by multiplying their denominators. Its bit length is . Every current length is either an original physical length or half that length: the construction never repeatedly halves an inherited edge. Thus current shortest-path distances and heights are on the grid , and physical distances are on the grid . Every shortest path is simple and has at most edges, so their numerators have bits.
Write the fixed constants as and with positive integers . Then is on the grid , a physical core radius is on the grid , and vertex-entry gauges are on the grid . The endpoints and all entry gauges in the allowed interval are therefore on the grid . Their interval midpoints can be taken on the grid . The algorithm enumerates only the at most intervals defined by the actual gauges; it never enumerates the grid.
The fixed baseline weights and all fixed vertex masses have a common denominator of bits. Every subset mass has the same encoding bound. Since
every candidate satisfies
The ceiling of the base-two logarithm of a positive rational is found exactly: use the difference of the bit lengths of the positive integers to obtain one of the two possible integer values, and resolve the choice by comparing with the appropriate power-of-two multiple of . This uses integer shifts and one comparison, and evaluates no logarithm.
Let denote the smallest and largest physical lengths. For all personal rates, in every recursive instance,
The initial threshold is one of the root's rational personal rates. All later thresholds are dyadic multiples of it. An internal doubling can occur only below , and its resulting value is less than . There are at most successive inheritances on a branch, so every threshold is at most . Its exponent relative to the initial threshold is
Thus thresholds have -bit encodings. When a residual has no eligible source, all consecutive doublings can be performed at once: determine the smallest dyadic multiple of the current threshold at least the minimum personal rate. The same bit-length comparison computes this integer exponent exactly. This produces precisely the threshold that consecutive doublings would have produced.
Every selected source becomes part of its child's protected path. That path is excluded from all subsequent source cells. Hence a vertex is selected as a source at most once; there are at most source selections and at most recursive instances.
At each removal, recompute all-pairs physical distances and, if desired, all-pairs current distances by Floyd–Warshall. This uses arithmetic operations per residual and provides all core masses in another operations. All exact dyadic rates and the next source can then be
M. Hajiaghayi
determined in operations. One can instead compute the chosen source's gauge by a multi-source shortest-path computation; the conservative all-pairs bound already suffices.
Sort the at most entry gauges and sweep the open intervals. Maintain the cell mass, the cut-cost sum, and the capture-credit sum; each vertex enters once and each active edge has at most two entry events. The far credit is constant during this sweep. The rational binary-entropy majorant is computed from the current cell mass by the same exact power-of-two comparison. The sweep costs arithmetic operations. Source-path portal changes are among these entry thresholds, so a selected midpoint determines both the cell and its portal.
All local cost and credit expressions use subset masses, the fixed baseline weights, physical distances, and the one current threshold. Their encoding lengths are . For example, the far credit's extra denominator is the square of the current parent mass; this contributes only bits. Parent-dependent credits are not accumulated by the algorithm, so their denominators do not multiply along a recursive chain. Summing the operation counts over at most removals proves the displayed arithmetic bound. Exact rational arithmetic with a conservative cubic time per arithmetic operation gives the stated running-time bound.
Composition with the rational master. Let be the encoding length of the fixed metric or capacity instance, and fix rational . The master in Theorem 8.1, applied in dimension , uses
oracle calls. Its per-coordinate query encoding is uniformly
For distances the oracle demands are ; for capacities the auxiliary lengths are and the demands are . In either case the weighted-oracle input has total encoding length . In the capacity case every auxiliary length is strictly positive because every master query coordinate is strictly positive.
Consequently the total time spent in weighted-tree oracle calls is at most
Add the polynomial master cost proved in Theorem 8.1, and the optional exact support-reduction cost. Each returned tree's fixed stretch or congestion vector can be computed in arithmetic operations using tree depths, lowest common ancestors, and subtree sums; its entries have bits, independently of the changing oracle query. This yields an explicit deterministic polynomial-time construction for fixed , and a polynomial dependence on when accuracy is part of the input. The displayed bound establishes polynomial running time; improving it to near-linear time would require additional algorithmic work.
8 Constructing an explicit distribution
The response-oracle approach of [CCG+98, Rác08, AF09, PST95, AHK12] converts a weighted tree oracle to an explicit distribution. This conversion can preserve its approximation factor up to any prescribed multiplicative loss. The number of oracle calls need not depend on the numerical size of the response bound, or on the aspect ratio of the graph data. The normalization of the stopping horizon is essential to this statement.
M. Hajiaghayi
Theorem 8.1 (Rational adaptive-step master). Let , let be a finite family of nonnegative rational vectors, and let be rational. Suppose that for every strictly positive rational probability vector an oracle returns satisfying
For every rational , a deterministic algorithm uses at most
oracle calls and returns rational probabilities and oracle outputs such that
No exponential or logarithmic function is evaluated by the algorithm. Its oracle queries have a uniform polynomial encoding bound in , , and the encoding of , independent of the numerical magnitude and encoding length of .
If the oracle runs in polynomial time in the fixed input and the query encoding, and its returned vectors have polynomial encoding length in these parameters, then the entire construction has polynomial running time in the fixed input, , and the encodings of and . In particular, numerical aspect ratios impose no pseudopolynomial dependence.
Proof. Put
The integer is computed by comparisons with powers of two. All other quantities in this display are rational. Initialize and . While , form
and obtain a response from the oracle. Write and choose
Record the pair and update and . Every coordinate increment lies in .
For analysis only, define . Convexity of on gives . Moreover, , so
It follows that
M. Hajiaghayi
Induction therefore gives, at every reached state,
Here are explicit elementary estimates for the two coefficients. Since ,
Also , and hence
The penultimate inequality follows by multiplying its positive denominator; the difference of the resulting right and left sides is . Since and , all coordinates satisfy
Every nonfinal iteration has and , and raises at least one coordinate of by exactly one. Thus it raises by at least one. This sum never exceeds ; there are at most nonfinal iterations. The algorithm consequently terminates within the asserted call bound. At termination the recorded coefficients sum to one, and their mean vector is . Finally,
The remaining assertions follow from the running-time analysis below.
Uniform query encodings. Write in lowest terms and let bound the bit lengths of and . At every iteration set and . The query can be computed using the positive integers
Each coordinate of p has bit length
This bound contains neither a previous query size nor a previous oracle output size. In particular, the polynomial-time oracle hypothesis is not being iterated through a potentially growing sequence of polynomial bounds. Powers of P and Q through can be precomputed once, after which each query uses integer arithmetic operations.
M. Hajiaghayi
Accumulated rational encodings and an explicit master bound. Let be a uniform bound on the numerator and denominator lengths of the returned vector entries, and let be the encoding length of . Every nonfinal step size is the reciprocal of one returned entry and has bits. The final step is minus the preceding sum of step sizes. A common-denominator representation consequently bounds the encoding lengths of all accumulated times, load coordinates, and output probabilities by
For example, before the final iteration each load coordinate is a sum of at most products of two -bit rationals. The last iteration adds one product involving the final step size; its denominator adds at most the same total bound. The normalization by adds bits. The magnitudes of the accumulated load coordinates are bounded by as proved above.
Thus, putting
the master needs arithmetic operations on numbers of at most bits. With conservative elementary integer arithmetic, its additional running time is , besides the oracle invocations and the computation of returned payoff vectors. This is an explicit polynomial bound; faster arithmetic can improve it. The dependence on is through , not its numerical value. The same uniform query bound shows that a polynomial-time oracle has a uniform polynomial response bound even if this bound is not specified separately in advance.
Why the horizon may be smaller than one. The proof only requires ; there is no lower bound on its numerical value. Imposing would unnecessarily introduce a dependence on the magnitude of into the maximum exponent and the call count. Choosing proportional to cancels that dependence without changing the normalized output distribution.
Corollary 8.2 (Support at most without increasing the mean). Given the list returned by Theorem 8.1, an elementary procedure using only exact rational linear algebra finds a distribution supported on at most of its vectors whose mean is no larger in any coordinate. Stopping one step earlier preserves the entire mean vector and uses at most vectors. Both procedures have polynomial running time; no linear program or additional oracle call is needed.
Proof. First, while more than coefficients are positive, find an integer relation on any supported columns. It has both signs. With , replace by . This keeps all probabilities nonnegative, preserves their sum and their full mean, and removes a supported vector. The columns never change, so rational Gaussian elimination gives integer relations of uniformly polynomial bit length. If and attains the minimum, the shared-denominator update
adds at most bits() to the denominator length. The nonnegative new numerators sum to , so their lengths are bounded by the same quantity. There are at most elimination steps, proving the stated bit bound for exact mean preservation.
If at most coefficients remain, we are done. Otherwise there are exactly positive coefficients. If their augmented columns are dependent, apply the same elimination once more. If they are independent, solve the nonsingular rational system
M. Hajiaghayi
The vector is nonzero and has both signs because its entries sum to zero. Put
All new probabilities are nonnegative and sum to one, at least one becomes zero, and the mean changes by . Thus every coordinate decreases and at most vectors remain. Because the probabilities remain a convex combination of nonnegative vectors, this step cannot make any mean coordinate negative.
For completeness, the final system has a polynomial-bit rational solution by determinant bounds on its unchanged input columns. Clearing its denominators gives an integer vector and a positive integer such that and . If minimizes over negative , the shared-denominator update for this last move is
Its numerators are nonnegative and sum to . It therefore has the same polynomial bit-growth bound as an ordinary elimination.
Constructing the final probabilities. Algorithm 3 gives the adaptive mixture and support reduction. Each oracle response contains a tree and its payoff vector; the final loop changes only their probabilities.
Algorithm 3. Rational mixture and support reduction
Input: A dimension , rational parameters and , and an exact oracle which, for each strictly positive rational probability vector , returns with and .
Output: Trees and positive rational probabilities with support at most , , and coordinatewise.
-
Compute , , and . Write in lowest terms, set , and precompute the integer powers for . Initialize , , and an empty response list.
-
While : compute
and obtain from the oracle. Put and set if , or otherwise. Append to the list and update and .
- Coalesce identical pairs , adding their probabilities. While more than positive coefficients remain, let have the supported augmented columns .
(a) If the columns are dependent, find a nonzero integer vector with , supported on at most columns. Set and replace by .
(b) Otherwise there are exactly columns. Solve , set , and replace by .
(c) Delete every zero coefficient and its response.
- Return the remaining pairs .
The integer weights in Step 2 give exactly the normalized prices . Theorem 8.1 gives ; the precomputed powers therefore give arithmetic operations per query, as in the
M. Hajiaghayi
uniform-encoding analysis. For either graph application take and the response bound from Section 11. For distances, the oracle calls WEIGHTEDTREE() and returns the stretch vector of (25). For capacities, it calls WEIGHTEDTREE() and returns the fundamental-cut congestion vector of (26). These payoffs are evaluated against the fixed original length or capacity vector, respectively. Each weighted-tree call constructs its own measure , which remains fixed within that call. The output probabilities define or ; in the latter case assign every supported tree edge its fundamental-cut capacity from (27). The call bound and polynomial running time follow from Theorem 8.1; the last loop is precisely the rational support reduction of Corollary 8.2.
9 Fundamental-cut capacities and routing
Theorem 6.5 supplies the weighted-tree hypothesis used below. We state the reduction for a generic response bound . The distance-capacity equivalence is the family-preserving framework of Andersen-Feige [AF09], following Räcke [Räck08]; we reproduce the identities and routing argument to specify all quantifiers.
9.1 The weighted hypothesis and the two payoff vectors
Let be a finite connected undirected graph, with and . Loops may be deleted. Parallel edges cause no problem; a reduction to the simple-graph weighted hypothesis is given below. Write for the finite collection of its actual spanning trees. The weighted hypothesis with parameter is the following assertion:
Theorem 6.5 gives a deterministic oracle for this hypothesis with .
For a tree and original edge , let be the unique path in . Set
For fixed original lengths the stretch payoff is
For fixed original capacities the load and congestion payoffs are
In particular if . If and is either component of , then
We equip the spanning-tree topology with capacities for . The tree uses original vertices and edges, while its capacities are the capacities of their fundamental cuts; in general differs from the original . The probabilistic congestion parameter is , with the expectation taken before the maximum. A bound on this parameter need not bound for a single sampled tree. The routing guarantee below applies to the fixed fractional mixture of tree paths.
M. Hajiaghayi
Lemma 9.1 (The weighted distance-capacity identity). For every strictly positive edge-price vector and every tree , the choices
satisfy
For fixed lengths , the alternative choices satisfy
Proof. Exchange the two finite sums:
The second identity in (28) and both identities in (29) are direct substitutions. No tree transformation, Steiner vertex, or change of the admissible family occurs.
9.2 Exact existential bounds
Theorem 9.2 (Two distributions on the same family of spanning trees). Assume (24). For every fixed there is a distribution on such that
Every sampled tree also satisfies . For every fixed there is a distribution on the same family such that
The two distributions are allowed to differ.
Proof. For the distance assertion, let be any probability vector on . Use in (24). This gives . The finite minimax theorem produces a distribution satisfying for every edge. Summing the tree triangle inequality along a fixed shortest graph path proves the all-pairs assertion. Each tree path is a graph path with the original lengths, which proves domination.
For capacities, first suppose for every edge and use Lemma 9.1 with . Then . To allow zero prices, for any use . Nonnegativity gives
Let . The left side is fixed, so it is at most . Finite minimax now gives for all , which is (30).
M. Hajiaghayi
9.3 All-cut domination and the full routing statement
Proposition 9.3 (Every tree dominates all cuts). For every spanning-tree equipped with (27), and every ,
Any distribution with for every original edge also satisfies
Proof. By interchanging finite sums,
If crosses , its tree path crosses at least once. This proves (31); paths for other edges may contribute additional nonnegative terms. For the upper bound,
where non-tree edges contribute zero. Take expectations and apply the individual edge-load bounds.
Corollary 9.4 (Cuts of prescribed cardinality). Given the capacity distribution of Theorem 1.1, for every one can find in polynomial time a set of exactly vertices whose graph-cut capacity is at most times the minimum possible capacity of such a set. In particular, for even this gives an approximation for minimum bisection with exact balance.
Proof. For each supported tree , compute a minimum-capacity tree cut with . Return the candidate with the smallest original graph-cut capacity. If is an optimal graph cut of cardinality , the expectation bound implies that some supported tree satisfies
For that tree, domination and the definition of give
It remains to describe the tree computation.
Root arbitrarily. The state is the minimum cut capacity inside the subtree at , when exactly of its vertices belong to the chosen set and has membership . Process the children of in any fixed order. Before processing them, set if , and otherwise. Then use the knapsack recurrence
with invalid counts assigned , and set . The optimum at the root is
Storing a minimizing choice in each state recovers . The computation uses at most rational arithmetic operations per tree. Evaluating its graph cut takes more operations. The rational capacities have polynomial encodings, and the support has at most trees, so the complete procedure runs in polynomial time.
M. Hajiaghayi
Räcke [Räc08] established the logarithmic approximation for minimum bisection using hierarchical decomposition trees and a dynamic program that counts terminals at the leaves. The corollary recovers that approximation from spanning trees; here the cardinality state counts the original graph vertices directly.
Proposition 9.5 (Canonical capacities are the smallest cut dominator). Fix an actual spanning-tree topology . A nonnegative capacity assignment on its edges dominates every cut of if and only if
Thus the fundamental-cut assignment is the coordinatewise smallest capacity assignment on that topology with all-cut domination.
Proof. For necessity, the fundamental cut crosses exactly one edge of , namely . Its domination inequality is precisely the displayed inequality. For sufficiency, the displayed inequalities give for every cut ; Proposition 9.3 supplies .
For precision, a demand vector has one nonnegative coordinate for each unordered pair of distinct vertices. Let be the set of such vectors routable in by a fractional multicommodity flow of congestion at most one. Let be its minimum possible congestion. For a cut , write
Every flow routing at congestion satisfies the necessary cut inequalities .
Theorem 9.6 (Tree-flow mixtures and an oblivious routing operator). Suppose a distribution satisfies for all . Then the following assertions hold.
- For every tree and every demand vector ,
In particular .
- For arbitrary demand vectors , one for each supported tree, the averaged vector is routable in at congestion at most . Consequently, with the sum denoting the weighted Minkowski sum,
- Route each pair by putting fraction of its demand on . This defines a fixed fractional oblivious routing operator, independent of , whose congestion for every is at most .
Proof. Unique path routing in a tree puts load exactly on its edge . If can be routed in at congestion , the cut inequality for gives
Taking the minimum possible proves the first assertion.
M. Hajiaghayi
For the second assertion, route on the original paths of and scale that flow by . Its load on an original edge is at most . Summing the flows gives the required averaged demand vector and edge load at most . Taking for all also proves the first inclusion in (33).
Finally, for a fixed and , the first assertion bounds every tree's routing load by . The second argument then gives averaged edge load at most . All pair paths and mixture coefficients were fixed before was specified, as required for oblivious routing.
These are statements about one fixed distribution working for every cut and demand vector. The cut upper bound is an expectation for each fixed cut. It does not assert that one sampled tree simultaneously has distortion on all cuts. A demand feasible in a single supported tree need not be feasible in at congestion ; the weighted mixture statement in Theorem 9.6 is the relevant converse.
Proof of Theorem 1.1. Apply Theorem 6.5 with bound . For the distance instance, a positive master query uses and returns the stretch vector . For the capacity instance use and , which returns the congestion vector by Lemma 9.1. Both queries have baseline one. Theorem 8.1 therefore constructs an explicit rational distribution whose every coordinate is at most . Corollary 8.2 reduces its support to at most without increasing any expected coordinate.
For distances, summing the tree triangle inequality along a fixed shortest graph path gives the all-pairs bound. Every tree path is an original graph path, so metric domination is deterministic. For capacities, Proposition 9.3 and Theorem 9.6 give the cut and routing conclusions with the same factor. All graph payoffs are sums of fixed input rationals divided by a fixed positive input rational. Section 7 and the master's bit analysis give the claimed running time, probabilities, and call bound. For positive real input, approximate the lengths or capacities by positive rationals and pass to a convergent subsequence of distributions on the finite tree family. There are only finitely many supports of size at most , so the limit retains this support bound. All distance and load inequalities are continuous in the input.
Computing all fundamental-cut capacities. Root the returned tree and preprocess lowest common ancestors. For every graph edge , add at and , and subtract at their lowest common ancestor. Taking subtree sums makes the sum below each nonroot vertex equal to the capacity of its parent edge's fundamental cut. This computes all tree capacities in arithmetic operations.
Parallel edges and zero capacities. For parallel edges with common endpoints, retain one edge of minimum auxiliary length and replace their demands by their sum. The weighted tree cost is unchanged, while its baseline weakly decreases. Therefore a weighted theorem proved for simple graphs extends to multigraphs with the same constant, and the chosen representative is an original edge. For nonnegative capacities, first form the connected components of the positive-capacity subgraph. Run the capacity construction inside each such component and join those component trees by a fixed spanning tree of zero-capacity edges in the quotient. A joining edge has fundamental-cut capacity zero. A joint oracle call applies the weighted oracle separately to every positive component; their weighted costs add. The rational master on the coordinates of positive-capacity edges consequently produces a polynomial-support distribution for the whole
M. Hajiaghayi
graph, without taking an exponentially large product of component supports. The all-zero-capacity case is immediate. A one-vertex graph is also immediate.
10 Lower bounds
We first prove logarithmic lower bounds on diamonds, matching the three approximation guarantees. We then prove the support tradeoff and explain why the distance and capacity distributions may differ. None of these lower bounds uses the weighted upper theorem.
10.1 Diamond graphs force logarithmic stretch and cut distortion
The logarithmic order is already necessary on unweighted series-parallel graphs. Gupta, Newman, Rabinovich, and Sinclair [GNRS04] proved this for probabilistic approximation by arbitrary dominating tree metrics, using recursive diamond graphs. The argument below is a direct proof for spanning trees. Its uniform edge-average form also proves the corresponding lower bounds for fundamental-cut capacities.
Let consist of one edge with designated terminals. For , form from four disjoint copies of by putting two copies in series on each of two parallel branches. All edges of the resulting graph have length one and capacity one. Thus
The canonical copies of inside will be called blocks of height ; a block at depth has height . Only the two terminals of a block can have incident edges outside that block.

closed parent: one open child

open parent: two open children
Figure 2: The recursive diamond and the component count. Each side represents a height- child block of a height-h diamond. A solid side denotes a connected restriction of the spanning tree; a dashed side denotes a restriction with two components, one at each child terminal. A parent with c components has exactly c open children. The two drawings show the resulting forests on the four corner vertices.
Proposition 10.1 (Uniform average stretch on diamonds). For every and every spanning tree ,
Proof. We first record two features of a height-h block with terminals . Give the two terminals of integer coordinates 0 and . Recursively, when the terminals of a height-h block have coordinates and , give both of its intermediate branch vertices coordinate , and continue within the four children. This defines a single coordinate on every vertex of . Every
M. Hajiaghayi
original edge changes the coordinate by exactly one. Consequently every path in the whole graph between and has length at least , even if it leaves .
The block also contains edge-disjoint paths between its terminals. This follows by induction: each pair of series children supplies paths, by concatenating their edge-disjoint path families at the common terminal; the two parallel branches are edge-disjoint. Hence every cut inside separating its terminals contains at least edges.
Fix , and let be the forest whose vertices are those of and whose edges are . Every component of contains a terminal of . Indeed, a component with neither terminal has no incident edge leaving , and has no tree edge to another component inside , so it would be disconnected from the rest of . It follows that has either one or two components. Call closed in the first case and open in the second. An open block has one terminal in each of its two components.
Suppose a nonleaf block has components in its restricted forest and open children. Each closed child contributes tree edges, and each open child contributes . Since , counting edges gives
The same forest has edges. Thus : a closed parent has one open child, and an open parent has two (Figure 2).
Let denote the number of open blocks at depth . The root is closed, and there are blocks at depth . The preceding count therefore gives
For each open block of height , consider the cut between the two components of and charge to every edge of crossing that cut. There are at least such edges, so this block creates total charge at least .
If receives this charge, its endpoints lie in different components of . The unique -path from to must pass through both terminals of : the only way out of either component is through its own terminal. The integer coordinate just constructed shows that the terminal-to-terminal part of this path has length at least . In particular, .
The blocks containing a fixed original edge form a single ancestor chain, with one block of each height. The charges received by that edge thus have distinct values among . Their sum is less than twice the largest received charge, and that largest charge is at most . (An edge receiving no charge contributes zero.) Writing for the total charge gives
Dividing by two proves the first inequality. The second follows because their difference is .
Corollary 10.2 (Three logarithmic lower bounds on the same diamonds). Let be any distribution over spanning trees of , with unit original edge lengths and capacities and with the fundamental-cut
M. Hajiaghayi
capacities defined above. Then
In particular, expected stretch, maximum expected congestion, and maximum expected cut distortion each require order . The cut lower bound already holds on singleton cuts.
Proof. For the metric assertion, for every original edge. Average the proposition over , and then average over the original edges.
For capacities, an original edge crosses the fundamental cut of exactly when the -path from to uses . Double counting gives the pointwise identity
All . Averaging over and then over proves the congestion assertion.
Finally, sum the singleton tree cuts. Every selected tree edge is counted at its two endpoints, so
Therefore the degree-weighted average of the expected singleton-cut ratios is
At least one ratio is at least this average. This argument does not require bounded degrees. Since , we have .
The witness edge or singleton vertex may depend on the distribution. The last two assertions use the prescribed fundamental-cut capacities on spanning trees; they do not assert a lower bound for arbitrary capacities on arbitrary abstract trees.
10.2 A sharp support tradeoff for fundamental-cut congestion
Let and be disjoint sets of vertices. Put a star on and a star on , assign capacity to every star edge, and add all edges between and with capacity one. This is the graph of Theorem 1.2; it has vertices and edges. For a cross edge , its canonical tree is
Figure 3 illustrates the construction.
Proof of Theorem 1.2. Every atom has small probability. Every spanning tree contains a cross edge. Every cut separating the endpoints of a cross edge either splits a heavy star, and therefore crosses
M. Hajiaghayi

Figure 3: The support lower bound. All cross edges are present; only representative leaves and cross edges are drawn. A canonical tree retains both heavy stars and one bridge. That bridge carries the capacity- fundamental cut . A mixture spreads this load among different original cross edges.
an edge of capacity , or is the cut , whose capacity is also . Thus each tree has a cross edge with . If the tree has probability , nonnegativity gives
A congestion bound therefore requires for every tree, and hence .
Congestion approaching one. Choose a canonical tree by choosing its bridge. Its bridge has congestion . Let be a heavy spoke with leaf , and let be the probability that the bridge's endpoint is . If the endpoint is elsewhere, the fundamental-cut capacity of is . If the endpoint is , it is . Consequently
The identical formula holds on side with the column marginal. The uniform distribution over all bridges has every row and column marginal equal to . Every cross edge then has expected congestion one, and every heavy spoke has expected congestion
For any capacitated graph and every spanning tree,
Taking expectations shows that maximum expected congestion is always at least one. The optimum on is therefore between 1 and , and tends to one.
Attaining the support lower bound. Fix and put . Choose distinct cross edges whose degrees on either side are at most . To construct them, decompose into its cyclic perfect matchings, take whole matchings, and then take the required number of edges from the next matching. Use the corresponding canonical trees uniformly.
Every selected cross edge has expected congestion . Each row and column marginal is at most . By (34), every spoke has expected congestion at most
M. Hajiaghayi
The first inequality uses and ; the last is equivalent to . Together with the atom bound, this proves the exact support tradeoff.
Cut and metric approximation with one tree. Fix any canonical tree and equip it with fundamental-cut capacities. Each heavy spoke has tree capacity at most , and the bridge has tree capacity . For a cut , let be the number of heavy spokes crossing it. If , the cut is trivial or is , and its tree and graph capacities are equal. If , then
The reverse inequality follows from fundamental-cut domination. Thus one canonical tree gives factor-three approximation of every cut.
For the metric assertion, assign unit length to every edge and choose the bridge joining the two star centers. The resulting spanning tree has diameter three. Distinct vertices are at graph distance at least one, so its distance distortion is at most three.
Corollary 10.3 (Nearly trees for near-unit congestion). For the family , congestion at most is attainable, and every distribution with congestion at most has support at least
The same lower bound applies to an optimal-congestion distribution.
Proof. Here and . Apply Theorem 1.2 with and use
Since , the bound is . The optimum congestion is at most , so every optimal distribution also satisfies the premise.
The support lower bound uses the guarantee on each original edge. It therefore distinguishes that guarantee from expected cut approximation. It also separates the two orders of maximum and expectation: every tree of has congestion at least , whereas one fixed mixture has maximum expected congestion .
10.3 Why a single distribution need not achieve both guarantees
The preceding results construct a distance distribution for a fixed length vector and a capacity distribution for a fixed capacity vector. One cannot require the same distribution to achieve both logarithmic guarantees for arbitrary prescribed data. The next general family is the obstruction in Andersen-Feige [AF09, Section 3.4].
Proposition 10.4 (A simultaneous stretch-congestion obstruction). For every integer there is a graph on vertices, with unit lengths and unit capacities, such that every distribution over its spanning trees has either maximum expected stretch or maximum expected congestion at least .
M. Hajiaghayi
Proof. Take internally vertex-disjoint paths, each consisting of edges, and add the direct edge . Write . If , the unique tree path between and is one complete long path and has length ; if it has length one. Thus
If , exactly one edge is missing from each long path: two missing edges on a path would disconnect an internal segment, and no missing edge would leave a cycle with . Each of those missing edges has its tree path traverse , in addition to the path of itself. Hence in this case. If , its load as a graph edge is zero. Therefore
When the expected stretch is at least ; when the expected congestion is at least . This proves the assertion for every and every distribution.
11 Choice of parameters
Fix
We verify the sufficient conditions in (14): , , , , and . These are the only restrictions on the five parameters used in the entropy and radius analysis.
For clarity, their roles can also be checked directly. First, implies
These inequalities justify geometric summation of nonseed runs, the uniform source-scale comparison, and the ineligibility of far captures. Second, gives
Thus source cores lie in every allowed cell, low-entropy seeds are unflagged, and their inherited successor charges contradict the capture floor. Third, makes the far mass gap positive. The condition contains each cell's near set in the outer ball of any represented near vertex. It also contains far source cores, since . Finally gives at a low-entropy seed, while the complement of its inner ball has mass strictly below . Source eligibility and integrality give a source core of mass at least , so the two cores intersect.
The resulting entropy stride and constants are
Indeed . Using , we have
M. Hajiaghayi
Consequently
The local constants are determined by geometry: and . Using and the preceding bounds in Theorem 6.5 gives
We may therefore take in Theorem 1.1. The following rational integer-valued response bound is valid:
The large displayed constant is used only to make the exact rational master fully explicit; no numerical optimization is needed for the guarantee.
AI Use Statement. This work resulted from extensive interaction between the author and OpenAI Astra, with the author providing suggestions and critically checking Astra's responses through iterative exchanges. OpenAI Astra was also used in writing and revising the manuscript through detailed prompts from the author, with Gemini Argon assisting in some parts. The author directed the process and evaluated the proposed ideas and arguments. A repository link for Lean files formalizing the main theorems are available on Github at https://github.com/hajiaghayi/Spanning-Tree-Embedding/blob/8dbf5dc3abc88ae1bc7074ff58482eab1aea73e8/SpanningTreeDecomposition.zip.
References
[AA97] Baruch Awerbuch and Yossi Azar. Buy-at-bulk network design. In Proceedings of the 38th Annual Symposium on Foundations of Computer Science (FOCS), pages 542–547. IEEE Computer Society, 1997. https://doi.org/10.1109/SFCS.1997.646143.
[ABN08] Ittai Abraham, Yair Bartal, and Ofer Neiman. Nearly tight low stretch spanning trees. In Proceedings of the 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 781–790. IEEE Computer Society, 2008. https://doi.org/10.1109/FOCS.2008.62.
[AF09] Reid Andersen and Uriel Feige. Interchanging distance and capacity in probabilistic mappings, 2009. arXiv:0907.3631. https://arxiv.org/abs/0907.3631.
[AHK12] Sanjeev Arora, Elad Hazan, and Satyen Kale. The multiplicative weights update method: A meta-algorithm and applications. Theory of Computing, 8:121–164, 2012. https://doi.org/10.4086/toc.2012.v008a006.
[AKPW92] Noga Alon, Richard M. Karp, David Peleg, and Douglas West. A graph-theoretic game and its application to the k-server problem (extended abstract). In Lyle A. McGeoch and Daniel D. Sleator, editors, On-line Algorithms, volume 7 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 1–10. American Mathematical Society, 1992. Proceedings of the DIMACS Workshop on On-Line Algorithms, Rutgers University, February 11–13, 1991. https://archive.dimacs.rutgers.edu/archive/Volumes/Vol07.html.
M. Hajiaghayi
[AKPW95] Noga Alon, Richard M. Karp, David Peleg, and Douglas West. A graph-theoretic game and its application to the k-server problem. SIAM Journal on Computing, 24(1):78–100, 1995. https://doi.org/10.1137/S0097539792224474.
[AN19] Ittai Abraham and Ofer Neiman. Using petal-decompositions to build a low stretch spanning tree. SIAM Journal on Computing, 48(2):227–248, 2019. Conference version in STOC 2012. https://doi.org/10.1137/17M1115575.
[Bar96] Yair Bartal. Probabilistic approximation of metric spaces and its algorithmic applications. In Proceedings of the 37th Annual Symposium on Foundations of Computer Science (FOCS), pages 184–193. IEEE Computer Society, 1996. https://doi.org/10.1109/SFCS.1996.548477.
[Bar98] Yair Bartal. On approximating arbitrary metrics by tree metrics. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing (STOC), pages 161–168. ACM, 1998. https://doi.org/10.1145/276698.276725.
[CCG+98] Moses Charikar, Chandra Chekuri, Ashish Goel, Sudipto Guha, and Serge Plotkin. Approximating a finite metric by a small number of tree metrics. In Proceedings of the 39th Annual Symposium on Foundations of Computer Science (FOCS), pages 379–388. IEEE Computer Society, 1998. https://doi.org/10.1109/SFCS.1998.743488.
[CKR05] Gruia Calinescu, Howard Karloff, and Yuval Rabani. Approximation algorithms for the 0-extension problem. SIAM Journal on Computing, 34(2):358–372, 2005. Conference version in SODA 2001. https://doi.org/10.1137/S0097539701395978.
[DHPG+26] Ioannis Dorkofikis, Bernhard Haeupler, Maximilian Probst Gutenberg, Antti Roeyskoe, Aurelio Sulser, and Gernot Zöcklein. Low-stretch spanning trees via smoothed analysis of Dijkstra's algorithm, 2026. arXiv:2609.35136. https://arxiv.org/abs/2609.35136.
[EEST08] Michael Elkin, Yuval Emek, Daniel A. Spielman, and Shang-Hua Teng. Lower-stretch spanning trees. SIAM Journal on Computing, 38(2):608–628, 2008. Conference version in STOC 2005. https://doi.org/10.1137/050641661.
[EP09] Yuval Emek and David Peleg. A tight upper bound on the probabilistic embedding of series-parallel graphs. SIAM Journal on Discrete Mathematics, 23(4):1827–1841, 2009. Conference version in SODA 2006. https://doi.org/10.1137/090745441.
[FM03] Amos Fiat and Manor Mendel. Better algorithms for unfair metrical task systems and applications. SIAM Journal on Computing, 32(6):1403–1422, 2003. Conference version in STOC 2000. https://doi.org/10.1137/S0097539700376159.
[FRT04] Jittat Fakcharoenphol, Satish Rao, and Kunal Talwar. A tight bound on approximating arbitrary metrics by tree metrics. Journal of Computer and System Sciences, 69(3):485–497, 2004. Conference version in STOC 2003. https://doi.org/10.1016/j.jcss.2004.04.011.
[GKR00] Naveen Garg, Goran Konjevod, and R. Ravi. A polylogarithmic approximation algorithm for the group Steiner tree problem. Journal of Algorithms, 37(1):66–84, 2000. Conference version in SODA 1998. https://doi.org/10.1006/jagm.2000.1096.
M. Hajiaghayi
[GNRS04] Anupam Gupta, Ilan Newman, Yuri Rabinovich, and Alistair Sinclair. Cuts, trees and -embeddings of graphs. Combinatorica, 24(2):233–269, 2004. Conference version in FOCS 1999. https://doi.org/10.1007/s00493-004-0015-x.
[KPGR25] Rasmus Kyng, Maximilian Probst Gutenberg, and Tim Rieder. Random-shift revisited: Tight approximations for tree embeddings and -oblivious routings. In Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS). IEEE Computer Society, 2025. Full version: https://arxiv.org/abs/2510.09124.
[KT02] Jon Kleinberg and Éva Tardos. Approximation algorithms for classification problems with pairwise relationships: Metric labeling and Markov random fields. Journal of the ACM, 49(5):616–639, 2002. Conference version in FOCS 1999. https://www.cs.cornell.edu/info/people/kleinber/focs99-mrf.pdf.
[PST95] Serge A. Plotkin, David B. Shmoys, and Éva Tardos. Fast approximation algorithms for fractional packing and covering problems. Mathematics of Operations Research, 20(2):257–301, 1995. https://doi.org/10.1287/moor.20.2.257.
[Räc08] Harald Räcke. Optimal hierarchical decompositions for congestion minimization in networks. In Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing (STOC). ACM, 2008. https://doi.org/10.1145/1374376.1374415.
[ST14] Daniel A. Spielman and Shang-Hua Teng. Nearly linear time algorithms for preconditioning and solving symmetric, diagonally dominant linear systems. SIAM Journal on Matrix Analysis and Applications, 35(3):835–885, 2014. https://doi.org/10.1137/090771430.