Manuscript Offprint
arXiv:2611.09020Reconfiguration of Time-Bounded Descriptions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
DIMITRIOS MYRISIOTIS
GREAT BAY UNIVERSITY
CHINA
ABSTRACT. Time-bounded Kolmogorov complexity measures a string by the length of its shortest program that prints it within a deadline. An adjunction-universal machine (Bauwens, Kozachinskiy, and Shen, arXiv, 2025) is a Turing machine that simulates every Turing machine on every input with polynomial overhead when given a code of , computable from in polynomial time, followed by unchanged. Any two adjunction-universal machines give the same measure up to an additive constant and a polynomial change of the deadline. However, this measure records only the shortest program for a string. We study all programs of one length that print a string within one deadline, join two of them when they differ in one bit, and ask when this graph is connected. Fix any adjunction-universal machine. For almost all -bit strings and every deadline beyond some polynomial, the graph is disconnected at program length and has at least components at length . In contrast, we build an adjunction-universal machine in which every such graph is connected or empty, at every deadline, once the program length reaches a computable threshold that is at most exponential in the length of the string. Exponential thresholds are unavoidable: for every adjunction-universal machine with such thresholds and every large , more than three quarters of the -bit strings need a threshold exponential in . For our machine, above the threshold, every program for the string is within three bit flips of a connected set of fastest programs for the string, along a path inside the graph, at every deadline by which that program halts. For this machine, deciding whether two given programs are connected in this graph is PSPACE-complete when the input is the string, the deadline in unary and the two programs; for each fixed string it takes polynomial time.
CONTENTS
- Introduction ..... 2
1.1. Our Results ..... 3
1.2. Our Techniques ..... 5
1.3. Other Related Work ..... 7
1.4. Discussion ..... 8
1.5. Open Problems ..... 8
AI Disclosure ..... 9
1.6. Paper Organization ..... 9 - Preliminaries ..... 9
2.1. Strings, Distances, and Cubes ..... 10
2.2. Native Machines and Simulation by Adjunction ..... 11
2.3. Full Native Fibers ..... 12 - Encodings and Connectivity Complexity ..... 13
3.1. Explicit Encodings ..... 13
3.2. Uniform Simulation and Native Clocks ..... 16
3.3. Numerical Description-Length Comparison ..... 18
3.4. Implicit Graphs and Space Bounds ..... 19
3.5. Predicates and the Reconfiguration Problem for Formulas ..... 21
3.6. The Full Fiber and Its Query Language ..... 22
3.7. Local Isolation and a Rigid Reference ..... 24
3.8. Adding Interpretation Without Changing Native Fibers ..... 26 - Fragmentation Forced by Adjunction ..... 27
4.1. Persistent Fragmentation at Linear Overhead ..... 27
4.2. A Common Early Deadline ..... 28
4.3. Fragmentation at the Exact Common Length . . . . . . . . . . . . . . . . . . . 30 5. Eventual Connectivity and Uniform Hardness . . . . . . . . . . . . . . . . . . . . . 36 5.1. Dependence of Target-Parameterized Complexity . . . . . . . . . . . . . . . . 44 6. Targets with Connected Fibers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 6.1. Prescribing Finitely Many Easy Targets . . . . . . . . . . . . . . . . . . . . . 45 6.2. Exact Finite Sets of Connected Targets . . . . . . . . . . . . . . . . . . . . . . 47 6.3. Effective Restrictions on Connected Targets . . . . . . . . . . . . . . . . . . . 47 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
- INTRODUCTION Time-bounded Kolmogorov complexity measures a string by the length of its shortest program on which a fixed universal machine outputs the string within a given number of steps. Suppose that each of two efficient onto machines can run any machine M by reading a code of M followed by an unchanged program z of M, with polynomial overhead; we call this simulation by adjunction. Then their measures agree up to an additive constant in length and a polynomial change of the deadline (Fact 3.10). That comparison concerns only the shortest description. It says nothing about how the other descriptions of the same string are arranged, or whether one of them can be turned into another by small changes. This paper studies that arrangement. Fix a machine, a target string, a program length and a deadline. The fiber of the target is the set of all programs of that length that halt with the target as output within the deadline, where two programs are joined when they differ in one bit. We ask whether the fiber is connected, how many components it has, and how hard it is to decide whether two given programs lie in the same component. In this decision problem the input is the target, the deadline in unary and two programs, and a pair that does not lie in the fiber is a no-instance. Two features of the question shape the answers. First, the fiber contains every program of the given length, not only the programs that begin with one particular code. A path may pass through programs that begin differently, so an argument about the programs beginning with one code, which we call its cylinder, does not decide connectivity of the fiber. Second, connectivity of the fiber is not monotone in the deadline. A larger deadline keeps every old program and every old path, but newly admitted programs can form new components, so a connected fiber can become disconnected at a larger deadline (for the first machine of Theorem 1.2, by Theorems 4.4 and 4.9). A larger program length gives a different cube altogether, rather than a larger subgraph of the old one, so the fragmentation results choose program lengths as functions of the target length. Graphs of equal-output genotypes under local mutation are studied in the theory of neutral networks. Reidys, Stadler and Schuster study equal-image classes in genotype–phenotype maps [RSS97], and Hu, Banzhaf and Ochoa study finite systems whose genotypes are programs [HBO25]. The questions here differ in their setting: they concern adjunction-universal machines, deadlines counted in the machine’s own transitions, and every description of the given length. Dependence on the choice of machine is also known for other structural properties of descriptions: for the number of descriptions of a string [Tad10], for reductions to the set of random strings [ABK06], and in the distinction between optimality and universality by adjunction [BKS25]. The results concern three conditions on an efficient machine V, stated precisely in Section 2.2. Besides its program, V may read an auxiliary input; the fibers above use the empty auxiliary input. The machine is onto: every string is the output of some program on the empty auxiliary input. Next, the machine has the simulation property, the precise form of simulation by adjunction: every machine M has a code ⟨M⟩V for V, computable from M in polynomial time. For every string z, the program ⟨M⟩V z outputs M(z), and it diverges when M diverges on z. The simulation takes time polynomial in the running time of M and the lengths of z and ⟨M⟩V , with one polynomial for all M. Finally, the machine has the interpretation property: given as auxiliary input a second code ⟨M⟩ ′ V of M, also computable from M in polynomial time, it runs M on the program with the same kind of overhead. We call a machine with the first two properties an adjunction-universal machine, and the three properties together the reference conditions. The name follows the term universal by adjunction, which 2
Bauwens, Kozachinskiy and Shen record, quoting Downey and Hirschfeldt, for machines universal in their sense [BKS25, Sections 2 and 4]. In their definition the string placed before the unchanged programs of a machine need only exist, and no time bound is imposed; here the code is computable from in polynomial time and the simulation has polynomial overhead. The rigid reference of Definition 3.5, built on a parity-protected encoding of machines, satisfies all three. The programs that an adjunction-universal machine must run are its mandatory descriptions. Deadlines always count transitions of itself, which we call native transitions, and a subscript , as in , marks a constant that may depend on .
In short, adjunction forces the fibers of most targets to fragment permanently at suitable lengths. Yet it allows a machine whose fibers are all empty or connected, at every deadline, once the program length reaches a threshold depending on the target, and for most targets the length needed is necessarily exponential in the target length. The same machine shows that deciding connectivity can be hard when the target is part of the input and easy for every fixed target.
1.1. Our Results. Table 1 summarizes the results, the program lengths at which they hold, and the distinction between the shape of a fiber and the complexity of querying it. In the table, “one polynomial deadline” means a deadline polynomial in the target length that depends only on the machine, and the exceptional targets are the same at every later deadline. The informal statements after the table present the main results in words, each with a pointer to its precise counterpart in the body.
Table 1: Selected guarantees for full program fibers. Constants in statements about every adjunction-universal machine may depend on the machine.
| Setting | Guarantee and regime | Precise statements |
|---|---|---|
| Every adjunction-universal machine | At , a fraction of -bit targets has nonempty disconnected fibers at every deadline after one polynomial deadline. | Theorem 4.1 |
| Every adjunction-universal machine | At , a fraction of -bit targets has at least components, for every sufficiently large and every deadline beyond one polynomial deadline. | Theorem 4.9 |
| Every adjunction-universal machine | For with , some length has at least components for all but an fraction of its targets, at every deadline beyond one polynomial deadline. | Theorem 4.10 and Corollary 4.11 |
| Two constructed machines satisfying the reference conditions | At one common early linear deadline and length , every sufficiently long target has a connected exponential-size fiber for one machine and an edgeless one for the other. | Theorem 4.4 |
| One constructed machine satisfying the reference conditions | Every fixed target has a computable threshold ; all fibers at or above it are empty or connected at every deadline, with diameter at most . | Theorem 5.2 |
| Any adjunction-universal machine with such thresholds | For every sufficiently large , more than three quarters of the -bit targets require . | Theorem 5.5 and Corollary 5.6 |
| Setting | Guarantee and regime | Precise statements |
|---|---|---|
| Uniform versus fixed-target complexity | The eventual-connectivity machine has a PSPACE-complete full connectivity language, with every fixed-target restriction in P. It is fixed-parameter tractable in target length; the rigid reference has a PSPACE-complete fixed-target connectivity problem. | Theorem 5.4 and Corollary 5.7 |
| Globally connected targets | Every finite set is exactly the set of globally connected targets of some machine satisfying the reference conditions. For every adjunction-universal machine, that set is co-c.e., has computably bounded c.e. subsets, and has intrinsic density zero. | Theorems 6.3 and 6.6, Corollaries 6.5 and 6.8, and Proposition 6.9 |
Mandatory descriptions and persistent fragmentation. An adjunction-universal machine must run every program of every source machine, so a suitable source forces descriptions that the machine cannot avoid. We choose sources that give each target several mandatory descriptions far apart in Hamming distance, and we count how many other programs, anywhere in the cube, would be needed to connect them. Here and below, “almost all” refers to the fraction of the m-bit targets as m tends to infinity.
Theorem 1.1 (Informal; Theorems 4.1 and 4.9 and Corollary 4.11). Let be an adjunction-universal machine. Each of the following holds at every deadline beyond a deadline polynomial in , where the polynomial depends only on , with the same exceptional targets at all those deadlines.
(1) At program length , every m-bit target has a nonempty fiber, since it has mandatory descriptions there, and all but an fraction of these fibers are disconnected.
(2) At program length exactly , for every sufficiently large , all but an fraction of the m-bit targets have fibers with at least components.
(3) When is a power of two, there is a program length below , depending only on and , that gives at least components for all but an fraction of the m-bit targets.
The constants hidden in come from the length of the code of a fixed source machine, chosen separately for each part. The bounds therefore hold for every adjunction-universal machine, whatever its other programs do.
These bounds start only once the mandatory descriptions have halted. At an earlier deadline a fiber can look entirely different, and there the answer depends on the machine.
Theorem 1.2 (Informal; Theorems 4.4 and 4.9). There are two machines satisfying the three reference conditions that disagree about connectivity at program length and one common deadline linear in . For every sufficiently large , every m-bit target has a connected fiber with vertices for the first machine and an edgeless fiber with vertices for the second. By contrast, for every adjunction-universal machine, almost all m-bit targets have disconnected fibers at length at every deadline beyond one polynomial deadline.
The two statements are compatible. A path present at the early deadline is still present later, but programs admitted afterwards form further components. The later statement concerns connectivity of the whole fiber, not the loss of a path that existed earlier.
Eventual connectivity. The fragmentation bounds hold at lengths chosen from the target length. The fibers of a target may be disconnected at those lengths and still be empty or connected at every length beyond a threshold that depends on the target. Our main construction provides this for all targets and all deadlines at once, and it remains hard to query.
Theorem 1.3 (Informal; Theorems 5.2 and 5.4 and Corollaries 5.3 and 5.6). There is a machine satisfying the three reference conditions with the following properties.
(1) For every target one can compute a threshold such that, at every program length and every deadline, the fiber of is empty or connected, with diameter at most .
(2) Deciding whether two programs lie in the same fiber component is PSPACE-complete, yet for each fixed target it is decidable in polynomial time.
Conversely, for every adjunction-universal machine with such thresholds and every sufficiently large , more than three quarters of the -bit targets have , for a constant .
The lower bound concerns program length, not decision time: it says how long programs must be before every fiber of the target is guaranteed to be empty or connected. It comes from the fragmentation argument run at an exponentially large program length, where a disconnected fiber persists at every later deadline.
Fixed and varying targets. The previous theorem separates the complexity of the whole problem from that of each fixed target. Measuring how the running time may depend on the target length gives a finer comparison, even between machines whose connectivity problems are complete for the same class.
Theorem 1.4 (Informal; Corollaries 3.24, 5.7 and 5.8). There are two machines satisfying the three reference conditions whose connectivity problems are both PSPACE-complete. For the first, the machine of Theorem 1.3, one algorithm runs in time on queries of length with targets of length . If P differs from PSPACE, no algorithm for this machine runs in time . For the second, the problem is already PSPACE-complete at the fixed target 00, so if P differs from PSPACE it is not fixed-parameter tractable in the target length.
The single-exponential exclusion holds because the hardness reduction uses targets of logarithmic length (Corollary 5.8). No matching double-exponential lower bound on the running time is claimed.
Targets connected at every length and deadline. Write for the set of globally connected targets, those whose fibers are empty or connected at every program length and every deadline. This is much stronger than eventual connectivity: one disconnected fiber, at any length and any deadline, excludes a target from .
Theorem 1.5 (Informal; Theorems 6.2 to 6.4 and 6.6, Corollaries 6.5 and 6.8, and Proposition 6.9). For every adjunction-universal machine , the set is co-c.e., its c.e. subsets obey a computable bound on their size, and hence it has no infinite c.e. subset, and it has intrinsic density zero. Conversely, for every finite set of strings there is a machine satisfying the three reference conditions with . For every such there is also a machine satisfying the three reference conditions for which the fixed-target connectivity problem is polynomial-time decidable for every target in and PSPACE-complete for every target outside .
If P differs from PSPACE, the last machine has polynomial-time fixed-target problems exactly for the targets in . Intrinsic density zero is the notion characterized by Astor through computable injective sampling [Ast15]; the contribution here is that has it for every adjunction-universal machine , with an explicit rate (Theorem 6.6 and Corollary 6.8). Fix such a and a total computable injective list of strings, and let be the length of one code, which depends on the list. Then for every , at most a fraction of the first entries lies in . For an adjunction-universal machine with infinite, the computable bound makes effectively immune, meaning that a computable function of the index of a c.e. set bounds the size of every c.e. subset of (Proposition 6.9). Whether can be infinite for some adjunction-universal machine is open (Open Problem 2).
1.2. Our Techniques. The negative and positive results use the mandatory descriptions in opposite ways. The negative arguments count what every adjunction-universal machine must provide. The positive construction keeps those programs but controls when the other programs become available and how they attach.
Counting paths in the full cube. An adjunction-universal machine gives no control over programs outside the cylinder of a code, and any of them might help connect two descriptions. The negative arguments therefore count those programs instead of excluding them. A fixed linear-time source maps and to , and its code has some length . At program length , inside the cylinder of that code, its two mandatory descriptions of an m-bit target x are the only descriptions of x. A simple path joining them therefore leaves the cylinder and has at least vertices outside it.
Paths for different targets share no vertex, because one deterministic program has one output. There are only programs outside the cylinder of a code of length , so only a fraction of the targets can have connected endpoints. The exceptional targets are defined through the untimed fiber, the graph with no deadline, so one exceptional set serves every later deadline.
To force many components rather than one disconnection, each target needs many mandatory descriptions that are pairwise far apart. A balanced linear map with well-separated preimage sets, built from finite-field parity checks adapted from the codes of Bose and Ray-Chaudhuri and of Hocquenghem [BRC60, Hoc59], supplies them. A traversal of a spanning tree shows that a connected subgraph of the cube containing terminals at pairwise distance at least has at least vertices. Applied to each component in turn, this bound shows that most targets must have exponentially many components at length .
To reach exactly length , the source must know the length of its own code, which is chosen only after the source is fixed. The construction therefore supplies that length as a unary prefix of the raw input, so no source ever needs to compute its own code. Reed–Muller evaluation codes [ASW15, Section 2.3] give a second family with an explicit tradeoff among program length, component count and the exceptional fraction.
The same balanced construction, tuned to a program length exponential in the target length, gives the threshold lower bound. The code of the source is still fixed across all those lengths, so most targets have a disconnected fiber at that length at every later deadline. Any threshold beyond which every fiber is empty or connected must therefore exceed that length.
Releasing a connected fiber at every deadline. The construction must make the fiber empty or connected at every deadline, not only when time is unlimited. A program needed on a connecting path might halt later than the descriptions it is meant to join, and at the intermediate deadlines the fiber could then be disconnected. The construction therefore admits a connected core first and lets simulated descriptions in only after the core is present.
The core rests on an explicit coloring of the cube of program bodies in which every color class is connected and every vertex has a neighbor of every color. It combines two syndrome registers with a selector bit; within each color class, paths to a fixed representative have linear length, and the coloring is computed on a schedule depending only on the body length. The syndrome part is the established coupon-coloring construction [CKTV15]; the connectedness of the classes and the fixed schedule are proved here. Each color is printed as a short string, and the strings printable at a given body length form its palette.
Programs have two mode bits. Core programs print the color of their body. In the two helper modes, the parity of the body decides whether a program prints its color, as a router, or runs the simulation, as a source helper. Every core and router program of one body length halts at one common time. Base programs and their matching source helpers run the same native simulation of a fixed base machine after a common delay, so they halt together, after the core and the routers are present. Every admitted program whose output lies in the current palette of colors therefore attaches to the core in at most three steps, which gives empty or connected fibers at every deadline and the diameter bound. The palette grows with the body length, and every fixed target eventually enters it, which gives a computable threshold exponential in the target length.
Uniform hardness uses targets outside the palette. No core or router program prints such a target, so its fiber contains only base programs and their source helpers, and each helper is a leaf attached to its base. A rigid code of a formula verifier in the parity-protected encoding then makes the base components with that code, after deleting their helper leaves, correspond exactly to the components of the solution graph of a formula. The reduction starts from the PSPACE-complete problem of connecting two satisfying assignments by single-variable changes [GKMP09].
The reduction picks the target before building the code, although the code length depends on the target. For a formula instance of encoding length , a target of length a fixed multiple of is long enough to lie outside the palette at the resulting body length, so only one verifier and one code are built. Membership in PSPACE uses Savitch's recursive reachability method [Sav70], with the native graph tests proved explicitly here.
Effective restrictions and finite hubs. To restrict , the path count must be applied to many targets at once, although for general the paper gives no membership test for , so the argument cannot rely on one. For a c.e. family of targets, one source machine waits for the indexed distinct elements of its enumeration and assigns each an antipodal pair of raw inputs. At each suffix length, the finitely many successful endpoints halt by a common deadline, whether or not that deadline can be computed. If all these targets lie in , the outside-path count applies to all of them together. Choosing the suffix length from the code turns this into a computable bound on the size of c.e. subsets, and running the same source on a total injective list gives the density rate.
A fixed finite set reverses the order of quantifiers, since the machine may now depend on . Each target of gets a control header with a single one bit, which prints that target whatever suffix follows. The fiber of such a target therefore contains a whole cube of these hub programs before any base program halts, and every base program of the target differs from a hub program in one bit.
For targets outside , the fiber is empty at short lengths and early deadlines, and otherwise deleting the common base prefix is an exact isomorphism of fibers. The fiber of the base machine at deadline corresponds to the new fiber at deadline , for constants and , so the fiber structure and the hardness of the base machine carry over. A sentinel keeps the shifted program's left boundary during simulation, and all constants are computable from the base machine and . Interpretation is added last, by a new first transition that dispatches on the auxiliary input; on the empty auxiliary input the machine performs the old computation step for step, so no fiber changes (Lemma 3.25).
1.3. Other Related Work. The relevant precedents concern local-move output fibers, structural properties of decompressors, and the graph constructions used in the proofs. This subsection says what each establishes and how its setting differs from the one here.
Neutrality and description sets. Reidys, Stadler and Schuster develop configuration graphs and equal-image neutral sets [RSS97, Sections 2 and 4 of the author preprint]. Their RNA compatibility graph also permits changes in two paired positions, so it does not coincide with the one-bit program graph in every case. Hu, Banzhaf and Ochoa use literal programs in a finite register-based model and study neutrality, search and phenotype transitions [HBO25]. Schaper, Johnston and Louis study disconnected neutral components in RNA sequence maps under single point mutations [SJL12, Section 2]. Equal-output mutation graphs of programs are therefore not new objects. The results here instead quantify over all adjunction-universal machines, or construct specific ones, with guarantees for the full set of descriptions at stated native deadlines, most of them holding at every later deadline.
Tadaki proves that the entire prefix-complexity function can stay unchanged while output-description cardinalities change [Tad10, Theorems 4 and 9 of the final manuscript]. That is a close structural precedent, in a prefix-free optimal-machine model. Allender, Buhrman and Koucký construct machines retaining a universal machine by adjunction behind a fixed prefix while varying efficient reducibility properties of random-string sets [ABK06, Theorem 14 of the author draft], so dependence on the machine under adjunction is also a precedent.
Bauwens, Kozachinskiy and Shen distinguish optimality from universality by adjunction and preserve plain complexity while installing the latter [BKS25, Section 4, Proposition 1]; their questions concern plain complexity, which has no deadline. In that universality the string placed before the programs of a machine need only exist, with no time bound, whereas for an adjunction-universal machine the code is computable in polynomial time and the simulation has polynomial overhead. Milovanov shows that, for a suitable optimal plain decompressor, an oracle for description-length thresholds does not give a polynomial-time decision of the halting problem [Mil26, Theorem 1.1]. These works concern minima, cardinalities or reductions to complexity predicates, whereas the results here concern connectivity of full fibers.
Coding, domination, and reachability. The finite-field checks adapt those of Bose and Ray-Chaudhuri and of Hocquenghem [BRC60, Hoc59]. The specific rank, balance and deterministic-construction properties needed in the packing proof are proved here. Reed–Muller evaluation codes provide the separated terminal family [ASW15, Section 2.3].
Coupon coloring asks that every open neighborhood contain every color; Chen, Kim, Tait and Verstraete give finite-field constructions for cube colorings [CKTV15], and Goddard and Henning study the corresponding total-domatic and fractional formulations [GH18]. Connected domatic partitions are also established [Zel86], and Shaw constructs linearly many completely independent spanning trees of the cube with linear diameter [Sha24, Theorem 1.2]. These general partition notions are known; the selector construction here is used for its connected color classes, its representative paths and its fixed native schedule.
The hardness reductions begin with the satisfying-assignment st-connectivity theorem of Gopalan, Kolaitis, Maneva and Papadimitriou [GKMP09, Theorem 2.9 and Section 3.3 of the full version]. That theorem concerns two supplied satisfying assignments, which is distinct from asking whether the whole solution graph is connected. General reconfiguration and its implicit-graph perspective are discussed by Ito, Demaine, Harvey, Papadimitriou, Sideri, Uehara and Uno [IDH 11] and surveyed by Nishimura [Nis18].
Computability and parameterization. Astor characterizes intrinsic density through computable injective sampling [Ast15, Corollary 4.3 of the accepted preprint]. Case discusses effective-immunity bounds and minimal-program sets in acceptable systems [Cas25]. The statements about globally connected targets apply these established notions to a different set of outputs, with an explicit packing bound from one code. That is co-c.e. follows directly by enumerating finite witnesses of disconnected fibers.
Fixed-parameter tractability is standard, and so is the observation that a PSPACE-complete fixed-target connectivity problem at a constant parameter value rules it out unless P equals PSPACE. The content of the comparison here is the pair of machines satisfying the same reference conditions: one has a uniform target-parameter algorithm despite full PSPACE-completeness, while the rigid reference has a PSPACE-complete fixed-target connectivity problem.
1.4. Discussion. The numerical invariance theorem and fiber connectivity concern different data. A code controls what each program beginning with it computes and bounds its running time. It says nothing about adjacency between programs beginning with different codes, and it does not guarantee any path between the programs for one output.
Persistent fragmentation and eventual connectivity concern different program lengths. The fragmentation bounds hold at lengths chosen from the target length, while eventual connectivity holds from a threshold that depends on the target. For a machine with such thresholds, every length at which a fiber of a target is disconnected lies below the threshold of that target. The exponential lower bound on that threshold follows from a single disconnected fiber at an exponentially large length, which persists at every later deadline.
The shape of a fiber and the complexity of querying it are also separate. A disconnected fiber can still have a simple component test: for the machine of Theorem 1.3, most targets have disconnected fibers at some lengths (Theorem 5.5), yet every fixed target has a polynomial-time connectivity test (Corollary 5.3). Moreover, unless P equals PSPACE, polynomial-time connectivity for every fixed target need not give a uniform polynomial-time algorithm when the target varies. The construction of Theorem 1.3 exhibits both under adjunction and interpretation. It does not give a machine satisfying the reference conditions whose full connectivity language fails to be PSPACE-hard, and it does not classify such machines.
For globally connected targets, every finite set can be prescribed, with construction constants depending on that set. The packing obstruction instead uses one fixed code across unbounded suffix lengths. These quantifiers explain why finite prescriptions do not combine into an infinite computable family of globally connected targets for one adjunction-universal machine. The necessary conditions, co-c.e., computably bounded c.e. subsets and intrinsic density zero, are not known to suffice for an infinite realization.
1.5. Open Problems. We single out three questions. The first two stay within this native-fiber model and concern the full connectivity language under the reference conditions and the size of the set of globally connected targets. The third lets a path change the program length.
Complexity under the reference conditions. The fixed-target and parameterized separations do not decide whether the complexity of the full connectivity language is the same for every machine satisfying the reference conditions. The rigid reference and the machines of Theorems 5.4 and 6.2 have PSPACE-complete full connectivity languages.
Open Problem 1. Is Conn(V) PSPACE-complete for every machine V satisfying all three reference conditions?
Here Conn(V) is the language of Problem 3.21, which always lies in PSPACE (Proposition 3.22). A negative answer therefore requires a machine meeting all three conditions whose full connectivity language is not PSPACE-hard.
Infinite globally connected-target sets. For every adjunction-universal machine V, the packing bounds exclude every infinite c.e. subset of and force intrinsic density zero. Finite-hub completion realizes each finite set exactly, while later bridges cannot repair a disconnected fiber at an earlier deadline.
Open Problem 2. Does an adjunction-universal machine V exist for which is infinite?
By Proposition 6.9, such a set would be co-c.e. and effectively immune.
Programs of all lengths. Every fiber studied in this paper has the programs of one length as vertices and one-bit flips as edges. Definition 3.19 also defines the edit graph, whose vertices are the programs of length at most a budget that print x within the deadline, and whose edges are flips, insertions and deletions of a single bit. Apart from its being an implicit graph (Lemma 3.20), so that its st-connectivity problem lies in PSPACE, no result of this paper concerns it. Every fiber at a length at most is an induced subgraph of that edit graph, but a path in the edit graph may change length, so neither fragmentation nor connectivity of the fibers carries over by itself.
The packing argument of Theorem 4.1 bounds the length of a path below by the Hamming distance of its endpoints, and in the edit graph only the edit distance bounds it. The two mandatory descriptions and of that proof are at Hamming distance , yet they can be at edit distance two as strings. For example, when with , deleting the bit after and then appending a 1 carries to . This defeats only the lower bound used in that proof; it gives no path in the edit graph, since the intermediate string need not print .
Open Problem 3. Do an adjunction-universal machine and a computable function exist such that, for every target , every budget and every deadline , the edit graph of the programs of length at most that print within native steps of is empty or connected?
A positive answer needs paths between programs of different lengths, and the proof of Theorem 5.2 does not address them, since it connects the programs of each length separately.
AI Disclosure. This work was developed with substantial assistance from Codex and Claude Code. These tools were used to discover almost all of the proofs in this work, find relevant literature, and write parts of the prose; the author wrote the rest. The author posed the problem, guided the development, and is responsible for any errors.
1.6. Paper Organization. Section 2 gives the preliminaries: strings, Hamming distance and the Boolean cube, native machines, adjunction, interpretation and full fibers. Section 3 supplies the explicit encoding and computational framework, including the numerical comparison of description lengths, defines the full connectivity language, and proves rigid-reference hardness and pointwise interpretation completion. Section 4 proves the first fragmentation bound for every adjunction-universal machine, the early separation between two machines satisfying the reference conditions, and sharper persistent fragmentation and component-multiplicity bounds. Section 5 constructs eventual connectivity, proves uniform hardness, establishes the exponential threshold obstruction, and derives the target-parameter consequences. Section 6 prescribes finite sets of easy targets and of globally connected targets, and proves effective restrictions on for every adjunction-universal machine.
2.1. Strings, Distances, and Cubes. Natural numbers include zero. Write , for the empty string, for a string's length, and for concatenation. The sets and contain strings of exactly and at most bits, and contains all finite binary strings. We also write . For a bit , the string consists of copies of , with . Complementing every bit of gives . The binary value of is , with value zero for the empty string. The canonical binary representation has no leading zeros, except . Exclusive-or of bits is addition modulo two, with empty sum zero.
Definition 2.1 (Hamming weight, Hamming distance, and codes). Let and let , the case giving . The Hamming weight of is the number of its coordinates equal to one,
and the Hamming distance between and is , the number of coordinates on which they differ, so that .
The function is a metric on : it is symmetric, it vanishes exactly on equal pairs, and it satisfies the triangle inequality . For the last, any coordinate on which and differ is one on which and differ, or one on which and differ.
For , a set is a code of minimum distance if for all distinct . The lowercase is used for the parameter so that it is not confused with the distance itself.
When has at least two elements the admissible values of are exactly , so the minimum distance of , meaning the largest admissible , exists and equals . A set with at most one element is a code of every minimum distance, since the condition is quantified over pairs of distinct elements and there are none. The word code also names the ambient encoding of a machine (Definition 3.2) and the code of a machine for a machine (Definition 2.6), which for the reference machine is itself; each use below says which meaning is intended.
A local transformation is a walk through feasible objects. We use simple undirected graphs and include the empty graph in our connectivity convention.
Definition 2.2 (Graphs, walks, components, and the Boolean cube). A graph consists of a set of vertices and a set of unordered pairs of distinct vertices, called edges. The letter also names machines; as a vertex-set operator it is always applied to a graph, as in , so the two uses cannot be confused.
Two vertices are adjacent, written , when . We set false for every , and false whenever or is not a vertex, so that is defined on all of .
A walk of length from to is a sequence of vertices with for every , and a path is a walk whose vertices are pairwise distinct.
Two vertices are connected when some walk joins them. This is an equivalence relation on , and its classes are the connected components of . The graph is connected when it has at most one component; a vertex is isolated when its component is ; and is edgeless when , that is, when every vertex is isolated.
A walk of least length joining two connected vertices is a geodesic between them, and the distance is the length of one. The diameter of is the supremum of over the pairs that are connected in . That supremum is 0 when . The diameter of a disconnected graph is therefore the supremum of the diameters of its components, and is not merely because two vertices lie in different components; every graph whose diameter is named below is finite.
For , the subgraph induced by is with and .
The Boolean cube, or hypercube, is the graph with in which exactly when , for the Hamming distance of Definition 2.1. It is connected, and for all .
Flipping the coordinates on which and differ, one at a time and in any order, gives a walk of length . No shorter walk exists: along a walk each step satisfies , whence by the triangle inequality of Definition 2.1. The diameter of is therefore .
A graph isomorphism is a bijection between vertex sets that preserves and reflects adjacency.
2.2. Native Machines and Simulation by Adjunction. Fixed machine descriptions may include finite data. We distinguish their description length from the native time taken to execute them.
Definition 2.3 (The native machine model). Machines are deterministic multitape Turing machines. One transition is one native step, a step of the machine itself and not of any machine it simulates: a finite control reads the scanned symbols, changes state, writes on the writable tapes, and moves each head by at most one cell. Program and auxiliary strings occupy separate read-only tapes. Each tape head starts at its first cell, and a requested move left from that cell leaves the head there. A finite binary string occupies cells one through its length; every later cell contains the blank symbol .
The output tape starts blank and is never read by the machine. Its head may move in either direction, and a transition writes at most one output symbol. A normal halt delivers the final binary output string, including the empty string. Earlier transient output is not a halt: head movement, overwriting and erasure before the halt are part of the native computation. A computation delivering a string of length takes at least steps. A distinguished halting state delivers , which is not a string and differs from .
The work tapes have fixed finite hardwired binary data, distributed in a layout declared with the machine; other work cells start blank. This initial data is present before the first transition and is not charged as runtime input or as time spent writing it. The encoding below records both the data and its layout. A program-only machine has no auxiliary input. A conditional machine also reads an auxiliary string; its unconditional reading is its run at the empty auxiliary string, and we write for it.
To read a machine description before an arbitrary appended program, the encoding of machines must identify where the description ends.
Definition 2.4 (Prefix-free sets and self-delimiting encodings). A set is prefix-free if no element of is a proper prefix of another. An encoding is self-delimiting if its range is prefix-free: a complete codeword cannot be the proper prefix of another. The explicit encoding used below also admits a computable left-to-right parse which identifies a codeword's end.
We fix an injective self-delimiting binary encoding of finite machine descriptions, the ambient encoding, and write for the code of . It records the finite control, its initial work data and, for a clocked machine (Definition 3.6), its clock. The explicit representation is specified in Definition 3.2, and its length and computational properties are proved in Proposition 3.3. The simulation and interpretation properties defined below measure uniformity in the length of this fixed code. The counting argument of Section 4.1 uses only the code that Definition 2.6 assigns to a source machine, not the bit pattern of the ambient encoding.
Surjectivity, adjunction and interpretation are different requirements. The following definitions state exactly which of them each result assumes.
Definition 2.5 (Efficient machine, efficient universal machine). A Turing machine , taking a program and, in the conditional setting, an auxiliary string as well, is efficient if, for every program and auxiliary string , the configuration of reached after steps is computable from in time polynomial in , the polynomial depending only on . A halting configuration is its own successor, so this is defined whether or not the computation has halted by step . Under the model just fixed the efficiency clause is automatic by Fact 3.4. We retain the clause because it fixes the quantity against which the configuration computations of Lemma 3.20 are charged. It is also a genuine hypothesis on any model in which the configuration after steps need not be computable in polynomial time.
An efficient universal machine is a machine that is efficient and in addition universal: for every there is a program with . For a machine taking a program alone the clause reads: for every there is a with . Here the word universal means only onto at the empty condition; it does not assert either of the simulation and interpretation properties defined next. We also call this an efficient onto machine. The words efficient and universal name separate requirements below, since efficiency is asked of some machines whose universality is not in question.
We write , or in the conditional setting, within steps if the computation halts with output after at most steps. Machines are conditional except where stated, and we abbreviate throughout, so that the unconditional reading is the conditional one at the empty auxiliary string. Program-only and conditional machines are distinguished where each construction is given.
Universality asks that every string be the output of some program. Simulation by adjunction additionally requires that every program of a machine be run unchanged after one fixed code that depends on .
Definition 2.6 (Simulation property). An efficient universal machine has the simulation property if there are a polynomial and a map , computable in time polynomial in and of length polynomial in , such that for every Turing machine and every string : if halts in steps then halts with output within steps, and if diverges then so does . We call the code of for , and the map the code map of ; the code is independent of the raw suffix and of its length. In this setting is the source machine and the raw suffix. For the reference machine of Definition 3.5, the code of is the ambient encoding itself; other machines use their own codes.
Running on an unchanged program placed after a fixed code of is simulation by adjunction, or adjunction for short. Simulation constrains the empty-condition branch; interpretation instead supplies the machine through the auxiliary string.
Definition 2.7 (Interpretation property). A conditional efficient universal machine has the interpretation property if there are a polynomial and a map subject to the same computability and length bounds as in Definition 2.6, such that for every Turing machine and every program : if halts in steps then halts with output within steps, and if diverges then so does .
The prime keeps this encoding apart from the simulation encoding of Definition 2.6. The simulation and interpretation encodings need not coincide. The polynomial may be taken nondecreasing in each argument: replace it by the sum of the absolute values of its coefficients times the same monomials. We do so throughout.
The overhead is required to be uniform in , and not merely polynomial for each fixed , because every use below applies the property to a machine built from the input of a reduction. Definition 2.6 is stated with the same uniformity, and its polynomial is normalized in the same way. Fact 3.10 needs only the per-machine form, and uses that normalization.
Surjectivity is asked at the empty auxiliary string only. It could not be asked at every auxiliary string of a machine with the interpretation property of Definition 2.7. Let ignore its input and print the string . If has the interpretation property of Definition 2.7, then for every program , so the range of is the single string and is not all of .
We call an efficient universal machine with the simulation property of Definition 2.6 an adjunction-universal machine. The name follows the term universal by adjunction, which Bauwens, Kozachinskiy and Shen record, quoting Downey and Hirschfeldt, for machines universal in their sense [BKS25, Sections 2 and 4]. In their definition a machine is universal if, for every machine, some string placed before the unchanged programs of that machine makes it run them; that string need only exist, and no time bound is imposed. Here the code is computable from in polynomial time and the simulation has polynomial overhead, so an adjunction-universal machine satisfies an effective, time-bounded form of their universality. Being onto, having the simulation property and having the interpretation property of Definition 2.7 are together the reference conditions.
2.3. Full Native Fibers. Fixing the output, program length and native deadline selects a set of feasible descriptions. Its geometry is the subgraph induced by those descriptions in the program cube.
Definition 2.8 (The full native fiber). For a machine of the model of Definition 2.3, a target and integers , define
For a program-only machine the auxiliary string is omitted. We call the fiber of . A distinguished halt contributes no vertex, including when . Every length- program is considered, however it begins. A path keeps fixed and changes one program bit at each step. The untimed fiber of at length is the subgraph of induced by the length- programs on which eventually halts normally with output ; it is the union of the fibers over all .
A prefix cylinder consists of every string obtained by appending an arbitrary -bit suffix to the fixed string . We call it the cylinder of . The counting arguments for adjunction-universal machines in Section 4 count the vertices of connecting paths or subgraphs, including programs outside the cylinder of a code, so they never assume that this cylinder is separated from the rest of the fiber.
3. ENCODINGS AND CONNECTIVITY COMPLEXITY
The complexity results need, beyond the definitions of Section 2, a concrete encoding, uniform clocks and a precise endpoint query. This section provides that machinery with complete proofs, together with the numerical comparison of description lengths. It ends with two results used in Sections 5 and 6: every fixed-target connectivity language of the rigid reference is PSPACE-complete (Corollary 3.24), and interpretation can be added to a machine without changing any fiber (Lemma 3.25).
3.1. Explicit Encodings. Our hardness results reduce from a problem about Boolean formulas, stated in Fact 3.17. We fix their syntax and truth-value conventions next.
Definition 3.1 (Conjunctive normal form). A literal is a variable or its negation , a clause is a disjunction of literals, and a formula is in conjunctive normal form if it is a conjunction of clauses. The letter is used for Boolean variables, and the letter is reserved for the target string. A formula is in 3-conjunctive normal form if in addition every clause has at most three literals. For a formula on the variables , an assignment sends to and to , a clause to the maximum of the values of its literals, and the formula to the minimum of the values of its clauses. That last value is . The empty clause takes the value 0 and the empty conjunction the value 1. An assignment satisfies if .
We fix an integer . A polynomial clock has the form , with nonnegative integer coefficients and ; it grants at most source transitions on an input of length . Its coefficients are represented in unary. The complete clocked-machine convention is recorded below. We first make the binary representation of controls, machines, clocked machines, tuples and formulas explicit.
The ambient code uses a parity-protected length header so that a one-bit change cannot open a different valid parse.
Definition 3.2 (The ambient encoding). Call the three strings , and the legal blocks; in the notation of Definition 2.1 they satisfy and for . Write for the string obtained from by replacing each 0 by and each 1 by .
Let be the concatenative raw encoding of finite objects, defined as follows. Every raw encoding begins with a tag of a fixed length naming the type of the object encoded, which is one of control, machine, clocked machine, tuple, and formula. The tag makes injective across types as well as within each, and is displayed in the identities below.
A finite control is written as for its transition table . The table uses a self-delimiting format of its own. In it, a transition mentions only the tapes it touches and the states it names, each by a self-delimiting numeral, and the states of a table are numbered consecutively. The format is prefix-free, so the raw control encodings form a prefix-free set, and that makes the machine clause below injective and parsable in one left-to-right pass. In particular is defined.
The table carries an initial-state field, one self-delimiting numeral, ahead of the transitions, so that a wrapper redirects the entry point by rewriting a single field rather than by renumbering the inherited states. Tapes, states, and tape symbols are each numbered consecutively from 1. A table with k tapes, S states, and an alphabet of A symbols therefore has , which is the bound on the alphabet width that Fact 3.4 uses.
The two symbols 0 and 1 are numbered 1 and 2 and are written in a common fixed-width field, so that exchanging one for the other in a transition changes no field's width. Declaring one further work tape, adding a bounded number of fresh states, rewriting the initial-state field, and adjoining a fixed gadget therefore enlarge the table by bits and no more. Rewriting an inherited bit-write in place changes no symbol field's width.
A machine with control and data string is written as . A clocked machine with control , data , and clock coefficients as in Definition 3.6 is written as
(3.1)
where the coefficient block is self-delimiting because it contains exactly zeros and is an absolute constant, so that the transition table, then the coefficients, then the data string are read off in one left-to-right pass. The data string comes last in both cases, since it is written raw and carries no delimiter of its own; its extent is fixed by the length that the length header of Eq. (3.2) announces. For a clocked machine as in Eq. (3.1), carries as a contiguous block for every . Lemma 3.7 reads these blocks. The blocks are disjoint substrings of , so that , and . Emptying the data string of a clocked machine with control gives the clocked machine , so is defined as well. Proposition 3.3 compares with . For an unclocked machine, .
A tuple of strings is written as
where is the self-delimiting numeral of length built from the legal blocks. The header records the arity, because the lengths alone would not tell a left-to-right parse where the header stops. With the arity in hand, the parse reads k, then the k - 1 lengths, then the components.
For a pair this gives . Arities are not assumed bounded, and none is needed: every numeral has length , so the header of a -tuple occupies at least bits and . Appending one further component therefore lengthens the header by and the body by , which is the estimate the wrappers below use.
The tuple rule is not applied to the pair . The transition table is already self-delimiting, so no length header is needed to separate the control from the data, and the data string is charged and no more, as the additive bounds below require.
A formula in conjunctive normal form on variables with clauses is written as . Each clause is written as its width in the numeral sd followed by its literals, and each literal as a sign bit followed by sd of its index. The clause codes use a tagless local format. They have no type tag, since the tag rule of the opening paragraph applies to the five listed types only, and they are parsed positionally inside , where the width numeral of each clause announces where the next begins. The parse is again left to right.
Finally, is linear in the size of o in every case, taking the size of a formula to be the length of that encoding. The map is an injection. Both and are computable in polynomial time, and the range of is decidable in polynomial time by one left-to-right parse of the tag and of the self-delimiting fields that it announces. The ambient encoding of a finite object o is
(3.2)
a block-encoded length header, the raw encoding, and one parity bit, where the empty exclusive-or is 0, so that when . A machine reading a codeword from the left reads the length header block by block until it meets , then reads the announced number of further bits together with the parity bit. It rejects the string outright in any of six cases: some block is not legal; the block-decoded header is empty; has and , so that for the number it names; the total length differs from ; the parity does not check; or is undefined on the announced span.
The leading-zero test is necessary. Without it the pass accepts for every whose value is , and so decides a strictly larger set than the range.
Take . Every header block of the resulting string is legal, its decoded header is nonempty and names , its total length is exactly , and its parity checks.
That string nonetheless lies outside the range. The block parse of any codeword stops at its first block, so a codeword beginning would announce the header string . That string has a leading zero and length at least two, so it is for no . Only the clause forbidding a leading zero rejects it in the parse itself.
When the hardwired data string encodes a tuple, its components occupy separate declared work tapes. That layout is recorded in the finite control, so the ambient machine code determines the entire initial configuration. A wrapper may put an added component on a fresh tape after the inherited tapes, preserving every inherited tape index.
Proposition 3.3 (The ambient encoding is prefix-free, cheap, and rigid). The encoding of Definition 3.2 is injective, has a prefix-free range, decidable and decodable in polynomial time, is computable in polynomial time, has length bounded by a polynomial in the size of the object encoded, and satisfies
for a machine presented as a control and a data string , with an absolute implied constant, where is the clocked machine obtained by emptying the data string, and for an unclocked machine; more generally . It is moreover rigid: for every codeword , every at Hamming distance one from , and every , no codeword of the encoding is a prefix of .
Proof. Prefix-freeness and the parse. The header is a sequence of legal blocks terminated by the single occurrence of , since no block of is , so it is self-delimiting and is read in one pass. It announces , which fixes the total length of the codeword. If one codeword is a prefix of another, the two are read by the same block parse, so they carry the same header, hence the same announced length, hence are equal. No codeword is therefore a proper prefix of another.
Membership is decided, and recovered, by that one pass together with the parity check and the inversion of , all in polynomial time. Eq. (3.2) is itself computed in polynomial time from . The encoding is injective, because is injective and because the header fixes the span of that occupies. Its length is linear in , hence polynomial in the size of .
Length. Writing , the codeword has bits, and for , while . In either case for , so the excess of the codeword length over is , the last step because . That is the general bound. For a machine the transition table is nonempty, so there, and as well. The exact formula for therefore applies to and to alike, giving
This lies between and , by the inequality
and is therefore with an absolute implied constant, since is . For a clocked machine we absorb the clock into the control. Write
for the tag and the control together with the coefficient block of Eq. (3.1), so that exactly, with no further tag. By Eq. (3.1) the string just displayed is of the clocked machine , so is Eq. (3.2) applied to an object of a declared type. The derivation above then runs with replaced by 0 and gives
the upper bound from , so with an absolute implied constant. This is the form the constructions below use, since the clock coefficients are part of what the caller supplies and not of the data.
Rigidity. Let be a codeword, let differ from in the single position , and let be arbitrary. Write for the object that encodes and for the number of header blocks. The codeword has bits, of which the first form the header, the next are , and the last is the parity bit. The position therefore lies in exactly one of these three regions, and the two cases below are exhaustive.
Suppose some codeword prefixes . Every codeword begins with a header of legal blocks, and both parses start at the first bit. The blocks of therefore occupy the same positions as those of , and the two parses read the same positions until one of them stops. Moreover, agrees with off position .
If lies in the header of , let be the block containing it, so . Every legal block has even Hamming weight, so the corrupted block has odd weight and is not legal. The blocks before it are untouched, and none of them is : that block occurs in the header of only as the last one, which is or comes after it.
Concretely, the blocks of lie inside and are therefore each or . The flip does not touch them, so they are also the blocks of , hence of . Since the header of a codeword terminates at its first block, the parse of cannot stop before block , and at block it meets an illegal block. No such exists.
If lies in or in the parity bit, then has the same header as : blocks are or , and block is . The header of therefore stops exactly at block , and it is the header of . Hence announces the same length as and has the same total length . So is the prefix of of that length, which is itself. If lies in , the announced bits of have the opposite parity to those of while the parity bit is unchanged. If is the parity bit, the announced bits are unchanged and the parity bit is flipped. Either way fails the parity check and is not a codeword. Therefore no codeword prefixes .
3.2. Uniform Simulation and Native Clocks. Bounded native execution has a uniform interpreter. We give the configuration construction because the later clocks depend on uniformity in the supplied machine code.
Fact 3.4 (Uniform simulation of multitape machines; folklore strengthening of [AB09, Theorem 1.9 of the published edition], see also [LV19]). There are a multitape Turing machine Sim and a polynomial such that, for every multitape Turing machine M, every input z, and every T, the machine Sim on input outputs the configuration of after T steps, in time at most , the polynomial and its degree not depending on M. The same holds for a machine taking its two inputs p and y on separate read-only tapes.
Proof. The sources state the halting simulation with an overhead whose constant depends on . The constructions below need two things those statements do not give: the configuration after a prescribed number of steps, whether or not the computation has halted, and an overhead uniform in . One construction supplies both, and we record it rather than cite it.
The simulator first lays out the initial configuration of , writing the hardwired data string d across the simulated work tapes in the layout that declares, as Definition 2.3 requires of that configuration. It then carries the k tapes of M interleaved on a single work tape, one track apiece, with a further track per tape marking that tape's head, and it keeps the step count in unary on a second work tape. It reads the transition table off its own input rather than holding it in its control. That is what turns a dependence on M into a dependence on .
The number of tapes of and the width of its alphabet are both bounded by , so one column of the interleaving, carrying one cell of each tape together with the head markers, occupies cells of the simulator. The layout occupies columns before the first step, and the region in use after steps therefore spans cells.
One simulated step sweeps that region and makes one lookup in the table. The lookup costs , so, including initialization and the final configuration output, the total is bounded by . That is a polynomial in , and whose degree does not depend on , which is what the fact asserts. The simulator halts after simulating exactly steps, with the resulting configuration written out whether or not has halted.
We now fix one machine with both the simulation property of Definition 2.6 and the interpretation property of Definition 2.7.
Definition 3.5 (The reference machine). The reference machine is defined as follows: if and for the unique machine encoding that prefixes , then runs ; if , it runs ; and in every other case it diverges. We call the first the simulation branch and the second the interpretation branch. In both branches ranges over the encodings of machines and of clocked machines alike, in the sense of Definition 3.6. A clocked is run under its clock, so when that clock expires. A prefixing codeword of any other type is not a machine encoding, and diverges. Because its encoding is rigid (Proposition 3.3), we also call the rigid reference.
Such a machine exists and meets both requirements. The parse is unique because is prefix-free, and the two branches do not collide because is not a codeword of Definition 3.2: every codeword there has length at least seven. Universality holds directly, and not by way of either property, since the statements of both presuppose it. For , let ignore its input and print ; then . Efficiency is automatic under the model fixed above. Both properties hold with a single polynomial, by Fact 3.4, whose overhead is uniform in . That is exactly the uniformity the two definitions ask for.
The clock presentation below makes every construction that wraps a supplied clocked machine uniform in that machine. It also specifies how a timeout differs from a normal empty output.
Definition 3.6 (Clocked machine). Use the fixed absolute degree bound introduced above. A clocked machine supplied as a decider (Definition 3.15) is written calligraphically as to distinguish it from this degree bound.
A clocked machine is a pair consisting of the code of a Turing machine and a clock of degree at most , evaluated at the input length, so that a computation of the machine on an input is granted steps.
The coefficients are written in unary inside the code, so that the encoding length of a clocked machine does not grow with the input length. They are natural numbers, which is what makes nondecreasing on . We adopt the convention , so that , and require , so that a clocked machine is granted at least one step on every input, the empty one included.
It is run under its clock. If the clock expires it halts with a distinguished output . A timed-out computation is therefore a rejection when the machine is used as a decider, and it yields no string, hence no description, when the machine is used as a verifier. Here a verifier is a machine, clocked or not, whose normal outputs serve as targets, as opposed to a decider, whose outputs are the verdicts 0 and 1. Since is not a string, differs from every target, the empty target included.
Whenever a polynomial-time machine is supplied as input to one of the constructions below, it is presented in this form, and the relevant input length is given in unary as well. The degree bound and the unary coefficients together give what the constructions need, namely one polynomial serving for every clocked machine at once.
A construction that wraps a supplied clocked machine must present its clock by that machine's own coefficients, and not by the value of its clock at a hardwired length. A unary constant coefficient costs as many bits as the running time it names, so the wrapper's encoding would grow with that running time. The fixed degree bound and the unary representation of the coefficients are both needed for a uniform polynomial bound in input length and code size.
Multiplying the supplied clock by a fixed constant and adding a linear polynomial preserves degree at most . Scaling and adding the unary coefficients takes polynomial time. This is the closure used by the native wrappers below.
The fixed degree and explicit unary coefficients bound every supplied clock by one polynomial in input length and code size.
Lemma 3.7 (Uniform clock bound). Let M be a clocked machine with clock c in the sense of Definition 3.6. Then
(3.3)
for every , and is computable from and in time polynomial in .
Proof. The unary blocks are disjoint substrings of by Eq. (3.1), so . Also , since a code is a nonempty string. For every and every we have , so
Write . Then and , the latter because . Multiplying gives
which is Eq. (3.3). Since is an absolute constant, the right-hand side is a fixed polynomial in . Parse the unary coefficients and the supplied string . For each , begin with and, times, replace every symbol 1 by a copy of on a blank work tape. The intermediate strings have length at most ; nested tape scans therefore implement each replacement in time polynomial in . Concatenating the resulting strings produces within the same kind of polynomial bound. This includes and zero nonconstant coefficients; parsing and setup are charged independently of the output length. The additive is a convenience rather than a necessity: the display above already gives , because and .
3.3. Numerical Description-Length Comparison. The numerical measure will be used only to compare machines; the connectivity questions retain every feasible description.
Definition 3.8 (Time-bounded conditional Kolmogorov complexity). For and a deadline , the time-bounded conditional Kolmogorov complexity of given is
(3.4)
with the convention that the minimum of the empty set is .
A subscript replaces the reference machine by , and is the unconditional form. The value is infinite when no such program exists. In particular it is infinite whenever , since a computation delivering takes at least steps (Definition 2.3). The following truncation bound also bounds the length of a shortest program.
Lemma 3.9 (Witness truncation). For every machine , every , and every , if is finite then .
The bound is folklore for models of the kind fixed in [LV19, Section 7.1], which states no such theorem. We verify it for the model of Section 2.2, since it depends on that model's head discipline and read-only tape layout.
Proof. Suppose is finite and let be a witness, so within steps. By the model of Section 2.2 the program tape is read-only, its head begins on cell 1, and it moves by at most one cell per step. An induction on then gives that after steps the head is on a cell of index at most . The symbol read during step is the one under the head after steps, hence lies at a cell of index at most . As the computation halts after some steps, every program cell that it reads has index at most , and a fortiori at most .
Let be the first bits of , so when and otherwise. The two program tapes carrying and agree on every cell of index at most . Beyond that index the first carries bits of , and the second carries either bits of or the blank symbol.
We show by simultaneous induction on that after steps the two computations are in the same state, have all their heads on the same cells, carry the same contents on every tape other than the program tape, and have their program-tape heads on a cell of index at most . The base case is the common initial configuration.
For the inductive step, the transition taken depends only on the current state and on the symbols under the heads. The symbols on the tapes other than the program tape agree by the inductive hypothesis. The program symbol is read at an index at most , where the two program tapes agree, so the same transition is taken and all four clauses persist. Hence within the same steps, so is a witness and .
The usual resource-bounded invariance principle has the following form for adjunction. Its per-machine polynomial is proved explicitly here; compare the particular efficient reference in [LV19, Theorem 7.1.1].
Fact 3.10 (Invariance from adjunction). Let V be an efficient universal machine with the simulation property of Definition 2.6. For every machine M there are a constant and a polynomial q such that, for every string x and every deadline t,
where is the time-t measure taken against M, in the notation just fixed.
Proof. That the polynomial depends on alone is not obvious, since Definition 2.6 grants an overhead polynomial in the running time of and in the length of the simulated program.
Explicitly, let and witness the simulation property of , and put and , a polynomial in for each fixed .
If the inequality is vacuous. Otherwise let be a shortest witness, so that within some steps and , which is at most by Lemma 3.9. Then within steps, since is nondecreasing in each argument. Hence .
Both and depend on and on and on nothing else. That depends on alone, and not on the complexity, is supplied by Lemma 3.9.
Apply this in both directions to a pair of machines with the simulation property. The measure is then determined by x and t up to an additive constant in the length budget and a polynomial change in the deadline, whichever of the two machines is used.
3.4. Implicit Graphs and Space Bounds. For a general finite connected graph, the number of vertices gives a simple diameter bound.
Lemma 3.11 (Diameter of a finite connected graph). A connected graph with vertices has diameter at most k - 1.
Proof. A walk of least length between two vertices repeats no vertex, since deleting the portion between two occurrences of one leaves a shorter walk, so it visits at most k vertices and traverses at most k-1 edges.
The computational input usually describes an exponentially larger graph through vertex and adjacency tests.
Definition 3.12 (Implicit presentation). Implicitness is a property not of a single finite graph, for which the conditions below hold by table lookup, but of a family presented by a string. A family of graphs is implicitly presented if there are a polynomial , a set of well-formed presenting strings, and algorithms , and , each running in time polynomial in the total length of its arguments, such that
• decides whether , and is the empty graph for ;
- every vertex of is a string of length at most ;
- decides whether ; and
- decides whether .
The set is what makes the family total on , and it is where each presentation below records the shape its tests assume. We say that is implicit when the presenting family is clear from the context, as it is at every use below. The -connectivity question for such a family asks, given and two strings and , whether both are vertices of and are connected in .
We use polynomial time and polynomial space with respect to the full binary input length, and polynomial-time many-one reductions.
Definition 3.13 (Complexity classes and many-one reductions). We write for the class of decision problems solvable by a deterministic Turing machine in time polynomial in the input length, and NP for those whose yes-instances admit certificates of polynomial length checkable in polynomial time. Similarly, PSPACE denotes the class of decision problems solvable by a deterministic Turing machine in space polynomial in the input length, and NPSPACE the class of those solvable by a nondeterministic Turing machine in polynomial space.
For functions we write and for the deterministic and nondeterministic classes at space bound , so that and .
A promise problem is a pair of disjoint sets of strings, and an algorithm solves it if it accepts every element of and rejects every element of , its behavior on every other input being unconstrained. A language is identified with the promise problem , so that the two readings agree on decision problems and every notion below applies to languages as a special case. A promise problem lies in PSPACE if some deterministic algorithm running in space polynomial in the input length solves it, and lies in P if some deterministic algorithm running in time polynomial in the input length solves it.
A polynomial-time many-one reduction from to is a polynomial-time computable with and , nothing being asked of outside .
A promise problem is PSPACE-hard if every language in PSPACE, read as above, reduces to it in this sense, and PSPACE-complete if it is PSPACE-hard and lies in PSPACE.
If reduces to by , and an algorithm of one of the two resource bounds solves the latter, then solves the former within the same bound, the output of being polynomially bounded in length. Both classes are therefore closed downward under these reductions, promise problems included.
Reductions compose. If reduces the first pair to the second and reduces the second to , then is computable in polynomial time and carries into and into , so it reduces the first to the third. In particular, reducing a PSPACE-hard promise problem to a promise problem makes itself PSPACE-hard, which is the form every hardness argument below takes.
The next proof gives the finite-graph recursive argument in full. The midpoint recursion follows Savitch's quadratic-space simulation method [Sav70]; [AB09, Theorem 4.14, Section 4.2.1] gives a textbook exposition. We need the stated endpoint tests and space bound for the graph presentation used here.
Lemma 3.14 (Reachability in an implicit graph). Let be implicitly presented in the sense of Definition 3.12, with vertex length bound and tests and . Deciding, given and two strings , whether both are vertices of and are connected in is possible in space polynomial in , hence in space polynomial in whenever and are bounded by , as they are at every use below.
Proof. Increase the polynomial bound to a nonnegative integer-valued bound if necessary and put . First check that is well formed, and reject otherwise. Count each endpoint's length and reject it as soon as that count exceeds . The fields of the input triple and these counters can be read using space polynomial in plus ; the fixed arity of the triple and its binary length fields require only logarithmic counters. Once both endpoints pass, store them and run on each. These tests have arguments of length polynomial in . Reject unless both are vertices.
For vertices , define a recursive Boolean procedure . At , accept exactly when or . For , enumerate all strings of length at most . Discard unless . For each remaining , evaluate and, if it accepts, evaluate . Accept if both evaluations accept for some , and reject when enumeration finishes otherwise. The two recursive calls are performed sequentially, reusing their workspace.
Induction on shows that accepts exactly when a walk of at most edges joins its endpoints. The base case includes the zero-edge walk. Two accepting recursive calls concatenate to a walk of at most edges. Conversely, split a walk of length at most after its first edges, where is its length. The two resulting walks each have length at most and meet at a vertex considered by the enumeration. This proves the induction.
There are at most possible vertices. Every connecting walk can be shortened to a simple path, so decides connectivity. Each recursion frame stores a constant number of length-at-most-m strings, an enumeration counter and its depth, using cells. There are at most simultaneous frames. Let be a fixed polynomial bound for the shared workspace of the vertex and adjacency tests. These tests reuse that workspace. Thus total space is
which has the asserted form. Equal valid endpoints, , and empty graphs are included in the same procedure. If endpoint lengths are at most , the logarithmic term is polynomial in as well.
3.5. Predicates and the Reconfiguration Problem for Formulas. Predicates may be supplied as clocked deciders. Our hardness reductions use formulas with explicit satisfying endpoints.
Definition 3.15 (Predicates and clocked deciders). A predicate at length is a subset , and a predicate is a subset . A clocked machine in the sense of Definition 3.6 decides at length if for every and for every , the outputs being the one-bit strings 1 and 0.
A timed-out computation outputs and therefore decides nothing, so a decider must finish within its clock at every input of that length.
It decides , without qualification, if for every and for every , that is, if it decides at every length at once.
A clocked machine runs in time polynomial in its input length by Lemma 3.7, so we use clocked machine and clocked polynomial-time machine interchangeably. We call a clocked polynomial-time predicate at length , and a clocked polynomial-time decider for it, when such an exists and is the object supplied.
The phrase presented by a clocked polynomial-time decider means that the input to the construction at hand is the pair and , so that a deadline sufficient for running on any may be written down in unary by Lemma 3.7. Nothing is asked of at lengths other than , which is why the length is named in the phrase clocked polynomial-time predicate at length .
Write for the size of a formula. Whether a given assignment satisfies a given formula is decidable in time on the multitape model of Section 2.2. Here is an explicit polynomial bound, including . Put . Scan the encoded formula from left to right, keeping binary counters for clause widths and literal indices. All fields and counters needed for a valid formula have at most positions. Decoding each encoded bit, updating a counter and resetting its head can therefore be done with transitions, for total parsing time.
For each literal, first move the assignment head left times, which leaves it at cell one under the left-end rule, and then move right to the indexed variable. There are at most further head moves, each implementable with an -time counter operation, followed by a read of that variable. Thus the at most literal tests cost transitions in total. Clause truth flags and the remaining scan counters cost . Since , these operations give the asserted bound.
If , a valid formula has no literals; the same scan assigns value zero to an empty clause and value one to an empty conjunction, as required by Definition 3.1. The positive term in also covers the final verdict write.
The difficulty in everything that follows lies in moving between two assignments, not in testing one. The object that holds the reconfiguration structure is accordingly the set of satisfying assignments together with its adjacency, and not that set alone.
Definition 3.16 (Solution set and solution graph). For a Boolean formula on variables, in conjunctive normal form as in Definition 3.1 wherever a form is specified, the solution set is
(3.5)
and the solution graph of is the graph with vertex set in which two assignments are adjacent when they differ in exactly one variable. Equivalently, it is the subgraph of the -dimensional hypercube induced by . More generally, for any the solution graph of is the subgraph of the hypercube induced by , so that the notion applies to an arbitrary predicate and not only to one presented by a formula.
The problem we reduce from asks about two designated vertices, rather than connectivity of the entire solution graph.
Fact 3.17 (Reconfiguration of satisfying assignments; [GKMP09, Theorem 2.9 and Section 3.3 of the full version]). The following problem is PSPACE-complete. Given a Boolean formula in conjunctive normal form on variables and two satisfying assignments of , decide whether there is a sequence of satisfying assignments of , beginning at and ending at , in which every two consecutive assignments differ in exactly one variable. In the terminology of Definitions 2.2 and 3.16, the question is whether and are connected in the solution graph of . Hardness holds already when is in 3-conjunctive normal form, and the general form stated here follows, every 3-conjunctive normal form being a conjunctive normal form.
3.6. The Full Fiber and Its Query Language. The next definitions allow programs of every length up to a budget and programs of one exact length; the results below concern exact lengths only.
Definition 3.18 (Adjacency models). Two strings are flip-adjacent if and they differ in exactly one position. They are edit-adjacent if one is obtained from the other by flipping, inserting, or deleting a single bit. Flip-adjacency is the restriction of edit-adjacency to strings of equal length. Indeed, an insertion or a deletion changes the length by exactly one, so if and and are edit-adjacent then the single edit is a flip and they differ in exactly one position. Conversely, a flip is one of the three permitted edits.
Both relations are symmetric, since insertion and deletion are mutually inverse and a flip is its own inverse. Both are irreflexive as well: a flip changes a position, and an insertion or a deletion changes the length. The edit distance between two strings is the least number of single-bit flips, insertions, and deletions carrying one to the other. Edit-adjacency is therefore edit distance one.
We apply these moves only to programs that meet the target and deadline constraints.
Definition 3.19 (Description landscape). For , a deadline , a length budget , and a length , the description landscape is the set
(3.6)
Its flip graph has vertex set and joins two descriptions when they are flip-adjacent; its edit graph has the same vertex set and joins two descriptions when they are edit-adjacent. The fixed-length landscape is
whose flip graph is written . By the clause of Definition 3.18 making flip-adjacency the restriction of edit-adjacency to equal lengths, its edit graph coincides with its flip graph, and so is not written separately. When the machine is an efficient machine other than the reference machine we write and , and likewise for the graphs. The subscript is dropped only where the text names the machine, as in “with respect to ”; without a subscript or such a phrase the machine is . Omitting the condition, as in , means the auxiliary string , or no auxiliary input for a program-only machine, by the convention of Definition 2.5.
The full native fiber of Definition 2.8 is exactly the flip graph , and we call either one the fiber of .
Lemma 3.20 (Landscapes are implicit). Let be an efficient machine, let , and let the deadline , the length budget , and the length be presented in unary. Then the flip graph and the edit graph of are implicit, as is the flip graph of the fixed-length landscape , and likewise for the unconditional landscapes obtained by omitting the condition. The presenting strings are and in the conditional case and and in the unconditional one, with vertex length bound and with the set of tuples of the shape displayed, in which the last two fields are unary. Consequently the st-connectivity problem for any of these graphs lies in PSPACE.
Proof. We verify the four conditions of Definition 3.12. Proposition 3.3 decides well-formedness: it recovers the fields of a tuple in polynomial time, and so tests both the arity and the unarity of the last two fields. A string failing that test presents the empty graph.
A vertex is a string of length at most , and is bounded by the input size because it is presented in unary, so vertices have polynomial length.
Membership of a candidate string in the vertex set is decided by testing and then computing, from , the configuration of after steps. That computation costs time polynomial in , hence polynomial in the input length, because is efficient and is presented in unary.
The test accepts if and only if that configuration is halting, its state is not the distinguished one, and the contents of its output tape are exactly x. This is correct for two reasons. A halting configuration is its own successor by Definition 2.5, so the configuration after t steps records the output of any computation that halted at some step . And a halt in the distinguished halting state yields , which differs from every string, the empty one included.
Adjacency of two candidate strings and is decided as follows. First run the membership test above on and on , rejecting unless both are vertices. This is needed because Definition 3.12 asks to decide adjacency in , and a pair in which either member fails to be a vertex is not adjacent there.
For the flip graph, accept if and only if and , which is decided by one pass comparing the two strings position by position and counting the mismatches.
For the edit graph, accept if the flip test accepts, and otherwise test the two length cases. If , accept if and only if there are an index with and a bit with . That is decided by trying each of the values of and comparing the resulting string with . If , run the same test with the roles of and exchanged.
In every remaining case, that is when or , reject. No single edit changes a length by more than one, and by Definition 3.18 two strings of a common length are edit-adjacent only when they are flip-adjacent.
Each of these tests performs comparisons of symbols, so it runs in time polynomial in the total length of its arguments, as Definition 3.12 requires. The graphs are therefore implicit.
For the fixed-length landscape the only change is that the length test is replaced by , and is bounded by the input size because it too is presented in unary. For the unconditional landscapes the auxiliary string is omitted from the simulation. Neither change affects the remaining three conditions. The final claim now follows from Lemma 3.14.
To make connectivity a language, defined on every input string, we also say how inputs that are not well-formed queries are answered.
Problem 3.21 (Unconditional connectivity). Fix a machine , read unconditionally, so that abbreviates for a machine that takes a condition, by the convention of Definition 2.5. The input is a tuple in which , the deadline is presented in unary, and are two programs of a common length lying in . The length is read off the two programs and is therefore bounded by the input length. The question is whether and are connected in the flip graph . We call this the unconditional reconfiguration connectivity problem with respect to .
Write Conn(V) for this language, rejecting malformed tuples, nonunary deadlines, unequal endpoint lengths, and nonvertices. We call Conn(V) the full connectivity language of V, as opposed to its fixed-target restrictions Conn_x(V). For fixed x, the language Conn_x(V) additionally rejects a tuple whose target field is not x. Query length always means the entire tuple length, including 1'.
Proposition 3.22. For every efficient machine V in the sense of Definition 2.5, the unconditional reconfiguration connectivity problem with respect to V is in PSPACE.
Proof. A query of Problem 3.21 names the length N only through its two programs, whereas the presenting string of the fixed-length landscape in Lemma 3.20 carries , so the algorithm first forms that string. On an input t of length it proceeds as follows.
First, it recovers the fields of as in the proof of Lemma 3.20, by Proposition 3.3, and rejects unless is a tuple of four strings. It then rejects unless for some , and unless . These are exactly the malformed tuples, nonunary deadlines and unequal endpoint lengths that Conn(V) rejects, and the tests take time polynomial in .
Second, it puts and writes the presenting string of the unconditional fixed-length landscape of Lemma 3.20. Since and are each at most , the string has length polynomial in and is written in time polynomial in , and it is well formed in the sense of that lemma. The graph it presents is .
Third, it runs the procedure of Lemma 3.14 for the family of Lemma 3.20 on and returns its answer. That procedure accepts exactly when and are both vertices of , that is, both lie in , and are connected in that graph. It runs in space polynomial in , hence in space polynomial in .
An input passing the first step is therefore accepted if and only if both endpoints are vertices of the fiber at length and deadline and are connected in it, which is the definition of Conn(V). The first two steps run in polynomial time and hence in polynomial space, and storing uses space polynomial in , so the whole algorithm runs in polynomial space. The argument uses only through Lemma 3.20, which needs only that is efficient; whether is onto plays no role.
3.7. Local Isolation and a Rigid Reference. A hard solution graph can sit inside the fiber of one machine, as the programs beginning with one header, whatever the machine's other programs do. It suffices that no one-bit change inside the header keeps a program in the fiber.
Proposition 3.23 (Local isolation suffices for hardness). Let be an efficient universal machine. Suppose there is a polynomial-time computable map sending the presentation, as in Definition 3.15, of every clocked polynomial-time predicate , at every , to a witness length , a length , a target , a deadline , and a string with , such that, writing for the padding of to length ,
• for every , the program hv outputs x within t steps if and only if ; and
• for every , every program at Hamming distance one from hv that differs from it within the first bits fails to output x within t steps.
Then, at each such , the map is an isomorphism from the solution graph of onto a union of connected components of the flip graph of with respect to ; and consequently the unconditional reconfiguration connectivity problem with respect to is PSPACE-complete. If moreover the map outputs one and the same target for every such , then the fixed-target language is PSPACE-complete as well.
Proof. Membership is Proposition 3.22. For hardness, take a valid instance of Fact 3.17, with variables. First present its solution predicate as a clocked decider at length . Hardwire and unary into a clocked decider which checks exact input length by reading at most cells and then uses the formula-evaluation procedure given after Definition 3.15. Wrong-length inputs are rejected at that length check, even if their actual length is much larger. Hence all its runs are bounded by one fixed polynomial in .
Choose an integer constant coefficient exceeding that bound and set all other clock coefficients to zero. This is a permitted degree-zero clock, and its unary coefficient and complete decider code have polynomial length in the formula instance. This construction uses a new formula decider; it does not encode the runtime of an arbitrarily supplied clocked machine at a hardwired length. Apply the hypothesis to this presentation of to obtain in polynomial time.
The supplied integer need not itself be polynomially bounded. Put
Both integers are computable in polynomial time from the supplied data, and is polynomially bounded because is supplied explicitly.
If , both hypotheses remain unchanged. Otherwise . For every , extend to . A program head starting at cell one and moving by at most one cell per transition cannot inspect any cell beyond during its first transitions.
The programs and agree on all these cells, since . Their other initial tapes and states are identical. Induction on the native transitions therefore gives identical configurations through time , except for unread program cells. In particular, their normal halting outputs by agree. The same argument applies to and for every header differing from in one bit. Since , the first bits of and also agree. Thus both hypotheses transfer to and ; no exponentially long extension is constructed by the reduction.
Write and put and . The first transferred hypothesis says that the target-x vertices with prefix are exactly . A feasible flip within the last positions is precisely a solution-graph edge of . A flip within is infeasible by the second transferred hypothesis. Hence is a union of components of the entire length- , deadline- fiber, and prefixing by is a graph isomorphism onto that union.
Padding preserves and reflects connectivity of the two zero-padded endpoints: a path in lifts with padding fixed, while projecting a path in onto its first coordinates gives a walk in after stationary steps are removed. Consequently and are connected in the solution graph of if and only if and are connected in the entire target- fiber. The identical edge argument applied directly to the original suffix length proves the statement's isomorphism onto a union of components at length . The truncated map to is polynomial-time, including writing its endpoints. Malformed formulas or nonsatisfying endpoints of the formula instance are recognized in polynomial time and sent to a fixed unequal-length no-query. This proves that Conn(V) is PSPACE-hard.
For the fixed-target assertion, suppose that the map outputs the target for every , and let be the reduction just described. Every query that outputs on a valid instance is , whose target field is . By the definition of after Problem 3.21, a query with target field lies in if and only if it lies in , and every query outside lies outside .
Hence a valid yes-instance is sent into , by the equivalence proved above. A valid no-instance is sent to a query with target field outside , hence outside . An invalid instance is sent to the fixed unequal-length no-query, which lies outside and so outside . Thus the same reduces the problem of Fact 3.17 to , which is therefore PSPACE-hard. For membership, a query is accepted exactly when its target field equals the fixed string , which is checked in polynomial time, and the algorithm of Proposition 3.22 accepts it; this uses polynomial space.
For the reference machine , rigidity of the ambient encoding (Proposition 3.3) supplies the second hypothesis of Proposition 3.23: no machine encoding is a prefix of a program obtained from by changing one bit of its code .
Corollary 3.24 (Every fixed target is hard for the rigid reference; previewed in Theorem 1.4). For the machine of Definition 3.5, the language is PSPACE-complete for every fixed target , including . Consequently is PSPACE-complete, in particular already at the fixed target 00.
Proof. Fix and choose a fixed different string : use if , and otherwise. Membership is Proposition 3.22, with the target field checked against this fixed . We verify Proposition 3.23 with output target . Let a clocked decider decide , with supplied clock .
Construct so that it normally outputs on members of and on nonmembers at length . So that may move its output head freely, does not let it write on the real output tape. Instead, redirects the output writes and head moves of to a fresh two-track work tape. The first track carries a permanent marker on the first cell, recording the original output origin, and the second track starts blank. The inherited program and work tapes, data and initial heads are unchanged. The new transition table preserves the marker when writing and enforces the original left-end rule at that cell. Since never reads its output tape, these changes reproduce every inherited state and all native head movements, with at most a fixed constant factor in time. In particular, overwrites and moves left before the first write are preserved.
On a normal halt, return the buffered-output head to its first-cell marker and inspect the symbol in its first cell. At length it is the one-bit verdict guaranteed by Definition 3.15. Only then write or , according as that verdict is 1 or 0, on the untouched real output tape. Distinguished halts remain distinguished.
A head visits at most cells in transitions, so returning to the marker costs at most further transitions. Thus a fixed constant , allowed to depend on the two fixed strings and , gives a clock on inputs of length , with degree at most and unary coefficients polynomially constructible from those of . Off the promised length, any other normal output can be sent to a fixed default string after the same bounded return; no correctness is required there. The table and data construction are polynomial in the supplied decider code.
Set , , , and . The uniform clock bound and the fixed uniform native overhead of supply a common deadline , writable in unary in polynomial time, by which has halted for every . The first hypothesis of Proposition 3.23 now holds with . If differs from in one bit, Proposition 3.3 says that no codeword of any length prefixes . At the empty condition therefore diverges on this program, proving the second hypothesis. The map just described is computable in polynomial time, is defined at every , and outputs the same target for every . The fixed-target clause of Proposition 3.23 therefore applies with and shows that is PSPACE-complete.
When , the untouched blank output is admitted only on a normal halt; rejection normally outputs , while distinguished halts and divergence remain infeasible. Thus the empty target is included. Since the hypotheses of Proposition 3.23 hold for , its main conclusion gives that is PSPACE-complete; the case of the argument above gives the completeness of .
3.8. Adding Interpretation Without Changing Native Fibers. The constructions may first be program-only. Interpretation can then be added without moving even the original deadlines.
Lemma 3.25 (Interpretation completion). For every efficient onto program-only machine , there is an efficient conditional machine with the interpretation property such that, for every , the computation normally halts with output within steps if and only if does. Thus every full native fiber, the full language , and all unconditional measures are preserved at the original deadlines. If has the simulation property, has it with the same codes and the same simulation polynomial. In particular, any additive-length, polynomial-deadline measure agreement with is unchanged.
Proof. Let be the initial control state of . It cannot be a normal halting state, since the initially blank output tape would give the same output for every program, contradicting onto-ness. The distinguished halting state would likewise preclude onto-ness. Retain a native copy of all of 's states, tapes, hardwired data, tape layout and transition rules. Add the auxiliary tape and a disjoint set of work tapes for a native copy of the fixed reference machine , with its declared initial data already in place. The copies share the program and output tapes, and uses the new auxiliary tape as its condition. Finite tape and state renamings do not change any transition count.
Give one fresh nonhalting entry state . For every tuple of symbols under the inherited heads, define the transition from as follows. If the auxiliary first cell is blank, perform exactly the transition that performs from on those symbols, including its output action, head movements and next state in the inherited copy. All added heads remain stationary and added work cells unchanged. If that auxiliary cell is a bit, perform no inherited write or head movement and enter the native initial state of . This conditional lookup is one ordinary multitape transition: it reads the additional tape at the same time as the inherited tapes and applies the corresponding finite-table rule. It does not combine two transitions of .
On the empty condition, the first transition is therefore exactly 's first transition, and each later inherited transition is unchanged. If returns to its old initial state, it enters that inherited state rather than the fresh , so it does not branch again. This covers a first transition that writes output, normally halts, enters the distinguished halting state, or returns to . At time zero neither machine is normally halting. Thus their unconditional string halts agree at every number of native steps, including zero.
On a nonempty condition, the first transition leaves all heads and shared tapes unchanged, so the computation is the native computation after that one transition. Use the nonempty interpretation encoding of Definition 3.5. The uniform polynomial interpretation overhead of gains just one transition; divergence and distinguished outcomes are retained. Onto-ness follows from the unchanged empty branch, and efficiency follows from the fixed native model. If has the simulation property, that entire empty branch and all its native deadlines are unchanged, proving the optional assertion. The pointwise equality of unconditional halting predicates gives identical fibers and identical full connectivity languages, including malformed-query rejection. Taking the same minimum over the same feasible programs gives for every , and hence preserves the stated measure comparisons without changing any deadline or length constant.
4. FRAGMENTATION FORCED BY ADJUNCTION
An adjunction-universal machine must run every program of every source machine after that source's code, so a fixed source prescribes the outputs of all programs in the cylinder of its code; we call these programs mandatory descriptions. This section first proves, by counting, that every adjunction-universal machine disconnects the fibers of almost all targets at linear overhead. It then shows that two machines satisfying the reference conditions can disagree about connectivity at one early linear deadline and program length , where is the target length. Next it proves, for every adjunction-universal machine, that most fibers at that same length have exponentially many components at every deadline beyond one polynomial deadline. It closes with a second family of separated mandatory descriptions that trades program length against the number of components.
4.1. Persistent Fragmentation at Linear Overhead. A single code supplies two distant descriptions of every target. A path joining them may pass through programs outside the cylinder of that code. Counting the outside vertices needed to join these pairs gives a bound that is independent of all other programs of the machine. We call this counting the packing argument.
Theorem 4.1 (Persistent fragmentation at linear overhead; previewed in Theorem 1.1). Let have the simulation property. There are an integer and a nondecreasing polynomial such that, for every integer , putting gives the following conclusions. Every target in has a nonempty fiber by deadline . There is one set with
such that is disconnected for every and every .
Proof. Fix a native linear-time machine which, on input with , prints if and if , and enters the distinguished halting state on the empty input. A scan, return and copy implement within transitions on every input of length , for a fixed integer . Let be its code for , put , and let be the nondecreasing polynomial in its simulation property.
At suffix length , exactly two programs in the cylinder eventually print a given : they are and . Adjunction applies to every raw suffix, so these are all the target- programs in that cylinder, and both halt within
One nondecreasing polynomial majorizes this expression for every , since and are fixed. Hence every target fiber is nonempty by that common deadline.
Let be the set of targets whose two endpoints and are connected in the untimed fiber of at length . This does not assume that the whole untimed fiber is connected. For each , choose a simple connecting path. Its only vertices in are its endpoints, because those two are the only target- programs in that cylinder. Since , the endpoints are not adjacent. If , there is no vertex outside the cylinder and no connecting path, so is empty. Assume . The endpoints and differ in all suffix coordinates, so the path changes each of them at least once, and it must leave and return to the common code , which needs at least two flips inside . It has at least edges and therefore at least internal vertices, all outside the cylinder.
Different targets' paths share no vertex, because a deterministic program has only one normal output. There are exactly vertices outside the cylinder. Thus
The same inequality holds when . Take and divide by to obtain the stated cardinality bound. Both endpoints for every are present by . A connecting path at any later finite deadline would be a path in the untimed fiber, contrary to the definition of . Thus this one set works simultaneously for all later deadlines. For small the right-hand side of the bound may be negative, and the statement is then vacuous. The case is excluded because and would be adjacent.
The argument does not need the cylinder to be separated from the rest of the fiber; it counts the outside vertices instead. Sharper families of separated mandatory descriptions are developed in the rest of this section, and the contrasting eventual-connectivity construction in Section 5.
4.2. A Common Early Deadline. A machine that prints the first bits of each program of odd length has large connected fibers, and adding a parity test makes every such fiber edgeless. Adding a delayed simulation branch to each gives two machines satisfying all three reference conditions, and none of that branch's programs halts by the common early deadline.
Definition 4.2 (The prefix machines). For a string of odd length write for the prefix of of length . Define
with the output of the distinguished halting state of Section 2.2.
These two native routines have linear running time. Their universality below means surjectivity in the convention of Definition 2.5; adjunction and interpretation are established only for the machines and of Theorem 4.4, which are built from these two. At a fixed odd length, the fiber of is a subcube and that of is the even-weight half of the same subcube.
Theorem 4.3 (The prefix-machine separation). Put and let be a deadline large enough that and of Definition 4.2 halt on every program of length , which the proof shows is achieved by some . The machines and of Definition 4.2 are efficient universal machines in the sense of Definition 2.5, and for every with the fiber has at least two vertices for , is connected for , and is edgeless, hence disconnected, for .
Proof. Both machines are efficient and universal. Each scans its program, keeping its length parity and, for , its weight parity in the finite control. During that scan it writes a unary full-length counter and one marker on a second counter for every completed pair of input bits. For a program of odd length , the second counter consequently has exactly markers. The full-length counter permits a return scan to the program's first cell; after resetting the second counter's head, the machine copies one input bit per marker and halts. At a rejected length or parity it returns instead. All scans, resets and copying take at most steps for one constant fixed by the two finite controls, including the empty program.
The efficiency clause of Definition 2.5 holds by Fact 3.4. At length the bound is for , so this common bound and every larger one meet the theorem's hypothesis.
For universality, let and put . Every with has odd length and , so . Among those there is one with even, since flipping the last bit of changes that parity, and for such a also . At the program has length 1, prefix and even weight, so both machines print .
The fiber of . Fix with and put . A string of length satisfies exactly when , that is exactly when for some . The computation takes linear time, so with respect to . That set has elements.
Two of them, and , are flip-adjacent exactly when , which since they share the prefix holds exactly when . The fiber is therefore isomorphic to the Boolean cube of Definition 2.2 under , and is connected.
The fiber of . At the same and deadline, holds exactly when with even, that is exactly when . Exactly half of the strings have each weight parity, since flipping the last bit is an involution exchanging the two halves, so the fiber has elements.
Every element has even weight, while a single flip changes the weight by exactly one and so makes it odd. Hence no two elements are flip-adjacent, the fiber is edgeless on at least two vertices, and it is disconnected.
The additional simulation and interpretation properties can be imposed without losing a separation at one common linear deadline. A delay in the simulation branch leaves the programs that run the prefix machines as the only descriptions present at that deadline.
Theorem 4.4 (Uniform separation under the reference conditions; previewed in Theorem 1.2). There are conditional machines satisfying Definitions 2.5 to 2.7, an integer , and a common deadline such that, for every with , at length the fiber is connected on vertices and the fiber is edgeless on vertices. The deadline depends only on , and the measures and agree up to additive constants and polynomial changes of the deadline.
Proof. Each dispatches on its inputs. A nonempty auxiliary string is handed, with the program, to the reference machine , which supplies interpretation. At the empty auxiliary string, a program runs on , a program runs on after a delay quadratic in the program length, and every other program yields . At the chosen linear deadline only 00 programs can have halted with a string output, so the fibers are those of with 00 prepended.
Native copies of the fixed machines. Fix the linear-time implementations of from Theorem 4.3 and the native reference from Definition 3.5. Each contains finite-control copies of these fixed machines, on disjoint work tapes carrying their declared initial data and layout. Its preparatory routines use additional tapes and leave those inherited work tapes and their heads unchanged. A native copy reproduces each inherited transition, including its output action and all head movements, in one transition after a finite tape and state renaming. Its states are disjoint from the preparatory states, so returning to an inherited initial state does not repeat the preparation.
First inspect the auxiliary first cell without moving any head or writing output. If it is a bit, enter a native conditional copy of U on the unchanged inputs p,y. That copy starts with its original initial configuration and therefore executes after the single dispatch transition. Every code , which serves below as the interpretation encoding, is nonempty, whereas the empty condition begins with a blank. Thus this branch implements interpretation and never applies at the empty condition.
At the empty condition, inspect the first two program bits. Programs shorter than two bits, and prefixes 01 or 10, enter the distinguished halting state. On 00r, copy r onto an initially blank private tape, without adding a delimiter, and return its head to cell one. The copied tape contains exactly r, followed by blanks. Run the native copy of , using this tape as its program input and the real output tape as its output. The copied program tape is physically writable, but the inherited input rules never write it, so it has precisely the read-only behavior required by . Its physical left end also gives the original left-end rule. Preparation and the native routine take at most transitions, for one common fixed integer .
On 11r, put and first execute an enforced delay of at least transitions, without output or halting. Scan the program to record in unary on two fresh tapes, then make traversals of a block of marked cells, resetting its head between traversals. This takes transitions and includes the required transitions. After the delay, copy to an initially blank private tape and reset its head to cell one. Run a second native copy of with this tape as its program input and with the unchanged empty auxiliary tape. Its work data, work heads and real output tape are still in their initial configurations. As above, its input rules leave the copied string unchanged, and its left boundary is the physical first cell.
The resulting computation is exactly the native computation after preparation. Normal outputs, distinguished halts, divergence, overwrites and erasures are all preserved. In particular, no 11 program normally halts before its enforced delay finishes, even for target .
The reference conditions. Efficiency follows from the fixed native model and Fact 3.4. For every string , choose with . Then after finite preparation, proving onto-ness, including at . For adjunction use
This code is polynomial-time computable and has length . On every raw suffix , the copied input to is exactly . The delay and copying take polynomial time in . If halts in steps, the uniform simulation polynomial of bounds the remaining native execution in . Adding the preparation gives one uniform polynomial in ; divergence is preserved by the native copy. For interpretation take . The nonempty-condition branch runs with one extra transition and hence has the required uniform polynomial overhead and divergence behavior. Fact 3.10, applied in both directions, now gives the numerical measure comparison.
The entire graphs at one deadline. Put and . Choose . For we have , and
Thus every 00 computation at that length has halted by , whereas no 11 computation has halted by then. All other programs produce no string. For any , the vertex sets of the two fibers are therefore
In the first, preserves and reflects one-bit adjacency, giving on vertices. In the second, flipping the last bit of exchanges the two parities, so exactly suffixes are feasible. Every feasible program has even weight, while a one-bit flip changes parity, so this graph is edgeless. Since , it has at least two vertices and is disconnected. The same length and deadline work for every target of length .
The deadline in Theorem 4.4 is part of the statement. At larger deadlines, programs in the delayed simulation branch may enter the fibers. The theorem consequently does not assert persistent disagreement at every larger deadline, and it gives no complexity separation between machines satisfying the reference conditions.
For every adjunction-universal machine, the two-endpoint bound of Theorem 4.1 already disconnects the fibers of almost all targets at its own length , where n is the target length, at every deadline beyond one polynomial deadline. We now prove such fragmentation at the length of the early separation, again for every adjunction-universal machine, and then force many components.
4.3. Fragmentation at the Exact Common Length. The next construction forces fragmentation at the same length as the early separation, where n is the target length. It uses many separated mandatory descriptions in each target fiber.
Write for the field with elements zero and one, with addition and multiplication modulo two. A binary matrix acts on binary column vectors using these operations. Its rank is the largest number of linearly independent rows, its kernel is the set of vectors it maps to zero, and the preimage set of x is the set of vectors it maps to . The construction uses one standard finite-field existence fact. A polynomial is monic when its leading coefficient is one, and is irreducible when it has no factorization into polynomials of smaller positive degree.
Fact 4.5 (Binary extension fields; [Sho09, Section 19.2, Theorem 19.12]). For every integer there is a monic irreducible polynomial of degree . The polynomial residues modulo form a field with elements, represented uniquely by binary polynomials of degree less than .
Addition in this field is coefficientwise addition modulo two. Multiplication is polynomial multiplication followed by division by and retention of the remainder. Both operations take polynomial time in by the elementary algorithms. The parity-check idea below is classical; see the constructions of Bose and Ray-Chaudhuri and of Hocquenghem [BRC60, Hoc59]. We prove the precise matrix and distance parameters used here.
Lemma 4.6 (Balanced maps with separated preimage sets). For integers , put
One can construct in deterministic time polynomial in a binary matrix of rank , with rows and columns, such that every preimage set of has exactly elements and minimum Hamming distance at least . The distance assertion is vacuous for a singleton preimage set.
Proof. Constructing the field. Enumerate the monic binary polynomials of degree . For each candidate test divisibility by every monic polynomial of degrees . A reducible degree- polynomial has a factor in this range: in any factorization into two positive degrees, one degree is at most . Thus the first candidate passing all tests is irreducible, and Fact 4.5 guarantees that one is found. For the test list is empty and every monic linear polynomial is irreducible. There are fewer than trial divisors, and each division takes polynomial time in . The full search therefore takes time. Since , this is polynomial in . Construct the field using the polynomial representations in the fact.
The parity checks. Choose distinct elements of by enumerating their binary representations. There are enough because . Form the -by- field matrix with entry in column and row , for ; when , its zeroth row consists of ones, including at . Expand each field entry into its binary coordinates. This gives at most binary rows and a binary matrix with columns. For a binary vector , the condition means exactly
Suppose a nonzero such vector has weight . Let be its support. The first field rows on these columns form an invertible matrix. To see this, a dependence among its rows would give a nonzero polynomial of degree at most vanishing at the distinct points . A nonzero polynomial of degree at most has at most roots: division by removes a root and lowers the degree by one, and induction proves the bound. Thus its rows are independent, and a square matrix with independent rows is invertible by elimination over the field. The first displayed equations say that this square matrix maps the all-ones vector to zero, contradicting its invertibility. Every nonzero vector in the binary kernel of therefore has weight at least . When , this conclusion is just the trivial positive-weight bound.
Full rank and balanced preimages. Use binary Gaussian elimination to take a basis of the rows of . Append standard unit rows not yet in their span until there are exactly independent rows, giving . This succeeds because : if a proper row span contained every unit row it would already contain every binary row vector. Each appended row imposes another zero equation, so the new kernel is contained in the old one and retains its minimum-distance bound.
Rank gives pivot columns; setting the other coordinates freely and solving for the pivots yields exactly preimages of each right-hand side . Thus the map is onto and balanced. The difference of two vectors in one preimage set is a nonzero kernel vector, whose weight is their Hamming distance, proving the asserted separation. Field arithmetic, matrix formation, elimination and the unit-row extensions all take polynomial time in . The search cost above shows that the same holds for the complete deterministic construction.
The next elementary bound counts every vertex of a connecting subgraph, including vertices outside the cylinder of a code. It therefore needs no assumption, such as the rigid encoding of the reference machine U, about programs outside that cylinder. Its proof uses a spanning tree of a nonempty finite connected graph, which is a subgraph on all its vertices with a unique simple path between each pair of vertices. In this section D denotes a lower bound on Hamming distances, not the clock degree bound of Definition 3.6.
Lemma 4.7 (Connecting separated terminals). If a finite connected subgraph G of a Boolean cube contains specified vertices, called terminals, whose pairwise Hamming distances are at least D, then
In particular, .
Proof. Root a tree at one specified vertex, initially taking only that vertex and no edges. If some vertex of has not been reached, a path from the root to it has a first edge leaving the reached set. Adjoin that edge and its previously unreached endpoint. The new vertex has only its one attaching edge in the constructed subgraph, so this operation preserves the unique-path property. After additions the resulting tree spans and has edges.
A one-vertex tree has a closed walk of length zero; adjoining a leaf inserts a two-edge detour at its neighbor. Induction over these additions therefore gives a closed walk from the root using every tree edge twice, of length . List the specified vertices in the order of their first appearances on that walk, the root first. Cut the walk at these first appearances. The last of the resulting portions runs from the first appearance of the last-listed specified vertex back to the root. Each of the resulting portions joins two distinct specified vertices, so it has at least edges: every cube edge changes just one coordinate. The portions together are the whole walk, proving the inequality.
The connected-subgraph bound also limits how many of a family of vertex-disjoint graphs can have few components. Here a component counts when it meets the graph's specified vertices, and few means fewer than half as many as there are specified vertices. We state this count separately because both constructions below, the balanced preimage sets and the Reed–Muller family, use it.
Lemma 4.8 (Counting components from separated vertices). Let be a finite set, and let , for , be subgraphs of the same Boolean cube whose vertex sets are pairwise disjoint. Let and be integers. Suppose each contains a specified set of vertices whose pairwise Hamming distances are at least . Write for the number of connected components of meeting . Then
For every other , the graph has at least connected components.
Proof. Put . If is empty, the strict bound holds because . This also covers an empty index set . Suppose therefore that is nonempty, and fix .
At most specified vertices lie in components containing just one specified vertex, since each such component accounts for one of the components. Consequently the number of specified vertices in components containing at least two satisfies
For each such component , let be its number of specified vertices. It is a finite connected subgraph of , and those vertices still have pairwise distances at least . Thus Lemma 4.7 gives . The components of have disjoint vertex sets, so summing these bounds yields
The graphs indexed by different x also have disjoint vertex sets, all inside the -vertex cube. Summing the strict inequality over the nonempty set Y gives
Division by the positive number proves the bound. For , at least components meet ; these are components of the entire graph, proving the last assertion.
We can now keep the program length of the earlier separation while allowing every later deadline. The balanced construction forces exponentially many components for most targets at every sufficiently large target length.
Theorem 4.9 (Exponential multiplicity at every large target length; previewed in Theorems 1.1 and 1.2). Let be an adjunction-universal machine. There are a constant , a nonnegative integer , an integer and a nondecreasing polynomial such that, for every , there is a set with
for which the untimed fiber of x at length , induced by
has at least connected components for every . The fiber has at least that many components for every such and every . In particular, all these graphs are nonempty and disconnected. The same set works for all these later deadlines; no algorithm for recognizing it is asserted.
Proof. One fixed polynomial-time machine. Define independently of . On input , it first determines the full length and parses ; it rejects, meaning that it enters the distinguished halting state, if there is no zero. Write and compute
On the programs built below, this value of is the target length. If this is not an integer satisfying , return . Otherwise construct the matrix of Lemma 4.6 and output . Every part of this algorithm, including its scans and the field search, takes polynomial time in , since and accepted parameters have . Implement it as a native multitape machine and fix a nondecreasing polynomial bounding its complete actual running time at every length, including rejected inputs. Its finite machine code is fixed.
Alignment without self-reference. Let be the code of for given by the simulation property, and put . For sufficiently large , set
These programs all have length . The input seen by has length and unary prefix parameter , so it computes exactly the intended and . The unary parameter supplies the code length as ordinary input, so the fixed machine never computes its own code. Take large enough that . Then every target has exactly
mandatory descriptions in the cylinder of , namely the with . Put
For each fixed target , the suffixes of its mandatory programs form one preimage set of , so by Lemma 4.6 any two distinct ones differ in at least coordinates. The programs share the prefix , so any two distinct mandatory programs outputting are at Hamming distance at least .
Let be a nondecreasing polynomial majorant for the simulation overhead in Definition 2.6. Because , every mandatory program has finished by
enlarging this expression to an integer-valued nondecreasing polynomial if necessary. This is a bound on the native transitions of , and it does not assume that the source and the simulator take the same number of steps.
Counting in the untimed fiber. For , let
and let be the subgraph of induced by , which is the untimed fiber of at length . These untimed fibers have pairwise disjoint vertex sets, because a deterministic program has only one normal output. Apply Lemma 4.8 to them, their mandatory programs per target, and the distance above. Let be the targets for which fewer than components meet those programs. The lemma gives
Since and , division by yields
Here and are positive. As , we have
where the last inequality uses . Thus gives the stated size bound for . Put and choose , so throughout. For every , at least untimed components meet its mandatory programs, and
This proves the untimed assertion and its nonemptiness and disconnection consequences.
Every later deadline. Fix and . Every untimed component just counted contains a mandatory program, which is already a vertex of the fiber at deadline . A path in the time- fiber would also be a path in , so it cannot join vertices from different such untimed components. The entire time- fiber therefore has at least components. The set was defined using the untimed fibers alone, so this holds simultaneously for every later deadline. The count includes paths that change bits of the code , so it never assumes that the cylinder of is separated from the other programs of the fiber.
The theorem does not force disagreement between two machines at later deadlines. Instead, it shows that the connectedness of the fibers in Theorem 4.4, asserted at its specified early deadline, does not persist, for most targets, to every later deadline. For every adjunction-universal machine, and so for , most targets at the same program length have disconnected whole fibers once all the mandatory descriptions above have appeared. Adding feasible vertices can create new components, even though an existing path never disappears when the deadline increases. This distinguishes entire-fiber connectedness from connectivity of two fixed endpoints.
Counting the Forced Components. The next family of separated mandatory descriptions, built from Reed–Muller codes, gives an explicit tradeoff between program length, component multiplicity and the exceptional target fraction. We use classical Reed–Muller evaluation codes; see, for example, [ASW15, Section 2.3 of the full version]. The needed distance bound and the complete machine construction are proved below.
A multilinear polynomial has exponent at most one for each variable in every monomial. For integers , the coefficient vector of a multilinear polynomial in k variables of degree at most j lists, in a fixed order, its coefficients on all monomials of degree at most j. Its evaluation vector lists its values at all binary inputs, in one fixed order. The Reed–Muller code of degree j consists of the evaluation vectors, of length , of all multilinear polynomials in variables of degree at most over . There are monomials of degree at most , which is the number of coefficients below.
Theorem 4.10 (Many components under adjunction; previewed in Theorem 1.1). Let be an adjunction-universal machine. There are a constant and a nondecreasing polynomial with the following property. For any integers and , put
Except for at most the fraction of the m-bit targets x, the untimed fiber of x at length N, induced by
has at least connected components. The same targets have at least that many components in for every . One constant d and one polynomial work for all the displayed pairs .
Proof. For a coefficient vector , let be the length-m evaluation vector of its multilinear polynomial of degree at most over , in a fixed ordering of the monomials and of the -bit evaluation points. Distinct coefficient vectors give evaluation vectors at distance at least . Evaluation at a point is linear over in the coefficients, so , and the distance between the evaluation vectors of is the weight of for the nonzero coefficient vector . Write the polynomial of as , the sum over the sets of at most variables, where is the product of the variables in , with . Choose a set with and maximal among the sets with nonzero coefficient, so .
Fix values of the variables outside , and sum the polynomial over the evaluation points that agree with outside . Write for the value such a point gives to a variable . For one monomial , its value at such a point is the product of the fixed values for times the product of the for . The second product is one at exactly of these points, namely those with for every , so the sum of over the points is that first product times , reduced modulo two. If does not contain , then , the count is even, and the sum is zero. If contains and has nonzero coefficient, then by the maximality of , so , and the sum is times the empty product, which is one.
Summing over gives that the sum of the polynomial over the points equals . Hence at least one of these points has evaluation one. The choices of give disjoint sets of points, so the evaluation vector has weight at least . This also covers a nonzero constant polynomial, for which is empty and the one point is itself.
Define one fixed polynomial-time machine . It first reads its entire input and obtains its length . Reject if . If for a pair as displayed in the theorem, the inequalities give
so is determined by . Compute the binomial prefix sums and find the unique for which is the displayed sum; reject if none exists or . The sums strictly increase with . Parse the input as , with and , and output
where is coordinatewise addition modulo two. There are at most monomials and evaluation points. Enumerating the monomials as subsets of the variables and evaluating each of them at every point takes elementary operations, hence polynomial time on a fixed multitape implementation. The binomial calculations use -bit integers. Consequently, for fixed constants , one bound covers the native running time of at every input, including rejected lengths. The pair is read off the input length, so the code of is the same for every pair.
Let be the code of this one for , and put . For a fixed pair as displayed and each , all the programs
print . Each has length , and there are of them, one for each . Any two distinct programs in are at Hamming distance at least , already in their last positions. By the polynomial simulation bound and , all these programs, for every degree and target, halt by one nondecreasing polynomial deadline .
Count components in the untimed fiber induced by , including paths that change bits of the code . For this fixed pair , the graphs for distinct -bit targets have disjoint vertex sets, because is single-valued. Their respective sets each contain specified vertices, separated by at least . Apply Lemma 4.8. Fewer than targets have fewer than components meeting their specified programs. Dividing by the possible targets gives
since and . The exceptional fraction is therefore at most . Every remaining untimed fiber has at least components meeting .
All the specified programs have halted by . At every , each of those untimed components consequently has a vertex in the time- fiber. A path in the time- fiber is a path in the untimed fiber, so different counted components cannot be joined at that deadline. The same targets therefore have at least components at every later deadline. The constant code and polynomial deadline still work for every displayed pair , as established by the single source above.
Taking the evaluation degree near half the number of variables turns the preceding component count into an exponential one.
Corollary 4.11 (Exponential component multiplicity; previewed in Theorem 1.1). For every adjunction-universal machine , there are and such that for each with , some length has the following property. Except for a fraction at most of the -bit targets , the untimed fiber induced by has at least components, and so does the fiber for every .
Proof. Take in Theorem 4.10. By binomial symmetry, for odd , and for even . Thus , and , giving all the assertions.
For comparison, take degree with . Then and , and all but of the targets have at least components. In the exponential case, any labeling that gives distinct components distinct labels needs at least labels, hence at least bits, which is linear in ; a labeling with only polynomially many possible values in is therefore impossible. This counting bound does not exclude a polynomial-time component test, since such a test may use polynomially many bits. Theorem 4.10 supplies no computational hardness reduction.
5. EVENTUAL CONNECTIVITY AND UNIFORM HARDNESS
The fragmentation bounds hold at program lengths chosen from the target length. We construct a machine satisfying the three reference conditions for which every fixed target has empty or connected fibers at every deadline once programs are sufficiently long. At shorter lengths, its fibers still make its full connectivity language PSPACE-complete.
Recall the full native fiber of Definition 2.8. This graph includes every program of length , however it begins. A program is admitted at deadline when it is a vertex of this graph. The construction rests on a coloring of a cube. Here a coloring is any map from cube vertices to a set of colors; adjacent vertices may have the same color. The class of a color is its preimage, and it is connected when the subgraph induced by that class is connected. The construction needs a coloring of the cube in which every color class is connected and every vertex has a neighbor of every color. Lemma 5.1 gives one, by modifying the Hamming-syndrome coloring of [CKTV15]; we prove it in full because both the connectedness of its classes and the neighbor of every color are used below.
Lemma 5.1 (A connected coloring with a neighbor of every color). Let , let be the largest power of two with , and put . Let be the binary matrix whose columns are the nonzero vectors of , in increasing numerical order. Write an -bit string as , with and , and define
The colors are the vectors of . Every color class is nonempty and connected. For every and every color , some one-bit neighbor satisfies . Each vertex of color is joined to a fixed representative of that color by a path of at most flips inside its color class. The color is computable in polynomial time by a routine whose head movements and number of transitions depend only on .
Proof. Call and the syndromes of the registers and , and call the selector. The color is the syndrome of the selected register ( if , if ), and the other register is ignored. Vector addition is coordinatewise modulo two. The columns of include all unit vectors. Choose using those unit columns so that . Start with selector zero and syndrome . Change the ignored register to , then flip the selector to one. Change the now-ignored to , flip the selector back, and clear . Every intermediate vertex has color . This reaches in at most
flips. From selector one, first change to and flip the selector to zero. Then change to and clear . At most flips suffice. These paths prove connectedness and the representative bound. They also exhibit a vertex of every color.
For the neighbor property, let be the currently selected syndrome. If , flip the coordinate of the selected register whose column is . That column exists and the new syndrome is . If , flip a bit of the ignored register. Such a bit exists because . Thus the neighbor is distinct from also in this case. Every chosen neighbor has the opposite parity to .
For the computation, scan both registers and compute both syndromes with fixed-width -bit loops. At position , the column is the -bit representation of . Use fixed-duration bit operations, with dummy operations when an input bit is zero. The counters and scan lengths depend only on and the current position. A fixed-width multiplexing loop reads both syndromes and the selector, following the same head schedule for either selector value. All these are ordinary polynomial-time multitape routines; their stored bits vary with , but their durations and head movements do not.
For each , take and as in Lemma 5.1 for this . In the machine below, is the length of a program's body, the part after its two leading mode bits. The machine prints each color as a binary string, its label, defined next. For a color vector , let be its integer value and let be the binary representation of with its leading one removed. Thus increasing color integers give the strings ordered first by length and then lexicographically (shortlex order), beginning . The palette consists of the first such strings. For put , since at such a body length the machine below prints no color. The label map is injective at fixed , and its outputs have length at most .
Theorem 5.2 (Whole fibers become connected at every deadline; previewed in Theorem 1.3). There is an efficient onto machine with the simulation property such that, for every target , one can compute threshold
for which is empty or connected for every and every native deadline . Every nonempty such graph has diameter at most . The interpretation property can be added to without changing any fiber or any halting time on the empty auxiliary input.
Proof. Fix an efficient onto program-only machine with the simulation property, which we call the base machine. Any such machine will do; Theorem 5.4 takes the program-only realization of the reference machine , which runs with its auxiliary tape fixed empty. A program for of length consists of two mode bits followed by a body of length . Write for the parity of its
Hamming weight, and call even or odd accordingly. For , keep the following outputs:
| mode | ||
|---|---|---|
| 00 | ||
| 01 | ||
| 10 | ||
| 11 | . |
Programs in mode 00 are base programs, and programs in mode 11 are core programs. Programs in modes 01 and 10 are helpers. A helper in mode 01 or 10 is a source when it runs , and a router when it prints a color label. If , only the base runs and every other mode enters the distinguished halting state. Programs shorter than two bits also reject. These rules cover every program, including arbitrary bodies that are not valid reference codes.
One common color clock. For , the common front end reads the mode, scans the body, records and its parity, and computes both syndromes and the selected color with the length-dependent schedule of Lemma 5.1. During these scans it also copies the body onto an initially blank private tape. It writes exactly the body bits, no delimiter or marker; all later cells remain blank. A length counter returns that tape's head to cell one in left moves.
All scans and finite branch tests have equal duration for the different bit values, padding a branch when necessary. The resulting front-end duration depends only on . The work tapes and heads reserved for the native copy of , with its fixed initial data and layout, have not been touched, and the real output tape is still blank.
To print a color of integer value , first store in exactly binary positions, with a leading zero. Compute by a full fixed-width increment scan, padding the steps after the carry disappears as well, and reset the head in a fixed moves. Thus this addition also has duration depending only on .
Scan those positions from the most significant end, skipping leading zeros and the first one, and print each subsequent bit. A one-bit flag records whether the first one has been passed. Use the same fixed number of transitions at every position: before that first one, the output head stays still and no output is written; afterwards the bit is written and the output head moves right. The output tape is never read, so these different output actions do not alter the loop duration. Pad the finite flag cases to that common duration. There are exactly iterations, including when the resulting label is .
Thus every core and router program, which we together call the color programs, of every color at this body length, normally halts at one common time . That time has a fixed polynomial upper bound in . Define these color routines first, and then choose a fixed nondecreasing integer polynomial with for every . The color routines do not use , so this choice is not circular.
One shared native simulation. Every program that runs , whether a base program or a source helper, enters the same prelude, ignoring its old mode and parity flags. Compute in binary on a fresh tape and decrement the counter to zero. Fixed-width scans give exactly iterations, each taking at least one and at most transitions, including its zero test and head reset. The delay is therefore at least and has polynomial upper cost in . For the finitely many lengths , use the same body-copy preparation and any fixed additional delay on the base.
After preparation, enter a finite-control copy of the fixed native machine . Its program input is the private tape containing exactly , with its head at cell one; its work data, layout and work heads are the original initial ones, and its output is the untouched real output tape. Although the private input tape is writable in , the copied input rules never write it. Its physical first cell implements the original left-end rule, including for an empty body.
Finite tape and state renamings reproduce every native transition of in one transition, with the same writes, erasures and head movements. The copy's states are disjoint from the front-end states, so a return to its old initial state does not repeat the preparation. No final output copy or test of transient writes is performed: a normal halt delivers precisely the final output configuration of . Distinguished halts remain distinguished, and divergence remains divergence.
Write for the complete prelude duration before that native copy starts. It depends only on and has one fixed nondecreasing integer-polynomial upper bound , including body copying, syndrome computation, counter evaluation and the delay. For it satisfies . If normally halts after transitions, the base 00p and its matching source helper, which is 01p for even and 10p for odd , both halt at exactly
They start the same copy from identical relevant configurations at the same time; their original program tapes differ only in the ignored mode bits. This equality includes an initial normal halt, with and output , if such a halt occurs. No count of is needed in the construction.
Every deadline. By the threshold computation below, forces , so palette targets are the only case. Fix and . Before its whole fiber is empty: all color programs halt at , and every normal simulation halt occurs after . At and after , the fiber contains every core program 11q whose color has label ; these form a copy of one color class of Lemma 5.1 and are therefore connected. Every router 01q or 10q in the fiber differs in one mode bit from the core program 11q, which prints the same label and is present from on.
An admitted source 01p has even p and . The coloring lemma supplies a one-bit neighbor q with label x; its parity is odd, so 01q is a router. Hence
is an admitted target-x path: its last two vertices already halted at . An admitted source instead has odd . Its color-x neighbor has even parity, so is a router, and the admitted path is
An admitted base 00p has its matching source helper admitted at exactly the same time: it is 01p for even p and 10p for odd p. That first mode flip followed by the relevant two-edge path attaches the base to the core. All cases preserve the original target, program length and deadline. They cover every noncore vertex, so the entire fiber is connected at every deadline from onward.
Each vertex attaches to the core in at most three flips. Every core vertex reaches its fixed representative in at most flips, all within the complete core already present at that deadline. Thus two admitted vertices have a connecting walk of length at most
Removing repeated portions cannot increase that length, giving the diameter bound.
Threshold and reference properties. The shortlex rank of , which is the integer value of the color labeled , is . Let be the least power of two at least . For ,
so . For , and , giving the same bound. Put ; in particular . If , then , so and the actual palette contains . All these integer operations are computable from .
For adjunction use . On every raw suffix , the copied body is exactly , with . If halts in steps, let be the nondecreasing uniform simulation polynomial of and let . The complete native runtime of is at most
because and the native copy adds no slowdown after preparation. This is one polynomial in the required three arguments, independent of . Prepending 00 also preserves the polynomial computability and length bounds of the code map. The base gives onto-ness, and efficiency follows from the fixed native implementation. Finally Lemma 3.25 adds interpretation while preserving every unconditional output predicate at its original deadline and retaining this code map.
Figure 1 summarizes the attachment path and the native-time comparisons used in the proof.
The threshold may depend on the target without preventing a polynomial algorithm for each fixed target. The explicit threshold also gives one uniform algorithm with a large target-dependent factor.
For , let be even and . Choose a one-bit neighbor with . Write and for the normal halt times of the matching source helper and base.
FIGURE 1. Attachment inside the palette. Arrows mark the order of attachment along undirected one-bit edges; each next vertex has halted no later than the preceding one. For odd , exchange the helper modes 01 and 10. All color programs of this body length halt at the common time . The displayed base and its matching source helper appear together after that time. For a target outside the palette, every admitted source helper is a leaf adjacent to its simultaneously admitted base. This is the leaf structure used in Theorem 5.4.
Corollary 5.3 (Every fixed target is polynomial-time decidable; previewed in Theorem 1.3). Let be an efficient machine such that each target has a length for which is empty or connected for every and every deadline . Then for every . For the machine of Theorem 5.2, the full language has a uniform algorithm running in
Proof. Fix and hardwire its finite threshold . First check syntax, equal endpoint lengths and feasibility of both endpoints by bounded simulation at the supplied unary deadline. Reject infeasible queries. For a common length , feasibility implies connectivity. For , enumerate the finite cube of at most programs, simulate each at the given deadline, and search its induced graph. The number of vertices is a constant for this fixed target, while bounded simulation is polynomial in query length. No uniformly computable threshold is required for this fixed-target assertion.
For the explicit construction, compute using integers with bits. A cube search below that threshold costs times a polynomial in query length. The threshold bound in Theorem 5.2 gives the stated uniform running time. It does not give a polynomial bound independent of .
Uniform hardness survives when the base machine is the reference machine of Definition 3.5. The reduction adapts the proof of Corollary 3.24, but the argument that the encoded solution graph is a union of fiber components must now account for the helper programs. For a target outside the palette, each source helper in the fiber is a leaf attached to its base program (Figure 1), so the helpers join no two components of the subgraph induced by the base programs. We call these components base components.
Theorem 5.4 (Uniform hardness with every fixed target easy; previewed in Theorem 1.3). The machine in Theorem 5.2 can be chosen so that its full connectivity language is PSPACE-complete while for every fixed target . It satisfies all three reference conditions and retains the length thresholds and diameter bounds of that theorem. The hardness reduction from an input of length in Fact 3.17 uses a target of length , while its entire query, including the unary deadline, has polynomial length.
Proof. Take the base machine to be the program-only realization of , which runs with its auxiliary tape fixed empty. Fix a body length and a target ; in this proof denotes a body length, and is reserved for the number of formula variables. Let be the length- bodies for which eventually normally outputs . Write for even and 10 for odd . For , the untimed fiber of at program length has exactly the vertices
Every router and core prints a palette label and hence cannot print . Two base vertices are adjacent exactly when their bodies are neighbors. Within this fiber, each helper is adjacent only to its base. Flipping a body bit of a helper reverses the parity, so the result is a router. The two helper modes differ in two bits, so no helper is adjacent to another helper with the same body. Flipping a mode bit of gives either the base 00p or the core program 11p.
The shared native simulation in Theorem 5.2 makes each base and its matching helper halt at exactly the same time. Thus at every finite deadline each admitted base has its helper admitted as a leaf attached to it, no other helper is admitted, and the helpers join no two base components. For there are no helpers and the same assertion about base components is immediate.
Reduce from the explicit-endpoint solution-connectivity problem of Fact 3.17. Let be a valid instance on variables, of encoding length and . For every integer , put . Construct a total native verifier which checks exact input length , prints on satisfying assignments, and prints otherwise. Its formula, unary length, target and initial layout are explicit data. The length check reads at most cells, and the formula-evaluation procedure of Section 3.5 gives fixed polynomial bounds in for construction and all length- runs. Put and . By Proposition 3.3, there are fixed constants such that
for every in this construction. Choose one fixed integer with
Such an integer exists because the exponential in eventually exceeds that fixed polynomial. Set and choose directly
The ceiling is computable from the binary length of and a power-of-two test. Since , this gives
Consequently
The strict inequality uses and the choice of . This calculation accounts for the code's dependence on the target before any code is built. Only one verifier and one code are constructed, with and all their lengths polynomial in . For , every palette label has length at most , because . Hence lies outside the actual palette; for that palette is empty.
Abbreviate the chosen code and body length by . Let be a fixed polynomial bound for the verifier runs on length- inputs. The uniform simulation polynomial of , evaluated at , and , gives a polynomial upper bound on the running time of for every . Let be the polynomial majorant for the complete shared prelude in Theorem 5.2. Take
The native copy adds exactly the underlying transitions after this prelude. Thus every satisfying base and its source helper have halted by . This deadline is polynomial in , so is polynomial-time writable. Base programs with unsatisfying output and are infeasible at this target at every deadline.
Flipping one of the last bits of keeps the program in the fiber exactly when the flipped assignment also satisfies . A flip inside the code gives . By the full rigidity clause of Proposition 3.3, no codeword of any length prefixes , so diverges on that body. A mode flip can reach only the source-helper leaf ; the other neighbor is a router and cannot print . That leaf has no other target- neighbor by the parity argument above. The base programs with satisfying, together with their helper leaves, therefore form a union of components of the entire deadline- fiber. Deleting the leaves recovers exactly the solution graph of .
Thus and are connected in the solution graph of if and only if and are connected in . The reduction outputs . Malformed source instances or infeasible source endpoints map to a fixed malformed no-query.
We argue directly instead of applying Proposition 3.23, whose second hypothesis fails here: a mode-bit flip of 00hv can give a feasible helper. Membership is Proposition 3.22. Apply Lemma 3.25 to retain the full language, all unconditional deadline graphs and the code map while adding interpretation. The fixed-target conclusion follows from Corollary 5.3.
The hardness reduction varies its target and uses lengths below that target's eventual threshold. The construction does not give a machine whose full connectivity language is not PSPACE-hard, and therefore does not settle Open Problem 1. Nor does it assert that every target has empty or connected fibers at every program length.
The exponential dependence of the threshold on target length cannot be replaced by a uniform subexponential bound. This follows by returning the fixed source in the packing argument of Theorem 4.9. The resulting obstruction occurs at an exponentially large program length for most targets of every sufficiently large length. It concerns connectivity of the whole fiber, rather than the complexity of testing its components.
Theorem 5.5 (Exponential lengths with permanent fragmentation; previewed in Theorem 1.3). Let have the simulation property of Definition 2.6. There are constants , and , and a polynomial , with the following property. For every there are a length and a set satisfying
For every and every native deadline , the entire graph is nonempty and disconnected. The same set works for every such deadline.
Proof. We use Lemmas 4.6 and 4.7. For integers , the first lemma constructs a rank- binary matrix in polynomial time. Put . Every output of the linear map from to has exactly preimages, and distinct preimages have Hamming distance at least
The second lemma bounds the size of a connected cube subgraph containing separated specified vertices, even when their connecting paths leave the specified set.
One source before taking its code. Define a fixed native machine as follows. It scans its entire raw input and parses it at the first zero as . Write . If there is no zero, or if , it enters the distinguished halting state. Otherwise it computes, in binary,
It rejects unless . After this guard, it constructs , multiplies it by over , and writes exactly the resulting bits, including leading zeros, before normally halting.
This is a polynomial-time machine on every raw input. The binary representation of has bits; no unary block of that size is allocated. Computing the other integers and testing the guard takes polynomial time in the input length. The matrix is constructed only when , so its construction, multiplication and fixed-width output also take polynomial time. Let be one nondecreasing integer polynomial bounding the complete native runtime on every input of length , including rejected inputs. There is no hardwired variable data: the work tapes start blank, and the output tape remains blank until the final left-to-right write. Invalid cases enter the distinguished halting state rather than output .
Let be the code for of this already defined source. Let , put , and fix . For each raw consider the program
The source receives precisely the raw suffix , and thus uses and the fixed constant . Its full program length is . The order of these choices is essential: first define , then obtain , then supply as an ordinary raw-input parameter. No parameter-dependent recomputation of the code or circular bound on a code is used. If , the raw prefix is simply 0, and .
Take a nondecreasing polynomial majorant for the simulation overhead in Definition 2.6. The source input length is . Hence every successful mandatory program has normally halted by the common native deadline
after integer-polynomial majorization if needed. This includes all source scans, setup and emission. It bounds physical transitions of V and is polynomial in program length N; it need not be polynomial in the much shorter target length.
Every sufficiently large target length. Given a sufficiently large , write with and . Let be the least nonnegative residue of modulo , and choose
Take , so gives , since . For every integer we have . At this is . If it holds at , then , because for . Consequently
where the last inequality follows from . Then
Therefore . Indeed, gives , and gives . Also , so the source computes exactly the prescribed output length . Its guard succeeds, since
Put . For every -bit target there are exactly mandatory programs outputting it. For each fixed -bit target, all its mandatory programs are admitted by and have pairwise distances at least
The full untimed cube. For a target , let be the set of all length- programs eventually normally outputting . Let be the set of -bit targets whose mandatory programs all lie in one component of the full induced graph . For each such target, that component has at least vertices by Lemma 4.7. The components chosen for different targets are disjoint, since a deterministic program has at most one normal output. They all lie in the same cube, so
Using the definitions of gives
Thus has the required strict three-quarter bound. This counts the entire untimed fiber. Its paths may change the code , the unary parameter, the parse or any other coordinate; no isolation of a code cell is assumed.
Fix and . All its mandatory programs are feasible at this deadline, yet at least two lie in different components even in the untimed fiber. No deadline subgraph can connect them. The entire fiber is therefore nonempty and disconnected, with the same set at every later deadline. Finally, , so and
The upper bound follows from :
Taking proves the bounds.
The set need not be recognizable. Its size nevertheless forces a lower bound on any assignment of eventual-connectivity thresholds.
Corollary 5.6 (The exponential order of eventual thresholds is necessary; previewed in Theorem 1.3). Suppose has the simulation property and integer-valued thresholds such that is empty or connected for every and every deadline . For every sufficiently large , more than three quarters of the targets satisfy
for the constant of Theorem 5.5. In particular no uniform upper envelope is possible. Together with Theorem 5.2, exponential growth in target length is therefore necessary for every adjunction-universal machine with such thresholds and is achieved by one machine satisfying the reference conditions. The exponent constants are not asserted sharp.
Proof. For each target in Theorem 5.5, the nonempty disconnected fiber at length forces . Otherwise that length would be covered by the assumed eventual property at every deadline. Since the thresholds are integers, , and the displayed lower bound follows. A uniform subexponential envelope would have base-two logarithm divided by tending to zero, contradicting this bound for all sufficiently large . The exponential upper envelope is supplied by Theorem 5.2.
5.1. Dependence of Target-Parameterized Complexity. For a query of full encoding length , take as the parameter. A language is fixed-parameter tractable in if one algorithm decides it in time , for a computable function and a constant independent of the query and parameter. The next corollary compares two machines whose full connectivity languages are both PSPACE-complete; they differ in how the running time can depend on this parameter.
Corollary 5.7 (Target-length complexity depends on the machine; previewed in Theorem 1.4). There are two machines satisfying all three reference conditions whose full connectivity languages are PSPACE-complete. For the machine of Theorem 5.4, connectivity is fixed-parameter tractable in target length, with time . The rigid reference machine U has a PSPACE-complete restriction at target 00. Consequently, if , its connectivity language is not fixed-parameter tractable in target length.
Proof. The first machine has the uniform algorithm in Corollary 5.3, whose polynomial exponent is independent of , and PSPACE-completeness of the full language by Theorem 5.4. The rigid reference satisfies all three properties by Definition 3.5. Corollary 3.24, at the fixed two-bit target , gives that is PSPACE-complete, and Proposition 3.22 gives membership of the full language. If an algorithm for had time , its restriction to would run in polynomial time, making a PSPACE-complete language polynomial-time decidable. This would imply .
For the first machine, any fixed-parameter algorithm must depend more than single-exponentially on the target length, unless P = PSPACE. This holds because the reduction of Theorem 5.4 uses targets of logarithmic length.
Corollary 5.8 (No single-exponential target dependence; previewed in Theorem 1.4). If , the machine of Theorem 5.4 admits no algorithm with running time on its full connectivity language Conn(V).
Proof. For a source input of length , the reduction in Theorem 5.4 produces a query of length polynomial in and a target of length at most , for one fixed constant . An algorithm with running time at most , for fixed constants , would therefore decide the PSPACE-complete source in time polynomial in . This implies , proving the conditional exclusion. It is not a matching double-exponential running-time lower bound.
6. TARGETS WITH CONNECTED FIBERS
The preceding results distinguish connectivity of a whole fiber from the complexity of deciding connectivity between two of its vertices. We now ask which targets have connected fibers at every length and every native deadline. The quantification over deadlines is essential: a disconnected fiber at one deadline is already a counterexample, even if later programs join its components.
For a machine define
Here includes every length- program, and includes zero. We call the elements of the globally connected targets of , shortened in this section to connected targets. We first prescribe finite sets and then prove effective restrictions on arbitrary .
6.1. Prescribing Finitely Many Easy Targets. We call a target easy for when its fixed-target connectivity problem lies in . For a fixed finite set of targets, each target of gets a block of programs, called hubs, that print it whatever their remaining bits are, and these hubs halt before any program that simulates a base machine . For every other target, the fiber at long enough lengths and late enough deadlines is an exact copy of a fiber of at a shorter length and a shifted deadline.
Lemma 6.1 (Completion on a finite set of targets). Let be an efficient onto program-only machine with the simulation property, and let be a fixed finite set of distinct strings. There is an efficient onto program-only machine with the simulation property and constants , , , having the following properties. For every , every fiber is empty or connected, and . For , the fiber is empty when or . At every other length and deadline, deleting the first bits is an isomorphism from its entire fiber onto the fiber of at length and deadline
All constants and the machine may depend on . The finite description of and the constants are computable from the finite description of and the list of the strings of .
Proof. Put , and let be the length- word with a single one in position , for . Write every program of length at least as with , and call its control header. The machine first reads exactly the bits of the control header; if a blank is encountered earlier, it enters the distinguished halting state. At control , run on the unchanged suffix . The control instead prints independently of . Every other control enters the distinguished halting state. For there are no controls, and only control 0 runs the base machine. We call the programs with control base programs, and the programs with control the hubs of .
We specify the exact halting times, since a hub must be present as soon as a base vertex is admitted; the hub halting time chosen next is internal to this proof. Parsing the control header takes a fixed number of transitions on every program with at least bits. A hub routine writes its fixed string, then waits until one common normal-halting time . Choose large enough for all these finite routines, including one that prints the empty string. If , choose any fixed parsing-compatible . Choose the base setup and padding time strictly larger than .
When runs on the suffix , its program head treats physical cell as the first cell of 's program. That simulated first cell needs its own left boundary. After the control parse, the physical program head is at cell , which represents cell one of 's program.
A new work tape has a sentinel at its first cell, and its head follows the simulated program head. At the sentinel, a requested left move keeps both heads fixed, exactly as Definition 2.3 requires at the virtual first cell. Away from it, both heads move together. The physical program head can therefore never enter the control prefix. Disjoint additional tapes handle the parse; the inherited tapes and hardwired data of have their declared initial contents and head positions when simulation starts. The sentinel and this fixed setup are included in . This also simulates the empty suffix at , whose first virtual cell is blank.
Because is fixed, compile its transition table into fixed-length blocks of native transitions, padding every transition case to the same positive integer . Perform its output write within the corresponding block and keep the output head stationary on the other transitions of that block. No final variable-length copy is used. A normal halt of after exactly transitions thus becomes a normal halt of after exactly transitions. An initially normal-halting machine is handled at , covering . Distinguished halts remain distinguished, and divergence remains divergence. This fixes the entire deadline behavior, not merely an upper bound.
If is the code of for , use for . It runs every raw suffix as , with no delimiter restriction. Its length and construction time are polynomial in the ambient code of , since is fixed with . If is the uniform simulation bound of and is a nondecreasing polynomial majorant of it, then halts within
since . Thus one polynomial works for every source machine and suffix. Onto-ness follows from the base branch, and efficiency from the fixed native model.
Fix and . At deadlines below the fiber is empty. At it is exactly the cube . From deadline onward it contains that cube and the base vertices whose computations have already produced and normally halted. Every such base vertex has the adjacent hub vertex , because the controls differ in one bit. The cube is connected by flipping its free suffix bits one at a time. Consequently the whole fiber is connected whenever nonempty, including its zero-dimensional cube when . No hub of another target prints , because the listed targets are distinct, and every control other than and the rejects. For every program rejects. An arbitrary query for this target is therefore decided by syntax, equal-length and endpoint-feasibility tests, which run in time polynomial in the query length, since the deadline is given in unary.
For a target outside , no hub is feasible. At and , the exact clock gives the full vertex set
Every feasible program has that control, so no path can change it. Deleting it preserves and reflects every one-bit edge, giving the stated full-fiber isomorphism. The earlier deadlines and shorter lengths admit no vertex.
Computing the construction. These finite choices are computable from the given finite description of A and the explicit list of target strings. Supply that list by its cardinality K and the lengths and bits of its K strings, also allowing K = 0. Parse and copy A's finite control, declared work tapes, initial data and layout, and compute . Give the inherited simulation states disjoint names from the control-parse and padding states, so returning to an old initial state cannot restart preparation. The control tests, suffix-origin sentinel and fixed setup use finitely many prescribed states and transitions.
Synthesize the fixed printers and count their finite execution lengths, including the control parse; padding their maximum gives a computable common . For K = 0, choose a parsing-compatible directly, since there are no printers. Enumerate the finitely many transition cases of A and synthesize the corresponding finite native blocks, including their boundary tests and output actions. Their maximum length gives a computable positive , and padding makes all blocks have that length. A normal or distinguished halt is kept as an internal control flag during that padding; the actual halting state is entered only at the end of its block. The setup routine has a computable finite length as well. Choose an integer exceeding both that length and , and pad the setup to exactly transitions.
These syntactic operations produce the finite description of and the constants , while retaining the exact clock . They do not require running to discover whether it is onto or extracting its code map or global simulation polynomial. Those properties are used only as the stated promise when verifying the constructed machine's properties. The conclusion is computability of this constructor; no polynomial bound on its running time is asserted.
The exceptional finite set may be prescribed while every other fixed target remains hard. Hardness outside S comes from the rigidity of the reference machine U through Corollary 3.24, not from the simulation property alone.
Theorem 6.2 (Prescribing finitely many easy targets; previewed in Theorem 1.5). For every fixed finite set , there is a machine V satisfying the three reference conditions of Definitions 2.5 to 2.7 such that:
• for every , every fiber is empty or connected and ;
• for every fixed target y outside S, the language is PSPACE-complete.
In particular, Conn(V) is PSPACE-complete. If , the set of targets whose restrictions are in P is exactly S. The encodings witnessing the simulation and interpretation properties belong to the constructed machine and are not required to be the fixed ambient encoding.
Proof. By Corollary 3.24, Conn_y(U) is PSPACE-complete for every fixed target y, including . Use the program-only realization of U, which runs U with its auxiliary tape fixed empty. Its rules always read blank on that tape, so they can be compiled without changing any transition count. Apply Lemma 6.1 with this base machine A = U and the prescribed S.
Fix . For a source query in Conn, first send malformed encodings or a target field different from to a fixed unequal-length no-query at target . Otherwise prefix both endpoints by and replace the deadline by . The lemma gives an exact full-fiber isomorphism at that deadline, so the reduction preserves both answers. Its output length is polynomial, including the unary deadline, because are fixed. The corresponding restriction of is therefore PSPACE-hard and belongs to PSPACE by Proposition 3.22. The same lemma gives the connected fibers and polynomial-time restrictions for the targets in .
Finally apply Lemma 3.25 to . It is efficient and onto and has the code map just established, so every hypothesis of that lemma holds. Its completion retains that code map and every unconditional halting predicate at its original physical deadline, and adds interpretation with the required polynomial encoding and overhead. Hence all three reference conditions and all target conclusions hold for the same completed machine V. Some target lies outside the finite set S, and its PSPACE-complete restriction makes Conn(V) PSPACE-hard; membership remains Proposition 3.22. If , none of the complete outside restrictions belongs to P, while all restrictions inside S do. This proves the final exact-set assertion.
The theorem has the quantifier order: for every fixed finite there is a machine . It does not give one machine with all target restrictions easy, nor a machine whose full connectivity language is not PSPACE-hard. Whether every machine satisfying the three reference conditions has a PSPACE-complete full connectivity language therefore remains open (Open Problem 1).
6.2. Exact Finite Sets of Connected Targets. The construction of Lemma 6.1 also controls exactly: every finite set of targets is the set of globally connected targets of some machine satisfying the three reference conditions. The finite-hub construction realizes each such set exactly, without assuming a separation between complexity classes.
Theorem 6.3 (Exact finite connected-target sets; previewed in Theorem 1.5). For every fixed finite there is a machine satisfying the three reference conditions of Definitions 2.5 to 2.7 with . The assertion includes and sets containing .
Proof. First fix a target and construct a native machine which normally outputs exactly on the inputs 00 and 11, and diverges on every other input. An exact length test reads the blank after the second bit. Write and choose a finite native deadline admitting both successful -computations. The programs have equal length and Hamming distance two.
Each is isolated in the entire target-y fiber of at length and deadline . A suffix flip gives 01 or 10, which diverges. A flip inside gives a program with no codeword prefix of any length by Proposition 3.3, so the unconditional reference machine diverges on it. These exhaust every neighbor. Other programs elsewhere in the cube cannot connect either isolated vertex. This also holds for , since divergence produces no normal empty output.
Apply Lemma 6.1 to the program-only realization of U and to S, with constants r, B, L. Every target in S then belongs to .
For each , at length and deadline , the lemma identifies the entire target-y fiber with the disconnected reference fiber just constructed. Hence , and .
Finally apply Lemma 3.25. It preserves every unconditional fiber at its actual native deadline and retains adjunction, so the completed machine satisfies all three reference conditions and has the same set G.
6.3. Effective Restrictions on Connected Targets. A set is computably enumerable, abbreviated c.e., if an algorithm lists its elements, allowing repetitions; it is co-c.e. if its complement is c.e. Fix a standard effective indexing of c.e. sets of binary strings. An infinite set is effectively immune here if a total computable function satisfies whenever . The finite-subset bound below holds whether or not is infinite.
Theorem 6.4 (Packing a c.e. family of connected targets; previewed in Theorem 1.5). Let have the simulation property. There is a total computable map to codes for , with , such that, if , then for every integer ,
The minimum is understood as when is infinite.
Proof. From construct one machine . On a nonempty input , with first bit , let be the binary value of when , and of when . Suppress repeated outputs in the enumeration of and wait for its -st distinct element. Print that element and halt if it appears, and diverge otherwise. On the empty input diverge. This is one effectively constructible machine for all input lengths. The computable code map gives , independent of .
Fix and write . Call a rank available if has at least distinct elements. For each available rank , let be the -st distinct element of and the -bit representation of . Exactly two eventual target- programs lie in the cylinder : they are and . A program of the cylinder whose suffix encodes an unavailable rank diverges. If , the asserted bound is immediate. Otherwise there are finitely many successful endpoint computations, so their actual native halting times have a finite maximum . No algorithm for computing , or deciding which ranks are available, is needed.
Assume . For each available rank , the fiber contains both endpoints and is connected, since . Choose a simple path between its two endpoints. Since those endpoints are its only vertices in the cylinder, all internal vertices lie outside it. Their suffixes are complements, so at least suffix flips occur. Leaving and returning to a nonempty code requires two more flips, hence at least internal outside vertices. If , no outside route exists and is impossible. Different outputs' paths are disjoint. Counting the outside programs therefore gives the inequality in every case.
The bound becomes finite and effective after choosing one suffix length as a function of the code. No efficiency bound is asserted for the resulting computation.
Corollary 6.5 (A computable bound on c.e. subsets; previewed in Theorem 1.5). Put
For the codes in Theorem 6.4, the function is total computable, and implies . In particular, contains no infinite c.e. subset.
Proof. For every we have . Therefore
Apply Theorem 6.4 at . It yields
Thus the minimum cannot be saturated; is finite and its cardinality is at most . The conclusion includes , for which . The machine constructor, code map, code length and displayed integer operations are all computable, proving total computability of the bound.
Globally connected targets have zero density even when sampled in an arbitrary computable order, rather than by output length.
Theorem 6.6 (Zero density along computable lists; previewed in Theorem 1.5). Let have the simulation property and let be any total computable injective sequence of binary strings. Put . There is a constant , namely the length of the code for of a machine built from the list, such that, whenever and ,
Consequently as .
Proof. Use the machine of the proof of Theorem 6.4, except that the program of rank prints , computed by the list algorithm, instead of the -st distinct element of . Its code has one fixed length across all . At suffix length the cylinder holds the targets with , and all their computations halt, since the list is total. Injectivity gives exactly two cylinder programs per such target. Choose paths only for those targets that belong to , at a common finite deadline admitting all endpoints. The same outside-cylinder count gives
For , monotonicity gives and . Combining these inequalities proves the bound. Every integer belongs to one such interval, and its corresponding tends to infinity with . The right-hand side therefore tends to zero.
For a set , asymptotic density zero means . A computable permutation of is a total computable bijection . The set has intrinsic density zero if has asymptotic density zero for every such permutation.
We recall the injective-sampling characterization of intrinsic density zero.
Fact 6.7 (Computable injective sampling; [Ast15, Corollary 4.3 of the accepted preprint]). A set has intrinsic density zero if and only if, for every total computable injection ,
For a computable bijection , we say that has intrinsic density zero under when does.
Corollary 6.8 (Intrinsic density zero; previewed in Theorem 1.5). Let have the simulation property. For every computable bijection , the set has intrinsic density zero.
Proof. Fix , put , and let be any computable permutation. Its inverse is computable: on input , search until ; totality makes every test terminate, and bijectivity guarantees exactly one successful value. Thus defines a total computable sequence of binary strings, and it is injective because and are injective. For every we have exactly when . Hence, for every ,
where the first equality holds because exactly when . By Theorem 6.6, applied to the sequence , the right-hand side divided by tends to zero as . So has asymptotic density zero. Since was an arbitrary computable permutation, has intrinsic density zero.
The same conclusion follows from Fact 6.7: for a total computable injection , the sequence is total computable and injective, and exactly when , so Theorem 6.6 gives the limit that the fact requires.
The rate in Theorem 6.6, which depends on the code length k, is the quantitative conclusion of our packing argument. Effective immunity, concerning c.e. subset cardinalities, is a separate restriction; see [Cas25, Definitions 1.1–1.2] for that established terminology.
A nonempty disconnected fiber is a finite witness that its target lies outside , and enumerating such witnesses shows that is co-c.e. Neither this argument nor the preceding packing proves that is infinite.
Proposition 6.9 (Computability of the connected-target set; previewed in Theorem 1.5). For every native machine V, the set is co-c.e. If has the simulation property and is infinite, then is effectively immune.
Proof. For any triple , simulate all finitely many length- programs for native transitions. Test which have normally halted with output , excluding distinguished halts, and decide connectivity of their finite induced graph. These calculations decide whether this triple witnesses a nonempty disconnected fiber. Enumerating all triples and listing their witnessing targets enumerates exactly the complement of . The effective-immunity assertion, conditional on infinitude, is Corollary 6.5 with the computable bound .
REFERENCES
[AB09] Sanjeev Arora and Boaz Barak. Computational Complexity: A Modern Approach. Cambridge University Press, 2009.
[ABK06] Eric Allender, Harry Buhrman, and Michal Koucký. What can be efficiently reduced to the Kolmogorov-random strings? Annals of Pure and Applied Logic, 138(1-3):2–19, 2006.
[Ast15] Eric P. Astor. Asymptotic density, immunity and randomness. Computability, 4(2):141–158, 2015. Accepted preprint arXiv:1405.0022v2, February 27, 2015; preprint numbering is identified where used.
[ASW15] Emmanuel Abbe, Amir Shpilka, and Avi Wigderson. Reed–Muller codes for random erasures and errors. IEEE Transactions on Information Theory, 61(10):5229–5252, 2015. Author full version; Section 2.3 records the standard evaluation-code construction.
[BKS25] Bruno Bauwens, Alexander Kozachinskiy, and Alexander Shen. All Kolmogorov complexity functions are optimal, but are some more optimal?, 2025. arXiv:2506.16180 [cs.IT].
[BRC60] R. C. Bose and D. K. Ray-Chaudhuri. On a class of error correcting binary group codes. Information and Control, 3(1):68–79, 1960. Original technical report: University of North Carolina Institute of Statistics, Mimeograph Series No. 240, September 1959.
[Cas25] John Case. Constructivity conditions on immune sets. Archive for Mathematical Logic, 64:819–841, 2025.
[CKTV15] Bob Chen, Jeong Han Kim, Michael Tait, and Jacques Verstraete. On coupon colorings of graphs. Discrete Applied Mathematics, 193:94–101, 2015. Preprint: arXiv:1404.6278v1.
[GH18] Wayne Goddard and Michael A. Henning. Thoroughly dispersed colorings. Journal of Graph Theory, 88(1):174–191, 2018. Undated author manuscript used for the terminology comparison; not asserted identical page for page to the published version.
[GKMP09] Parikshit Gopalan, Phokion G. Kolaitis, Elitza N. Maneva, and Christos H. Papadimitriou. The connectivity of Boolean satisfiability: Computational and structural dichotomies. SIAM Journal on Computing, 38(6):2330–2355, 2009. Full version: arXiv:cs/0609072v2.
[HBO25] Ting Hu, Wolfgang Banzhaf, and Gabriela Ochoa. How neutrality shapes evolution: Simplicity bias and search. In Proceedings of the Genetic and Evolutionary Computation Conference (GECCO), pages 1008–1016. ACM, 2025.
[Hoc59] Alexis Hocquenghem. Codes correcteurs d'erreurs. Chiffres, 2:147–156, 1959. Original article scan, ACONIT no. 26781; Section 6, pages 153–154.
[IDH 11] Takehiro Ito, Erik D. Demaine, Nicholas J. A. Harvey, Christos H. Papadimitriou, Martha Sideri, Ryuhei Uehara, and Yushi Uno. On the complexity of reconfiguration problems. Theoretical Computer Science, 412(12–14):1054–1065, 2011.
[LV19] Ming Li and Paul M. B. Vitányi. An Introduction to Kolmogorov Complexity and Its Applications. Springer, fourth edition, 2019.
[Mil26] Alexey Milovanov. Limit on the computational power of C-random strings, 2026. arXiv:2605.16261v2 [cs.CC], May 19, 2026.
[Nis18] Naomi Nishimura. Introduction to reconfiguration. Algorithms, 11(4):52, 2018.
[RSS97] Christian Reidys, Peter F. Stadler, and Peter Schuster. Generic properties of combinatory maps: Neutral networks of RNA secondary structures. Bulletin of Mathematical Biology, 59(2):339–397, 1997. Author preprint: TBI Working Paper 95-07-04 (1995), Sections 2 and 4; this version is used for the configuration-graph and RNA-compatibility model comparison.
[Sav70] Walter J. Savitch. Relationships between nondeterministic and deterministic tape complexities. Journal of Computer and System Sciences, 4(2):177–192, 1970.
[Sha24] Benedict Randall Shaw. Completely independent spanning trees in the hypercube, 2024. arXiv:2412.11780v1 [math.CO], December 16, 2024.
[Sho09] Victor Shoup. A Computational Introduction to Number Theory and Algebra. Cambridge University Press, second edition, 2009. Author's electronic Version 2, June 16, 2008, corresponding to the second print edition.
[SJL12] Steffen Schaper, Iain G. Johnston, and Ard A. Louis. Epistasis can lead to fragmented neutral spaces and contingency in evolution. Proceedings of the Royal Society B: Biological Sciences, 279(1734):1777–1783, 2012.
[Tad10] Kohtaro Tadaki. Properties of optimal prefix-free machines as instantaneous codes. In 2010 IEEE Information Theory Workshop (ITW), pages 1–5. IEEE, 2010.
[Zel86] Bohdan Zelinka. Connected domatic number of a graph. Mathematica Slovaca, 36(4):387–392, 1986.