Execution traces and persistent work

Adaptive replay slices

A completed result does not reveal all of the earlier work needed to reproduce it. The right object is the backward slice of records actually consulted during the execution. For finite deterministic adaptive histories, that slice is stable under irrelevant changes, composes exactly with later work, and has a simple product geometry.

FPRD-D40 · execution model

Work is a finite history of adaptive reads

Start with finitely many source cells. Derived cells are created in a well-founded order. Each derived cell is computed by a terminating deterministic procedure that may query source cells and earlier derived cells. Its next query may depend on the values already read. A final deterministic observer reads the completed history.

For one source assignment xx, let τx(d)\tau_x(d) be the ordered finite sequence of cells actually queried while computing derived celldd, and letτx(O)\tau_x(O) be the observer's ordered query transcript. Repeated queries are retained. WriteQx(d)=supp⁡(τx(d))Q_x(d)=\operatorname{supp}(\tau_x(d))and Qx(O)=supp⁡(τx(O))Q_x(O)=\operatorname{supp}(\tau_x(O))for the underlying queried-cell sets. The replay support is the least set RxR_xsatisfying

Qx(O)⊆Rx,d∈Rx∩D⟹Qx(d)⊆Rx. Q_x(O)\subseteq R_x, \qquad d\in R_x\cap D\Longrightarrow Q_x(d)\subseteq R_x.

This closure is execution-specific. It records the branch that was taken, not every dependency that another execution might use.

FPRD-T150 · replay theorem

Agreement on the slice replays the same work

Let xx andyy be two source assignments. If they agree on the source cells inRxR_x, then every supported derived cell has the same value and makes the same adaptive queries. The observer therefore follows the same query trace and returns the same result. Recomputing the backward closure gives

Ry=Rx. R_y=R_x.

The proof is a well-founded induction over supported derived cells. All source queries see the same values by hypothesis; all earlier derived queries see the same values by induction. Determinism then forces the current procedure to repeat its query sequence and value. The observer is the same final induction step.

Replay support is not just sufficient. It is the least set that contains the observer queries and is closed under the dependency trace actually recorded by the supported work.

Composition law

Later work pulls its memory backward through earlier work

Split a history at a downward-closed cut into an earlier blockHH, containing the source cells and every predecessor of its derived cells, and later workKK. Use the recorded transcripts from one execution throughout. LetBB be the old cells directly queried by the supported part of KKor by the observer. Then the old portion of the composite support is

RK∘H∩H=cl⁡H(B). R_{K\circ H}\cap H=\operatorname{cl}_H(B).

The completed history need not be retained wholesale. Later work names its old demands, and those demands pull back through the exact dependencies that produced them. This is the precise sense in which prior work is replayable.

Fibre geometry

Irrelevant source coordinates form a product cylinder

When source coordinates vary independently, fixing the supported source cells gives

{y:y∣Rx∩I=x∣Rx∩I}=∏i∈Rx∩I{xi}×∏i∈I∖RxAi. \{y:y|_{R_x\cap I}=x|_{R_x\cap I}\} = \prod_{i\in R_x\cap I}\{x_i\} \times \prod_{i\in I\setminus R_x}A_i.

Every assignment in this cylinder replays the same supported work. The cylinder is contained in a replay-equivalence class; the whole class can be larger. An observer that queries a source cell and returns a constant has the same result and query transcript even when the queried source value changes. With finite coordinate domains, single-coordinate changes within the cylinder generate a Cartesian product of complete graphs. Same-coordinate triangles and distinct-coordinate commuting squares contract every loop.

Independent coordinate domains are essential for the product conclusion. A global validity constraint can cut a non-product subset out of the replay cylinder.

Scope and relation to FPRD

This is a replay theorem, not yet a memory bound

FPRD-T133 is a scaffold specialization. Descriptor evaluation is the adaptive work, the final rooted concrete scaffold supplies the observation roots, and replay-closed causal support is the backward slice. The abstract theorem explains why that proof pattern applies beyond scaffold ports.

The theorem does not say that the slice is the smallest source set preserving only the final output. Algebraic identities, equal values, or another presentation may permit a smaller semantic slice. It also does not bound support uniformly as histories grow, construct a stationary finite-state compressor, resolve FPRD-C02, or imply that every context-free language belongs to PEG.

Proof, falsification, and comparators

The proof is general; the computation tests the seams

The dependency-free checker exhausts every program and observer in a small adaptive branch model with two source and two derived cells. It passes 55,296 executions, 72,960 permitted source perturbations, 72,000 supported-cell comparisons, and 55,296 composition checks. A negative control finds 25,848 failures when transitive closure is replaced by direct observer queries alone.

Dependency slicing, operational provenance, and change propagation are established subjects. The FPRD note packages the narrow replay, composition, and product-cylinder statements needed here. It makes no literature novelty claim.