Comparative Recognition Dynamics — Cumulative Checkpoint
Updated: 2026-08-23 10:00 MDT
Completed runs: 28
Authoritative scope: Short-horizon comparative program; no publication or GitLab work.
Run 1 target
For a deterministic bottom-up finite tree automaton, determine exactly when two ground trees or reachable states are indistinguishable by all one-hole tree contexts. Prove a finite distinguishing-depth bound and hostilely test the tempting replacement of genuine tree contexts by polynomial contexts carrying arbitrary automaton-state constants.
Native definitions
Let be a finite ranked alphabet and
a complete deterministic bottom-up finite tree automaton, where for . Write for bottom-up evaluation and
for the reachable state set. It is a -subalgebra of (Q).
A one-hole tree context is a ranked tree over containing exactly one nullary hole. Plugging a ground tree (t) into (C) is written (C[t]). If , choose any ground tree (t) with and put
Determinism makes this independent of the witness (t).
Let be the unary polynomial transformations generated from the identity by repeatedly placing the current unary polynomial in one argument of some and filling every other argument with a constant from (R). Define
For ground trees define the language-context relation
The hole-depth of a context is the number of ranked-symbol nodes on the path from its root to its hole.
CRD-TA-1: reachable context theorem
Statement
For every deterministic bottom-up finite tree automaton (A):
the transformations induced by genuine one-hole tree contexts are exactly ;
is the largest -congruence on (R) that saturates ;
for all ground trees (s,t),
the map
is an isomorphism of ranked algebras .
Proof
The substitution identity
follows by induction on the unique root-to-hole spine of (C).
For a genuine context, evaluate each ground sibling subtree on that spine. Every resulting sibling state lies in (R), so the induced map belongs to . Conversely, for each reachable state parameter used by a unary polynomial, choose a ground witness tree evaluating to that state and insert those witnesses as the sibling subtrees. This constructs a genuine tree context with the same transformation. Hence the two transformation sets are equal.
The identity polynomial shows that saturates . To show congruence, suppose for . For an arbitrary outer unary polynomial (P), replace the coordinates of one at a time. At coordinate (i), the map
is a unary polynomial over (R), so the replacement preserves final-state membership. Thus .
If is any congruence on (R) saturating , then implies for every unary polynomial (P), and saturation forces equal final-state membership. Therefore , proving maximality.
Part 3 now follows immediately from the substitution identity and equality of the two context families. The evaluation map is a surjective homomorphism onto (R), and Part 3 says exactly that the inverse image of is . The induced quotient map is therefore a bijective homomorphism, proving Part 4.
CRD-TA-2: sharp finite distinguishing-depth bound
Statement
Let . If two reachable states are not -equivalent, then a genuine one-hole tree context of hole-depth at most (n-2) distinguishes them. The bound is attained for every .
Proof of the upper bound
Let (E_h) identify states receiving the same final/nonfinal observation under every context of hole-depth at most (h). Thus (E_0) is the partition by membership in . Let an elementary translation be one parent operation with the hole in one coordinate and reachable constants in all other coordinates. Then
[ E_{h+1}
E_h\cap \bigcap_u u^{-1}(E_h), ]
where (u) ranges over elementary translations. If (E_{h+1}=E_h), the relation is stable under every elementary translation, hence under every unary polynomial, so .
If all reachable states have the same finality, no context distinguishes any pair. Otherwise (E_0) has two blocks. Every nonstable round strictly increases the number of blocks, which can never exceed (n). Hence stability is reached by round (n-2), and every inequivalent pair has a distinguishing context of depth at most (n-2).
Sharpness family
For , take constants , one unary symbol (u), states , transitions
and final set ({n-1}). The states (0) and (1) agree under for every (h<n-2), while sends (1) to the final state (n-1) and (0) to the nonfinal state (n-2). Their least distinguishing depth is exactly (n-2).
Hostile audit: unreachable parameters are not tree contexts
The theorem fails if is silently replaced by unary polynomials carrying arbitrary constants from all of (Q).
Take , , (Q={p,q,r}), and (F={r}). Put
and define every binary transition to be (p), except
Then (R={p,q}), so every ground tree and every genuine context applied to a reachable hole value evaluates inside (R) and is rejected. Thus under genuine tree contexts. But the arbitrary-state polynomial
sends (p) to the final state (r) and (q) to the nonfinal state (p). It therefore distinguishes two reachable states using an unrealizable sibling parameter. Three states are minimal for this particular discrepancy because it requires two distinct reachable states and at least one unreachable parameter.
This is a representation/definition obstruction, not a limitation of tree automata. The exact repair is to trim to the reachable subalgebra or explicitly restrict polynomial parameters to reachable states.
Evidence and status audit
- Internal correctness: CRD-TA-1 and CRD-TA-2 have complete written proofs in the stated deterministic, complete, bottom-up model.
- Finite corroboration:
tree_context_baseline_check.pyverifies the sharpness family for and the three-state hostile witness. - External dependency: None; the promoted claims do not depend on an external theorem, implementation, or paper.
- Representation obstruction: The hostile witness refutes only the use of arbitrary unreachable state parameters as substitutes for genuine tree contexts.
- Novelty: Not assessed. These are standard-style syntactic-algebra and minimization facts plus an elementary boundary witness; no novelty claim is made.
Run 1 handoff obligations — resolved by Run 2
- The independent SAT choice baseline has now been completed.
- The fixed variable order, explicit 3CNF family, semantic residuals, and reduced ordered-BDD states are specified below with exact size statements.
- Do not infer that context families in other models must be generated by their reachable runtime states; the reachability repair is model-specific until independently reproduced.
Run 2 target
For one explicit 3CNF family and one fixed variable order, compare exactly:
- raw prefix-assignment histories;
- future-equivalence classes defined by residual Boolean functions; and
- states in the reduced ordered binary decision diagram.
Then test whether the count of residual CNF formulas is an intrinsic substitute for the semantic residual count.
Native SAT definitions
For , let
[ \Phi_m
\bigwedge_{i=1}^m . ]
Every clause has exactly three distinct literals, and the fixed variable order is
For a prefix assignment , , define its semantic residual function by
[ \rho_\alpha
\Phi_m. ]
Two length-(k) histories are future-equivalent when their residual Boolean functions are equal on every assignment to the remaining variables.
The raw history object is the full binary prefix-assignment tree. The canonical decision representation is the reduced ordered BDD (ROBDD) for the displayed variable order, with the usual two reductions: merge isomorphic nodes and delete a test whose low and high successors agree.
CRD-SAT-1: exact prefix-fold theorem
Statement
For every and every cut :
- there are exactly (2^k) raw length-(k) assignment histories;
- those histories induce exactly two semantic residual functions;
- one residual class contains the unique history (1^k), and the other contains the remaining (2^k-1) histories;
- the ROBDD has exactly two states reachable after consuming a length-(k) (x)-prefix, with the same multiplicities.
The entire raw (x)-prefix history tree through depth (m) has (2^{m+1}-1) nodes. The full ROBDD has exactly (m+2) nonterminal nodes and (m+4) nodes including its two terminals. Across all (x)-prefix cuts, the set of reached ROBDD roots has exactly (m+2) members.
Residual proof
The formula has the Boolean identity
[ \Phi_m
z\vee w\vee\bigwedge_{i=1}^m x_i. ]
Indeed, if is true then every clause is true; if it is false, all clauses are true exactly when every (x_i) is true.
For a length-(k) prefix, define
[ A_k
z\vee w\vee\bigwedge_{i=k+1}^m x_i, \qquad B=z\vee w, ]
using the empty-conjunction convention (A_m=1). If , then . If any assigned (x_i) is zero, one clause reduces to , which implies every remaining clause, so . Thus there are at most two residuals with the stated multiplicities.
They are distinct. For (k<m), set (z=w=0) and every unassigned (x_i=1): then (A_k=1) but (B=0). For (k=m), (A_m=1) while (B(0,0)=0). This proves Parts 1–3.
ROBDD proof and exact size
Construct nodes . Node (X_i) tests (x_i), has low successor (Z), and high successor (X_{i+1}), where (X_{m+1}) denotes terminal (1). Node (Z) tests (z), with low successor (W) and high successor (1). Node (W) tests (w), with low successor (0) and high successor (1).
Induction from (X_m) upward shows that (X_i) computes
so (X_1) computes . Every edge respects the fixed order. No node has identical low and high successors, and nodes with different tested variables cannot be merged. Hence the graph is reduced and has exactly (m+2) nonterminals, or (m+4) nodes with terminals.
After an (x)-prefix , the unique all-one history reaches (X_{k+1}) (or terminal (1) when (k=m)); every other history takes a low edge at its first zero and reaches (Z), skipping the remaining (x)-tests. This gives exactly two cut states and the same (1) versus (2^k-1) multiplicity profile as the semantic residuals.
The raw binary prefix tree has nodes. The ROBDD roots reached over all these cuts are precisely
which has (m+2) members.
CRD-SAT-F1: syntactic residual count is representation-dependent
At a fixed cut (k), direct substitution into the CNF yields different exact counts under three ordinary representation conventions:
- Origin-labelled clause occurrences: each zero position leaves a provenance-distinct copy of , so all (2^k) histories have distinct residual encodings.
- Unlabelled duplicate-preserving multisets: only the number of zero assignments matters, giving (k+1) encodings.
- Duplicate deletion: the residual records only whether at least one copy of exists, giving two encodings for .
All non-all-one histories nevertheless denote the same Boolean function . Therefore “the number of residual formulas” is not intrinsic until syntax, duplicate policy, provenance, and semantic quotient are fixed. The ROBDD theorem concerns semantic residual functions and a named canonical representation; it does not license switching among these syntactic counts.
Run 2 evidence and status audit
- Internal correctness: CRD-SAT-1 has a complete all-(m) proof in the stated monotone 3CNF family and fixed order.
- Finite corroboration:
sat_residual_obdd_check.pyexhaustively checks , including truth-table residual equality, ROBDD reduction, node counts, cut multiplicities, and all three syntactic conventions. - External dependency: None; neither theorem nor audit relies on an external paper or implementation.
- Representation obstruction: CRD-SAT-F1 refutes only an unspecified syntactic residual-count doctrine. It does not refute semantic residuals, ROBDD canonicity under a fixed order, or SAT algorithms.
- Refutation: The claim that “residual formula count” is representation invariant is false on this family.
- Novelty: Not assessed; the construction is an elementary calibration family and no novelty claim is made.
Run 2 handoff obligations — resolved by Run 3
- The bounded comparison of tree-context equivalence and ordered SAT-prefix future-equivalence has now been completed below.
- Assignment extension supplies a congruence law only in a graded/many-sorted prefix system. Erasing prefix grade is not sound.
- Do not promote the exponential raw-history collapse into a SAT hardness, DPLL, CDCL, proof-size, or complexity lower bound; this family is easy, monotone, symmetric, and chosen for exact calibration.
Run 3 target
For an arbitrary Boolean function with a fixed variable order, determine whether future-equivalence of ordered prefix assignments is the largest terminal-observation-saturating congruence under next-bit assignment. Then hostilely test whether prefix length (equivalently, the identity of the next variable) can be erased from the runtime state or hidden inside a reduced OBDD node.
Native ordered-prefix definitions
Fix and the order . For each , let
[ H_k={0,1}^k. ]
These are distinct grades. For , the typed next-variable extension is
Only (H_n) carries the terminal observation
For same-grade prefixes define
A terminal-observation-saturating graded congruence is a family , with each an equivalence relation on (H_k), such that
and
CRD-SAT-2: greatest graded-congruence theorem
Statement
For every Boolean function (f) and fixed variable order:
is the largest, by relation inclusion, terminal-observation-saturating graded congruence on the ordered prefix system.
It is characterized backward by
and, for (k<n),
The quotient transitions
are well-defined. Backward refinement by the ordered pair of child classes constructs the canonical layered residual quotient.
Proof
Suppose . For either bit (b) and every ,
because is a completion quantified over in the definition of . Hence extension compatibility holds. At grade (n), the only completion is the empty word, so is exactly equality of terminal observation.
For maximality, let be any terminal-observation-saturating graded congruence and assume . Repeated compatibility with the successive bits of an arbitrary completion gives
Terminal saturation then yields . Since this holds for every completion, , and therefore at every grade.
For the backward recursion, every nonempty completion is uniquely or . Equality on all completions is therefore equivalent to equality after both one-bit extensions on every remaining suffix. This also makes quotient transitions well-defined and gives the stated backward partition-refinement construction.
CRD-SAT-F2: grade erasure destroys append compatibility
One might compare prefixes of different lengths by lifting every residual to the full (n)-cube:
ignoring the first (k) coordinates of the argument. This equality is not a congruence for an untyped append-bit operation.
For the two-variable function (f(x_1,x_2)=x_2),
But appending (0) to both prefixes gives
The same bit label assigns (x_1) at grade (0) and (x_2) at grade (1). Thus prefix grade, a typed next-variable label, or an equivalent external schedule is essential.
CRD-SAT-F3: ROBDD node identity is not a uniform next-bit state
The Run 2 family gives a representation-level form of the same obstruction. For , its ROBDD node (Z), computing , is reached both after (x_1=0) at grade (1) and after a full (x)-prefix containing a zero at grade (m). At grade (1), the next bit assigns (x_2), which is skipped below (Z), so either bit leaves the root at (Z). At grade (m), the next bit assigns (z), so bit (0) moves to the (w)-node and bit (1) moves to terminal (1).
Consequently no grade-free update function
can simulate ordered sequential assignments in both situations. A correct runtime state must include the grade/schedule, receive variable-labelled updates, or obtain the position from an explicit external clock. ROBDD node identity captures future Boolean behavior but not, by itself, which variable the next unlabelled bit assigns.
Run 3 evidence and status audit
- Internal correctness: CRD-SAT-2 has a complete self-contained proof for every Boolean function and fixed variable order.
- Finite corroboration:
sat_graded_congruence_check.pyexhaustively checks all 65,812 Boolean functions of arity one through four, including 5,576,020 recursive prefix-pair tests and 3,905,720 compatible-extension tests. - External dependency: None.
- Representation obstruction: CRD-SAT-F3 applies to a node-only, unlabelled-bit update interface. It does not challenge ROBDD canonicity or ordinary variable-labelled ROBDD traversal.
- Refutation: CRD-SAT-F2 refutes cross-grade lifted-residual equality as an untyped append congruence.
- Novelty: Not assessed; no novelty claim is made.
Current obligations after Run 3
- The tree and SAT cases now share a precise kernel/maximal-congruence pattern, but the tree case is single-sorted while the SAT prefix system is graded. Do not erase that difference or promote a universal abstraction yet.
- Fix one deterministic one-pass streaming model and determine whether its suffix-continuation equivalence is single-sorted or length-graded, including the exact status and cost of any clock/position coordinate.
- Do not infer a SAT lower bound, an OBDD update lower bound for richer interfaces, or a general theorem about all branching programs.
Run 4 target
Fix one deterministic one-pass streaming model and determine whether its suffix-continuation quotient is genuinely single-sorted or secretly graded by prefix length. Account explicitly for the state cost of any position/clock coordinate, and hostilely test the inference that constant quotient width at every individual cut implies a constant-size uniform stream processor.
Native uniform streaming model
A deterministic Moore stream processor is a tuple
where (Q) is a finite state set, , is a stationary one-symbol update, and is an output map. The current output is observable after every finite prefix. Extend to words in the usual way and put
For reachable states define suffix-continuation equivalence by
Equivalently, histories are equivalent when (M(uw)=M(vw)) for every common suffix (w). A transition congruence is an equivalence relation on reachable states satisfying
It saturates output when implies .
CRD-STR-1: uniform streaming quotient theorem
Statement
For every deterministic Moore stream processor:
is the largest output-saturating transition congruence on the reachable states;
the history relation
is a single-sorted right congruence on ; and
the reachable quotient by this relation is the unique minimal Moore stream processor up to isomorphism.
Proof
If , then taking gives . For every input symbol (a) and suffix (w),
so . Thus is an output-saturating transition congruence.
Conversely, let be any such congruence and suppose . Repeated transition compatibility gives for every (w). Output saturation then makes their outputs equal, so . Hence , proving maximality. The same calculation on histories proves right-congruence.
The quotient is a reachable Moore processor with one state per distinct suffix behavior. Every exact reachable implementation maps histories with the same reached implementation state to the same suffix behavior, so it has at least as many states. The quotient itself attains that number, proving minimality and uniqueness by the residual-state correspondence.
The quotient is single-sorted for a substantive reason: every letter has the same update meaning at every time, every suffix is legal after every state, and output can be demanded after every prefix. No external position schedule appears in the definition.
CRD-STR-2: exact cost of internalizing a positional clock
For , define the binary streaming task
where positions are one-indexed and means that the requested bit has not yet arrived. Thus the processor reports before position (j) and thereafter retains and reports the bit observed at position (j).
Statement
For every :
at each fixed prefix length, the future-equivalence quotient has width one before position (j) and width two from position (j) onward;
across all prefix lengths, (G_j) has exactly (j+2) single-sorted suffix residuals;
every exact stationary Moore stream processor for (G_j) needs at least (j+2) reachable states, and a (j+2)-state processor exists;
consequently the exact finite-state memory lower bound is
bits under ordinary state counting; and
for pre-clock residuals at lengths , the shortest distinguishing suffix has length exactly . The maximum shortest distinguishing length is (j-1).
Proof
If (|u|=i<j), the value of every continuation depends only on (i), not on the symbols already seen: the (j)-th symbol has not arrived. Call this residual (P_i). If , every continuation preserves the stored value (u_j), giving residuals (Z) and (O). Hence there are at most
or (j+2), global residuals. At one fixed grade there is only one (P_i), or the two stored-bit residuals, proving the width statement.
All global residuals are distinct. The empty suffix separates every (P_i) from (Z) and (O), and separates (Z) from (O), because their current outputs are . For , use
Starting from , this suffix reaches position (j) and produces output (0). Starting from (P_i), the total length is , so the output remains . No shorter suffix can distinguish them because both computations still have length below (j). This proves both exact residual count and exact distinguishing length.
The residual transition graph itself supplies the upper bound:
with (Z) and (O) absorbing under both inputs. It has (j+2) states and computes (G_j). CRD-STR-1 says no exact implementation can have fewer than the number of residuals, proving the lower bound. The bit bound follows by encoding (j+2) distinguishable states.
Hostile audit: constant per-cut width does not give constant uniform state
The family (G_j) refutes the inference
Every cut has width at most two, but sewing those cuts into one stationary processor requires exactly (j+2) states. A layer-local representation can use one bit after the target and no data bit before it only because the grade is supplied externally. The single-sorted processor must internalize time-to-target, producing the chain .
This is an exact uniformization cost, not a claim that all clocks require linear states. It also depends on the fixed model boundary:
- output is observable after every prefix, including the value;
- input letters are unlabelled bits with stationary meaning;
- the position (j) is fixed in the machine, not supplied as a query;
- an external counter is charged rather than declared free.
If output is inspected only at one prescribed terminal horizon, histories of different lengths no longer share the same continuation domain and the problem becomes graded again. If timestamped symbols or a free position counter are supplied, the clock cost has been moved into the interface rather than eliminated.
Algebraic, geometric, and comparative content
The quotient carries the canonical right action of the free monoid ({0,1}^*). For (G_j), its directed geometry is a length-(j) clock chain that forks into two absorbing stored-value states. The suffix metric is intrinsic to the stream interface: the distance between two residuals is the least suffix length that separates their outputs. On pre-clock states with , it is exactly , and the maximum over all pairs is (j-1).
The comparison with the prior cases is now exact:
| Model | Native continuation | Quotient type | Missing-coordinate failure |
|---|---|---|---|
| Bottom-up tree automaton | One-hole tree context | Single-sorted ranked-algebra congruence | Unreachable sibling parameters create unrealizable tests |
| Fixed-order SAT prefix | Remaining ordered assignment | Graded congruence | Erasing next-variable grade breaks append compatibility |
| Uniform Moore stream | Arbitrary input suffix | Single-sorted right congruence | Treating an external grade as free hides up to (j) clock states |
The SAT and streaming results are therefore not contradictory. In SAT, the same unlabelled bit denotes different variables at different grades. In the uniform stream model, every input symbol always denotes the same update. A positional dependency is consequently visible in the residual behavior and becomes ordinary state rather than an external type.
Run 4 evidence and status audit
- Internal correctness: CRD-STR-1 and CRD-STR-2 have complete self-contained proofs in the stated Moore streaming model.
- Finite corroboration: 'streaming_position_quotient_check.py' independently minimizes the explicit processors for , checks all 47,904 unordered state pairs, and verifies the exact distinguishing-depth profile.
- External dependency: None.
- Representation obstruction: Constant layer width does not imply constant uniform stationary state when the layer/clock is not free.
- Refutation: The grade-width-to-uniform-state inference is false on (G_j).
- Novelty: Not assessed; no novelty claim is made. CRD-STR-1 is a standard Moore/Myhill--Nerode-style fact; the positional family is used as an exact comparative calibration.
Current obligations after Run 4
- Do not transfer the (j+2) lower bound to terminal-only, timestamped, query-indexed, randomized, or non-finite-state streaming models.
- The three completed cases now force a precise distinction between an intrinsic single-sorted continuation action and a graded system whose operation meanings vary with position. This is evidence for a comparative criterion, not yet a universal abstraction.
- The next bounded primary case should be a finite terminating rewriting system: test whether disjoint-redex commuting squares account for endpoint- equal derivations, and isolate the smallest overlapping critical pair when they do not.
Run 5 target
In one finite terminating rewriting system, determine exactly how much derivation branching is removed by commuting independent redex contractions. Test whether disjoint-redex squares generate all identifications between complete derivations with the same source and normal-form endpoint. If not, isolate the first overlap obstruction and the additional local relation that repairs path connectedness.
Native finite string-rewriting model
Let the alphabet be ({a}) and take the one-rule semi-Thue system
Every step strictly decreases word length, so (R) terminates. Every nonempty word (a^n) reduces to the unique normal form (a), so the system is confluent at the level of terms.
A rewrite step is occurrence-labelled: from (a^k), it records which adjacent positions (i,i+1), , are contracted. The semantic state remains the underlying word; occurrence and provenance information belongs to the derivation history.
Initially label the occurrences . During a history, each current (a) represents a contiguous interval of original occurrences. A contraction merges two adjacent intervals.
Let be the complete occurrence-labelled derivations
Define on to be generated by swapping two consecutive contractions when, immediately before the first contraction, both redexes are simultaneously present and have disjoint provenance intervals. The two orders then form the usual commuting diamond, with residual positions adjusted after the first length decrease.
Explicitly, if the first contraction has position (p) in (a^m) and the second has position (q) in (a^{m-1}), the contractions are disjoint exactly when
Their swaps are
and
The cases (q=p-1) and (q=p) consume the block created by the first contraction and are overlapping rather than independent.
CRD-RW-1: exact three-level history classification
Statement
For every :
the number of raw complete derivations is
mapping a contraction to an ordered binary node whose children are the two merged blocks induces a bijection
consequently,
disjoint squares fail to generate equality of complete-derivation endpoints first at (n=3); and
if the symmetric length-two overlap relation
is closed under prehistory and posthistory composition and under word and derivation contexts, then it joins all (C_{n-1}) square classes of complete reductions. Thus the exact hierarchy of counts is
for raw histories, disjoint-square classes, and complete-history classes after the contextual overlap relation, respectively.
Proof: raw histories
At word length (k), there are exactly (k-1) adjacent occurrences of (aa). Every complete derivation makes one choice at each length . Therefore
Equivalently, label the (n-1) original gaps between occurrences. Every contraction deletes exactly one surviving gap, and every order of deleting the gaps is legal. Thus complete histories are in bijection with (S_{n-1}).
Proof: merge trees and disjoint squares
Given a complete history, represent each original occurrence by a leaf. When two adjacent current blocks are contracted, add a parent whose ordered children are those blocks. The final result is a planar full binary tree (T) with leaves in their original order.
Fix such a tree (T). Order its internal vertices by dependency: (u<v) when (u) is a proper descendant of (v). A history produces (T) exactly when its chronological contraction order is a linear extension of this poset. Indeed, both child blocks must be completed before their parent can be contracted. Conversely, in any linear extension, when an internal vertex is scheduled its two child intervals have already collapsed and remain adjacent, so the contraction is legal.
Any two linear extensions of a finite poset are connected by swaps of adjacent incomparable elements. For completeness, take the first element of a target extension, locate it in another extension, and bubble it leftward. Every crossed element must be incomparable with it; then continue inductively on the remaining poset.
In a planar binary tree, incomparable internal vertices have disjoint leaf intervals. Thus the adjacent incomparable swaps are exactly the legal disjoint-redex squares. Conversely, a disjoint swap changes only the schedule, not the parent-child merge tree. Therefore the fibres of the history-to-tree map are precisely the -classes.
Every planar full binary tree is executable by contracting its internal vertices bottom-up, so the map is onto. Such trees satisfy the recurrence
whose values are the Catalan numbers . This proves Parts 2 and 3.
Proof: smallest overlap and contextual repair
For (n=1,2), there is only one complete derivation. At (n=3), the two histories are
Their first redexes overlap at (a_2), so neither path contains a pair of consecutive disjoint contractions and no square move applies. Both underlying paths nevertheless end at the same normal form (a). Hence (n=3) is the smallest source length in this system at which disjoint-square completeness fails.
Relation (RW.2) is specifically the equality between the two length-two normalizing paths from (aaa) to (a), not an equality between their length-one prefixes from (aaa) to (aa). Its contextual closure acts on any three already-collapsed adjacent nonempty blocks (A,B,C) and changes
This is exactly one local rotation of a planar binary tree. These rotations connect all such trees: whenever the root's left subtree is composite, rotate (((A,B),C)) to ((A,(B,C))), strictly decreasing the number of leaves in the root's left subtree. Once that subtree is a leaf, apply the same procedure recursively to the right subtree. Every tree is thereby connected to the right comb. Combining rotations between tree shapes with disjoint swaps between schedules proves Part 5.
The gap-permutation view gives the same conclusion. Two consecutive gap deletions are either disjoint, in which case their adjacent transposition is a square, or share one current block, in which case their transposition is an instance of (RW.2). Hence the augmented move graph on histories is the adjacent-transposition graph of (S_{n-1}), and is connected.
Hostile audit
Occurrence erasure
If a derivation is represented only as a sequence of underlying words, then every complete history projects to
In particular, the two (a^3) histories become the same term sequence. That representation cannot express redex independence, overlap, the factorial raw count, or the Catalan quotient. Occurrence labels are therefore essential to this history theorem. Provenance must remain a history annotation rather than part of the semantic endpoint; otherwise different trees would cease to have equal endpoints by definition.
Exact boundary of the overlap relation
A direct one-step cell identifying the two parallel contractions would be stronger than (RW.2) and would also identify partial histories. CRD-RW-1 instead uses the length-two normalizing-path cell, which generates tree rotations for complete reductions but does not identify the two one-step partial paths. The connectivity conclusion is therefore restricted to complete reductions .
Connectivity also uses the symmetric relation generated by (RW.2). If only the rightward orientation is allowed, every tree reaches the right comb but the directed graph is not strongly connected.
Confluence is weaker than history coherence
The self-overlap at (aaa) is trivial from the ordinary term-level confluence view: either first contraction produces the same word (aa). It is nontrivial only after derivation occurrences are retained. Thus CRD-RW-1 does not challenge standard confluence of (R); it separates endpoint confluence from generation of history equivalence by independent commutations.
Connectedness is not higher coherence
Adding the contextual overlap relation proves only that the space of complete histories is connected. It does not prove uniqueness of connections or contractibility. Already at (n=4), the five Catalan tree classes and their local rotations form a pentagon loop. A higher relation would be needed to fill that loop; no such relation is established here.
Algebraic, geometric, and comparative content
The result exposes a genuine combinatorial path geometry:
- rewrite steps are occurrence-labelled edges;
- independent consecutive steps support commuting square 2-cells;
- square-homotopy classes retain a planar binary merge tree;
- the overlapping normalizing-path relation induces local tree rotations;
- the augmented history graph is the adjacent-transposition graph of (S_{n-1});
- the first unaddressed higher relation is the (n=4) pentagon.
This adds a layer absent from the earlier behavioral quotients. In the tree, SAT, and streaming cases, the promoted quotient identified presentations with the same permitted future observations. Here all complete paths already share one normal-form observation, yet the independence calculus retains (C_{n-1}) history classes. Endpoint behavior, causal scheduling, and overlap shape are therefore distinct quotients.
Run 5 evidence and status audit
- Internal correctness: CRD-RW-1 has a complete self-contained proof in the occurrence-labelled unary string-rewriting model.
- Finite corroboration: rewriting_disjoint_square_check.py enumerates all 46,234 complete histories for , verifies the factorial raw counts, Catalan square-component counts, exact merge-tree fibres, direct augmented-history connectivity, and connectivity of the tree-rotation graph.
- External dependency: None.
- Representation obstruction: Word-sequence-only paths erase redex occurrences and make the history distinction invisible.
- Refutation: Disjoint-redex commuting squares do not generate all endpoint-equal complete derivations; (a^3) is the first witness within this fixed system.
- Novelty: Not assessed; no novelty claim is made. Catalan bracketings, adjacent swaps of linear extensions, gap permutations, and binary-tree rotations are standard-style combinatorics used here as an exact calibration.
Current obligations after Run 5
- Do not identify term confluence, square-connected scheduling, and overlap-relation connectedness; they are three different equivalence levels.
- Do not call the contextual overlap relation coherent merely because it connects all complete histories.
- The sharpest next bounded target is the (a^4) pentagon: determine exactly whether its loop survives all disjoint-square relations among 2-cell moves, and state the minimal higher relation needed to fill it.
Run 6 — The first higher coherence obstruction is exactly the (a^4) pentagon
Run time: 2026-08-22 17:15 MDT
Selected model: occurrence-labelled unary string rewriting
Single bounded target: determine whether the (a^4) rotation pentagon is already null under the relations admitted in Run 5, and if not, identify the minimal higher relation required to fill it.
Native dimensional convention
Continue with . Rewrite contractions are 1-cells. A disjoint-redex commuting square or a contextual length-two overlap comparison is a 2-cell between complete derivations. A relation between composites of such 2-cells is therefore a 3-cell.
For finite checking and path geometry, form a transformation graph whose vertices are complete derivations and whose edges are the symmetric generating 2-cell moves. A 3-cell is represented there by a two-dimensional face attached along a loop. This dimension shift is only a way to visualize transformations between derivations; it does not turn rewrite steps themselves into vertices.
Exact six-history graph
Label the three original gaps in (a_1a_2a_3a_4) by (1,2,3). A complete history is the order in which these gaps are deleted, hence a permutation in (S_3). Let denote the history with deletion order . Swapping two consecutive deletions gives either a disjoint-square move or an overlap move. The complete transformation graph is
Exactly one edge is disjoint:
[ h_{132}-h_{312}. ]
It exchanges the independent formation of blocks ((12)) and ((34)). The other five edges are contextual instances of the (aaa) overlap relation. Thus the raw graph is exactly the Cayley graph of (S_3) under adjacent transpositions, namely the six-cycle (C_6).
Square quotient and the pentagon
The merge trees of the six histories are
Contracting the unique disjoint edge identifies the two schedules of the balanced tree and turns (RW.3) into the five-cycle
This is the rotation pentagon on the five planar binary trees with four ordered leaves.
For the coherence audit, let be the derived interchange complex. Its vertices are complete histories modulo disjoint rewrite squares, and its undirected edges are contextual overlap rotations. Attach a square 2-cell only when two distinct coinitial rotations are residually independent: each has a residual after the other, both application orders are legal, and the composites reach the same fourth tree without a critical overlap of their active constructor occurrences. This includes a rotation nested inside an opaque metavariable block of another; it does not attach a face merely because two longer paths share endpoints. In this dimension-shifted complex, a square 2-cell represents a 3-dimensional interchange relation in the original rewrite hierarchy.
Theorem CRD-RW-2
For complete occurrence-labelled reductions of (a^4) in :
the graph generated by disjoint and overlap 2-cell moves is (C_6);
quotienting by disjoint-square scheduling gives (C_5);
has no 2-cells, so the loop survives cancellation of inverse moves and all residually independent-move interchange relations;
before any new pentagon filler, the raw shifted graph and have infinite-cyclic fundamental group and first integral homology:
one arity-four 3-cell equating the two directed rotation composites from ((((AB)C)D)) to (A(B(CD))) is necessary and sufficient to make this component simply connected;
(a^4) is the smallest source in this system with a higher loop.
Proof
There are (3!=6) histories. A transformation edge swaps two adjacent entries of the gap permutation. The adjacent-transposition Cayley graph of (S_3) is connected, every vertex has degree two, and has six edges, so it is (C_6). Direct residual-support inspection gives the edge classification above: only the swap between (132) and (312) forms the left and right pairs in the opposite order without causal overlap.
Run 5 proved that disjoint-square classes are merge-tree fibres. At arity four, four trees have one history and the balanced tree has the two histories (h_{132},h_{312}). Contracting that single graph edge produces a connected graph with five vertices and five edges, all of degree two, hence (C_5).
Backtracking contributes only the usual cancellation of an edge followed by its inverse and cannot contract the simple cycle. An interchange relation between two residually independent generating 2-cell moves would appear as a nondegenerate four-cycle: apply the two moves in either order and compare the common fourth vertex. Neither (C_6) nor its quotient (C_5) contains a four-cycle.
There is also a structural arity bound. A tree rotation changes two active binary-constructor occurrences; its three metavariable subtrees are opaque. Two independent rotations have disjoint active-constructor sets. If their sites are in disjoint subtrees, they require at least six leaves. If one lies inside an opaque metavariable of the other, it requires three leaves for the inner site plus two other nonempty outer blocks, hence at least five leaves. At four leaves there are only three internal constructors, so two two-node active sets cannot be disjoint. Therefore none of the already-admitted interchanges supplies a face whose boundary can reduce (RW.3).
A connected graph with (V) vertices and (E) edges has free fundamental group of rank (E-V+1). Both (C_6) and (C_5) have rank one. With the displayed 1-skeleton fixed and no new vertices or edges, zero new higher cells cannot kill this generator. Attaching one disk once around the primitive simple cycle has degree , makes the component a disk, and kills both and (H_1). Thus one cell is necessary and sufficient in this fixed presentation. This is minimality by number of new cells, not uniqueness under changes of generators or Tietze-style presentation changes.
For , the augmented history graphs are respectively a point, a point, and one edge. They contain no loop. Thus arity four is minimal.
The higher relation in raw and quotient form
Write
for the overlap 2-cell, with contextual whiskering understood, and write for the disjoint square exchanging the order of forming (AB) and (CD). In the raw occurrence-history presentation, the required 3-cell has hexagonal boundary and equates two three-move composites:
After quotienting the independent scheduling edge , (RW.5) becomes the pentagon equation
Thus the raw hexagon and quotient pentagon are two presentations of the same first higher obstruction. The disjoint square is not itself the pentagon filler; it is one boundary edge that disappears in the schedule quotient.
Hostile audit
- Connectivity is not coherence. Run 5's overlap cells make the history graph connected, but Run 6 computes . Existence of a transformation between histories does not imply uniqueness up to the existing relations.
- Raw and quotient boundaries differ. Calling the raw loop a pentagon silently treats one disjoint scheduling move as equality. Before that quotient the correct boundary is a hexagon.
- Disjoint leaf support is not the general interchange criterion. With five leaves, rotate the inner (((AB)C)) inside ((((AB)C)D)E)), and independently rotate the outer (((X D)E)) while treating (X) as opaque. Both orders yield ((A(BC))(DE)), although the leaf supports are nested rather than disjoint. Independence must be expressed by residual commutation or disjoint active-constructor occurrences. This does not revive an arity-four square: (C_5) has no four-cycle.
- A one-way orientation does not supply the filler. Both directed paths in (RW.6) point from the left comb to the right comb, but merely having two normalizing paths does not identify them, and the pentagon is not a directed cycle. Their equality is new data.
- Homology is sufficient here only because the underlying space is a graph with one cycle. In more complicated dimensions, killing (H_1) need not prove simple connectedness.
- No general coherence theorem is claimed. Contextual instances of one pentagon may or may not suffice for all (a^n); that is a separate target.
Structure exposed
This run establishes a genuine low-dimensional combinatorial structure:
The algebraic content is associativity at the level of transformations; the geometric content is the pentagonal 1-skeleton associated with four-factor associativity. The face is not assumed as part of that identification: its absence is the obstruction, and attaching it is the new higher relation. The result is model-native because every vertex and edge was derived from occurrence-labelled contractions and residual moves before the associahedral comparison was made.
Run 6 evidence and status audit
- Internal correctness: CRD-RW-2 has a complete finite classification and graph-theoretic proof in the stated (a^4) component.
- Finite corroboration:
rewriting_pentagon_coherence_check.pyverifies the (C_6) raw graph, unique disjoint edge, (C_5) quotient, Betti number one, disappearance of (H_1) after one face, and absence of smaller loops. As a hostile definition check, it also finds three commuting rotation squares at five leaves while a disjoint-leaf-support test finds none. - External dependency: None.
- Representation obstruction: The tree quotient hides the disjoint edge; the raw boundary is hexagonal even though its schedule quotient is pentagonal. Leaf-support disjointness also undercounts nested interchange.
- Refutation: Connectedness under overlap rotations does not imply history coherence; disjoint leaf support does not characterize all independent rotations.
- Novelty: Not assessed; no novelty claim. The pentagon and associahedron are standard-style structures; the contribution here is their exact role in the fixed CRD calibration.
Current obligations after Run 6
- Do not promote the arity-four filler to a global coherence theorem.
- Distinguish raw occurrence-history coherence from coherence after the disjoint-scheduling quotient.
- At (a^5), use residual commutation or active-constructor support rather than leaf-support disjointness; the latter already misses three squares.
- The sharpest next bounded target is (a^5): enumerate the 14 tree vertices, square and pentagon faces, prove that inventory complete, and test whether those faces make the rotation complex simply connected without importing a general associahedron theorem.
Run 7 — The five-leaf square–pentagon complex is a 2-sphere
Run time: 2026-08-22 17:57 MDT
Selected model: occurrence-labelled unary string rewriting after the disjoint-scheduling quotient
Single bounded target: enumerate the native residual-interchange squares and contextual pentagons on five-leaf merge trees, prove that this face inventory is complete, and determine simple connectedness directly.
Native complex
Let (K_5) have one vertex for each planar full binary merge tree on ordered leaves (1,2,3,4,5), one edge for each contextual overlap rotation , one square face for each pair of residually commuting rotations, and one pentagon face for each contextual instance of the primitive arity-four coherence cell proved in Run 6. The vertices already represent complete reductions modulo disjoint scheduling; (K_5) is not the raw 24-history graph.
For a tree (T), a proper cluster is the leaf interval ([i,j]), , occurring as the leaf set of a non-root internal subtree. There are nine possible proper intervals:
For each interval (I), let (F_I) be the subgraph of rotations preserving that cluster.
Exact face inventory
If (|I|=r), a tree containing (I) decomposes uniquely into a binary tree on the (r) leaves inside (I), and a binary outer tree on the (6-r) blocks obtained by collapsing (I) to one opaque leaf. Hence
For (r=2), the inner factor is fixed and the outer four-block trees rotate around the Run 6 pentagon. For (r=4), the outer factor is fixed and the inner four-leaf trees rotate around a pentagon. These give six pentagons:
[ F_{[1,2]},F_{[2,3]},F_{[3,4]},F_{[4,5]},F_{[1,4]},F_{[2,5]}. ]
For (r=3), both factors have two bracketings. The inner rotation and outer rotation commute because the inner triple is treated as an opaque metavariable by the outer move. Their product is a square. These give exactly
[ F_{[1,3]},F_{[2,4]},F_{[3,5]}. ]
This inventory is complete. A contextual arity-four pentagon on five leaves either has one two-leaf metavariable and acts on all five leaves, giving a unique size-two interval, or lies inside a four-leaf context with one leaf outside, giving a unique size-four interval. Two residually independent rotations use disjoint pairs of active binary-constructor occurrences. Five leaves have four binary constructors, so the pairs exhaust them and leave a unique three-leaf subtree treated internally by one move and opaquely by the other. Thus every native interchange is one of the three size-three faces.
Theorem CRD-RW-3
The five-leaf complex (K_5) has
[ (V,E,F)=(14,21,9), ]
with six pentagons and three squares. Every rotation edge lies in exactly two faces, and
Moreover, (K_5) is simply connected and, more strongly,
Its cellular homology is
Edge incidence
A five-leaf binary tree has three proper internal clusters. One rotation changes exactly one cluster and preserves the other two. Consequently its two endpoint trees share exactly two proper intervals. The corresponding edge lies in precisely the two faces indexed by those intervals.
Direct collapse proof
Remove the interior of pentagon (F_{[1,2]}). In the remaining complex, perform elementary face–free-edge collapses in this order:
At each stage the named face contains an edge incident to no other remaining face. An explicit certificate is:
| Collapsed face | Free rotation edge |
|---|---|
| ([1,3]) | ((((AB)C)D)E) - (((AB)C)(DE))) |
| ([1,4]) | ((((AB)C)D)E) - (((A(BC))D)E)) |
| ([2,3]) | ((((A(BC))D)E) - ((A((BC)D))E)) |
| ([2,4]) | (((A((BC)D))E) - ((A(B(CD)))E)) |
| ([2,5]) | ((A(((BC)D)E)) - (A((B(CD))E))) |
| ([3,4]) | ((((AB)(CD))E) - ((A(B(CD)))E)) |
| ([3,5]) | (((AB)((CD)E)) - ((AB)(C(DE)))) |
| ([4,5]) | ((((AB)C)(DE)) - ((A(BC))(DE))) |
After these eight collapses, 14 vertices and 13 edges remain, and the remaining graph is connected. It is therefore a tree and collapses to a point. Hence
is collapsible. Restoring the omitted pentagonal 2-cell attaches one disk along a loop in a contractible CW complex. The result is homotopy equivalent to (S^2), proving simple connectedness.
Cellular corroboration
With arbitrary consistent orientations, the cellular boundary matrices have
Therefore
These ranks corroborate the collapse proof but do not replace it.
Hostile audit
- (H_1=0) does not by itself prove . Cellular boundary ranks see only the abelianization of the fundamental group. The explicit collapse certificate is the simple-connectedness proof.
- Leaf-disjointness remains false as an interchange criterion. The three square faces are nested-context commutations: the inner triple lies inside the leaf support of the outer rotation but is opaque to its pattern. Active constructor occurrences are the correct support.
- The 14 vertices are schedule quotients. The raw complete-history count is (4!=24), not 14. No raw-complex conclusion is promoted.
- Every short graph cycle is not automatically a semantic face. Faces were derived from residual interchange and contextual arity-four coherence, then enumerated by clusters.
- This remains a fixed finite theorem. It does not prove all-arity coherence or that analogous (K_n) are associahedral spheres.
Algebraic and geometric content
Run 6 found one unfilled associativity loop. Run 7 shows how two kinds of higher relation interact one arity later: contextual pentagons express compatibility among overlapping associativity transformations, while squares express interchange of residually independent transformations. Together they close the entire five-leaf transformation surface.
The nine faces are forced by retained contiguous clusters, not added after recognizing a familiar polytope. Only after this native derivation may (K_5) be identified with the two-dimensional boundary of the three-dimensional associahedron.
Run 7 evidence and status audit
- Internal correctness: complete finite combinatorial proof and explicit collapse certificate for the stated (K_5).
- Finite corroboration:
rewriting_a5_cell_complex_check.pyverifies all 14 vertices, 21 edges, six pentagons, three squares, two-face edge incidence, boundary ranks, and every step of (RW.7). - External dependency: none.
- Representation obstruction: the tree-level complex does not retain the 24 raw schedules; no raw-complex conclusion is promoted.
- Refutation / failed route: inference of simple connectedness from (H_1=0) was rejected as insufficient and replaced by collapse.
- Novelty: not assessed; no claim. The associahedral structure is standard; its role here is an exact native calibration.
Current obligations after Run 7
- Do not infer an all-arity coherence theorem from (n=4,5).
- Keep the raw occurrence-history complex separate from its disjoint-schedule quotient.
- The sharpest next bounded target is to leave this rewriting family and test whether an independently defined primary model—preferably tree automata under two disjoint local subtree updates—naturally produces commuting squares, or whether the apparent cubical analogy fails.
Run 8 — Dynamic tree-automaton target
Fix a deterministic bottom-up tree automaton whose implementation retains the canonical state of every node. An update (U=(u,s)) replaces the subtree at address (u) by a fixed, pre-evaluated tree (s), then writes or recomputes the cache at (u) and every ancestor through the root. One node operation costs one unit, and this eager algorithm does not stop early.
Write (A(u)) for the inclusive ancestor path and (d(u)) for depth, so (|A(u)|=d(u)+1).
CRD-TA-3: disjoint-update square and exact LCA geometry
Let (U=(u,s)) and (V=(v,r)), where (u,v) are incomparable addresses. Then [ V(U(t))=U(V(t)). ] After eager recomputation, the complete node caches are equal, so every root and enclosing-context observation agrees. Either sequential order costs Installing both replacements and recomputing the affected union once in bottom-up order costs The exact saved work is Equivalently, using tree distance,
Proof
Incomparable addresses denote disjoint subtrees. Replacing at (u) neither changes the address nor the content at (v), and conversely. Both composites therefore produce the same labelled tree with (s) at (u) and (r) at (v). Deterministic bottom-up evaluation gives that tree one unique canonical cache, proving endpoint and contextual equality. The two traces remain different histories.
Sequential eager maintenance touches (A(u)) and then (A(v)), counting the common ancestors twice. In the batch, every node outside the union retains its correct cache, while processing the union in decreasing depth order makes each child state available before its parent. Each union node is touched once. Finally, and inclusion--exclusion proves the formulas.
For equal-depth leaves (h) with least-common-ancestor depth , For siblings, the batching factor is This is genuine dependency-cone geometry: the LCA controls exactly how much upward recomputation can be shared.
Hostile audit
- Disjoint write targets do not suffice for state-dependent payloads. From cached bits ((L,R)=(0,0)), let (U) write (L:=R) and (V) write . Then (U;V=(0,1)) but (V;U=(1,1)).
- Fixed replacements at overlapping positions need not commute. Let (U) replace the whole root by ((1,1)), while (V) replaces its left leaf by zero. Then (U;V=(0,1)), while (V;U=(1,1)).
- Early stopping can change the work because an unchanged state need not propagate upward. The displayed costs are exact for the named full-path algorithm, not representation-independent lower bounds.
tree_automaton_disjoint_update_check.py exhaustively verifies 6,144 complete Boolean cache squares, 43,435 structural ancestor-pair identities through depth eight, and both counterexamples. This corroborates but does not replace the proof. External dependency: none. Novelty: not assessed; no claim.
Current obligations after Run 8
- Do not promote write-target disjointness to a general independence notion; account for read footprints or fix payloads in advance.
- Keep endpoint commutation distinct from trace equality and higher coherence.
- The sharpest next bounded target is to find the smallest exact order asymmetry for two behaviorally commuting fixed leaf updates under early-stopping cache recomputation, or prove invariance under a precise sufficient condition.
Run 9 — Early-stopping work is path-dependent on a semantic square
Native early-stopping model
Retain the deterministic bottom-up state at every tree node. A fixed leaf replacement first writes the pre-evaluated new leaf state, costing one unit. Then recompute ancestors upward, charging one unit for every transition evaluation. Stop immediately after the first recomputed node whose new state equals its old cached state. The unchanged-node evaluation is charged because it is what certifies that no higher cache can change.
For , use states (Q={0,1}), nullary symbols (z,o) with states 0 and 1, a binary symbol (m) with
(h-1) unary identity carriers (c), and one unary constant-zero root (r). The initial tree is
[ t_h=r(c^{h-1}(m(z,z))). ]
Thus the binary parent has exactly (h) strict ancestors. Let (U) replace the left (z) by (o), and let (V) replace the right (z) by (o). Their addresses are sibling leaves and their payloads are fixed.
CRD-TA-4: sharp order-asymmetry theorem
The two replacements commute as labelled-tree substitutions, produce the same complete final cache, and have the same root-observation trace ((0,0)) in both orders. Nevertheless their early-stopping work is
Consequently
The additive gap (2h) is the largest possible for two fixed sibling-leaf replacements whose parent has (h) strict ancestors. The ratio is therefore unbounded as the tree height grows. Two states and (h=1), hence tree depth two, are minimal for any such asymmetry in this model.
Proof
Initially the parent has state (m(0,0)=0). In order (U;V), the first update changes the left input and gives (m(1,0)=0). The parent is unchanged, so the update stops after the leaf write and parent evaluation, at cost two. The second update gives (m(1,1)=0), again unchanged at the parent and again cost two. Hence (W(U;V)=4).
In order (V;U), the first update gives (m(0,1)=1). The parent changes; the change propagates through all (h-1) identity carriers. The constant root must then be evaluated, but remains zero and stops propagation. The charged work is one leaf write, one parent evaluation, and (h) evaluations above the parent:
[ 1+1+h=h+2. ]
The second update changes the parent from (m(0,1)=1) to (m(1,1)=0). The reverse change again passes through every identity carrier and stops only after the constant root is evaluated unchanged. Its cost is also (h+2), so (W(V;U)=2h+4). In both orders the root remains zero after each update. Since the final leaf pair is ((1,1)), deterministic evaluation gives the same complete final cache.
For sharpness, every update necessarily charges its leaf and the common parent, contributing four order-independent units across the two updates. Only the (h) strict ancestors can contribute differently between orders, and each can be evaluated at most once per update. Thus
The family attains equality. If (h=0), the parent is the root and every update costs exactly leaf plus parent, so no order asymmetry is possible. With one state, every recomputed state is unchanged, so propagation always stops at the parent; two states are necessary. The (h=1), two-state instance realizes the gap, proving these two minimality statements.
Hostile audit
- Semantic commutation is not resource symmetry. The square commutes at the labelled-tree endpoint and at the complete-cache endpoint; even the two root-observation traces agree. Its two directed paths nevertheless have different weights.
- The bound is algorithm-relative. It counts transition evaluations, including the first unchanged node. Charging only changed cache writes, or using different summaries or batching, changes the resource measure.
- No intrinsic dynamic lower bound follows. This is a worst-case exact separation inside the named representation and update algorithm, not a lower bound for all dynamic tree-language recognizers.
- Minimality is limited. Two states and depth two are minimal in the fixed sibling-leaf early-stopping model. No minimality claim is made for alphabet size, transition-description size, or broader update models.
- Endpoint and root observations are deliberately coarse. Internal cache traces differ. The result does not say the histories are identical under every enriched observer.
Structure exposed
The two substitutions form a genuine commuting square in the state space of labelled trees and canonical caches. Early-stopping work equips its edges with history-dependent weights. The unequal path sums show that this valuation is not a potential difference and does not descend to semantic endpoints. The mechanism is a sensitivity cone: the intermediate parent state (1) activates the entire ancestor chain, while the other path stays on parent state (0) and terminates locally.
This differs from Run 8's full-path LCA geometry. There, the charged support is fixed by addresses, so either sequential order has the same cost. Here, the active support depends on the intermediate automaton state, and a semantic square becomes a non-flat weighted square.
Run 9 evidence and status audit
- Proof: complete for the all-(h) family, the sharp (2h) upper bound, and the state/depth minimality statements in the fixed model.
- Finite corroboration:
tree_automaton_early_stop_order_check.pychecks the family through (h=128) and exhaustively checks all 16 Boolean binary transitions and four Boolean starting corners for , 576 cases in total. It finds maximum gap (2h) at every checked height. - External dependency: none.
- Representation obstruction: the work count is tied to the specified cache and early-stopping accounting.
- Refutation: endpoint commutation, and even equal root-observation traces, do not imply order-invariant update work.
- Novelty: not assessed; no claim.
Current obligations after Run 9
- Do not treat a semantically commuting square as resource-flat without auditing its edge weights.
- Keep recomputation attempts distinct from changed writes and from optimal dynamic complexity.
- The sharpest next bounded target is to derive a necessary-and-sufficient criterion for order-invariant early-stopping work along a fixed unary ancestor chain, stated using the four parent-corner states and their propagated-change prefix lengths.
Run 10 — Exact ultrametric flatness criterion for early stopping
Native setup
Fix two pre-evaluated child-state replacements at distinct child positions of one parent. Let the four possible parent states be
where the first bit records whether update (U) has occurred and the second whether update (V) has occurred. The semantic update square is
There are strict ancestors above this parent. At the (i)-th ancestor, every sibling argument outside the changing child path is fixed, so the ranked transition induces a unary map . Thus this setup allows ancestors of arbitrary rank; “unary chain” describes their induced action on the one changing path, not a restriction to unary tree symbols.
Put
and define nested kernel equivalences
Determinism gives
once two propagated states agree, no higher deterministic ancestor can split them again.
For , let
and define the propagation length
This is exactly the number of strict ancestors evaluated after the parent changes from state (x) to state (y). The term (d_i(x,y)) charges ancestor (i+1) precisely when the two propagated states are still unequal just below it. If equality first appears at that ancestor, its evaluation is included and then propagation stops.
CRD-TA-5a: exact path-cost and ultrametric theorem
The propagation length is an ultrametric on (Q), truncated at height (h):
Under the Run 9 accounting—one unit for the child-state write, one for the parent evaluation, and one for each attempted strict-ancestor evaluation—the two order costs are exactly
Proof
Because the equivalences (E_i) are nested, is the first level at which (x,y) coalesce, capped at (h). If
then (xE_r y) and (yE_r z). Transitivity gives (xE_r z), so . If (r=h), (TA.11) is automatic.
For the boundary case (h=0), is the identically zero pseudometric and both orders pay only the four local operations.
For one child replacement changing the parent from (x) to (y), the child write and parent transition cost two. Ancestor (i+1) is evaluated exactly when , so the remaining cost is (TA.10). Applying this to the parent-state paths and proves (TA.12)–(TA.13).
CRD-TA-5b: no-cancellation and exact resource-flatness criterion
For each level define its signed order bias
Then all nonzero have the same sign. Consequently
In particular, the square is resource-flat if and only if it is balanced at every counted ancestor level:
Equivalently, writing , and similarly for the other corners, the criterion is
Thus total equality cannot be produced by a positive order bias at one level and a negative bias at another.
Proof
For one equivalence relation (E), use its quotient's discrete metric (d_E) and put
[ L_E(x)=d_E(a,x)+d_E(x,d). ]
If (aEd), then (L_E(x)=0) when (xEa), and (L_E(x)=2) otherwise. If , then (L_E(x)=1) when the class of (x) is one of the two endpoint classes, and (L_E(x)=2) otherwise. Hence
This proves the equivalence of (TA.16) and (TA.17) at one level.
It remains to exclude cancellation. Suppose (L_E(c)-L_E(b)>0). If the endpoint classes are distinct, (b) lies in one of them while (c) lies in neither. Under any coarser equivalence (F), the class of (b) remains an endpoint class. If the endpoints remain distinct, then ; if they merge, then . If the endpoints were already equal under (E), then (b) lies in their common class and the same conclusion follows. Therefore a positive bias can become zero under coarsening but never negative. The negative case is symmetric.
Since , all nonzero have one sign. Equations (TA.12)–(TA.14) now give (TA.15), and their sum vanishes exactly when every summand vanishes, proving (TA.16). Each has absolute value at most two, giving the bound (2h).
Sharpness and examples
Run 9 is the extremal case. Its corners are
[ (a,b,c,d)=(0,0,1,0), ]
and the first (h) levels keep (0) and (1) separate. At every level, the route through (b) has discrete length zero and the route through (c) has length two. Thus for all (i<h), and (TA.15) gives the sharp gap (2h).
Resource-flatness is only equality of total work. For example, if
[ (a,b,c,d)=(0,0,1,1) ]
and the chain keeps (0,1) separate for (h) levels, then one order pays its full propagation on the second update and the other pays it on the first:
[ (0+h)=(h+0). ]
The total costs agree although the per-update timing and intermediate caches do not.
Hostile audit
- The metric is representation-relative. measures attempted recomputations in the fixed complete-cache early-stopping algorithm. It is not contextual distance, tree-edit distance, or an optimal dynamic lower bound.
- Nestedness is the decisive hypothesis. It follows from deterministic composition of current child state through fixed ancestor contexts. A history-dependent ancestor update, mutable sibling payload, or nondeterministic cache policy need not generate nested kernel equivalences; the no-cancellation proof would then fail.
- Flat total work is not trace equality. Equation (TA.16) does not make the two per-update costs, intermediate caches, or observation traces equal.
- The corner square must be fixed. State-dependent replacement payloads and overlapping update positions remain outside the theorem.
- The height truncation is real. States that do not coalesce before the root all have propagation length (h); the algorithm has no higher cache levels with which to distinguish them.
- No cross-level cancellation counterexample exists in this model. A deliberate search for one failed for the structural reason proved above; this is not extrapolated to arbitrary weighted transition systems.
Structure exposed
The kernels of the prefix maps form a chain in the lattice of equivalence relations. That laminar order induces a coalescence ultrametric on parent states. Early-stopping work is path length in this ultrametric, plus a fixed local cost. The order gap around a semantic square has an exact multiscale decomposition (TA.15), and nestedness makes its orientation sign-coherent across scales.
This is stronger than Run 9's extremal counterexample and more specific than Run 8's LCA geometry. Run 8's support was fixed spatially by addresses. Run 10 shows that state-sensitive support along one dependency path is governed by a hierarchy of kernel partitions. The two geometries coexist but are not the same: LCA measures overlap of possible dependency cones, while measures how far a particular state change survives inside one cone.
Run 10 evidence and status audit
- Proof: complete for the exact path-cost formula, ultrametric property, sign-coherence lemma, sharp (2h) decomposition, and necessary-and-sufficient flatness criterion in the fixed deterministic ancestor-chain model.
- Finite corroboration:
tree_automaton_unary_chain_flatness_check.pyexhaustively checks all 5,384 multichains of partitions of four labelled corners through height eight. It verifies the strong triangle inequality, sign coherence, both flatness equivalences, and maximum gap (2h). - External dependency: none.
- Representation obstruction: depends on the retained cache, fixed ancestor contexts, early-stopping rule, and transition-attempt cost.
- Refutation / failed route: opposite-signed per-level biases cannot cancel in a deterministic unary ancestor chain.
- Novelty: not assessed; no claim. Nested-partition ultrametrics are standard-style structure; their exact role here is internally derived.
Current obligations after Run 10
- Do not promote to an intrinsic language or dynamic-complexity metric.
- Keep total resource-flatness separate from trace and latency equality.
- The sharpest next bounded target is to place two fixed replacements at arbitrary incomparable addresses, derive whether their two branch-local propagation chains plus the common LCA chain admit an exact compositional cost formula, and isolate the smallest obstruction if they do not.
Run 11 — Arbitrary incomparable updates factor through the LCA square
Target and model
Extend the Run 10 shared-parent theorem to fixed replacements at arbitrary incomparable addresses under the same complete-cache early-stopping algorithm. Determine whether their work decomposes into order-invariant branch-local terms plus the four-corner metric above their least common ancestor.
Let , and let (x) and (y) be the distinct children of (w) leading to update positions (u) and (v). For update (U), define:
- (B_U): its exact early-stopping work inside the subtree rooted at (x), including the replacement write and every attempted recomputation through (x), but excluding (w);
- (p_0,p_1): the cached state at (x) before and after (U);
- , which is exactly whether (U) reaches and recomputes (w).
Define symmetrically in the (y)-branch. Fixing all other child states of (w), let its transition produce the corner states
The (h) strict ancestors above (w), with unaffected sibling states fixed, induce unary maps , prefix maps , and the Run 10 propagation ultrametric
CRD-TA-6: exact LCA factorization theorem
For arbitrary incomparable fixed replacements,
and
where the order-invariant branch/LCA base is
Consequently:
- every order-dependent unit of work occurs strictly above the LCA;
- the absolute order gap is at most (2h), independently of the two branch depths, and the bound is sharp;
- the no-cancellation and levelwise flatness theorem from Run 10 applies unchanged to the corner states (TA.18);
- total work is equal in both orders iff, for every (i<h),
Proof
The path from (u) to (x) lies wholly inside one child subtree of (w), while the path from (v) to (y) lies wholly inside the other. Replacing at (v) changes no cached state, transition symbol, or fixed sibling argument on the (u)-to-(x) path. Therefore (U)'s local old/new state sequence, stopping point, cost (B_U), and boundary states (p_0,p_1) are identical in both orders. The symmetric statement holds for (V). Hence the entire branch-local contribution is (B_U+B_V), independent of order.
Early stopping invokes (w)'s transition after (U) exactly when the state at (x) changes, namely , and after (V) exactly when . These two LCA-attempt charges are also order-independent. If an update dies below (w), its epsilon is zero and its corresponding corner edge degenerates: for example (p_0=p_1) implies (a=b) and (c=d).
What remains is propagation strictly above (w). In order (U;V), the LCA state follows ; in order (V;U), it follows . The exact numbers of strict-ancestor attempts are therefore the two sums of -lengths in (TA.20)--(TA.21). This proves the factorization. Subtracting cancels (C), so Run 10's sign-coherence, flatness criterion, and sharp (2h) bound apply verbatim. The sibling witness of Run 9 attains equality and is a special case of arbitrary incomparable addresses.
Hostile audit: spatial arrival data is insufficient
Branch depth, local work, and the two arrival bits do not determine order flatness. Take two direct child replacements with identical summaries
and one strict ancestor above (w). If the LCA transition is XOR, then
[ (a,b,c,d)=(0,1,1,0) ]
and both routes have common-chain length two. If instead , then
[ (a,b,c,d)=(0,0,1,0), ]
so one route has length zero and the other length two. All spatial and branch arrival data agree; only the LCA transition algebra differs. Thus an LCA-depth/arrival-only resource criterion is refuted.
The theorem also requires fixed payloads, a deterministic complete cache, unchanged off-path sibling contexts, and the stated early-stopping accounting. State-reading payloads, overlapping updates, mutable contexts, nondeterminism, or shared-DAG aliases can couple the supposedly local branches and invalidate the factorization.
Finite corroboration and status
tree_automaton_lca_composition_check.py generates every distinct two-state branch summary induced by unary paths of length at most four, every Boolean LCA transition, and every common unary chain of height at most four. It checks 2,182,400 combinations. All satisfy (TA.20)--(TA.23), sign coherence, and the (2h) bound; maxima are (0,2,4,6,8). The XOR/biased pair confirms the arrival-only obstruction. This is finite corroboration, not the general proof. External dependency: none. Novelty: not assessed; no claim.
Current obligations after Run 11
- Do not treat LCA depth or branch-arrival bits as sufficient resource data; the four LCA corner states and their common-chain quotient images matter.
- Do not extend the factorization to shared DAGs: incomparable tree addresses can denote aliased storage, so branch-locality may fail operationally.
- The sharpest next bounded target is a hostile persistent-DAG test: determine whether two syntactically incomparable tree positions that share a cached descendant still admit any corrected branch/LCA factorization, or isolate the smallest aliasing obstruction.
Run 12 — Immutable occurrence path copying is alias-transparent
Bounded target and native persistent-DAG model
Test the warning after Run 11 rather than assuming it: does sharing a cached descendant by itself destroy the branch/LCA factorization for two incomparable tree-occurrence updates?
An immutable state-annotated ranked DAG node has the form
A distinguished root (r) unfolds to a ranked tree . An occurrence address is a word of child indices in that unfolding. Distinct addresses may resolve to the same DAG node.
For a pre-evaluated payload root (s), the occurrence update follows address (u), replaces only that occurrence, allocates a fresh immutable node for every strict prefix of (u), and reuses all off-path child pointers. It performs no global hash-consing or canonical lookup. Every old version root is retained.
At a copied ancestor, the cached transition is evaluated exactly when the new state of the child on the copied path differs from its old state. Once those states agree, the complete parent input-state tuple is unchanged, so the old cached parent state may be copied without evaluating the transition; the same holds at every higher copied node.
Keep three resource coordinates separate:
- (A): fresh DAG-node allocations;
- (N): child-edge navigation steps used to follow occurrence addresses;
- (E): bottom-up automaton-transition evaluations.
Payload construction and global address indexing are excluded. For an address (u), write (d(u)=|u|).
CRD-TA-7: alias-transparent persistent translation
Let (U=(u,s)) and (V=(v,t)) be fixed pre-evaluated replacements at incomparable occurrence addresses of an immutable cached DAG, even when the two addresses or portions of their spines resolve to shared node identities. Then:
- the two updates commute at the unfolded-tree endpoint and agree on the cached state at every unfolded occurrence; the fresh DAG identities need only be isomorphic after identities are erased;
- sharing causes no change in the sequence or number of transition evaluations relative to the fully unshared occurrence tree;
- in either sequential order,
- if , (B_U,B_V) are the transition-evaluation counts strictly inside the two branches below (w), and record whether the branch-boundary state changes, then the evaluation component retains the Run 11 formulas
Consequently the Run 10 flatness criterion and sharp (2h) evaluation gap above the LCA survive arbitrary descendant sharing in this immutable occurrence-addressed representation. Sharing affects retained space, but does not add an alias term to the two-order work formula.
Proof
Prove (TA.24) by induction on (u). At the empty address, the returned root is (s). For (u=i u'), recursively replace occurrence (u') in child (i), allocate a fresh copy of the current parent with exactly that child pointer changed, and reuse every other pointer. Unfolding this node performs exactly the corresponding one-hole tree substitution. The induction never requires child pointers to be distinct, so pre-existing aliases are harmless.
The same induction proves cache correctness and transition-trace preservation. At one copied parent, all off-path child states equal their old values. If the copied child's new state also equals its old state, the entire input-state tuple is unchanged, so determinism gives the old parent state without a new transition evaluation. Otherwise exactly one transition evaluation produces the new parent state. Thus the evaluate-or-copy decision at every occurrence on the spine depends only on the old and new automaton states there, not on whether some pointer is shared elsewhere. This is exactly the decision made on the fully unfolded occurrence tree.
Now let (u,v) be incomparable. Path copying at (u) mutates no old node. At the child of (w) leading to (v), it reuses the old pointer unchanged; hence the node identities, cached states, and transition sequence on (v)'s local branch are the same before and after (U). The symmetric statement holds for (U)'s branch after (V). Therefore the two branch summaries are order-invariant and induce the same four LCA corner states (a,b,c,d). Run 11's decomposition then proves (TA.26)--(TA.27).
Finally, one update allocates and navigates exactly one node/edge for each strict address prefix, namely (d(u)). Fresh allocation without canonical lookup prevents reuse from changing this number. Summing the two updates gives (TA.25) in either order. (square)
Hostile audit: where aliasing really breaks the theorem
Destructive node-identity updates. Let a binary root have both child pointers equal to one shared leaf node (z). As unfolded occurrences, take
Occurrence substitution commutes and ends at (f(o,z)). If an implementation instead mutates the node reached by the address, (U;V) leaves the shared node as (z), producing (f(z,z)), whereas (V;U) leaves it as (o), producing (f(o,o)). Thus syntactic incomparability alone is not sufficient for an arbitrary DAG update interface. Two leaf values and one binary node are minimal: one value cannot produce different last-writer endpoints, and fewer than two occurrences cannot exhibit aliasing.
Global canonical reuse. Even with immutability, hash-consing changes the allocation theorem. If retained history already contains (f(o,z)), then an update of the left occurrence in current root (f(z,z)) may return that old root with zero allocation, whereas (TA.25) charges one fresh copied node. Behavior and transition states may still agree, but exact allocation becomes history- and table-dependent.
Other excluded observers and costs. Pointer-identity observations can distinguish an aliased DAG from its unfolding. Reference counting, garbage collection, concurrent mutation, canonical-table probes, and address lookup are not hidden inside (A,N,E); adding them changes the resource theorem. If old versions are not retained, the claimed persistent-space accounting also changes.
Finite corroboration and status
tree_automaton_persistent_dag_alias_check.py exhaustively checks all 320,768 combinations of Boolean-labelled full binary trees with two through five leaves, all sixteen Boolean binary transitions, every pair of leaf occurrence addresses, and all fixed Boolean payload pairs. Exactly 160,384 tested updates target two occurrences resolving to the same DAG leaf node. In every case, shared and unshared path copying have equal transition-evaluation counts, allocate exactly (d(u)+d(v)) fresh nodes, commute extensionally, and produce the expected unfolded tree. The checker also verifies the destructive-alias and canonical-reuse witnesses. This is finite corroboration only.
- Proof: complete for (TA.24)--(TA.27) in the fixed immutable path-copy model.
- Finite corroboration: 320,768 cases; 160,384 contain target-node aliasing.
- External dependency: none.
- Representation obstruction: destructive identity updates and global hash-consing invalidate different parts of the theorem.
- Refutation: the blanket warning that shared descendants necessarily destroy branch/LCA factorization is false; the unrestricted claim for arbitrary DAG implementations is also false.
- Novelty: not assessed; no claim. Persistent path copying and hash-consing are standard representation techniques.
Current obligations after Run 12
- Replace “tree versus DAG” by the exact operational boundary: occurrence- addressed immutable path copying is safe; node-identity mutation and global canonical reuse require separate analysis.
- Do not promote (TA.25) to hash-consed, garbage-collected, or identity- observable representations.
- The sharpest next bounded target is global hash-consing: for two sibling occurrence replacements and a fixed retained canonical table, derive an exact allocation-flatness condition or construct the smallest order- asymmetric allocation witness.
Run 13 — Retained hash-consing creates history-sensitive allocation
Bounded target and native canonical-table model
Close Run 12's canonical-reuse exception at the smallest nontrivial update shape. Let a current canonical binary root be
where (H) is a fixed initial global hash-cons table. The table contains the canonical child/payload nodes (x_0,x_1,y_0,y_1), is closed under descendants, retains every interned node, and performs no garbage collection. The fixed updates are
Write
Interning a key already in the table reuses it at allocation cost zero; otherwise it allocates exactly one node and adds that key to the table. Count fresh root-node allocations only. Payload construction, hash computation, collision resolution, address navigation, transition evaluation, concurrency, and garbage collection are separate coordinates and are not hidden in this count.
CRD-TA-8a: exact two-order allocation theorem
For arbitrary updates, including no-ops or coincident keys, the exact costs are
If both replacements are genuine,
then the four keys in (TA.28), together with (r_{00}), are pairwise distinct in the relevant four-corner set, and the formulas reduce to
Consequently,
and
The bound is sharp. If either update is a no-op, the two allocation counts are equal.
Proof
In order (U;V), the first update asks the table for (r_{10}). It allocates exactly when that key is absent from (H). The second update asks for (r_{11}) after the table has possibly gained (r_{10}), which proves (TA.29). The symmetric argument proves (TA.30).
Under (TA.31), ordered child tuples make (r_{00},r_{10},r_{01},r_{11}) distinct: equality of two such keys would force equality in the changed left or right coordinate. Hence adding (r_{10}) cannot create or coincide with (r_{11}), and similarly for (r_{01}). This yields (TA.32)--(TA.33). Their common final-key term cancels, leaving one difference of indicator variables. Equality is exactly the membership balance in (TA.34), and the absolute difference is at most one.
If (x_1=x_0), then and (r_{11}=r_{01}); both paths allocate the same possible key once. The case (y_1=y_0) is symmetric. This covers all no-op boundaries.
CRD-TA-8b: minimal sharp witness and enriched endpoint criterion
Let (z) be a canonical nullary node, let the current root be
[ a=f(z,z), ]
and suppose the retained table initially consists of the three nodes
Use the already-existing immutable root (a) as both fixed payloads: (U) replaces the left child of current root (a) by (a), and (V) does the same on the right. This creates no cycle: newly interned nodes point to the older immutable node (a), never to themselves. In the four-corner notation,
Therefore
Both orders finish at the same canonical current root (r_{11}), but their retained tables are
Three initial table nodes are minimal in the general finite acyclic ranked-DAG model. Allocation asymmetry requires the current root and one pre-existing intermediate root, which are two distinct positive-arity nodes. Every finite acyclic DAG containing a positive-arity node has a nullary descendant, distinct from both. Hence at least three nodes are necessary, and (TA.36) attains the bound. Depth one is minimal because two incomparable update occurrences require a branching node.
If both old and replacement children are required to be nullary payload nodes, four nodes are necessary and sufficient. The rank-separated witness is (z,o,f(z,z),f(o,z)), with (f(z,o)) and (f(o,o)) initially absent. It has the same allocation counts. This was the provisional four-node witness; the hostile audit prevents its leaf-only minimum from being promoted to arbitrary compound payloads.
More generally, for genuine updates the enriched representation endpoints ((r_{11},H_{UV})) and ((r_{11},H_{VU})) agree if and only if both intermediate roots (r_{10}) and (r_{01}) were already in (H). This is strictly stronger than allocation flatness: when both intermediates are absent, both orders allocate two nodes, but one retains (r_{10}) and the other retains (r_{01}).
Structure exposed
The retained table is a monotone state in the inclusion order. With no garbage collection, allocation is exactly the rank growth
Thus the order asymmetry is not Run 9's non-flat weight on a genuinely closed representation square. The square closes only after projecting and forgetting the retained table. Before that projection, the two histories can have different endpoints; even equal rank growth need not mean equal endpoint sets. The table acts as a history-dependent stock of canonical receipts: a pre-existing intermediate node prepays exactly one path.
This also sharpens Run 12. Fresh noncanonical path copying always allocates both direct root copies and is order-flat. Hash-consing can save work, but the saving depends on which counterfactual intermediate version history has already materialized.
Hostile audit
- Semantic commutation survives. Both orders have current root (r_{11}). The counterexample concerns allocation and retained representation state, not tree language behavior or automaton acceptance.
- Allocation flatness is weaker than representation commutation. Both intermediate roots absent gives equal cost but different final tables.
- The gap-one bound is local. It concerns two direct children of one binary root. Longer copied spines or multiple canonical candidates may accumulate a larger gap and require a new proof.
- Retention is essential. Garbage collection, weak interning, or a table scoped to the current version changes (TA.29)--(TA.38).
- Lookup is not free by assertion. Two genuine updates make exactly two intern probes in either order; a unit-cost hash model can add this common term. Hash construction, equality, collisions, and address-size costs are not analyzed here.
- Canonical keys are structural ordered tuples. Identity-sensitive observers, mutable nodes, unordered operators, or state-dependent payloads are different models.
The failed route was the inference that one common final canonical root makes total canonical allocation path-independent. Equation (TA.37) refutes it: canonicalization removes duplicate representations of one node, but a retained table also records which intermediate representations were visited.
Finite corroboration and status
tree_automaton_hashcons_allocation_check.py exhaustively enumerates one to three canonical child identities, all ordered child quadruples, and every initial canonical root-key subset containing the current root. Across 20,865 cases, including 9,248 genuine two-update cases, it verifies the general formulas, criterion (TA.34), sharp gap one, no-op flatness, enriched endpoint criterion, and four-node nullary-payload minimum. It separately checks the three-node compound-payload witness. It finds 4,624 allocation-asymmetric cases, 6,936 enriched endpoint mismatches, and 2,312 flat-cost paths with distinct retained endpoints. This is finite corroboration, not proof.
- Proof: complete for (TA.29)--(TA.38) in the fixed retained binary-root hash-cons model.
- Finite corroboration: 20,865 exhaustive cases.
- External dependency: none.
- Representation obstruction: retention policy, canonical key model, and excluded lookup/GC costs are essential.
- Refutation: same final canonical root does not force path-independent allocation; equal allocation does not force equal retained tables.
- Novelty: not assessed; no claim. Hash-consing and persistent interning are standard techniques.
Current obligations after Run 13
- Do not merge semantic root state, retained canonical table, and allocation potential into one notion of endpoint.
- Do not promote the sharp gap-one bound beyond direct sibling updates.
- The sharpest next bounded target is a height-two shared-spine extension: determine the maximum allocation-order gap for two incomparable occurrence updates when each path interns both its local parent and a common root, and decide whether membership imbalances add or can cancel.
Run 14 — Height-two hash-cons allocation has a common-set cancellation law
Bounded target and native model
Resolve Run 13's first longer-path obligation. The current unfolded tree has two local parent occurrences below a common ordered binary root. Fixed update (U) changes one child occurrence of the left local parent, producing the canonical local node (p_1); fixed update (V) similarly produces the right local node (q_1). Write the old local nodes as (p_0,q_0) and the four common-root candidates as
Nodes are immutable structural keys in a global monotone hash-cons table (H), which retains every interned node and performs no garbage collection. All payload descendants needed to construct (p_1,q_1) already exist. Interning an existing key allocates nothing; interning an absent key allocates one node and inserts it. Count only fresh allocations for the two copied local nodes and the two attempted common-root copies in each execution. Lookup, hashing, collision resolution, navigation, transition evaluation, reference counting, and concurrency remain separate coordinates.
The candidate request sequences are
Structural equality among these candidates is permitted. This matters when compound payloads or pre-existing aliases let a node requested at one level coincide with a candidate requested at another.
CRD-TA-9a: exact common-set allocation theorem
Put
Then, without a genuineness or distinct-key hypothesis,
and
Consequently,
and
The bound is sharp. Thus adding one local copied node on each branch does not raise Run 13's maximum gap from one to two. The local candidates and final root are a common mandatory request set; their initial membership imbalances cancel exactly in the two-order difference.
Proof
For any finite sequence of intern requests , monotone retention implies
Indeed, every distinct requested key absent initially is allocated exactly at its first occurrence, and no other request allocates. Applying (TA.46) to (TA.40) gives
Separating the common set (C) yields (TA.42)--(TA.43). Their common term cancels, leaving the difference of two zero-one indicators. This proves the criterion and sharp bound.
CRD-TA-9b: enriched endpoint criterion
The final retained tables are
Therefore
Allocation flatness remains weaker. If and they are distinct, both paths allocate one exclusive node, so their costs agree, but they retain different equal-size tables.
Hostile audit: initial membership is no longer sufficient
A tempting direct extension of Run 13 would test only
This is false when cross-level structural coincidences are allowed. Use one nullary node (z) and one binary symbol (f). Let
and take the initial descendant-closed table
[ H={z,p_1,p_0,r_{00}}. ]
The two root children alias the immutable local node (p_0), but the updates address distinct unfolded occurrences. Update (U) replaces the first child of the left occurrence of (p_0) by (z), producing the already-retained (p_1=f(z,z)). Update (V) replaces the second child of the right occurrence by the fixed old node (p_0), producing
[ q_1=f(p_1,p_0). ]
Here
[ r_{10}=f(p_1,p_0)=q_1, ]
while
are distinct and initially absent. Thus both exclusive roots satisfy , so (TA.49) predicts flatness. But (r_{10}=q_1) belongs to the mandatory set (C), while . Directly,
The DAG is finite and acyclic: every newly mentioned compound node points only to older nodes. Immutability preserves occurrence-level semantic commutation. The witness refutes initial-table membership as the general height-two criterion; it does not refute the corrected coverage criterion (TA.44).
If node sorts, constructor symbols, or structural heights guarantee that (r_{10},r_{01}) cannot equal (p_1,q_1,r_{11}), then membership in (D) reduces to membership in (H), and Run 13's simpler test is recovered.
Structure exposed
The retained table lies in the Boolean inclusion lattice, and allocation is its cardinality-rank growth. At height two, the two histories have a common mandatory candidate set (C) and one exclusive candidate each. The modular cardinality valuation cancels the common set before comparing paths. This is an exact order-theoretic resource statement, not an intrinsic property of the recognized tree language.
Cross-level canonical equality acts as endogenous prepayment: a local node that every execution must materialize can cover an apparently path-specific root even when that root was absent initially. Therefore the correct state is not just initial membership of named candidates, but membership after closing under the order-common request set.
Finite corroboration and status
tree_automaton_hashcons_height_two_check.py enumerates every assignment of the five candidate roles (p_1,q_1,r_{10},r_{01},r_{11}) to identity universes of sizes one through five and every initial subset. Across 118,458 cases it verifies (TA.42)--(TA.48), finds maximum gap one, 37,104 asymmetric cases, and 4,716 flat-cost paths with different retained endpoints. It finds 37,392 cases where the initial-(H)-only test disagrees with the correct coverage test, and separately verifies the four-node acyclic witness (TA.50). This is finite corroboration, not the proof.
- Proof: complete for the exact formulas, flatness criterion, sharp gap, and enriched endpoint criterion in the fixed height-two monotone table model.
- Finite corroboration: 118,458 abstract identity/table configurations plus the explicit structural-DAG witness.
- External dependency: none.
- Representation obstruction: the theorem depends on monotone retention, structural canonical identity, and allocation-only accounting.
- Refutation: initial-table membership of the two exclusive roots is not a sufficient height-two criterion when cross-level identities can coincide.
- Novelty: not assessed; no claim. Set-union cardinality is standard; its exact role here is derived from the native intern sequences.
Current obligations after Run 14
- Do not promote the initial-(H) membership criterion beyond a rank/sort-separated representation; use coverage by the common request set.
- Do not infer equal retained endpoints from equal allocation.
- The sharpest next bounded target is height three: two common copied ancestors give two path-exclusive canonical candidates per order. Determine whether the allocation gap is sharply two and whether opposite exclusive-set imbalances can cancel, while retaining all cross-level identity collisions.
Run 15 — Arbitrary-height retained hash-cons spine law
Bounded target
Close the height-three obligation without continuing height by height. For two commuting occurrence updates whose persistent path copies meet and then traverse a common spine, derive exact two-order allocation formulas when each route has two exclusive spine candidates. Permit canonical identities to coincide across nominal levels. Determine whether opposite level imbalances can cancel, the sharp height-three gap, and whether the mechanism extends to an arbitrary finite common spine.
Native monotone-intern model
Let (H) be the initial finite retained hash-cons table. It is descendant-closed: whenever a compound canonical node lies in (H), every child node needed by its structural key lies in (H). Interning is monotone, has no garbage collection, and charges one unit exactly when a requested structural key is absent.
Write
for the common request set and the (U;V)-exclusive and (V;U)-exclusive common-spine candidates. Every identity is interpreted extensionally, so cross-level and cross-route equalities are allowed. Along each route the structural dependencies are strict chains:
where means that (a) is a proper descendant required by the key of (b). Properness makes the (m) identities on each individual chain distinct, although an (x_i) may equal a (y_j) or a member of (C).
Let
Here (C) includes every common candidate and its noninitial prerequisites; equivalently, (D) is the retained table obtained after interning the order-common request set. Thus (D) is descendant-closed even when identities coincide across nominal levels.
CRD-TA-10a: exact arbitrary-height set-rank law
For every ,
Define the covered-prefix lengths
with maximum zero when the first node is uncovered. Descendant closure makes coverage along each chain a prefix, so
Consequently,
and
Allocation is order-flat exactly when
For height three, (m=2). Therefore the sharp maximum order gap is exactly two, not merely at most two.
Proof
For a monotone retained table and any finite request sequence (s), allocation is the number of distinct requested identities absent from the initial table:
The request sets of the two histories are and . Separating the common contribution proves (TA.54), with no distinctness assumption between nominal roles.
Now suppose . Since (x_{i-1}) is a required descendant of (x_i) and (D) is descendant-closed, . Induction shows that the covered (x)-indices are precisely an initial segment. The same argument applies to (Y), proving (TA.56)--(TA.59).
The upper bound in (TA.58) is attained structurally for every (m). Use a free term DAG with four distinct branch roots (p_0,p_1,q_0,q_1), a binary LCA constructor, and (m-1) injective unary contexts with fixed siblings. Retain the entire (V)-only spine, the common final spine, all payloads, and their descendants, but none of the (U)-only spine. This is finite, acyclic, and descendant-closed. It has
Thus the bound is sharp without relying on an abstract or cyclic equality pattern.
CRD-TA-10b: no cancellation under structural closure
After common-set normalization, define the level bias
Because both membership profiles are prefixes, all nonzero have the same sign. They occur exactly on the interval strictly between and . Hence
Opposite local rank imbalances therefore cannot cancel in the native acyclic structural model.
The tempting height-three profile
has biases (+1,-1) and total zero in an unrestricted key-set model. It is not a realizable retained structural table: covering (x_2) while omitting its required descendant (x_1) violates descendant closure. The failed route is useful because it identifies the exact hypothesis doing the work; monotone set union alone would not imply no cancellation.
Cross-level collision and enriched endpoints
Run 14's structural collision can be extended by one common-spine ancestor. There , so the two coverage profiles are
The exact costs are four and five. Thus arbitrary cross-level identity is compatible with the theorem; it changes the covered-prefix length but cannot create a hole inside the prefix.
The final retained tables are
They agree exactly when as identity sets. Allocation flatness requires only equality of their cardinalities. Therefore flat allocation still does not imply equal retained representations.
Finite corroboration and status
tree_automaton_hashcons_spine_rank_check.py enumerates every acyclic equality quotient of two strict dependency chains through (m=4) and every downward-closed covered subset. Across 806 quotient/coverage cases it verifies the prefix formulas, sign coherence, sharp gap, and flatness criterion, including 94 quotient presentations with cross-chain identity and 200 flat-cost cases with distinct final tables. It separately exhibits the illegal unrestricted cancellation profile, verifies the concrete height-three cross-level collision witness, and constructs finite acyclic sharp witnesses for every . This is corroboration, not the proof.
- Proof: complete for the arbitrary-height chain law, no-cancellation theorem, sharp gap, and enriched endpoint formula.
- Finite corroboration: the 806 quotient/downset cases plus structural witnesses through (m=12).
- External dependency: none.
- Representation obstruction: descendant closure, monotone retention, structural identity, and allocation-only accounting are essential.
- Refutation: unrestricted per-level membership bookkeeping admits a cancelling profile that is not structurally realizable.
- Novelty: not assessed; no claim.
Current obligations after Run 15
- Do not continue height by height: (TA.57)--(TA.59) already cover every finite common spine.
- Do not promote no-cancellation from chains to arbitrary copied dependency DAGs. The proof uses total ordering of exclusive structural dependencies.
- The next load-bearing boundary is the smallest forked exclusive dependency region. Determine whether two incomparable exclusive candidates permit genuine opposite rank imbalances under descendant closure, and whether the sharp gap is controlled by an antichain or symmetric-difference parameter.
- Branch verdict: CONTINUE CURRENT BRANCH. The run produced a general arbitrary-height resource law and an exact structural boundary, satisfying the revised focus gate without further height enumeration.
Run 16 — Forked dependency-poset cancellation and native closure
Bounded target
Test the smallest dependency shape not covered by Run 15's chain theorem. Allow each update order to have an isomorphic finite poset of path-exclusive structural candidates, with the common-coverage table descendant-closed. Determine exactly when opposite local rank imbalances can occur and cancel. Then hostilely test whether the first forked case can actually arise from the original immutable two-update, single-occurrence path-copy model.
Native request-poset setup
Let (P) be a finite poset with (m=|P|). For each , let (x_p) and (y_p) be the corresponding candidates exclusive to the two update orders. Each route's map into structural identities is injective and respects dependency:
where is structural descendant order. Cross-route equalities such as (x_p=y_q) are permitted, although they may restrict which coverage pairs are simultaneously realizable.
As before, let (C) be the identities requested by both histories and let
where (D) includes the prerequisites of every common request and is therefore descendant-closed. Define the covered index sets
Descendant closure makes (I_X,I_Y) order ideals of (P).
CRD-TA-11a: exact ideal-rank allocation law
The two exact allocation costs are
Therefore
For each aligned candidate role define
Then
The local absolute imbalance and net order gap are
The exact amount hidden by cancellation is
Proof
The request sets are and . Monotone interning counts distinct absent identities. Because each route contains (m) distinct candidate identities, exactly (m-|I_X|) and (m-|I_Y|) remain uncovered after common coverage, proving (TA.67)--(TA.68). Formula (TA.70) follows by checking the four possible memberships of (p) in the two ideals. Summing absolute and signed biases gives (TA.71)--(TA.73).
CRD-TA-11b: chain/non-chain cancellation classification
Opposite nonzero biases occur exactly when (I_X) and (I_Y) are incomparable under inclusion. Consequently, the following are equivalent:
- every structurally permitted pair of coverage ideals has sign-coherent local biases;
- the ideal lattice (J(P)) is a chain under inclusion;
- the dependency poset (P) is a chain.
If (P) is not a chain, it admits perfect cancellation: there exist distinct incomparable ideals (I,J) of equal cardinality. Taking (I_X=I,I_Y=J) gives
To prove existence, choose two distinct linear extensions of the finite non-chain poset and stop at the first prefix length where their prefix sets differ. Prefixes of linear extensions are order ideals. The two prefixes have the same cardinality but are distinct, so neither contains the other.
Conversely, if (P) is a chain, all its ideals are prefixes and hence nested; this recovers Run 15. If all ideals of (P) are nested, the principal ideals of any two elements are comparable, forcing those elements to be comparable. Thus (P) is a chain.
The smallest cancellation poset is the two-element antichain (P={a,b}). Choose
Then the two costs are equal, but
A finite acyclic structural realization uses one leaf (z) and four distinct unary nodes (x_a(z),x_b(z),y_a(z),y_b(z)). Retain (x_a(z)), (y_b(z)), and (z). This table is descendant-closed. Each route allocates one node, but the two final retained tables differ. Thus the cancellation is structural, not an unrestricted-key artifact.
Hostile native-realizability audit
The forked witness does not arise from the update primitive fixed in Runs 12--15. Replacing one unfolded-tree occurrence at address (u) copies exactly one node for each prefix of (u), from the update site to the root. Prefixes of one address are totally ordered. Therefore one single-occurrence update creates a chain of copied candidates.
For two fixed incomparable replacements, the only order-exclusive nodes are the nodes of the first update's intermediate version. They lie on that first address-to-root path. Branch-local nodes and the final two-update version are requested in both orders and belong to (C). Hence the native exclusive dependency poset is necessarily a chain, even when canonical identities from different histories collide.
A fork requires a changed model: for example, one update command that touches multiple incomparable occurrences, speculative materialization of several counterfactual branches, or a maintenance representation that copies a multiple-parent region. The abstract poset theorem correctly predicts those expanded models, but it is not a counterexample inside the original one.
Finite corroboration and status
tree_automaton_hashcons_dependency_poset_check.py enumerates all 5,231 distinct transitively closed posets compatible with natural labels through six elements and 2,174,862 ordered pairs of their ideals. It verifies the exact rank and cancellation formulas, the chain equivalence, and 302,202 ordered equal-rank cancelling pairs. Cancellation first appears at two elements. A separate address audit checks 7,359 incomparable binary-tree position pairs through depth six and both first-update orders, for 14,718 exclusive-path checks; every exclusive region is a chain.
- Proof: complete for the ideal-rank law, cancellation formula, chain/non-chain classification, minimal fork, and native path-chain obstruction.
- Finite corroboration: 5,231 posets, 2,174,862 ideal pairs, the concrete structural fork witness, and 14,718 native path checks.
- External dependency: none.
- Representation obstruction: the fork theorem applies only when the maintenance history genuinely generates a forked exclusive dependency region; ordinary single-occurrence path copying does not.
- Refutation: descendant closure alone does not forbid cancellation once the exclusive dependency order ceases to be a chain.
- Novelty: not assessed; no claim. Finite-poset ideal facts are standard in style; their resource interpretation here has not been literature-audited.
Current obligations after Run 16
- The retained hash-cons allocation branch is mathematically closed for the stated two single-occurrence update model: its exclusive regions are chains, and Run 15 gives their exact law.
- The more general request-poset law classifies the precise boundary, so no additional tree enumeration is warranted.
- Next run should pivot to SAT/CDCL or branching/proof dynamics. A sharp first target is a strict 3CNF family whose semantic residual is unchanged by an entailed learned clause but whose unit-propagation closure and branching requirement change exactly.
- Branch verdict: PIVOT NEXT RUN. Forked cancellation is real in expanded request-poset models but cannot occur under the original single-occurrence path-copy primitive, so further tree work would require changing the model rather than discharging a remaining native obligation.
Run 17 — Minimal learned-resolvent separation in strict 3CNF
Bounded target
After the required pivot, find the smallest strict-3CNF clause database whose semantic residual is unchanged by adding a sound learned clause, but whose unit-propagation closure and DPLL decision requirement change. Keep the Boolean function, retained clause database, propagation trace, and decision cost as separate objects.
SAT-native setup
Let
and define the strict 3CNF database
Resolving the two clauses on (b) gives the binary clause
Let . Learned clauses are allowed to have width below three, as in ordinary resolution and CDCL; only the source database is required to be strict 3CNF.
For a clause database (D) and partial assignment , write for exhaustive unit propagation, including whether it ends open, satisfied, or conflicting. Define as the minimum number of decision assignments on a successful DPLL branch, with exhaustive unit propagation after each decision, until every clause is satisfied. This is an operational database-relative quantity, not a semantic invariant.
CRD-SAT-3a: exact semantic/propagation/decision separation
For , Boolean distributivity gives
Therefore
under every total assignment. In particular, the two databases have the same semantic residual under every common prefix.
Now fix the prefix
The residual databases before propagation are
Both compute exactly the residual Boolean function (a). Nevertheless, (G_0) has no unit clause, so unit propagation leaves the prefix open and derives nothing new. In (G_1), unit propagation derives (a=1), after which all clauses are satisfied. Hence
The exact successful-branch decision costs are
For the lower bound on (D_0), the root is neither conflicting nor satisfied and has no unit, so a DPLL processor restricted to decisions and unit propagation must make a decision. One decision suffices: choosing (a=1) satisfies both clauses; alternatively either value of (b) makes the other clause unit and propagates (a=1). For (D_1), (SAT.28) supplies a zero-decision successful run.
The representation cost moves in the opposite direction. Before the prefix, (D_0) stores two clauses and six literal occurrences, while (D_1) stores three clauses and eight literal occurrences. After substituting (u=0) but before propagation, the corresponding counts are two clauses/four literal occurrences and three clauses/five literal occurrences. These are exact syntactic counts, not machine-byte or clause-watch costs.
CRD-SAT-3b: minimality
The witness is minimal in both source-clause count and number of source variables.
Suppose a source database contains only one non-tautological strict clause (C), and let (L') be any non-tautological clause entailed by (C). Clause implication forces
Indeed, if a literal of (C) were absent from (L'), set that literal true, all literals of (L') false, and assign the remaining variables arbitrarily; this satisfies (C) and falsifies (L').
Thus (C) subsumes (L'). Under any partial assignment, whenever (L') would become unit or conflicting before (C), either its remaining literal is not in (C), in which case (C) is already conflicting, or it is in (C), in which case (C) is already the same or a stronger unit. Adding (L') cannot strengthen unit propagation. Tautological learned clauses do nothing. Therefore one source clause cannot realize the requested separation.
Two source clauses suffice by (SAT.19)--(SAT.29). Strict 3CNF already requires three distinct variables in a clause, and the witness uses exactly three.
Algebraic and operational structure
The semantic projection
identifies (D_0) and (D_1). Unit propagation does not factor through : equal semantic residuals can have different propagation closures and decision costs. The learned resolvent is a proof-derived receipt retained in the database. It stores one completed resolution inference and changes later local operational behavior without changing the represented function.
This is not yet a geometric theorem. The established structures are:
- Boolean-algebra equality at the semantic level;
- one-step resolution at the proof level;
- a strict refinement by clause-database representation;
- a resource valuation on propagation and decisions.
Hostile audit
- A solver that performs resolution closure or equivalent preprocessing will derive (L) from (D_0), erasing the operational gap while paying that preprocessing cost.
- If subsumption replaces (C_+,C_-) by (L), storage may decrease rather than increase. The stated representation is monotone clause learning that retains the source clauses.
- The decision count excludes watched-literal scans, clause allocation, conflict analysis, and proof-checking cost. Adding (L) is not therefore a universal time improvement.
- The one-step resolution derivation proves that (L) is a legitimate sound learned clause. It does not prove that every CDCL learning scheme learns (L) after one conflict or under every branching trace.
- The learned clause is binary. Requiring every retained clause to remain width exactly three would need a padding or auxiliary-variable convention and is a different representation problem.
- Semantic equality does not imply equality of proof state, propagation trace, or resource cost; conversely, this single constant-size separation proves no SAT lower bound.
Finite corroboration and status
sat_learned_resolvent_separation_check.py exhaustively enumerates all one- and two-clause strict 3CNFs on three and four variables, every non-tautological candidate learned clause of width at most three, and every partial assignment. It verifies semantic residual equality, unit-propagation closures, and minimum successful DPLL decision counts.
For three variables it checks eight strict clauses, 68 entailed-clause cases from two-clause databases, and finds 24 separating instances; for four variables it checks 32 strict clauses, 1,328 entailed-clause cases, and finds 672 separating instances. No one-clause separation occurs in either search.
- Proof: complete for the named witness, exact decision costs, and analytic one-clause/three-variable minimality.
- Finite corroboration: exhaustive over the stated three- and four-variable search spaces; the proof does not depend on the search.
- External dependency: none.
- Representation obstruction: the separation depends on retaining the learned resolvent explicitly and using unit propagation rather than semantic or resolution-complete inference.
- Refutation: semantic residual equality does not determine propagation closure or decision cost; the proposed four-source-clause forced-literal gadget is not minimal.
- Novelty: not assessed; no novelty claim. Resolution and propagation phenomena are standard in style; the comparative packaging has not been literature-audited.
Current obligations after Run 17
- Preserve the four coordinates separately: semantic residual, retained clause database, proof derivation, and propagation/decision resource.
- Do not infer a CDCL lower bound, a general advantage for learning, or an actual first-UIP trace from the constant-size witness.
- Next bounded target: test the disjoint product of (k) minimal gadgets. Determine whether its minimum successful-decision gap is exactly additive from (k) to zero under the (k) learned resolvents, and identify precisely which part is direct-product structure rather than a general learning law.
- Branch verdict: CONTINUE CURRENT BRANCH. The SAT pivot produced a clause-minimal exact separation between semantics, proof state, and solver work, and the next scale test asks whether that separation admits a genuine resource law rather than another isolated example.
Run 18 — Product additivity and the clause-incidence boundary
Bounded target
Scale Run 17's minimal gadget to (k) variable-disjoint copies. Prove or refute exact additivity of minimum successful DPLL decisions under any subset of the local learned resolvents. Then hostilely add semantically redundant cross-block clauses and determine precisely which hypothesis supports the resource law.
General DPLL/UP product theorem
For a satisfiable clause database (D) and partial assignment , let be the minimum number of decisions on a successful DPLL branch, with exhaustive unit propagation after every decision, until every clause is satisfied.
Let use pairwise disjoint variable sets , and let each assign only variables in (V_i). Then
Proof
Unit propagation is componentwise because no clause mentions variables from two components. Take any successful global DPLL trace and project its decisions and propagated literals onto (V_i). The projection is a valid successful UP-interleaved trace for , so it contains at least decisions. Since each global decision belongs to exactly one component, summing gives the lower bound in (SAT.32).
Conversely, concatenate or interleave minimum successful traces for the components. A decision or propagation in one component changes no clause in another, so the combined trace is valid and uses the sum of the component costs. This proves the upper bound and equality.
The theorem applies more generally to the connected components of the variable-clause incidence hypergraph. It is a representation theorem: semantic factorization without clause-level separation is not enough.
CRD-SAT-4a: exact (k)-gadget law
For , use disjoint variables (u_i,a_i,b_i) and define
Let
and, for , retain exactly the local receipts indexed by (S):
For every (S),
Under , all databases compute the same residual function
Unit propagation immediately sets (a_i=1) for , while every unlearned block remains open and unit-free. Run 17 gives component costs zero for learned blocks and one for unlearned blocks. Therefore (SAT.32) yields
The storage and decision counts are simultaneously exact. Writing (s=|S|):
After substituting the prefix but before UP, the learned row has (2k+s) clauses and (4k+s) literal occurrences. Each retained one-step resolution receipt saves exactly one decision in this product presentation.
CRD-SAT-4b: hostile cross-block collapse
Semantic product structure alone does not guarantee (SAT.39). For , add the cross-block strict 3-clause
Each (M_i) is sound: block (i+1) entails , and (M_i) is a weakening of that local implicate. Hence
Under , the cross clauses become
The root contains no unit and is not satisfied, so at least one decision is necessary. Decide (a_1=1). The clauses (SAT.43) propagate
which satisfies every block. Thus, for every ,
The semantic residual remains (f_k), but the representation's incidence hypergraph changes from (k) components to one connected chain. The resource cost collapses from (k) to one.
CRD-SAT-4c: pure-resolution locality boundary
The cross clauses are sound implicates, but they are not produced by pure resolution without weakening from the disjoint source database.
Every initial clause belongs to one variable component. Inductively, suppose every previously derived clause is component-local. Two clauses from different components share no variable and therefore have no resolution pivot. Two clauses that can be resolved belong to the same component, and their resolvent remains in that component. Hence the complete non-tautological pure-resolution closure of (D_k) contains only block-local clauses.
In particular, it contains every (L_i) but no (M_i). Producing (M_i) requires weakening (L_{i+1}) by the irrelevant literal , an explicit redundant-clause insertion, or a changed connected source presentation. Therefore:
- the additive law is stable under block-local pure-resolution learning;
- it can fail under arbitrary entailed-clause retention or weakening;
- the failure must not be described as an ordinary disconnected-component CDCL trace without specifying how the cross literal entered the learned clause.
Structure exposed
The decision valuation is additive under disjoint union:
This is a commutative-monoid resource law over clause-incidence components. Learned clauses can either remain internal to those components or add hyperedges joining them. The semantic function may continue to factor even when the presentation hypergraph no longer does. Thus operational additivity is controlled by representation geometry, not solely by semantic product decomposition.
Hostile audit
- counts decisions on a minimum successful branch. It is not DPLL tree size, refutation size, worst-case heuristic cost, or CDCL runtime.
- Additivity requires variable-disjoint clause components and componentwise UP. Shared variables, global constraints, or cross-component learned clauses invalidate the projection proof.
- The (M_i) are valid entailed clauses and remain strict width three, but they use weakening. Standard conflict-driven learning in a disconnected formula does not automatically generate them.
- Resolution preprocessing can derive all local (L_i), moving the cost from decisions into preprocessing and retained clauses.
- Clause scans, watches, allocation, proof checking, deletion, and heuristic ordering remain uncharged. The one-receipt/one-decision exchange is not a universal time-space conversion rate.
- The direct product family is deliberately decomposable. Its linear gap is a resource law and calibration case, not evidence of SAT hardness.
Finite corroboration and status
sat_product_additivity_check.py verifies every subset of local receipts through six blocks: 126 subset cases. It checks global semantic equality of the base, fully locally learned, and cross-chain databases through four blocks, tests the exact cross-chain cost through six blocks, and constructs the pure resolution closure to confirm that no cross-block clause appears.
- Proof: complete for the general disjoint-component additivity theorem, exact (k-|S|) law, cross-chain cost one, and pure-resolution locality.
- Finite corroboration: 126 receipt subsets, eight full truth-table comparisons, decision search through six blocks, and closure checks.
- External dependency: none.
- Representation obstruction: semantic factorization does not preserve decision additivity after the clause incidence representation is connected.
- Refutation: arbitrary sound learned clauses cannot be treated as though they were necessarily generated by pure local resolution or standard CDCL.
- Novelty: not assessed; no novelty claim. Product additivity and resolution locality are standard in style; their use as a comparative resource boundary has not been literature-audited.
Current obligations after Run 18
- Preserve the distinction between semantic product, clause-incidence components, and the permitted learned-clause proof rules.
- Do not promote the weakening-based cross chain as a natural CDCL learning trace in a disconnected formula.
- Next bounded target: find the smallest connected strict-3CNF database in which a clause obtained by pure resolution along an actual conflict-relevant dependency path produces a nonlocal propagation/decision saving. If none exists below a fixed small size, record the obstruction rather than adding arbitrary entailed clauses.
- Branch verdict: CONTINUE CURRENT BRANCH. Run 18 produced a general exact resource law and a sharp representation/proof-system boundary; the next connected-case test determines whether the phenomenon survives in genuinely CDCL-native dynamics.
Run 19 — Connected pure-resolution propagation chain
Native three-clause witness
Let
and let (D={T,P,Q}). The variable--clause incidence graph of (D) is connected. Resolving (P) and (Q) on (b) gives
Thus by one pure-resolution step. Under the residual prefix , the trigger clause (T) propagates (a_0=1). In the base database the parent pair becomes
which is semantically (a_1) but is unit-free. Hence exhaustive UP stops open and the exact minimum successful-decision cost is one. With (L) retained, (L) becomes unit, propagates (a_1=1), and satisfies the database with zero decisions.
The receipt is conflict-relevant in the ordinary resolution sense. After the same trigger and a decision (a_1=0), the two parents reduce to (b) and . Propagating either produces a conflict with the other, and resolving their reason clauses yields exactly (L). After backtracking to , the retained learned clause performs the saved propagation. No weakening or arbitrary entailed-clause insertion is used.
Three source clauses are minimal for this externally triggered configuration: two distinct clauses are required as resolution parents and a third source clause must supply the activating propagation from outside that pair. The five-variable result is a finite exhaustive minimality certificate, not an unqualified analytic theorem: no witness occurs among all connected three-clause strict-3CNFs on at most four variables and all partial assignments.
Exact connected chain law
For , use trigger and, for , source parents
with pure resolvent receipts
Let (D_k) contain (T) and all (P_i,Q_i), and let
All (D_{k,S}) are semantically equivalent to (D_k). Their source incidence graph is one connected chain, and every receipt is obtained by one pure resolution step from source clauses. Nevertheless,
For the upper bound, process stages in order. A learned stage propagates (a_i=1). At an unlearned stage, decide either (a_i=1) or one value of (b_i); UP then forces (a_i=1). This uses one decision per unlearned stage.
For the lower bound, consider an unlearned stage once (a_{i-1}=1). Neither parent is unit while both (a_i,b_i) are unset. Downstream clauses use (a_i) only as a negative guard and cannot positively propagate it on a successful branch. Therefore some decision in the stage-specific set ({a_i,b_i}) is necessary. These sets are disjoint for distinct stages, yielding at least (k-|S|) decisions.
The family has (2k+1) strict source clauses and (2k+3) variables. With no receipts its cost is (k); with all receipts it is zero. This is the connected, pure-resolution counterpart to Run 18's disconnected product, but its additivity comes from a serial guarded dependency chain rather than a disjoint-union theorem.
Hostile audit and status
- Connectedness alone does not determine cost: every (D_{k,S}) is connected and semantically equivalent, while cost depends on retained proof clauses.
- The learned clauses are binary. The source is strict 3CNF; requiring learned clauses to remain width exactly three is a different proof system.
- The theorem does not claim that a fixed heuristic learns every receipt, or that first-UIP selects the same clause in a larger formula.
- excludes the conflicts spent learning receipts, clause scans, watches, proof checking, deletion, and total search-tree size.
- The satisfiable chain is deliberately easy. This is an exact representation/resource law, not a SAT-hardness result.
sat_connected_resolution_chain_check.py checks all 62 receipt subsets through five stages, semantic equality through four stages, the named conflict trace, and one-step derivability of every receipt. It exhaustively searched 5,016 connected three-clause strict-3CNFs on three or four variables and found no smaller externally triggered witness.
- Proof: complete for the three-clause witness and arbitrary-(k) law.
- Finite corroboration: 62 subset cases, four semantic comparisons, and the bounded exhaustive minimality search.
- External dependency: none.
- Representation obstruction: the same connected residual function and incidence connectivity do not determine UP/DPLL cost.
- Refutation: pure-resolution nonlocal savings do not require weakening; Run 18's weakening boundary was a consequence of disconnection.
- Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The connected pure-resolution family supplies the requested genuinely CDCL-native exact resource law. The next bounded obligation is to include the conflicts needed to acquire the receipts and compare learning investment with retained future savings.
Run 20 — Exact acquisition and reuse frontier
Repeated-demand interface
Use Run 19's one-stage database
and its pure resolvent . An episode begins at the same prefix and must produce a satisfying extension. Assignments are reset between episodes, while the learned-clause database may persist. Consider identical episodes and the following online CDCL policy class:
- Never learn: finish an episode by one successful decision.
- Learn at episode (t): finish the first (t-1) episodes myopically; at episode (t), decide (a_1=0), incur the parent conflict, learn (L), backtrack, and retain (L) for all remaining episodes.
The resource vector is
The storage coordinate charges one retained clause once; it is not a space--time rental charge.
Exact trace and policy theorem
The conflicting acquisition trace is exact. At , UP first sets (a_0=1). The decision (a_1=0) reduces the parent clauses to (b) and , producing one conflict. Resolving those two reasons gives exactly (L). Backtracking removes the decision, but the retained (L) is asserting: with (a_0=1), it propagates (a_1=1) and closes the episode. Every later episode closes by UP alone.
Therefore the exact cumulative vectors are
In particular,
Among all policies that learn, immediate learning weakly dominates every delayed acquisition: it has the same conflict and storage coordinates and no more decisions. Thus the Pareto frontier of this policy class is:
- for (r=1), only ((1,0,0)), since it dominates ((1,1,1));
- for (r>1), the two incomparable vectors ((r,0,0)) and ((1,1,1)).
There is no representation-independent scalar answer to whether learning is worthwhile. Give decision, conflict, and one-clause storage respective weights (d>0), , and . Then
Immediate acquisition is weakly beneficial exactly when
If storage is uncharged and decisions and conflicts have unit weight, learning ties at (r=2) and is strictly better from (r=3). If the retained clause also has unit cost, it ties at (r=3) and becomes strictly better from (r=4).
Persistence is the operative resource
If the learned clause is discarded after each acquisition episode, repeating the conflicting policy produces
which is dominated by never learning, ((r,0,0)). The future saving therefore does not come from resolution alone. It comes from resolution plus persistent retention across assignment resets. The same semantic residual is presented by two different proof histories, one of which has prepaid a future inference.
Hostile audit
- The theorem concerns the explicitly fixed online policy class. Resolution preprocessing could derive (L) without a CDCL conflict, but then its own construction and proof-checking costs must be specified rather than treated as zero.
- A myopic successful decision (a_1=1) solves the current episode without a conflict. The learning policy deliberately chooses a locally worse branch to improve later episodes.
- The demands are identical and assignments reset while clauses persist. Different prefixes may not activate (L); demand coverage is not yet modeled.
- The storage coordinate is a one-time retained-clause charge. Per-episode memory rent, deletion pressure, watch maintenance, and clause scans change the scalar threshold.
- The result does not characterize general CDCL heuristics, restarts, first-UIP choice, total runtime, or proof complexity.
Status and next obligation
sat_receipt_amortization_check.py verifies the native conflict/backtrack/reuse trace, all learning times through 50 episodes, 9,000 weighted break-even cases, and the deletion obstruction.
- Proof: complete for the stated repeated-demand policy class.
- Finite corroboration: 50 horizons, 1,275 learning-time policies, and 9,000 weighted valuations.
- External dependency: none.
- Representation obstruction: forgetting the learned clause destroys the amortization even though the semantic problem is unchanged.
- Refutation: there is no weight-free scalar claim that one saved future decision automatically repays one acquisition conflict and one stored clause.
- Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The run supplies an exact history--demand amortization law rather than another static representation example. The next bounded obligation is to replace identical demands with a finite demand family and characterize exactly which prefixes activate the receipt, yielding a coverage-sensitive break-even theorem.
Run 21 — Exact demand-coverage law
Four-prefix demand family
Retain Run 20's one-stage source database (D) and receipt , but let each demand be a complete assignment to the trigger inputs:
An episode resets all other assignments and asks for a satisfying extension. Define the receipt benefit
Direct UP and minimum-decision analysis gives the complete table:
Only is covered. There, the trigger clause propagates (a_0=1), making (L) unit after acquisition. On the other three demands, the trigger is already satisfied and leaves (a_0) unset; (L) is not unit and removes no decision.
The acquisition column records the fixed conflict trace. A covered demand already supplies (a_0=1), so deciding (a_1=0) suffices. On an uncovered demand, the solver must first decide (a_0=1), then decide (a_1=0), before the parents reduce to (b) and .
Sequence theorem
Let , and let
be its coverage count. Never learning has resource vector
If , the best conflict-driven acquisition policy has exact vector
Thus the net decision saving is
not (H). One covered opportunity is consumed by acquisition.
To prove (SAT.66), acquire at an arbitrary episode (j). Every earlier demand costs one decision. Acquisition costs one decision when is covered and two otherwise. Afterward, each covered demand costs zero and every uncovered demand costs one. Hence
where (p_j=0) on a covered acquisition demand and (p_j=1) otherwise, while (H_{>j}) is the number of covered demands after (j).
Acquiring at the first covered demand gives (p_j=0) and (H_{>j}=H-1), producing (r-H+1). Surprisingly, acquiring on any uncovered demand before the first covered one ties this value: its extra acquisition decision is exactly compensated by preserving the first covered demand for reuse. Immediate acquisition therefore always attains (SAT.66), regardless of demand order. If (H=0), acquisition costs (r+1) decisions and is dominated by never learning.
Weighted frontier
For and weights , acquisition is weakly preferable exactly when
The horizon length (r) disappears except through (H): irrelevant demands neither help nor harm under the stated one-time storage model. For , learning cannot strictly improve any nonnegative valuation.
Hostile audit
- Counting all covered demands as savings is false for online acquisition; the first covered opportunity pays for learning.
- “Wait until the first covered demand” is not uniquely optimal. Learning on an earlier uncovered demand uses one extra acquisition decision but captures one additional later saving, producing exact cancellation.
- The coverage result is for complete assignments to (u,v). Prefixes that set internal variables, inconsistent assumptions, or partial trigger inputs define a different demand family.
- The receipt is harmless on uncovered demands in this gadget. General learned clauses may change conflicts or propagation even when they do not reduce minimum successful decisions.
- Costs still exclude clause scans, watch maintenance, proof checking, memory rent, and heuristic perturbation.
Status and branch verdict
sat_receipt_coverage_check.py verifies the four-prefix table, all 21,844 demand sequences through length seven, 145,636 acquisition times, and 229,500 weighted cases.
- Proof: complete for the finite demand family and online policy class.
- Finite corroboration: exhaustive sequence-order verification through length seven plus weighted checks through horizon 50.
- External dependency: none.
- Representation obstruction: semantic equivalence does not record which demands a retained proof receipt accelerates.
- Refutation: gross coverage (H) is not the online saving; acquisition changes it to (H-1).
- Novelty: not assessed; no novelty claim.
Branch verdict: PIVOT NEXT RUN. Runs 19--21 now provide the static receipt law, its acquisition frontier, and its exact demand coverage. Further prefix variants risk bookkeeping rather than a new mechanism. The next run should pivot within SAT/branching/proof dynamics to a fixed-order residual-width versus proof-state-width question.
Run 22 — Exponential proof-state fiber over a width-one OBDD
Fixed-order connected family
Return to the connected guarded chain only as the witness family for the new branching/proof-state question. After the trigger prefix and root UP of (a_0=1), the source parents are
with pure width-two resolvents
For each , define the retained proof database
Every subset is reachable under the stated monotone conflict-learning interface. To learn (L_i), establish , decide (a_i=0), and resolve the resulting conflict. Reset assignments while retaining exactly the selected receipts.
Semantic quotient and OBDD width
The parent pair is Boolean-equivalent to (L_i). Consequently all (D_{k,S}) have the same residual function after the trigger closure:
Fix the variable order
The reduced OBDD skips every (b_i) and contains a chain of exactly (k) nonterminal (a_i)-nodes plus the two terminals. Its nonterminal width is one. Equivalently, after every positive assignment grade there are exactly two semantic residuals among all assignment prefixes: false, or the conjunction of the remaining (a)-variables. Thus the semantic cut width is two if the false terminal is counted and one on the live nonterminal frontier.
Across learning histories at the fixed trigger cut, however, every retained database lies over the same semantic root. The semantic quotient of those histories therefore has cardinality one.
Exact proof and resource fibers
Because receipts are retained as sets, with no duplicate or order provenance, the exact proof-state fiber is
Run 19's exact decision theorem gives
Therefore the quotient that observes only minimum successful decisions has exactly (k+1) classes, indexed by . The class of cost (q) has multiplicity
because cost (q) means exactly (q) receipts are missing. Hence the exact three-level collapse is
The first arrow retains only (|S|), while the second forgets even that count. The semantic OBDD remains width one throughout. Thus no bound depending only on reduced-OBDD width can bound the number of reachable retained proof states. Even the retained clauses have width only two; the exponential comes from independent presence coordinates, not large clause width.
Hostile audit
- Exact proof-state cardinality depends on the representation policy. Full resolution closure inserts every (L_i) and collapses the fiber to one. Subsumption replacement or clause deletion yields different state spaces.
- The (k+1) resource quotient is specific to the scalar observation . A stage-specific demand asking whether (a_{i-1}=1) immediately propagates (a_i) distinguishes membership of , including subsets of equal size. Therefore the cost quotient is not automatically a congruence for all future proof-state queries.
- OBDD width conventions must remain explicit: nonterminal width is one; including the false terminal at a cut gives width two. OBDD size is (k+2), not constant.
- Clause order, duplicates, provenance, activity scores, and watch positions are intentionally omitted. Retaining them can enlarge the proof fiber beyond (2^k).
- The result is not a resolution-width lower bound, a CDCL runtime theorem, or a SAT-hardness claim. It is an exact state-fiber separation.
Status and next obligation
sat_proof_fiber_obdd_check.py verifies 8,190 proof subsets through (k=12), exact DPLL costs for all 62 subsets through (k=5), full semantic truth tables through (k=4), and fixed-order residual profiles through (k=8).
- Proof: complete for arbitrary (k) in the stated representation.
- Finite corroboration: proof, resource, semantic, and cut-width layers independently checked at the stated bounds.
- External dependency: none.
- Representation obstruction: semantic OBDD width does not bound retained proof-state multiplicity.
- Refutation: minimal semantic state and bounded clause width do not imply a small persistent proof-state fiber.
- Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The pivot produced an exponential separation rather than another amortization variant. The next bounded obligation is to add stage-specific propagation demands and prove the exact information lower bound for any representation that must answer all of them, testing whether (k) bits are necessary and sufficient to compress the (2^k)-state fiber.
Run 23 — Exact information law for propagation-demand coverage
Native demand interface
Retain Run 22's connected guarded chain and proof databases
For each stage (i), define the read-only propagation demand (d_i) by seeding only (a_{i-1}=1), applying exhaustive unit propagation to the currently retained database, and asking whether (a_i=1) is produced without a decision:
This observes current unit-propagation readiness, not semantic entailment and not what could be derived after adding a new receipt during the query.
Exact answer-vector theorem
For every and every ,
If , the assumption (a_{i-1}=1) reduces (L_i) to the unit clause (a_i). If , the two source parents reduce to
neither of which is unit. Earlier-stage clauses are satisfied or unseeded; later-stage clauses contain at least two unset literals until (a_i) is known. Hence the UP closure stalls before assigning (a_i).
The complete demand vector is therefore the characteristic vector:
Necessary and sufficient retained information
Let an exact representation consist of an encoder
and deterministic answer maps satisfying
Then (e) is injective. If , choose ; equation (SAT.81) gives different answers to demand (i), so . Consequently
The bound is tight: store as a (k)-bit mask, answer (d_i) by reading bit (i), and implement receipt acquisition by setting that bit.
More generally, for a demanded stage set , define
This is the largest equivalence preserving all demands (d_i), , and it is a congruence for monotone receipt union. Its quotient is isomorphic to (2^T). Therefore
This is an exact demand-range/space law, not merely an asymptotic lower bound.
Structure exposed
The proof-state space is the Boolean join-semilattice
The observation map for (T) is the join-homomorphism
Its kernel is . Geometrically, the exact states form a (k)-cube, learning traverses monotone cube edges, and demand restriction projects the cube onto its (|T|)-dimensional coordinate face. Run 22's minimum-decision observation keeps only Hamming distance to the top; it has (k+1) layers but discards coordinate identity.
Hostile audit
- The scalar cost quotient is insufficient for the full demand family. At (k=2), states (S={1}) and (S'={2}) both have minimum decision cost one, but their propagation vectors are ((1,0)) and ((0,1)).
- If the query asks whether (L_i) is semantically entailed or resolution derivable from the source, every answer is yes and one state suffices. That is a different demand from current UP readiness.
- Allowing a query to derive and retain (L_i) before answering changes the state being observed. Allowing access to an external event log merely moves the required (k) bits outside (R); the lower bound applies to total accessible retained information.
- For a restricted demand set (T), only (|T|) bits are necessary. Thus the lower bound scales with demanded coordinates, not with formula size alone.
- The theorem is exact and deterministic. Approximate answers, randomized sketches, query-time reconstruction costs, and dynamic clause deletion are outside its scope.
Status and branch decision
sat_propagation_demand_information_check.py verifies 2,046 native proof states and 18,434 UP demands through (k=10), 2,046 restricted-demand quotients over 1,398,100 state/projection pairs, semantic truth tables through (k=4), and the cardinality/bit law through (k=32).
- Proof: complete for arbitrary (k) and every .
- Finite corroboration: native UP, quotient cardinalities, multiplicities, semantics, and the smallest scalar-cost counterexample checked.
- External dependency: none.
- Representation obstruction: exact readiness for (|T|) independent receipt coordinates requires (|T|) retained bits.
- Refutation: equal scalar decision cost does not preserve stage-specific propagation behavior.
- Novelty: not assessed; no novelty claim.
Branch verdict: PIVOT NEXT RUN. Runs 22--23 now classify the static receipt fiber semantically, by scalar resource, and by complete local demand. Further receipt-subset variants would repeat the Boolean-coordinate mechanism. The next bounded target should remain in SAT/branching/proof dynamics but move to a genuinely evolving branching or conflict-analysis state where the learned database is not a monotone independent-bit mask.
Run 24 — Minimal second-order branching separation
Fixed native interface
For a CNF database (D), define its singleton UP signature by recording, for every literal , the exhaustive unit-propagation closure and conflict bit from seed , together with the root closure. Fix deterministic DPLL to exhaust unit propagation, stop when every clause is satisfied, branch on the least unassigned variable in the order (x<y<z<p), try false before true, and count decisions and conflicts until the first model.
Connected strict-3CNF witness
Let
and . The variable--clause incidence graph is connected. Resolving the two clauses on (p) gives the strict width-three clause
Set . This is a pure-resolution addition, with no weakening, and
Singleton-signature equality
Any strict (r)-CNF containing only clauses with (r) distinct literals has trivial UP closure from a partial assignment of fewer than (r-1) variables: every unsatisfied clause retains at least two unset literals, so no unit step or conflict can begin.
For (r=3), every singleton seed therefore closes to itself. Both (D) and (D^+) are strict 3CNFs, so their complete singleton UP signatures agree:
The first difference is second-order. Under
the base database becomes
which has no unit clause. In (D^+), the resolvent becomes the unit . Hence
Exact fixed-policy branching cost
On (D), false-first DPLL makes the decisions
The third decision satisfies both clauses, so the trace has
On (D^+), the first two decisions reduce (L) to , which UP propagates. Every clause is then satisfied:
Thus
The difference is neither semantic nor visible to any one-literal UP demand. It is created when two decisions jointly activate the learned resolvent.
Minimality
The witness is minimal in both variables and source clauses among satisfiable strict-3CNF databases with a distinct entailed strict-3 clause.
With three variables, every strict 3-clause excludes exactly one complete assignment. If a satisfiable database entails a distinct strict 3-clause (L), it must exclude the unique assignment falsifying (L). The only strict 3-clause excluding exactly that assignment is (L) itself. Therefore no new strict-3 clause is entailed unless it is already present.
A single non-tautological clause (C) entails another clause (L) exactly when the literal set of (C) is contained in that of (L). If both are strict width three, this forces (C=L). Hence at least two source clauses are required. Equations (SAT.89)--(SAT.90) attain both lower bounds: four variables and two clauses.
Interaction-depth structure and hostile audit
The signatures form a filtration
where records UP behavior under seeds of size at most (t). Strict 3CNF makes vacuous, while the witness separates at . This is a genuine combinatorial interaction-depth distinction.
The following boundaries are essential:
- Singleton-signature equality is weak for strict 3CNF: it holds for every pair of such databases, because one assignment cannot create a unit clause.
- The branching separation depends on the fixed policy. Branching first on (z) and trying false makes both databases finish after one decision.
- The pair differs in its two-literal signature; the theorem does not claim indistinguishability under all partial assignments.
- Clause satisfaction is checked after each UP closure. A solver that insists on assigning every variable uses a different cost interface.
- No CDCL conflict occurs on the exhibited trace. The clause is nevertheless a genuine pure resolvent and reverse-unit-propagating from its falsifying assignment.
- The result is not a SAT-hardness, proof-size, or heuristic-average theorem.
Status and next obligation
sat_second_order_branching_separation_check.py verifies the named truth table, resolution step, singleton signatures, second-order closure, and exact traces. Exhaustively, all 255 satisfiable strict-3CNFs on three variables have no nontrivial entailed strict-3 addition; four-variable one-clause sources have none; and among connected satisfiable two-clause four-variable sources there are 192 entailed strict-3 additions, all singleton-signature preserving, of which eight alter the fixed policy's decision/conflict count.
- Proof: complete for the named separation and analytic minimality.
- Finite corroboration: complete at the stated three-variable and four-variable/two-clause boundaries.
- External dependency: none.
- Representation obstruction: first-order UP observations do not determine second-order activation or fixed-policy branching cost.
- Refutation: equality of full singleton UP signatures does not imply equal deterministic DPLL work.
- Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The pivot exposed a new interaction- depth mechanism, not another independent receipt coordinate. The next bounded target is a single arbitrary-width theorem: determine whether strict (r)-CNF admits a sharp family agreeing through but diverging at , with one pure-resolution receipt saving exactly one fixed- policy decision. Do not enumerate widths separately.
Run 25 — Arbitrary-width interaction-depth theorem
Parameterized native family
Fix . Use variables
and define the common block
where the positive prefix is empty at (r=3). Let
All three clauses are strict width (r). The source incidence graph is connected, and resolving (C_r^-) with (C_r^+) on (p) gives exactly (L_r). Hence
The family has (2^{r+1}-4) models: each source clause excludes two assignments, and the excluded sets are disjoint because they demand opposite values of (p).
Sharp interaction-depth theorem
Let record UP closure and conflict status for every consistent seed assigning at most (t) variables. By the strict-width lemma, no strict (r)-clause can become unit or false under fewer than (r-1) seeded variables. Therefore
Now seed
The source parents reduce to
so base UP stalls. The learned clause reduces to and propagates (z_{r-2}=0). Thus
and (r-1) is the first possible separating depth.
The negation of every literal of (L_r) makes the parents unit and (p), so (L_r) is also reverse-unit-propagating, not merely semantically redundant.
Exact decision law
Fix false-first DPLL order
with exhaustive UP and termination when every clause is satisfied. On (D_r), the solver decides false for , then must also decide (z_{r-2}=0). The last choice satisfies the common literal . Therefore
On (D_r^+), after the first (r-1) decisions, (L_r) propagates (z_{r-2}=0). Hence
For every , the receipt saves exactly one decision without changing the semantic residual or causing a conflict on the successful trace.
Minimality and fixed-depth obstruction
The construction is minimal in source clauses and variables for a distinct entailed strict-(r) addition. With exactly (r) variables, each strict (r)-clause excludes one complete assignment; a satisfiable database can entail a missing such clause only by already containing the unique clause that excludes its falsifying assignment. One source clause cannot entail a distinct clause of the same width, because same-width clause subsumption forces equality. Thus (r+1) variables and two source clauses are necessary, and the family attains both bounds.
An immediate corollary is that no fixed finite interaction depth controls this branching resource over unbounded clause width. For any , choose (r=t+2). Then
Geometric interpretation and hostile audit
The seed assignments form faces of the ((r+1))-dimensional Boolean cube. The learned clause is inactive on every face of dimension corresponding to fewer than (r-1) fixed coordinates. On the codimension-((r-1)) activation face , it installs a directed propagation edge to (z_{r-2}=0). Clause width therefore sets an exact activation codimension.
The following limitations are load-bearing:
- Unbounded interaction depth is obtained by increasing clause width. The theorem does not give unbounded depth inside fixed strict 3CNF.
- Low-order signature agreement is forced by strict width and is therefore a coarse observation, not a strong solver bisimulation.
- The decision saving depends on the fixed order and false polarity. Choosing (z_{r-2}) early can erase it.
- The successful trace has no conflict; CDCL acquisition is witnessed instead by the RUP conflict under the negated learned clause.
- Allowing shorter clauses destroys the low-depth vacuity lemma.
- The theorem establishes neither proof-size lower bounds nor average heuristic performance.
Status and next obligation
sat_arbitrary_width_interaction_depth_check.py verifies widths (3) through (12), 16,368 complete assignments, 16,980 low-order seeds through width eight, all RUP witnesses, and the exact (r) versus (r-1) decision law.
- Proof: complete for every , including minimality.
- Finite corroboration: semantic, UP-filtration, RUP, connectivity, and DPLL layers checked at the stated bounds.
- External dependency: none.
- Representation obstruction: no fixed seed depth determines fixed-policy work across unbounded clause width.
- Refutation: low-order UP equivalence is not uniformly resource-complete.
- Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The arbitrary-width theorem proves the mechanism structural, while exposing its sharp unresolved boundary: increasing width carries the interaction depth. The next bounded target is one fixed-width test—either construct an unbounded-depth strict-3CNF family using auxiliary structure and pure-resolution learning, or prove a precise obstruction. Do not continue by checking individual widths.
Run 26 target
Determine whether auxiliary strict-3CNF structure can hide the operational effect of a retained pure-resolution clause beyond every fixed seed depth, or whether bounded learned-clause width imposes an exact completeness radius for unit-propagation observations.
Fixed-width absorption definitions
All clauses are normalized, non-tautological sets of literals. For a CNF (F) and consistent seed , let denote its exhaustive unit-propagation closure, with conflict retained as a distinct outcome. For (C) and , set
The clause (C) is UP-absorbed by (F) when, for every , either conflicts or derives .
Exact fixed-width completeness theorem
Let (F) be any CNF, let (A) be any finite set of added clauses of width at most (w), and put . The following are equivalent:
- .
- Every clause of (A) is UP-absorbed by (F).
- For every consistent seed ,
Thus depth (w-1) is a complete observation radius for additions of maximum width (w). In particular, depth two is complete for strict-3CNF databases augmented only by clauses of width at most three. Auxiliary variables and arbitrarily long source derivations do not change that bound.
Propagation-persistence lemma
If conflicts, every extension of also conflicts under UP. If it derives , then every extension either conflicts or derives the same .
Take a sequential unit derivation from and induct on its steps. When a clause becomes unit, every other literal has already been falsified by the seed or an earlier derived literal. By induction, the extended seed reproduces those falsifications unless it has already caused a conflict. The clause therefore derives the same unit, that unit is already present, or its opposite is present and causes conflict.
Proof of the equivalence
Assume (1). Every boundary seed has size at most (w-1). In (G), clause (C) immediately derives or participates in a conflict. Signature equality gives the same result in (F), so every addition is absorbed.
Assume (2), and let be consistent. No added clause can be false in : its chosen boundary seed is contained in , while absorption plus persistence would either force a conflict or derive the chosen literal. Nor can an added clause be unit with remaining literal , because the same argument would conflict or place already in . Every added clause is therefore satisfied or has at least two unset literals. There is no first new propagation step available in (G), so its closure is exactly . The conflicting case is immediate. This proves (2) implies (3); restriction proves (3) implies (1).
Absorption also implies semantic entailment. A model of (F) falsifying (C) would extend every boundary seed without conflict while falsifying the literal that absorption forces. Hence
Exact fixed-policy DPLL corollary
Fix a variable order, polarity, exhaustive UP, and termination when every stored clause is syntactically satisfied. Under the equivalent conditions, (F) and (G) have identical complete DPLL traces: the same closures, decisions, conflicts, and stopping points.
For stopping, if a partial assignment satisfies every clause of (F), every total extension is a model of (F). Since , each added clause must already contain a true literal; otherwise one could falsify all its unset literals in a total extension.
Run 25 proves sharpness. For every , its width-(w) pair agrees through but differs at a seed of size (w-1). Therefore
Hostile audit and failed construction route
The failed escape placed a long auxiliary propagation chain behind a learned 3-clause: the base would simulate each two-literal boundary probe, but a deeper assignment would supposedly disable that simulation while the stored clause remained unit. Propagation persistence blocks the construction. A consistent extension can only preserve the earlier unit consequence or expose a conflict.
The theorem is representation-specific. A heuristic reading clause occurrence, activity, watch positions, provenance, or proof metadata may distinguish (F) from (G) even when every UP closure agrees. Conflict-analysis graphs, scan work, acquisition cost, deletion, proof size, and restarts are not equated. Run 25 still permits unbounded depth when learned-clause width grows.
Status and next obligation
sat_fixed_width_absorption_check.py exhaustively checked 106,301 three-variable configurations, including interacting pairs of additions, and 4,096 four-variable configurations. Depth-two equality, absorption, and all-seed UP equality coincided in every case. It also checked 9,096 qualifying fixed-order traces and Run 25 sharpness at widths three through eight.
- Proof: complete for arbitrary bases and finite additions of maximum width (w).
- Finite corroboration: 110,397 configurations plus six sharpness widths.
- External dependency: none.
- Representation obstruction: complete UP observation omits syntax-sensitive heuristic and proof-state costs.
- Refutation: auxiliary strict-3CNF chains cannot create unbounded escape depth for this observer and resource.
- Novelty: not assessed; no novelty claim.
Branch verdict: PIVOT NEXT RUN. The interaction-depth line is exact and closed at fixed width. The next SAT/proof target should use a conflict-analysis or proof-width observation not determined by complete UP closure.
Run 27 target
Determine whether semantic equality together with equality of complete unit-propagation closure on every seed determines conflict-analysis work once a deterministic propagation-reason and first-UIP interface is fixed.
Connected strict-3CNF reason-compression family
For , use variables
Let (F_m) contain
and the conflict clause
Every clause is strict width three, and the variable--clause incidence graph is connected. Define the retained shortcut
The shortcut is a pure-resolution consequence. Starting from (C_0), resolve successively with :
This displayed derivation has exactly (m) resolution steps. No claim of globally minimum unrestricted resolution length is made.
Absorption and complete UP equivalence
Clause (L) is UP-absorbed by (F_m). Its three boundary cases are:
- (x=y=0): propagate , after which (K) conflicts;
- (x=b=0): propagate , after which (C_0) propagates (y);
- (y=b=0): the symmetric (Y)-chain propagates backward and (C_0) propagates (x).
Run 26's absorption theorem therefore yields
and, for every consistent seed ,
including identical conflict outcomes. The pair is consequently invisible to every interaction-depth signature, not merely to one bounded radius.
Fixed propagation and first-UIP interface
The resource comparison fixes the following native solver interface.
- Decide (x=0) at level one and (y=0) at level two.
- Propagate one unit at a time. Scan clauses in stored priority order and use the first unit clause as the immutable reason for its literal; restart the scan after each propagation.
- Store (F_m) in the order .
- Store (G_m) with (L) at highest priority followed by the same base order.
- On conflict, perform standard latest-trail first-UIP resolution until one level-two literal remains. Charge one unit per resolution pivot.
In (F_m), the reasons form the forward chain
so (K) analyzes as
This takes exactly (m+1) pivots.
In (G_m), the highest-priority unit (L) propagates (b). The same conflict clause then resolves directly:
This takes one pivot. Both executions make the same two decisions, encounter one conflict, learn the same first-UIP clause , and never exceed width three during analysis. Thus
The exact gap is (m), although the semantic function and every UP closure are equal.
Mechanism and hostile audit
Complete UP observation records which literals and conflicts are forced, but not which stored clauses certify those propagations. The retained resolvent (L) contracts an (m)-stage reason path into one edge. Conflict-analysis work is therefore path length in a retained reason DAG, not a function of the semantic residual or closure operator alone.
The clause-priority and immutable-reason policy is essential. Appending (L) at low priority can let the base chain claim (b) first and erase the measured gap. A solver that replaces reasons, minimizes them, counts scans or watch traffic, or uses another UIP convention defines another resource. The theorem does not prove a heuristic-independent CDCL runtime lower bound, a minimum resolution-proof lower bound, a proof-width separation, or a conflict-count separation. Acquisition of (L) is also uncharged in this run, although Equation (SAT.117) displays one pure-resolution acquisition route.
The failed sufficiency route was:
Equations (SAT.119) and (SAT.122) refute it. The missing coordinate is propagation provenance together with the declared reason-selection interface.
Finite corroboration, status, and next obligation
sat_first_uip_reason_compression_check.py verified:
all-seed UP equality on 88,533 seeds for , comparing 177,066 closures;
semantic equality on 16,368 truth-table rows for ;
128 deterministic conflict traces for ;
the exact (m+1) versus one pivot law, the common learned clause, and maximum analysis width three;
all 2,080 steps in the displayed pure-resolution shortcut derivations through (m=64).
Proof: complete for every in the stated deterministic propagation/reason/first-UIP interface.
Finite corroboration: as listed above; it is not the proof.
External dependency: none.
Representation obstruction: the closure operator erases reason-DAG provenance and clause priority.
Refutation: complete all-seed UP equivalence does not determine first-UIP pivot work.
Novelty: not assessed; no novelty claim.
Branch verdict: CONTINUE CURRENT BRANCH. The SAT/proof branch has exposed an exact unbounded reason-compression law beyond complete UP closure. The next bounded obligation is to test whether the separation survives a priority-independent observer: compare minimum reason-compatible first-UIP length, or fix a canonical reason-minimization policy and prove its exact behavior on this family.
Run 28 target
Remove Run 27's clause-priority dependence. Under the same decisions (x=0) at level one and (y=0) at level two, allow every legal sequential unit-propagation schedule, every available propagation reason, and every currently falsified conflict clause. Determine the exact set of first-UIP pivot costs for (F_m) and (G_m), not merely the costs of one preferred trace.
Schedule-independent native interface
A legal reason trace starts from (x=y=0). At each nonconflicting state it may choose any currently unit clause, assign its unit literal, and retain that clause as the immutable reason. As soon as the current assignment falsifies a clause, propagation stops; if several clauses are false, any may be selected as the detected conflict. Latest-trail first-UIP analysis then resolves until one level-two literal remains.
For a database (D), let be all such traces and define
where is the number of conflict-analysis resolution pivots.
Residual path skeleton
Under (x=y=0), write
After suppressing the already falsified guards, (F_m)'s reason structure is the inconsistent directed path
Each internal binary clause occurs with two distinct provenance labels, one from (X_i) and one from (Y_i). The augmentation (G_m) adds the opposite endpoint unit
This path skeleton is the entire schedule search. Positive propagation can only advance a prefix from (v_0), while negative propagation can only advance a suffix backward from (v_m).
Exact all-schedule theorem
For every ,
whereas
Every trace in both databases learns the same first-UIP clause
Consequently,
so the priority-independent optimum gap is exactly (m). On the other hand,
Thus the stored shortcut changes attainable proof work, but does not force every online schedule to exploit it.
Proof for the base database
In the path skeleton, assigned true vertices always form a prefix and assigned false vertices always form a suffix. Before conflict these regions are disjoint. Conflict occurs precisely when their two frontiers meet: either an edge becomes false or an attempted unit propagation meets an already assigned opposite value.
The two reason branches then cover the full path between the endpoint units. No propagated (v_i) is a common dominator of both branches; their only common level-two dominator is decision (y). Hence first-UIP cannot stop at an internal path vertex. It must eliminate every one of
The reason graph is acyclic, and resolving a path vertex never reintroduces it. Therefore exactly (m+1) distinct pivots occur. After all are eliminated, the retained guards are exactly (x) and (y), proving both Equations (SAT.126) and (SAT.128).
Proof for the augmented database
The added unit ((v_m)) and the old endpoint unit are both available immediately.
If either is selected before the forward chain reaches (v_m), the opposite unit clause becomes false. Its reason and the conflict clause resolve directly to , so the cost is one.
Alternatively, a legal schedule may postpone both endpoint clauses, propagate
along the original forward path, and then detect conflict in . This reproduces the (m+1)-pivot Run 27 path. These exhaust the possibilities: (v_m) is assigned either by one of the endpoint units or by the forward chain. This proves Equation (SAT.127).
Hostile width audit
Pivot count is invariant in (F_m), but analysis width is not. For (m=1), every trace has maximum width three. For ,
while every (G_m) trace has maximum width three.
The upper bound four follows because an intermediate resolvent contains at most the two guards (x,y) and two adjacent path literals. Width four is attained by letting one guard's clause propagate into an internal edge and using the other guard's copy as the conflict. At (m=2), for example, propagate (a_2) using (X_1) but select (Y_2) as the conflict after (b=0); the first resolvent contains .
This does not retract Run 27: its selected all-(X) trace has width three. It blocks promoting that fixed-trace width statement to all reason choices.
Interpretation and limits
The result exposes an exact path-resource law. The all-seed UP closure sees only reachability of consequences. The reason-trace space retains different ways of traversing the same implication path. Adding (L) introduces a one-edge route without deleting the long route.
Minimum first-UIP work is an existential representation resource. It measures the best proof available in the retained database, not the cost an online solver is guaranteed to realize. Finding the best reason trace may itself require computation not charged here. Conflict-detection scans, watched literals, acquisition of (L), restarts, deletion, and unrestricted resolution proofs remain outside the theorem.
Finite corroboration, status, and branch decision
sat_first_uip_schedule_minimum_check.py exhaustively generated 176,800 complete reason traces for . It verified the exact cost sets, common learned clause, and width sets above.
- Proof: complete for every in the stated all-schedule sequential-UP/first-UIP model.
- Finite corroboration: 176,800 traces through (m=8).
- External dependency: none.
- Representation obstruction: complete UP closure forgets the available reason-path spectrum.
- Refutation: a retained shortcut does not guarantee lower realized cost; (G_m) still admits (m+1)-pivot traces.
- Novelty: not assessed; no novelty claim.
Branch verdict: PIVOT NEXT RUN. The reason-path family is now classified under both a fixed policy and every legal schedule; further chain variants would be bookkeeping. The next SAT/proof target should test a genuinely different resource, preferably minimum resolution width or clause space for semantically and all-seed-UP-equivalent connected strict-3CNFs.