When propagation is hard and replay is enough
4 October 2026. Research note. Written constructions and reductions, independently reviewed; the data-structure lower bounds are imported.
The dynamics of a constraint problem include when its information becomes available. A gate can be easy to evaluate when its inputs are already known, yet a large collection of gates can be difficult to prepare for values and a query that arrive later. Native scaffolding automata make that distinction precise because every input symbol supplies one computation step and the answer is due at input end.
Three results sharpen this distinction. Arbitrary-order implication constraints with two late pins already resist native recognition, unconditionally. More generally, the graph relation of every Boolean function depending on at least two inputs, together with pins, gives a nonrecognizable constraint language. In the other direction, ordered circuits whose inputs are available before use have native recognizers. For a precisely defined ordered XOR-circuit language that allows late inputs, one pass is impossible but one verified replay is sufficient.
These also give expressive-power statements about parsing expression grammars. In particular, we exhibit an explicit language such that
The second language requires the two copies to agree; their equality is checked by the recognizer. The copy adds computation time and another traversal of the same information.
Contents
The common encoding and machine contract
Use a fixed finite alphabet of relation tags and punctuation. A record has a tag, parentheses, comma-separated nonempty binary variable names, and a semicolon. For example, I(1,10);T(1);F(10); asserts and pins its endpoints to true and false. Names are literal words: leading zeros and prefix relationships matter. Repetition and arbitrary record order are permitted for ordinary constraint satisfiability. The empty conjunction accepts and malformed strings reject. Every character counts toward encoded length ; denotes the number of distinct variables.
A native deterministic scaffolding automaton has fixed finite control, labels, degree, observation radius and initialization, independent of . Each arriving symbol creates one immutable node. The transition observes the bounded labelled port unfolding from the old top and routes new edges along bounded port paths. It cannot compare physical pointer identities, inspect numerical addresses, mutate old nodes, or compute after input end. There are physical nodes, with bits under literal pointer encoding.
The native model and PEG equivalence, Definitions 10–15 and Theorem 16 of Loff–Moreira–Reis, give
We track this reversal explicitly. Ordinary implication and gate-constraint exclusions below hold in both orientations. The ordered circuit and replay constructions are forward-orientation statements; their PEG consequences use the reversed languages.
Directed propagation already crosses the boundary
Let mean , and let be the two unary pins.
Propagation theorem. Ordinary and its reversal are outside native SA. The hard formulas can have an acyclic implication graph, followed by just one true pin and one false pin. Direct signed-clause encodings give the same exclusion for ordinary Horn-SAT and 2SAT.
The logical mechanism is familiar. A prefix
becomes inconsistent after . For a general directed graph , write
Then
A path propagates truth from to . Conversely, if no such path exists, set exactly the vertices reachable from to true. Every implication and both pins are satisfied. Every implication-only prefix has a satisfying all-zero assignment.
The imported lower bound and the exact translation
Larsen–Yu prove that insertion-only reachability in an -vertex directed acyclic graph, with worst-case update cost , expected query cost and -bit cells, satisfies
See Theorem 1, printed p1, the fully adaptive cell-probe model in §1.1 p2, and the insertion-only reduction in §4 pp8–10. Lemma 5 in §5.1 uses a final query after all update epochs. These are precisely the operations used here; no deletion, semi-adaptive access order or earlier query is required.
Suppose one fixed native recognizer existed. Give graph vertices distinct -bit names, . Process an edge insertion by appending its I record. Answer a reachability query by simulating the two pin records and negating acceptance.
For distinct inserted edges, the complete ordinary word has
The hard workload has . Store each native node in a constant number of logarithmic cells. Fixed degree and radius mean a transition uses probes. Store the top, finite control and allocation counter in charged cells as well. Hence
All allocated history is included; sufficiently large constant word width accommodates its addresses. Initial storage is constant and independent of . There is no free graph preparation, external name handle, future-input knowledge or deferred terminal work.
The source requires read-only queries. New native nodes created while processing the query suffix can instead be represented inside that query’s transient computation. Reading an old node still incurs a probe; the transient nodes and control are discarded after the answer. They do not become a free persistent cache. Thus this is a legal adaptive query decision tree.
The imported lower bound would require
a contradiction. This excludes every native representation, not merely a proposed propagation algorithm.
For the reverse-language claim, feed the reversal of each individual record as its edge or pin arrives. Reversing the completed string gives the original records in reverse order. Conjunction is order-independent, so the same equivalence and budgets hold. For Horn-SAT and 2SAT, use signed-clause records C(-u,+v);, C(+s);, C(-t);, where the names replacing are written literally and 2CNF permits at most two literals per clause. These encode and the two units; their lengths remain . No general closure under SAT reductions is assumed. Theorem 16 then excludes both PEG orientations too.
Every genuinely combining Boolean gate is enough
Fix a total Boolean function , with fixed , and its graph relation
An input is essential if changing it can change the output while the other inputs stay fixed.
Gate theorem. If has at least two essential inputs, ordinary satisfiability over has no native SA or PEG in either orientation.
Here formulas are arbitrary conjunctions of gate-relation records. No single-assignment syntax or evaluation order is assumed. This contract differs from the ordered circuit controls below.
Affine gates
If , its graph is the equation
At least two essential inputs give support at least three. Pinning all but two selected inputs produces a ternary parity relation. The unconditional affine obstruction, importing Ko’s fully adaptive inner-product theorem, applies. Its even/odd parity conversion and ordinary-name budgets are unchanged.
Nonaffine gates
The algebraic normal form of a nonaffine Boolean function contains a monomial of degree at least two. Choose two coordinates in such a monomial. The mixed Boolean derivative is nonzero: deleting from distinct monomials containing both leaves distinct monomials. A nonzero multilinear polynomial is nonzero on some Boolean assignment. Fix all other coordinates to such an assignment. The resulting binary restriction is
Pins implement those fixed coordinates. Six of the eight possibilities give implication by projecting one input out of the graph:
| Restricted gate | Retained input/output pair | Projection |
|---|---|---|
Swapping the endpoint names handles the transposed implications. The remaining NAND and NOR gates also implement :
In the first formula , and the other gate requires . In the second , and the other gate requires .
To apply the propagation lower bound, expand each arriving graph edge into its fixed gadget. Give private variables fresh names indexed by the edge occurrence and a fixed slot. With at most polynomially many edges, these names have symbols. Use fresh pinned constants inside each edge gadget, so their initialization is charged too. Each update still appends characters; the final two pins retain that budget. Private witnesses exist independently exactly when all endpoint implications hold. The number of variables is and encoded length is for the hard workloads. All storage remains polynomial. This direct simulation uses no general inverse closure under existential gadget substitutions.
Constant-output gates are Cartesian unary constraints and have native recognizers. A one-essential-input gate is equality or disequality, with possible irrelevant arguments; their native membership remains unresolved. The theorem establishes a structural obstruction, not a completed positive classification.
A NAND gate graph is different from the binary NAND clause relation. The former is covered unconditionally above; the pure latter family with pins retains its OMv-conditional obstruction. Adding disequality to NAND or OR does implement implication, so those mixed languages are excluded unconditionally as well.
Ordered circuits: availability before use gives a positive case
Now orient each gate record as an assignment to its final argument. For any fixed finite collection of Boolean gates, define a circuit language with the following checked conditions: each output has only one producer; every operand is either an earlier output or a variable never produced by a gate; these source variables are pinned before their first use; all pins on every variable are mutually consistent, including names used only in pins; and pins on computed outputs agree with their values. Pins and gates may otherwise interleave. This is an explicitly restricted presentation, not an implicit ordering promise for ordinary SAT.
Availability theorem. This language has a native SA recognizer.
The key tool is the serial binary-name dictionary. Its proof permits any fixed finite payload, not just a set of permitted unary values. Its path frames preserve a terminal payload and two subtrees. Replacing the terminal payload by a finite function of the old payload and controller state preserves the same path-fold and explicit-tip invariants. Monotonicity of unary intersections was needed only for interpreting the earlier application, not for the dictionary operations.
Store a pin mask, a produced bit, a computed value, and a bit recording whether the variable has been used as an unproduced source. At an operand name, use its computed value if produced; otherwise require a singleton current pin mask and mark it as used as a source. At the output name, reject a duplicate producer or a previously used source, compute the fixed gate from the finitely many saved operand bits, and check its pin mask. A pin intersects its mask and also checks an already computed value.
The source-use bit matters: an early pin cannot disguise a future producer as an available source. Its later definition is rejected. Self-reference, forward dependencies, duplicate producers, contradictory late pins, and prefix-related names are therefore all checked. Induction over complete gate records proves exact evaluation. Every name is processed bit by bit; its closing delimiter commits the finite payload update. At a comma, the same bounded batch resets the current subtree to the committed root and empties the temporary path FIFO for the next name. The final acceptance test requires only finite control, with no scan after input end.
The dictionary has fixed work, observation radius and fresh allocation per symbol. Adding finite payload fields and a fixed gate’s operand bits preserves those bounds. The reviewed simultaneous-record compiler yields one fixed native automaton. All source history is records; literal pointer storage is bits.
Late inputs: one verified replay changes the answer
Define using only X(u,v,t);, meaning , and the two pins. Require single assignment and require every operand to be an earlier gate output or a nongate source pinned somewhere in the complete word. All pins on every variable must be mutually consistent, including pin-only names, and pins on outputs must agree with the resulting evaluation. Source pins may now arrive after their uses. Malformed words and failed order conditions reject; the empty word accepts. Repeated operands are allowed, while self-reference is not.
For example, X(1,10,11);T(1);F(10);T(11); is valid: the source values arrive after their gate, and the output assertion agrees. The definitions and validity conditions are part of the language, not unchecked advice.
Replay theorem.
Why the first pass alone cannot suffice
The parity reduction already has exactly this circuit form. For matrix rows, write and row-major gates
All producers are distinct and every dependency on a producer points backward. Afterwards, pin every to the arriving vector coordinate and finish with one query. The word belongs to exactly when that row’s inner product is zero. It has variables and, for ,
Ko’s Theorem 1.1, full statement in §3 p12 and Protocol 4 pp14–16 excludes polynomial preparation with polylogarithmic coordinate updates and a query using probes. A native recognizer would again supply updates and query. The saved proof’s charged registers, storage and ephemeral query construction apply unchanged. Incomplete preparation prefixes need not themselves belong to .
A complete native recognizer for the verified replay
During the first copy, enqueue each character in a strict persistent FIFO. In the finite-payload dictionary collect each variable’s pin mask and whether it is a gate output. Reject duplicate producers and conflicting pins. No gates are evaluated yet. At #, require a complete record boundary and switch the finite controller to the second phase.
For each second-phase character, compare it with the copy FIFO’s front and dequeue once. A mismatch or empty queue rejects. Simultaneously parse the replay and evaluate its gates. A gate operand marked as a producer must already have a computed value; an operand not marked as a producer must have a singleton pin mask. At the output, store the XOR and compare it with the pin mask. All pins are now known, including those appearing late in the first copy.
The first phase checks producer uniqueness and pin consistency. Induction over the second phase’s gates checks the dependency order, source assignments and output assertions. The queue enforces literal equality of the copies, including punctuation and name spelling. A short copy leaves a nonempty queue; an extra character underflows it. A missing or additional separator rejects. The input # accepts the empty circuit.
After every symbol the controller knows the parser status, queue emptiness and rejection flag. Consequently ordinary final-state acceptance checks exactly that the replay is complete, with no terminal computation.
The dictionary and copy FIFO are separate bounded local structures. Their headers fit in one fixed-arity record; only one copy enqueue or dequeue occurs per symbol. The saved dictionary/FIFO bounds admit the conservative simultaneous-batch certificate , , with one root. The reviewed compiler gives fixed native degree at most and radius at most . These constants certify existence; their optimization plays no role. At target length there are physical nodes, total logical history and literal pointer bits. The first pass, stored copy, replay and all discarded versions are charged.
Thus the same ordered gate family has three distinct contracts:
| Information contract | Native recognition |
|---|---|
| Sources pinned before use; order and uniqueness checked | Yes, for every fixed finite Boolean gate collection |
| Ordered XOR gates; source pins may arrive later | No |
| The preceding late-input word followed by a verified identical replay | Yes |
The replay supplies no new assignment information. It gives the automaton a second encounter with each dependency after the relevant metadata and input values are known.
The PEG separation and reduction consequence
Put . The exact SA/PEG equivalence gives and . Since
this proves the PEG statement at the beginning of the note. This circuit example uses the reversed circuit encoding; the earlier ordinary implication and gate-SAT exclusions cover both orientations separately.
The map can be computed by a deterministic two-way finite-state transducer: copy forward, emit the separator, rewind without output, then copy forward again. It uses linear total time and output, with bounded output per transducer step. Because , native SA languages are not closed under inverse application of this particular map. Linear-size copying is therefore not automatically a recognition-preserving reduction.
Kim–Park’s separation work already establishes reversal nonclosure, which itself rules out general inverse closure under two-way finite-state transductions. The additional content here is the explicit order-preserving copy map and its verified SAT-circuit witness. This does not decide whether any particular smaller gadget substitution is safe.
What remains at the equality boundary
Equality and disequality only identify or invert values along components. They do not implement the combining gates above. Their native recognition remains a consequential unresolved test.
There is now a precise reason the obvious matrix argument cannot simply be reused. For an arbitrary 2-affine prepared formula, positive-pin activation, and a row query independent of the activation, the minimum number of query equations is exactly the number of distinct matrix column patterns selected by that row. A matrix containing an all-ones row and the identity rows forces query atoms and query symbols, even with unlimited preparation and auxiliary aliases. The full minimum-query proof closes that interface route while leaving other representations open.
The next native test is current-component access during a streamed variable name: can arbitrary equality merges preserve immediately readable pin information, including overlapping merges and a short final query? The available persistent-union structures do not yet supply that exact immutable, symbol-by-symbol interface. The propagation and replay results give concrete controls against which such a mechanism can be assessed.
Contribution and proof status
Larsen–Yu supplies the directed-reachability lower bound; Ko supplies the inner-product lower bound. Kim–Park supplies the established serialized cell-probe transfer strategy. The positive construction specializes functional-trie and FIFO methods already compared with Demaine–Langerman–Price, using the Lab’s reviewed native compiler and dictionary proof.
The contribution is a set of extensions and applications of those methods: the ordinary implication obstruction, its uniform consequence for genuinely combining Boolean gates, and an explicit one-pass/verified-replay separation with a PEG witness. The functional Boolean restriction argument is elementary; the lower-bound techniques are imported. Independent reviews checked the actual source hypotheses, gadget identities, names, storage, orientations and terminal deadlines. These are written proofs, not proof-assistant verification. A small semantic experiment exercised hostile circuit cases; the inductive construction establishes the unrestricted result.