Manuscript Offprint
arXiv:2611.08705Faster Treasure Hunt via Strongly Universal Exploration with Polylogarithmic Overhead
QIN XIN, University of the Faroe Islands, Faroe Islands
We study deterministic exploration and delayed-activation treasure hunt in anonymous undirected port-labeled graphs with incoming-port information. From polynomial-time constructible ordinary universal exploration sequences of length for a fixed regular degree, we construct a single infinite strongly universal exploration sequence with cover time . Summable dyadic insertion schedules yield the sharper bound for every fixed , together with refinements at every fixed iterated-logarithm depth. The proof combines reversible excursions, neutral guards and an arbitrary-window argument that treats both orientations simultaneously. For this recurrence, uniform linear expansion is equivalent to convergence of the normalized period sum. Exact counting identities also permit direct instruction access. With a logspace ordinary generator, table-free enumeration of decreasing scale paths computes instruction using working bits and time polynomial in . The earlier polynomial-slack bounds follow as corollaries. A local cubic simulation extends the treasure-hunt application to arbitrary-degree graphs, with the -vertex replacement size included explicitly in the bound.
CCS Concepts: • Theory of computation → Graph algorithms analysis; Distributed algorithms; Design and analysis of algorithms.
Additional Key Words and Phrases: Strongly universal exploration sequences, deterministic treasure hunt, anonymous graphs, mobile agents, backtracking, graph exploration
1 Introduction
Universal exploration sequences encode deterministic walks that cover every graph in a specified class, for every local port numbering and every starting directed edge. Their strongly universal counterparts require the same guarantee in every contiguous window of a prescribed length. This distinction matters when a mobile agent has been running for an arbitrarily long time before a target becomes active: a covering prefix alone does not bound the delay after an arbitrary later activation.
The treasure hunt problem formalizes this requirement. An agent explores an unknown connected graph, while a stationary treasure is activated at an adversarially chosen time and vertex. The agent knows neither the graph size nor the treasure’s activation time. The objective is to bound the meeting delay from the later activation in terms of the graph alone. A strongly universal exploration sequence provides such a bound when the agent learns its incoming port after each traversal.
Ta-Shma and Zwick introduced the delayed treasure hunt formulation and strongly universal sequences [14, 15]. Their construction converts ordinary exploration sequences of length into strongly universal exploration sequences with cover time . The author’s conference paper [16], with the later presentation [17], improved the exponent to for each sufficiently large fixed integer . The dependence on a fixed parameter is essential: one cannot infer a single near-linear-overhead infinite sequence merely by allowing that parameter to vary with the unknown graph size.
*This manuscript extends the author’s ISAAC 2007 paper, Faster Treasure Hunt and Better Strongly Universal Exploration Sequences, pp. 549–560, DOI: 10.1007/978-3-540-77120-3_48, and the 2012 preprint arXiv:1204.5442. The extensions include summable insertion periods and fixed-depth iterated-logarithm bounds, a complete integer-period window proof, direct instruction access with logarithmic-workspace recomputation, and a characterization of linear expansion.
Author’s Contact Information: Qin Xin, Faculty of Science and Technology, University of the Faroe Islands, Tórshavn, Faroe Islands, qinx@setur.no.
Qin Xin
Table 1. Cover-time bounds relative to an -length ordinary UES family.
| Construction | Cover time |
|---|---|
| Ta-Shma-Zwick [14, 15] | |
| Earlier conference result [16, 17] | |
| Summable square-log periods | |
| Summable log-power periods | |
| Summable iterated-log periods | |
| Any fixed depth |
We replace polynomial slack by summable insertion schedules. The following two schedules give the principal bounds; each defines a single infinite sequence independently of the unknown graph size and activation time.
THEOREM 1.1 (HEADLINE BOUNDS). Assume polynomial-time ordinary UESs of length for a fixed regular degree, with .
(1) The periods
give one prefix-polynomially constructible infinite SUES with cover time .
(2) Fix a rational , and put
These periods give one such SUES with cover time
Both statements follow from Theorem 3.1 and the budget calculations in Section 6. For any real , a smaller fixed positive rational gives the asserted upper bound. Here is inherited from the ordinary UES family, whereas controls the logarithmic overhead. To make all asymptotic expressions valid at small sizes, regularize each logarithm by 1. Write and . For , define
where an empty product equals one. Theorem 6.1 gives the more general bound at every fixed depth .
Table 1 compares the conversion costs in the same fixed-degree model. Here , up to constant-factor normalization of the underlying UES family. The constants may depend on the displayed fixed parameter.
The conversion admits two implementations with different time and space costs. Exact excursion counts yield direct instruction access with at most one skeleton query and, with a logspace base generator, working bits at absolute position (Theorem 9.4). Table-free enumeration of decreasing scale paths reduces the workspace to bits while retaining polynomial time in (Theorem 9.6 and Corollary 9.7). A complementary structural result, Theorem 10.1, characterizes uniform linear expansion by convergence of the normalized period sum. Its harmonic-boundary consequence applies specifically to this recurrence.
The fixed-degree conversion preserves the exponent of the ordinary UES family. Its treasure-hunt application extends to arbitrary-degree graphs through a local cubic simulation that charges one physical slot per virtual step and includes the -vertex replacement size in the bound. Both guarantees assume incoming-port information. The earlier and bounds follow as corollaries with exact integer periods. The existence of an cover-time conversion remains unresolved here.
All constructions and proofs of the new results are given in full. Appendix A analyzes the earlier unguarded words: an exact integer ruler interpretation gives the improved length bound for the original -scale word, and a finite-tail argument proves linear length for every fixed polynomial-slack parameter. Appendix B gives a closed form for the historical auxiliary series, and Appendix C presents the complete search procedure. The ordinary UES family is used through the interface specified in Section 2.
1.2 Related work
Random walks and universal traversal sequences provide the classical background [1, 2]. Exploration sequences with backtracking were studied by Koucký [7]. Reingold's logspace construction supplies the explicit polynomial-length UES family used as a black box here [11, 12]. Earlier deterministic rendezvous algorithms, under several activation and information assumptions, include [4, 5, 8, 9]; asynchronous rendezvous is considered in [3]. The present paper concerns the stationary-target application and does not assert a new label-dependent bound for two moving agents.
The 2026 journal study of self-stabilizing graph exploration [13] discusses the earlier strongly universal exploration bounds, while its own algorithms permit node whiteboards and use additional information. Here the graph is anonymous and has no writable node memory. A bound from a model with whiteboards is therefore not directly comparable to the sequence conversion studied in this paper.
Space and marker tradeoffs for undirected graph exploration are studied by Disser, Hackfeld and Klimm [6]. Their bounds use graph size and marker or agent resources. The present generation bound is in absolute instruction position, with no pebbles or node memory. Pelc [10] surveys the distinct label, activation and movement assumptions in deterministic rendezvous.
2 Model and preliminaries
2.1 Graphs, instructions, and activation
For the sequence theorems, fix . A graph is a nonempty, finite, connected, undirected -regular port-labeled multigraph. Loops and parallel edges are allowed, as required by the cubic simulation. Every edge, including a loop, has two incident ports; local port numbers lie in . The port numbers at the two ends of an edge need not agree.
A state is a directed edge ending at the current vertex. Its incident ports are part of the state, so parallel edges and the two orientations of a loop remain distinguishable as directed edges. If its incoming port is , instruction traverses the edge at port . Thus an instruction word and a starting directed edge
Qin Xin
determine states , . Coverage counts the current vertex and the vertices ; it does not count an unvisited tail . An initial incoming port may be chosen fictitiously, since the guarantee holds for every starting directed edge.
Time is measured in discrete slots. Activations occur at slot boundaries, and a meeting includes the current vertex before the next move. Each edge traversal or stay consumes one slot; local computation is accounted for separately.
The agent knows the degree of its current vertex and learns the entry port after an edge traversal. It may keep internal state and may traverse an edge or stay in place in each synchronous slot. It has no vertex identifiers, markers, or writable node memory. The regular-graph sequence itself uses only edge traversals. The general-graph simulation may use stay slots. Time bounds count all slots.
For treasure hunt, the agent and the stationary treasure have arbitrary activation times. A meeting requires both to be active at the same vertex. The delay is measured from the later activation. The agent is not told the activation time of the treasure or the graph size.
Definition 2.1. A word is a UES for a graph class if its walk covers every graph in the class from every starting directed edge and every port labeling. An infinite word is a SUES with cover time if every contiguous factor of length is a UES for graphs of size at most n.
An infinite word is prefix-polynomially constructible if its first output symbols can be generated deterministically in time polynomial in the numerical output length . Period computation is governed separately by Assumption 3.1; an oracle for the periods is not part of the constructibility definition. Traversal slots and local computation are analyzed as separate resources.
2.2 Reversal and neutral excursions
For a word , let
All arithmetic on instructions is modulo d.
LEMMA 2.2. The words 00 and restore their starting directed-edge state. Also . If W is a UES, then is a UES under the coverage convention above.
PROOF. Let denote the state permutation induced by . Let reverse a directed edge, and let rotate an outgoing port by at its tail. The state map of one instruction is , a permutation, and its inverse is . Multiplying these identities gives . The state map of is therefore , the identity. Also is the identity, proving the assertion for 00. Reversing and negating the letters of gives the displayed inverse word.
To prove coverage, take any starting directed edge for . Because is a permutation, there is a directed edge such that executing from ends at . If this run visits , the run of from starts at , traverses the same path backwards, and additionally reaches . It therefore visits every , , at or after the start of the guarded inverse walk.
2.3 A prefix-compatible skeleton
An ordinary UES family need not be prefix compatible. We first combine its words into a single infinite skeleton while preserving the polynomial length exponent.
Assume that ordinary UESs , universal for all graphs in the chosen fixed-degree class with at most vertices, have length at most and are deterministically constructible in polynomial time, for a fixed . Reingold's construction supplies such a fixed exponent [12]; its rotation-map framework permits the loops and parallel edges required below. Constants may depend on that fixed degree and chosen base family; displayed subscripts record additional fixed parameters.
If a base theorem is formulated for exactly vertices, concatenate its outputs for sizes to obtain an at-most- family. Every valid graph has its own covering component, entered from an arbitrary state. Polynomial length and time, and logarithmic streaming workspace, are preserved. This optional normalization may increase an unspecified polynomial exponent; throughout, denotes the exponent of the chosen at-most-size family. The conversion adds no further power of .
LEMMA 2.3. There is a prefix-polynomially constructible infinite word such that, for every , some dyadic has universal for graphs of size at most . Every is a prefix of every longer .
PROOF. For each , append zeros to , if necessary, until its length is at least . Its padded length is , since . Concatenate these padded components for . For , the prefix through the complete component has length
The component covers every graph of size at most , regardless of the state reached through the preceding components. Hence this entire prefix is universal for those graphs. Round this prefix length up to a power of two . Its extra suffix cannot destroy coverage, and increases by less than a factor of two.
To generate a prefix of symbols, the component for size can be needed only if the preceding components have total length less than . Their padding gives total length at least , so . Thus all required component generators, including a possible final partial component, have inputs of size at most , and there are components. Their construction and padding are polynomial in . The empty prefix is immediate. This normalization never needs to compute the exponent .
We use these skeleton prefixes for every dyadic length . The graph size , the skeleton length , and the recursive target length are distinct parameters (Table 2). In the application, Lemma 2.3 chooses ; is a larger containing dyadic size and is not a graph-size parameter.
3 A general summable-period theorem
Choose a strictly increasing sequence of powers of two such that
Because the periods are powers of two, each period divides every larger one. Define
Qin Xin
Table 2. Parameters used in the conversion.
| Symbol | Meaning |
|---|---|
| Number of graph vertices | |
| Dyadic outer skeleton length of | |
| Expanded instruction length | |
| Dyadic target skeleton length | |
| Insertion period for target | |
| Base UES exponent; fixed logarithmic slack | |
| Absolute instruction position |
Here means exact integer divisibility, not the inequality . Since , every nonzero is at most .
Define recursively
and, for dyadic ,
All referenced words are smaller than , so this definition is well founded. Neither nor the skeleton symbols depend on the terminal size ; hence is a prefix of whenever are dyadic. Let
ASSUMPTION 3.1 (PERIOD LISTING). Given an integer , the complete indexed list of periods can be computed in time polynomial in .
This is a separate algorithmic hypothesis, not part of the definition of prefix-polynomial constructibility. Every concrete schedule in Section 6 satisfies it.
THEOREM 3.1 (SUMMABLE-PERIOD CONVERSION). For the construction (2)–(4), the following hold.
(1) Every dyadic word has length .
(2) For every , writing , every factor of of length contains or as a contiguous factor.
(3) If is a UES for graphs of size at most , then has cover time at most on those graphs.
Finite prefixes are deterministically constructible in time polynomial in their length if the skeleton prefixes are and Assumption 3.1 holds.
The proof combines a summable length bound with endpoint control for arbitrary windows. The guard pair 00 is neutral on the directed-edge state and costs two symbols per skeleton gap. For dyadic , the construction gives , hence . Therefore ends with the guarded target . When , the central reversal zero supplies the guard instead. Lemma 4.2 establishes the endpoint properties in both orientations.
4 Linear expansion and boundary control
Write . We first bound the expansion at every recursive scale. This estimate will control both the lengths of endpoint targets and the total contribution of smaller insertions within one period.
LEMMA 4.1 (LINEAR EXPANSION). For every dyadic , .
PROOF. Induct on the dyadic size . The base case is . For , the construction has skeleton symbols and skeleton gaps, with two guard zeros per gap. Excursion separators are counted inside . There are at most positions whose selected value is , since every such position is divisible by . Overcounting positions divisible by several periods only increases the bound. Using the induction hypothesis,
Every active child satisfies , so each use of the induction hypothesis is valid.
Fix a target scale , put , and define the two target words
Call a factor avoiding if it contains neither target word. A top-level insertion , or its inverse, is large at this scale if . We next locate targets at the ends of these blocks and bound the gaps between them.
LEMMA 4.2 (GUARDS AT BOTH ENDS OF LARGE BLOCKS). Each large block, in either orientation, contains a target word within its first symbols and within its last symbols. Furthermore, .
PROOF. For dyadic , prefix compatibility and (4) give for some word . Thus . Consequently begins with and ends with . For equality , explicitly, begins with and ends with , while begins with and ends with . For , since
the inverse block begins with and ends with . The stated occurrences fit within symbols of both ends. Finally, since and by (2),
In particular, the bound follows solely from (2) and Lemma 4.1.
LEMMA 4.3 (SHORT GAPS). In the top-level decomposition of , or of , every gap outside large blocks has length at most 5Q.
PROOF. If , the entire word has length at most , by Lemma 4.1. Hence suppose . An insertion is large exactly when its index is divisible by . Indeed, divisibility by a higher period implies divisibility by , and divisibility by activates level . The delimiters are successive multiples of , so their index interval contains at most skeleton symbols. There are at most associated skeleton transitions, each carrying one guard pair: at most guard zeros. Boundary gaps satisfy the same bounds. All remaining excursions have scales ; their two separator zeros are counted separately inside .
Qin Xin
Since every , , divides , any consecutive index positions contain exactly multiples of . An interval of at most positions contains no more. Overcounting as in Lemma 4.1, the gap length is at most
Inverting a word reverses these gaps and preserves their lengths.
LEMMA 4.4 (SHORT AVOIDING PREFIXES AND SUFFIXES). For every dyadic , each avoiding prefix or suffix of , or of , has length at most 6Q.
PROOF. If , any prefix or suffix, including the whole word, has length at most , by Lemma 4.1. Otherwise , because both are dyadic. At indices and , the selected value in (3) is exactly : their 2-adic valuation equals that of , and all higher periods are multiples of . There is therefore a full at each of these indices, with the same block serving both roles when .
The first and last gaps each have length at most 5Q, by Lemma 4.3. By Lemma 4.2, a target occurs within the first symbols of the first large block and within the last symbols of the last large block. An avoiding prefix or suffix must stop before it contains the corresponding occurrence, so its length is at most . The same argument applies to the inverted blocks in .
5 The arbitrary-window guarantee
The boundary estimates control an avoiding factor that crosses top-level block boundaries. A factor contained in a single large block is handled by induction on its smaller recursive halves. We state the boundary case first to keep these two arguments independent.
LEMMA 5.1 (MEETING ORDERED BLOCKS). Fix , as above. An avoiding factor not contained in one top-level large block meets at most two large blocks. If it meets two, they are consecutive, and its intersections are a suffix of the first and a prefix of the second. Its length is at most .
PROOF. The top-level large blocks occupy disjoint ordered intervals. A contiguous factor meeting three of them contains the middle interval entirely, including a target from Lemma 4.2. This contradicts avoidance. The argument uses only the endpoint targets.
If two blocks are met, any intervening block would likewise be fully contained; hence the two are consecutive. The factor cannot contain either whole block, so its intersections are a suffix and a prefix. Each has length less than : an intersection of length at least would contain the corresponding endpoint target. The intervening gap has length at most 5Q by Lemma 4.3. If one or no block is met, the same estimate holds with the absent pieces omitted. A factor meeting one block cannot extend beyond both its ends, since it would then contain that block entirely.
LEMMA 5.2 (WINDOW LEMMA). Every avoiding factor of or has length at most .
PROOF. Induct simultaneously on the dyadic size , for both orientations. For , each orientation consists of one symbol, so every avoiding factor has length at most . Now let , and assume the claim for every smaller dyadic size in both orientations. If there are no large blocks, Lemma 4.3 bounds the entire word, and hence every factor, by 5Q.
If an avoiding factor is not contained in a single large block, Lemma 5.1 gives .
Otherwise lies inside , or inside its inverse , where . If is contained in one of the two halves , the induction hypothesis applies. In every remaining case, contains at least one separator zero. Its nonempty intersections with the halves are avoiding prefixes or suffixes, each of length at most by Lemma 4.4. There are at most two separator zeros. The same estimate covers a factor consisting only of a separator, so in all cases.
PROOF OF THEOREM 3.1. The length claim is Lemma 4.1. Any finite factor of the prefix limit is contained in some , so Lemma 5.2 gives the claimed target in every length- window.
By Lemma 2.2, every 00 and every in (4) restores its starting directed-edge state. Consequently, at its designated skeleton steps, the execution of follows exactly the walk prescribed by . If is a UES, then covers every required vertex as well. The same lemma makes a UES. A word containing either target as a contiguous factor therefore covers the graph from every starting directed edge. This establishes the SUES property.
To generate a prefix of symbols, choose a dyadic with , and generate recursively with cached smaller words. It contains at least symbols and at most . The sum of the lengths of all cached dyadic words is ; a straightforward implementation, including period listing, divisibility tests, and skeleton generation, is polynomial in . This proves the stated explicitness.
6 Explicit schedules and the resulting bounds
The conversion theorem reduces the cover-time analysis to a choice of periods. We now give explicit schedules, verify their summability budgets and establish the required integer computability.
6.1 A square-logarithm schedule
Choose
Then
The first periods are 16, 128, 1024, 2048, 8192, … Since the relevant dyadic can be chosen to be , Theorem 3.1 gives .
6.2 Any fixed power above one on the logarithm
For fixed , let
The integral test gives
The periods satisfy (2), so the cover time is
Qin Xin
For algorithmic definiteness one may choose any fixed positive rational ; for an arbitrary requested real exponent, a smaller positive rational gives a bound at least as strong.
6.3 A two-level iterated-logarithm schedule
More generally, take any nondecreasing with , and choose a fixed integer satisfying . Put
These are strictly increasing dyadic periods, satisfy (2), and are . For the explicitness claim, require that the complete list of periods at most can be computed in time polynomial in . The concrete schedules below satisfy this condition. Taking
makes the reciprocal sum converge and yields (1). More explicitly, grouping the integers by gives
Thus the same as in Section 6.2 is sufficient. For fixed rational , the rounding test is exactly the integer comparison . This computes the integer periods without floating-point ambiguity in polynomial time. Smaller rational parameters cover every requested real , as in Section 6.2.
6.4 Any fixed iterated-logarithm depth
The same construction admits an arbitrary fixed number of iterated logarithms. The depth is fixed when the infinite sequence is defined.
THEOREM 6.1 (FIXED-DEPTH ITERATED-LOGARITHM CONVERSION). Assume the ordinary UES family of Lemma 2.3. For every fixed integer and every fixed , there is a prefix-polynomially constructible infinite SUES with cover time
For , respectively, the overheads are
| overhead | |
|---|---|
| 1 | |
| 2 | |
| 3 | . |
PROOF. For positive integers , define the rounded logarithms
For , use . For , put and set
Each is nondecreasing and at least one.
We first bound the reciprocal sum. Let , denote the sum of the reciprocals of the displayed depth- weights over . Group by . For every , the group is exactly , and
Also on that group. Hence
The extra one is the term ; all its rounded logarithms equal one. Therefore, for every ,
For , the same bound follows directly from the integral test.
Choose
These periods are strictly increasing powers of two, are at least , and satisfy
For , rounded and regularized logarithms differ by only depth-dependent constant factors. Thus and . Lemma 2.3 gives ; for , , where is the fixed normalization constant from that lemma. Theorem 3.1 gives the claimed cover time.
For explicitness, first take rational. Write a weight as , with positive integers: for , use ; for , use the integer product and final rounded logarithm above. The condition is exactly
All rounded logarithms and this comparison are computable with integer arithmetic. At fixed depth and fixed rational parameter, is at most polynomial in . To list periods below , it suffices to examine , because . Every such candidate period has bits, so the list is computable in polynomial time. For a general real , choose a fixed positive rational parameter smaller than ; its bound is at least as strong. The sequence and constants may depend on , but neither parameter depends on the unknown graph size or activation time.
The summability requirement explains why this particular proof does not immediately give : periods make the charging sum divergent. This is a limitation of the present sufficient condition, not a lower bound for SUESs.
7 Recovery of the earlier polynomial-slack bounds
The period theorem also gives a direct proof of the asymptotic results in the conference paper and its preprint.
COROLLARY 7.1. For every fixed integer , there is a prefix-polynomially constructible infinite SUES with cover time . In particular, gives .
Qin Xin
PROOF. Set , and choose the exact dyadic periods
They are strictly increasing and at least . To check the budget, let . Since , concavity on gives the chord bound
Taking yields . Hence
For , . Apply Theorem 3.1 and Lemma 2.3. The periods use only integer arithmetic because is an integer. Each fixed defines one infinite sequence valid at all graph sizes.
The polylogarithmic schedules are asymptotically stronger than every fixed- bound. They are established directly by a single summable schedule; they do not follow from a size-dependent choice of in Corollary 7.1.
8 Treasure hunt and arbitrary-degree graphs
The arbitrary-window guarantee applies directly at the later activation of the agent and treasure. We first state this consequence for the fixed-degree model, then give a local simulation for arbitrary degrees.
COROLLARY 8.1 (DELAYED TREASURE HUNT). For any cover time established by Theorem 3.1, executing the corresponding SUES finds an activated stationary treasure within that many slots after the later activation, on the fixed-degree graph class. For every fixed as in Theorem 6.1, the bound is ; in particular gives .
PROOF. If the treasure activates later, consider the instruction window beginning at its activation. If the agent activates later, consider the window beginning with the agent's first instruction. In both cases the current directed edge is arbitrary and the next window is universal. The treasure vertex is visited while both entities are active. No knowledge of or of either activation difference is used.
We next make the degree reduction explicit. Let denote the exponent of an ordinary UES family for connected cubic port-labeled multigraphs. We keep this symbol separate from any exponent for a different base graph class.
PROPOSITION 8.2 (LOCAL CUBIC SIMULATION). Let be a connected undirected port-labeled graph with edges and arbitrary positive vertex degrees. For every fixed , and without knowing or , an agent with incoming-port information can execute a cubic SUES virtually, one virtual step per physical slot. Thus deterministic treasure hunt is possible within
slots after the later activation. For simple n-vertex graphs this implies .
PROOF. Replace a vertex of degree by virtual vertices , . Each virtual vertex has ports 0, 1, 2. Port 0 connects to , at port 2 of the latter. Port 2 is the reverse cycle direction. If original port of is paired with port of , connect port 1 of to port 1 of . Degrees one and two produce loops or parallel cycle edges, which are allowed.
This graph has virtual vertices, is cubic, and is connected: each local cycle connects all ports at its vertex, and the cross edges reproduce every original adjacency.
The agent stores its current virtual index and its virtual incoming port . At a cubic instruction , let . If , it stays at , replaces by , and sets . If , it stays at , replaces by , and sets . If , it traverses original port , learns entry port at , and sets , . Each case uses one slot and exactly simulates the relevant virtual edge. Initially choose , , a valid fictitious incoming edge. All updates use only local degrees, the learned incoming port, and internal state.
The virtual sequence is followed continuously from activation. Every covering window for virtual vertices visits a virtual copy of every original vertex. Corollary 8.1 therefore applies, including activation during a virtual cycle step, whose physical stay still consumes a slot. Theorem 6.1 supplies the cubic cover time at every fixed depth. Since for simple graphs and fixed-depth regularized logarithms change by at most constant factors under a fixed polynomial rescaling, the final assertion follows. A connected graph with has a single vertex and is immediate.
This proposition is not an identification of with a numerical exponent for arbitrary-degree UESs. The regularization size is part of the bound. For graphs with parallel edges, need not be , so the edge-parameter bound is the applicable statement.
9 Exact lengths and direct access
The prefix construction proves explicitness by materializing finite words. A different implementation can locate a single instruction without storing the expanded word. This distinction is relevant when an agent has been active for a long time: the graph-traversal guarantee is independent of that age, while an implementation should avoid retaining a record of all preceding instructions.
We derive exact counting identities that determine the expansion geometry and allow navigation through the recursive word. Lemmas 9.1 and 9.2 require only strictly increasing dyadic periods with ; their proofs do not use summability. The resource bounds in this section additionally assume the period budget of Theorem 3.1. A skeleton query returns a symbol of the normalized infinite base word. We separate the cost of that query from the additional cost of the conversion.
9.1 Counting selected excursions
For a positive integer , define
The upper limit matters: a word ending at its th skeleton symbol does not include the excursion following that symbol. A period exceeding this limit contributes a zero quotient, so only finitely many terms can be nonzero.
LEMMA 9.1 (EXACT EXCURSION COUNTS). Precisely indices in select . Moreover,
PROOF. The condition is equivalent to . Since the higher periods are nested multiples of , the condition is equivalent to . Their difference counts the selected level exactly. The nonnegative differences telescope, and the final quotient is zero at sufficiently high levels. In contrast to the earlier upper estimates, this count does not charge an index to every period dividing it.
Qin Xin
Let be the one-based position of the th designated outer skeleton symbol in the expanded infinite word. Designation refers to the outer skeleton , not to additional copies of a letter inside excursions. Prefix compatibility makes the position independent of the dyadic terminal size used to contain it.
LEMMA 9.2 (SKELETON BOUNDARY POSITIONS). For every positive integer L,
For dyadic , , and
In particular, F is strictly increasing.
PROOF. The prefix through the Lth designated symbol has skeleton letters, guard pairs, and exactly the excursions counted by Lemma 9.1. A level- excursion has length . Adding the three contributions gives (6). At dyadic terminal size , the prefix is exactly .
Passing to the next skeleton boundary appends two guard zeros, the selected excursion if nonempty, and one skeleton letter. This gives the difference formula. At the sum vanishes and , so the smallest case is included.
This definition avoids assigning a recursive word to a nondyadic size. The quantity identifies a boundary inside a word already defined by the construction; it does not require extending the family by an unstated rounding rule.
9.2 Length tables without expanded words
Fix and put . The exact recurrence is
A nonzero summand has and . Therefore , and each required child length is available before its parent is evaluated.
PROPOSITION 9.3 (LENGTH PREPROCESSING). Given the indexed periods below , the table can be computed with arithmetic operations on -bit integers and bits of storage.
PROOF. Evaluate (7) in increasing order of . Each of at most stages has at most relevant levels. Quotients by the dyadic periods are shifts. A next period beyond the bound contributes zero and can be represented by a sentinel rather than by an arbitrarily large integer.
The linear bound gives . Counts, products and partial sums consequently have bits. There are lengths and periods to retain. The operation and storage bounds follow. These are arithmetic-operation counts on integers of the stated bit length; elementary integer algorithms give a polynomial bit bound as well.
Direct instruction query Input: dyadic , position , length table. Initialize the sign .
(1) Find the largest with . (2) If , return . (3) Set . If , return zero. (4) Put , , . (5) If or , return zero. (6) If , replace by . (7) Otherwise replace
by .
(8) Repeat from step 1.
Fig. 1. One-symbol access without retaining an expanded word. In step 2, is the fixed graph degree.
The tables depend only on the insertion periods. They describe the expansion geometry independently of the ordinary exploration generator and can be reused for any skeleton word over a fixed-degree instruction alphabet.
9.3 Locating a symbol
For , binary search with (6) finds the largest with . Equality identifies . Otherwise put . Offsets one and two are guard zeros.
For , the selected excursion is nonempty. Set , , and . The offset is inside , with interpretation
| offset | instruction |
| 0 | |
| 0. |
(8)
The reflected index is always in : its values at the two endpoints are and , respectively.
Figure 1 is iterative. Its sign records containing inverse copies. After a child is selected, the parent is never used again, so no stack of parent expansions is needed.
THEOREM 9.4 (DIRECT-ACCESS CONVERSION). Given the periods and length table for , one symbol of can be found with at most one skeleton query, additional arithmetic operations, and additional working bits. For position in the infinite word, suffices.
PROOF. Maintain the invariant that the requested original symbol is . The monotonic boundary function uniquely identifies the containing skeleton interval. At equality it returns its skeleton letter. The next two positions are the guards.
A remaining position must lie in a nonempty excursion. Indeed, an empty excursion leaves only the two guards before the next designated letter, so would contradict the maximal choice of . The four rows of (8) are disjoint and exhaust the excursion. The forward row preserves the sign; the inverse row reflects the position and changes the sign. Both preserve the invariant. A separator returns zero irrespective of the sign.
Qin Xin
Every nonterminal iteration replaces by . There are only iterations. At , the unique valid position is the skeleton boundary, proving termination also at the smallest size. Only a terminal letter case calls the skeleton oracle, so there is at most one such query.
Evaluating takes arithmetic operations. Binary search uses evaluations per iteration; a scan of the same period list selects . Thus the total extra cost is operations. Each integer has bits. The tables use quadratic storage and the current search state uses linear further storage.
For an infinite-word position , choose the smallest dyadic . Since , the query is valid. Prefix compatibility makes the result independent of that terminal choice. The inequality gives the claimed logarithmic parameter bound, including .
The theorem bounds the cost of navigating the recursive word independently of the ordinary exploration generator. The cost of the normalized skeleton query must be added separately. Thus the conversion itself avoids storing or generating an expanded word whose length is comparable to the absolute instruction index.
9.4 Length recomputation in linear workspace
The quadratic-bit table is useful for fast queries, but it is not necessary for polynomial-time generation. Recomputing each required length permits a smaller workspace. The recomputation enumerates subsets of the scale indices, rather than expanded instructions.
For every , define
where the second equality is the telescoping identity in Lemma 9.1. For , put . Separating the two contributions in rewrites the exact recurrence as
The sum is empty when , giving . All levels, including , contribute their separator costs to . The separate term , when nonzero, accounts for the two copies of per level-zero excursion. Thus the level-zero contribution is neither omitted nor counted twice. Nonzero coefficients have .
For a subset , write its members in decreasing order , and put . Set
A product with a zero coefficient contributes zero.
LEMMA 9.5 (SUBSET-PATH LENGTH FORMULA). For every ,
Given read-only access to the relevant dyadic periods, , for , can be evaluated using additional working bits and bit operations apart from period-access costs.
PROOF. Unroll (9). Every nonconstant term selects a strictly smaller child index. A complete term therefore follows a decreasing path , ending at the constant . Such a path is uniquely specified by its set of child indices. The empty path contributes . Conversely, grouping nonempty subsets by their largest member recovers the recurrence, so induction on proves (10), including .
Enumerate the subsets by a -bit integer mask from zero through . For each mask scan the possible child indices in decreasing order. Retain only the current index and coefficient product, and finally multiply by the endpoint constant. A zero coefficient permits immediate rejection of that mask. Accumulate the resulting nonnegative terms. No list of paths, recursion stack, or array of earlier lengths is stored.
The expansion bound gives . All terms in (10) are nonnegative, so each complete term and each partial accumulated sum is at most . For a nonzero prefix product along , put . Ending the path at this prefix gives the subset term . Since every ,
The initial empty product is one and is also at most . Thus all retained arithmetic values have bits. The mask uses at most bits, and the index counters use . Only a constant number of these integers is retained.
For length computations with , a period above gives a zero quotient and can be replaced by a dyadic sentinel . All other periods have bits. Each of the masks uses at most coefficient computations and arithmetic on integers of this bit length. Elementary multiplication and division give the stated bit-operation bound.
For example, at under the square-log schedule, , , and all other outgoing coefficients vanish. The two nonzero subset terms give , matching the first nonempty insertion in Section 11.
THEOREM 9.6 (TABLE-FREE INSTRUCTION ACCESS). Suppose that, given and , the capped exponent
is computable with working bits and bit operations. Given and a valid position in , one instruction is computable using working bits, at most one skeleton query, and additional bit operations.
PROOF. Use the iterative query in Figure 1, but evaluate every child length by Lemma 9.5 whenever it is needed. To evaluate , scan its at most count terms, recomputing each required and adding its contribution. The period routine supplies exact divisors, with the sentinel convention of the preceding lemma. Hence all boundary values, separator decisions, and reflected indices remain unchanged.
The boundary routine retains only its argument, partial sum and current scale; its invocation of the length routine has constant call depth. The outer query retains only the current size, position, sign and binary-search state. A child descent discards the parent state, exactly as in Theorem 9.4. Thus a constant number of routines, each with working bits, suffices; there is no stack of recursive word queries. The sign invariant and the at-most-one-skeleton-query property are unchanged.
One boundary evaluation uses at most subset enumerations. Their combined time is bounded by . The outer procedure makes boundary evaluations and at most child-length and ruler computations. Multiplying these bounds only changes the polynomial in . Period computation satisfies the same bound by hypothesis. This proves both the time and workspace claims.
Qin Xin
9.5 Streaming generation and the time-space tradeoff
Every concrete fixed-parameter schedule in this paper satisfies the capped-period hypothesis of Theorem 9.6. For the iterated-log schedules at fixed depth and rational , the integer factors defining are polynomially bounded in . The exact rational-power comparisons in Section 6.4 use -bit integers for . The resulting period exponent is and can be capped before forming its power of two. The square-log and fixed- periods are simpler integer formulas. All use bits and polynomial time in ; the weaker period-listing assumption alone would not imply this resource bound for an arbitrary schedule.
COROLLARY 9.7 (LOGARITHMIC-WORKSPACE STREAMING). Assume that the ordinary UES family has a streaming generator using working bits and time polynomial in . Every guarded SUES obtained from the square-log, rational-slack, fixed-depth or fixed- period formulas then admits instruction access at position with working bits and time polynomial in . Its first instructions can also be emitted online with working bits and time polynomial in , without knowing a final stopping length in advance.
PROOF. The normalized skeleton has a logarithmic-workspace symbol routine. To query , stream the padded ordinary components of Lemma 2.3 until reaching the requested symbol. A needed component has size parameter at most , because its preceding padded components contain at least that parameter minus one symbols. If a base routine expects a unary input, its input can be simulated from the stored binary parameter and an input-head counter. The component parameter, remaining target offset, output counter and base-generator configuration use bits. Logarithmically many component generators, each of polynomial time at a size at most , suffice.
For position , choose the least dyadic , so that . Theorem 9.6 supplies an -bit query routine, whose only skeleton query has index at most . Its additional time is , and the skeleton query takes polynomial time in .
To stream the word, maintain a counter and emit the value returned by this routine at each index. The counter needs only logarithmic further workspace. Summing a fixed polynomial per-query bound over the first indices remains polynomial in . Prefix compatibility makes the emitted symbols independent of the successive containing sizes .
The subset enumeration is polynomial in the numerical instruction index , not in its bit length: . Recomputing lengths therefore trades additional time for reduced storage. The table-based procedure still offers additional arithmetic operations with working bits; the table-free procedure offers logarithmic workspace with polynomial-index computation. Both use at most one ordinary-skeleton symbol query.
Reingold's streaming construction supplies a base family with the required resource properties. These bounds concern instruction generation. A physical simulator additionally retains its local port and controller state, and arbitrarily late activation can make arbitrarily large even on a fixed graph.
10 A characterization of linear expansion
The budget 1/8 in Theorem 3.1 gives the explicit expansion factor five. We now remove that numerical budget and ask when the same recurrence has any uniform linear bound. Convergence of the normalized period sum gives an exact characterization.
THEOREM 10.1 (LINEAR-EXPANSION CRITERION). For any strictly increasing dyadic periods satisfying , construct the guarded words by (4). Then
This is a structural equivalence. Explicit generation additionally requires the relevant period-computability assumption.
PROOF. For necessity, use the exact identities of Lemmas 9.1 and 9.2, which hold without a summability assumption. Assume at every dyadic size, and fix a finite . At sufficiently large dyadic , all periods through divide and are smaller than . Therefore
Use the exact length formula, discard all higher nonnegative terms, and use . Letting increase gives
The finite sum telescopes:
The boundary fraction satisfies , since . Divergence of the normalized period sum would therefore make the right side of (11) unbounded as , contradicting the fixed bound .
For sufficiency, choose with
The finitely many words at levels below have finite lengths. Put
and choose a finite constant satisfying
The last condition is omitted when .
Induct on the dyadic exponent of , with and all exponents below covered by . Count each selected level by all multiples of its period. For use the fixed lengths; for apply induction to the smaller active children.
Qin Xin
Hence
Indeed, , since , so the additive tail is included in . This completes the induction and proves uniform linearity.
The sufficient direction tolerates finitely many expensive small scales. Their costs enter ; convergence makes the remaining tail contractive. Given a certified upper bound on the normalized period sum, a common dyadic enlargement of all periods can make the budget at most , giving the explicit factor five. Convergence alone need not supply an effective bound from which to compute that enlargement.
COROLLARY 10.2 (THE HARMONIC BOUNDARY). If , the words do not have uniformly linear length. At all sufficiently large dyadic ,
PROOF. Divergence of the harmonic series already gives the first assertion. For the quantitative estimate, write , , and choose with . For sufficiently large , , so all counts through have their exact normalized values.
The length lower bound and (11) imply
The harmonic sum is , giving the claimed lower bound.
This is a barrier to linear expansion of the stated insertion recurrence. It is not a lower bound for arbitrary SUEs, other conversions, or a different analysis of nonlinearly expanding words. In particular, it does not rule out an cover time by another method.
11 Worked construction and boundary cases
The examples in this section use distinct formal skeleton letters. They illustrate the conversion independently of the base UES family. They are not assertions that the displayed short words alone explore a graph class.
11.1 The first nonempty insertion
For the square-log schedule, . No nonempty excursion occurs among indices 1, ..., 15, and
Table 3. Positions around the first selected excursion.
| Position | Symbol | Role |
|---|---|---|
| 46 | skeleton boundary | |
| 47,48 | 0, 0 | guards |
| 49 | forward child | |
| 50 | 0 | reversal separator |
| 51 | inverse child | |
| 52 | 0 | return separator |
| 53 | next boundary |
At index 16 the selector is . The next gap therefore contains
The gap occurs in , but not at the end of . There is only one nonempty excursion before index 32, so
The boundary formula gives , agreeing with Table 3. A query at positions 47 or 48 terminates as a guard. Position 49 descends to with positive sign; position 51 reaches the same child with negative sign. Positions 50 and 52 use the separator cases.
The example also distinguishes a skeleton index from an expanded-word position. Index 16 selects the child, but its designated letter is at expanded position 46. A program that tests divisibility using the expanded position would be implementing a different, unproved sequence.
PROPOSITION 11.1 (AN EXPLICIT SQUARE-LOG CONSTANT). For the concrete square-log schedule, at every dyadic size.
PROOF. The normalized tail beyond level zero satisfies
The last inequality follows by comparison with the integral of from one to infinity. With , and , the sufficiency proof of Theorem 10.1 gives
Consequently . The choice covers the initial size and closes the induction.
11.2 Rounded periods and fixed parameters
Table 4 compares exact periods at small target scales. The depth-two and depth-three columns use , with the shifts given by their infinite-sum budget certificates.
A higher fixed depth need not improve the finite constants at every small scale. It can require a larger shift to preserve the entire budget, and its advantage concerns asymptotic growth after that shift and the depth have been fixed. The theorem is not a prescription for choosing the depth from an unknown graph size.
Qin Xin
Table 4. Exact small-scale periods. A higher depth can have a larger finite constant.
| Level | Target | Square-log | Depth two | Depth three |
|---|---|---|---|---|
| 0 | 1 | 16 | 32 | 64 |
| 1 | 2 | 128 | 512 | 512 |
| 2 | 4 | 1024 | 1024 | 1024 |
| 3 | 8 | 2048 | 8192 | 16384 |
| 4 | 16 | 8192 | 16384 | 65536 |
| 5 | 32 | 32768 | 32768 | 131072 |
| 6 | 64 | 65536 | 131072 | 262144 |
| 7 | 128 | 131072 | 524288 | 1048576 |
The dyadic rounding is structural. It ensures that every larger period is a multiple of every smaller one. Replacing a period by a nearby arbitrary integer could invalidate the large-block equivalence, the one-period gap count, and the ruler lookup. The analysis explicitly pays the constant factor incurred by rounding upward to a power of two.
11.3 Activation beside an inverse boundary
A window may start in an inverse excursion or immediately beside a skeleton symbol. It is not necessarily aligned with a forward copy. The target lemma must therefore work in both orientations and across separators.
For , the identity makes a suffix of the inverse, even when contains many other scales. For , there is no intervening ; the central reversal zero supplies the guard. Equality and strict inequality are separate cases in the endpoint proof for this reason.
At outer size , the first and last large blocks coincide. Both ends of that one block must be useful. At , no such block need exist: the linear bound controls the whole word. Dyadicity ensures that these alternatives leave no missing intermediate-size case.
Coverage counts only vertices visited at or after a window begins. The target therefore includes its leading zero. It is not justified by assuming that the tail of an incoming edge was visited while the treasure was already active. This convention is retained in the inversion proof and the physical simulator.
11.4 Formal letters and actual exploration instructions
After the construction, formal letters can be identified with actual values in . Such an identification may introduce additional target occurrences, but it cannot remove a literal occurrence already guaranteed by the word proof. Distinct formal letters therefore establish containment independently of the chosen instruction alphabet.
The ordinary UES theorem supplies graph coverage for every port labeling and starting directed edge. The examples show how reversible insertions and boundary indexing preserve that guarantee.
12 Explicit generation
For a requested prefix length , choose a dyadic with . Compute all , , in increasing order. At each skeleton position , append ; if , append 00 and the excursion selected by the periods dividing . Every referenced word has size at most , so it has already been computed.
The sum of the cached expanded lengths is at most . A simple implementation may test divisibility against every listed period. There are possible levels below . Together with the period-listing and skeleton-generation assumptions, this is polynomial in . Inverse words can be copied by a reverse scan with negation. The construction requires no search over graphs.
The materializing method tests candidate periods per outer skeleton index. Copying an excursion can output many symbols, and the cache uses symbol storage. The instruction-access procedures in Section 9 avoid this cache.
Theorem 9.4 gives a separate per-symbol procedure: at absolute position , at most one normalized-skeleton query and additional arithmetic operations on -bit integers, after period and length preprocessing. For the concrete schedules, that preprocessing has polynomial bit cost in . The table-free alternative in Theorem 9.6 recomputes lengths. With a logspace streaming base generator it uses working bits, at most one skeleton query, and time polynomial in . These are age-dependent computation costs; traversal rounds are still the separate graph-dependent measure.
13 Discussion
Theorem 10.1 identifies the precise threshold for uniform linear expansion of this recurrence. At the harmonic boundary , the exact count formula forces length . Thus these words cannot satisfy a uniform bound. Allowing nonlinear expansion or changing the insertion grammar may lead to a different cover-time tradeoff. The existence of an conversion remains open here.
The two instruction-access procedures offer a separate time-space tradeoff. Subset enumeration uses working bits and time polynomial in the absolute instruction position . The memoized procedure reduces the additional arithmetic cost to operations using an -bit table. These generation costs can depend on an arbitrarily late activation, even though the traversal-delay bound depends only on the graph. Obtaining a comparable computation guarantee independent of the activation delay remains open here.
For two moving agents, covering every vertex in each agent's own window does not ensure simultaneous occupation of a vertex. One sufficient coordination mechanism would align an exploring interval of one agent with a stationary interval of the other lasting at least the relevant cover time. In a label-based rendezvous protocol, a label schedule must force such an overlap despite unknown activation offsets and graph size. A faster SUES supplies the exploration part; it does not supply that alignment or its label-dependent time analysis.
14 Conclusion
For every fixed and regular degree, we convert an -length ordinary UES family into a single infinite SUES with cover time . Summable schedules give refinements at every fixed iterated-logarithm depth, and convergence of the normalized period sum exactly characterizes uniform linear expansion of this recurrence. With a logspace ordinary generator, exact excursion counts permit logarithmic-workspace instruction access in time polynomial in the absolute instruction position. The explicit cubic simulation extends delayed treasure hunt to arbitrary-degree graphs under the incoming-port model, with the -vertex replacement size included in the bound. A natural next question is whether nonlinear expansion or a different insertion scheme can achieve cover time.
ACKNOWLEDGMENT
ChatGPT was used as a research and writing assistant during preparation of this extended version. The author proposed the summable-period construction and the fixed-depth refinements; ChatGPT assisted with refining these constructions
Qin Xin
and with suggesting clearer ways to present them, assisted with the derivation of the exact-count identities, the subset-path length formula, the logarithmic-workspace streaming procedure and the linear-expansion criterion, examined proofs and boundary cases, and improved the exposition and ETEX presentation. The research problem, core ideas, algorithmic designs and principal scientific contributions of the original conference paper were independently developed by the author. The author is responsible for the final manuscript and all scientific claims.
References
[1] Romas Aleliunas, Richard M. Karp, Richard J. Lipton, László Lovász, and Charles Rackoff. 1979. Random Walks, Universal Traversal Sequences, and the Complexity of Maze Problems. In Proceedings of the 20th Annual Symposium on Foundations of Computer Science (FOCS). IEEE, 218–223.
[2] Don Coppersmith, Prasad Tetali, and Peter Winkler. 1993. Collisions among Random Walks on a Graph. SIAM Journal on Discrete Mathematics 6, 3 (1993), 363–374.
[3] Gianluca De Marco, Luisa Gargano, Evangelos Kranakis, Danny Krizanc, Andrzej Pelc, and Ugo Vaccaro. 2006. Asynchronous Deterministic Rendezvous in Graphs. Theoretical Computer Science 355, 3 (2006), 315–326.
[4] Anders Dessmark, Pierre Fraigniaud, Dariusz R. Kowalski, and Andrzej Pelc. 2006. Deterministic Rendezvous in Graphs. Algorithmica 46, 1 (2006), 69–96.
[5] Anders Dessmark, Pierre Fraigniaud, and Andrzej Pelc. 2003. Deterministic Rendezvous in Graphs. In Algorithms – ESA 2003. Springer, 184–195.
[6] Yann Disser, Jan Hackfeld, and Max Klimm. 2019. Tight Bounds for Undirected Graph Exploration with Pebbles and Multiple Agents. J. ACM 66, 6, Article 40 (Oct. 2019), 41 pages. doi:10.1145/3356883
[7] Michal Koucký. 2002. Universal Traversal Sequences with Backtracking. J. Comput. System Sci. 65, 4 (2002), 717–726.
[8] Dariusz R. Kowalski and Adam Malinowski. 2006. How to Meet in Anonymous Network. In Structural Information and Communication Complexity (SIROCCO 2006) (Lecture Notes in Computer Science, Vol. 4056). Springer, 44–58.
[9] Dariusz R. Kowalski and Andrzej Pelc. 2004. Polynomial Deterministic Rendezvous in Arbitrary Graphs. In Algorithms and Computation (ISAAC 2004) (Lecture Notes in Computer Science, Vol. 3341). Springer, 644–656.
[10] Andrzej Pelc. 2023. Deterministic Rendezvous Algorithms. arXiv:2303.10391. https://arxiv.org/abs/2303.10391 Survey preprint.
[11] Omer Reingold. 2005. Undirected ST-Connectivity in Logspace. In Proceedings of the Thirty-Seventh Annual ACM Symposium on Theory of Computing (STOC). ACM, 376–385.
[12] Omer Reingold. 2008. Undirected Connectivity in Log-Space. J. ACM 55, 4, Article 17 (2008), 24 pages. doi:10.1145/1391289.1391291
[13] Yuichi Sudo, Fukuhito Ooshita, and Sayaka Kamei. 2026. Self-Stabilizing Graph Exploration by a Single Agent. Theoretical Computer Science 1082 (Sept. 2026), 116085. doi:10.1016/j.tcs.2026.116085
[14] Amnon Ta-Shma and Uri Zwick. 2007. Deterministic Rendezvous, Treasure Hunts and Strongly Universal Exploration Sequences. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). Society for Industrial and Applied Mathematics, 599–608.
[15] Amnon Ta-Shma and Uri Zwick. 2014. Deterministic Rendezvous, Treasure Hunts, and Strongly Universal Exploration Sequences. ACM Transactions on Algorithms 10, 3, Article 12 (2014), 15 pages. doi:10.1145/2601068
[16] Qin Xin. 2007. Faster Treasure Hunt and Better Strongly Universal Exploration Sequences. In Algorithms and Computation (ISAAC 2007) (Lecture Notes in Computer Science, Vol. 4835), Takeshi Tokuyama (Ed.). Springer, 549–560. doi:10.1007/978-3-540-77120-3_48
[17] Qin Xin. 2012. Faster Treasure Hunt and Better Strongly Universal Exploration Sequences. arXiv:1204.5442v1. https://arxiv.org/abs/1204.5442 Preprint.
A Historical note: lengths in the earlier construction
This historical note is not used in the main conversion theorem or its window proof. It records the earlier linear-length assertions under an exact integer ruler interpretation and their improved constant. The unguarded legacy words below are separate from the guarded words in the main construction.
For a fixed integer , put and
where is the exponent of the largest power of two dividing . Equivalently, exactly when . This interpretation specifies integer periods, is independent of the terminal size, and has for dyadic and .
Let , and use the earlier unguarded recurrence
Let and .
LEMMA A.1. For ,
PROOF. Exactly indices have . Such an index selects and contributes two copies and two zeros. Divide by and use . Every child exponent is less than .
PROPOSITION A.2. For every fixed , there is a finite constant such that at every dyadic .
PROOF. Since is an integer, . Choose
The term at is . For each , exactly later indices have . Hence the exact tail is
Set . The finitely many values are computable from Lemma A.1, without reference to later values. Put
For , split the sum in the preceding lemma at . The initial part is at most , including its constant term; the remaining children are smaller than , so induction bounds the tail by . Thus . All constants in this argument are obtained by finite rational arithmetic. The initial indices are covered by the definition of .
PROPOSITION A.3 (THE EARLIER 3/2-SCALE LENGTH BOUND). For , so , the exact ruler interpretation above gives
for every dyadic M.
PROOF. The recurrence gives
Qin Xin
reproducing the finite values reported in the earlier preprint [17]. In particular,
For this explicit constant, split the recurrence at P = 12. The largest child exponent in the finite initial contribution is
so the required initial values are . Grouping gives the exact tail
The exact finite initial contribution is
The eight initial values are all less than 23. For , the terms with p < 12 are bounded by the displayed finite initial contribution, and every child exponent in the remaining terms is less than h. Induction and the exact tail therefore give
This completes the induction.
B The historical auxiliary-series convergence
The earlier presentation used a positive tail series to isolate a finite initial contribution. Its convergence can be recorded without an implicit limiting argument. For fixed , define
For integers , the earlier tail is .
PROPOSITION B.1. The sequence is strictly decreasing and tends to zero. In particular it has a first index with .
PROOF. All are positive. Each geometric sum converges, and
This expression tends to zero. Removing the positive summand strictly decreases the tail. The set of positive indices with is nonempty, so well-ordering gives its first element.
The main proof uses the direct summability condition on the new integer periods. Neither this historical auxiliary series nor the unguarded legacy words are needed for its arbitrary-window argument.
C A complete search procedure
Fix the square-log schedule or fixed rational parameters before activation. Use a streaming cubic UES routine with the contract in Corollary 9.7: parameter requests a word universal for every graph of size at most , every port Manuscript for ACM numbering and every directed-edge start. The parameter is internal to the generator, not knowledge of the physical graph size.
Query the normalized skeleton by Lemma 2.3. Its streaming routine needs neither a numerical exponent nor the physical graph size. The skeleton symbols are the actual instructions supplied by that routine.
If the initial physical degree is zero, connectedness implies a single vertex; remain there and detect the treasure whenever it becomes active. Otherwise initialize . This is a valid fictitious virtual incoming state at , whose physical tail need not have been visited.
At activation and at every subsequent slot boundary, check the current physical vertex for an active treasure before executing the next instruction. Halt if a meeting occurs. This includes a treasure already present at the agent's initial vertex.
At instruction index , choose the least dyadic . Query by Theorem 9.6, evaluating the boundary function and child lengths on demand in the procedure of Figure 1. Apply the accumulated sign to the actual skeleton value modulo 3; formal indices are not physical instructions. The resulting value is .
At physical vertex of degree , put . Use the three updates from Proposition 8.2: for , stay and set ; for , stay and set ; for , traverse port , learn the destination entry port , and set . Each update consumes one slot. Increment and repeat, checking for the treasure at the new slot boundary before the next instruction. The degree in a cycle update is the current vertex's degree; after traversal the stored physical index is the new entry port.
By induction, the physical position and equal the virtual directed-edge state after exactly instructions. Prefix compatibility ensures that changing for queries never restarts the infinite word. The logarithmic-workspace implementation retains no length table, expanded word or trajectory. The memoized implementation is an alternative when additional workspace is available.
If instructions have been executed at the later activation, the next instructions form positions of this same word. A cover-time choice of for the -vertex replacement therefore visits every physical vertex while both agent and treasure are active. Stay slots are charged, so activation during virtual cycle motion introduces no uncounted delay.
Writing for the maximum physical degree only in the analysis, total workspace can be