diff c70e610..3738592 pcp_ppad_quasilinear_v2.txt
diff --git a/pcp_ppad_quasilinear_v2.txt b/pcp_ppad_quasilinear_v2.txt
index a0f2eb7..f1a0a09 100644
--- a/pcp_ppad_quasilinear_v2.txt
+++ b/pcp_ppad_quasilinear_v2.txt
@@ -569,3 +569,782 @@ one-sided, while vertices in A_fail ∩ B_fail are corrected in both
 axes. After K_out (z_A + z_B) rounds, z has collapsed to 0, so W'
 is exact. Uniqueness of W' follows from the packing distance
 K_* > 2K_out theta_out.
+
+ENCODERS AND REVERSIBLE FILLING
+
+The systematic encoder E_alpha,beta takes a payload v on Gamma and
+sends it to the unique W in C_out(V) whose systematic entries at
+part (0,0) over the rectangle Gamma x I_A x I_B match v. The parity
+operator is a Gaussian elimination whose matrix entries are sums of
+left translations and A-twists with scalar coefficients.
+
+Orbit invariance. Under the Fourier transform on Gamma = F_2^r x| H,
+a left pull preserves the F_2^r-frequency nu but permutes the
+H-coordinates. A right pull sends (nu, u) to (u . nu, u . v) for the
+right-multiplier v. Constant entry twists preserve nu. Consequently
+every parity operator L_A preserves each H-orbit O of frequencies
+and its complement. Restricted to one orbit O, L_A is a block of
+size at most |H|, and its inverse there commutes with every L_B
+entry by direct computation. This gives the simultaneous systematic
+extension. The mesh of sizes at an orbit is |O||H|<=|H|^2<=r^{18}
+in field coordinates, and one inverse on the orbit is a bounded
+Gaussian elimination.
+
+Fourier cutoffs. The filling of a full slot proceeds by frequency
+cutoffs 0 <= tau <= M_o. For nu in F_2^r put
+  w_tau(nu) = |H|^{-1} sum_{a in H} 1[under(a^{-1} nu) < tau]
+where under(y) is the numerical representative of y in
+{0, 1, ..., M_o - 1}. The multiplier is constant on H-orbits and
+hence commutes with every L_A and L_B, and with every systematic
+injection. Monotonicity of under in each coordinate expresses
+w_tau as a sum of at most r rectangles over F_2^r, each rectangle
+pinned by fixing the most significant differing bit of under(y)
+against tau. Consecutive rectangles are nested, and the union over
+tau covers the increasing balls {under(nu) < tau}.
+
+Increment locality. The increment w_{tau+1} v - w_tau v is supported
+only where under(nu) = tau, an orbit O_tau = H . tau of at most |H|
+frequencies. Encoding the increment requires applying L_A^{-1} and
+L_B^{-1} to the orbit-supported function. Since the orbit lies in
+a bounded coset of the F_2^r-axis and the operators preserve O_tau
+and its complement, only coefficients from O_tau itself enter the
+inverse. The source-data reads are a bounded list of at most
+|H| * (|Gamma|-indexed entries) stored at the neighbour set of
+tau in the F_2^r-Cayley graph. This is polylogarithmic in N.
+
+Reversible two-buffer schedule. The full slot cannot be produced in
+one irreversible step; it must be reached from zero through a chain
+of reversible transitions that preserve enough of the past to
+reverse. Two buffers are kept, one completed to stage tau and one
+being extended to stage tau+1. The buffer at stage tau is held
+while the buffer at stage tau+1 is computed by adding the increment.
+The pivot applies the increment to the completed target. Once the
+new buffer is verified against the target and against the increment,
+the old buffer may be erased in reverse order of construction.
+Two buffers suffice because every increment depends only on the
+current target and on the payload data, and not on prior
+intermediates. Bennett's reversible cleaning principle supplies the
+schedule; the completed buffer serves as the proof that the future
+erasure can be reversed.
+
+./bennett-1973-logical-reversibility.pdf
+
+Size and uniformity. There are M_o increments. Each increment has
+bounded support and bounded local read set. Each pivot, comparison,
+and reverse-erasure is a bounded-arity gate on the buffer entries.
+The total number of gates is O(M_o polylog(N)) = O(N polylog(N)).
+The buffer contents and intermediate proofs are held in a
+standardized form; the schedule is fixed by the length N, not by
+the payload, so the construction is uniform over payloads.
+
+LOCAL PROGRAMS AND TAPE EQUATIONS
+
+The outer program assigns to each logical tape operation a bounded
+set of "row equations" over J, and to each transition a bounded set
+of "shift operations" that glue consecutive rows. The macrograph's
+five edit types become local equalities on the outer code.
+
+Tape algebra. A logical tape is b = (A, E^A, B, E^B) in {0,1}^{4h}.
+The four fields encode content A, occupation E^A, content B,
+occupation E^B, blockwise, over Gamma x {0,1}^2 x [d] x [d]. Each
+component is a J-value; bits are {0, 1} in J. A row equation
+imposes, at a specified vertex of the macrograph, the pointwise
+equality with a linear or bilinear expression in earlier bits.
+
+Binding. The content fields A and B are stored full on both parts
+(0,0) and (0,1) and on parity positions. The equality of the two
+parts at the (1,1) label is enforced by the parity extension,
+not by a separate copy gate. The occupation fields E^A and E^B
+are stored only on part (0,0) and copied along A via E^{A} in the
+B-block, using the row-multiplication twist.
+
+Gate rules. Each ruled gate of the source circuits S and P becomes
+a pointwise cell equation of degree at most two on A or on B:
+  Constant(alpha; z):      A[z] - alpha * E^A[z] = 0
+  Scale(alpha; a; z):      A[z] - alpha * A[a] = 0
+  Copy(a; z):              A[z] - A[a] = 0
+  Add(a, b; z):            A[z] - A[a] - A[b] = 0
+  Subtract(a, b; z):       A[z] - A[a] + A[b] = 0
+  Terminal comparison x:   E^A[z] - 1 = 0
+Each of these is a degree-one or degree-two equation over J
+with coefficients that are 0, 1, alpha, or -1 in J. Clipping the
+upper bound 1 is enforced by a second-order "one is one" condition
+A * A = A, tested via the A-code pair (W, W * W) introduced for
+each logical tape coordinate.
+
+
+UNIFORM SLOTS AND PRODUCT CERTIFICATES
+
+Every occupation field E_A and E_B is stored in a sub-code whose
+codewords have exactly one nonzero grid point. The one-hot condition
+is imposed by a bounded-rank test,
+  sum_k E^A[k] = 1,  E^A[k] * (1 - E^A[k]) = 0 for every k.
+The sum over the entire index group is evaluated with the Fourier
+cutoff w_1, the pointwise square with a product slot.
+
+Product slots. For two logical tape coordinates c, c' from {A, E_A,
+B, E_B}, the pointwise product P = W(c) * W(c') is a bounded-rank
+linear functional of the systematic coordinates of W(c) and W(c').
+Introduce a product slot PC(c, c') and impose the bounded-arity
+equation, at each cell k,
+  L_A PC(c, c')[k]
+    = sum_{i, i' in [d]^2} c_{i,i'} * W(c)[a_i k] * W(c')[a_{i'} k],
+with c_{i,i'} a fixed public constant of H_A. The equation is
+quadratic in the pair (W(c), W(c')), and any systematic tuple that
+(1-delta)-satisfies it is close to one that satisfies it exactly.
+Chaining PC delivers arbitrary bounded-degree combinations from
+bounded additional slots; the degree of any gate of S or P is at
+most two, so a fixed slope suffices.
+
+STACK FORMALISM
+
+A stack of progress t over a base slot F is a bounded list of
+J-valued families C^{S,t}_{F,j} indexed by j = (j_alpha) in S with
+j_alpha in {0,...,N-1}. Its intended value is
+  C^{S,t}_{F,j} = prod_{alpha in S} D_alpha^{t-1-j_alpha} F
+                 for j_alpha < t, and
+  C^{S,t}_{F,j} = 0 otherwise,
+where D_alpha is a fixed public dilation of the alpha-slot.
+
+The stack satisfies the recursion
+  C^{S,t}_{F,j} = D_alpha C^{S,t}_{F,(j_alpha+1, j_-)}
+                 + M^{mark}_{j_alpha} C^{S/{alpha},t}_{F, j_-}
+for every alpha in S, with boundary C^{S,t}_{F,(N,_)} = 0. Here
+M^{mark}_j is a fixed public indicator of j = t-1.
+
+LEMMA (canonical stacks). The recursion has a unique solution,
+equal to the display.
+
+Proof. For fixed j_-, induction in j_alpha from N-1 downward
+determines C^{S,t}_{F,j} uniquely from the boundary at j_alpha = N.
+The display satisfies the recursion: at j_alpha = t-1 the first term
+has D_alpha C^{S,t}_{F,(t,...)} = 0, while the second contributes
+the correct smaller stack. At j_alpha < t-1 the marker is zero and
+the recursion inherits the correct exponent.
+
+The restriction on |S| is bounded by the outer-code dimension of
+the slot. Every stack family has a bounded number of integer axes,
+and the polynomial-time construction of the canonical stack follows
+by triangular inversion.
+
+OUTER PROGRAM
+
+The outer program A_out consists of three families of row equations,
+one family per logical tape coordinate (A, E_A, B, E_B):
+  (validity)  local bitness and one-hot constraints on E_A and E_B;
+  (gate)      the bounded-arity rule for each ruled gate of S or P;
+  (stack)     the recursion of Lemma (canonical stacks).
+Each family is a finite list of constraints with coefficients in J
+that depend only on N and on the outer-code parameters c_0, d, s_b,
+lambda_0, delta_1. The list of constraints is publicly computable
+in polynomial time.
+
+THEOREM (outer program). There are fixed rational
+theta_out, K_out > 0 depending only on c_0, d, lambda_0, delta_1,
+such that for every choice of S and P on {0,1}^n with
+N = |enc(S, P)|, the outer program A_out has:
+  - size at most O(N polylog N) in public encoded form;
+  - the proximity property: every assignment that
+    (1-theta_out)-satisfies A_out lies within K_out times the
+    failure fraction of an exact codeword;
+  - the soundness property: every exact satisfying assignment
+    decodes to a valid macrograph tape of G_mac.
+
+./bpr-2016-1504.02411-pcp-for-ppad.pdf
+
+
+INNER ALGEBRA: FIELDS, CHARTS, AND THE LINEAR TOOL
+
+The inner construction fixes the port bit length L and builds a
+fixed polynomial-size algebraic gadget parameterized only by L. It
+has three layers. The scalar layer builds an additive linear code over
+an extension of the base field. The chart layer lifts scalars to
+bounded-degree polynomials on commuting variables. The binary layer
+adds edge tables, point blocks, and line blocks that together form
+the testable encoding of a boolean function on {0,1}^L.
+
+Scalar parameters. Fix an absolute integer c_allow, chosen after the
+outer code is fixed. For a port length L set
+  n' = (L+2)^{c_0},  h = Theta((log(n'+2))^{1/4}),  H = F_h,  q = h^v,
+where c_0 > c_allow + 5 is a fixed integer and v is a fixed
+sufficiently large integer. Let ell be the least positive integer
+coprime to v for which h^ell >= (n')^3 + 3. Put
+  K_1 = F_{h^ell},  K = F_{q^ell},  C = K_1^x,
+  M = h^ell - 1,  D = ell^2 - 1.
+Fix a generator gamma of C. An H-basis of K_1 over F_q is also an
+F_q-basis of K, and every K-variable has ell F_q-coordinate digits.
+
+Charts. A native chart is an F_q-coefficient polynomial on O(ell)
+coordinates with possible slot axes of length O(ell). A full chart is
+a K-coefficient polynomial on at most u K-variables, one designated
+as a rotation variable R. A persistent chart has at most one slot
+axis. The point domain is K^u; each K-variable occupies one full
+label, and slots pack remaining native F_q-coordinates.
+
+Lifting. For each legal canonical tuple, every native chart lifts to
+a full chart by K-linear extension. Uniqueness of the lift fixes the
+polynomial once the coordinate assignments are chosen. The assignment
+is deterministic from the local template and the ancestry.
+
+The linear tool. Suppose A in Mat_{m x m'}(K[I, X]) is a public
+matrix with bounded-denominator entries and b in K[I] is a public
+bounded-denominator target. The tool tests that a claimed solution
+x = x(X) satisfies A x = b exactly, using the following construction.
+Fix a K-linear packing map w_pack: K^{m'} -> K^{m} whose restriction
+to H^{m'} is bijective onto F_q^m. Define the top identity
+  p_{m'}(R, I) = sum_{b < m} A_b(I) * x_b(w_pack(X)) - b(I),
+and for 0 <= j < m' define partial sums
+  p_j(R, I, X_1, ..., X_j)
+    = sum_{x_{j+1}, ..., x_{m'} in H}
+          p_{m'}(R, I, X_1, ..., X_j, x_{j+1}, ..., x_{m'}).
+The identity A x = b is equivalent to p_0 = 0.
+
+Digital division. Add a quotient chart Q_j and a remainder chart E_j
+and impose, for every 1 <= j <= m',
+  p_j = (X_j^h - X_j) Q_j + X_j^{h-1} p_{j-1} + E_j,
+  p_{j-1} independent of X_j, deg_{X_j} E_j <= h - 2.
+In characteristic two, sum_{x in H} x^r = 0 for 0 <= r < h-1 and
+sum_{x in H} x^{h-1} = 1; the coefficient of X_j^{h-1} in the
+remainder modulo X_j^h - X_j is thus exactly the sum of the original
+polynomial over X_j in H. Iterating from j = m' down to j = 1 gives
+p_{m'} = 0. The tool's gap is exact: a nonzero polynomial identity
+of degree at most D has at most D/|H| = o(1) mass under uniform
+sampling.
+
+Inner validity. The work tape is stored in a K-coefficient chart
+W_w(I, X) on a variable I in H^rho and X in H^m. Bitness is enforced
+by the pointwise equation W[w_g]^2 = W[w_g] at every grid point. The
+initial assignments and gate transitions are enforced by linear rows
+of A_w (the "work rule" matrix). Terminal comparison is enforced by
+a point evaluation at y_out.
+
+THEOREM (inner validity). There is a fixed rational eps_valid > 0
+such that every eps_valid-satisfying assignment of the work-side inner
+rows decodes to a unique union-of-stages valid tape; every valid tape
+satisfies every inner row for every random choice in its support.
+The decoding is polynomial time in L plus the assignment encoding
+length.
+
+./bpr-2016-1504.02411-pcp-for-ppad.pdf
+
+Proof sketch. Boolean bitness, stage ordering, and gate application
+are each tested by an order-one polynomial identity supported on a
+bounded set of points. Exact satisfaction forces these identities on
+H^rho * H^m, and the fact that polynomials over F_q of degree less
+than h are determined by their values on H (the key property of the
+Fourier cutoff in finite characteristic) closes the inductive step
+in the union-of-stages construction.
+
+
+INNER BINARY LAYER
+
+The chart machinery operates on F_q-polynomials. The binary layer
+turns these into a testable boolean-function encoding over an
+extended label set built on the affine group.
+
+Affine setup. Let U(K) = K^r |x SL_r(K) act on rectangular F_q-
+coordinates by P -> P g_1^{-1}, z -> g_2 z, and let H_in be the
+product U(K) x U(K). By Ershov-Jaikin-Zapirain Theorem 1.1,
+applied to R = F_2[t], the elementary group SL_r(F_2[t]) has
+Kazhdan constant kappa_r = [8(48 sqrt(2) + 2 sqrt(3 r))]^{-1}.
+Combined with Shalom's rank-two bound
+  sup over a in R^r of norm(a v - v)
+    <= 484 r max over s in S of norm(s v - v),
+this makes Lambda = R^r |x SL_r(R) a Kazhdan pair. Consequently
+H_in admits a fixed symmetric generating set u_1, ..., u_{d_e} of
+size d_e >= 8 whose averaging operator has norm at most 1/64 on
+mean-zero functions.
+
+./ershov-jaikin-2010-0809.4095-property-t.pdf
+
+Edge tables. Let R_edge = [d_e] x H_in be the edge set. The join
+graph on H_in x H_in with edges (g, u_i g) has cross-part
+normalized singular norm at most 1/64. With c_e = floor(d_e/4) >= 2,
+pick extension field J over F_q and c_e x d_e matrices H_L, H_R over
+J with every c_e-column minor nonzero. The edge code
+  sum_i (H_L)_{b, i} U_{i, g} = 0,
+  sum_i (H_R)_{b, i} U_{i, u_i^{-1} x} = 0,
+extends systematically from labels i > 2 c_e to all labels. This is
+the standard determinant-polynomial trick: the system matrix on the
+2 c_e parity labels has a nonzero determinant polynomial in the
+2 c_e d_e entries; specialize on J of size above the polynomial
+degree.
+
+Point blocks. At each extended label, a point block Y holds, for
+each retained point of the affine action, one bit per slot axis.
+The row mask is a uniform J-to-F_2 additive form.
+
+Line blocks. At each extended label, a line block additionally
+chooses masks A, B in F_q^ell and parameter t; its encoded value is
+  sum_{j, l = 0}^{ell - 1} A[j] B[l] [t^{j + ell l}] Y(t),
+with coefficient-extraction masks adapted from the Amireddy-Behera-
+Srinivasan-Sudan-Willumsgaard construction.
+
+./amireddy-2026-2608.17429-simple-algebraic-pcp.pdf
+
+Product blocks. For each pair of compatible ordered types, a Z
+block holds b_1, b_2 in J and a binary bilinear form Q on J; its
+bit is Q(pi(b_1 Y_1), pi(b_2 Y_2)), where pi: J -> F_q is F_q-linear
+with pi restricted to F_q equal to the identity. There are no
+line-product blocks and no products of distinct positive tags.
+
+Block lengths. Bounded block count, q^{O(ell)} slot masks, and
+2^{(log_2 q)^2} bilinear forms. Since log q = O(log log n'), the
+last count is poly(n'). The matrix domain is fixed. Total word
+length is poly(n').
+
+Axis replacement. If f: G -> A fails addition f(x+y) = f(x) + f(y)
+with probability e over independent x, y in G, define
+D_x(y) = f(x+y) + f(y). The additions on pairs (x+y, y+z) and
+(y, y+z) give D_x(y) = D_x(z); each pair is uniform, so collision
+probability is at least 1 - 2 e. The plurality value L(x) has mass
+at least 1 - 2 e. The identity D_{x+y}(z) = D_x(y+z) + D_y(z) and
+three majority bounds give L(x+y) = L(x) + L(y) whenever 6 e < 1.
+Since at least one z realizes all three majority values,
+dist(f, L) <= e / (1 - 2 e).
+
+./blr-1993-selftest.pdf
+
+Tester. A fixed positive-weight mixture of the following tests:
+two-copy equality at constant cost, block addition on the point
+block, block addition on the line block, slot-mask addition,
+product-block equality, axis replacement through a point, axis
+replacement through a line, and line-block coefficient extraction.
+Any nonzero polynomial identity of degree at most D has o(1) mass
+under uniform sampling. This makes the mixture perfectly complete
+and gives it a constant gap.
+
+./gemmell-sudan-1992-correctors.pdf
+
+LEMMA (tester and distance). For each fixed template, the
+canonical encodings of valid extended labels have constant relative
+distance, and admit a perfectly complete bounded-bit tester with
+the following uniform gap: for every fixed a > 0 there are
+theta_test(a) > 0 and a size cutoff such that rejection below
+theta_test(a) implies distance less than a from one canonical valid
+word. Each potential raw read on each fixed-answer branch has
+bounded density in the balanced word, uniformly in the size.
+
+Correction. A bounded number of local rounds drives the failed-
+check fraction down by a fixed factor per round, using the point and
+line structure of the code. Every round is local, and after
+O(log n') rounds the word is within coding-theoretic decoding
+distance of a codeword.
+
+Recovery. From a small-error word, the Berlekamp-Welch slice
+decoder identifies the point value at each point of interest by
+plurality across the lines through it. Further interpolation then
+recovers the polynomial values. The total work is polynomial in the
+block count and n'.
+
+./zemor-2001-expander-codes.pdf
+
+
+INNER GADGET: THE PORT
+
+The chart algebra and binary tables are composed into a single
+gadget that evaluates one boolean function f on L bits with fan-in
+at most two.
+
+THEOREM (port gadget). For every fixed integer a_allow and every
+L >= 1 there is a decision gadget with the following properties.
+For every boolean circuit C on L inputs with fan-in at most two,
+there is a public encoding D: {0,1}^L -> {0,1}^{S_0} with
+S_0 = poly(L), and a bounded family of tests on the encoded word,
+such that:
+  (completeness) if s in {0,1}^L, D(s) satisfies every test
+    family exactly;
+  (soundness) if an assignment (1 - theta)-satisfies every test
+    family, it decodes to a unique s and the designated output
+    port reveals C(s);
+  (gap) the soundness gap theta is fixed and positive;
+  (size) the gadget has poly(L) nodes and poly(L) test queries;
+  (port shape) the number of read ports is at most (L+2)^{a_allow}
+    for any a_allow at least a fixed threshold;
+  (freshness) every output gate is the unique consumer of its wire.
+
+Proof sketch. The gadget is the composition of two orthogonal
+constructions: the algebra-binary layer, which builds D(s) on the
+groups Gamma and H_in, and the tape layer, which reads D(s) to
+evaluate C on s.
+
+The binary layer expects the input tuple s to be expressed in
+F_q-coordinates at each port i. The encoding D(s) consists of the
+four-part structure over H_in (point and line blocks), the edge
+tables for each port, the product blocks, and the derived edge-word
+produced by right multiplication through H_R.
+
+The tape layer is a sequence of length T = poly(L). At each step j,
+it copies s_i[j] to a work location w_{i, j}, then applies one
+gate of C, leaving the previous work tape intact. The final work
+output at position T - 1 is C(s), designated as y_out. The tape
+layer operates in time T = poly(L), with each step a fan-in-two
+gate, so that the full tape fits within an L-length work register.
+
+The two layers connect via a bounded set of port probes. At each
+port index and work position, the tape layer queries the binary
+word at the corresponding extended label and takes a contraction
+to a bit in J. Each query contributes O(log^2 L) bits of the
+encoded word to the tape's local bit, and the local bit is
+recovered by the BLR-style correction of the binary layer to any
+prescribed fixed accuracy. The number of port probes is polynomial
+in L, because the tape length and the number of port reads are each
+polynomial.
+
+The output bit extraction. For each tape position w_j, the tape
+bit is the value f_{w_j}(s) computed locally. The extraction
+function
+  y_out = sum over sigma in {0,1}^{d_*} of
+             c_sigma * prod_{r in sigma} s_r
+is written in terms of the binary word via the product blocks and
+the edge tables. Each term is verified by a bounded number of
+binary tests. The product blocks chain degree at most 3d_* times,
+which is a fixed number.
+
+The gadget's total size is poly(L). The binary layer has poly(L)
+table size at each label; the tape layer has T = poly(L) steps;
+each gate is a bounded-degree polynomial; the product blocks
+chain a fixed number of times.
+
+The soundness gap. It is inherited from the binary tester's gap
+theta_test and the tape validity gap theta_tape. The composition
+is a linear system on the edge word, so the total gap is at least
+a constant times min{theta_test, theta_tape}. Every parameter is
+fixed once L is fixed, so the gadget is functional for all choices
+of C from a fixed list.
+
+./amireddy-2026-2608.17429-simple-algebraic-pcp.pdf
+
+
+GEOMETRY
+
+The geometry block places a locally defined vector field on a large
+box whose target endpoint set encodes the macrograph vertices. Every
+point of the box carries a motion; the motion vanishes exactly at
+endpoints and on a small exceptional boundary region, and is bounded
+away from zero elsewhere. Discretizing the motion yields a directed
+flow whose only recurrent sets are the endpoints.
+
+Box and encoding. Fix m. Let E_w in {0,1}^m be a separated binary
+encoding of a macrograph vertex w: for distinct w, the Hamming
+distance between E_w and E_w' is a fixed constant fraction of m,
+and every E_w has the same fixed density. The box is
+B = [-1,2]^{4m}, viewed as four blocks of m coordinates each. The
+endpoint E_w is realized in B by placing E_w in the first block,
+repeating it in the second block, and using the third and fourth
+blocks to encode the "copies" and the "control" bit. All blocks
+have equal weight.
+
+Endpoint set. The set of endpoints E is the set of box points whose
+first block is exactly E_w for a macrograph vertex w. Because the
+encoding is separated, endpoints are pairwise at distance at least
+rho_dec (a fixed decoding radius).
+
+Interior field. Let clip_{B}(X) denote coordinatewise clipping into
+B. For X in B put mu(X) = average of the fourth block of X. The
+interior field prescription depends on whether mu(X) <= 1/2 or
+mu(X) >= 1/2. For mu <= 1/2 and dist(X, E) > 10 tau, take
+v(X) = Phi(X; Z, T(Z)) when dist(X, L) <= 3 tau, and v(X) = e_4
+otherwise, where Z is the nearest point of the endpoint-set skeleton
+L and T(Z) is the tangent there.
+
+The motion Phi(X; Z, T) is a convex combination of four successive
+directional stages: the directed tangent, the inward normal, the
+reverse tangent, and the fixed e_4 direction. Each stage is
+continuous and piecewise affine. The four-stage interpolation
+parallels Equation (1) of Rubinstein's scoring reduction.
+
+./rubinstein-2016-1606.04550-settling-two-player-nash.pdf
+
+Upper interface. For mu >= 1/2, the default upward direction is lost
+at the upper face. Set h_mu = min(1, 2(mu - 1/2)), Z_mu = (H_*, mu)
+where H_* is the point of the third block nearest to X, r_mu =
+norm(X - Z_mu), and
+  v(X) = Phi(X; Z_mu, -e_4) + h_mu (Z_mu - X).
+A scalar coefficient table for the outside prescription,
+  radius r_mu, coefficient b in [-1,1], normal coefficient
+  w in [0, 1/tau + 1],
+has b^2 + w^2 r_mu^2 >= 1/2 at any radius and b = 1 at large radius.
+The small-radius case r_mu <= tau is special: b = -1 + r_mu/tau and
+w = 1/tau + h_mu, so that at r_mu = 0 the field points dominated by
+the -e_4 component. At intermediate radii, b = r_mu/tau - 1, and
+w = 2/r_mu - 1/tau + h_mu. At large radii, b = 1 and w = h_mu.
+
+Displacement bounds. Set
+  eta <= min{tau/2, 1/(4 w_max), (1/2) min(1/2, 1/(4 w_max))},
+and choose beta_0 with beta_0 w_max <= 1/2. Then for every point
+X with dist(X, E) > 10 tau and every 0 < beta <= beta_0,
+  norm(clip_B(X + beta v(X)) - X) >= c_* beta,
+for a fixed c_* > 0 depending only on tau, d_*, and the geometry of
+the box. The bound holds uniformly in m. Away from the top of the
+distinguished vertical, the loss from clipping near the top face is
+at most 2 tau beta, which by the norm bound leaves at least c_* beta.
+
+Proof is by direct case analysis at each radius regime. In the
+regime tau <= r_mu <= 2 tau, the two orthogonal components (b e_4 and
+w (Z_mu - X)) each have norm at least a fixed fraction of r_mu, and
+the resulting displacement is at least c_* r_mu by the box being
+convex and the field smooth. In the regime r_mu >= 2 tau, the
+b e_4 contribution alone gives at least beta/2 after clipping. In
+the special small-radius regime r_mu < tau, the reverse motion
+toward Z_mu dominates. Detailed estimates appear in the original
+source; the framework is unchanged.
+
+./brouwer-1911-ueber-abbildung-von-mannigfaltigkeiten.pdf
+
+Continuity and stability. The field v(X) is piecewise affine and
+continuous on the open set where dist(X, E) > 10 tau and X avoids
+the fourth-block mean-1/2 interface. On the interface, the two
+prescriptions agree in both coordinates and in the tangential
+component, so the field is globally continuous. Each piece is
+Lipschitz with a fixed constant independent of m. Rounding v(X) to
+a fixed dyadic mesh changes the field by at most a fixed fraction
+of c_* without leaving the field's shape.
+
+./rubinstein-2016-1606.04550-settling-two-player-nash.pdf
+
+Mean-preserving projection. Given a point X_0 in B, the existence
+of a fixed delta > 0 and a continuous family X_t in B with X_t = X_0
+for t = 0 and X_t = clip_B(X_0 + t v(X_0)) for small t > 0 uses
+the Brouwer fixed-point theorem on the displacement field
+X -> clip_B(X + beta v(X)) - X. Since this field is continuous and
+the box is convex, a fixed point exists exactly when the flow
+stops, which is when X is at an endpoint or on the exceptional
+top region.
+
+
+OUTER COMPOSITION
+
+The composition places a directed replica graph on the outer code,
+parameterizes its edges by the outer program's slot equations,
+and uses the geometry block as an external driver toward the
+endpoint set. Each replica runs a bounded local computation that
+reads a bounded set of outer-code positions, applies a bounded-arity
+gate, and returns an updated value. A central averaging step drives
+the replicas' common mean toward the geometry target.
+
+Replica scale. Choose a fixed integer R and a per-logical-vertex
+replica count rho_bound >= R. The replica graph is the product of
+the logical macrograph with the complete graph on rho_bound
+replicas, with edges within each replica-set and across bounded
+neighborhoods. The degree of any replica is at most a fixed
+constant times rho_bound; averaging over the replica set gives a
+stochastic operator A on the box.
+
+Mean projecting map. Let J be the projection onto
+constant-replica vectors. The averaging operator A on R^{4m}
+satisfies, for a fixed kappa > 0,
+  norm_{rep}(A(X - JX)) <= (1 - kappa) * norm_{rep}(X - JX),
+where norm_rep is uniform joint L^2 over the 4m coordinates.
+
+./rubinstein-2016-1606.04550-settling-two-player-nash.pdf
+
+LEMMA (clip and mean). Let A be a stochastic replica operator
+satisfying the bound above and let c be constant across the
+replicas of each component. Put F = clip_B(A X + c) and
+E = norm_rep(X - F). Then
+  norm_rep(X - J X) <= E / kappa,
+  norm_b(J X - clip_B(J X + c)) <= E / kappa,
+where norm_b is the block L^2 norm (norm_rep applied to J X).
+
+Proof. Write Q = I - J and g = clip_B(J X + c), a repeated
+vector. The mean projection minimizes distance to repeated
+vectors, and coordinate clipping is nonexpansive. Hence
+  norm_rep(Q F) <= norm_rep(F - g)
+                <= norm_rep(A(X - J X))
+                <= (1 - kappa) norm_rep(Q X).
+Projecting X - F gives
+  norm_rep(Q X) <= E + (1 - kappa) norm_rep(Q X),
+which proves the first inequality. Taking means then comparing
+to g gives
+  norm_b(J X - g)
+    <= norm_rep(J(X - F)) + norm_rep(J F - g)
+    <= E + (1 - kappa) norm_rep(Q X)
+    <= E / kappa.
+No exchange of averaging and clipping is made.
+
+./rubinstein-2016-1606.04550-settling-two-player-nash.pdf
+
+Fine residual. Fix the actual mean X = X and let X_bar denote the
+componentwise mean across replicas. For any assignment meeting the
+gate-failure budget, define the residual
+  E_res = norm_rep(X - clip_B(A_rep X + beta v(X_bar))),
+where v(X_bar) is the field evaluated at the mean, repeated
+identically over replicas.
+
+LEMMA (fine residual). If dist(X, E) > 10 tau, then
+E_res < beta c_* kappa / 2.
+
+Proof. Fix the actual mean X_bar in all ideal tape experiments.
+Coarse synchronization charges all spoilage already budgeted.
+Discard cohorts with failing or spoiled invocations. In every
+remaining invocation whose ideal branch-pattern inputs are all
+near ports or public substitutions, the port gadget gives
+bounded-error local agreement. Mark all cohort outputs receiving
+an incorrect designated wire; a union bound over these gives at
+most 2(B_out * upsilon) of the outputs. Do this marking for every
+near-input hypothetical invocation before following the selected
+path. Non-near-input invocations are irrelevant unless selected;
+on the ideal good-port event a selected invocation necessarily is
+near-input.
+
+For the remaining unmarked outputs, the local computation agrees
+with the exact ideal computation at every port to within the
+port-gadget's fixed error. Every gate equation is a bounded-arity
+polynomial identity, so the composed residual is bounded by a
+fixed multiple of the total port-gadget error and the coarse
+synchronization error. Both are considerably smaller than
+beta c_* kappa / 2.
+
+./amireddy-2026-2608.17429-simple-algebraic-pcp.pdf
+
+Endpoint proximity. Apply the clip-mean lemma with
+c = beta v(X_bar) and the fine-residual bound. If the mean were
+farther than 10 tau from E, the lemma would give
+  norm_b(X_bar - clip_B(X_bar + beta v(X_bar))) < beta c_*,
+contrary to the displacement bound. So every assignment meeting
+the gate-failure budget satisfies
+  dist(X_bar, E) <= 10 tau.
+
+Choose an endpoint P witnessing this bound. Its first block is
+exactly E_w for a desired endpoint w. Round the first block of
+X_bar at 1/2. Each erroneous bit contributes at least 1/4 to its
+squared coordinate distance from E_w, so the resulting word y
+satisfies
+  dist(y, E_w) <= 4 (10 tau)^2 < rho_dec,
+where rho_dec is the macrograph's decoding radius. The global
+decoder recovers w.
+
+The recovered w is a valid macrograph vertex. The endpoint
+decoder returns a nonzero End-of-Line solution.
+
+Decoding. The endpoint decoder supplies a vertex w of the
+macrograph. From w one recovers the logical tape b_w, then the
+source-data pair (x_w, S(x_w)) via the macrograph's definition,
+then the End-of-Line output
+  x_w if P(S(x_w)) != x_w, otherwise S^{-1}(x_w).
+The output length is polynomial in N. The decoder never needs to
+know which gates failed or which endpoint witnessed the
+proximity.
+
+TOTALITY AND SIZE
+
+The main theorem's completeness and size bounds follow from the
+construction.
+
+Totality. The main theorem requires an eps-satisfying assignment
+of every gate on a fixed rational mesh. Round every coordinate to
+the nearest point of {0, 1/q, ..., 1} with q a fixed integer
+chosen so that 1/(2q) <= eps/40. Then:
+  - constant errors are at most eps/40;
+  - Scale and Copy errors are at most 2 eps/40;
+  - Add and Subtract errors are at most 3 eps/40;
+  - Less gate thresholds have strict separation by a margin of at
+    least eps/2, which rounding preserves;
+  - Or, And, Not are preserved by the same margin, including
+    equality at the weak threshold.
+
+This verifies every gate implication. The denominator q is a fixed
+integer depending only on eps, and every rational output has a
+fixed bit bound that does not depend on the specific circuit.
+
+Size. The total encoded length is
+  c_1 N (log N)^{c_2}
+for fixed c_1, c_2 > 0. Every constituent scale is a fixed
+polynomial in L = polylog(N), and
+  |Gamma| = O(N polylog(N)),  M_o = 2^r = O(N),
+  D = ell^2 - 1 = polylog(N),
+  h = Theta((log n')^{1/4}) = Theta((log L)^{1/4}).
+The total number of gates is O(N polylog N), and the complete
+rational encoding of every parameter has fixed polynomial bit
+length. Products of the finitely many fixed polynomial bounds give
+one deterministic polynomial-time reduction.
+
+
+COROLLARIES AND APPLICATIONS
+
+The reduction is the source-side improvement to BPR2016's conjecture.
+It upgrades the hardness arguments in the papers cited below from
+quasipolynomial to quasilinear size, without changing any of those
+papers' decoders or target bases.
+
+Pure-Circuit. Deligkas, Fearnley, Hollender, and Melissourgos
+define NAND/PURIFY circuits and prove that finding an approximate
+equilibrium in those circuits is PPAD-hard under a quasipolynomial-
+size reduction. Their Theorem 2.2 and Lemma A.2 compose with the
+reduction to yield a PPAD-hardness statement at quasilinear size,
+with the reduction polynomial-time on the input encoding. Fan-out is
+reduced to at most two by inserting fresh copy gates; each node
+becomes an input to exactly one gate.
+
+./dfhm-2024-2209.15149-pure-circuit.pdf
+
+Fisher markets. Deligkas, Fearnley, Hollender, and Melissourgos
+establish, conditionally on the PCP-for-PPAD conjecture, PPAD-
+hardness of finding a constant-error equilibrium in Fisher markets
+where each buyer takes a bundle of approximately optimal utility.
+Their Theorem 2.2 is the input-to-market reduction; the current
+reduction supplies the unconditional premise, so the constant-error
+hardness is unconditional at quasilinear input size.
+
+./deligkas-2026-2604.27276-fisher-markets.pdf
+
+Two-player Nash. The reductions of Chen-Deng-Teng and Rubinstein
+supply the circuit-to-game map; the conjecture's quasilinear size
+supplies the circuit. Consequently approximate Nash equilibrium in
+two-player games is PPAD-hard at quasilinear reduction size, and
+because the reduction is only quadratic in encoded circuit size,
+exact Nash is PPAD-complete at the same sizes. The reduction is
+deterministic and uses only rational arithmetic.
+
+./cdt-2007-0704.1678-two-player-nash.pdf
+./rubinstein-2016-1606.04550-settling-two-player-nash.pdf
+
+Course allocation. BPR2016 prove a hardness reduction from End-of-
+Line to indivisible course allocation under the Budish clearing
+convention. Their Theorem 4 and Appendix B combine with the
+quasilinear reduction to give constant-error hardness for the
+allocation with the Budish threshold alpha_* = sqrt(M min{2k, M})/2
+and Gini budget constraint.
+
+./budish-2011-combinatorial-assignment.pdf
+./bpr-2016-1504.02411-pcp-for-ppad.pdf
+
+Discounted stochastic games. Daskalakis, Golowich, and Zhang
+propagate PPAD-hardness to stationary equilibria of discounted
+stochastic games via their no-Boolean circuit interface. Their
+premise is a positive-gap circuit-to-game reduction. The current
+reduction provides the circuit directly, so their Theorem 4 and
+Conjecture 10 are unconditional at quasilinear input size.
+
+Stochastic games also connect to Othman, Sandholm, and Budish's
+fair-division reductions; the reduction preserves all their stated
+tolerances. The two-player game is obtained by restricting to a
+single controller and a single stage.
+
+./othman-2014-1312.6249-fairness-through-equilibrium.pdf
+
+Single-controller discounted games. Farina, Kontogiannis,
+Panageas, and Pollatos reduce PPAD to single-controller discounted
+games with joint policies replacing product policies. Their
+Remark 5.7 allows the transition to be made lazy
+P_tilde = (1 - tau) I + tau P,
+with tau = beta(1 - gamma) / (gamma(1 - beta)) chosen so that the
+discounted value is preserved exactly for reward and policy. The
+reduction supplies the circuit; the algebra in their remark
+composes without change.
+
+./farina-2026-2607.10897-single-controller-cce.pdf
+
+Hylland-Zeckhauser. Braverman, Liu, Xue, and Zhou reduce PPAD to
+approximate Hylland-Zeckhauser equilibria with unit demand via
+their Theorem 3.2 and Lemmas 3.4 and 3.25. Their first decoder
+assigns each threshold-game vertex the value
+min{1, m^2 p(G_{v,1})} from a normalised exact equilibrium
+(x, p); rounding prices up on a mesh eps/4 and weights via a
+convex combination of at most n^2 permutation matrices yields
+rational witnesses with a fixed polynomial bound. The reduction
+supplies the circuit and their bridge composes.
+
+./braverman-2026-2606.00951-hylland-zeckhauser.pdf
+