Manuscript Offprint
arXiv:2610.28241ARRIVAL in cube-root subexponential time
Abstract
In the ARRIVAL problem, a token travels through a switch digraph: at every vertex, it leaves along one of two out-arcs, and the two are used alternately. The question is which of two terminals the token reaches first. ARRIVAL lies in NP ∩ coNP, but no polynomial-time algorithm is known. The fastest known algorithms turn some vertices into terminals and search for consistent guesses of the numbers of tokens that these vertices send out. The first, due to Gärtner et al. [ICALP 2021], searches all vertices at once with an algorithm for fixed points of monotone maps, and the second, due to Haslebacher [ICALP 2025], searches one vertex at a time by binary search. Both search for a fixed point of the same map, which returns how many tokens arrive at the guessed vertices.
We guess the vertices in blocks of , between these two extremes, which needs a search in dimensions with few evaluations of this map. To do so, we build on the connection between ARRIVAL and -contractions established in the second of these works. We search with -centerpoints of the remaining guesses, which are guaranteed to exist by Haslebacher et al. [FOCS 2025], and which we approximate deterministically. In order to prove our results, we show how to find the least fixed points of maps from to itself that have unit increments.
For ARRIVAL on -vertex switch digraphs, this gives run time , improving the previous time bound of . We work with the more general MULTI-ARRIVAL problem, with many tokens and several terminals, and solve it in the same time when there are at most tokens.
Keywords. ARRIVAL, switching flows, fixed points, subexponential-time algorithms, digraphs
Funding. Raul Lopes: HIDSS-0002 DASHH (Data Science in Hamburg - Helmholtz Graduate School for the Structure of Matter).
1 Introduction
There are few well-studied problems which are known to lie in the intersection NP ∩ coNP, yet for which no polynomial-time algorithm is known. One such problem is ARRIVAL, a zero-player graph game that was introduced by Dohrau, Gärtner, Kohler, Matoušek and Welzl [8]. The game considers a token which travels autonomously through a “switch digraph” by always traversing one out-arc at each vertex, after which the vertex “switches” to its next out-arc in some fixed ordering. Throughout the paper, we consider the version of ARRIVAL introduced by Gärtner et al. [12], which takes as input a directed graph G with two designated terminal vertices t and . Each non-terminal vertex has out-degree two, with one “active” and one “inactive” outgoing arc, and has a directed path to some terminal. The process begins by placing a token at an origin vertex. As the token traverses G, at each vertex v, it leaves through its active out-arc a, and then immediately switches the roles of active and inactive out-arc, so that the next time the token reaches v, its other out-arc is traversed, upon which the “first” out-arc a becomes active again. The ARRIVAL problem is to determine which terminal, t or , the token reaches first. One can show that the token always reaches a terminal, since every non-terminal vertex has a path to some terminal.
The term switch digraph originates from the original formulation of ARRIVAL [8], where the assumption that each vertex has out-degree two allows for an interpretation of the vertices as switches in a railway network traversed by a train (token). It is straightforward to see that, in this setting, ARRIVAL can be solved in roughly steps, where is the number of switches: there are only switch configurations, and checking all of them determines whether the token reaches or first. Following the token step by step may indeed take exponentially many steps. In the instance of Figure 1, for example, the vertex is at distance from , and a token with origin leaves exactly times before it reaches , since every vertex with sends the token onwards only at every second visit and back to at the others. The main result of Dohrau et al. [8] was a proof that ARRIVAL lies in NP coNP. This raises the question of whether ARRIVAL can be solved in polynomial time.

Figure 1. An instance of ARRIVAL with destinations and , in which is the distance from to . A token with origin leaves exactly times before it reaches . In MULTI-ARRIVAL, where and are terminals whose out-arcs lead to , the vertex is visited times by a single token starting at , and times if and hold one token each. Black (solid) arcs are the ones used next, and red (dashed) arcs are the other ones.
As of now, this question remains unresolved, despite a decade of extensive research [1, 2, 8, 9, 11, 12, 14, 15, 18]. The currently fastest known algorithm for ARRIVAL runs in subexponential time , and is due to Gärtner et al. [12] and Haslebacher [15]. For special instances, faster algorithms have been discovered: polynomial-time algorithms exist for tree-like multi-digraphs [1], for certain path-like switch digraphs with uniform switch orders [2] and for ladders [13]. Quasi-polynomial-time algorithms are known for tree-like multi-digraphs with many tokens [14], and for digraphs whose underlying undirected graphs have bounded treewidth [15].
Many of these algorithms are obtained by working with a generalisation of ARRIVAL, known as MULTI-ARRIVAL, which is due to Hoang [17] and is also called G-ARRIVAL [15]. In MULTI-ARRIVAL, multiple tokens (potentially exponentially many in n) need to be routed from an arbitrary number of origins to an arbitrary number of terminals (see Section 4 for the formal definition). Each vertex v has at most two out-arcs, ordered according to a labelling , which determines the switching rule at v: whenever a token arrives at v, it traverses the next out-arc in the cyclic order specified by . Initially, a total of tokens are placed on the origin vertices. Each token then traverses the switch digraph according to the common switching rules until it reaches a terminal, where it remains permanently. The goal of MULTI-ARRIVAL is to determine the final distribution of tokens among the terminals. The original ARRIVAL problem corresponds to the specific case of a single token and switch digraphs with out-degree two.
Routing the tokens solves every instance of MULTI-ARRIVAL, but, as for ARRIVAL, it may take exponential time (Figure 1). On the other hand, since a vertex sends its tokens along its out-arcs in turns, roughly a fraction of the tokens that it sends follows a shortest path to a terminal, where at most tokens can arrive. Hence, a vertex within distance d from a terminal sends at most about tokens, which explains why instances in which every vertex is within distance d of a terminal can be solved in time (Proposition 4.5).
Theorem 1.1. There is a deterministic algorithm that solves MULTI-ARRIVAL on n-vertex switch digraphs with at most tokens in time . In particular, ARRIVAL can be solved in time .
Compared with the previous time bound of Gärtner et al. [12] and Haslebacher [15], our bound reduces the exponent from to , a factor of .
Our second contribution, which we use to prove Theorem 1.1, is an algorithm for the least fixed points of maps with unit increments. A map has unit increments if increasing one entry of its argument by one increases at most one entry of its value, by one, and leaves the others unchanged (Definition 5.3).
Theorem 1.2. There is a deterministic algorithm that, given integers and and oracle access to a map with unit increments, outputs the least fixed point of after evaluations of and additional time .
Maps with unit increments are monotone, and the known algorithms for fixed points of monotone maps [5, 6, 10] find some fixed point of them, but their numbers of evaluations are powers of whose exponents grow linearly in k.
Paper outline. Section 2 explains our approach and techniques. Section 3 collects notation for digraphs, vectors, norms, -half-spaces and fixed points. Section 4 defines MULTI-ARRIVAL and switching flows, and states two known bounds. Section 5 defines guessing maps, unit increments and the cap. Section 6 gives the block recursion and bounds its run time. Section 7 searches for the least fixed point by cutting -half-spaces, and Section 8 computes the guesses of this search deterministically, which proves Theorem 1.2. Section 9 proves Theorem 1.1.
2 Overview
As is the case with the previous results, our algorithm relies on switching flows (Definition 4.2) which, as shown by Dohrau et al. [8], are certificates for ARRIVAL (Proposition 4.3). The algorithm by Haslebacher [15, Section 3.2], which proposes an alternative view on the original result by Gärtner et al. [12], starts by finding, in the given switch digraph , a set of non-terminals such that every vertex of is at distance at most from , where denotes the set of terminals. In other words, is a distance-d dominating set, for some choice of and , and the algorithm ensures that is at most (roughly) [12, Lemma 12]. A better bound for follows from a theorem of Nguyen, Scott and Seymour [23, Theorem 1.5] on small -kernels of digraphs with a spanning arborescence, which gives at most about while also guaranteeing that is independent. In Lemma 6.1 we show a simplified version of their result achieving a similar bound.
The recursion of this algorithm [15, Algorithm 1] then defines to be the set of pivots, that is, vertices which are recursively turned into terminals to generate new instances until a base case is reached. In this recursion, as in ours, the base case is an instance where every vertex is at distance at most from a terminal, which is then solved in time by Proposition 4.5. In short, the recursion produces guesses on how many tokens will pass through each pivot, then routes the tokens in the new instance, recursively down to the base case, and verifies if the guess is correct. This is the case if, at the end of the routing, each pivot received exactly as many tokens as it sent. If this is not the case, the guess is adjusted, and a new routing is tested.
The recursion adjusts the guess of each pivot by a binary search [15, Section 3.1], which takes polynomially many routings per pivot, since, for ARRIVAL, the number of tokens stays below along the recursion. In addition, the depth of the recursion needed to ensure that every vertex of is turned into a terminal implies that the total run time is , up to polynomial factors. Balancing the choices of and , a total run time of is thus obtained.
The algorithm by Gärtner et al. [12] works similarly, and also starts by finding a set of pivots such that is distance- dominating. In this case, however, all pivots are guessed at once. They show that, in any instance of ARRIVAL on a switch digraph with vertices, each vertex is visited at most times by the token [12, Lemma 1], and hence a guess can be understood as a vector with entries in . For each such , the map then defines the numbers of tokens arriving at the vertices of in the instance of MULTI-ARRIVAL where each starts with tokens. Hence, in order to compute from , a routing of the tokens is needed, again through the base case, and the goal is to find a guess such that , that is, a fixed point of . Since is monotone , Tarski fixed point algorithms can be applied in order to speed up the search, after capping the values of at so that it maps the box to itself; the fixed point that they find is then also a fixed point of . This strategy yielded the first subexponential algorithm for ARRIVAL.
In our case, in addition to Lemma 6.1 for the improved bound, we employ a similar strategy with one difference: instead of restricting the guesses to one pivot at a time, as done by Haslebacher [15], or guessing all s pivots at once, as done by Gärtner et al. [12], we guess the pivots in blocks of size k. This allows us to reduce the depth of the recursion by a factor of k when compared to the first approach, and the search dimension from s to k when compared to the second. On the other hand, this strategy requires a far more difficult search procedure that needs to operate fast in the higher dimension k. Compared to the first approach, the difficulty is the higher dimension, and compared to the second, it is that the searches are now nested over several levels of the recursion, so that their numbers of evaluations multiply. Each search can then afford only a number of evaluations that is polynomial in k and log N, whereas the number of evaluations of the known Tarski fixed point algorithms [5, 6, 10] is a power of log N whose exponent grows linearly in k. As in the analyses of both previous algorithms, proving Theorem 1.1 is a balancing act between the parameters d, s and now k, amongst others.
Block solvers. The map F of Gärtner et al. [12] is what we call the guessing map of the pivots S (Definition 5.1), and its fixed points are exactly the correct guesses (Lemma 5.2).
In our recursion, we split into blocks of at most pivots each, and we guess one block at a time (Algorithm 1). For a block , the guessing map is defined in the same way, with only the pivots of turned into terminals. As with [12], we cap it at a number so that it maps the box to itself, and our search finds the least fixed point of the capped map (Lemma 5.7).
The search for a block is done by a block solver (Definition 6.2), and every evaluation of the guessing map of the block is a recursive call that solves the instance in which the pivots of the block have become terminals, with the remaining blocks still to be guessed. Hence, the depth of the recursion is M instead of s. If a block solver makes at most Q evaluations and spends time at most I besides them, which we call its overhead, then the total run time is, up to polynomial factors, at most
(Lemma 6.3). The first factor bounds the number of calls of the recursion, since each of the M levels multiplies it by at most : the evaluations of the block solver, and one last call at the fixed point that it finds. The second factor bounds the time of a single call besides its recursive calls, which is the base case at the last level and the overhead of the block solver at the other levels. With one pivot per block, as in the recursion of Haslebacher [15], a binary search for the least fixed point gives a polynomial Q and a small overhead, but the depth is s. For larger blocks, the known Tarski fixed point algorithms [7, 10], used in this way, give no asymptotic gain [15, Section 3]. Our block solver, on the other hand, makes evaluations with overhead (Theorem 1.2), which is fast enough to pay off. The next steps are to bound the impact of each of the parameters involved: the distance d through the base case and, since (Lemma 6.1), through the number M of blocks, the block size k through M and through the costs Q and I of the block solver, and the cap N, which grows along the recursion, through Q and I. See Figure 2 for a guide on the dependence of the parameters.

Figure 2. How the parameters enter the run time of the recursion. An arrow from one quantity to another means that the second one depends on the first. The distance d and the block size k are chosen in Section 9, and the cap N, which grows along the recursion, satisfies when .
The base case and the pivots. We start with the distance , which enters the run time through the base case and, via the size of the set of pivots, through the number of blocks. Since the base case takes time exponential in , the distance cannot be large, but keeping small requires many pivots. Our set of pivots is simple to obtain (Lemma 6.1): the non-terminals fall into classes according to their distance to the set of terminals modulo , and is a smallest class, so that . Every vertex at distance from is then within distance of , since the first vertices of a shortest path from it to are non-terminals at the consecutive distances from , and one of them lies in . Hence, the number of blocks is , and a larger reduces the depth of the recursion at the price of a more expensive base case.
The cap. We now choose the cap N for the block solver: for a block B, it searches guesses in , so this box must contain a consistent guess. Let be the number of tokens of the instance in which B is guessed. By a result of Haslebacher [15, Lemma 2], every switching flow of this instance sends fewer than tokens out of every vertex (Proposition 4.4), and hence, with , the correct guess read off from a switching flow lies in , where none of its entries reaches the cap. This is why the least fixed point of the capped map, which lies below this guess, is correct (Lemma 5.7). The price of the cap is that N grows with the number of tokens, which grows along the recursion, since every evaluation turns the pivots of a block into terminals with up to starting tokens each. Each level multiplies the number of tokens by at most , so, over the at most levels, in every instance of the recursion when (Lemma 6.3). This is where Theorem 1.1 uses its bound on the number of tokens. On the other hand, the search depends on only mildly: as we point out below, the number of evaluations satisfies , and the overhead satisfies , which is the term that limits the block size .
Searching by cutting half-spaces. For a block of pivots, the block solver searches the box for the least fixed point of the capped guessing map , which is the correct guess for the pivots of (Lemma 5.7). The only property of that the search uses is that it has unit increments (Definition 5.3). In other words, when a pivot sends one more token, this token either arrives at a single pivot, whose entry of grows by one, or it is absorbed, at a terminal of or at a pivot whose entry is capped. This follows from the monotonicity of the arrivals in the starting tokens [15, Lemma 4] (Proposition 5.4 and lemmas 5.5 and 5.7). In particular, and differ by at most as many tokens as and . That is, (Definition 3.1 and (5)). The search generalises binary search to dimensions. It keeps a set of candidate guesses, initially the whole box, and in every round it evaluates at a guess . If the surplus is zero, then is a fixed point. Otherwise, every pivot should send more tokens if it receives more than it sends, and fewer if it receives fewer. Instead of moving towards , we remove from the guesses on the wrong side of , namely those whose -distance to does not shrink when moves slightly towards . These guesses form the -half-space in the sense of Haslebacher, Lill, Schnider and Weber [16, Definition 3.2] (Definition 3.2), and the goal is to ensure that every such removal discards a meaningful fraction of the candidates. These authors search in the same way for approximate fixed points of -contractions [16, Section 4], that is, of maps that shrink -distances by a constant factor. The connection of MULTI-ARRIVAL to this search is due to Haslebacher [15, Section 4], who reduces MULTI-ARRIVAL to finding such fixed points and observes that this search is efficient in the number of evaluations, but not in time [15, Section 1]. For a single pivot, this is exactly the usual binary search, since rules out every guess at or below , and every guess at or above . The removal is almost safe, since a fixed point is always at least as close to as to , because and does not increase -distances (5), whereas the removed guesses are at least as close to as to . So is removed only if both distances are equal.
The problem is that equality does occur, at guesses w whose surpluses sum to zero but that are not fixed points, which we call ties. At a tie, the pivots receive in total exactly as many tokens as they send, but not every pivot receives as many tokens as it sends, because the tokens by which w and q differ only circulate among the pivots and never reach a terminal or the cap (Lemma 7.2 and the remark after it). A round at a tie may remove every fixed point, as the map that swaps the tokens of two pivots shows (Section 7.1). We stop the circulation with a leak: the search runs on a leaky map, in which a small fraction of the tokens of every pivot disappears (Section 7.2). Circulating tokens are then absorbed after a while, so a fixed point of the leaky map can be removed only in a round whose guess already rounds to the least fixed point of , which the round records, and the search returns (lemmas 7.4 and 7.5). The price paid is small: the search runs on the finer box with , whose side still has a logarithm of , and every evaluation of the leaky map costs at most evaluations of (Lemma 7.4).
The choice of the guesses has a direct impact on the run time of the algorithm. We say that a guess is -deep in if every -half-space through contains at least an fraction of . Then, independently of the surplus at , the round removes at least candidates when a fixed point is not found, and the -centerpoint theorem of Haslebacher et al. [16, Theorem 3.18] states that every finite set of points has a -deep point (Proposition 8.1). For a set of integer guesses, such as the candidates, rounding this point down keeps this property (Lemma 8.2). Half of this depth suffices, and with -deep guesses we obtain the count of evaluations promised in the part on the cap. Since starts with at most candidates, and every round removes at least a fraction of them, the search stops after rounds. With at most evaluations of per round, it makes evaluations (Lemma 7.5 and Theorem 1.2). It remains to find such guesses, which we discuss next.
Deep guesses. We now come to the heart of our algorithm and the main technical contribution of this paper: computing, in every round of the search, a -deep guess, deterministically (Section 8). In one dimension, a -deep guess is a median of the candidates, and deep guesses play the role of medians in k dimensions. To compute them, we follow a simple scheme that is known for the usual half-spaces [20], [22, Lemma 47.3.1]. To find a point in the middle of a large set, that is, a point through which every half-space contains a large fraction of the set, one takes a small sample of the set that represents it, in the sense that every half-space contains about the same fraction of the sample as of the set. Then a point in the middle of the sample is found by brute force, which is affordable since the sample is small, and this point is also in the middle of the set, since every half-space sees the sample and the set in about the same proportions. A large enough uniformly random sample, whose size does not depend on the size of the set, represents the set with high probability [22, Theorem 47.2.2], and Chazelle and Matoušek [4] compute such a sample deterministically.
In our setting, the set is the set of candidates, the half-spaces are the -half-spaces, and a point in the middle is a deep point, which we round down to a guess. Our version of these steps rests on one property of -half-spaces: whether a point lies in an -half-space through depends only on which of its coordinates are below, equal to or above those of (Lemma 7.1). Section 8.1 shows that deep points exist, by the -centerpoint theorem, and that rounding them down keeps them deep (Proposition 8.1 and Lemma 8.2). Section 8.2 is the brute force: the -half-spaces cut only different subsets, their traces, out of any points, and listing the traces gives an exact deepest point of few weighted points (lemmas 8.6 and 8.7). Section 8.3 gives the two steps that compute the sample. After rounds, the candidates form a union of at most boxes (Lemma 7.5), but these few boxes contain far too many points for the deterministic sampling algorithm [4], whose time is linear in the number of points. So we first cut every box into few sub-boxes and represent every sub-box by one point, weighted by its size, which changes the fraction of every -half-space only slightly (Lemma 8.8). Then this algorithm [4, Theorem 2.3], which needs the traces to be few and to be listable, thins these weighted points out to points that still represent the candidates (Proposition 8.10). Section 8.4 combines these steps (Lemma 8.11).
The result is a -deep guess for the candidates, computed in time per round. Computing it is where the overhead I of the block solver comes from, and since the number of rounds is polynomial in k and , the overhead of the search is of the same order, (Theorem 1.2). In short, the block solver pays for its few evaluations with a large overhead, but only once per call, and the next part balances this overhead against the depth of the recursion.
The balancing act. We can now put the pieces together, following Figure 2. By Lemma 6.3, the run time of the recursion with block solvers is at most up to polynomial factors, where is the number of blocks, that is, the depth of the recursion, is the number of evaluations that the block solver makes for one block, is its overhead, and is the time of the base case, for the distance of every vertex to the nearest terminal or pivot. Hence, the logarithm of the run time is at most up to an additive term. The previous parts bound each of these terms: the number of blocks satisfies , while and , since when . Hence, up to a constant factor and an additive term, the logarithm of the run time is
The first term, which counts the levels of the recursion, asks for large blocks and a large distance , the second, which comes from the base case, asks for a small , and the third, which comes from the overhead of the block solver, asks for small blocks. The three terms balance for and , where each of them is of the order , and this proves Theorem 1.1 (Section 9).
3 Preliminaries
Digraphs. For basic background on graph theory we refer the reader to Bondy and Murty [3]. For a digraph , let and denote its sets of vertices and arcs, respectively. For an arc , we call its tail and its head, and we say that is an out-arc of . We treat as a multiset, so that two arcs may have the same tail and the same head. Unless stated otherwise, digraphs have no loops, and denotes the number of vertices of the input digraph. All paths in this paper are directed. For , the distance from to , denoted , is the minimum length of a path from to , and if there is none. For , the distance from to is . A vertex is within distance of if , and is distance- dominating if every vertex of is within distance of .
Vectors. We denote by and the sets of positive and of non-negative integers, respectively. For integers and , we denote by the set of the integers from to , which is empty if . For , we write . We write vectors in bold and their entries in plain type, as in . The entries are indexed by a finite set, such as or a set of vertices, which will be clear from the context. Inequalities between vectors hold entrywise. We denote by and the vectors with only zeros and only ones, respectively. For an index , the unit vector has the coordinate one and all other entries zero. For a vector of real numbers, is obtained by rounding every entry down to an integer, and is the vector of the signs , or of its entries. A box is a product of sets of consecutive integers, one for every index , which we call its sides. The length of the side is . For a finite non-empty set , the bounding box is the smallest set of the form , with , that contains .
Norms and distances. For the remainder of this section, we assume that vectors have real entries. We denote by the dot product of and .
Definition 3.1 ( -norm and -distance). The -norm, or Manhattan norm, of a vector is , and the -distance, or Manhattan distance, between two vectors and is .
In our context, the vectors are guesses of the numbers of tokens that some vertices send, and the -distance between two guesses is the total number of tokens by which they differ, summed over these vertices. The -distance satisfies the triangle inequality , since for every . We also use the Euclidean norm , but only to compare -half-spaces with the usual half-spaces and to quote the -centerpoint theorem [16] in Section 8.1.
Half-spaces. The usual closed half-space through a point in a direction is the set of the points ahead of in direction . A point lies in it if and only if does not come closer to , in the Euclidean distance, when is moved slightly backwards, to for a small . This follows from . Haslebacher et al. [16, Definition 3.2] use this description with other distances in place of the Euclidean distance, and we use it with the -distance.
Definition 3.2 ( -half-spaces [16, Definition 3.2]). For a point and a direction , the -half-space through in direction is
The set does not change when is multiplied by a positive number. Unlike a usual half-space, it is in general not bounded by a single hyperplane (Lemma 7.1 and Figure 4).
Fixed points. A fixed point of a map is an element of its domain with . A map defined on a set of vectors is monotone if for all with . Our searches are for fixed points of monotone maps . By Tarski's fixed point theorem [26, Theorem 1], such a map has a least fixed point. We use the following form of this fact, in which the least fixed point is found by iterating the map from the corner .
Lemma 3.3. Let , and let be monotone. Then the sequence is non-decreasing, it becomes stationary after at most steps, and its final value is a fixed point of with for each fixed point of .
Proof. Let and for . Then , since . If , then by monotonicity. So the sequence is non-decreasing. Every step that changes the vector increases the sum of its entries by at least one, and this sum is at most in . So the sequence becomes stationary after at most steps, at a vector with . For every fixed point of , we have , and gives . So .
We call the least fixed point of .
4 The MULTI-ARRIVAL problem
A switch digraph is a digraph G in which every vertex has at most two out-arcs, together with a labelling . At every vertex with two out-arcs, marks one of them as the first and the other one as the second out-arc. In figures, the first out-arc of a vertex is black (solid) and the second one is red (dashed).
A MULTI-ARRIVAL instance [15, 17] is a tuple , where is a switch digraph, is the non-empty set of terminals, and is the number of tokens that start at the terminal . The total number of tokens is . We assume throughout that every non-terminal reaches a terminal, since otherwise tokens might circulate forever. We also assume that every terminal with has an out-arc, since otherwise it cannot send its tokens, and that . In particular, , since a terminal with tokens has an out-arc, which is not a loop.
The tokens move as follows, which we call the routing procedure. Initially, every terminal with sends its tokens. If has two out-arcs, it sends tokens along its first and tokens along its second out-arc. If has one out-arc, it sends all its tokens along it. After this, terminals send no tokens, and every token that reaches a terminal stays there. This convention follows Haslebacher [15]. While some non-terminal holds a token, one token at is moved along the out-arc that has used the fewest times so far, and along the first out-arc if both have been used equally often. So a non-terminal with two out-arcs sends its tokens along them alternately, starting with the first one. The order in which the tokens at different non-terminals are moved is free.
Definition 4.1 (Runs and run profiles). A run of the routing procedure is a sequence of moves that follows these rules and that continues as long as some non-terminal holds a token, and it ends once all tokens have reached terminals. The run profile of a run that ends records, for every arc, how many tokens traverse it.
The task of MULTI-ARRIVAL is to determine, for each terminal , the number of tokens that arrive at . Every run ends, whatever the order in which the tokens are moved, and all runs produce the same numbers (Proposition 4.3 below). The known proofs of Proposition 4.3 [8, 12] use switching flows, which we now define. For a function and a vertex , we denote by the sum of over the out-arcs of , and by the sum of over the arcs with head .
Definition 4.2 (Switching flows [8, 12]). A switching flow of the instance I is a function such that
where and denote the first and the second out-arc of v.
A switching flow need not be a run profile (Figure 3). Dohrau et al. [8] proved Proposition 4.3 for ARRIVAL. Gärtner et al. [12] generalised it to ARRIVAL instances in which some vertices become terminals with given numbers of tokens, and they also prove that every run ends [12, Lemma 6]. The result is also stated for MULTI-ARRIVAL [15, Theorem 1].
Proposition 4.3 ([8], [12, Lemma 6 and Theorem 8], [15, Theorem 1]). For every MULTI-ARRIVAL instance , every run of the routing procedure ends, and its run profile is a switching flow of . The number of tokens that arrive at a terminal is the same in every run, and every switching flow of satisfies for every .
We use Theorem 1 and Lemmas 2, 4 and 6 of Haslebacher [15] as Proposition 4.3, Proposition 4.4, Proposition 5.4 and Proposition 4.5. They are stated there for switch digraphs in which every vertex has exactly two out-arcs. Our instances can be brought to this form without changing the routing. Every vertex with one out-arc gets a second arc parallel to it, so that sends and of its tokens along the two copies. Every vertex without out-arcs, which is a terminal without tokens, gets two loops, which carry no tokens. So the cited results apply to our instances.
An ARRIVAL instance (Section 1) is a switch digraph , possibly with loops, with two terminals and , which we call destinations, and an origin . The initially active out-arc of every vertex is the first one. Every vertex other than and has two out-arcs and reaches a destination. A single token starts at and moves along the out-arcs as in the routing procedure, and the question is which destination it reaches. If a vertex has a loop and another out-arc , then uses its two out-arcs alternately, so the token leaves along at every visit, possibly after one traversal of the loop. We therefore replace the loop by a second arc from to . No vertex outside has two loops, since such a vertex would reach no destination. The out-arcs of and , which may be loops, are irrelevant, so we delete them. If is a destination, the answer is . Otherwise, we add a new terminal with one out-arc and , and we make and terminals with no tokens. This is a MULTI-ARRIVAL instance on vertices, with out-degree at most two, that satisfies our assumptions. The destination at which the token arrives is the one with .
The next statement, due to Haslebacher, bounds the values of any switching flow.
Proposition 4.4 ([15, Lemma 2]). Every switching flow x of a MULTI-ARRIVAL instance on n vertices satisfies for every vertex v.
The original statement [15, Lemma 2] says that every arc carries fewer than tokens, and attributes this bound to Dohrau et al. [8]. After the change of our instances described above, every vertex has two out-arcs, which gives the bound.
The following proposition is the base case of our recursion. It is stated for MULTI-ARRIVAL without proof [15, Lemma 6], with an attribution to Gärtner et al. [12], who prove a version of it for ARRIVAL by simulating the tokens [12, Lemma 10].
Proposition 4.5 ([15, Lemma 6]). Let be a MULTI-ARRIVAL instance on vertices in which is distance- dominating. Then the numbers for can be computed in time .
5 Guessing maps and the cap
Throughout this section, is a MULTI-ARRIVAL instance on vertices.
Definition 5.1 (Guessing maps and consistent guesses). Let be a set of pivots, and let be a vector of guesses. Let be the instance obtained from by turning every pivot into a terminal with starting tokens. The guessing map of sends to the vector of the numbers of tokens that arrive at the pivots in . A guess is consistent if it is a fixed point of , that is, if every pivot receives as many tokens as it sends.
The instance satisfies the assumptions of Section 4. Its non-terminals reach , its tokens are those of and the guessed ones, and every pivot has an out-arc, since it is a non-terminal of that reaches . So is well-defined, by Proposition 4.3. Gärtner et al. [12, Theorem 8] use guessing maps for ARRIVAL. Figure 3 shows an example.
Lemma 5.2 (cf. [12, Lemma 11] and [15, Section 3.1]). Let . If is a consistent guess, then every terminal of receives as many tokens in as in . Conversely, for every switching flow of , the guess is consistent.
Proof. Let , and let with for every . Both and ask for (1) at each vertex, (2) at non-terminals of outside , and (3) at the terminals of . Beyond this, asks for at the pivots, which holds, and asks for (2) at the pivots. So if is a switching flow of or of , then it is one of . Then for every by Proposition 4.3. Hence, is a switching flow of if and only if it is one of and .
For the first claim, let be consistent, and let be a switching flow of , such as the run profile of a run (Proposition 4.3). Then is a switching flow of as

| g | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 2 | 3 | 3 | 3 | 3 | 4 | |
| tokens arriving at t | 0 | 0 | 1 | 1 | 2 | 2 | 3 | 3 |
| tokens arriving at t' | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
Figure 3. An instance of MULTI-ARRIVAL encoding an instance of ARRIVAL. The terminal holds the token, and terminals are the destinations, whose out-arcs are not drawn since they send no tokens. The token travels along . The table shows the guessing map of the single pivot , with a guess written as a number . If is turned into a terminal that sends tokens, then tokens arrive at . The fixed points 2 and 3 (bold) are the numbers of tokens that sends in the two switching flows of the instance. They are the run profile, and the run profile plus one token circulating once along .
well. By Proposition 4.3, applied to both instances, every terminal of receives tokens in both. For the second claim, apply the equivalence to .
Definition 5.3 (Unit increments). Let be a finite set, and let be a box in or . A map has unit increments if whenever and are in .
In our context, is a set of pivots and is a guessing map. Unit increments then say that when a pivot sends one more token, this token arrives at a terminal of or at a pivot whose entry grows by one. A map with unit increments is monotone. Indeed, let be guesses of its domain. A path of guesses from to is a sequence of guesses from to that adds one token per step. It has steps and stays in the domain. By unit increments, no step decreases an entry of the map, so . Unit increments of guessing maps follow from the monotonicity of the arrivals in the starting tokens, which was first proved for ARRIVAL [12, Theorem 8(ii)] and then for MULTI-ARRIVAL [15, Lemma 4]:
Proposition 5.4 ([15, Lemma 4]). Let be a switch digraph, and let be a set of terminals. For MULTI-ARRIVAL instances on with terminal set , the map that sends the vector of starting tokens to the vector of arriving tokens is monotone.
In words, if no terminal starts with fewer tokens, then no terminal receives fewer tokens. For completeness, we derive unit increments from Proposition 5.4.
Lemma 5.5. Every guessing map has unit increments.
Proof. Let and . The instances and have the same switch digraph and the same terminal set , and the second one has one more starting token, at . By Proposition 5.4, no terminal receives fewer tokens in the second instance. Every token arrives at a terminal, since every run ends (Proposition 4.3). So the total number of arriving tokens is the number of starting tokens, which grows by exactly one. Hence exactly one terminal receives one more token, and every other terminal receives as many tokens as before. So is if is a pivot, and if .
Our searches need a map , and a guessing map need not be one. For example, let and be pivots such that both out-arcs of lead to , and let a terminal with one starting token have its only out-arc to . Then, for every guess , the pivot receives at least tokens, so for every . We therefore cap the guessing map at . For a single pivot , no cap is needed, since maps a large enough to itself [15, proof of Lemma 5]. Gärtner et al. [12, Lemma 11] cap guessing maps of ARRIVAL in the same way, at . They show that a solver for fixed points of monotone maps, run on the capped map, finds a consistent guess. Our solver finds the least fixed point, and Lemma 5.7 shows briefly that it is consistent.
Definition 5.6 (Capped guessing maps). For a set of pivots and , the capped guessing map is the guessing map bounded from above by , that is, , with the minimum taken entrywise.
Lemma 5.7. Let be a set of pivots, and let be its capped guessing map for . Then has unit increments, and its least fixed point is a consistent guess.
Proof. If and lie in , then is or a unit vector by Lemma 5.5. So the capped entry grows by at most one and no other entry changes, that is, . Hence has unit increments, and so it is monotone.
For the least fixed point, let be the run profile of a run on , which is a switching flow of by Proposition 4.3. The guess is consistent by Lemma 5.2, and for every by Proposition 4.4. So lies in , and it is a fixed point of , as no entry of reaches the cap. By Lemma 3.3, the least fixed point of satisfies . So no entry of reaches the cap either, which means that .
6 The block recursion
Throughout this section, is a MULTI-ARRIVAL instance on vertices with tokens, and . We first choose the pivots.
Lemma 6.1. One can compute in polynomial time a set with such that is distance-d dominating.
Proof. Every non-terminal has a finite distance to , since it reaches a terminal, and breadth-first search computes these distances. For , let be the set of non-terminals with . These sets partition the non-terminals, so a smallest one has at most vertices, and we let for an with smallest. Now let be a vertex with . If , then is within distance of . Otherwise, a shortest path from to passes through vertices at distances from . Its first vertices lie at the distances from , so they are non-terminals, and is within distance of each of them. One of these consecutive distances is congruent to modulo , so one of these vertices lies in , and is within distance of .
Let be the set computed in Lemma 6.1, which may be empty. If , then and Algorithm 1 immediately uses the base case. We cut it, in any order, into blocks of at most pivots each. Then . Every block is non-empty, since . For , let , so that and . The recursion runs from to , and it guesses every block with an algorithm of the following kind.
Definition 6.2 (Block solvers). A block solver for block size is an algorithm that, given and oracle access to a map with unit increments, returns the least fixed point of . Its costs are its number of evaluations of and its overhead, the time that it spends besides the evaluations.
A call of Algorithm 1 at level receives an instance on the switch digraph with terminal set . For , this is the input instance. For , the vertices of have been turned into terminals with guessed numbers of tokens. To run the block solver for the block , a call at level identifies with by a fixed ordering of . The recursion is that of Haslebacher [15, Algorithm 1 and Section 3.2], with blocks instead of single pivots. Our bookkeeping of the numbers of tokens in the proof of Lemma 6.3 follows the analysis for single pivots [15, Lemma 5]. The goal of sections 7 and 8 is to build a fast block solver.
Algorithm 1 Find-Arrivals(j, ).
Input: A level and a MULTI-ARRIVAL instance on with terminal set . The parameters and , the blocks and a block solver for block size are fixed.
Output: The numbers of tokens that arrive at the terminals of .
1: if then ▷ Base case
2: return the numbers computed by the algorithm of Proposition 4.5 on
3: , where is the number of tokens of
4: Run on the map , where is evaluated as follows:
5:
6:
7: Let be the least fixed point returned by
8:
9: return
Lemma 6.3. Let A be a block solver for block size k (Definition 6.2). Suppose that, on every input with ,
– A makes at most Q evaluations of H, and
– the overhead of A is at most I.
Then Algorithm 1, called with on , returns the numbers of in time . Also, each cap used in the recursion is at most .
Proof. We first bound the numbers of tokens that occur, which the hypothesis on needs. For , let be the largest number of tokens of an instance at level , so that . Consider a call at level whose instance has tokens. It guesses the pivots of , and every guess is at most . So, as , every call that it makes has at most tokens. Since , this gives the recursive inequality
Hence for every . We have and , so every instance of the recursion has at most
tokens, using . So the cap of every call satisfies .
Now we show by induction on that a call at level returns the numbers of tokens that arrive at the terminals of its instance . For , the set is distance- dominating by Lemma 6.1, so Proposition 4.5 applies. For , note that is a set of at most non-terminals of . Every evaluation of at a guess is a call at level on , whose terminal set is . By induction, this call returns the numbers of arriving tokens of this instance, and their entries at the pivots form . So line 6 computes , the capped guessing map of Lemma 5.7 for and . By Lemma 5.7, has unit increments, so returns the least fixed point of , which is a consistent guess. By induction, line 8 computes the numbers of arriving tokens of . By Lemma 5.2, they agree with those of at the terminals of .
All numbers that occur have bits, since the numbers of tokens is at most and the guesses are at most . Hence there is a polynomial in with the following two properties. Besides the recursive calls, a call at level spends time at most on line 3, at most per evaluation on lines 5 and 6, and at most on lines 8 and 9. A call at level takes time at most , by Proposition 4.5.
We now analyse the run time. A call at level makes at most calls at level , one per evaluation of H and one in line 8. Besides these calls, it spends time at most . This is the overhead I of A plus the time of the lines above. So there are at most calls at level j, and the total time is at most
where is again polynomial in .
7 Searching a block by counting tokens
In this section, we describe the fixed-point search used by the block solver. Each round tests a guess and removes an -half-space from the remaining candidates. We show that this removal can include a fixed point when tokens circulate among the pivots (Section 7.1). We then introduce a leaky map that lets the search identify the least fixed point of the original map even when this happens (Section 7.2). Finally, we give the cutting procedure and prove that it returns the least fixed point whenever it stops (Section 7.3).
Throughout sections 7 and 8, and are integers, and is a map with unit increments (Definition 5.3). When Algorithm 1 calls the solver at level , the used here is , and is the capped guessing map for that block. We prove the properties needed for the search using only unit increments, so Section 7.2 can also use them for its leaky map and the corresponding map without leaks on a larger box. We keep the language of tokens, in which is the number of tokens that pivot sends and is the number that arrive at pivot . If , then the additional token that pivot sends returns at pivot . If , then it is absorbed. For a capped guessing map, a token is absorbed if it arrives at a terminal of or at a pivot whose entry is capped. As in Section 2, the surplus of a guess is , so is a fixed point of if and only if .
Unit increments bound how much changes between two guesses. Every step of a path of guesses from to (the remark after Definition 5.3) adds one token, which returns or is absorbed. Summing over the steps gives
where counts the tokens of the path that return, and it does not depend on the path. So equality holds on the right of (4) if and only if every token of every path from to returns. The norm inequality in (4) can be extended to arbitrary . Let be their entrywise minimum. Then the triangle inequality and (4) for and give
Haslebacher [15, Lemma 12] shows the same inequality for the map that moves every token one step, which connects MULTI-ARRIVAL to the -distance. Since is monotone, it has a least fixed point (Lemma 3.3).
7.1 -half-spaces
For a guess with , the wrong side of is the -half-space (Definition 3.2). We first describe -half-spaces concretely. For a point and a direction , whether depends on only through the sign vector . It records, at each pivot, whether sends fewer, as many or more tokens than . The next lemma follows from results of Haslebacher et al. [16, Lemma 4.5 and Observation 4.6], and we include a short direct proof for the -distance. Figure 4 shows two examples.
Lemma 7.1. Let , , and . Then if and only if .
Proof. Let be the distance from to the moved point, which is a convex and piecewise linear function of . We show that the sum in the statement is the right derivative of at 0. By convexity, the sign of this derivative then decides whether . For all small enough , the term equals if , since then has the sign . If , it equals . So the right derivative of at 0 is the sum in the statement. If this sum is non-negative, then is non-decreasing for by convexity, so for all , and . Otherwise, for all small enough , and .


Figure 4. Two -half-spaces in the plane (shaded, with their boundaries drawn solid where they belong to the set). On the left, . By Lemma 7.1, a point with lies in if and only if , so is the closed half-plane to the right of . On the right, . The sum of Lemma 7.1 is negative only for , so is the plane without the open quadrant below and to the left of .
The next lemma concerns the wrong side of a guess, and also any two fixed points. For maps with unit increments, it is analogous to a result of Haslebacher et al. [16, Lemma 4.1, Observation 3.4]. For maps that shrink all distances by a constant factor smaller than one, they show that the fixed point is strictly closer to than to .
Lemma 7.2. Let be a fixed point of , and let be a fixed point of as well, or a guess with and . Let . Then every step along every path of guesses from to , and along every path of guesses from to , causes a unit increase in one coordinate of .
Proof. We show that , which forces equality in (4) between and and between and . If is a fixed point, then . Otherwise, , and Definition 3.2 with gives . In both cases, the triangle inequality and (4) give
and the right-hand side equals , since . So equality holds throughout, in particular in (4) for the pairs and . This means that every token of every path from to or to returns, and the assertion follows.
In the second case of Lemma 7.2, and have the same sum of entries. Indeed, every step of a path of guesses from to increases the sum of the entries of the guess by one. By Lemma 7.2, it also increases the sum of the entries of by one. Summing over the path gives . Since , we obtain . So and have the same sum of entries. Every token of a path from to returns as well, so has the same property. So a fixed point lies on the wrong side of only if is a tie, that is, a guess that is not a fixed point and and have the same sum of entries. Ties do occur. The map on has unit increments. The guess has surplus , both fixed points and lie in , and the token that pivot 1 adds on the way from to returns at pivot 2. The leaky map of Section 7.2 makes ties harmless. Figure 5 shows a removed -half-space at a guess that is not a tie.

Figure 5. The guesses with and for the pivots in the instance of Figure 3. The fixed points of in this range are and (black). The guess (square) gives , so . The pivot receives as many tokens as it sends, and the pivot receives one token less. By Lemma 7.1, consists of the guesses with (shaded), and since the entries of do not sum to zero, none of them is consistent, by the remark after Lemma 7.2.
7.2 The leaky map
If a fixed point lies on the wrong side of a tie, Lemma 7.2 says that every token added to reach either guess from their entrywise minimum returns to a pivot. The same holds for two fixed points. We now modify the map to absorb tokens at regular intervals, so that either kind of pair must be close in every coordinate. This is similar in spirit to the discounting of Haslebacher [15, Section 4.2]. In that technique, the map that moves every token one step is multiplied by a factor smaller than one, so that a fraction of the tokens disappears in every step and the map shrinks -distances by this factor [15, Corollary 16]. We assume in the rest of Section 7, since the case is trivial.
Definition 7.3 (Leaky map and rounding). Let and let . The leaky map and the rounding are defined, for , by
Imagine copies of the set of pivots. For each pivot , split its tokens as evenly as possible among the copies: copy gets tokens at that pivot. Apply to the token counts of each copy. The map adds the arrivals from all copies except the four with indices in ; their arrivals are discarded, which creates the leak. The map turns into a guess in the original box by rounding . Finally, records, at each pivot, the difference between the arrivals counted by and the tokens in the guess.
Recall that denotes the least fixed point of F.
Lemma 7.4. The leaky map is a map with unit increments. For every , we have , and and can be computed with at most evaluations of . Every fixed point of satisfies . Moreover, if and , then , and contains no fixed point of .
Proof. For each , let be the vector of token counts assigned to copy . To see what the leak changes, first count the arrivals from all copies: set . The leaky map uses the same token counts but omits the outputs of the four copies in , so . We use as a reference: on a scaled guess it equals , allowing us to measure how much the omitted outputs change the fixed-point search.
We first show that and have unit increments and map to itself, and that absorbs one of any consecutive tokens of a pivot. For and every , we have , so . Consider a step from to in . The difference is one if divides and zero otherwise. So exactly one copy receives the extra token at pivot , namely the copy with , and . Hence is if , and if . The same holds for without the exception . Also , and (as lies in and maps this box to itself). So and map to itself. As runs through consecutive values, runs through cyclically consecutive residues modulo , one of which is a multiple of , that is, in . In any consecutive steps that increase the same coordinate, at least one leaves unchanged because it reaches a leaky copy.
Next, we show the claims about . Every coordinate of is non-decreasing in , and it increases at most once as runs from to . A change can occur only when for some . These at most change points divide into at most intervals, and is constant on each of them. So it takes at most values, and is one of them. Hence , and and are computed with at most evaluations of . To compute , evaluate once for each such interval , multiply the result by , and add the results. Apart from these evaluations of , this takes arithmetic operations.
Next, we show that the fixed points of are close to each other. We also show that a fixed point is close to a guess if lies on the wrong side of . Let be a fixed point of , and let be a fixed point of as well, or a guess with and . We show that for all . Let , and let with . A path from to can begin with the steps in coordinate , which are consecutive steps along one line parallel to an axis. By Lemma 7.2, applied to the map , which has unit increments on the box , none of their tokens is absorbed by . But, as shown above, every consecutive steps in coordinate include an absorbed token. Thus . Now let with . A path from to can begin with the steps in coordinate , and Lemma 7.2 says that none of their tokens is absorbed by either. So the same argument gives . In particular, fixed points of satisfy .
Now we show that the fixed points of are close to . Let , and be the iterations of Lemma 3.3 for the three maps, so that for some . Since for all and all , we have . By induction, , so . Since and is monotone, by induction. The map has unit increments, so (4) holds for it, and for , so
Hence and . Moreover, , so for all , by induction and monotonicity of . By Lemma 3.3, the non-decreasing sequence becomes stationary at the least fixed point of , so . Every fixed point of satisfies . By the previous paragraph applied to , also . So for every . Dividing by and taking the floor gives for every , and thus .
Finally, let be such that . Then is not a fixed point of , so . Moreover, lies outside for some , as otherwise . By the bounds of the previous paragraph, for every fixed point of . So no fixed point of lies in , since otherwise for all , as shown above.
7.3 Cutting
We now describe an algorithm for finding the least fixed point of . It evaluates the leaky map at successive guesses and, when a guess is not a fixed point of , removes an -half-space from the remaining candidates. More precisely, the cutting algorithm keeps a set of candidates, initially , and it repeats the following round as long as is non-empty. It chooses a guess , and it computes , which gives the surplus , and . If is a fixed point of , it records . If , it outputs , which is by Lemma 7.4. Otherwise, it removes the -half-space from . If becomes empty, it outputs the recorded fixed point of with the smallest sum of entries. A fixed point of is output at once only if , since otherwise it need not be the least one. A point is -deep in a finite set if for all . With deep guesses, this is a variant of the search for approximate fixed points of maps that shrink distances by a constant factor [16, Section 4], to which MULTI-ARRIVAL can be reduced for the -distance. We count the evaluations as in their proof [16, Theorem 4.3].
Lemma 7.5. Regardless of how each guess w is chosen, the following hold.
– If the search stops, then it outputs the least fixed point of F.
– After rounds, is the union of at most disjoint boxes, and the round maintains this representation with arithmetic operations on integers with bits.
– If, for some real with , every guess is -deep in the current set , then the search stops after rounds and evaluations of .
Proof. We first show that the output is if the search stops. Every guess lies in . If the search stops at a guess with , then is a fixed point of , so its output is by Lemma 7.4. Otherwise, the search stops because has become empty. The map has unit increments, by Lemma 7.4, so it is monotone and has a fixed point by Lemma 3.3. This fixed point belongs to the initial set , so some round removes a fixed point of . In this round, and contains a fixed point of , so by Lemma 7.4. The round has recorded , since . Any recorded point is a fixed point of , and so at least in every entry by Lemma 3.3. So is the recorded point with the smallest sum of entries, and it is the output.
For the second claim, suppose that, in each coordinate, is partitioned into at most intervals of consecutive integers. The products of one interval from each coordinate partition form a grid, and we call these products its cells. Initially, is the single cell of the grid with the intervals . A round refines the grid by cutting, in every coordinate , the interval that contains into the parts below , at and above , which adds at most two intervals per coordinate. By Lemma 7.1, whether a point lies in the removed set depends only on , which is constant on each cell of the refined grid, so the removed set is a union of such cells. So after rounds, is a union of cells of a grid with at most intervals per coordinate, and the cells are disjoint boxes. The round refines the cells and tests, for each cell of the refined grid, if it lies in . The test applies Lemma 7.1 to the sign vector of the cell relative to , which takes operations per cell. All coordinates and all surpluses are integers of absolute value at most .
For the third claim, consider a round after which the search continues. Then , and as is -deep in , the round removes at least candidates. A round starts only if , so if such rounds are followed by another one, then
as starts with candidates. So , where . So the search stops after rounds, and any round uses at most evaluations of , by Lemma 7.4.
8 Deep guesses
In every round of the cutting algorithm, we deterministically compute a guess that is -deep in the current candidate set (Lemma 8.11). Section 8.1 shows that deep points exist and can be rounded down, Section 8.2 computes a deepest point of few weighted points by brute force, Section 8.3 computes a small weighted sample that represents the candidates, and Section 8.4 combines these steps.
8.1 -centerpoints
We use the -centerpoint theorem of Haslebacher et al. [16, Theorem 3.18]. It is stated for a family of distances indexed by a parameter , with for the -distance, and with half-spaces [16, Definition 3.2], which for are the -half-spaces of Definition 3.2. Their is the dimension, which is for us, and the directions range over the set of vectors of Euclidean norm one. The statement reads “Let be arbitrary, and let be a finite set of points. There exists a point such that for all .”
Since does not change when is multiplied by a positive number (the remark after Definition 3.2), the directions of Euclidean norm one cover all directions . For and , the theorem reads as follows.
Proposition 8.1 ([16, Theorem 3.18], for the -distance). Let be a finite set of points. There is a point so that for all .
We work with finite sets with positive integer weights, since the compression of Section 8.3 produces weighted points, and with multisets, where the weight of a point is its multiplicity. For such a set, denotes the total weight of the points of in a set , and the total weight. The depth of a point in is , so a point is -deep in a finite set (Section 7.3) if and only if .
The guesses must be integer points, and rounding down does not hurt, by the following lemma. Its sign argument also appears in an earlier proof that rounds to the nearest point of a grid [16, Lemma 4.4].
Lemma 8.2. Let and . If , then . In particular, for every finite weighted set . Moreover, if is non-empty and , then .
Proof. We compare with . Rounding down is monotone, so gives , gives , and gives . So arises from by replacing some entries by 0, which replaces summands by in the sum of Lemma 7.1 and can only increase the sum. Hence implies . Every has , so for every , which gives the claim about the depths. The last claim holds since has integer corners.
Proposition 8.1 extends to weighted sets as follows. The first claim of the next lemma is known for the points that Proposition 8.1 gives [16, Lemma 3.19], and a version of the second claim for unweighted sets of grid points [16, Lemma 4.4].
Lemma 8.3. Let be a finite non-empty set with positive integer weights. Then each point of positive depth in lies in , and there is a point with .
Proof. For the first claim, let , so that for all or for all , for some coordinate . In the first case, every has , so the sum of Lemma 7.1 for is -1, and no point of lies in . In the second case, no point of lies in . So .
For the second claim, we spread the weight of every point over distinct points nearby, apply Proposition 8.1, and round the point that it gives down. Let be the weight of , let , and let be the set of the points with and . These are distinct points, since the points of are integer points and all offsets satisfy . By Proposition 8.1, there is a point with for all , and we let . Every point of satisfies , so implies by Lemma 8.2. Since every gives points of , we get for all . Finally, by the first claim, since .
8.2 The case of few points
For a weighted set of few points, a deepest point can be computed exactly, since the -half-spaces cut out only few different subsets of the points, and those can be listed.
Definition 8.4 (Traces). For a multiset of points of , the traces of the -half-spaces on are the index sets for and .
In other words, a trace records which points of Y lie in one -half-space. In our context, the points are candidates, and the candidates that one round of the cutting algorithm removes form a trace. Many -half-spaces have the same trace, and Lemma 8.6 shows that there are only few distinct traces, with the following classical bound. A family of subsets of a finite set shatters a set if the sets with are all the subsets of .
Proposition 8.5 (Sauer–Shelah lemma [24, 25]). Let . A family of subsets of an -element set that shatters no -element set has at most members.
Lemma 8.6. Let be a multiset of points of , where . One can compute deterministically, in time , a set and, for any , a family of subsets of for which it holds:
-
For every , some has for all .
-
For every , the family consists of and of the traces on of the -half-spaces through .
– Every member of these families is a trace on Y, every trace on Y is a member of one of them, and they have at most members in total.
Proof. We first choose . For , let be the distinct -th coordinates of the points of . The type of a point records, for every , the position of among these values, that is, whether is equal to some , strictly between and , below or above . The sign vectors depend only on the type of , and there are at most types. For every type, contains one representative , with , , or , so that . By Lemma 7.1, every -half-space has the same trace as for the representative of the type of , so the families contain all traces on . The set is a trace as well. By Lemma 7.1, the -half-space through a point below all points of in every coordinate, in the direction , contains all of them.
Next, we describe for by linear inequalities, one orthant of directions at a time. For , consider the directions in the closed orthant for all , where . For , let have the entries if this is non-zero, and otherwise. Then the sum of Lemma 7.1 for and is , so the trace of is for every , while gives . Since every lies in some orthant , the family is the union, over all , of the families of the sets with .
These families are small. The members of are subsets of that closed half-spaces through the origin cut out from the points . Such half-spaces cannot cut out all subsets of any points . These points are linearly dependent, so there is a vector with and, say, for some . A vector with for all with and for all other would give . So shatters no -element subset of , and it has at most members by Proposition 8.5 with . In total, the families have at most members. To list the members of , call realisable if for some . The restriction of a realisable subset of to is realisable, by the same . So, starting from the empty subset of , for we extend every realisable subset of in both ways and keep the realisable extensions. A set is realisable if and only if a system of linear inequalities is feasible, which linear programming decides [19]. The system is for all , for and for the other . Here the strict inequalities have been scaled by a positive factor, which keeps in . This takes at most tests for every and , each in time . Computing the representatives and the sign vectors takes operations on numbers with bits per type. So the total time is .
Lemma 8.7. Let , and let be a set of points with positive integer weights. One can compute in time a point with .
Proof. We output a deepest point of the set Z of Lemma 8.6, as follows. We compute Z and the families of Lemma 8.6 for the m points of Y, and we give every index set the total weight of its points. By Lemma 7.1, the depth of a point depends only on the sign vectors , , so every point of is as deep as some point of Z. For , the depth is the least weight of a trace of an -half-space through , which is the least weight of a member of , since the additional set has the largest weight . We output a point for which this least weight is largest. By Lemma 8.3, some point of , and hence some point of , has depth at least , so . Hence by the first claim of Lemma 8.3. The families have at most members, and the weight of each is computed in time , so with Lemma 8.6, the total time is .
8.3 Sampling
To find deep guesses, we replace the candidates by a smaller weighted set that represents them, that is, every -half-space contains about the same fraction of as of the candidates. For two finite non-empty weighted sets , the error of this representation is
It satisfies the triangle inequality . Since the supremum runs over all -half-spaces, every point , also one computed from , satisfies
By Lemma 7.5, the candidates form a union of few boxes, which we compress as follows.
Lemma 8.8. Let be a non-empty disjoint union of non-empty boxes and an integer. Cut every side of every box into singletons if its length is at most , and otherwise into pieces of consecutive integers, the last one possibly shorter. Give every resulting sub-box its size as weight and its smallest point as representative, and let be the weighted set of the representatives. Then has at most points, , and .
Proof. Every side is cut into at most pieces, so every box has at most sub-boxes, and the sub-boxes partition , so . Fix and . If, for every coordinate , the -th side of a sub-box is a singleton or lies strictly on one side of , then is the same for all its points . By Lemma 7.1, the sub-box then lies inside or outside , and so does its representative. So the sub-box contributes the same to and to . Otherwise, we call the sub-box bad, and its contributions to the two counts differ by at most its size. For a fixed box and coordinate , at most one piece of the side has its smallest element at most and its largest at least . This piece has at least two elements only if the side is longer than . In this case, the piece has at most elements, where is the length of the side. So the bad sub-boxes of due to coordinate have total size less than , and summing over the coordinates and the boxes, the bad sub-boxes have total size at most . Hence and differ by at most , and dividing by gives the claim.
An exact deepest point of the representatives, rounded down, is almost as deep in the candidates. But there are up to representatives, and Lemma 8.7 on points takes time , which is for . To reach the time bound of Theorem 1.2, we replace the representatives by only points that represent all -half-spaces up to a small error. We compute these points with a deterministic algorithm of Chazelle and Matoušek [4], which follows an earlier scheme [21], and we use it only through its statement (Proposition 8.10).
Definition 8.9 (Set systems, -approximations and subsystem oracles [4]). A set system is a finite set with a family of subsets of , and for , the family consists of the different sets with . A set is an -approximation for if for all . The set system has a subsystem oracle of dimension if for all non-empty and if some algorithm lists, for a given non-empty , the sets of in time [4, Definition 2.2].
The original statement [4] writes for our . In Definition 8.9 and in the next statement, the -notation hides only constants that do not depend on , and time counts arithmetic operations [4, Section 1].
Proposition 8.10 ([4, Theorem 2.3]). Let be a set system with a subsystem oracle of dimension . For a given , one can compute ()-approximation of size for in time .
In words, suppose that any elements of meet the sets of in only different ways, which can be listed quickly. Then a subset of whose size does not depend on contains every set of in the right proportion, up to an error , and it is computed in time linear in . In our context, the elements of the ground set are the indices of a multiset of candidates, and consists of the traces of the -half-spaces on . Then a -approximation is the index set of a sub-multiset with .
8.4 Finding deep guesses
Since Proposition 8.10 counts arithmetic operations, we also need the bit sizes of the numbers that its algorithm uses. Chazelle and Matoušek [4, footnote 1] remark that, in the algorithms they consider, the bit size of every number is at most a constant multiple of the bit size of the input numbers. In our application, the subsystem oracle solves linear feasibility systems with at most inequalities in variables, with coefficients in and right-hand sides in (see the proof of Lemma 8.6). These tests have polynomial bit complexity in , which is absorbed by choosing the constant in the oracle dimension sufficiently large.
Lemma 8.11. Let , and let be a non-empty disjoint union of boxes, given by their corners. One can compute deterministically a point that is -deep in , in time .
Proof. Let . We compute a multiset of few points with , and then an exact deepest point of .
First, we compress by Lemma 8.8 with , so that , which gives a weighted set of points with and .
Second, we round the weights to multiplicities. Let . Let for every with weight , and add one to the entries with the largest fractional parts of . This number is the sum of these fractional parts, an integer that is at most the number of with a positive fractional part. So only such entries are increased, and for all . Let be the multiset that contains every exactly times, so that . For every -half-space , the numbers and differ by at most , and dividing by gives .
Third, we apply Proposition 8.10 to the set system ([K], ), where [K] indexes the points of X and consists of the traces of the -half-spaces on X. For non-empty , the sets of are the traces on the sub-multiset indexed by A. By Lemma 8.6, there are at most of them, and the union of the families of Lemma 8.6 for the points indexed by A, with repetitions removed, lists exactly them. The listing takes arithmetic operations, in which the coordinates enter only through comparisons and midpoints. Hence, for a suitable absolute constant , the system has a subsystem oracle of dimension . Proposition 8.10 with gives a sub-multiset , non-empty since , of points with . By the triangle inequality, .
Finally, Lemma 8.7, applied to the distinct points of with their multiplicities as weights, gives with , and we output . By (6), , and by Lemma 8.2, is at least as deep. Since as sets of points, , and so by Lemma 8.2.
Analysis of the run time. We have and . The compression and the rounding take operations on numbers with bits. The algorithm of Proposition 8.10 takes operations. Its input numbers are the indices in [K] and the coordinates that our subsystem oracle uses, so, by the remark at the beginning of this section, all its numbers have bits. Any bit size polynomial in and would also suffice for Theorem 1.2, since the lemma would then take time , and the proof of Theorem 1.2 applies it with and . The linear programs of the subsystem oracle have coefficients in and are solved in time , which is absorbed by the choice of . Lemma 8.7 on points takes time . So the total time is .
Proof of Theorem 1.2. Let , for deterministic centerpoint cutting, be the following algorithm. If , then , and it returns the least fixed point of without evaluations. Otherwise, it runs the cutting algorithm of Section 7.3 with the deterministic -deep guesses of Lemma 8.11, applying the lemma to written as the union of its boxes (Lemma 7.5). So, by Lemma 7.5 with , the search stops after rounds and evaluations of , and it outputs .
For the overhead, the time besides the evaluations, let , so that and . The number of rounds is , so in every round is the union of boxes. The bookkeeping of a round takes operations on integers with bits, by Lemma 7.5. All coordinates are at most , so Lemma 8.11 applies with an integer and takes time . Forming , and from the at most values of , as in the proof of Lemma 7.4, takes time per round. Hence the overhead is .
9 Finishing the proof
Proof of Theorem 1.1. We use Algorithm 1 with the set computed by Lemma 6.1 in polynomial time and partitioned into blocks. The block solver, given , runs the algorithm of Theorem 1.2 with in place of . The input has tokens, so Lemma 6.3 applies. The algorithm returns the numbers of the input instance, and it remains to choose and and to bound the run time.
Let , let and . Since (Section 4), we have , so and .
We now analyse the run time. The hypothesis of Lemma 6.3 concerns boxes with and , so that . The bounds of Theorem 1.2 grow with and . So on these boxes the block solver makes at most evaluations, and its overhead is at most , which gives
We may assume , so that . By Lemma 6.3, the logarithm of the run time is then at most
We bound the three terms with the parameters. Since and , we have , and hence
Next, . Finally, gives . Since , the logarithm of the run time is , that is, the run time is .
For ARRIVAL, the reduction of Section 4 gives a MULTI-ARRIVAL instance on vertices with . The bound becomes , since for , where .
References
[1] D. Auger, P. Coucheney and L. Duhazé. “Polynomial time algorithm for ARRIVAL on tree-like multigraphs”. In: Proceedings of the 47th International Symposium on Mathematical Foundations of Computer Science (MFCS 2022). Volume 241. Leibniz International Proceedings in Informatics (LIPIcs). 2022, 12:1–12:14. DOI: 10.4230/LIPIcs.MFCS.2022.12.
[2] D. Auger, P. Coucheney, L. Duhazé and K. R. Etse. “Generalized ARRIVAL problem for rotor walks in path multigraphs”. In: Proceedings of the 17th International Conference on Reachability Problems (RP 2023). Volume 14235. Lecture Notes in Computer Science. 2023, pages 183–198. DOI: 10.1007/978-3-031-45286-4_14.
[3] A. Bondy and U. Murty. Graph Theory. Volume 244. Graduate Texts in Mathematics. Springer-Verlag London, 2008, page 652. DOI: 10.1007/978-1-84628-970-5.
[4] B. Chazelle and J. Matoušek. “On linear-time deterministic algorithms for optimization problems in fixed dimension”. In: Journal of Algorithms 21.3 (1996), pages 579–597. DOI: 10.1006/jagm.1996.0060.
[5] X. Chen and Y. Li. “Improved Upper Bounds for Finding Tarski Fixed Points”. In: Proceedings of the 23rd ACM Conference on Economics and Computation (EC 2022). 2022, pages 1108–1118. DOI: 10.1145/3490486.3538297.
[6] X. Chen, Y. Li and M. Yannakakis. “The Mystery Deepens: On the Query Complexity of Tarski Fixed Points”. In: arXiv preprint arXiv:2604.00268 (2026). DOI: 10.48550/arXiv.2604.00268.
[7] C. Dang, Q. Qi and Y. Ye. “Computations and Complexities of Tarski’s Fixed Points and Supermodular Games”. In: Frontiers of Algorithms: Proceedings of the 18th International Joint Conference (IJTCS-FAW 2024). Volume 14752. Lecture Notes in Computer Science. 2024, pages 159–174. DOI: 10.1007/978-981-97-7752-5_13.
[8] J. Dohrau, B. Gärtner, M. Kohler, J. Matoušek and E. Welzl. “ARRIVAL: a zero-player graph game in NP ∩ coNP”. In: A Journey Through Discrete Mathematics. Springer, Cham, 2017, pages 367–374. DOI: 10.1007/978-3-319-44479-6_14.
[9] J. Fearnley, M. Gairing, M. Mnich and R. Savani. “Reachability switching games”. In: Logical Methods in Computer Science 17.2 (2021), 10:1–10:29. DOI: 10.23638/LMCS-17(2:10)2021.
[10] J. Fearnley, D. Pálvölgyi and R. Savani. “A Faster Algorithm for Finding Tarski Fixed Points”. In: ACM Transactions on Algorithms 18.3 (2022), 23:1–23:23. DOI: 10.1145/3524044.
[11] B. Gärtner, T. D. Hansen, P. Hubáček, K. Král, H. Mosaad and V. Slívová. "ARRIVAL: Next Stop in CLS". In: Proceedings of the 45th International Colloquium on Automata, Languages, and Programming (ICALP 2018). Volume 107. Leibniz International Proceedings in Informatics (LIPIcs). 2018, 60:1–60:13. DOI: 10.4230/LIPIcs.ICALP.2018.60.
[12] B. Gärtner, S. Haslebacher and H. P. Hoang. “A subexponential algorithm for ARRIVAL”. In: Proceedings of the 48th International Colloquium on Automata, Languages, and Programming (ICALP 2021). Volume 198. Leibniz International Proceedings in Informatics (LIPIcs). 2021, 69:1–69:14. DOI: 10.4230/LIPIcs.ICALP.2021.69.
[13] B. Gärtner, S. Haslebacher and H. P. Hoang. “Sinks and ladders: ARRIVAL and SSG with two vertices per level”. In: Proceedings of the 13th International Conference on Fun with Algorithms (FUN 2026). Volume 366. Leibniz International Proceedings in Informatics (LIPIcs). 2026, 19:1–19:16. DOI: 10.4230/LIPIcs.FUN.2026.19.
[14] E. Ghorbani, J. Leander Hoff and M. Mnich. “A quasi-polynomial time algorithm for Multi-Arrival on tree-like multigraphs”. In: Proceedings of the 42nd International Symposium on Theoretical Aspects of Computer Science (STACS 2025). Volume 327. Leibniz International Proceedings in Informatics (LIPIcs). 2025, 39:1–39:19. DOI: 10.4230/LIPIcs.STACS.2025.39.
[15] S. Haslebacher. “ARRIVAL: Recursive Framework & -Contraction”. In: Proceedings of the 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025). Volume 334. Leibniz International Proceedings in Informatics (LIPIcs). 2025, 95:1–95:17. DOI: 10.4230/LIPIcs.ICALP.2025.95.
[16] S. Haslebacher, J. Lill, P. Schnider and S. Weber. “Query-Efficient Fixpoints of -Contractions”. In: Proceedings of the 66th IEEE Annual Symposium on Foundations of Computer Science (FOCS 2025). Full version: arXiv:2503.16089; theorem numbers refer to it. 2025, pages 2037–2053. DOI: 10.1109/FOCS63196.2025.00109.
[17] H. P. Hoang. “On Two Combinatorial Reconfiguration Problems: Reachability and Hamiltonianity”. PhD thesis. ETH Zurich, 2022. DOI: 10.3929/ethz-b-000572947.
[18] Karthik C. S. “Did the train reach its destination: The complexity of finding a witness”. In: Information Processing Letters 121 (2017), pages 17–21. DOI: 10.1016/j.ipl.2017.01.004.
[19] L. G. Khachiyan. “A polynomial algorithm in linear programming”. In: Soviet Mathematics Doklady 20 (1979), pages 191–194.
[20] J. Matoušek. “Computing the center of planar point sets”. In: Discrete and Computational Geometry: Papers from the DIMACS Special Year. Volume 6. DIMACS Series in Discrete Mathematics and Theoretical Computer Science. American Mathematical Society, 1991, pages 221–230. DOI: 10.1090/dimacs/006/14.
[21] J. Matoušek. “Approximations and optimal geometric divide-and-conquer”. In: Journal of Computer and System Sciences 50.2 (1995), pages 203–208. DOI: 10.1006/jcss.1995.1018.
[22] N. H. Mustafa and K. Varadarajan. “Epsilon-approximations and epsilon-nets”. In: Handbook of Discrete and Computational Geometry. Third. CRC Press, 2017. Chapter 47, pages 1241–1267. DOI: 10.1201/9781315119601.
[23] T. Nguyen, A. Scott and P. Seymour. "Distant Digraph Domination". In: Electronic Journal of Combinatorics 33.1 (2026), P1.32. DOI: 10.37236/13556.
[24] N. Sauer. “On the density of families of sets”. In: Journal of Combinatorial Theory, Series A 13.1 (1972), pages 145–147. DOI: 10.1016/0097-3165(72)90019-2.
[25] S. Shelah. “A combinatorial problem; stability and order for models and theories in infinitary languages”. In: Pacific Journal of Mathematics 41.1 (1972), pages 247–261. DOI: 10.2140/pjm.1972.41.247.
[26] A. Tarski. “A lattice-theoretical fixpoint theorem and its applications”. In: Pacific Journal of Mathematics 5.2 (1955), pages 285–309. DOI: 10.2140/pjm.1955.5.285.