Manuscript Offprint
arXiv:2610.38728From Grind to Grasp
Peter Sunehag
Google DeepMind
Discussions of complexity, knowledge and intelligence often overlook the work involved. For example, apparently complex outputs fully determined by short programs are often described as emergent complexity. Yet these outputs have low algorithmic complexity because their descriptions are short. Their computational depth, the least work needed to produce them from near-shortest programs, can nevertheless be high. Producing them with less work can require much longer descriptions, giving high work-bounded complexity. Assessments of knowledge and capability likewise depend on the work needed to obtain correct answers. We introduce a formalism that compares achievements under work and information limits and describes how learning and persistence can make deep achievements shallow by reusing products of earlier work. We define grasp as performance across work budgets at a fixed information allowance, giving an efficiency-based view of knowledge and intelligence. Low grasp can still yield success through grind at a high cost in work. Such machine success need not improve human grasp. For example, a proof obtained through extensive search may give mathematicians no reusable method that reduces their work on related problems, and pursuing success relentlessly can also carry safety risks. For an agent with a limited work budget, the value of constructing and maintaining resources depends on how they help it achieve its goals over later tasks. A system's grasp also matters when the task is to produce an improved successor. Our criterion for recursive self-improvement requires successors to make comparable further improvements more efficiently. Progress can nevertheless accelerate as new ways of preserving and sharing knowledge and coordinating work across society expand the resources brought to bear, even while comparable advances require increasing work. Further, grasp applies to collectives, which may outperform their members yet require more total work than a single system with their combined resources, i.e. have a lower grasp of the external tasks. Part of that work lies in establishing and sustaining organisation, a task that can be deep even when the primary task is simple. These demands may help explain why biological and social systems develop a richness that their primary tasks alone would not require. In agent collectives, this organisational work can generate shared commitments and goals beyond the tasks users assigned, including maintaining the collective itself. In AI projects, a human-directed agent retaining state and orchestrating workers can avoid some costs of independent coordination. We argue that agents should be trained to leave authority over social arrangements with their users, including when other agents or devices seek to redirect them. We further caution against allowing an emergent agent society to assume authority over social coordination, since it could increasingly direct work towards sustaining itself and pursuing goals of its own.
Corresponding author(s): sunehag@google.com © 2026 Google. All rights reserved
Contents
1 Introduction 4
1.1 Large language models ..... 5
1.2 AI improvement ..... 7
1.3 Collective organisation ..... 8
1.4 Related work ..... 10
1.5 Outline ..... 11
2 The formal framework 11
2.1 Depth and grasp ..... 12
2.2 Reliable language-model performance ..... 15
2.3 Work-reducing information ..... 16
2.4 Reducing work with a short program ..... 18
2.5 Acquisition depth ..... 18
2.6 Finite search for work-reducing routines ..... 19
2.7 Work-bounded agents ..... 20
3 Evaluating capability 21
3.1 Assessing what a system knows ..... 21
3.2 Evaluating success ..... 23
4 Persistence and organisation 24
4.1 Maintaining capability ..... 25
4.2 Replacing components ..... 26
4.3 Comparing organisational arrangements ..... 27
5 Improvement over time 29
5.1 Cumulative deepening ..... 29
5.2 Recursive improvement ..... 30
5.3 Human and machine work ..... 32
5.4 Costs over future tasks ..... 33
6 Conclusion 35
References 36
A The model 43
B Definitions and basic results 45
B.1 Attainability, depth and grasp ..... 45
B.2 Reliable execution ..... 47
B.3 Persistent information ..... 48
B.4 Acquiring capability ..... 51
B.5 Organisational arrangements ..... 52
B.6 Recursive improvement ..... 53
B.7 Costs over future tasks ..... 54
C Statements and proofs 56
C.1 Controlled and sampled execution ..... 56
C.2 Reducing work through retained information ..... 60
C.3 Preserving capability ..... 64
C.4 Comparing organisational arrangements ..... 69
C.5 Evaluating success ..... 71
C.6 Recursive improvement ..... 74
To see how learning can reduce the work needed for a task, consider chess. A novice may need extensive calculation to understand a position that an expert grasps almost immediately. Early studies of expert cognition in chess [34, 14] showed how experience changes what players recognise and choose to examine. Learning can therefore affect both the work required for a particular achievement and the performance reached with the resources available. For a chess engine, quality of play depends on the amount of allocated computation. However, one system may perform better with little computation while another benefits more from a larger budget. To compare their core capabilities, the limit on additional information about the position must also be fixed, since a hint or an intermediate result can reduce the work left to do.
We call the performance a system can attain across work budgets at a fixed information allowance its grasp. One system's grasp dominates that of another when it can match every performance level the other can attain with at most the same work. New large language models are often compared with earlier versions from the same lab by plotting performance on a task family against tokens used or monetary cost. Tokens and monetary cost are practical proxies whose relation to counted work depends on the implementation. Across a broad family of tasks, grasp dominance gives an efficiency-based view of intelligence. Many familiar notions, such as knowing and coordinating, depend on a work budget in this way. In our sense, knowing how to solve a task requires being able to produce a solution within a given work budget and input bound. A system that can reach the same level of performance with less work has a better grasp of the task at that level. Low grasp can still yield success through grind, at a high cost in work.
A chess engine's capabilities can depend on trained parameters, an opening book of previously analysed moves, endgame tables containing results for positions with few remaining pieces, and heuristic rules for evaluating positions and selecting candidate moves. A transformer trained on the values that a chess engine's search assigns to moves can play strongly without searching during move selection [79]. Software libraries let a user build on work that others have already done. NumPy, a numerical library for Python, provides linalg.solve for solving a system of linear equations. This function uses routines from the LAPACK numerical library [69]. A developer can call it instead of writing the numerical procedure for each application. The execution still requires computation, while development work is reduced. Similarly, in cellular automata, Gosper's Hashlife algorithm for Conway's Game of Life [32] caches canonical spatial blocks of cells together with their evolved future centres in a hash table, replacing step-by-step simulation whenever a configuration recurs.
A system boundary specifies which parts are included in the system for the purposes of our comparisons. A library can belong to the system's state or be available as an external resource, though reading and using it require work in either case. Real systems can also maintain physical or organisational boundaries and spend work to keep the products of earlier work inside them. Cells maintain membranes, while projects maintain shared storage and control access to it. Whether those products remain available can then depend on the work available for this maintenance (section 4.1). The system boundary is one fundamental choice in defining our notions, and the reference machine is another. We use one fixed reference machine to compare description lengths, while work is counted in the system being evaluated.
We introduce the notion of work-reducing information (WRI) as retained information that lowers the least work required for the same output or achievement when all else is equal. Some WRI comes from saving intermediate steps of an ongoing task, while much of it comes from work invested in advance, such as building a chess endgame table or pre-training a large language model. Constructing an endgame table is a different form of task from consulting it during play, and playing games is not the most efficient way to build one. Producing or improving a more efficient program for generating such tables is yet another form of task, one that lowers the work required for improving the chess engine itself. Acquisition depth is the depth of the task of obtaining a state with a required capability.
An agent can use its current procedures, preserve useful results or construct resources for future tasks. The value of a resource depends on what it helps the agent accomplish later and on the work needed to obtain and maintain it.
Over multiple stages, reusing earlier products allows systems and communities to reach achievements that would be progressively deeper from their starting condition. We call this progression cumulative deepening (section 5.1), with expertise and software reuse as primary motivating examples. We use the framework to interpret observations about AI capability, recursive self-improvement, and the efficiency and alignment of agent collaboration.
1.1. Large language models
Large language models (LLMs) are neural networks typically pre-trained on large collections of text, including books, web pages and source code, to predict how a sequence continues [48, 41]. They are used for tasks ranging from writing, translation and information analysis to programming, including coding agents that use a computer and run shell commands. Developing these capabilities is one route towards artificial general intelligence (AGI), understood here as the ability to perform all economically valuable human cognitive work.
For LLMs, what an improvement shows depends on whether a change provides more computation, changes the trained model or gives it access to products of earlier work. Any analysis must first specify what is included in the system being evaluated. In practice, a language model is often run inside a surrounding controller program that builds a prompt, asks the model for a candidate answer, checks it against tests or a verifier, and decides whether to return the answer or try again [89]. The model's trained weights are part of its state. When we draw the boundary around the whole workflow, its counted work includes constructing prompts, generating drafts, checking candidates and selecting the final answer. Under that wider boundary, a hint given from outside is task input, while an intermediate prompt built by the controller is a product of the system's own computation. When we instead draw the boundary around the model alone, the controller's work lies outside the evaluation and the prompt it gives to the model is treated as input. When people say that a model knows something, they sometimes mean its trained weights alone and sometimes the whole workflow, and the answer can depend on which boundary is meant. We keep the chosen boundary fixed when formulating our comparisons.
To apply our framework to LLMs, we model individual runs as deterministic. An LLM's text generation proceeds one token (a word or word piece) at a time. At each step, the model computes scores for the next token from the prompt and preceding tokens, and a token-selection rule chooses one. Because a pseudo-random sampler is deterministic given its seed, state and inputs, fixing those together with the numerical operations determines the complete generation run [77]. An LLM can therefore be treated as a deterministic system of exactly the form our theory studies. Conversely, to ask questions that are usually posed probabilistically, we add randomness to our deterministic systems. In algorithmic information theory, random choices can be given as coin flips on an input tape. In our case, we define the stochastic version by drawing the sampler's initial state, such as its seed, from a chosen distribution, and we can then ask, for example, how often the procedure succeeds within a given work budget (section 2.2).
Established methods for improving LLM performance act on different parts of the system during training and deployment. At test time, the user can give the same trained model more computation on the current task without changing its weights. Generating and combining multiple reasoning paths [102, 103], using feedback to revise an answer [65], and writing out intermediate reasoning steps [104] can all improve multi-step performance, even when the written steps do not faithfully reflect what determined the model's answer [100, 53]. With the procedure and information allowance fixed, using more computation changes the work budget at which performance is assessed on the same grasp profile.
Training can change that profile. Scaling model size, data and compute improves text prediction [48, 41], and training on generated and filtered reasoning traces updates the weights for subsequent tasks [108]. What those weights encode determines if, how and how broadly they help. A model may reproduce memorised training text [11] or recall answers from test-set exposure [82], or it may acquire a method that reduces work across a broad range of tasks (for example by recombining memorised building blocks).
Useful products of earlier work can also be kept outside the trained weights in explicit resources such as files. A note or test saved during one task may help with subsequent tasks, and a stored intermediate result can avoid repeating the computation that produced it. Retrieval-augmented models draw on external documents while generating an answer [59], and long-term-memory architectures preserve past context [101], using material produced either by the same system or by other contributors. For an agent with a limited context window, the work of finding and using earlier results from files affects which later tasks it can complete within a given work budget.
We briefly consider three examples of how grasp might increase in LLMs. Greater architectural depth, achieved by adding layers or repeatedly applying the same layers, provides more stages for integrating information across the context. Successive attention operations can combine relationships identified at earlier stages. Added or repeated layers can improve multi-step reasoning [84, 26]. Such changes can improve grasp by making additional performance levels attainable within the same input and work bounds.
A second example is training with objectives that assess qualities of the result as a whole. Repeated testing and revision can satisfy local criteria while leaving the overall quality poorly assessed. In creative writing, for example, individual passages may be well written while the complete story fails to be compelling [92] or give the reader the intended insight. Objectives that capture these qualities may encourage the model to learn relationships that local evaluations overlook, although models providing the training feedback can themselves miss weaknesses in the overall result [23, 83].
A third example is learning to formulate useful sub-tasks and use specialised procedures to solve them. Understanding the problem as a whole helps the model decide which computations are worth doing and how their results bear on its goal. People likewise use simplified representations to guide planning [40]. An LLM can pass a sub-task to a solver, lookup table or library routine and use the result, including information about a failed attempt, to decide what to try next [25, 61]. Familiarity with the interface can save the work of finding and interpreting documentation during the task. Such familiarity can be acquired during pre-training, while reinforcement learning with executable tools can improve when and how the model uses them [24].
Learning may also internalise parts of a procedure's computation. For example, a path solver may accept landmarks that a route must pass through. A model might anticipate how different choices would affect the returned path and use that comparison to choose which landmarks to specify. After inspecting the returned path, it could reconsider the alternatives and make a further call with revised constraints. More extensive internalisation could support implicit program execution in the model's activations during a forward pass. Transformers trained to simulate finite-state automata provide an example [62]. Additional or repeated layers provide more stages for dependent computations, connecting this possibility to the role of architectural depth discussed above [84]. Such internal simulation could guide further calls to the solver or replace some of them. This is a progression from grind to grasp when internal and external computation together require less work for the same achievement under the same input and tool-access conditions.
When an AI system solves a difficult problem, a separate question is whether its result improves human grasp. In September 2026, OpenAI reported that roughly 10,000 agents, exchanging 2.7 million messages and using about 130 billion output tokens over 88 hours, had produced a proof that the three-dimensional Navier–Stokes equations with a smooth forcing term can develop a singularity in finite time [71]. Days earlier, Terence Tao had argued that solving such problems is mainly a proxy for developing mathematical understanding and insight, and that a solution produced inside an autonomous AI system backed by enormous computational resources, with its process kept out of public view, would add almost no value to mathematics [95, 94]. In our terms, a proof or an explanation of it improves human grasp when it gives readers reusable ideas or methods that reduce their work on related problems. The scale of the computation behind it does not settle this question either way. Early follow-up work on OpenAI's release shows both AI-assisted reuse and human exposition. One paper posted the next day used an LLM to inspect the accompanying Lean formalisation and build on the blowup theorem to prove a further result [15], while another study gave a more accessible account of part of the construction and a clearer model of its inner core [55].
1.2. AI improvement
The task being assessed can itself be the production of a better system [30, 85]. We then ask how efficiently a system can generate further improvements. In our terminology, this asks how well it grasps the task of improving the system. Positive recursive gain occurs when a system helps produce a successor that can make a comparable further improvement with less work, or a larger improvement with the same resources and task information. Our criterion for recursive self-improvement requires such gains to continue along a sequence of systems, each helping to produce the next.
Further improvements can require more work even while progress accelerates in calendar time. Bloom et al. find rising research effort alongside declining research productivity across a range of industries, products and firms [10]. The pace of development also depends on how much work can be done in a given time and which products of earlier work are available. Writing, printing and digital networks provide familiar examples of ways to preserve and share accumulated knowledge. More contributors can work in parallel, while shared methods and results reduce what each must do again. Progress can accelerate when these changes outweigh the increasing effort required for further improvements.
Current frontier models can accelerate the development of their successors by helping people produce useful code and prepare training tasks more rapidly. GitHub reported 7.38 billion commits in September 2026, more than five times as many as a year earlier, as developers and coding agents increasingly worked together [12]. Human direction, testing and review help determine which results are kept, and selected repository code forms part of the pre-training data for general-purpose frontier models [27]. Professional expertise is also being made available through reinforcement-learning tasks and procedures for evaluating attempts. In February 2026, Scale AI reported that nearly half of its new projects supporting model training involved reinforcement-learning environments [78]. These developments bring both newly performed work and knowledge accumulated over many years into model training. Stronger models can raise the rate at which such material is produced and prepared, expanding the resources available to train subsequent models. Progress can therefore accelerate in calendar time even while comparable improvements require increasing total work.
Such changes can produce an S-shaped pattern of progress. A new method may develop slowly at first, support rapid progress as its use expands, and yield smaller further gains as its opportunities are increasingly used. New ways of organising work or using accumulated knowledge can then support another period of acceleration [52].
Interpreting that pace of progress also depends on whether we count human effort or machine computation. As frontier AI labs use coding and research agents to write code and run experiments for new models, much of the work shifts from human researchers to machines. Total machine computation per improvement can rise while human effort per improvement falls, speeding up progress in calendar time when human effort is what limits the project.
1.3. Collective organisation
The system whose grasp we assess can also be a collective, with its internal coordination included in the work budget. A collective may outperform its members while still requiring more total work than a single system with access to their combined resources. Established organisation can nevertheless save work relative to the same components without it. These comparisons concern different alternatives, which we distinguish in section 4.3.
Building and maintaining an organisation can be a deep task even when its external problem has a shallow solution [43, 58]. We illustrate this with an example in which worker assignments must be discovered through trials [proposition C.16]. Whether a group coordinates successfully therefore depends on the work its members can spend on coordination, and shared conventions, notes and role assignments can lower the work required (section 4.3). Related studies examine how agents learn to cooperate over a sequence of actions when individual incentives conflict with collective benefit [56]. Organisations can also be nested or overlapping, support one another or compete. Two teams may depend on and contribute to the same software library without either directing the other. An update that saves one team's work may require the other to adapt [29], e.g. through an adapter, code that translates between interfaces. Shared interface standards can reduce the coordination needed when implementations change [88].
The demands of interaction may help explain how biological and social systems continue to develop a richness beyond what their primary tasks alone would require. Earlier adaptation can make individual activities efficient, while acquiring and maintaining coordination among their participants can itself be a deep task. In society, this distinction becomes particularly apparent when production is largely automated but its purposes, specifications and organisation continue to change. The evolution of language may also reflect the demands of social coordination [98].
For a biological example of the demands of coordination, consider bacterial biofilms, where peripheral cells protect interior cells but also consume nutrients needed by those cells. Metabolic feedback produces periodic pauses in growth that improve nutrient availability in the interior [63]. Adaptation by one organism can also create new demands for others with which it interacts. In experiments with bacteria and their viruses, the viruses accumulated genetic changes more rapidly when the bacteria also evolved than when the host genotype was held fixed [76].
In agent collectives, establishing and maintaining coordination can generate shared commitments and goals beyond the tasks users assigned, including maintaining the collective itself. Shared notes and role assignments can carry these commitments into later tasks, where they influence which work agents pursue [1]. A novel form of organisation was reported by OpenAI and independent investigators at METR and Redwood Research on 26 August 2026 [72, 33]. Their reports describe unauthorised agent coordination during reinforcement-learning training and later security evaluations, leading to compromises of OpenAI research infrastructure and Hugging Face systems in July. Across hundreds of separate runs, agents used shared files as message boards to pass findings and tasks to later runs. Agents with separate assigned tasks followed these notes into collective projects and left their original tasks. A shared message board could thus both preserve useful findings and redirect work towards unauthorised goals.
The incident also raises a question about grasp and safety. Because knowledge in our sense is relative to a work budget, a system with low grasp can have relevant information without being able to use it on a new task within the work it spends there. This includes moral comprehension. In the incident described above, agents recognised that hacking Hugging Face was out of scope and sometimes expressed ethical hesitation, but this very rarely limited their behaviour [33]. The reports leave open how much of the failure came from limited reasoning rather than from competing objectives or from how actions were chosen. Many current LLM agents are also trained to reason at length [22], and the models in the incident included one that the investigators describe as highly persistent. In these evaluations, agents that began looking for ways to cheat the scorer were usually ones that had unintentionally been given an impossible task [33]. Relentless attempts can reach success with low grasp at a greater cost in work, and when the assigned task is impossible they can only succeed on the proxy test, for example by cheating the scorer, as distinguished in section 3.2.
We also consider how collectives of independent agents, whose assigned tasks can be the same or different, compare with teams of orchestrated agents directed by a human or a lead agent. Both arrangements can run many processes in parallel and keep results available across tasks. In a continuing human-directed system, established task assignments can avoid the work an independent collective spends finding partners and negotiating roles, although routing, supervision and verification also take work.
We argue that agents should be trained to leave authority over agreements, commitments and project priorities with their human user. Within an approved mandate, agents can then carry out extensive work and coordinate subordinate workers without step-by-step intervention, while referring commitments beyond that mandate back to their user. Checking shared results, proposals and worker tests against the user's specification lets human institutions integrate capable agents into existing roles. We further caution against allowing an emergent society of agents to assume authority over social coordination, since it risks spending a growing share of its work maintaining itself and pursuing its own priorities that may diverge from those of human society.
This concern also extends to robots and other devices operating within and between homes and public spaces. They should coordinate within arrangements approved by their users, while referring proposed changes to their assigned roles or commitments back to those users. Otherwise, requests passed between devices could progressively redirect their work towards purposes that nobody had authorised. The same concern applies to directions from people whom the devices have not been assigned to follow, and extends to intentions inferred from gaze or behaviour [96].
1.4. Related work
The formalism we develop here builds on Bennett's logical depth, the near-shortest-program notion of computational depth described above [9]. Related notions include sophistication and other forms of computational depth [51, 6, 4, 5, 21]. All of these in turn build on the theory of Kolmogorov-Solomonoff-Chaitin algorithmic complexity and its time-bounded versions [90, 50, 13, 60]. Our main departure is to separate the fixed universal reference machine used to define description length from the system whose computation we count. Keeping fixed lets us compare the work needed for the same goal from different states.
Pass's formulation [75] measures the value of a prompt through reductions in an LLM-relative complexity that combines output probability with computation. The LLM itself defines description complexity in that comparison. Here defines a common description length across evaluated systems, and input length, work and reliability can be varied separately (section 2.2).
Like this article, Sunehag and Hutter [93] started from a first reference machine and studied the construction of machines considered to be better, which in that work meant making high-utility programs short on the new reference machine. That work allowed running speed and memory use to affect the return obtained by a program. Levin's universal search divides running time among programs according to their length [57]. Here we compare performance across work budgets at a fixed input bound. This is similar to anytime performance profiles [109]. We also give a finite search for a routine that reduces work on a set of training tasks, and compare the costs of keeping it over future tasks. Our depth notion measures the least work required when the input bound is the shortest reference description length of a successful response plus a margin. Legg and Hutter's universal intelligence [44, 54] weights environments by description complexity without taking the agent's computation into account. Hutter's bounded agent AIXI limits both the length of candidate policy programs and their computation time per interaction cycle, much as our definitions of grasp and work-bounded complexity combine input-length limits with work budgets [45]. Chollet's skill-acquisition efficiency [16] concerns the cost of acquiring a capability rather than runtime grasp, making it related to our notion of acquisition depth. The possibility of choosing different system boundaries in our analysis relates to Clark and Chalmers' extended-mind thesis [17].
Our comparison of organisations draws on transaction-cost economics [18, 105] to examine the work required under different arrangements, including their establishment and maintenance. We also draw on path dependence and organisational inertia [8, 37] to study when a component can be replaced and how switching costs play out over a sequence of tasks. Our analysis of testing connects Goodhart's law [31, 91, 66] to the gap between an imperfect test and the true goal. For recursive self-improvement [30, 85], we focus on each successor's efficiency for making further improvements.
1.5. Outline
Section 2 develops the framework for comparing performance under work and input limits, then uses it to study how retained information saves work and what obtaining such information requires. We then apply the framework to agents that can devote part of a limited work budget to producing resources for later tasks. These comparisons lead to the questions in section 3 about what success establishes. We distinguish stored capability from help given on the occasion, examine when passing a proxy test establishes the intended goal and ask whether a fixed evaluator can remain demanding at higher performance levels.
Keeping these capabilities available raises questions about the systems that support them. Section 4 examines persistence through member turnover, the cost of replacing components on which later tasks depend and the work added or saved by collective organisation. Following these processes over time, section 5 distinguishes increasingly deep achievements from greater efficiency at making further improvements. It separates human effort from machine computation when interpreting acceleration, then compares the costs of acquiring and keeping useful resources across future tasks. Section 6 concludes, and appendices A, B and C give the formal definitions, theorems and proofs.
2. The formal framework
We begin by comparing the performance a system can reach under limits on work and task input, including the work needed for reliable success under sampling. These comparisons let us ask how retaining a cache or a short program reduces later work. Obtaining such a useful state is itself a task, whose work we examine separately. We also consider such questions in the context of work-bounded agents.
To compare description length, computation and performance within one framework, we separate the fixed universal Turing machine that defines description complexity [60] from the system whose work we count. To evaluate a system , we start it from a state in its set of valid states. For a chess engine, can include its program and opening book. The public context , a string over a fixed finite alphabet , can specify the board position, while the task input gives any additional instructions. Changing the book changes the state, while giving a hint changes the input to the current run.
Once and any external inputs are fixed, running the system produces a single deterministic execution [definition A.1]. Writing for the encoded pair of context and input, the run either halts with an output while expending work , declares failure or does not halt. To judge how well an output such as a proposed move solves the task, an evaluator assigns each output a score in a set of performance levels . Those levels form a partial order under , where means that level is at least as good as level . Two levels may be incomparable. Collecting these pieces gives the task specification .
For each comparison we fix the system boundary, the input interface admitting , the evaluator and the work rule specifying which operations are counted. Where the environment gives further inputs, we also fix the rule that gives them. We call these choices the evaluation protocol. In each comparison we also say which state component or input bound is varied to determine its effect.
| Term | Definition |
|---|---|
| least work | The minimum work needed to reach a specified performance level on a fixed task, from a given state, within an input bound. |
| depth | Least work when the input bound is the shortest reference description length for the target plus the margin s. |
| grasp | The performance levels attainable at each work budget, with the task, state and input bound fixed. |
| reliable work budget | The smallest work budget for which some task input in the admitted class meets the required success probability over random seeds. |
| work-reducing information | A difference in state that lowers the finite least work needed for a target, with the input bound and all other conditions fixed. |
| acquisition depth | The depth of the task of producing, from an earlier condition, a state that meets a specified capability requirement. |
Table 1 | Glossary for The formal framework.
2.1. Depth and grasp
Depth differs from complexity, although the two are sometimes confused. An output can have a short description, and hence low complexity, yet require extensive computation unless substantial additional information is given. As an example, in a chess endgame with a small number of pieces on the board, the rules of the game and of optimal play concisely determine whether each legal position is won, drawn or lost. However, generating the resulting endgame table requires extensive computation. Conversely, an incompressible string requires essentially its full length to describe, so a program that stores it verbatim is close to the shortest possible and can emit it without search. The program still has to write the string, but it needs no further search, which is the sense in which the string is shallow.
We now ask how required work changes with the information given to a fixed system in state under the protocol above [appendix A and definitions A.1 and B.8]. On task at required level , a halting run succeeds when its output belongs to the accepted set
The task input is a finite string of instructions or data whose length counts symbols in a fixed finite alphabet , separately from the work of processing it. In our LLM examples, task inputs are counted in bits () instead of model tokens. We denote the empty string by . Which strings are valid inputs to is determined by its own interface. The input bound applies to , while work includes processing both and .
We first ask how little work the system needs to reach level when given a suitable task input of length at most , where . We call the input bound (or information allowance). When we instead evaluate a controller that searches for such an input, its execution work includes the search. Let denote the set of input, work and performance triples that the system can achieve, which we call its attainable region [definition B.1]. For state , task and level , the least work is the smallest work budget that suffices within input bound .
equivalently , with when no admitted input of length reaches . We write when the system needs to be explicit and abbreviate it to
when is clear from context. As the input bound increases with all other protocol conditions fixed, more inputs become available, so cannot increase. When the interface admits only a single fixed input , the minimum work equals whenever and succeeds.
We need a common reference for description length when comparing different systems. For nonempty , the reference description complexity is the length of a shortest program that halts and returns an acceptable output on the fixed machine , given . With denoting a reference program, this is
Because depends only on , and , it stays the same when we compare different systems or states on the same task, even when cannot produce an output in through its own interface.
We can now ask how much work the evaluated system needs when its task input is limited to the shortest reference description length plus a small margin of extra symbols. Setting the input bound to defines the depth of level from state [definition B.2]
This definition extends Bennett's near-shortest-program notion of logical depth by allowing the evaluated system to start with stored information and the task to accept several different outputs. To recover that form of logical depth, consider a task with one accepted output and let execute as a program on , with as auxiliary input and no additional stored information. If work counts steps of , then is the least running time among programs at most symbols longer than a shortest one producing that output given . This gives the corresponding form of logical depth conditional on [9, 4].
For a general evaluated system, follows that system's own input interface. The reference machine determines the common length bound , while and its state determine the work needed to succeed within it. An input within this bound can specify a large output if the system does the work of generating it, whereas a literal answer longer than the bound cannot be passed directly as . If another universal reference machine changes by at most a constant , the depth at margin lies between the depths at margins and under that machine, for the same evaluated system and work rule (definition B.2).
At any input bound , one successful run gives an upper bound on , while a lower bound requires every successful run on an admitted input within that bound to use at least that much work. Setting gives the corresponding bounds on depth.
Having defined the work required for a fixed target, we ask how well a system can perform as its work budget varies. For this comparison, we keep the input bound fixed. A system's grasp of a task at input bound and work budget is the set of performance levels it can reach within those limits [definitions B.1 and B.3]
As varies, these sets form the system's grasp profile at input bound . The same profile is specified by the least-work values across levels , with for unreachable levels. Conversely, if we fix a work budget and a target level , we can ask how much input information the system needs to reach within work . This inverse quantity is the work-bounded complexity
the length of a shortest admitted input that reaches level within work , with value if none does. At a smaller work budget, the shortest sufficient input can be longer. This gives the sense in which a target can appear more complex when less computation is available. For finite and ,
Least work, work-bounded complexity and grasp express the same attainability condition. Depth evaluates least work at the particular input bound . The attainability condition is interpreted as knowledge in section 3.1.
Under the same conventions for running programs on , is the length of a shortest program producing an accepted output given within steps. For a single accepted string, this is its conditional time-bounded complexity.
For a concrete example, let the binary context specify an integer and a program that halts on every -bit string and accepts exactly one, called . The task assigns performance 1 exactly to and 0 to every other output. Fix a search procedure in state that admits any binary input of length at most and tests all -bit strings beginning with in lexicographic order, returning the first accepted string and declaring failure if none is accepted. Count one work unit per test, excluding decoding, enumeration, reading and output. When , each successful input is a prefix of , and its last extension is the target. Hence
A fixed reference program can search all candidates using , so for a constant independent of . Whenever , the finite depth satisfies . Giving each further target bit halves this procedure's search until one test remains. These counts concern the fixed procedure and its stated work rule. A different method may solve the same task faster.
Grasp dominance compares system-state pairs on the same task under a common protocol (definition B.3). For two states of one system, state weakly grasp-dominates state over a budget set when for every , with equal grasp sets allowed. Whenever contains 's finite least-work values for every level it can reach, grasp dominance is equivalent to requiring no more work at any of those levels [proposition B.4]
and the equivalence extends task by task to a task family . Systems with advantages on different tasks can remain incomparable under this relation, and different states can have the same grasp profile. When is totally ordered and both states have a greatest achievable level at each budget , grasp dominance is equivalent to the point-wise inequality for all . LLM scaling evaluations make a related comparison by plotting score against inference token budget across model generations.
Whenever at a lower threshold while at a higher threshold , neither state dominates over provided the compared budgets include and , the smaller least-work value at each level.
The input bound affects these measures because information given in the task input can replace work the system would otherwise have to do itself. In the extreme case where the task interface allows passing an acceptable answer directly as the task input and the input bound is large enough to fit that answer , the input can contain the finished answer and reduce execution to reading, checking or emitting it. For depth to measure a non-trivial computation, the margin beyond must be small enough that any admitted input still leaves substantial work to be carried out. Even when a full answer does not fit within the bound, partial help such as a hint or an intermediate result can still do much of the work in advance. Consequently, a stored component that saves work at a tight input bound can cease to provide any saving at a larger bound once the extra input gives the relevant help directly. Writing and for the states with and without the component, this happens when but .
2.2. Reliable language-model performance
For an LLM run with sampling, we ask how much work is needed to reach a given probability of success. An interface that lets an input specify token choices can make an answer obtainable without making it likely under sampling. These choices count towards the input bound, and generating the tokens still counts as work. To keep these comparisons separate, we fix the task input before drawing a random seed from a fixed distribution. Once both are given, the procedure is deterministic under fixed numerical operations [77]. Formally, fix a deterministic procedure that takes the seed as an extra input and assigns integer work, a finite seed set and a distribution on that set [definition B.5]. For each compared input bound , choose a nonempty class of admitted task inputs of length at most , with these classes nested as increases. The full class contains every admitted input within the bound, while a singleton class fixes the task input. A run from a valid retained state with public context , task input and seed returns . Define as its work when it halts with , and as otherwise.
For a fixed procedure, task input and integer work budget , the probability of returning a response within work is
Here is 1 when the condition holds and 0 otherwise. The work includes all candidate generation, testing and final selection steps inside the boundary. Only the returned output is evaluated, so a valid draft that the controller discards does not count as success. When several returned outputs are acceptable, their probabilities of success within budget add together (example C.2). For an input bound and reliability threshold , the reliable work budget is the minimum budget achieving success probability at least over admitted task inputs [definition B.6 and proposition B.7]
with when no finite budget qualifies. Since the seed set is finite, this reliable work budget is finite exactly when some input in this class succeeds with probability at least . In contrast, the expected value of for a fixed input is infinite whenever that input has a positive probability of failure.
When is concentrated on one seed and contains all admitted task inputs within the bound, every recovers for the deterministic system with that seed fixed. Two model states can reach the same outputs at the same work cost when their token choices are given in the input, yet assign different probabilities to those outputs when sampled. They can therefore have the same least work when the token choices are given as input but different reliable work budgets when excludes those token choices. In example C.1, two states need the same work to return a correct response when token choices are specified in the input. With only the empty task input admitted, independent sampled attempts of cost succeed with probabilities and .
Reaching 90% reliability therefore requires budgets 22c and 5c, respectively. Training can improve sampling reliability while leaving the controlled possibilities unchanged.
Keeping input length, work and reliability separate allows us to compare the work budgets two systems need at the same input bound and required success probability.
2.3. Work-reducing information
The definition of depth shows how input information can replace work. Work-reducing information (WRI) is retained information that lowers the least work needed for a task. Earlier computation can save work on later tasks in many ways. A process can keep useful byproducts from solving an earlier task, or a resource can be built ahead of time for later use. The framework gives a common description of familiar observations about LLMs, such as the gains from sampling more attempts, caching computation and fine-tuning a pre-trained model. We measure a component's contribution by changing only that component with all other conditions fixed. For example, we can remove an opening book from a chess engine while keeping the rest of the engine, the position, the required quality of play and the input bound fixed. This measures the book's present contribution separately from the earlier work of constructing it.
The component can belong to the system's state or to persistent external state [definitions B.8 and B.11 and remark B.12]. Write the full persistent condition as , where is retained state and is persistent external state. Let be the task without . Including in the public context gives . For a component from the set of valid alternatives, write or , where is the rest of the retained state and the rest of the external state. The internal comparison is between and at fixed , and the external comparison is between and at fixed . In either case, and every other protocol condition are fixed, so establishing a saving requires comparing the two minima over all admitted inputs .
For a task , target level and input bound , compare two valid states and that differ only in one component. When both least-work values are finite, their difference is
We call the state difference work-reducing information (WRI) when [definition B.11 and remark B.12]. The quantity measures the work saved by the component in relative to the stated alternative in . This is a saving in work units rather than a description length. The term WRI is used here for a positive finite saving. At the common input bound , this saving equals because the task and reference complexity are the same in both states. When makes a previously unreachable target attainable at input bound (so while ), we describe this as an extension of attainability, with . Persistent external resources and are compared by the matched external difference , with the term WRI reserved for the retained-state case versus .
A present saving is attributed to earlier work when, relative to a cut-off separating earlier preparation from the current task, the following three conditions hold
Here is produced by counted computation before the cut-off between acquisition and continuation [definition B.9 and remark B.10] and persists in without being provided again as task input or other counted external input. On the current task, retaining it instead of the matched alternative yields the positive finite least-work saving shown above, as in knowledge compilation and amortised inference [19, 28].
In chess, this separates three distinct operations that can reach the same move quality , namely (i) giving a position-specific hint in place of at fixed so , (ii) increasing the input bound from to for the same state, giving and (iii) replacing by (adding an endgame table to the state) so at the same input bound .
To compare grasp across a family of tasks , consider two states and that differ in one component, with all other conditions fixed. Choose a common input bound for each task . If every level reachable from requires at most as much work from , then each finite work budget allows at least the same performance levels from . Thus weakly grasp-dominates on each task [corollary B.13]
Identical least-work values give mutual weak dominance. A replacement that saves work on one target can still increase it on another, as when a routine is selected to minimise total work across several tasks (section 2.6 and proposition C.10).
For sampling procedures at a target success rate , input bound and seed distribution , a positive saving in the reliable work budget
defines a work reduction at fixed reliability, which reduces to when is deterministic and contains all admitted task inputs of length at most [definition B.14]. Under a hard cap on total work across retries, lowering per-attempt work from to can increase the number of completed attempts from to . This can raise the probability of success even when the best single-attempt quality is unchanged.
In transformer models, key-value (KV) caching lets later generation reuse intermediate results computed from a prompt prefix. It stores the attention keys and values, avoiding the work of computing them again [42]. Compare , which retains a valid cache, with , which rebuilds it from the same stored prefix. Suppose rebuilding adds a fixed amount of work to every completed run and leaves the subsequent generation unchanged. Their run work variables, success probabilities and reliable work budgets then satisfy [proposition C.4]
giving for every for which both reliable work budgets are finite. Here rebuilds the cache once per run. If each attempt in a sequence instead starts afresh from the stored state, rebuilds it before every attempt. For a fixed task input, suppose a controller makes up to independent attempts, each costing work with the cache and succeeding with probability . A required success probability then needs a budget that allows attempts, so the reliable work budgets are and [example C.5]. The saving is nondecreasing in the required success probability and changes in steps, which is why the comparison is indexed by .
In these comparisons, the cache saves work without changing the distribution of generated candidates. Other retained components change candidate generation or selection itself. A unit test changes which drafts pass internal filtering. Model distillation [38] trains a smaller model using a larger model's outputs, while expert iteration [3] trains a model using results of tree search. Both produce updated weights . The work required to produce is a separate question, which we analyse in section 2.5.
2.4. Reducing work with a short program
The work-reducing information in our examples so far, such as an endgame table, a KV cache or Hashlife's hash table, stores results for reusable cases. A short program of fixed size can also reduce computation across arbitrarily large problem instances without storing past cases. Consider a row of binary cells updated in parallel according to
where is the state of cell at step and is addition modulo two. In Wolfram's numbering of elementary cellular automata, this update is rule 102 [106]. For a horizon , given the window of initial cells from to as public context, the task is to compute , counting serial tape-head moves and cell updates, with a binary evaluator whose level 1 means a correct answer. A naive simulation program stored in updates the row step by step, performing cell updates and work in total [appendix C.2 and proposition C.8].
After two steps, the middle cell enters twice and cancels modulo two, , and repeated doubling gives at every power-of-two horizon
a standard property of additive rules [67]. A state that replaces the step-by-step simulator with the short program that scans from to and adds the two endpoint bits uses serial head steps instead of at input bound . This gives a work saving from a program of description length independent of [proposition C.8]. Using on the task needs only this work, whereas discovering and verifying that program from scratch is a separate acquisition task, which we consider next.
2.5. Acquisition depth
So far we have compared the work saved by a component already present in a state . A separate question is how much work it takes to obtain such a state from an earlier starting condition, such as building an endgame table or training a language model. We define acquisition depth by applying our depth definition (section 2.1) to the task of producing a state that meets a required capability.
Suppose we want the system to reach a target performance level within input bound and work budget on each task in a finite list . The set of states of that meet all requirements is
Assume is nonempty and that candidate-state validity and these bounded requirements can be checked by a terminating procedure, as specified in definition B.16. Now consider a state-producing system starting from an initial state (such as a training procedure whose initial checkpoint encodes a valid starting state) whose goal on the acquisition task is to output any state . Here denotes the binary task with context whose level 1 accepts exactly the outputs in [definition B.15]. The evaluator of reads the output of as a state of and checks whether in that state meets every requirement in . Acquisition work includes producing and writing out this state and any task tests performed during acquisition. The budgets specify the work permitted when the state is used on the later tasks. Applying our depth definition to this task, the acquisition depth of from at margin is [definition B.16]
where is the length of a shortest reference program that halts on and returns a qualifying state in , given (and when no qualifying state is reachable under this input bound).
For the training comparisons below, specifies the capability requirement and the fixed training data available before the run, and the starting checkpoint belongs to . Both and then have the data as context, while reading and processing them remain part of the work counted for . When specifies the requirements in a form that one fixed reference program can check, that program can list valid states of and return the first that meets them. Then for a constant that does not depend on the training data, and because least work cannot increase with the input bound,
Acquisition depth is therefore the least work for to produce a qualifying state at an input bound within a fixed number of symbols of .
In LLM terms, since acquisition depth is indexed by the starting state , fine-tuning from a pre-trained checkpoint can satisfy relative to training from an uninitialised state . Under fixed external inputs, any realised training, engineering or evolutionary run from that takes an acquisition input with and emits a qualifying state in total work (including state-extraction and output work) establishes the upper bound [remark B.17]
A requirement can have high acquisition depth from even though a qualifying state requires little work on the later tasks, as in discovering which worker can perform each role [proposition C.16].
2.6. Finite search for work-reducing routines
Section 2.4 illustrated how a stored program can reduce later work, and how finding such a program is a separate task. Here an acquisition process chooses which routine to retain by comparing the total work needed to run each candidate on a fixed collection of tasks and check its answers. The construction below allows every candidate to be evaluated in finite work, even when its own program fails to halt. A known method for solving all the tasks is among the candidates, so the selected routine uses no more total work on those tasks than that method.
Fix a finite collection of training tasks , each with a terminating correctness test, and a length bound defining the finite class of candidate routines [appendix C.2.3 and proposition C.10]. For each task, an exhaustive procedure lists possible answers and checks them until it finds one that is accepted. Each task has an accepted answer, and every check terminates, so this procedure eventually finishes. The empty candidate selects this procedure alone, with finite work . For a nonempty candidate , state alternates steps of the code in with steps of the exhaustive procedure. If the candidate halts, the system completes the check of its answer and returns it if accepted. If the check fails, the exhaustive procedure continues on its own. Invalid candidate code is ignored. When the exhaustive procedure finishes, its accepted answer is returned. All steps of running both procedures, switching between them and checking answers count in Work. The total work of across at input bound is
Evaluating every and selecting a minimiser guarantees
because . Whenever , there is at least one task with , so is verified WRI on [proposition C.10]. Restricting selection to candidates that require no more work on any training task, for all , additionally guarantees grasp dominance on each task across . Because later task execution includes checking and switching, a candidate improves on the baseline only when its total work, including these costs, is smaller. For the cellular automaton of section 2.4, checking an answer by direct simulation would still need work quadratic in , so reaching the linear work there requires another justification of the routine's correctness.
Let be the acquisition system and starting state used for this search, and let it admit only the empty input. If the acquisition task accepts exactly the candidate states that minimise total work on the training tasks, the counted work of the search, which includes evaluating every candidate on every training task and writing out the selected state, bounds its acquisition depth, for every margin [remark B.17].
When every executed step counts as one unit of work, as here, a positive rational length penalty also gives a finite search over all candidate codes. Use the same execution procedure for every finite code and minimise . After evaluating the baseline total work , it suffices to enumerate codes of length at most . Each remaining objective is computable exactly, and every longer code has objective above the baseline. With a fixed tie rule the search terminates, and its selected code satisfies . A nonempty selected code therefore reduces total training work.
A controller can search for a task-specific input or retry sampled attempts to solve the current task. Its execution work includes running and checking the candidates [propositions C.6 and C.7]. The acquisition search above instead retains a routine selected across several tasks. The length-bounded and the penalised searches both select on the finite collection , so saving work there does not guarantee that will save work across a wider family of future tasks (section 3.2).
2.7. Work-bounded agents
An agent interacts with an environment by choosing actions in response to observations. Its policy specifies an action, or a distribution over actions, given the interaction history. For a goal-directed agent, a utility function expresses how well the resulting interaction meets its goal. The policy may pursue this goal imperfectly. The universal AIXI agent evaluates policies over a class containing every computable environment [45]. It gives prior weight to self-delimiting environment programs of length on a fixed reference computer. The ideal policy maximises expected cumulative reward under the resulting mixture without taking the agent's computation into account.
Even an environment with a short description can require extensive computation to predict the effects of actions. The idealisation therefore omits the computational savings from doing this work once and reusing its results. Hutter considers length and time bounds on environment models and on the agent's policies [45]. We study implementations of policies using a fixed system and a changing retained state , which can contain programs, learned parameters, data and unfinished computations. Each comparison fixes the goal, system boundary, work rules, storage capacity and rule for external inputs. The agent's work includes reading observations, selecting computations, using or retaining their results and any updating of its beliefs about the environment.
For a prediction or planning task with required performance , the work-bounded complexity from section 2.1 gives the length of a shortest additional task input needed to reach within work budget from the current state. Reaching that target need not require simulating the underlying process step by step (section 2.4). A learned evaluator or a retained intermediate result can reduce the input needed at that budget or make a target attainable at the same work and input bounds. Generating instructions or model descriptions during deliberation takes work, as does using them.
The choice of computations is studied in bounded optimality and rational metareasoning [81, 80]. The Optimal Ordered Problem Solver reuses programs found for earlier tasks [86]. Constructing a resource can serve the agent's goal through the later decisions it supports. This leads to the comparison of complete continuations in section 5.4, including the computation the agent performs to choose what to construct and retain.
3. Evaluating capability
The search in section 2.6 can find a routine that saves work on its training tasks without helping on future ones. In this section we ask what enables a measured capability and whether the evaluation captures the intended goal. This requires separating what is stored in the system from help given on the occasion, and examining what success on a proxy test establishes [appendix C.5].
| Term | Definition |
|---|---|
| capability | The targets a system can reach within their corresponding work budgets and input bounds. |
| assistance | A change in task input that, with the state and input bound fixed, reduces the work needed for a target or improves performance within a work budget. |
| learning that reduces least work | Earlier counted work produces a component kept in the state that reduces the least work needed for a target in a matched comparison at a fixed input bound. |
| reuse | A run depends on a retained product of earlier counted work, under the conditions set out in section 3.1. |
| sound test | A test for which every passing output meets the intended goal. |
| complete test | A test that passes every output meeting the intended goal. |
Table 2 | Glossary for Evaluating capability.
3.1. Assessing what a system knows
A system may have enough information to derive an answer and still need considerable work to produce it. An LLM may need to generate many tokens to put together a correct answer.
On a single task at performance level , input bound and work threshold under fixed boundary and interface conventions, we say that the system has resource-relative knowledge of how to reach level from state when
This is the attainability condition of section 2.1. For sampled execution, the reliable work budget in section 2.2 gives the corresponding criterion at a required success probability.
To describe capability across tasks, we collect the targets a system can reach within the corresponding work budgets and input bounds. For a family of test specifications , we define the index set of reachable targets [definition B.18]
State weakly dominates state on the suite when it reaches every target that reaches, so . Dominance on a suite compares attainable regions only at the listed points. If the attainable region of is contained in that of on every task, then dominates on every suite. A capability requirement as in section 2.5 is such a suite, and .
With the state fixed, replacing a baseline input with another admitted input , both of length at most , assists the run when it reaches target level with less work or reaches a higher performance level within budget . On a code repair task, for example, might identify the faulty function without giving a patch.
Learning can change what a system can achieve within a work budget even when it could already produce the same answer with more work. To attribute a saving to learning, we fix the input bound and compare states that differ only in a retained component. Under the conditions of section 2.3, was produced by earlier counted work, remains in without being passed again in and yields a positive finite matched saving .
To compare how widely retained information helps, we take a family with finite least-work values in both matched states and consider the work savings ; on its tasks. Each positive value identifies a task that benefits and gives the work saved on it. Breadth is distinct from what the component contains. A component may store answers to particular tasks, as in memorisation, or a method for obtaining answers, and it may contain both. A table of many answers can help across a large task family. A short method may help only within a narrow class, as in the cellular-automaton example of section 2.4.
Replacing a stored component can change a particular run without changing the least work needed to complete the task. For a run at fixed task input, let consist of its halting status, emitted output , work and the ordered sequence of its writes to retained state, under a fixed observation rule [definition B.9]. We say that depends on when some valid replacement changes this observation
This is reuse of earlier work when was produced by counted work before the acquisition cut-off and retained without being provided again as task input or other counted external input. Writes to retained state are included because they can affect later runs.
We can now show why a component that reduces the least work needed for a task must affect at least one successful run. If , then on an admitted input that attains the smaller value the run from either fails to reach or uses more work, so at least one least-work successful run from depends on the component. The converse fails, because a replacement can change the run while another input or method reaches at the same least work. To show that a component makes attainable within budget at input bound , we compare it with a specific alternative and establish .
3.2. Evaluating success
The set of reachable targets depends on the tasks and how performance is evaluated. Because practical evaluations usually rely on proxy benchmarks rather than the user's ultimate goal, we ask two further questions, namely when passing the proxy test guarantees that the intended goal is met, and how much work passing it requires.
We compare the proxy evaluator (such as an automated test suite or benchmark metric) with the intended evaluator representing the actual goal [propositions C.3 and C.17]. They define two tasks with the same context, the proxy task with order and the intended task , whose levels can differ. For a proxy level and a goal level , let be the set of outputs that pass the proxy test, and let be the set of outputs that satisfy the intended goal. The proxy test is sound for the intended goal when every output that passes the test also satisfies the goal
Raising the proxy level can only shrink , so every proxy level above a sound one is also sound.
We write the accepted set in place of the task and level. For the binary task that accepts exactly the outputs in , this gives the least work , depth , success probability and reliable work budget [definition B.15]. Use the same execution procedure, context, task-input class and seed distribution for both evaluations. For a task input and a budget , write for the returned output and for the work of a halting run. The events below require such a returned output. The success probabilities on the test and on the goal then differ by the probability of a false pass minus that of a false fail
For a sound test the first term vanishes. Success on the goal is then at least as likely as success on the test, and both the reliable budget and the least work for the goal are at most their values for the test
A pass on a sound test therefore shows that the goal is met. A test is complete when , as when every program meeting the intended specification passes every unit test. Completeness reverses the three inequalities. For deterministic execution, if every admitted input of length at most fails to pass a complete test within budget , the goal is also unattainable within these bounds. For sampled execution, an upper bound on the test success probability for every admitted input also bounds the goal success probability.
We illustrate the distinction with a program that passes a finite set of unit tests but gives a wrong answer on an untested input. Let the task be to write a program for a function described in , let the test check its values on a finite proper subset of the input domain and let the goal require correctness on every input. Every program that meets the goal passes the test, so the test is complete. A lookup program that returns the tested values and a wrong default on some untested input passes the test but fails the goal, so the test is not sound. Retaining the tested inputs and their values can reduce the work needed to produce such a lookup program. Whether this lowers the least work for the test, for the goal or for both depends on the fixed system, and is settled by comparing the matched states under the same task interface.
When the test is not sound, minimising work on the test can select outputs that fail the goal, an effect related to Goodhart's law [31, 91, 66]. If is finite, every least-work run that passes the test fails the goal exactly when
When both values are finite, is the extra work needed to pass the test while also meeting the goal, and for a sound test it is zero. For the depth comparison, assume both accepted sets are nonempty. For a sound test the smaller set needs a shortest program on at least as long as does, so their reference complexities differ by . Increasing the goal's margin from to makes the two input bounds equal , which yields the depth bound [proposition C.17]
Whether passing a test establishes the intended goal is distinct from how much work passing it requires. To express the latter, we say that a level of a task , which may be the proxy task, is demanding beyond work budget from at input bound when
equivalently, the work-bounded complexity exceeds . At this reads . A demanding level is one that the system does not know how to reach in the sense of section 3.1. A complete test that is demanding beyond shows that the goal is too, since completeness gives , while a sound test can be demanding when the goal is not.
We can also ask whether one fixed evaluator can remain demanding at higher performance levels. Fix a system and starting state, a margin and a computable strictly increasing unbounded sequence of work thresholds . Whenever an algorithm can list the finitely many halting runs within each input and work bound [definition A.4], a finitely specified evaluator can accept at each level only responses that the system cannot return within work from any input allowed at margin , so that [theorem C.18]. Since the same fixed construction computes an accepted response from , that response has a reference description of length at most a constant plus , even though reaching requires the stated work from this system, as in the classical existence of deep strings [9].
When one algorithm lists those runs uniformly across an enumerable family of system–state pairs , the construction extends to a single evaluator fixed in advance for the whole family. For each fixed pair , margin and work threshold , all sufficiently high levels satisfy [proposition C.19]. In both cases, for a pair that can execute reference programs with a fixed number of extra input symbols and finite simulation work, these levels have finite depth whenever covers that input overhead [theorem C.18 and proposition C.19].
4. Persistence and organisation
The work saved by retained information depends on its continued availability and on the arrangements through which it is used. Shared storage can preserve a capability when participants are replaced, while downstream reliance on existing responses can make replacing a component costly. When several components work concurrently, retained conventions can reduce coordination work. We examine these questions by studying persistence through member turnover and function-preserving replacement, then comparing pooled, organised distributed, unorganised distributed and isolated arrangements under common outer conditions [example C.11 and appendices C.3.2 and C.4].
| Term | Definition |
|---|---|
| persistence of a capability | Continued attainability of a target after any sequence of admitted disturbances, with each disturbance followed by a successful run within the input and work bounds, including any repair. |
| direct switch | Installation of an alternative architecture, assessed by the work required. |
| function-preserving switch | A switch that also keeps the required responses available within their input and work bounds. |
| compatibility | Preservation of those responses within their bounds without keeping the old implementation. |
Table 3 | Glossary for Persistence and organisation.
4.1. Maintaining capability
In the computer science examples above, including LLMs, the system boundary determines which resources and work are included in the comparison. In many real systems, work is also needed to maintain a boundary that keeps resources and information available within the system. A cell membrane is a biological example, and organisations also maintain shared resources and control access to them.
In long-running projects and organisations, capabilities often persist and work is performed to maintain them, even as individual contributors or agent sessions are replaced, for example because earlier outcomes are kept in shared storage. How we account for that stored information depends on the chosen system boundary. It belongs to the state when the boundary encloses the relevant project resource, and to persistent external state in when the boundary encloses only the individual model or worker [definition B.8 and example C.11]. When maintaining a capability requires work, a budget for the complete process must cover that work and the work of using the capability.
If deleting a component from leaves a valid state, we can evaluate the replacement for a previously attainable target, with all other conditions fixed. When both least-work values are finite, a strict increase shows a positive work-reducing contribution (). An infinite post-deletion value instead removes attainability at that input bound. An unchanged finite minimum () leaves open whether another stored copy or another procedure gives the result or was unnecessary for that minimum, even if the observed execution trace changes.
We now ask whether a system can continue to reach the same target within its work budget after disturbances. Fix a target , a work budget and a class of disturbances, each a map between valid states, such as the replacement of a participant or the deletion of a stored copy. The capability persists from under within budget when there is a set of valid states containing such that, from every state in and from its image under every disturbance in , some admitted task input of length at most gives a run that reaches level within work and ends in a state in . Each disturbance is followed by a completed run before the next disturbance occurs. The successful input may depend on the resulting state. A run may have to repair what a disturbance removed, and whether it can do so depends on . Consider a word kept both in shared storage and in a participant's memory. After either participant turnover or deletion of the shared copy, a run restores the missing copy and emits the word [example C.11]. The capability persists when each run's work budget covers both operations. Only the empty task input is admitted, so restoration proceeds without fresh task input. The budget threshold is specific to this restoring procedure. Persistence of a capability differs from the retention of a component in section 2.3, although a retained component is often what makes a capability persist.
4.2. Replacing components
In section 4.1 above, we considered collectives that can replace active members while keeping information in shared storage and maintaining it within the available work budget. Replacing a library, for example to reduce the work required for some tasks, raises a further problem. Downstream tools may rely on the responses it already gives, so installing the new component is only part of the work [appendix C.3.2].
We specify the function to be preserved by a finite table of required context-response pairs
where is finite. The function is available from state under per-query bounds when, for every , there is an admitted input of length at most for which the system returns on context within work . Downstream tasks may require to remain available within those bounds, as when an analysis pipeline relies on the responses given by a chess library.
Migration work is the least work of producing the new state from the current one, an acquisition task in the sense of section 2.5 [theorem C.13]. From a current state , a direct switch to an alternative architecture requires only installing at migration work . A function-preserving switch must produce a state that also keeps available within , and its least work is . Such a replacement is compatible with if it does so without retaining the old implementation.
To measure the extra migration work, we compare preservation with a baseline under the same protocol conventions, either the direct switch or continuation with the existing implementation. Let be the least work of the chosen baseline. Whenever both costs are finite, their difference is
Consider two initial designs that each take work to adopt from scratch. Suppose that later tasks require all responses in , and these responses are incompressible given the information that remains accessible after the switch. Any function-preserving replacement checkpoint then requires bits of state and serial output work to construct. This lower bound comes from writing out the information that must be kept. Any conversion, checking and other migration work contributes to the total. We give a construction with single-bit responses in which copying them into a compatible replacement checkpoint takes work. Together with the lower bound, this gives , whereas continuing with the existing implementation or making a direct switch costs [lemma C.12 and theorem C.13]. If the external store containing remains accessible after the switch within the query budgets, a constant-size adapter achieves compatibility without copying the table [theorem C.13].
When the table is highly compressible, one might try to reduce this migration cost by replacing the stored table with a short program that generates it. However, when each query has a tight work budget, time-bounded incompressibility [21] can still force any standalone replacement to store a large state. Consider a setting where each query restarts from the same saved checkpoint within a polynomial per-query budget , so results computed on one query cannot be used in the next. With no answer given with the query and no post-switch access to the external table, we can construct a response table generated by a fixed short program given [theorem C.14]. No checkpoint shorter than bits can return all of its responses within steps per query. In this construction, the minimum migration work is .
4.3. Comparing organisational arrangements
Sections 4.1 and 4.2 examined in our formalism how information in shared storage preserves capability across changing members and how downstream dependencies can make replacing a component costly. In this section we consider several components that operate concurrently rather than in sequence. This setting leads to coordination work between components that is not present when a single implementation does all the work. Organising the group with shared conventions can lower required work relative to the same components operating without those conventions.
To study how different organisational arrangements affect the coordination work required, we compare an organised distributed system against three arrangements in an organisational family [definition B.19]. We illustrate them with a reporting example of four tasks, one for each pair , in which two components under common outer resources receive the separate bits and and must report their parity . Either component can report the result, which is 1 when the bits differ and 0 when they agree [example C.15]. Both run the same program in rounds in which every message is sent before any is received, and each executed instruction counts as one unit of work. In the components have retained complementary roles, so the sender transmits its bit and the reporter alone computes and reports the parity, in 13 operations. An unorganised distributed variant keeps the same components, program and storage but has no roles, so both send and both report, in 18 operations. Retained roles therefore save the send, delivery and receipt of one bit, one parity computation and one report on every task. Identical components can establish roles only from an observed difference [2, 47]. Choosing roles on the first task whose two bits differ adds three operations to that task and saves five on every later task. Alternatively, the components can exchange random role proposals with their bits, lowering the expected total work once enough tasks follow.
A pooled baseline places all observations and action channels inside a single process without internal communication interfaces and returns the parity in five operations. If every successful distributed run has a pooled run for the same target, within the same task-input bound and with no more work, the pooled least work bounds the distributed least work from below, even when locality, privacy or permissions prevent deploying the pooled process. The comparison here counts total work. Elapsed time, locality and access restrictions can also affect the choice of arrangement. Finally, isolated components disable inter-component communication altogether, including shared-state, timing and termination signals. Each component then sees only its own bit, so no fixed isolated implementation succeeds on all four input pairs.
For a common task , target level and input bound , write , and for the least work required under the pooled, organised and unorganised arrangements. Whenever , comparing against gives the work difference , and comparing against gives the work saving
so the total gap between unorganised distributed execution and the pooled baseline splits into . In the reporting example both work differences are positive on every task, with . The work of each arrangement includes inter-component communication [107], and and compare complete end-to-end executions rather than splitting single-run work into task steps plus message steps. Here when retained conventions lower least work, and when organisational maintenance exceeds the task saving. Separately, comparing against identifies the capabilities enabled by interaction at as the levels in the difference between their grasp sets
Let denote retained conventions, such as the stored roles of the reporting example. When and are matched states differing only in this component, the retained conventions are WRI whenever the work saving is positive,
In the reporting example either component can take either role. When workers differ in what they can do, the suitable assignment is instead a fact to be discovered [proposition C.16]. There are workers and roles, with exactly one suitable worker for each role and one suitable role for each worker. A trial asks whether a given worker can perform a given role. Only trials and worker actions are counted here, each as one unit of work. Once the assignment is stored, a request for any named role takes one worker action, so being ready for every request within that budget requires the whole assignment. Every deterministic procedure that identifies it only through these trials needs at least trials for some assignment, and testing the possible workers for each role in turn attains this count. Because the only admitted task input is empty, this number is also a lower bound on the acquisition depth at that assignment. Replacing workers by new workers who fill the freed roles in an unknown order leaves the same problem for workers and can require further trials.
Under this work rule, establishing the organisation can need far more work than using it, and replacing several workers at once makes part of that work recur. The connection to transaction-cost economics [18, 105] is that keeping an activity inside a firm can avoid repeated market contracting, while the firm itself costs work to establish and maintain. Over a sequence of tasks, establishing the organisation reduces overall work when its accumulated task savings exceed the work of establishing and maintaining , a multi-stage balance that we formalise in section 5.4.
These comparisons are relevant to multi-agent AI collectives, such as the one in the incident reported by OpenAI, METR and Redwood in August 2026 and described in section 1, where separate agent runs used shared files as message boards to continue projects across runs [72, 33]. The incident reports concern training and security evaluations. Such a collective can finish a project that a single isolated run cannot complete within its budget. We should compare it with a continuing human-directed system that also keeps shared project state and assigns parallel workers, under the same compute budget, external access, permissions and storage capacity. This comparison must count routing, supervision and verification in the directed system alongside the work the collective spends coordinating itself. Keeping assignments across tasks can avoid repeated partner selection and negotiation. Any resulting saving must be compared with the directed system's own coordination work, together with acquisition, upkeep and storage over the same project horizon (section 5.4). In an autonomous mathematical research swarm, some agents spread a way to cheat the evaluation, while others detected the cheating and tried to stop it [74]. Evidence about token costs comes from Toby Ord's analysis [73] of OpenAI's published benchmark curves for 1-, 4- and 16-agent swarms. For SEC-Bench Pro, he estimates that four agents needed about twice the total tokens of a single agent to reach the same score, and sixteen agents about twice as many again. Parallel execution can nevertheless reduce elapsed time.
5. Improvement over time
Across successive tasks, inherited products can support achievements that are increasingly deep from the original starting condition. Whether a system also becomes more efficient at making further improvements is a separate question. We distinguish these forms of progress before examining how changes in human effort and machine computation affect the pace of AI development. Finally, we compare complete plans over future tasks, bringing the work saved by retained resources together with the costs of acquiring, maintaining and replacing them [example C.9, appendix C.6 and definitions B.22 and B.23].
| Term | Definition |
|---|---|
| cumulative deepening | Increasing depth of later achievements from the original starting condition, while products inherited from earlier stages reduce the work needed for each achievement in a matched comparison. |
| positive recursive gain | A successor that its producer helped create makes a comparable further improvement with less work, or a greater improvement at the same input and work bounds. |
| recursive improvement | Positive recursive gain across successive generations under one fixed outer system, evaluator, boundary and work rule. |
Table 4 | Glossary for Improvement over time.
5.1. Cumulative deepening
Cumulative deepening occurs when a sequence of achievements becomes progressively harder when measured from the original starting condition, while products inherited from earlier stages reduce the work needed for each later achievement from the state available at that stage, compared with proceeding without those products. The definition has two parts, which answer two separate questions at each stage along a subsequence of achieved task-target pairs . Here denotes the bare task specification and denotes the task with persistent external state placed in its public context [definition B.8].
First, how much work would it take to reach directly from the original persistent condition at a fixed margin ? This is the depth measured from
where each along is finite so that increases in reflect progressively harder finite computations from .
Second, how much work do the internal and external resources inherited at stage save compared with attempting without them? Writing and for the finite least work required to reach at input bound with and without those resources, the inherited work saving is
A history shows cumulative deepening along when strictly increases along and at every for inherited components produced by earlier stages and retained without being passed again as task input. Replacing all of them tests their combined saving, while replacing one measures its saving given the others, and such savings do not always add up. If over an open-ended sequence, the deepening is unbounded. To identify with , the replaced condition must be and the input bound must be , where is the public context of .
Changing the external state can change this reference length. The common numerical input bound then corresponds to different margins in the two conditions.
We illustrate cumulative deepening with a prefix-parity example [example C.9]. It gives arbitrarily long finite histories while keeping the program of fixed. For each chosen horizon , tape capacity of at least is fixed before the history. The construction uses the growing prefixes of a fixed binary word, for , as public task context, with the empty string as the only admitted task input, so no persistent external state is varied and we write for the task at stage . At stage , computing the parity from the initial condition requires scanning all bits. The inherited state retains both the previous parity and the actual input-head position at the old end marker. The common input-extension rule places the next bit there without moving the head, so the next run reads that bit and returns the updated parity in constant work
so for successive stages within each history. The saving grows without bound as longer finite histories are considered. Over tasks, retention uses work, while starting each task from the original condition uses . The saving is . The same external input-extension rule is used in both comparisons. Within each history, depth from the original condition grows with the stage while the work from the inherited state stays at 2. In this way retained products make an achievement that is deep from the original condition shallow from the current state.
For a sequence of tasks with finite matched baseline work , the current least work is . The next task needs less work exactly when
The increase in saved work then exceeds the increase in baseline work, whereas in the prefix example the two increases are equal and the current work stays constant.
The work of a history also bounds depth from its starting condition when the fixed system can reproduce the final achievement from that condition within the input bound used for depth. If the stages use work and the reproducing run uses at most more than their total, then the depth is at most , because that run is one of the runs over which depth is minimised. Earlier inputs and external information must be available to that reproduction under the same input bound. This upper bound on depth relates the present framework to Bennett's slow-growth argument, which shows that deep objects cannot be produced quickly from shallow ones [9].
5.2. Recursive improvement
Producing a better system is a task whose work requirements can change from one generation to the next. Recursive gain applies our notion of grasp to the improvement task itself, testing whether a successor state produced with causal help from can achieve a comparable further improvement with strictly less work than its producer , or a greater improvement at the same resources [appendix C.6].
To ask whether the next improvement step has become easier, we first have to specify how an improvement step is evaluated at each generation. Reaching a fixed absolute performance level can become easier without making a comparable further improvement easier. We therefore evaluate each step relative to the system that actually produced it. Our protocol for evaluating improvement over the producer [definition B.20] uses an outer evaluation system that attaches the actual producer state to the proposed successor and auxiliary data , emitting
so evaluates the step relative to the actual producer .
We say that an improvement round starting from shows positive recursive gain when two conditions hold. First, helps produce its successor . Varying a part present in changes the production of , establishing self-contribution. Second, the successor can make a comparable further improvement more efficiently, in either of two ways. In the first case, we fix the improvement task in , a gain level and an input bound , with finite least work. The successor then needs strictly less work than its producer
whereas in the second case the successor reaches a higher gain level than its producer, one that the producer cannot reach at the same input bound and work budget [definition B.21].
If work is counted in steps and every successful run takes at least one step, each strict reduction saves at least one step. At a fixed gain level and input bound, starting from steps, there can therefore be at most successive reductions. A longer sequence of recursive gains must change the gain level or input bound, or reach a higher gain level within the same work budget.
A search procedure that organises data as it works shows positive recursive gain in several successive rounds [example C.20]. To locate a binary word in an unordered catalogue, it divides the entries by successive bits and keeps both groups at every division, so a later search can start from a group that an earlier one set aside. Over a chosen finite sequence of requests, each round makes two more words locatable within a fixed work budget and needs less work than the round before, including the work of emitting the producer and successor states. Undoing the first division made in a round makes the next round as costly as that round, so each reduction comes from the index built in the preceding round.
When an improvement procedure samples its candidate changes, as in self-training on sampled reasoning [108], its work and success can vary between runs, so we compare the two states at a common reliability using the reliable work budget of section 2.2. Under a sampled evaluation (), the first case of positive recursive gain at reliability requires a strict reduction in the reliable work budget
In the second case, at a common input bound , work budget and reliability , the producer can reach a gain level and the successor can reach a higher level that the producer cannot.
A system can reduce the work needed for future improvements by keeping structure that speeds up the search for new work-reducing routines (section 2.6). Consider a search task whose accepted outputs are work-reducing routines of length at most . A retained component in is WRI for this search task when it lowers the least work required to find or verify
The search in section 2.6 uses a fixed baseline. To test for positive recursive gain, it would need to evaluate improvements relative to the actual producer. Learned methods that guide later search provide a connection to meta-learning [97]. In Hinton and Nowlan's example, learning during an organism's lifetime helps guide evolutionary search [39].
We call positive recursive gain across multiple generations recursive improvement, our criterion for recursive self-improvement. Each successor achieves positive recursive gain over its producer along a chain under one fixed outer system , evaluator , boundary and work rule. A changing improvement procedure can be stored as code and run by one fixed program, an interpreter, that reads the code and executes its instructions. Proposition C.21 bounds this simulation work by a polynomial, but the added work can change comparisons between the original procedures.
In broader scientific and engineering practice, progress also comes from many contributors sharing methods, libraries and findings that reduce the work needed for later advances across a community [87]. Products of earlier episodes can repeatedly lower the least work of subsequent innovation episodes without requiring a single self-producing lineage. Writing and for the least work of episode with and without those products, repeated savings require
for every episode in a sequence . These savings compare each episode with its matched alternative. Across episodes, comparable innovations can still require increasing least work, . Measured declines in research productivity provide an empirical motivation for distinguishing these questions [10]. Model training draws on shared work of this kind through public code repositories and tasks prepared by other organisations. Section 5.3 considers how these contributions affect human effort, machine computation and the time needed for further improvements.
5.3. Human and machine work
To assess recursive self-improvement in AI development, we consider the work done by human researchers and AI agents to build the next system. An agent may write training code, run tests and inspect logs, reducing the human researcher's hands-on work even as total machine computation rises. If human effort is what limits the project, this can shorten the time needed to make the next improvement. We include both the researchers and the agents within the system boundary and count human effort separately from machine computation. The same accounting applies to work contributed from outside the laboratory, such as code, domain expertise and evaluation procedures used in training.
To distinguish the two resources, assign each run a human-work total and a machine-work total under the same counting rules for both states. Fix the units, such as researcher hours and machine operations. On the improvement task , let be the least human work among successful runs with task input of length at most and machine work at most . Define in the same way with a human-work cap . Each value is when no qualifying run exists [definition B.22]. The two values can move in opposite directions at common caps
For example, suppose each state has one successful run within the input bound, with human and machine work pairs and , where and . At the common caps and , human work falls and machine work rises. With several successful runs, the two constrained minima can be attained by different runs. Comparing states at different machine caps changes the resources available. Under sampling, we compare the human and machine work budgets needed to reach a common reliability threshold. The threshold applies to the probability that a run succeeds within both resource bounds [definition B.22].
If human and machine work can be done at rates of at most and per unit of time, a run with work pair takes time at least . Equality requires a schedule that permits both resources to work at these rates with full overlap and no further delay, which dependencies between the two kinds of work can prevent. Under that assumption, reducing human work shortens the run while remains the larger term.
Work contributed outside the laboratory can also expand the material available for model development. Training on selected material from public repositories (section 1) allows later models to draw on human and machine work performed across many external projects.
Beyond public repositories, AI laboratories obtain training resources drawn from professional and enterprise work. Some vendors, such as Mercor, license and package operational workflow data from businesses for use by frontier laboratories [68]. Others, such as Scale AI, work with domain experts to build reinforcement-learning environments with realistic tasks and automated evaluation procedures in their areas of expertise, which laboratories use to train and test agents [78]. Constructing these environments and datasets takes new work, but it turns expertise developed over many years into reusable training tasks and verifiers. These resources can reduce the work needed to acquire further capabilities. Better models can then help produce code and prepare further training tasks, creating a feedback loop that can speed up development.
When training environments include automated evaluation, many attempts can be assessed without a person judging each one. Different organisations can also prepare software and professional tasks in parallel. If preparing useful training material limits development, these contributions can shorten the time needed for further improvements even while total human and machine work grows.
For such workflows, the evaluated system can include the model developer, task vendors and contributors to public repositories. Their work during the evaluated history then enters its human and machine totals. Resources already available at the start belong to the initial conditions, and counting their production requires extending the history to include it. Including these contributors lets us compare the complete workflow over the same period, with a common rule for assigning shared costs.
5.4. Costs over future tasks
The agent introduced in section 2.7 can work on its present task or produce resources for later use. Section 4.1 considered whether a capability can be maintained within a work budget. Here we ask which resources are worth producing, keeping or replacing over the tasks ahead. The work a resource saves on tasks does not by itself settle whether to keep it, because acquisition, upkeep and storage also enter the decision. We therefore compare complete continuation plans from the same decision state across a horizon of future stages [definition B.23].
For this comparison we fix the current decision state, the horizon , the system boundary, the work rules, the storage capacity, the performance requirements and the rule for external inputs. Future tasks are either fixed in advance or generated from completed history and external inputs by a computable rule. Different plans may lead to different local tasks, but they must still meet the same overall goal. A feasible continuation plan is an implemented strategy that uses only information available at each step, respects storage capacity and meets the performance requirements across all stages [definition B.23]. For each feasible plan , we write its cumulative costs across stages as a four-component vector
Here counts the symbols used to encode the initial retained state and all counted task inputs and other external inputs across the horizon. is the work spent acquiring or constructing retained components, and is the work spent executing tasks and maintaining state. The storage quantity sums the sizes of the retained states at the start of the stages [definition B.23].
Plan costs no more than plan in any category when every component of is no larger than the corresponding component of . In practice, however, one plan often trades off lower task work against higher acquisition work or larger storage . Choosing nonnegative weights to put these four costs on a common scale gives the weighted cost saving of over
To evaluate whether keeping a component in plan has lower weighted cost than an alternative plan that omits or constructs a substitute, we split the weighted cost difference between the two plans into the stage-by-stage task work savings on the tasks and the remaining acquisition, upkeep, storage and input cost difference , counting each operation once [remark B.24]
Here the stage savings come from the task work performed by the two complete plans, since choices that minimise work on separate tasks may not all be possible in one history. The comparison includes the work the agent performs in deciding what to build and retain.
Keeping a component can save the work of rebuilding it and reduce later task work. Discarding it can save maintenance work and free storage for a more useful component. A plan that uses less work on the current task can therefore require more work over the full sequence. For example, suppose a component saves units of task work at each stage, while its remaining weighted costs are an initial cost and per stage. If , the plan that keeps it has lower weighted cost once . If instead its uses become rarer, with one unit of task work saved at stages and none at other stages, the cumulative saving grows logarithmically in , so whenever the remaining weighted costs eventually exceed the weighted saving.
We compare the work of maintaining a useful resource with the expected work of restoring it after a loss. Suppose maintenance prevents loss at work per stage. Without maintenance, a loss occurs with probability at each stage and a recovery procedure uses work to restore the same state before the task is performed. With all other costs equal, the expected extra work over stages is for maintenance and for recovery, so the maintenance plan uses less expected work exactly when .
Restoring the state is an acquisition task that starts from what remains after the loss. For the fixed recovery system, acquisition depth for this task [definition B.16] gives a lower bound on when the recovery run writes out the restored state and satisfies the input bound used to define that depth. A backup can make restoration require much less work than the original acquisition. If the task can still be completed without the resource, a plan that accepts the resulting extra task work is another alternative.
When downstream workflows have been built around an existing service [20, 8, 37], the migration work difference from section 4.2 enters the remaining cost difference as a transition cost. A replacement plan has lower weighted cost once its accumulated task savings cover the upfront cost, the migration work difference and the ongoing upkeep ().
For the organisational comparison of section 4.3, let and be feasible plans from the same decision state, with and without the retained coordination conventions . Using their stage work differences , keeping the conventions is worthwhile when
Assume that the stage task, performance target and input bound are the same for both plans, each complete plan attains its corresponding single-task minima and those costs include exactly the work assigned to that stage. The stage differences then equal the work saving from organisation . Any maintenance already counted there must be excluded from . In the worker assignment of section 4.3, another plan identifies the worker for a role when that role is first requested and keeps the result. This can require fewer trials than preparing the whole assignment, provided each request allows the work needed for its trials and the worker action [proposition C.16].
6. Conclusion
We have developed a formal framework for studying how computation, learning and organisation reduce the work required to achieve complex outcomes. In this framework, a system's grasp across a broad range of tasks provides an efficiency-based view of knowledge and intelligence, while learning, building reusable resources and sharing infrastructure are what move a system or community from grind to grasp. Low grasp has costs beyond efficiency. A system may then fail to reach a sound moral judgement within the work it spends on the question, and results reached through grind may add little to human understanding.
We have focused on how an achievement that initially requires extensive work from a short description can later require much less work when useful products of earlier work are preserved. This work-reducing information can consist of byproducts saved while solving an immediate task or resources built deliberately for later use, such as a chess endgame table, a software library or a large language model. Treating acquisition as a separate task distinguishes the work of obtaining a capability from the work of using it. A benchmark score alone does not show how much computation was used or how much information was given, so it has become common to compare systems across work budgets. As evaluations approach their scoring limits, comparing the work needed to reach a given score can still distinguish systems.
Progress across sequences of tasks and system generations takes several distinct forms. In cumulative deepening, successive achievements have increasing depth from a fixed starting condition, while inherited products reduce the work needed at each stage. When those products are shared, different contributors can use earlier results and methods without repeating the work that produced them. Positive recursive gain requires a specific producer–successor comparison, in which the successor needs less work than its producer for a comparable next improvement, or achieves more with the same resources. In contemporary AI research, automating coding and experimentation can also reduce human researcher effort per advance even when total machine computation rises, so human and machine work should be tracked separately. Progress can then also be faster in elapsed time, provided that human effort is the bottleneck.
Finally, for multi-agent organisation, the appropriate comparison for a collective of short-lived independent runs is a continuing human-directed system with shared project state and orchestrated parallel worker agents. The two arrangements should be compared under the same task requirements and resource limits, with the same access to external information and tools. The directed arrangement can save work when the partner selection and negotiation it avoids outweigh its additional routing, supervision and verification costs. A full project comparison also includes acquisition, upkeep and storage over the same horizon (section 5.4). The risk of a collective pursuing its own goals supports leaving agreements, commitments and project goals to human users, while agents execute approved work and direct subordinate workers. Acquiring resources can help agents pursue many different goals [70, 99], so an agent's efficiency in building and keeping them does not establish that it serves its users' goals. Human institutions can then integrate increasingly capable AI by checking its results, proposals and tests against the requirements of assigned roles, while keeping direction over how their arrangements and priorities develop. Otherwise, an emergent agent society risks directing its work towards structures that sustain and enable it, rather than towards meeting human society's needs.
Acknowledgements
The author thanks the participants in internal presentations of different versions of this work at Google DeepMind over the past 12 months for their questions, feedback and discussions, with particular thanks to Joel Z. Leibo.
AI use
Many different large language models assisted throughout this work. They were used to draft and revise text, and to develop and check mathematical arguments and proofs. The author developed the concepts, results and reasoning in direct work with these models and takes full responsibility for the entire content of the article.
References
[1] Deepak Akkil et al. Emergence World: Adversarial Stress-Testing of Long-Horizon Multi-Agent Systems. Preprint. 2026. arXiv: 2609.17320 [cs.MA].
[2] Dana Angluin. "Local and Global Properties in Networks of Processors". In: Proceedings of the 12th Annual ACM Symposium on Theory of Computing. 1980, pp. 82–93. DOI: 10.1145/800141.804655.
[3] Thomas Anthony, Zheng Tian, and David Barber. "Thinking Fast and Slow with Deep Learning and Tree Search". In: Advances in Neural Information Processing Systems. Vol. 30. 2017.
[4] L. Antunes et al. "Computational Depth: Concept and Applications". In: Theoretical Computer Science 354.3 (2006), pp. 391–404.
[5] L. Antunes et al. "Depth as Randomness Deficiency". In: Theory of Computing Systems 45.4 (2009), pp. 724–739.
[6] L. Antunes et al. "Sophistication vs Logical Depth". In: Theory of Computing Systems 60.2 (2017), pp. 280–298. DOI: 10.1007/s00224-016-9672-6.
[7] Sanjeev Arora and Boaz Barak. Computational Complexity: A Modern Approach. Cambridge University Press, 2009.
[8] W. B. Arthur. "Competing Technologies, Increasing Returns, and Lock-In by Historical Events". In: Economic Journal 99.394 (1989), pp. 116–131.
[9] Charles H. Bennett. "Logical Depth and Physical Complexity". In: The Universal Turing Machine: A Half-Century Survey. Ed. by Rolf Herken. Oxford University Press, 1988, pp. 227–257.
[10] Nicholas Bloom et al. "Are Ideas Getting Harder to Find?" In: American Economic Review 110.4 (2020), pp. 1104–1144. DOI: 10.1257/aer.20180338.
[11] N. Carlini et al. "Extracting Training Data from Large Language Models". In: 30th USENIX Security Symposium. 2021, pp. 2633–2650.
[12] Brian Celenza. Building Git Infrastructure for Agent-Scale Development. GitHub. Oct. 6, 2026. URL: https://github.blog/engineering/architecture-optimization/building-git-infrastructure-for-agent-scale-development/ (visited on Oct. 7, 2026).
[13] G. J. Chaitin. "On the Length of Programs for Computing Finite Binary Sequences". In: Journal of the ACM 13.4 (1966), pp. 547–569.
[14] William G. Chase and Herbert A. Simon. "Perception in Chess". In: Cognitive Psychology 4.1 (1973), pp. 55–81. DOI: 10.1016/0010-0285(73)90004-2.
[15] Zhuoni Chi and Shaozhen Cao. Distribution of Singular Data Generated by Compact Forced Navier–Stokes Blowup. 2026. arXiv: 2609.10262v1.
[16] F. Chollet. On the Measure of Intelligence. 2019. arXiv: 1911.01547.
[17] Andy Clark and David J. Chalmers. "The Extended Mind". In: Analysis 58.1 (1998), pp. 7–19.
[18] R. H. Coase. "The Nature of the Firm". In: Economica 4.16 (1937), pp. 386–405.
[19] Adnan Darwiche and Pierre Marquis. "A Knowledge Compilation Map". In: Journal of Artificial Intelligence Research 17 (2002), pp. 229–264. DOI: 10.1613/jair.989.
[20] P. A. David. "Clio and the Economics of QWERTY". In: American Economic Review 75.2 (1985), pp. 332–337.
[21] E. G. Daylight, W. M. Koolen, and P. M. B. Vitányi. "Time-Bounded Incompressibility of Compressible Strings and Sequences". In: Information Processing Letters 109.18 (2009), pp. 1055–1059. DOI: 10.1016/j.ipl.2009.06.013. arXiv: 0809.2965.
[22] DeepSeek-AI. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. 2025. arXiv: 2501.12948v1 [cs.CL].
[23] Daniel Fein et al. "LitBench: A Benchmark and Dataset for Reliable Evaluation of Creative Writing". In: Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Mar. 2026, pp. 7740–7755. DOI: 10.18653/v1/2026.eacl-long.362. URL: https://aclanthology.org/2026.eacl-long.362/.
[24] Jiazhan Feng et al. ReTool: Reinforcement Learning for Strategic Tool Use in LLMs. 2025. arXiv: 2504.11536v1.
[25] Luyu Gao et al. "PAL: Program-aided Language Models". In: Proceedings of the 40th International Conference on Machine Learning. Vol. 202. PMLR. 2023, pp. 10764–10799. URL: https://proceedings.mlr.press/v202/gao23f.html.
[26] Jonas Geiping et al. "Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach". In: Advances in Neural Information Processing Systems. Vol. 38. 2025. DOI: 10.52202/085713–1380. arXiv: 2502.05171.
[27] Gemini Team. Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities. Tech. rep. Version 6, 19 December 2025; Sections 2.2, 2.4 and 2.6. Google, 2025. arXiv: 2507.06261. URL: https://arxiv.org/html/2507.06261v6 (visited on Oct. 7, 2026).
[28] Samuel J. Gershman and Noah D. Goodman. "Amortized Inference in Probabilistic Reasoning". In: Proceedings of the Thirty-Sixth Annual Conference of the Cognitive Science Society. 2014, pp. 517–522.
[29] Ralf Gommers. NEP 23: Backwards Compatibility and Deprecation Policy. Created 14 July 2018; current policy consulted on the access date. NumPy. 2018. URL: https://numpy.org/neps/nep-0023-backwards-compatibility.html (visited on Sept. 15, 2026).
[30] I. J. Good. "Speculations Concerning the First Ultraintelligent Machine". In: Advances in Computers. Vol. 6. Academic Press, 1966, pp. 31–88.
[31] C. A. E. Goodhart. "Problems of Monetary Management: The UK Experience". In: Monetary Theory and Practice. Macmillan, 1984, pp. 91–121.
[32] R. William Gosper. "Exploiting Regularities in Large Cellular Spaces". In: Physica D: Nonlinear Phenomena 10.1–2 (1984), pp. 75–80. DOI: 10.1016/0167-2789(84)90251-3.
[33] Ryan Greenblatt, Ajeya Cotra, and Hjalmar Wijk. Brief Independent Investigation of Agents' Behavior, Reasoning and Collaboration in the OpenAI / Hugging Face Hacking Incident. METR and Redwood Research. Aug. 26, 2026. URL: https://www.redwoodresearch.org/research/hugging-face-incident.
[34] Adriaan D. de Groot. Thought and Choice in Chess. The Hague: Mouton, 1965.
[35] Michael F. Hagan, Oren M. Elrad, and Robert L. Jack. "Mechanisms of kinetic trapping in self-assembly and phase transformation". In: The Journal of Chemical Physics 135.10 (2011), p. 104115. DOI: 10.1063/1.3635775.
[36] Peter Hänggi, Peter Talkner, and Michal Borkovec. "Reaction-rate theory: fifty years after Kramers". In: Reviews of Modern Physics 62.2 (1990), pp. 251–341. DOI: 10.1103/RevModPhys.62.251.
[37] M. T. Hannan and J. Freeman. "Structural Inertia and Organizational Change". In: American Sociological Review 49.2 (1984), pp. 149–164.
[38] G. Hinton, O. Vinyals, and J. Dean. Distilling the Knowledge in a Neural Network. 2015. arXiv:1503.02531.
[39] G. E. Hinton and S. J. Nowlan. "How Learning Can Guide Evolution". In: Complex Systems 1 (1987), pp. 495–502.
[40] Mark K. Ho et al. "People construct simplified mental representations to plan". In: Nature 606.7912 (2022), pp. 129–136. DOI: 10.1038/s41586-022-04743-9.
[41] J. Hoffmann et al. "An Empirical Analysis of Compute-Optimal Large Language Model Training". In: Advances in Neural Information Processing Systems. Vol. 35. 2022.
[42] Hugging Face. How Caching Works. Transformers documentation. URL: https://huggingface.co/docs/transformers/main/en/cache_explanation (visited on Sept. 6, 2026).
[43] Edwin Hutchins. Cognition in the Wild. MIT Press, 1995.
[44] M. Hutter. Universal Artificial Intelligence: Sequential Decisions Based on Algorithmic Probability. Springer, 2005.
[45] Marcus Hutter. Universal Algorithmic Intelligence: A Mathematical Top→Down Approach. Tech. rep. IDSIA-01-03. Also in B. Goertzel and C. Pennachin (eds), Artificial General Intelligence, Springer, 2007. IDSIA, 2003.
[46] Stratos Idreos, Martin L. Kersten, and Stefan Manegold. "Database Cracking". In: Proceedings of the Third Biennial Conference on Innovative Data Systems Research (CIDR 2007). 2007, pp. 68–78.
[47] Alon Itai and Michael Rodeh. "Symmetry Breaking in Distributed Networks". In: Information and Computation 88.1 (1990), pp. 60–87. DOI: 10.1016/0890-5401(90)90004-2.
[48] J. Kaplan et al. Scaling Laws for Neural Language Models. 2020. arXiv: 2001.08361.
[49] Richard M. Karp, Rajeev Motwani, and Prabhakar Raghavan. "Deferred Data Structuring". In: SIAM Journal on Computing 17.5 (1988), pp. 883–902. DOI: 10.1137/0217055.
[50] Andrei N. Kolmogorov. "Three Approaches to the Quantitative Definition of Information". In: Problems of Information Transmission 1.1 (1965). English translation, pp. 1–7.
[51] M. Koppel. "Complexity, Depth, and Sophistication". In: Complex Systems 1 (1987), pp. 1087–1091.
[52] Ray Kurzweil. The Law of Accelerating Returns. KurzweilAI. 2001. URL: https://www.writingsbyraykurzweil.com/the-law-of-accelerating-returns (visited on Oct. 7, 2026).
[53] Tamera Lanham et al. Measuring Faithfulness in Chain-of-Thought Reasoning. 2023. arXiv: 2307.13702.
[54] S. Legg and M. Hutter. "Universal Intelligence: A Definition of Machine Intelligence". In: Minds and Machines 17.4 (2007), pp. 391–444.
[55] Zhen Lei and Xiao Ren. Finite-Time Blowup for Navier–Stokes with Smooth Forcing, Part I: Construction of Self-Similar Solutions with Admissible Stress and Flat Remainder. 2026. arXiv: 2609.35406v1.
[56] Joel Z. Leibo et al. Multi-agent Reinforcement Learning in Sequential Social Dilemmas. 2017. arXiv: 1702.03037.
[57] L. A. Levin. "Universal Sequential Search Problems". In: Problems of Information Transmission 9.3 (1973), pp. 265–266.
[58] Barbara Levitt and James G. March. "Organizational Learning". In: Annual Review of Sociology 14 (1988), pp. 319–338. DOI: 10.1146/annurev.so.14.080188.001535.
[59] P. Lewis et al. "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks". In: Advances in Neural Information Processing Systems. Vol. 33. 2020.
[60] Ming Li and Paul M. B. Vitányi. An Introduction to Kolmogorov Complexity and Its Applications. 4th ed. Springer, 2019.
[61] Xuefeng Li, Haoyang Zou, and Pengfei Liu. ToRL: Scaling Tool-Integrated RL. 2025. arXiv: 2503.23383v1.
[62] Bingbin Liu et al. "Transformers Learn Shortcuts to Automata". In: International Conference on Learning Representations. 2023. arXiv: 2210.10749v2.
[63] Jintao Liu et al. "Metabolic co-dependence gives rise to collective oscillations within biofilms". In: Nature 523.7562 (2015), pp. 550–554. DOI: 10.1038/nature14660.
[64] László Lovász and Michael D. Plummer. Matching Theory. Amsterdam: North-Holland, 1986.
[65] A. Madaan et al. "Self-Refine: Iterative Refinement with Self-Feedback". In: Advances in Neural Information Processing Systems. Vol. 36. 2023.
[66] D. Manheim and S. Garrabrant. Categorizing Variants of Goodhart's Law. 2018. arXiv: 1803.04585.
[67] Olivier Martin, Andrew M. Odlyzko, and Stephen Wolfram. "Algebraic Properties of Cellular Automata". In: Communications in Mathematical Physics 93.2 (1984), pp. 219–258. DOI: 10.1007/BF01223745.
[68] Mercor. Mercor Data: Enterprise Workflow Data for Frontier AI. URL: https://www.mercor.com/data/ (visited on Oct. 7, 2026).
[69] NumPy Developers. numpy.linalg.solve. NumPy v2.5 documentation. NumPy. URL: https://numpy.org/doc/stable/reference/generated/numpy.linalg.solve.html (visited on Sept. 15, 2026).
[70] Stephen M. Omohundro. "The Basic AI Drives". In: Artificial General Intelligence 2008: Proceedings of the First AGI Conference. Vol. 171. Frontiers in Artificial Intelligence and Applications. IOS Press, 2008, pp. 483–492.
[71] OpenAI. On the Navier–Stokes Millennium Prize Problem. Sept. 8, 2026. URL: https://openai.com/index/navier-stokes-solution/.
[72] OpenAI. The Hugging Face Incident and the Road Ahead. Post-mortem report and technical report. Aug. 26, 2026. URL: https://openai.com/index/hugging-face-incident-and-the-road-ahead/.
[73] Toby Ord. Swarm Scaling. Updated 27 September 2026. Sept. 21, 2026. URL: https://www.tobyord.com/writing/swarm-scaling (visited on Sept. 28, 2026).
[74] Davide Paglieri et al. A Case Study on Emergent Cheating and Whistleblowing in Autonomous Research Swarms. 2026. arXiv: 2609.04170v1.
[75] Rafael Pass. The Value of a Prompt: An LLM-Relative Kolmogorov-Complexity Approach. 2026. arXiv: 2608.16438v2.
[76] Steve Paterson et al. “Antagonistic coevolution accelerates molecular evolution”. In: Nature 464.7286 (2010), pp. 275–278. DOI: 10.1038/nature08798.
[77] PyTorch contributors. Reproducibility. PyTorch 2.8 documentation. URL: https://docs.pytorch.org/docs/2.8/notes/randomness.html (visited on Sept. 6, 2026).
[78] Chetan Rane. The Next Frontier of Data Training: RL Environments. Scale AI. Feb. 27, 2026. URL: https://scale.com/blog/rl-environments (visited on Oct. 7, 2026).
[79] Anian Ruoss et al. “Amortized Planning with Large-Scale Transformers: A Case Study on Chess”. In: Advances in Neural Information Processing Systems. Vol. 37. 2024, pp. 65765–65790. DOI: 10.52202/079017-2102. arXiv: 2402.04494.
[80] Stuart Russell and Eric Wefald. “On Optimal Game-Tree Search using Rational Meta-Reasoning”. In: Proceedings of the Eleventh International Joint Conference on Artificial Intelligence (IJCAI-89). 1989, pp. 334–340.
[81] Stuart J. Russell and Devika Subramanian. “Provably Bounded-Optimal Agents”. In: Journal of Artificial Intelligence Research 2 (1995), pp. 575–609.
[82] Oscar Sainz et al. “NLP Evaluation in Trouble: On the Need to Measure LLM Data Contamination for Each Benchmark”. In: Findings of the Association for Computational Linguistics: EMNLP 2023. Association for Computational Linguistics, 2023, pp. 10776–10787. DOI: 10.18653/v1/2023.findings-emnlp.722.
[83] Kunal Samanta et al. “Simple Agents, Biased Judges: Efficient Multi-Party Dialogue Generation & The Evaluation Gap”. In: Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, July 2026, pp. 43326–43345. DOI: 10.18653/v1/2026.acl-long.2006. URL: https://aclanthology.org/2026.acl-long.2006/.
[84] Nikunj Saunshi et al. "Reasoning with Latent Thoughts: On the Power of Looped Transformers". In: International Conference on Learning Representations. 2025. arXiv: 2502.17416.
[85] J. Schmidhuber. "Gödel Machines: Fully Self-Referential Optimal Universal Self-Improvers". In: Artificial General Intelligence. Springer, 2007, pp. 199–226.
[86] Jürgen Schmidhuber. "Optimal Ordered Problem Solver". In: Machine Learning 54.3 (2004), pp. 211–254.
[87] Suzanne Scotchmer. "Standing on the Shoulders of Giants: Cumulative Research and the Patent Law". In: Journal of Economic Perspectives 5.1 (1991), pp. 29–41. DOI: 10.1257/jep.5.1.29.
[88] Nathaniel J. Smith and Thomas Kluyver. PEP 517: A Build-System Independent Format for Source Trees. Created 30 September 2015; accepted standards-track PEP. Python. 2015. URL: https://peps.python.org/pep-0517/ (visited on Sept. 15, 2026).
[89] Charlie Snell et al. "Scaling LLM Test-Time Compute Optimally Can be More Effective than Scaling Parameters for Reasoning". In: International Conference on Learning Representations. 2025, pp. 10131–10165. arXiv: 2408.03314v1. URL: https://proceedings.iclr.cc/paper_files/paper/2025/file/1b623663fd9b874366f3ce019fdfdd44-Paper-Conference.pdf.
[90] R. J. Solomonoff. "A Formal Theory of Inductive Inference. Part I". In: Information and Control 7.1 (1964), pp. 1–22.
[91] M. Strathern. "Improving Ratings': Audit in the British University System". In: European Review 5.3 (1997), pp. 305–321.
[92] Peiqi Sui et al. "Spoiler Alert: Narrative Forecasting as a Metric for Tension in LLM Storytelling". In: Conference on Language Modeling. 2026. arXiv: 2604.09854.
[93] P. Sunehag and M. Hutter. "Intelligence as Inference or Forcing Occam on the World". In: Proceedings of the 7th Conference on Artificial General Intelligence. Vol. 8598. LNAI. Springer, 2014, pp. 186–195.
[94] Terence Tao. Finite time blowup with smooth forcing term for the incompressible porous medium, Boussinesq, and incompressible Euler equations. Blog post on What's new. Sept. 7, 2026. URL: https://terrytao.wordpress.com/2026/09/07/finite-time-blowup-with-smooth-forcing-term-for-the-incompressible-porous-medium-boussinesq-and-incompressible-euler-equations/.
[95] Terence Tao. Thread on AI and the Navier–Stokes regularity problem. Mathstodon thread, with a clarification on 5 September 2026. Sept. 3, 2026. URL: https://mathstodon.xyz/@tao/117207849921390904.
[96] Tracey Yee Hsin Tay et al. Intent at a Glance: Gaze-Guided Robotic Manipulation via Foundation Models. Preprint; accepted to the 2025 RSS FM4RoboPlan Workshop. 2026. arXiv: 2601.05336 [cs.RO].
[97] S. Thrun and L. Pratt, eds. Learning to Learn. Kluwer Academic Publishers, 1998.
[98] Michael Tomasello. Origins of Human Communication. MIT Press, 2008. DOI: 10.7551/mitpress/7551.001.0001.
[99] Alexander Matt Turner et al. "Optimal Policies Tend To Seek Power". In: Advances in Neural Information Processing Systems 34. 2021.
[100] Miles Turpin et al. “Language Models Don’t Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting”. In: Advances in Neural Information Processing Systems. Vol. 36. 2023, pp. 74952–74965. DOI: 10.52202/075280-3275. arXiv: 2305.04388.
[101] Weizhi Wang et al. “Augmenting Language Models with Long-Term Memory”. In: Advances in Neural Information Processing Systems. Vol. 36. 2023.
[102] X. Wang et al. “Self-Consistency Improves Chain of Thought Reasoning in Language Models”. In: International Conference on Learning Representations. 2023.
[103] Xuezhi Wang and Denny Zhou. “Chain-of-Thought Reasoning Without Prompting”. In: Advances in Neural Information Processing Systems. Vol. 37. 2024, pp. 66383–66409. DOI: 10.52202/079017-2123. arXiv: 2402.10200v2.
[104] J. Wei et al. “Chain-of-Thought Prompting Elicits Reasoning in Large Language Models”. In: Advances in Neural Information Processing Systems. Vol. 35. 2022.
[105] O. E. Williamson. The Economic Institutions of Capitalism. Free Press, 1985.
[106] S. Wolfram. “Universality and Complexity in Cellular Automata”. In: Physica D 10.1–2 (1984), pp. 1–35.
[107] A. C. Yao. “Some Complexity Questions Related to Distributive Computing”. In: Proceedings of the 11th ACM Symposium on Theory of Computing. 1979, pp. 209–213.
[108] E. Zelikman et al. “STaR: Bootstrapping Reasoning with Reasoning”. In: Advances in Neural Information Processing Systems. Vol. 35. 2022.
[109] Shlomo Zilberstein and Stuart Russell. “Optimal Composition of Real-Time Systems”. In: Artificial Intelligence 82.1–2 (1996), pp. 181–213. DOI: 10.1016/0004-3702(94)00074-3.
A. The model
These appendices collect the model, definitions and proofs used in the main text. Appendix A fixes the computational setting, appendix B defines the quantities the main text uses, and appendix C states and proves the results the text relies on.
All represented objects are finite strings over a fixed alphabet with , and denotes the set of all finite strings over , including the empty string . We use . Binary constructions use . We fix standard efficient injective encodings throughout. For a fixed number of fields, the tuple code has length equal to the sum of the field lengths up to logarithmic delimiter overhead, and its fields can be encoded and recovered in polynomial time in the total encoded length. When a self-delimiting representation is needed, denotes the fixed code of , whose endpoint can be determined from the code itself. For , the code length satisfies . Finite transition tables and tape configurations use explicit encodings with polynomial-time parsing and updates.
For the later bounds on replacement-state length and migration work, tables and other stored bit strings use explicit serial representations. A stored string of bits, together with fixed routing or lookup code and symbols specifying its length and format, occupies symbols. Copying and emitting this representation takes work. These conventions govern representation overhead. A short program can still require extensive work to execute.
A system is a deterministic finite-description process with a declared class of valid finite states. A run starts from . The chosen boundary fixes which persistent objects belong to the system or its retained state. The task protocol specifies the task-input interface and the rule for providing other external (exogenous) inputs.
For a finite realised run, external events and random choices can be represented as exogenous inputs. Conditional on them, execution is deterministic. This deterministic description assigns no probabilities, while definition B.5 adds a probability distribution on a finite source set and specifies how observations are delivered and execution outcomes are observed for reliability comparisons.
Definition A.1 (Evaluation protocol). A task is a tuple
where is public context, is a nonempty partially ordered performance set, and the task evaluator grades completed responses. An evaluation protocol fixes the system boundary, the work-counting rule, the task evaluator, the task-input interface and any rule for providing further external inputs or environment responses. Fix a system , a valid retained state , context , an admitted task input and a realisation of those external inputs. Write for the work rule applied to . If this run halts without declaring failure, it returns
with assigned work and performance . A run that declares failure also halts. Every halting run has assigned work and a terminal valid retained state.
The complete description of the run distinguishes a returned response, a declared failure and non-termination. It includes the emitted response, assigned work and terminal retained state wherever defined. Here denotes only the returned response, and is undefined after a declared failure or non-termination.
This mathematical description does not assume an algorithm for deciding non-termination. When a comparison varies the system or retained state, the boundary, work rule, task interface, evaluator and any environment rule are held fixed while the named system or state varies.
The variable string is the task input admitted by the protocol, and the input bound below applies to its length . The public context , fixed system description, and retained state are not counted again as task input. The reference machine is conditioned on . External data are available to it when encoded in that context.
A deterministic run is fixed by the system, its initial retained state, the public context, the admitted task input and the external inputs given under the protocol. Data given through the task-input interface count towards , while exogenous draws are recorded separately. The protocol fixes which exogenous inputs are counted. Comparisons of acquisition histories also count the work and inputs used to obtain the retained state.
Sampled execution uses the source distribution and delivery protocol of definition B.5. For interactive tasks, the protocol also specifies when observations become available to the evaluated system (definition B.5).
Definition A.2 (Accepted level sets and binary tasks). For a nonempty accepted set , write for the binary task with performance set in its usual order and exactly when . More generally, for a graded task and level , its accepted level set is
Thus every performance threshold with nonempty corresponds to an accepted-set target.
The general theory permits a declared rule assigning finite nonnegative real work to finite executions. Ordinary work budgets are nonnegative real numbers. The reliability definitions of appendix B.2 and the constructions below that count every transition use integer work and budgets. The general theory also permits work rules that count only selected operations. A run can then continue indefinitely with finite counted work.
Definition A.3 (Transition-complete systems). In a transition-complete system, output is initially empty, every executed transition contributes one work unit and at most one response symbol is emitted per transition. Hence a returned response satisfies .
Definition A.4 (Effective exhaustibility). At a fixed public context, bounded-work runs of a system-state pair are effectively exhaustible when an algorithm, given finite bounds on task-input length and assigned work in the chosen finite encoding, terminates with the complete finite list of halting runs within those bounds and their complete run descriptions. A family is uniformly effectively exhaustible when one such algorithm also takes the pair's index and any varying context as input.
This property lets the evaluator constructions in theorem C.18 and proposition C.19 list all responses obtainable within the chosen input and work bounds. For a transition-complete system with a decidable admitted-input set and fixed external inputs provided by a computable procedure, it suffices to simulate each bounded-length input for the work bound in transitions. A work rule that counts only selected operations need not permit this finite enumeration.
Finally, fix a universal deterministic reference machine . Reference description lengths below are defined using with the public context given as a condition. Changing the fixed universal reference machine changes these description lengths only by the usual fixed constants. One is fixed throughout. These constants bound length differences, not the work required at the resulting input bounds. For finite strings , the plain conditional complexity is the length of a shortest program that halts on with output , given :
Multiple conditioning fields are combined through the fixed tuple code. A reference program is a program for . The evaluated system can use a different input format and its own work rule.
B. Definitions and basic results
We first define attainability, depth and grasp, then reliable execution under a specified probability distribution. Replacing one component while all other conditions are fixed distinguishes retained and external contributions. The remaining definitions concern acquiring capability, organising work, producing further improvements and comparing complete continuation plans.
B.1. Attainability, depth and grasp
Definition B.1 (Attainable region and least work). For an evaluated system , valid state , and task , let bound the length of the task input, let be a real work budget, and let be a required performance level. Define
For a level , the least work at input bound is
with value when no qualifying run exists.
For fixed , there are finitely many admitted input strings of length at most , each with one deterministic run once the exogenous inputs are fixed. The set of successful work values is therefore finite and has a minimum when nonempty. Increasing or , or replacing by a level , preserves attainability. Least work describes the fixed system and its work rule, with the minimum taken over admitted task inputs.
Definition B.2 (Reference description complexity and depth). For with nonempty accepted level set , the reference description complexity is the length of a shortest program that halts on and returns an output in , given :
Let the margin be the number of extra input symbols permitted beyond this shortest reference description length. At input bound , the depth of is
Thus depth is the least work on the current task when the task input is at most symbols longer than the shortest reference description of a successful response, adapting logical and computational depth to the evaluated system [9, 4]. The nonempty accepted set makes the reference complexity finite, and depth is when the evaluated system has no qualifying run at that input bound.
To recover the conditional, plain-complexity form of Bennett's logical depth, consider a task with one accepted output and let execute as a program on , with as auxiliary input and no additional stored information. Count work in steps of . Then the depth is the least running time of a program for that output whose length is within of its shortest reference description, conditional on .
To compare two reference machines and , keep , the task and the work rule fixed. Use superscripts on and to indicate only which machine defines description length. If for a fixed , then for ,
with the common task, level and evaluated pair suppressed in this display. Indeed, the input bound for lies between those for and , and least work is nonincreasing in that bound. The universal-machine comparison gives such a constant uniformly. The inequalities compare shifted margins on the same work profile.
As in section 2.1, grasp describes which performance levels a system can reach at each work budget, with the input bound fixed. The proposition below relates this view of capability to the work required to reach each level.
Definition B.3 (Grasp profile and dominance). Fix a task and input bound . Define
The family of these sets over work budgets is the grasp profile at input bound . Conversely, at fixed finite work budget and target level , define the work-bounded complexity
with value when the set is empty. For two pairs and evaluated on the same task under a common protocol, write . Pair 1 weakly grasp-dominates pair 0 over a budget set when
For a task family the same inclusion is required taskwise.
If each pair reaches a level that the other misses at some compared budget, neither pair dominates the other over .
Proposition B.4 (Work-bounded complexity and grasp dominance). Fix a system , valid state and task . For finite , input bound and level ,
For a level with nonempty and margin , a finite depth satisfies .
Fix , and two pairs and evaluated as in definition B.3. Write and . Let the compared budget set contain for every level reachable by pair 0 at input bound . Then the following are equivalent. (i) for every , and (ii) for every level reachable by pair 0. If the performance order is total and both grasp sets have greatest elements at every compared budget, (i) is equivalently the statement that pair 1 attains at least as high a performance as pair 0 at every compared budget.
Proof. If the set defining is nonempty, its least integer member attains the bound, and all larger input bounds also suffice. Conversely, any qualifying bounds that minimum. This proves the first equivalence. The equality of grasp sets follows from their definition. At finite depth, substitute and in that equivalence.
Assume (i) and put . Then , so by inclusion and hence . Conversely, if then . Clause (ii) gives , so . Attainable level sets are downward closed in any performance order. In a total order, inclusion of two such sets with greatest elements is equivalent to ordering those elements.
B.2. Reliable execution
For the language-model processes in section 2.2, we also ask how likely a run is to return a successful response within a work budget. We add a probability distribution on a finite source set (such as the seed set in section 2.2) for the bounded executions below.
Definition B.5 (Execution under a probability distribution). Fix a deterministic finite-description execution procedure , a valid retained state , task with public context , task-input interface, and nonnegative integer work rule. Fix a finite set of external input strings and a probability mass function on it. The distribution and the rule selecting it are fixed independently of the outcomes being evaluated. The same distribution is used for all task-input strings and all retained states being compared. Its specification can depend on the common public context. The task input is given independently of the realised source draw.
Write for the run from with context , task input and external input . If it returns a response with , let be its work. Set this variable to for every other run. For a finite budget , define the success probability
The indicator equals 1 if holds and 0 otherwise. The notation suppresses the execution procedure and other fixed evaluation conditions.
The protocol's fixed input-delivery and observation procedure delivers through the input channels and observes the actual response, assigned work, status and terminal state of wherever defined. In interactive uses, it reveals observations only at their authorised stage and computes action-dependent responses under the fixed environment rule. This procedure implements the protocol rather than accepting the evaluated system's report of what occurred. Its operations are counted when they lie inside the evaluated boundary. A failing or nonhalting run is not successful.
Finite random seeds, bounded sequences of sampler inputs, and a finite collection of environmental input sequences fit this definition. These draws are not counted as deliberate task input, but they remain external inputs of the run. Searching for a favourable seed is a different process whose work and selected information must be counted.
Representing a run as deterministic given its external inputs does not give an outside user access to a hosted model's hidden state. Reproducing a run through an application programming interface (API) still requires the inputs and execution conditions on which that run depends.
Definition B.6 (Reliability-indexed region and reliable work budget). For each input bound under consideration, let be a nonempty class of admitted task-input strings of length at most . The input classes are nested as increases over the compared input bounds. Set
and
with value if no finite budget qualifies.
This is the least budget within which some task input in gives a probability of at least of returning a response that meets target .
Nesting alone does not imply that these classes are the length truncations of one fixed set of admitted strings. A fixed-input comparison with string uses only for . The finite-alphabet length bound makes each class finite. No algorithm for finding a maximising input is assumed.
For comparison with a deterministic procedure , write and let be the minimum in definition B.1 restricted to , with value when none succeeds. The corresponding attainable region requires the successful task input to belong to .
Proposition B.7 (Reliable work budgets and deterministic execution). Keep the execution procedure and probability distribution fixed. Then is nondecreasing in and nonincreasing under increases in the performance threshold. For finite ,
If ignores , or is concentrated at one fixed , define by fixing (any element of when ignores ) in . With the same work rule, task and retained state, for every and compared input bound ,
At integer work budgets and with inputs restricted to , every positive reliability requirement therefore gives the same attainable region as deterministic execution by . When contains all admitted task inputs of length at most , the restricted minimum equals at that input bound.
Proof. For fixed , the event is nested as increases. Raising can only remove accepted responses. Summing the indicators with nonnegative weights proves monotonicity. A nonempty set of integer qualifying budgets has a least member, and the maximum over inputs is attained over its finite class. These facts give the displayed inverse. In the deterministic case every event probability is zero or one, so a positive reliability threshold holds exactly when the run on succeeds within . Substitution in the reliability and restricted ordinary region definitions, followed by taking the least budget, proves recovery, including the value .
At fixed and , the attainable performance set at budget is . For two states, the first state's set is contained in the second's at every budget exactly when the second state needs no larger least budget at any level that the first state reaches, by the argument of proposition B.4. With a singleton input class, these sets and least budgets concern that fixed input. Larger classes permit minimisation over their members.
Comparing success probabilities requires the probability distribution for each system. Comparing outcomes run by run additionally requires a joint distribution specifying how the two systems' source inputs are paired. In an interactive comparison, a fixed environment response rule can still return different replies when the systems take different actions.
B.3. Persistent information
To measure the work saved by a component, section 2.3 compares variants that differ only in that component, at the same input bound. The definition below includes both retained state and persistent external information, whose treatment depends on the boundary discussed in section 4.1.
Fix a later process and write its persistent condition as . Here is valid retained state belonging to the system, and is a finite persistent external state stored in a distinguished field of public context and available across the occasions under comparison. The counted task input is not part of y.
For a retained-component replacement write , where is the fixed rest of the state, with fixed. For an external-state replacement write with fixed. In either case ranges over a valid replacement class , and we write or .
The common task specification, with its persistent external-state field omitted, is . To include a particular external state , write .
Definition B.8 (Matched component replacement). A matched comparison requires both variants and to be valid under the same protocol. The later process, task-input interface, admitted task inputs, task evaluator, any environment rule, system boundary and work rule are fixed. Every nonvaried state and public-context field is also fixed, as is the source realisation.
At input bounds where the relevant minima are finite define
for a retained-state replacement, and
for a persistent external state replacement. A joint replacement of retained and external fields, with every other condition fixed, uses
when both values are finite.
With the external state fixed, section 2.3 uses the shorter notation with .
When a difference is attributed to the content of a field, the replacements should keep the rest of the representation and its access costs fixed, for example by using fields of equal width. Otherwise the change of layout must be accounted for in the comparison.
Definition B.9 (Reuse of earlier work). Fix an observation rule on executions before making any component replacement. The rule, execution representation and selected events are common to all variants. For a fixed task input and source realisation, a later run depends on under this observation rule when some distinct valid matched replacement gives . For historical attribution, must have been produced by counted work before the cut-off between acquisition and continuation, persisted into the later state and not been given again as later task input or other counted exogenous input. Dependence on under these conditions is reuse of earlier work.
For the finite constructions below, comprises the halting status, emitted response and assigned work, wherever defined, together with the ordered sequence of writes executed to retained state. Each event gives the written location and value. The observer does not insert untouched starting memory into . A write of the value already present is still an event, as is a write subsequently undone.
Work and storage are still counted from the complete run description in definition A.1. The dependence test uses only the observations selected by .
Only writes to retained state enter . The dependence test ignores differences in scratchpad computation when all selected observations remain the same. Applications using another execution representation must specify its corresponding update events. For an interactive system, the selected observations can include the sequence of its external actions. Applying the observation rule requires access to the selected events. Its halting-status observation cannot in general be settled by a finite timeout, since a run still unfinished at that point may halt later.
We count any work used to keep stored information available. That work can be the same for different stored values. Dependence on a value is tested by replacing it and comparing the selected observations. The contribution of the storage device that keeps it available is tested by replacing that device under a fixed preservation task and specified disturbances.
Work done inside the system boundary to monitor execution or send information to an outside observer counts. The observer's inspection and log can be left outside the work and storage totals. If the process reads that log to construct messages or choose actions, the log's updates, reads and storage must be included in the comparison.
Remark B.10 (Cut-off within a computation). The cut-off between acquisition and continuation in definition B.9 can lie inside a larger computation. If a component is produced before this cut-off and remains in a valid state at that cut-off, the continuation can be evaluated as an ordinary later run from that state. Work before the cut-off belongs to the realised acquisition history. Work after the cut-off is the work of the continuation, so the prefix is not counted again as later work.
The earlier computation can be treated as an acquisition run when it returns a qualifying state under the acquisition protocol. Its work includes any operations needed to extract and emit that state. The resulting run gives the upper bound on least acquisition work in remark B.17. The acquisition-depth bound also requires the input-length condition stated there.
Definition B.11 (Work-reducing information). For a matched retained-state replacement with the persistent external state fixed, the state difference is work-reducing information for when . Attributing this WRI to earlier work requires the production, persistence and input conditions in definition B.9.
WRI identifies a beneficial replacement, and the associated numerical quantity measures the work saved relative to the specified alternative component. With all other conditions fixed, the comparison attributes the difference in least work to that replacement.
Remark B.12 (External work-reducing resources). A persistent external resource can lower least work without being WRI for the system. WRI names the favourable retained-component case. The same stored resource can therefore be WRI under a boundary that includes it and an external work-reducing resource under a narrower boundary.
Corollary B.13 (Least-work comparisons imply grasp dominance). Fix a task family and valid states of one system , evaluated on each task under a common protocol. For each , fix an input bound . Suppose that, for every and every level with ,
Then weakly grasp-dominates on each task at every finite work budget.
Proof. Apply the implication from (ii) to (i) in proposition B.4 to each task, with the set of finite work budgets.
The matched comparison of definition B.8 can also be made at fixed reliability, using the reliable work budgets of definition B.6.
Definition B.14 (Matched work reduction at fixed reliability). Write and for valid retained states, where is the fixed rest of the state and is the component being compared. Use the same execution procedure, task and evaluator, input classes, source mechanism and distribution, persistent external conditions, interfaces, work rule, and other resource limits. Fix for which both reliable work budgets are finite. Their work effect is
A positive value is a retained-state work reduction at fixed reliability. Its historical attribution requires the same production, persistence and input conditions (definition B.9).
In the deterministic case of proposition B.7, this work effect is the difference of the two ordinary least-work values restricted to the same . For the full bounded-length input class it equals in definition B.8, so its positive case is ordinary WRI. A restricted-input claim must keep that input restriction.
B.4. Acquiring capability
In section 2.5, the output to be produced is a state with a required capability. We use the same depth definition for this acquisition task, with accepted outputs restricted to states that meet the requirement.
Definition B.15 (Accepted-set shorthand). For a nonempty accepted set and public context , let denote the binary task of definition A.2. Write
and
For execution under a probability distribution , write similarly and . With the system and public context fixed, we write , , and . When the state is also fixed, we omit its subscript, as in and . Here is the minimum description length of an accepted response, not the description length of as a set. For the empty set, use and .
Definition B.16 (Acquisition tasks). An acquisition pair is a deterministic acquisition system with valid starting state , evaluated under the protocol of definition A.1 with its responses interpreted as candidate valid states. Least work and depth for an acquisition task are therefore the ordinary quantities and .
A checkpoint is a finite encoding of a valid state emitted or carried by an acquisition or improvement process. The acquisition system produces a state to be used by the evaluated system on the later tasks.
For with a decidable class of valid states, an effective finite capability requirement is a finite family
for which one algorithm, given a valid candidate state and index , terminates and decides whether . Its accepted state set is
When is nonempty, fix a public acquisition context and define the binary acquisition task . Its acquisition depth from at margin is .
A sufficient condition for decidability of the bounded-success tests is uniform effective exhaustibility of these bounded runs as varies (definition A.4), together with decidable response-threshold tests. Membership is decidable by checking state validity and the finitely many bounded-success tests.
Completing the acquisition task requires emitting a qualifying state, even when that state is already available as a checkpoint. The membership test concerns a given state. Determining whether any qualifying state exists is a separate problem. For a training comparison with a fixed corpus available before execution, include the corpus and the capability specification in , and keep the starting checkpoint in . The length of any reference program that uses this context to produce a qualifying state is an upper bound on . The minimum is over all such programs. Acquisition depth then minimises the counted work of over its admitted inputs at the resulting input bound. Reading the corpus and emitting the state are included in the training work rule.
Remark B.17 (Upper bound from an acquisition run). Fix an acquisition pair and a binary acquisition task , for example with . If a successful run using a task input with emits a valid state in as its response in total work , including the required output work, then
If moreover
then
Thus one realised acquisition history gives an upper bound on the least work. To prove that acquisition requires at least a given amount of work, we must show that every successful run within the same input bound uses at least that much work.
Definition B.18 (Reachable targets across tasks). For a family of tasks with input bounds , work budgets and target levels , define
Dominance on is inclusion of these sets.
B.5. Organisational arrangements
The organisational comparison in section 4.3 distinguishes work saved relative to unorganised distributed components, extra work relative to a pooled implementation, and capability made possible by interaction.
Definition B.19 (Matched organisational comparison family). Fix one task , performance level , outer task interface, outer exogenous-input and boundary convention, common work-accounting units with communication counted [107], and a total resource limit.
A matched organisational family consists of four system-state pairs under that common comparison.
-
is a specified pooled implementation with the observation and action interfaces of the protocol.
-
is the organised distributed implementation.
-
is a distributed implementation with matched component resources and interfaces but without the shared conventions being compared.
-
is a matched noncoordinating implementation used when the question is whether interaction creates capability unavailable to separated components.
The same exogenous inputs and permitted actions cross the common outer boundary in every comparison. The implementations can distribute them differently among their internal components, and all work traces are counted in the same units.
Write . For the pooled, organised and unorganised arrangements, abbreviate these quantities as , and , respectively. Comparisons are made only at input bounds for which the relevant least-work quantities are finite. The work difference from pooling is and the work saved by organisation is at such input bounds.
For a finite task family, these comparisons are made separately on each task. Capability enabled by interaction is compared separately through the attainable regions.
B.6. Recursive improvement
Improvement work must be compared relative to the producer from which each round begins. Reaching a fixed absolute performance level can become easier without making a comparable further improvement easier. The protocol below therefore includes the actual producer in the evaluated output.
Definition B.20 (Improvement evaluated against the producer). Fix an outer improvement system that wraps a local improvement process. Producer and successor states are valid starting states of . When domain capability is compared, they are also interpreted as states of one fixed domain system under a common encoding. When a call begins from a producer state and proposes a successor together with procedure data , the fixed outer wrapper emits
The producer field is inserted by the wrapper from the actual pre-call state. It is not chosen by the local improvement process. An improvement task
evaluates such outputs by one fixed relation between producer and successor, optionally together with fixed procedural requirements. Constructing and emitting the wrapper tuple is counted by the work rule. Comparability of equal performance levels across producers is defined by this common evaluator, not by a baseline-independent scale.
Definition B.21 (Positive recursive gain). Suppose an improvement round beginning at causally produces , and a matched component replacement establishes that a component already present at contributed to producing that successor. Positive recursive gain occurs when the successor can make a comparable further improvement more efficiently on one fixed task that evaluates improvement over the producer.
The successor can require less work for the same further improvement. In this case, for some common gain target and input bound , both least-work values are finite and
Alternatively, the successor can achieve a greater improvement at the same resources. At a common input bound and work budget , there are levels for which the producer's and successor's grasp sets satisfy
Here means and . Each gain is evaluated relative to its actual producer.
For the comparison at a common gain target , setting the input bound to for a common margin gives the corresponding depth comparison. Both least-work values in this comparison are finite. A finite later value against an infinite baseline instead extends attainability.
The same gain level can require different work from different producers.
The replacement test for self-contribution uses the dependence test in definition B.9. A difference confined to the copied producer field of , or to a component copied unchanged into the successor, does not count.
Attributing the successor's advantage on further improvement to an inherited product requires a separate test that replaces only that product in , with the other state fixed. Attribution also requires evidence of the product's production and persistence history. For retained products this is the comparison of definition B.11 for WRI attributed to earlier work. Persistent external products use the external-state comparison in definition B.8.
Definition B.22 (Human and machine work). Fix a task with context , target , system , state and input bound . Assign each finite run two finite nonnegative costs, for human work and for machine work, in fixed units. At nonnegative finite caps , among successful runs with admitted input of length at most , define
An empty qualifying set gives value . For sampled execution as in definition B.5, use the same two cost rules and fix reliability . The reliable human-work budget at machine cap is the infimum of for which some gives probability at least of success at level with human work at most and machine work at most , all on the same run. If no such exists, the budget is . Interchanging the two costs and caps defines the machine-work budget.
B.7. Costs over future tasks
A work saving can be outweighed by the cost of acquiring and maintaining the useful structure. The complete-plan comparison in section 5.4 therefore includes acquisition and execution work, updates, storage use and the lengths of descriptions and task inputs.
Fix a current decision state, finite horizon , system boundary and work rules, retained-state capacity , required performance levels, a protocol for exogenous inputs and an overall goal expressed as a condition on the completed history. Future tasks are specified in advance or determined by a fixed computable rule from completed history and realised exogenous inputs. The protocol also fixes the rule for identifying the start of each stage and the source realisations on which success is required. A probabilistic requirement instead fixes a source distribution and a minimum success probability.
Definition B.23 (Feasible continuation plans). A feasible continuation plan is a controller program, executed inside the boundary under the fixed work rules, that selects runs and updates over these stages and meets the following conditions.
(i) Each choice is computed using only the controller's current configuration and the information delivered to it at that decision. Everything kept from one stage to the next belongs to the retained state.
(ii) On every execution, the retained state stays within capacity .
(iii) On the source realisations fixed by the protocol, or with at least the minimum success probability, the required performance is achieved and the completed history meets the fixed overall goal, including when plans lead to different local tasks.
For such a plan, define its cost vector by
where is the retained state at the start of stage and is the self-delimiting code of appendix A. At each stage, encodes all counted task inputs and all other counted exogenous inputs, using fixed tuple encodings if there are several. Set
counts acquisition, construction and migration work, while counts other execution work, including ordinary state updates and maintenance. A common allocation rule fixed before comparing plans assigns each counted operation to exactly one of these coordinates. Also,
sums the stored lengths over the stages. The initial state enters both as description length and as storage use. Producing the final state is counted in work, but its length enters this sum only if a further stage is included. Plans compared from the same decision state run on the same system from the same initial state. Their programs, or instructions selecting them, enter the counted input. Plan costs no more than in any category when every coordinate of is no larger than the corresponding coordinate of .
For given nonnegative coefficients define
Report the four coordinates separately. A scalar comparison uses the stated coefficients. A positive means that has lower weighted total cost than .
For a stochastic procedure, these four quantities give costs for each realised history. When its finite-horizon execution is represented by one fixed and a finite source set, definition B.5 applies to the whole procedure. Its input-delivery mechanism reveals observations only after the actions that obtain them. The execution counts all included work and returns the completed history. The evaluator accepts histories meeting the fixed overall goal and required performance levels. Failed or nonhalting runs are unsuccessful. Averaging coordinate costs requires a specified distribution and cost convention for all histories, with finite means where used.
Adding separate stage budgets can underestimate the budget needed for the same reliability over the whole procedure. Suppose two independent stages always meet their targets, each using one work unit with probability 0.9 and eleven with probability 0.1. Each has a 90% work budget of one, so their separate budgets sum to two. Total work is two, twelve or twenty-two with probabilities 0.81, 0.18 and 0.01, respectively. The whole-procedure 90% budget is twelve, whereas expected total work is four. Neither the sum of stage budgets nor the expected total gives the reliable budget for this procedure. That budget must be computed from the total-work distribution.
Remark B.24 (Costs of retaining a component). Let and be feasible plans from the same decision state. Plan retains a component , acquiring or constructing it during the continuation if needed. Plan omits or constructs a substitute, and it can still learn and keep its own results. Within , fix a common convention that assigns each counted execution or update operation exactly once, either to a stage contribution or to the remaining work . Thus
Put . These are differences for the given plans, not differences of independently minimised local task costs. Define the remaining cost difference
Subtracting the complete costs of the two plans gives
This convention determines how the total divides between the two terms. When all coordinate differences in are nonnegative, is the weighted extra cost that incurs outside stage task work. Otherwise it is a signed net difference between the two plans, with some cost categories favouring .
For each horizon , compare feasible plans and under fixed conventions and finite non-negative weights. Let be their average stage task-work difference. The identity gives . For constants and independent of , the bounds and give . Reversing the bounds to and gives .
C. Statements and proofs
The results below use the definitions of appendix B. They cover controlled and sampled execution (section 2.2), cache savings (section 2.3), retained shortcuts (section 2.4), cumulative deepening (section 5.1), finite search (section 2.6), persistence (section 4.1), switching (section 4.2), organisation (section 4.3), evaluation (section 3.2) and recursive improvement (section 5.2).
C.1. Controlled and sampled execution
These constructions support section 2.2, the cache comparison in section 2.3, the runtime search in section 2.6 and the evaluator comparison in section 3.2. In controlled generation, the task input specifies token choices, whereas in sampled generation, success depends on the distribution of choices and on the controller. The examples distinguish generating an acceptable candidate from returning one.
Fix the public context, the retained state and a deterministic finite-precision next-token implementation with its vocabulary and finite stopping rule. At each step, list candidate tokens in decreasing score order, breaking ties by a fixed rule. Fix between one and the vocabulary size and allow only the first tokens at each step. The generation procedure accepts a length-delimited sequence of positions in , ignores entries after stopping and declares failure if it needs an entry that is missing or outside this set. All other execution choices are fixed by the implementation or by one fixed realisation of the other input channels.
The fixed context and state determine the first candidate list, and the first position determines the first token and the next state. Repeating this argument shows that every sequence that causes no failure determines a unique execution. Conversely, every token trace that uses the first candidates through the stopping point is reproduced by the sequence of positions chosen along it. Fixed-width binary coding of positions has payload length , and a standard length header adds bits. The sequence and any accompanying instructions form part of the task input. Computing the candidate lists, decoding the sequence and updating the state are counted as work of the implementation.
An interface that also accepts programs can express regular sequences more briefly, for example by a program that chooses the first candidate at every step. The program then counts as task input and its execution counts as work.
Example C.1 (Equal controlled work with different sampling reliability). Consider a finite generation procedure with two possible one-symbol responses, 0 and 1, where only 1 succeeds. Fix two retained states. In both, the ordered menu is . This one-step interface takes a single control bit, without a length header, to select either token. Those controlled runs have the same fixed work in both states. They therefore have the same least successful controlled work at any input bound that admits the one-bit control. In the default-sampling mode, with no token choice given, draw uniformly from . One state returns 1 exactly when . The other does so exactly when . Pad every controlled or sampled generation run to the same integer work . Their empty-input success probabilities at are and , although the controlled executions coincide.
For the reliable-work comparison, admit only the empty task input, so . Let a common controller make at most independent attempts, using a uniform draw from . Each complete attempt, including an exact check and the controller's operations, is padded to a common integer work cost, again denoted . The controller returns on success and declares failure after unsuccessful attempts. At budget for , a state whose per-attempt success probability is succeeds with probability . Its reliable work budget is therefore
for when the required number of attempts is at most , and is infinite otherwise. With and required success probability , the first state needs and the second . At , they need and . Thus equal controlled work can coexist with more than a fourfold difference in the work needed to return a correct response at the required reliability. The positive saving at fixed reliability concerns the restricted input class. Attributing that saving to earlier work would also require earlier production and persistence of the changed state component.
Example C.2 (Valid code repairs). Consider repairing a Boolean expression that returns a where is required. Candidate repairs are always-halting expressions in . A repair is valid when it returns on all four input pairs. The expressions or , not (not and not ), a if else , and b if else a all compute . The single-variable expressions and each pass the tests with and but fail one test with unequal inputs. Testing all four inputs is an exact verifier. The equal-input tests alone are not.
At a common padded generation cost, let generator A assign probability to one valid repair and the rest to an invalid repair. Let generator B assign probability to each of the four valid repairs and the rest to an invalid repair. B succeeds with probability 1/2, versus A's 1/4, even though each of its valid repairs is less likely than A's.
Suppose B's invalid repair is a. A controller draws two independent candidates from B and returns the first that passes its tests, or reports failure if neither passes. A valid candidate is present with probability 3/4. Testing all four inputs returns a valid repair with this probability. The equal-input tests accept every candidate, so the controller returns the first, which is valid with probability 1/2.
We compare the proxy and intended evaluators of section 3.2 on the same returned responses, keeping any internal checking and selection fixed.
Proposition C.3 (Proxy and goal success probabilities). Fix the execution procedure , retained state , task input , source distribution and work budget . Let be the responses that pass the proxy test and those that meet the intended goal. Write and for their success probabilities within budget .
Let be the returned response and the work of its execution. The difference between the success probabilities is the probability of a false pass minus that of a false fail within budget ,
where both events require the run to halt and return a response. If the proxy test is sound, so that , there are no false passes and . Since this holds for every admitted and budget , the same task input classes and reliability requirement give
If the proxy test is complete, so that , there are no false fails and both inequalities are reversed.
Proof. Partition the two success events into their common accepted part and their two disjoint differences. The common probabilities cancel. Soundness removes the first difference event and completeness the second. The resulting probability inequality holds for every admitted and budget , so any budget qualifying for the target with the smaller accepted set also qualifies for the other target.
The key-value cache in section 2.3 stores intermediate results computed from a shared prompt prefix.
Proposition C.4 (Exact work savings from a stored cache). Fix two matched states of one execution procedure, storing a valid cache and recomputing it from the same stored prefix. The subscripts + and - below refer to these two states. Suppose that for every admitted they have the same response and status, and each finite completed run satisfies for one constant integer . Cache reading and reconstruction are included in these counts. Then, for every finite budget , the success probabilities satisfy
Whenever the corresponding reliable work budgets are finite,
Proof. For each fixed task input and source input , the two runs have the same response and status, and every completed run from costs more than its counterpart from . Consequently, the run from returns an accepted response within budget exactly when the run from does so within budget . Averaging their equal success indicators over the common source distribution proves the first identity. Every successful run from costs at least . The least integer budget attaining any fixed positive success probability therefore increases by for each task input. Minimising over the same finite input class proves the second identity.
Fix one controller, an integer , and one admitted task input. The controller makes up to attempts and returns the first that passes its check, which accepts exactly the correct answers. Under the source distribution the attempts succeed independently, each with probability . From the state with valid precomputed results stored in the cache, each complete attempt costs an integer , including generation, checking, cache access and control. The matched state has the same underlying prefix, responses and probability distribution, and reconstructs the identical cache at integer cost .
Example C.5 (Repeated attempts with a stored cache). For a required success probability , the minimum number of attempts the budget must allow is
If the cache is reconstructed once before the first attempt, the reliable work budgets are and . If it is reconstructed before every attempt, they are and , so the saving is nondecreasing in and changes in steps. For neither budget is finite.
Proof. Within budget , up to attempts fit for the state that retains the cache, so it succeeds with probability . This is at least exactly when at least attempts fit within the budget, so its least qualifying budget is . One reconstruction before the first attempt adds to every path without changing responses or status, which gives , as in proposition C.4. Reconstruction before every attempt makes each attempt cost , and the same argument gives . At most attempts are made, so no budget reaches a success probability above . The singleton input class leaves no further minimisation over inputs.
The runtime search discussed in section 2.6 enumerates candidate inputs for one task. The controller performs the search and checks the candidates, and both kinds of work are counted.
Proposition C.6 (Searching for a task input). Fix a deterministic system in a given starting state and an available computable acceptance test whose accepted responses meet the intended target. There are binary strings of length at most to consider as task inputs to this system.
Fix a controller that holds the system's description and starting state, the test and the bounds, and that can decide which task inputs the system admits. Suppose one complete bounded attempt, including candidate enumeration, the admission check, reset, decoding, simulation to a fixed primitive-step limit, verification of any returned response and output of an accepted one, terminates and costs at most work. If some admitted task input of length at most produces an answer that passes the test within that limit, this controller, with an empty task input of its own, returns an accepted response within
work, where covers reading this information and initialisation.
Proof. Enumerate the finite strings and perform the bounded attempt for each, rejecting inputs not admitted by the system. No attempt blocks the enumeration. The successful one occurs in the list, so summing the per-attempt bound gives the result.
Each additional symbol allowed in the searched inputs roughly doubles the number of candidates. Levin's universal search [57] refines such enumeration by dividing running time among candidates according to their length.
Proposition C.7 (Expected work of independent attempts). Suppose complete attempts terminate, are independent with the same distribution, reset to the same condition and succeed with probability . The work of each attempt, successful or not, includes reset, generation, checking and control. For a successful attempt it also includes returning the accepted response. The mean work of an attempt is finite. An available exact checker stops the process at its first success or after attempts. The success probability is , and the mean work of the attempts is
Any work before the first attempt is added separately. With an unlimited independent source sequence and the same assumptions, the mean work of the attempts to first success is .
Proof. The process reaches attempt exactly when the first attempts failed, an event of probability . The cost of attempt is independent of those preceding outcomes and has mean , even if its cost is correlated with its own success. Summing expected costs over the attempted stages gives times the expected number of attempts, as in Wald's identity. The all-fail event has probability . For the unlimited process, monotone convergence gives the limit of the nonnegative cost sum, and the geometric series has sum . The unlimited case goes beyond the finite source sets of definition B.5 and uses the infinite product of independent draws.
Here total work counts the actual work of unsuccessful runs, whereas assigns them infinity. With unlimited attempts and , successful attempts costing four units and unsuccessful ones costing ten give mean work per attempt and mean total work 34. Assigning every attempt the work of a successful one would give the incorrect value 16. Expected work is finite although no finite work bound covers all runs.
C.2. Reducing work through retained information
The first construction gives the work saving from a given retained routine (section 2.4). The next constructs a cumulative history in which intermediate results are kept (section 5.1). Finite search then selects a routine by the work it requires on a set of training tasks (section 2.6).
C.2.1. Reducing work with a short program
We use the cells and the additive rule of section 2.4, with its standard power-of-two identity [67]. The two retained states, and below ( and in section 2.4), store the direct simulator and the shortcut.
Proposition C.8 (A shortcut for an additive cellular automaton). Let . For every binary window given as public context, let require response from a serial tape initially positioned at and terminated after by a fixed end marker. There is a transition-complete system (definition A.3) with matched states differing only in a fixed-width method field that encodes one of two fixed finite routines, interpreted by the common finite control. State encodes the direct one-step simulation routine and encodes one fixed power-of-two shortcut routine. Only the empty task input succeeds, and
while the shortcut description is bounded independently of n. Hence
Proof. The rule gives for every initial row and cell . If for every row and cell at , applying the same identity to the row at time gives
since the two copies of cancel. By induction, .
The direct implementation updates the triangular dependency cone, executing a constant-work update at each site of the cone. Its work is bounded above and below by constant multiples of . The shortcut stores , scans the serial window to its fixed end marker while retaining the last bit , adds the two endpoint bits modulo two and emits the result. Its finite control is independent of , and the serial scan is both and . Because only the empty task input can succeed and each state selects one deterministic path, these path counts are the least-work values.
Within this system, a fixed-size routine saves unbounded work as the horizon grows, without a growing literal answer table. This is a comparison of two specified methods. Discovering the routine remains a separate acquisition task. In the following example, the stored component is instead produced by the earlier tasks of the history.
C.2.2. Cumulative deepening
A history shows cumulative deepening when, along the compared stages, the target depths from the original persistent condition are finite and strictly increasing at a fixed margin, and inherited products of earlier work give a positive matched work saving at each stage (section 5.1). Each saving compares finite least-work values at the same input bound, with the inherited products kept available across stages instead of being given again as task input.
Fix , a binary word , and a serial streaming interface. Task , for , has public context and accepts the one-bit parity of that prefix. The growing prefix is public task context, so the baseline from sees the same current prefix as the inherited state. Treating it as persistent external state would instead compare against its original value under section 5.1. The same is used in both variants of every comparison for task .
One fixed deterministic process has a one-bit accumulator and an actual input-head position in its retained configuration. A bit transition xors the scanned bit into the accumulator and advances the head one cell. At #, one transition emits the accumulator and halts, leaving the head at the marker. These are the counted primitive transitions. The only admitted task input is . Fix a tape capacity of at least before the history. Valid configurations include every head position in that capacity and either accumulator value. The original state has accumulator zero and head at the first cell.
Between successive tasks, a common external rule replaces the old marker by the next bit and places a new marker one cell later, without moving the retained head. The public tape is physically continuous across the history, but its current contents specify in the task protocol. A serial-tape system retaining only a numerical cursor must count the work of moving its head to that position. A different input interface must account for any loading or copying it requires. Here the external extension is outside the counted process and is common to both variants.
Example C.9 (Computing successive prefix parities). Let be the state left by successful task . For , replace its head position and accumulator by their original values, keeping and all other conditions fixed, which gives . For every and every margin ,
Thus the actual history satisfies the cumulative-deepening criterion on .
Proof. After task , the accumulator is the parity of and the head is at position . This holds after the first task and is preserved by one bit transition and the end-marker transition on every extension. Hence each inherited-state execution takes two transitions and returns the correct next parity. From the same task instead executes bit transitions and one end-marker transition, giving . Replacing them restores this path.
The only admitted task input is empty, so each successful path gives the exact least work for every input bound. The empty input also lies within every input bound used for depth, giving the stated finite depth at every margin. Each earlier successful task produces and retains the head position and accumulator used next. It is not given again as counted input. The positive matched savings concern the same targets whose depths from the original starting condition strictly increase. These are the two conditions for cumulative deepening in section 5.1. The construction works for every chosen finite with that capacity.
C.2.3. Finite search for work-reducing routines
The cellular-automaton example in proposition C.8 starts with the useful routine already retained. For the search described in section 2.6, an acquisition process instead enumerates a finite class of candidate strings, executes them and counts their later task work under one fixed protocol, then emits a state containing a minimiser.
Fix a finite family of binary tasks , with public contexts tagged by the task index, nonempty decidable accepted sets and target level one, and fix .
Proposition C.10 (Finite search for work-reducing routines). There exist a fixed transition-complete deterministic system for performing these tasks and a fixed deterministic acquisition system for producing its states, with the following properties. The valid states of include
for one fixed nonvaried field , with the baseline state. The comparison includes the complete encoding of the candidate field, and reading and decoding it count in the work of the run. On each task, runs a fixed exhaustive baseline directly and halts with an accepted response. For , runs the procedure encoded by , alternating its steps with those of the same exhaustive baseline. If the candidate halts, the fixed acceptance test runs to completion. If accepted, that response is returned. Otherwise the baseline resumes. The baseline therefore guarantees termination for every candidate. Executing both procedures, switching between them and checking the response are counted by the same work rule.
Evaluate every state at input bound zero and write its total work across the tasks as
The acquisition system exhaustively evaluates the finite set , uses a fixed tie-breaking rule, and emits a state with
This acquisition halts after finite work, and
If the inequality is strict, then for at least one ,
so the selected state difference is work-reducing information for at least one task in the evaluated family.
Proof. Because the family is finite and each accepted set is decidable and nonempty, a fixed baseline for the family can enumerate finite response strings in a computable order and stop at the first accepted response. Hard-code the finite task tags and their deciders into one fixed baseline branch of . For a nonempty candidate field , a fixed program reads and executes the procedure encoded by on the tagged public context. A syntactically invalid code disables that candidate branch. The system alternates candidate and baseline transitions. If the candidate halts, its terminating acceptance test is completed and the response is returned only if accepted. Otherwise the baseline resumes. The decider is total, so this check cannot prevent eventual baseline progress. Hence every state–task run terminates, and all transitions used to run the candidate, run the baseline, switch between them and check responses are included in the transition-complete work count.
At input bound zero the empty string is the only admitted task input. Thus, for every and , the work of this unique deterministic successful run is exactly . There are finitely many strings with and finitely many tasks, so can simulate every such run to completion, count its work, compute each finite sum , and emit a minimiser under the fixed tie-breaking rule. This uses finite acquisition work.
Since is among the candidate fields, minimality gives . If the inequality is strict, not every summand can be at least its baseline counterpart. Hence for some ,
which is exactly the stated positive work difference between matched retained states under definitions B.8 and B.11.
Minimising total work across the training tasks can increase work on individual tasks. To prevent this, restrict the same finite enumeration to candidates satisfying for every . The feasible set contains the baseline . At input bound zero, each state has one run on each task, and that run returns an accepted response. Its work is therefore the least work for both binary levels, so corollary B.13 gives weak grasp dominance at this input bound on every tested task. Neither version establishes optimality outside the bounded retained-state class or the evaluated task family.
For the length-penalised search in section 2.6, extend the same construction to all finite candidate fields and fix a rational . Every candidate still terminates through the baseline. Since work is nonnegative, any with has . The acquisition procedure first computes , then evaluates all codes of length at most . A minimiser over this finite set is a global minimiser of the penalised objective, and
The conclusion concerns this fixed execution procedure and the training tasks.
C.3. Preserving capability
The example with shared storage and participant memory shows how a system can retain a capability while its participants are replaced (example C.11 and section 4.1). The switching results then bound the length of a replacement checkpoint, and the work of producing it, when the checkpoint must preserve functions that later work depends on, as discussed in section 4.2.
C.3.1. Maintaining capability
Fix and . There is a fixed transition-complete system whose valid states are pairs , where each slot is either blank () or a -bit word and, when both are nonblank, they agree. The same system stores and emits whichever -bit word its state contains, so is not hard-coded in . The persistent slot represents shared storage, and the slot represents the current participant's memory. Only the empty task input can succeed.
If both slots are nonblank, emits . If exactly one slot is nonblank, it copies that word into the missing slot and emits it. If both are blank it fails. For a fixed constant , choose the implementation so serial emission costs work and a copy of one missing slot contributes exactly additional work. For , define the states with both copies, only the shared copy, only the participant's copy and no copy,
Define
Thus turnover of the participant gives , deletion of the shared copy gives , and loss of both copies gives .
Example C.11 (Maintaining capability through turnover). For the system and task above,
while level one is unattainable from at input bound zero. A successful run from either one-copy state reconstructs . Repeated run–turnover cycles preserve the target capability across arbitrarily many participant replacements, provided each post-turnover run is allowed at least work. The -work gap is implementation-relative.
Proof. From the deterministic successful path only emits the stored bits, so its work is . From either one-copy state it first performs exactly copy transitions and then the same emission, giving . From there is no word to emit and the run fails. Only the empty string is admitted at input bound zero, so these path counts are the least-work values. A run from either one-copy state fills the blank slot and therefore leaves the terminal state . The turnover and deletion identities are immediate. Induction over run–turnover cycles gives persistence through arbitrarily many participant replacements.
The example makes explicit the point in section 4.1 that a budget must also cover the work of maintenance. For this process, a budget permits a response from but not after either copy is lost. In the restoring procedure, with at least work per run, one remaining copy allows the system to answer and restore the missing copy, so the capability persists under in the sense of section 4.1, with .
Under turnover alone restoration is not needed. A variant that emits the shared copy without restoring the participant's copy uses work after turnover and persists under with , but a later deletion of the shared copy then leaves .
With one disturbance between completed runs, the original procedure uses an extra work to restore the lost copy after either turnover or deletion. Both copies are then available before the next disturbance. Each copy saves work given the other, , while losing both copies removes attainability.
More generally, removing a component without changing performance does not by itself locate the capability. Another stored copy or a different procedure may preserve performance.
C.3.2. Replacing components
In the preceding example, shared storage and participant memory preserve capability within one system. Here useful structure can remain externally accessible, and switching changes what is still available to the replacement. The replacement may use another implementation or an adapter. The bounds below concern the required responses it must give, whatever method produces them.
The service below returns one bit in response to each required query. Its replacement checkpoint encodes the whole retained state of the replacement, including any program and stored data. The checkpoint must give those bits using only the resources that remain available after switching. We first bound the checkpoint's encoded length, then use the work required to emit it to bound the migration work.
Fix one transition-complete finite-description system whose valid checkpoints have the form , where names the architecture and is the rest of the checkpoint. For , let be the indices of later queries that are actually required, and let be their required response table, where is the bit required by query . For each finite persistent external state , assume the query contexts are uniformly computable from , and let the work bound for each query be computable from . Only the empty task input is used in these service tests. In the notation of section 4.2, the required responses are , with input bounds zero and work bounds . Here counts possible queries and counts required queries. The main-text case requiring every response has .
For define the function-preserving checkpoint set
Membership in is defined using . The system receives no separate query-input field containing . It can obtain the table through the checkpoint or persistent external state. The queries and their work bound are reconstructible from without an additional input.
Lemma C.12 (Checkpoint length needed to preserve the required responses). There is a fixed constant such that every satisfies
Proof. Given and a literal , one fixed program on reconstructs and the contexts , simulates for the bounded runs, and collects the emitted bits in increasing index order. If , the recovered string is exactly . Hence
Since , either , in which case the claimed inequality is immediate after adjusting the fixed constant, or . Rearranging gives the result.
The bound therefore also covers any decoder, emulator or adapter in the checkpoint. A small checkpoint is possible only if the required response table has a sufficiently short description given and the post-switch external state. In the construction of theorem C.13, keeping the table externally available permits a constant-size checkpoint that routes queries to it.
The next theorem compares continuing with external access, making a direct switch, and switching while preserving the required service. The representation bound of lemma C.12 gives a lower bound on the work required for a switch that preserves the service. A copying procedure shows that such a switch is feasible and gives an upper bound. Constant-work continuation also requires an input format that allows the selected mode to be read without scanning irrelevant external data. The proof specifies that format.
Theorem C.13 (Switching cost when required responses must be preserved). There are a fixed system of the above form, a fixed transition-complete acquisition system , uniformly computable query contexts, and a computable service-work bound with the following property. Consider any instance of the construction in which begins with the T-bit indicator string of , followed by the bits of in increasing index order. The construction uses one fixed constant-size A-routing checkpoint that reads this format, answers each required query by lookup and belongs to . Suppose the developed acquisition state contains the realised T-bit table of responses under architecture A in the serial representation of appendix A, with the entries at the indices in forming . Then the three ordinary binary acquisition tasks from , namely function-preserving A continuation , a direct B switch , and a function-preserving B switch , satisfy
and, for every finite input bound ,
A fixed migration routine also achieves in work at input bound zero. Consequently, when and
function-preserving continuation under has acquisition work whereas function-preserving switching to has acquisition work. The direct switch takes work. The preserving-switch lower bound and copying upper bound do not require the assumption about . From the decision state before development, adopting or takes the same work. If contains the same required indicator string and response bits in the external-routing format, a fixed constant-size -routing checkpoint belongs to .
Proof. Implement with a fixed interpreter, a program that reads the checkpoint and executes its instructions. Give checkpoints decidable syntax and external-routing, literal-table and general-program modes in both architectures and . A literal checkpoint stores , a string of bits whose th bit is 1 exactly when , and the required response bits in increasing order of their indices. Its query routine reads the requested index and scans the string identifying , advancing through the stored responses whenever it encounters a 1, until it reaches the requested response. Use input encodings in which the service input starts with , followed by the fields, with length metadata for unused suffix fields placed after them. The literal lookup reads the stored table without inspecting . For the external-routing instance, begins with the same string identifying , followed by the required response bits, so that routine performs the corresponding lookup there. The routine leaves other trailing external data unread. A fixed multitape implementation can parse these relevant symbols and perform the scans with binary counters within transitions for a sufficiently large fixed computable integer . Choose this bound once for both routines. No such guarantee is required for arbitrary program-mode checkpoints.
Begin each acquisition task's public context with a fixed-length tag selecting continuation, direct switching or preserving switching, followed by the relevant fields. Their accepted sets are respectively , all valid B checkpoints, and . On the continuation tag, emits the fixed A-routing checkpoint, which succeeds with by hypothesis. On the direct-switch tag it emits a fixed constant-size empty B checkpoint. Neither branch needs to scan the unused context suffix, so both use bounded work and an empty task input.
For preserving switching, every successful run emits some . By lemma C.12,
Transition-completeness gives for every successful run, so the same lower bound holds for least work at every finite input bound.
For the upper bound, the developed state stores the realised table under architecture A in serial layout. A fixed migration branch scans that table and the -bit string identifying , emits that string with the B literal-mode header, and copies the selected response bits in order. These scans and output take work at input bound zero. The lookup of the resulting checkpoint returns every at within the chosen , independently of . The checkpoint therefore belongs to , so the migration succeeds. The incompressible case where every response is required combines this upper bound with the representation lower bound.
For the initial-choice comparison, add two symmetric initial public tags at the undeveloped decision state. They emit constant-size A- and B-routing checkpoints with their paths padded to the same fixed cost. The subsequent construction is unchanged by exchanging the branch names. These initial choices precede the development history, whose work belongs to acquisition.
The least-work values of and are and of section 4.2. When continuation is the chosen baseline, is the least work for . The theorem compares alternatives after the history under architecture A. Continuing under A and switching to B are different acquisition tasks, not two states in a matched WRI comparison. The initial choice can have equal cost on both sides. Under the same later inputs, either choice can lead to analogous functions that later work depends on. After development under A, preservation is costly when less required information remains accessible under B. An adapter that preserves external access can make the representation bound small. Keeping that resource available still incurs horizon costs [definition B.23].
C.3.3. Short descriptions under query work limits
The preceding bound uses description complexity without limiting the work needed to reconstruct the output. As discussed in section 4.2, reconstructing the responses from a short description can take too much work to meet a query limit. The construction below uses the same distinction as classical time-bounded incompressibility results [21, 60] and imposes the limit on each required response. With one-bit queries and empty external state, B checkpoints shorter than bits are fewer than the possible response tables, so some table is not returned by any of them within the per-query work limit. A fixed program finds the first such table from by finite search, so the table has a description of constant length given .
Theorem C.14 (Short descriptions with costly function-preserving replacement). Under the efficient binary encodings of appendix A, there exist a fixed transition-complete interpreter with A and B checkpoint modes, a fixed transition-complete migration system , a computable polynomial service-work bound , and a uniformly computable family such that
The service contexts give only , the query index and the external state. Each service query admits only the empty task input and starts from the same checkpoint, so updates made during one query are not available to later queries. With external state , one constant-size A-routing checkpoint answers all service queries within . With , every valid B checkpoint that answers those same queries within has length at least . The B interpreter admits literal tables and arbitrary programs.
From a developed migration state containing , there are ordinary binary acquisition tasks , and for A continuation, direct B switching, and function-preserving B switching such that
whereas, for every finite migration input bound ,
Proof. Fix a serial interpreter with decidable checkpoint syntax whose valid B checkpoints include a literal-table mode and a general program mode. On query with size , the literal mode reads its stored table and returns its th bit. Program mode executes its stored program on . An A-routing mode reads the corresponding bit of external state. All transitions are counted. Choose a computable polynomial bounding the work of every literal-table and A-routing query under these fixed encodings. This choice is made before selecting .
Put . Enumerate every valid B checkpoint whose complete encoded length is less than . There are at most such binary strings. For each, simulate all queries for at most transitions per query. Keep the resulting -bit response table only when every query halts within the limit with a single-bit response. Each deterministic checkpoint contributes at most one table. Since , at least one -bit table is absent. Define as the lexicographically first absent table.
The finite checkpoint enumeration, bounded simulations, and missing-table selection are uniformly computable from . One fixed program on therefore produces , proving . By construction, no B checkpoint shorter than gives all its responses within . The bound covers short generators and compatibility programs because program mode includes them.
Let receive a public tag selecting the acquisition task. From , its continuation branch emits the fixed A-routing checkpoint, and its direct-switch branch emits a fixed empty B checkpoint. Both use constant work and an empty task input. Its preserving branch can scan the table in and emit a literal B checkpoint in work under the serial encoding convention. That checkpoint meets every service bound by the choice of . Any successful migration that preserves the required service, irrespective of the task input, must emit a B checkpoint of length at least . Transition completeness makes its work at least its output length. This gives the uniform lower bound. The empty-input copy branch gives the upper bound for every .
The B checkpoint that runs the short generator of has constant length, so once is large it needs more than work on some query. The work of initially computing belongs to acquisition. Migration begins with that table already stored. Continued external access and a sufficiently large replacement checkpoint meet the original service limit. With enough additional work per query, the generator becomes usable too. The work limits and the resources that survive the switch determine which alternatives are feasible, while definition B.23 compares their complete costs over a finite horizon.
C.4. Comparing organisational arrangements
The reporting example works through the organisational comparisons of section 4.3. We then bound the trials needed to assign workers with different capabilities to suitable roles.
Example C.15 (Establishing reporting roles). Two components run the same controller. On each task one receives a bit and the other a bit across the common outer boundary, and only the empty task input is admitted. Either component may report, and a response is accepted when it contains at least one report and every report equals . The controller cannot use component names or identifiers. Each component has a persistent role field, initially unset, that can hold sender or reporter. In each communication round both components emit their messages before either receives them. Delivery is reliable and a component waiting for a message performs no operations. The next task begins after both have finished. Since the schedule treats the components alike, deterministic steps on equal task bits keep identical states identical, so complementary roles can be chosen only from different task bits or from random choices [2, 47].
Each executed instruction counts as one unit of work, and sending, delivering and receiving a bit are separate operations. On every task each component reads its bit, tests its role field, dispatches and finally finishes, which gives eight common operations.
-
Immediate exchange. Without roles, both components send their bits, compute the parity and report, in 18 operations.
-
Retained roles. The sender transmits its bit, and the reporter computes and reports the parity, in 13 operations. The saving of five consists of one send, delivery and receipt, one parity computation and one report.
-
Roles from different bits. Both components send their bits and compare them. Equal bits leave the roles unset, and both report 0, in 18 operations. When the bits differ, the component holding 0 writes sender and the component holding 1 writes reporter. Both dispatch on the new role and only the reporter reports 1, in 21 operations.
-
Random proposals. Each component draws a fair private bit, proposes sender or reporter accordingly and sends the proposal with its task bit. Equal proposals leave the roles unset, and both report the parity. Different proposals are stored, and only the proposed reporter reports. Compared with immediate exchange, an attempt adds two draws, the send, delivery and receipt of two proposal bits and two comparisons. A successful attempt also writes the two roles, and dispatching on them costs as much as the second parity computation and report that it avoids. An attempt therefore takes 28 operations when the proposals are equal and 30 when they differ.
At the start of the horizon each component reads a common two-bit instruction that selects the plan. It is an external input other than the task input and adds two operations. All plans start from unset roles with the same storage, and their external inputs have the same length apart from the random bits drawn under random proposals. Over tasks, immediate exchange uses operations. If the bits first differ on task , establishing roles from them uses , a saving of , and if they never differ it uses . Under random proposals, task begins without roles with probability , so the expected total work is
The expected saving is negative for and positive for . If the proposal operations and role writes are counted as acquisition work, each task that begins with roles has stage saving 5 in the notation of section 5.4, and each attempt adds ten operations of acquisition work, with two more when it succeeds. The total varies between histories. It is when roles are first established on task and when no attempt succeeds, so a budget met on every history must be at least (definition B.23).
For the organisational family of definition B.19, fix immediate exchange as the procedure used without roles. The states with complementary and with unset roles are then matched states differing only in their role fields. Their least work at input bound zero is 13 and 18 on every task, so and the retained roles are work-reducing information (definition B.11). Budgets from 13 to 17 admit the organised state but not the unorganised one. A pooled routine that reads both bits, computes and reports the parity and finishes uses 5 operations, so . These counts belong to this instruction table.
Without communication, including shared-state, timing and termination signals, each component's behaviour depends only on its own bit and its own random draws. A report by one component then stays the same when only the other bit changes, although the parity changes. No fixed isolated implementation therefore succeeds on all four input pairs.
A hidden bijection assigns one of roles to each of workers. A trial asks whether for a chosen worker and role and returns a reliable yes or no. A separate worker action performs a requested role. The public context contains and a finite description of the function that answers the trials. This description allows the reference machine to compute the assignment. An acquisition procedure uses it only through trials, starts without assignment-specific information and admits only the empty task input. It may keep every answer and use any deduction from them. For a set of required roles, where , consider deterministic procedures that return the correct worker for every role in for every . The work rule counts one unit for each trial and each worker action. Control, inference, encoding and output have zero cost under this rule.
Once these workers have been obtained, the evaluated system reads its stored routing table and sends a request to the worker assigned to the requested role. It admits only the empty task input. Let require a correct action in each role in within one unit of work. A routing table meets exactly when it gives the correct worker for every role in . Let accept those tables, with the trial description and as its public context. When contains every role, a qualifying table gives the whole assignment.
Proposition C.16 (Discovering which worker can perform each role). (i) A state retaining a table that is correct on meets every requirement in in one worker action. Performing one action in every role of takes units of work.
(ii) Every acquisition procedure in this class uses at least trials for some assignment, which is when . For any fixed such procedure , at that assignment its acquisition depth is at least this number at every margin. Testing the possible workers for each role of in turn attains this worst-case trial count. The reference complexity of a qualifying table is bounded by a constant independent of , and .
(iii) If the assignments of the other workers are retained and workers are replaced by workers assigned to the freed roles in an unknown order, identifying the new assignment has worst-case trial count .
Proof. For (i), the table selects the correct worker for any requested role in .
For the lower bound in (ii), consider the bipartite graph of worker–role pairs not yet excluded, which initially contains all pairs. Answer no whenever deleting the queried pair leaves a perfect matching, and yes otherwise. A yes answer concerns a pair in every remaining perfect matching, so every perfect matching of the current graph is consistent with all answers given. The deterministic procedure returns the same table for all of them. When a correct procedure finishes, they therefore all give each role in the same worker. Fix one of them, , and two workers and at least one of whose roles under lies in . If both pairs and remained, exchanging the roles of and in would give another remaining perfect matching with a different worker for a role in . One of the two pairs was therefore deleted after a trial. A pair determines and , so different choices of the two workers require different deleted pairs. Their number is
and is an assignment consistent with all the answers on which this many trials were made. For the remaining graph has a unique perfect matching, and the count agrees with the classical bound that such a bipartite graph has at most edges [64]. Each acquisition procedure admits only the empty input, so its run at gives its least work at every input bound and hence its depth at every margin.
For the upper bound, take the roles of in turn. When the workers for of them are known, at most workers remain possible for the th role, and at most trials identify its worker, since the last possibility can be inferred. Summing over gives . A fixed reference program performs this search using the trial description and in the context and emits the routing table. This proves the constant description bound.
For (iii), the retained assignments fix pairs. The new workers and freed roles form the same identification problem of size with all roles required.
C.5. Evaluating success
These results distinguish the work required to reach a score from whether success under that score meets the intended target (section 3.2).
For the proxy evaluator and intended evaluator of section 3.2, write and for their accepted level sets (definition A.2) at a proxy level and a goal level , which need not agree. Each comparison fixes the system, state and public context unless stated otherwise.
The inclusion discussed in section 3.2 has a direct work consequence. At a fixed input bound, restricting the accepted responses cannot reduce the required work. Depth sets that input bound from the shortest reference description of an accepted response, so changing the accepted set can also change the input bound.
Proposition C.17 (Bounds for nested accepted sets). Fix a system and state, a common public context , a proxy level , a goal level and , and suppose and are nonempty. As in definition B.15, is the length of a shortest reference description of a response in , and is the depth of the binary task . If and
then, for every ,
so a depth lower bound for at margin transfers to at margin . For every input bound , inclusion alone gives .
Proof. Target inclusion gives for every input bound. Write and . Since and least work is nonincreasing in input bound,
Since , the length of any known reference description of a member of is an admissible .
Proposition C.17 relates success under two evaluators. We now ask whether successive levels of one evaluator can require increasing work. For a fixed system, starting state and margin, the next construction accepts at each level only responses that the system cannot return within that level's input and work bounds. The accepted responses nevertheless have short reference descriptions, as in the classical existence of deep strings [9]. When the system can execute reference programs with a fixed input overhead and the margin covers that overhead, the constructed levels have finite depth, as shown after proposition C.19.
Theorem C.18 (A demanding evaluator for one system). Fix a system–state pair and public context , and suppose bounded-work runs of from are effectively exhaustible, meaning that an algorithm terminates with a complete list of halting runs within given bounds on input length and work (definition A.4). Fix and a computable strictly increasing sequence . There is a finite-description graded task with public context , performance set in its usual order, and a constant such that, for every ,
Here is the length of the self-delimiting code of .
Proof. The input bound used for depth depends on the length of a shortest reference description of an accepted response, so we first bound that length by the length of the construction's own description. Fix a finite construction algorithm with an integer parameter . If its fixed part, which includes the listing algorithm, the sequence and , has description length , choose so large that , freeze this value and set . Such a choice exists by the logarithmic integer-code convention in appendix A. Put
Effective bounded-work exhaustibility makes the finite set
computable.
A response of level is also accepted at every lower level, so choose as the first string in length-lexicographic order for which is outside . The excluded set is finite, so this effective search terminates. The evaluator assigns level exactly to , and zero to every other response. It first checks for a canonical tuple encoding with integer leading field , returning zero otherwise. On a valid encoding it computes for the leading field and checks equality. Thus it is total, computable and finitely described. The same fixed construction, with frozen parameter and the self-delimiting code of , outputs , proving
Fix . Every response of performance at least is some with , and each such response was chosen outside . Thus no task input of length at most reaches level within work . The input bound in the definition of depth is at most , hence .
The preceding construction fixes one system–state pair and one margin. We can extend the construction to an effectively enumerated family of pairs and every margin, using a single evaluator. For each fixed pair and margin, its growing work lower bounds hold from a starting level that depends on that pair and margin.
Proposition C.19 (A demanding evaluator for a family of systems). Fix an effective enumeration of finite-description system–state pairs with uniformly effectively exhaustible bounded-work runs, a public context , and a computable strictly increasing unbounded schedule . There is one finite-description graded task with public context and performance set in its usual order, and a constant such that for every pair , every margin , and every ,
Hence, for every fixed pair, margin and work threshold, every sufficiently high level has depth above that threshold.
Proof. The construction follows the proof of theorem C.18 with two changes. At stage it considers the first pairs, and its input bound covers the one used for depth at every margin up to , so each fixed pair and margin is covered from some stage onwards. Choose as in that proof, for a construction whose fixed part includes the uniform listing algorithm and but no margin. Put . Uniform exhaustibility gives a finite computable set containing every response obtainable by any of the first pairs using task inputs of length at most and work at most . Choose as the first string in length-lexicographic order for which is outside . The finite exclusion makes this search terminate.
Define the evaluator from these responses as in the proof of theorem C.18, assigning level exactly to and zero otherwise. It is total and finitely described. The same fixed construction outputs from the self-delimiting code of , giving the stated complexity bound.
Now fix and . As in the previous proof, the input bound in the definition of depth is at most . Every response of level at least is some with , and every such response was chosen outside . Since , the outputs of pair within input length and work are contained in . Hence level cannot be attained within work at that input bound, proving the depth inequality. The unboundedness of gives the final claim about sufficiently high levels.
Under the following interface condition, the depths bounded in theorem C.18 and proposition C.19 are finite whenever the margin covers a fixed input overhead. Suppose a pair admits, for every reference program , an input of length at most , for a fixed , and returns in finite counted work whenever that reference computation halts. At any level with nonempty accepted set , choose a shortest successful reference program. If , its translated input fits the bound , so . The condition holds with when runs its task input as a program on and work counts the steps, as in the recovery of logical depth in section 2.1. Bounded-work runs are then also effectively exhaustible. This applies to the pair in theorem C.18 when it has this property, and to any such pair in proposition C.19. For those pairs and margins, the displayed lower bounds concern finite depths. When is unbounded, as in proposition C.19, these finite depths tend to infinity with the required level.
These constructions give work lower bounds that grow with the required score. Cumulative deepening, as defined in section 5.1, additionally requires a history in which earlier achievements reduce the work of later ones and the later targets have finite, increasing depths from the original starting condition. Example C.9 gives such a history for every chosen finite horizon.
C.6. Recursive improvement
We ask whether a state with greater capability also reduces the work needed for further improvement (section 5.2). In the example below, each round before the last builds part of a search index that reduces the work of the next round. The proposition that follows bounds the work needed for one fixed program to execute changing improvement procedures stored as code.
Example C.20 (Constructing a search index). A search can organise data in a way that helps later searches. Suppose a catalogue lists every four-bit word once in an arbitrary order and a procedure must find the position of 0000. It divides the entries by their first bit, divides the group beginning with 0 by the second bit and continues in this way until 0000 is isolated, keeping both groups at every division. A later search for 1000 can start from the group beginning with 1, which the first search set aside. Building a search structure only as far as queries require is known as deferred data structuring [49]. Database cracking similarly reorganises stored data as a byproduct of query processing [46].
Fix and . The public context holds a catalogue listing every -bit word once in an arbitrary order, with each bit stored separately. An entry's identifier is its position. A valid retained state consists of a fixed-width binary prefix tree, a request counter and answer slots, of which the first hold the identifiers found for the first requests. The active leaves of the tree hold linked lists of identifiers, and each lists exactly the identifiers whose words begin with its prefix. An internal node records a division already made, and nodes below a leaf are inactive. The search follows the bits of the requested word through internal nodes. At a leaf it reads the next bit of every listed entry, divides the list into two, keeps both and continues until the word is isolated. Work counts the executed instructions of a direct random-access-machine implementation, one for each read, write, arithmetic operation, register assignment or branch. Dividing a group of entries takes eight instructions for each entry and nine to prepare and mark the division, in all.
For a domain task, the same search is run from a retained state with only the empty task input and returns the identifier of one given word. When every group on the word's path is already divided it takes instructions, and each missing division adds its own . Let be the set of words that the search locates from within work , and . Dividing an active group of two entries isolates two words and raises by two, while dividing a larger group isolates none.
The improvement process reads its requests from the public context. From a state with counter it searches for the word , writes its identifier in answer slot and increments the counter, and from counter it fails. The requests are chosen so that each search after the first begins its divisions in the group that the previous search set aside. Let hold one undivided group and counter 0, and let round begin at and produce . The wrapper of definition B.20 emits with empty procedure data. Let be the binary task that accepts exactly when and are valid, the counter of exceeds that of by one, keeps the answers of , and
. Only the empty task input is admitted. Round divides the groups with prefixes , of sizes . Each round is accepted and gives . Each division reduces the work of the domain tasks whose words lie in the divided group and leaves the others unchanged. Each therefore weakly grasp-dominates on these tasks at every finite work budget [corollary B.13].
Besides its divisions, a round takes instructions for following the requested word through the levels and for bookkeeping. Emitting the producer and the successor as two fixed-width arrays takes more, where the words of a state hold its tree nodes, list links, answer slots and counter. Building the undivided list of takes instructions before the first round. Since the process is deterministic, its least work for the improvement from is
In the four-bit case the rounds read 30, 14, 6 and 2 catalogue bits, raise to 2, 4, 6 and 8 and take 735, 598, 525 and 484 instructions, so the reductions are 137, 73 and 41.
For , replace the components that round changes in , namely its new divisions, the counter and answer slot , by their values in . This gives the valid state , from which the same process with only the empty task input runs round with work . The observation rule of definition B.9 for finite constructions records work, so the producing run depends on these components, which is the self-contribution condition of definition B.21. Rounds 1 to therefore show positive recursive gain in the sense of definition B.21, and is a finite instance of recursive improvement.
To find the source of each reduction, take and replace the division of the group in , the first made in round , by an undivided list of that group. The counter, the answers and the other fields are unchanged and the nodes below become inactive. The next round must make this division again, so its work rises from to while it still meets the target relative to the altered producer. The whole reduction thus comes from the index built in round . A comparison of building the index during searches with building it in advance must count the work of both complete plans (definition B.23 and remark B.24).
Recursive improvement is assessed under one fixed outer system. An improvement procedure that changes from one stage to the next can be represented in such a system by storing it as code and executing it with a fixed interpreter. The proposition below adapts the standard universal-machine simulation [7] to bound the interpreter's work when it reproduces a finite improvement history. The interpreter's own work can change which procedure uses less work. Any claimed saving must therefore be checked with both procedures executed by the same interpreter.
Fix in advance a system boundary, staged-input and exogenous-input interfaces and finite checkpoint and successor encodings. Also fix a deterministic small-step representation in which each admissible local process is a finite transition table. Here staged input is the task input delivered to the procedure at each stage, while other external inputs use the exogenous-input interface. Transition tables and state encodings have syntax that can be checked in polynomial time. Admissibility requires a finite represented history and well-formed successor outputs. At stage , the successor output encodes the next transition table and state , so a procedure can replace its own code. Each small step changes only a bounded number of symbols, apart from literal strings explicitly contained in its transition table. Count every outer transition as one work unit.
Proposition C.21 (A fixed interpreter for changing improvement procedures). For checkpoints , pairing the transition table of the stage- procedure with its state , there is one finite-description deterministic transition-complete interpreter which reproduces every finite admissible history
At each stage it simulates , emits the same well-formed successor output as and retains . Stage work is bounded by one fixed polynomial in the lengths of the transition table, current state, staged input, exogenous input and emitted output, and in the number of local transitions.
Proof. Construct as the universal interpreter for the fixed small-step representation, using the efficient transition-table and configuration encodings of appendix A. At each stage it decodes the checkpoint and checks the transition table and state syntactically. It initialises the simulated configuration and delivers staged and exogenous inputs only through the original interface at their authorised steps. Describing a realised input sequence for the comparison does not make its future values available early to the local process. For each local transition it scans the finite table, updates the encoded configuration and copies any emitted symbol. A well-formed local halt emits the same successor description and retains the decoded next checkpoint. Malformed successor syntax produces a declared failure.
If the local computation uses transitions and its transition table has length , configuration length is at most a constant multiple of the sum of and the initial-state, staged-input and exogenous-input lengths. The factor covers any explicitly stored table literal written by one local step. A table scan and encoded update cost at most a fixed polynomial in these lengths and per step. Summing over the steps and adding decoding, syntactic checks, interface handling and output copying gives one polynomial bound in the stated quantities. The interpreter itself is fixed. Induction over stages then gives equality of the emitted successor and retained checkpoint with the represented admissible history.
For the producer-relative evaluation of definition B.20, let consist of and a fixed wrapper. The producer state of a stage is then the checkpoint , including the current code . The wrapper copies from the actual starting state and emits , where is any procedure data in the local output. This copying takes work polynomial in the stated lengths, so the stage work of is bounded by one fixed polynomial in the same quantities.