Derived prefix control: exact WFL construction and audit

Contents

Model pinned for this statement

For grade LL, the input has two typed phases

b1⋯bL  #  eL⋯e1, b_1\cdots b_L\;\#\;e_L\cdots e_1,

where bi∈{0,1}b_i\in\{0,1\}, the separator is a zero-width control event, and (e1,…,eL)(e_1,\ldots,e_L) is promised one-hot. The encoder is append-only. A cell contains one Boolean site at its half-integer center. The separator marks the integer crease between the two equal material blocks. One all-layers fold at that marked crease and one final WFL Look are allowed.

The phrase “marked crease” is load-bearing: see the hostile audit below.

Exact construction theorem

Define

zi=b1⊕⋯⊕bi,z0=0. z_i=b_1\oplus\cdots\oplus b_i,\qquad z_0=0.

There is a uniform two-state Mealy encoder realizing

QL(b,e)=⋁i=1L(zi∧ei). Q_L(b,e)=\bigvee_{i=1}^L(z_i\wedge e_i).

It uses exactly

  • 2L2L material cells and 2L2L sites, one site per cell;
  • LL final fibers and LL DNF terms;
  • stack depth and DNF width 22;
  • 2L2L literal occurrences;
  • one all-layers fold.

Construction

The Mealy state is q∈{0,1}q\in\{0,1\}, initially 00. On an old symbol bib_i, update q←q⊕biq\leftarrow q\oplus b_i and emit one site with value q=ziq=z_i. On the typed phase separator, mark the current material boundary and optionally reset qq to zero. On the late phase, copy each arriving bit into one site. Because the late phase arrives as eL,eL−1,…,e1e_L,e_{L-1},\ldots,e_1, no counter, grade advice, or reversal buffer is used.

Number cells from left to right. The old ziz_i-site is at

xi=i−12, x_i=i-\tfrac12,

and the late eie_i-site is at

yi=2L−i+12. y_i=2L-i+\tfrac12.

Reflection about the integer crease x=Lx=L sends

2L−xi=2L−i+12=yi. 2L-x_i=2L-i+\tfrac12=y_i.

Consequently the fold creates precisely the LL disjoint depth-two fibers {zi,ei}\{z_i,e_i\}. WFL incidence normal form gives

Look⁡(b,e)=⋁i=1L(zi∧ei). \operatorname{Look}(b,e) =\bigvee_{i=1}^L(z_i\wedge e_i).

Under the one-hot promise, if ei=1e_i=1, the answer is ziz_i.

The construction is genuinely uniform in the symbol processing: the old transition is XOR, the late transition is copying, and all placement roles are stationary. Its geometric uniformity requires a relative instruction “fold at the marked phase boundary” (or an equivalent grade-indexed midpoint fold).

Exact fiber/site lower bound

Consider any one-Look incidence construction in which every site predicate depends on only the old phase or only the late query phase. On the one-hot query domain, every fiber is a combinatorial rectangle

Aj(z)∧Bj(e). A_j(z)\wedge B_j(e).

The 11-matrix of QLQ_L, after the bijective change of old coordinates b↦zb\mapsto z, is the unary INDEX matrix I(z,i)=ziI(z,i)=z_i. It has the fooling set

{(ei,i):1≤i≤L}. \{(\mathbf e_i,i):1\le i\le L\}.

Indeed I(ei,i)=1I(\mathbf e_i,i)=1, whereas for i≠ji\ne j, I(ei,j)=I(ej,i)=0I(\mathbf e_i,j)=I(\mathbf e_j,i)=0. A 11-rectangle can contain at most one fooling-set element. Hence every incidence DNF needs at least LL effective fibers.

Every useful fiber must contain at least one old-dependent site: otherwise it would also accept the all-zero old row. For L≥2L\ge2, it must contain at least one query-dependent site: otherwise a row accepted at column ii would also be accepted at a zero column jj. Physical fibers are disjoint, so at least 2L2L sites are necessary. Split dependence also requires depth at least two; in this geometry a nontrivial overlay requires at least one fold.

Thus the displayed construction is simultaneously optimal in effective fiber count, site count, depth, and fold count within the separated-site doctrine.

Entropy equality and the two different congruences

The triangular map

(b1,…,bL)⟼(z1,…,zL) (b_1,\ldots,b_L)\longmapsto(z_1,\ldots,z_L)

is bijective, with inverse bi=zi−1⊕zib_i=z_{i-1}\oplus z_i. Therefore, for uniform independent old bits,

H(R)=H(Z1,…,ZL)=L. H(R)=H(Z_1,\ldots,Z_L)=L.

The construction has Sx=Mx=LS_x=M_x=L, so with a constant post-separator control mode it attains equality in the residual-row capacity law

H(R)≤H(C)+min⁡{Sx,Mx}. H(R)\le H(C)+\min\{S_x,M_x\}.

If the final parity state is retained rather than reset, then the exact state/archive decomposition is

H(R)=H(ZL)+H(Z1,…,ZL−1∣ZL)=1+(L−1). H(R) =H(Z_L)+H(Z_1,\ldots,Z_{L-1}\mid Z_L) =1+(L-1).

There are two non-equivalent notions of quotient here.

  1. Output-normalized sequential residual. After the already emitted output history is factored away, future prefix-parity output depends only on the current parity qq. The normalized right congruence therefore has exactly two classes.

  2. Raw late-query row. The complete row i↦QL(b,ei)=(z1,…,zL)i\mapsto Q_L(b,\mathbf e_i)=(z_1,\ldots,z_L) is injective in bb. Raw late-query equivalence therefore has exactly 2L2^L classes.

The two-state quotient compresses continuation dynamics, not historical access. A rooted-atlas compression based only on that quotient is therefore unsound for late WFL queries. It must be enriched by the legal head-bond or fiber-incidence carrier that links each reversed selector cell to the corresponding archived prefix site.

Consequence for the previous parity obstruction

The literal-controlled theorem forced 2L2^L DNF terms after restricting the late index to i=Li=L, because parity in the original bb-literals has only minterm implicants. Derived prefix sites change the doctrine: zLz_L is now one emitted predicate, and the full indexed family uses only LL terms. Thus the exponential literal-occurrence obstruction does not survive derived preprocessing. The linear residual-row charge does survive, and the construction attains it.

Hostile audit

  • Reverse unary query is essential. A binary late index cannot be expanded into a length-LL reverse one-hot block by fixed finite control. An ordinary-order unary block requires reversal, buffering, or a different fold construction.
  • The separator cannot silently consume one material cell. Sites are at half-integers and legal creases at integers. One separator cell would put the desired reflection axis at a half-integer. A material version may instead use two false padding cells straddling the crease. Its physical counts are 2L+22L+2 sites and L+1L+1 stack locations, while the simplified incidence DNF still has LL effective terms.
  • Relative crease addressing must be legal or charged. If WFL permits only a fixed finite set of absolute crease coordinates, independent of grade, then the fold x=Lx=L is not a uniform program. A marked-boundary fold repairs this. A nonuniform grade-indexed coordinate carries Θ(log⁡L)\Theta(\log L) numerical description unless midpoint operations are primitive.
  • One site per cell is respected. No cell contains both an old and a query site before folding; the conjunction arises only from the final physical overlay.
  • Cross-derived late sites are a stronger doctrine. If a late site may directly compute a predicate of retained old state and the current query, the two-sites-per-fiber lower bound no longer applies. Such cross-phase preprocessing must be charged as state/query computation.