diff 1a95562..6ea2181 unique_games_theorem_v2.txt
diff --git a/unique_games_theorem_v2.txt b/unique_games_theorem_v2.txt
index 5e5979c..781dffc 100644
--- a/unique_games_theorem_v2.txt
+++ b/unique_games_theorem_v2.txt
@@ -1,20 +1,9 @@
-================================================================================
-THE UNIQUE GAMES THEOREM
-
-
-================================================================================
-
-
-
-The theorem we prove is:
-
-================================================================================
-THEOREM (Unique Games Theorem, edge-value form)
-================================================================================
+Unique Games Theorem (edge-value form)
 
 For every fixed pair of desired errors epsilon, delta in (0, 1/2),
-there is a finite alphabet K and a deterministic polynomial-time
-reduction from 3SAT to Unique Games with alphabet K such that:
+there is a finite binary vector-space alphabet K and a deterministic
+polynomial-time reduction from 3SAT to Unique Games with alphabet K such
+that:
 
    YES case:  if the 3SAT formula is satisfiable,
               then value of the game is at least 1 - epsilon.
@@ -27,11 +16,20 @@ The game is simple and bipartite. Every constraint is a translation:
              label(right) = label(left) + constant.
 
 The alphabet K, the polynomial running time, and its constants depend
-only on epsilon and delta.
+only on epsilon and delta. A required fixed lower bound on alphabet size
+can also be met without changing value: append label bits constrained to
+agree on every edge. Zero appended bits extend old labelings, and
+projection to the old label gives the reverse value bound.
+
+Reading the statement. A reduction is one algorithm for each fixed pair
+(epsilon, delta), not one fixed alphabet that works for every pair. Its
+input is a 3SAT formula; its output explicitly lists vertices, edges, and
+translation offsets. The YES and NO promises concern the best labeling
+of that output, not a labeling supplied by the reduction. Later K denotes
+the intermediate alphabet F_2^ell; the final product alphabet is K^t.
 
 ================================================================================
 
-
 ================================================================================
 PART 1. THE GAME, THE CONJECTURE, AND WHY THE ORDER OF QUANTIFIERS MATTERS
 ================================================================================
@@ -39,33 +37,44 @@ PART 1. THE GAME, THE CONJECTURE, AND WHY THE ORDER OF QUANTIFIERS MATTERS
 1.1. What is a Unique Game?
 ------------------------------------------------------------
 
-Imagine two friends are talking on a phone line. Each friend is asked
-a question. They must each answer with one color from a fixed palette
-of q colors:
+The Unique Games formulation is due to Subhash Khot. Its defining condition
+is not merely that a constraint has a satisfying pair, but that each label
+on either side has exactly one compatible label on the other. [1]
+
+[1] Subhash Khot. "On the Power of Unique 2-Prover 1-Round Games." 2002;
+    linked abstract: CCC 2002.
+    https://static.aminer.org/pdf/PDF/000/104/637/on_the_power_of_unique_prover_round_games.pdf
 
-               colors = {1, 2, 3, ..., q}.
+A verifier chooses an edge (u,v), sends u to the left player and v to the
+right player, and checks their answers against that edge's rule. The
+players know the instance in advance but cannot communicate after receiving
+their questions. Each answers with one label from a fixed palette:
+
+               colors = {0, 1, 2, ..., q-1}.
 
 The possible question pairs are the edges of a graph. Each edge comes
 with a PERMUTATION of the q colors. A permutation is just a rule that
-takes the left friend's color and tells us the only acceptable color
-for the right friend.
+takes the left player's color and tells us the only acceptable color
+for the right player.
 
 For example, with q=5, one edge might say:
 
         right answer = left answer + 1 (mod 5).
 
-So if the left friend says 3, the right friend must say 4. If the
-left friend says 4, the right friend must say 0. There is exactly one
+So if the left player says 3, the right player must say 4. If the
+left player says 4, the right player must say 0. There is exactly one
 correct right answer for each left answer. That is the "unique" part.
 
 A translation is one very regular kind of permutation. The final game
 we construct uses only translations, which keeps the bookkeeping simple
-while still proving the strongest statement.
+while retaining the stated completeness and soundness guarantees.
 
-The friends know the whole graph and all the permutation rules before
-the call. They may agree on any strategy they like. Then they are
-asked an edge, separated, and must answer using only their own
-question.
+The players may agree on their response rules before the questions are
+sampled. Each rule must use only that player's own question. Strategies here
+are classical. Private or shared randomness
+independent of the questions cannot improve the optimum: fix both complete
+random tapes before the questions are drawn and average the resulting
+deterministic labeling values.
 
 The VALUE of the game is the largest possible fraction of edges that
 they can satisfy, over all strategies.
@@ -73,11 +82,32 @@ they can satisfy, over all strategies.
 A labeling is the simplest kind of strategy: assign one permanent
 color to every left vertex and one permanent color to every right
 vertex. It is a harmless mathematical fact that in these games both
-friends can be assumed to use a fixed labeling. The game value is:
+players can be assumed to use a fixed labeling. The game value is:
 
         value(game) = max over all labelings of
                       (satisfied edges) / (all edges).
 
+For a weighted occurrence list, replace the edge fraction by the sum of
+satisfied occurrence weights. Two occurrences can have the same endpoints
+but remain different random outcomes. A constraint must be a permutation:
+knowing either endpoint's label determines the unique satisfying label at
+the other endpoint. A general projection constraint determines the right
+label from the left, but need not be invertible. Every Unique Game is a
+projection game; the reverse implication is false.
+
+The more general two-prover, one-round framework separates the question
+pair distribution from the acceptance predicate. Feige and Lovász study
+that framework; the restriction to permutation predicates is the additional
+condition defining Unique Games here. [2]
+
+[2] Uriel Feige; László Lovász. "Two-Prover One-Round Proof Systems: Their
+    Power and Their Problems." STOC 1992.
+    https://crypto.cs.mcgill.ca/~crepeau/COMP647/2007/TOPIC08/FL92.pdf
+
+The maximum is over a single labeling used on every edge. It is not the
+average of the best answer chosen separately for each edge. The latter
+would always be one, because each individual permutation constraint is
+satisfiable. The difficulty is making all local choices consistent.
 
 1.2. The Unique Games Conjecture
 ------------------------------------------------------------
@@ -87,55 +117,307 @@ The Unique Games Conjecture, usually abbreviated UGC, says roughly:
    It is NP-hard to distinguish nearly satisfiable Unique Games
    from very unsatisfiable Unique Games.
 
-More precisely: for every epsilon, delta > 0 there is some fixed
-alphabet size q such that no polynomial-time algorithm can tell apart
-instances of value at least 1-epsilon from instances of value at most
-delta.
+More precisely: for every epsilon, delta in (0,1/2), there is a fixed
+alphabet size q for which it is NP-hard to distinguish instances of
+value at least 1-epsilon from instances of value at most delta. A
+polynomial-time algorithm for this promise problem would imply P = NP. [3]
 
-That was a conjecture. This paper proves it.
+[3] Subhash Khot. "On the Unique Games Conjecture." Invited survey, CCC 2010,
+    pp. 99-121; author manuscript.
+    https://cs.nyu.edu/~khot/papers/UGCSurvey.pdf
 
-Our theorem actually gives the stronger, deterministic reduction form:
+Parts 3-9 give the reduction establishing this hardness statement.
+
+The theorem gives the explicit deterministic reduction form:
 a single algorithm that converts a 3SAT formula into an explicit game.
 The game is unweighted, simple, bipartite, and has translation
 constraints on a binary alphabet K = F_2^s.
 
-
 1.3. Why the order of quantifiers is everything
 ------------------------------------------------------------
 
+Three different claims must not be conflated. A hardness reduction maps
+arbitrary 3SAT inputs to a gap problem. An integrality gap exhibits instances
+on which a specified relaxation overestimates the true optimum. An
+algorithm can exploit structure absent from the worst-case reduction.
+Khot and Vishnoi and Raghavendra and Steurer construct important integrality
+gaps for Unique Games and cut relaxations; those gaps alone are not the
+3SAT reduction claimed here. [4] [5]
+
+[4] Subhash Khot; Nisheeth K. Vishnoi. "The Unique Games Conjecture,
+    Integrality Gap for Cut Problems and Embeddability of Negative Type
+    Metrics into l_1." Journal of the ACM 62, 2015; arXiv:1305.4581.
+    https://arxiv.org/abs/1305.4581
+
+[5] Prasad Raghavendra; David Steurer. "Integrality Gaps for Strong SDP
+    Relaxations of Unique Games." FOCS 2009.
+    https://www.dsteurer.org/paper/cspgaps/
+
+Conversely, sum-of-squares certificates can establish expansion and support
+rounding on particular families. Barak, Brandão, Harrow, Kelner, Steurer,
+and Zhou develop this connection with hypercontractivity. The existence of
+such certificates on a family does not assert their existence on every
+game. [6]
+
+[6] Boaz Barak; Fernando G. S. L. Brandão; Aram W. Harrow; Jonathan A. Kelner;
+    David Steurer; Yuan Zhou. "Hypercontractivity, Sum-of-Squares Proofs, and
+    Their Applications." STOC 2012.
+    https://www.dsteurer.org/paper/hypercontract/
+
 The conjecture would be false if epsilon, delta, and the alphabet size
 were ordered carelessly. Many algorithms solve Unique Games really
 well when epsilon is extremely tiny relative to the instance size.
 
 For example:
 
-  * Trevisan's algorithm succeeds when the completeness error shrinks
-    like 1/log(size of instance).
-  * Charikar--Makarychev--Makarychev give a rounding algorithm with
-    value 1 - O(sqrt(epsilon log q)).
-  * Kolla's spectral enumeration works when a certain spectral
-    dimension is small.
-  * Arora--Barak--Steurer give a subexponential-time algorithm for a
-    fixed small completeness error.
+Trevisan obtains useful approximation guarantees when the completeness
+error is sufficiently small relative to logarithmic instance-size
+parameters. The shrinking-error regime is different from fixing a positive
+error before the input size grows. [7]
+
+[7] Luca Trevisan. "Approximation Algorithms for Unique Games." Theory of
+    Computing 4, 2008, pp. 111-128.
+    https://theoryofcomputing.org/articles/v004a005/
+
+Charikar, Konstantin Makarychev, and Yury Makarychev give a rounding
+algorithm with value 1-O(sqrt(epsilon log q)). Its guarantee depends on
+both the completeness error epsilon and the alphabet size q. [8]
+
+[8] Moses Charikar; Konstantin Makarychev; Yury Makarychev. "Near-Optimal
+    Algorithms for Unique Games." STOC 2006, pp. 205-214.
+    https://home.ttic.edu/~yury/papers/unique.pdf
+
+Kolla's spectral enumeration is efficient when the relevant high-eigenvalue
+subspace has small dimension. This is an additional structural condition,
+not a polynomial-time algorithm for every constraint graph. [9]
+
+[9] Alexandra Kolla. "Spectral Algorithms for Unique Games." Computational
+    Complexity 20, 2011, pp. 177-206.
+    https://arxiv.org/abs/1102.2300
+
+Arora, Barak, and Steurer give a subexponential-time algorithm for Unique
+Games with small completeness error. Subexponential running time is not
+polynomial running time, so the distinction matters here. [10]
+
+[10] Sanjeev Arora; Boaz Barak; David Steurer. "Subexponential Algorithms for
+    Unique Games and Related Problems." FOCS 2010.
+    https://www.dsteurer.org/paper/subexpug/
 
 None of these contradict the theorem, because the theorem lets us
 choose epsilon and delta FIRST, then fixes an alphabet K, and only then
 is the input allowed to grow. In particular, the alphabet does not
 grow with the input size.
 
-This paper proves that with that exact order of quantifiers, hardness
-wins.
+The reduction uses exactly this order of quantifiers.
+
+A second distinction is the objective being approximated. Gupta and Talwar
+study approximation of the minimum number of violated constraints;
+Chlamtac, Konstantin Makarychev, and Yury Makarychev use embeddings to round
+nearly satisfiable games. A guarantee for the loss 1-value must be converted
+before it can be compared with a guarantee for value. [11] [12]
+
+[11] Anupam Gupta; Kunal Talwar. "Approximating Unique Games." SODA 2006.
+    https://www.microsoft.com/en-us/research/publication/approximating-unique-games/
+
+[12] Eden Chlamtac; Konstantin Makarychev; Yury Makarychev. "How to Play
+    Unique Games Using Embeddings." FOCS 2006.
+    https://konstantin.makarychev.net/pdf/howtoplay.pdf
+
+Graph assumptions must also be kept explicit. Arora, Khot, Kolla, Steurer,
+Tulsiani, and Vishnoi, and subsequently Konstantin and Yury Makarychev,
+give algorithms exploiting expansion of the constraint graph. Those results
+do not assert the same guarantees on arbitrary graphs. [13] [14]
+
+[13] Sanjeev Arora; Subhash Khot; Alexandra Kolla; David Steurer; Madhur
+    Tulsiani; Nisheeth K. Vishnoi. "Unique Games on Expanding Constraint
+    Graphs Are Easy." STOC 2008.
+    https://www.dsteurer.org/paper/ugexpansion/
+
+[14] Konstantin Makarychev; Yury Makarychev. "How to Play Unique Games on
+    Expanders." WAOA 2010; arXiv:0903.0367.
+    https://arxiv.org/abs/0903.0367
+
+Later approaches exploit certified small-set expansion or global
+hypercontractivity, as in Bafna, Barak, Kothari, Schramm, and Steurer, and
+Bafna and Minzer. The proofs below do not assume that the output graphs
+come with those algorithmic certificates. [15] [16]
+
+[15] Mitali Bafna; Boaz Barak; Pravesh K. Kothari; Tselil Schramm; David
+    Steurer. "Playing Unique Games on Certified Small-Set Expanders." STOC
+    2021.
+    https://www.dsteurer.org/paper/ugcertsse/
+
+[16] Mitali Bafna; Dor Minzer. "Solving Unique Games over Globally
+    Hypercontractive Graphs." CCC 2024.
+    https://par.nsf.gov/servlets/purl/10554548
+
+The divide-and-conquer approach of Arora, Impagliazzo, Matthews, and Steurer
+and the hierarchy-rounding approach of Barak, Raghavendra, and Steurer give
+further algorithmic context. Their running-time and structural hypotheses
+must be retained when comparing them with a fixed-parameter hardness
+statement. [17] [18]
+
+[17] Sanjeev Arora; Russell Impagliazzo; William Matthews; David Steurer.
+    "Improved Algorithms for Unique Games via Divide and Conquer." ECCC
+    TR10-041, 2010.
+    https://eccc.weizmann.ac.il/report/2010/041/
+
+[18] Boaz Barak; Prasad Raghavendra; David Steurer. "Rounding Semidefinite
+    Programming Hierarchies via Global Correlation." FOCS 2011.
+    https://www.dsteurer.org/paper/sdphierarchies/
+
+Here is the quantifier order without shorthand:
+
+  Choose the two numerical tolerances.
+  Fix all dimensions, gadget tables, repetition counts, and the alphabet.
+  Only then accept a formula of arbitrary size as input.
+
+For example, a term N^k is polynomial in the input size N because k has
+already become a constant. It would not give the claimed reduction if k
+were subsequently allowed to increase with N. Likewise, a huge finite
+precomputation is allowed here only because it depends on the tolerances,
+not on the input formula. Section 9.1 checks each dependency explicitly.
+
+Perfect satisfiability is a different regime from near satisfiability.
+For a connected graph, try each label at one vertex and propagate it along
+a spanning tree. Check the remaining edges for consistency. This decides
+whether every constraint can be satisfied in polynomial time for a fixed
+alphabet. The theorem therefore uses a positive completeness error, chosen
+arbitrarily small but fixed, rather than asserting hardness at value one.
+
+================================================================================
+PART 2. THE PROOF IN ONE PAGE
+================================================================================
+
+The proof has two halves. The forward half builds an object. The
+backward half proves that no cheap strategy can defeat it.
+
+The starting gap is Håstad's three-variable parity theorem. It supplies the
+hard input; the distinct-position cleanup in Part 3 is proved here. [19]
+
+[19] Johan Håstad. "Some Optimal Inapproximability Results." Journal of the
+    ACM 48, 2001, pp. 798-859, Theorem 5.4.
+    https://johanhastad.se/optimalinap.pdf
+
+The structural input is the Grassmann expansion theorem of Khot, Minzer,
+and Safra. Part 6 derives the precise matrix-slice statement needed from
+that theorem rather than assuming a stronger decoder. [20]
+
+[20] Subhash Khot; Dor Minzer; Muli Safra. "Pseudorandom Sets in Grassmann
+    Graph Have Near-Perfect Expansion." ECCC TR18-006, revision 2, 19 May
+    2018, Theorem 1.12; journal version: Annals of Mathematics 198, 2023, pp.
+    1-92.
+    https://eccc.weizmann.ac.il/report/2018/006/revision/2/download
+
+The amplification input is Dinur and Steurer's alphabet-independent
+projection-game repetition bound. It is used twice, with different base
+games, in Parts 8 and 9. [21]
+
+[21] Irit Dinur; David Steurer. "Analytical Approach to Parallel Repetition."
+    STOC 2014, Corollary 1.2 and Sections 2.1-2.2.
+    https://www.dsteurer.org/paper/productgames.pdf
 
+FORWARD HALF (the reduction)
+------------------------------------------------------------
+
+  3SAT
+   |
+   |  1. Håstad's parity gap
+   v
+  Weighted 3-variable parity equations over F2:
+       YES -> almost all satisfiable
+       NO  -> at most 1/2 + xi satisfiable
+   |
+   |  2. Make the three positions distinct
+   v
+  Parity equations with distinct variables:
+       YES -> almost all satisfiable
+       NO  -> at most 4/5 satisfiable
+   |
+   |  3. Build tables on tuples of k equations
+   |     and apply a special LATENT ALPHABET GADGET
+   v
+  A weighted permutation-constraint game:
+       YES -> value very close to 1
+       NO  -> value at most 0.99
+   |
+   |  4. Round weights, subdivide edges
+   v
+  An unweighted simple bipartite game:
+       YES -> value close to 1
+       NO  -> value at most 1 - 1/800
+   |
+   |  5. Take the t-fold parallel product
+   v
+  Final Unique Games instance:
+       YES -> value at least 1 - epsilon
+       NO  -> value at most delta
+
+BACKWARD HALF (soundness)
+------------------------------------------------------------
+
+We assume, for contradiction, that some labeling makes the matrix test
+pass with probability at least 0.99.
+
+  Step A. Fourier comparison.
+         High acceptance under the latent noise implies positive
+         acceptance under the ordinary uniform rank-one test.
+
+  Step B. Matrix decoding.
+         The inverse shortcode theorem plus an erasure argument gives
+         two local advice strategies that agree with constant
+         probability gamma > 0.
+
+  Step C. Clean coordinates.
+         On a NO parity instance, every pair of advice strategies
+         agrees with probability at most exp(-c k^(1/3)).
+
+For large enough k:
+
+         exp(-c k^(1/3))  <  gamma,
+
+which contradicts Steps B and C. Therefore no labeling passes the
+matrix test with probability 0.99. Hence the game value is at most
+0.99 on the NO side.
+
+The two halves meet in Section 9. Parts 3-9 give the detailed reduction;
+Parts 10-11 give the consequences and their finite formulation arguments.
+
+What each half must deliver. The construction only needs a constant NO
+loss before repetition. Its YES loss must be adjustable independently of
+that constant. The latent gadget supplies this asymmetry: reducing p
+improves completeness, while its detection probability stays at least 1/8.
+Its dimensions may increase, but they are fixed before the formula arrives.
+
+The soundness argument does not decode a globally satisfying assignment
+directly from one table. It first produces two legal local response rules
+with some positive agreement probability gamma. The clean-coordinate
+argument proves that every such pair must have agreement tending to zero
+as k grows on a NO instance. A positive constant versus a vanishing bound
+is enough; neither gamma nor the required k needs to be numerically small.
 
 ================================================================================
-PART 3. HASTAD'S PARITY GAP: THE HARD INPUT
+PART 3. HÅSTAD'S PARITY GAP: THE HARD INPUT
 ================================================================================
 
+The starting use of satisfiability and polynomial-time reductions belongs
+to the NP-completeness framework established by Cook and Karp. The extra
+requirement here is a gap: satisfiable inputs must remain almost fully
+satisfiable, while unsatisfiable inputs must lose a fixed fraction. [22] [23]
+
+[22] Stephen A. Cook. "The Complexity of Theorem-Proving Procedures." STOC
+    1971, pp. 151-158.
+    https://www.cs.cmu.edu/~15455/resources/Cook1971-complx-thm-proof.pdf
+
+[23] Richard M. Karp. "Reducibility among Combinatorial Problems." Complexity
+    of Computer Computations, 1972, pp. 85-103.
+    https://www2.seas.gwu.edu/~simhaweb/champalg/tsp/papers/KarpOriginal.pdf
+
 Every hardness reduction starts with a problem we already know is
-hard. We use 3SAT. From it, Hastad's famous work produces a system of
+hard. We use 3SAT. From it, Håstad's famous work produces a system of
 equations over F2, i.e. over the two numbers {0,1} with addition mod 2.
 
-Each equation involves three distinct positions of variables:
+Each equation involves three positions, possibly repeating a variable:
 
        x_a + x_b + x_c = b,    where b is 0 or 1.
 
@@ -147,16 +429,66 @@ of satisfied equations. The optimum is the largest possible value.
 
 THEOREM 3.1 (Weighted parity gap)
 ------------------------------------------------------------
-For every fixed xi > 0, there is a deterministic polynomial-time
-reduction from 3SAT to weighted parity instances such that:
+For every fixed rational xi > 0, there is a deterministic polynomial-time
+reduction from 3SAT to weighted parity instances, with rational weights
+of polynomial binary length, such that:
 
   YES case:  optimum is at least 1 - xi.
   NO case:   optimum is at most 1/2 + xi.
 
+This is the weighted form of Håstad's parity-gap theorem (2001,
+Theorem 5.4): its finite verifier uses a fixed dyadic error d>0,
+completeness 1-d and soundness (1+d)/2. [19] Choose d<=xi and enumerate
+verifier outcomes with their rational probabilities as occurrence weights.
+This is an imported hardness theorem, not an assumption about the input
+formula. For a real tolerance one may use a smaller positive rational.
+
+A gap is stronger than ordinary NP-completeness. Arora and Safra and Arora,
+Lund, Motwani, Sudan, and Szegedy established the PCP framework that connects
+local proof checking to such approximation gaps. Dinur later gave a
+combinatorial gap-amplification proof of the PCP theorem. Here the imported
+statement is specifically Håstad's parity gap, not an unspecified PCP
+with unrecorded parameters. [24] [25] [26] [19]
+
+[24] Sanjeev Arora; Shmuel Safra. "Probabilistic Checking of Proofs: A New
+    Characterization of NP." Journal of the ACM 45, 1998, pp. 70-122.
+    https://research.ibm.com/publications/probabilistic-checking-of-proofs-a-new-characterization-of-np
+
+[25] Sanjeev Arora; Carsten Lund; Rajeev Motwani; Madhu Sudan; Mario Szegedy.
+    "Proof Verification and the Hardness of Approximation Problems." Journal
+    of the ACM 45, 1998, pp. 501-555.
+    https://people.csail.mit.edu/madhu/papers/1992/almss-journ.pdf
+
+[26] Irit Dinur. "The PCP Theorem by Gap Amplification." Journal of the ACM
+    54, 2007, Article 12.
+    https://eccc.weizmann.ac.il/eccc-reports/2005/TR05-046/
+
+Small soundness by itself does not give uniqueness. Moshkovitz and Raz
+construct two-query PCPs with subconstant error, but a projection constraint
+can admit several left labels for the same right label. Turning a general
+projection game into a Unique Game while preserving the required
+completeness is a separate task. [27]
+
+[27] Dana Moshkovitz; Ran Raz. "Two-Query PCP with Subconstant Error." Journal
+    of the ACM 57, 2010, Article 29; ECCC TR08-071.
+    https://eccc.weizmann.ac.il/report/2008/071/
+
 This is our starting point. A satisfiable formula becomes a system
 where almost every equation can be satisfied. An unsatisfiable formula
 becomes a system where no assignment does much better than random.
 
+Why a parity gap is useful. One parity equation has four satisfying
+triples, and choosing its first two bits fixes the third. This supplies
+the two local coordinates per block used in Part 5. The soundness bound
+is about every global assignment simultaneously. It does not say that a
+particular equation is hard to satisfy in isolation.
+
+Why weights are harmless at this stage. A finite verifier is a finite
+probability experiment. Listing each outcome and its exact rational
+probability gives a weighted instance with exactly the same acceptance
+probability for every assignment. No sampling approximation is used here.
+Part 9 converts the resulting weighted game to an unweighted graph.
+
 We then perform a small cleanup step. Some equations might use the
 same variable twice. That is inconvenient. We clone every variable one
 hundred times and replace the occurrence by a small weighted family of
@@ -168,8 +500,9 @@ From a weighted parity instance we can construct, in polynomial time,
 another weighted parity instance in which the three variables of every
 equation are distinct, and:
 
-  YES case:  optimum is at least 1 - xi.
-  NO case:   optimum is at most 4/5.
+  YES case:  if OPT(E) >= 1 - xi, then OPT(E') >= 1 - xi.
+  NO case:   if OPT(E) <= 1/2 + xi and 0 < xi < 1/100,
+             then OPT(E') <= 4/5.
 
 The exact upper-bound formula is
 
@@ -177,15 +510,51 @@ The exact upper-bound formula is
 
 If optimum(E) <= 1/2 + xi and xi < 1/100, the right-hand side is at
 most 4/5. That is the only NO-side fact used in the rest of the proof.
+Proof of Lemma 3.2. Replace each variable v by 100 clones (v,c).
+For each original occurrence independently choose its three clone indices,
+conditioned on distinct clones whenever two positions refer to the same
+underlying variable. Enumerate all permitted choices with their conditional
+weights. There are at most 100^3 choices per occurrence. Labeling all clones
+of v with its original bit preserves every original equation value.
+
+For the reverse bound fix arbitrary clone labels and put
+ t_v=(1/100)sum_c (-1)^{x_(v,c)}.
+Before conditioning on distinctness, an occurrence has satisfaction
+probability (1+(-1)^{b_e}t_{v_1}t_{v_2}t_{v_3})/2. Round each t_v to
+its majority bit, breaking zero ties arbitrarily. For every equation this
+rounded assignment violates, the signed product is nonpositive, including
+when a bias is zero; hence its probability is at most 1/2. Other equations
+have probability at most one. The weighted mean is at most
+(1+OPT(E))/2. A union bound puts the forbidden-collision probability at
+most 3/100. For an event D and a payoff Y in [0,1],
+ |E[Y|D]-E[Y]|<=Pr[not D],
+as follows by splitting E[Y] over D and its complement. Applying this
+within each occurrence gives the claimed additional 3/100. All new
+conditional denominators have constant size apart from the old weights,
+so the construction has polynomial size and bit complexity.
+
+The reverse inequality does not assume that clones of one variable agree.
+Their bias t_v records how an arbitrary clone labeling behaves under a
+uniform clone choice. Majority rounding supplies one actual assignment to
+the original variables, so the total weight of equations it satisfies is
+at most OPT(E). On each of its violated equations, the independent-clone
+success probability is at most one half. Conditioning away collisions
+then changes that success probability by at most the collision probability.
+These are separate losses: the factor (1+OPT(E))/2 comes from rounding;
+the additive 3/100 comes only from requiring distinct clones.
 
 For the rest of the paper, "parity instance" means this cleaned-up
 instance with distinct positions. Its "ordinary equation-versus-variable
 game" chooses an equation and one of its three positions. The equation
 side answers with a satisfying triple; the variable side answers with a
 bit. If the optimum is at most 4/5, this ordinary game has value at
-most 14/15. This small constant gap will be amplified later by parallel
-repetition.
-
+most 14/15. Indeed, any variable-side strategy is a global assignment.
+On each equation it violates, every satisfying equation-side triple differs
+at some position, giving rejection probability at least 1/3. Thus
+ value(G_E)<=1-(1-OPT(E))/3<=14/15.
+Distinct variable IDs within an equation ensure the question pair fixes
+its projection. Repeated occurrences remain separate questions. This small
+constant gap will be amplified later by parallel repetition.
 
 ================================================================================
 PART 4. THE LATENT ALPHABET GADGET
@@ -196,13 +565,41 @@ This is the new tool that makes completeness near one possible.
 4.1. Why ordinary tests only give completeness near one half
 ------------------------------------------------------------
 
+Testing algebraic structure through a few correlated queries has a long
+history. Blum, Luby, and Rubinfeld developed self-testing and self-correction;
+Bellare, Coppersmith, Håstad, Kiwi, and Sudan sharpened the characteristic-two
+linearity test. Their tests relate acceptance to closeness to a linear
+function. The present gadget instead needs a nonlinear output map that is
+stable under one specially chosen additive noise law. [28] [29]
+
+[28] Manuel Blum; Michael Luby; Ronitt Rubinfeld. "Self-Testing/Correcting
+    with Applications to Numerical Problems." Journal of Computer and System
+    Sciences 47, 1993, pp. 549-595.
+    https://people.csail.mit.edu/ronitt/papers/selftestcorrect.pdf
+
+[29] Mihir Bellare; Don Coppersmith; Johan Håstad; Marcos Kiwi; Madhu Sudan.
+    "Linearity Testing in Characteristic Two." IEEE Transactions on
+    Information Theory 42, 1996, pp. 1781-1795.
+    https://johanhastad.se/figureless.pdf
+
+Higher-order tests and their decoding through uniformity and influences
+were developed by Samorodnitsky and Trevisan. That work is relevant background
+for the distinction between linear and nonlinear structure; Lemma 4.1 below
+is proved by the explicit quadratic recursion, not imported from those
+testing results. [30]
+
+[30] Alex Samorodnitsky; Luca Trevisan. "Gowers Uniformity, Influence of
+    Variables, and PCPs." SIAM Journal on Computing 39, 2009, pp. 323-360;
+    ECCC TR05-116.
+    https://eccc.weizmann.ac.il/eccc-reports/2005/TR05-116/index.html
+
 Imagine the game wants to ask about a large binary vector z. The most
 natural test is to add a random rank-one matrix:
 
        M  ->  M + a l^T,
 
 and check whether the answer stays the same. Here a and l are random
-binary vectors. If z is the intended answer, then:
+binary vectors. For a nonzero intended answer z,
 
        (M + a l^T) z  =  Mz + a (l^T z).
 
@@ -214,14 +611,25 @@ So even the ideal honest answer satisfies the equality test only with
 probability about 1/2. That is not good enough for a Unique Games
 reduction. We need failure probability arbitrarily small.
 
+More exactly, if a is uniform in K and z is nonzero, equality holds when
+l^T z=0 or when l^T z=1 and a=0. Its probability is
+
+       1/2 + 1/(2|K|).
+
+Thus enlarging K does not make the honest equality test nearly perfect:
+it drives this probability toward one half. The issue is the test's
+completeness, not the ability to write its constraints as permutations.
+
 4.2. The gadget
 ------------------------------------------------------------
 
 We invent an alphabet V with a distinguished subspace K and a
 nonlinear map C : V -> K. The map is designed so that replacing x by
-C(x) is very forgiving to random noise. Think of C as a forgiving
-hash: a random small error usually leaves the answer unchanged, but a
-large enough family of independent linear tests still catches it.
+C(x) is stable under its noise law. More precisely, a sampled additive
+perturbation usually
+leaves C unchanged, but a sufficiently rich family of linear observations
+still detects that perturbation. No Hamming-weight or metric notion of
+"small error" is being assumed.
 
 FORMAL LEMMA 4.1 (latent alphabet gadget)
 ------------------------------------------------------------
@@ -251,8 +659,12 @@ such that:
 
          Pr_{a ~ mu}[ some g in G has g(a) not 0 ]  >=  1/8.
 
-In words: random noise usually does not move the nonlinear answer by
-much, but any sufficiently rich family of linear tests catches the
+For rational p the threshold and finite data are effectively constructible.
+Sections 4.3-4.5 describe the construction; Section 4.6 proves every part,
+including that r_* is fixed before ell and that the construction terminates.
+
+In words: random noise usually leaves the nonlinear answer exactly
+unchanged, but any sufficiently rich family of linear tests catches the
 noise with constant probability.
 
 Property (1) is why translations can be used as Unique Game
@@ -260,11 +672,29 @@ constraints. Property (2) is why completeness can be nearly one.
 Property (3) is why cheating strategies still leave a detectable
 signal.
 
+A useful coordinate picture. Choose a complement W so V=K direct-sum W.
+Equivariance forces C(k,w)=k+c(w) for the function c(w)=C(0,w). If the
+noise is a=(b,z), its effect on the output is
+
+       b + c(w+z) + c(w).
+
+The nonlinear term can cancel the K-component b for most w under the
+chosen noise law. A nonzero noise vector lying entirely in K could not do
+this: equivariance would change the answer by that vector on every input.
+This explains why the larger latent space V is needed even though the
+actual labels belong only to K.
+
+The detection property concerns a family of linear functionals at once.
+If G|_K has rank r, it contains r independent ways of observing the output
+translation coordinates. The property says that, once r reaches r_*, the
+noise cannot hide from all those observations with probability above 7/8.
+It does not require each individual functional to detect noise often.
+
 4.3. Where the gadget comes from
 ------------------------------------------------------------
 
-The construction starts with a very small quadratic block. Over a big
-finite field F, define:
+The construction starts with a quadratic block. Over a sufficiently
+large finite field F = F_{2^d}, define:
 
        Q(x1,x2,x3) = (x2 x3, x1 x3, x1 x2).
 
@@ -273,17 +703,16 @@ The block answer is:
        C_blk(x,y) = y + Q(x).
 
 The vertical translations are y -> y + k, and they become output
-translations. The noise is chosen from special affine subspaces where
+translations. The noise is chosen from special binary linear subspaces where
 the quadratic cross-terms cancel.
 
-One reason this works is the old friend from calculus and physics:
-quadratic interactions are tame under small symmetric perturbations.
-In the finite-field version:
+The relevant cancellation is the characteristic-two polarization
+identity. The expression
 
        Q(x+a) + Q(x) + Q(a)
 
-is nonlinear but constrained to a hyperplane determined by the line
-containing a.
+is bilinear in x and a. For a in the field line Fv, its value lies
+in the field hyperplane {w : v dot w = 0}.
 
 4.4. Why the rank stays detectable
 ------------------------------------------------------------
@@ -315,24 +744,483 @@ Finally, two cosmetic but necessary steps:
     many random injections B -> K. This ensures the rank threshold r_*
     does not grow with ell.
 
-The result is exactly the gadget in Lemma 4.1. Every finite object can
-be found by a terminating deterministic search when p is rational, so
-the reduction is explicit.
+The following construction proves Lemma 4.1 and supplies the terminating
+deterministic procedure for rational p. Enumeration alone would not
+establish existence or termination.
 
+4.6. Full construction and proof of Lemma 4.1
+------------------------------------------------------------
+All linearity and dimensions below are over F_2 unless explicitly stated
+otherwise. For a finite vector space E, E* is its space of linear maps
+to F_2. Restricting a family of characters means taking the image of that
+family under the restriction map, not its intersection with another dual.
+
+(a) One quadratic block.
+Choose an integer r_0 later. Put H_0=0 and H_r=sum_{j=1}^r 1/j. Let
+F=F_{2^d}, q=2^d, and X=B=F^3, each of binary dimension b=3d. Identify
+their binary duals with F^3 by the nondegenerate pairing
+
+       (z,x) -> Tr_{F/F_2}(z dot x).
+
+The trace satisfies Tr(t^2)=Tr(t), and squaring is an automorphism of F.
+
+There are two scalar fields in this block. X and B have dimension three
+over F but dimension b=3d over F_2. The line A=Fv has binary dimension d;
+the hyperplane D_A has binary dimension 2d. Characters are F_2-valued,
+not F-valued. The trace pairing is what represents every binary character
+by a vector z in F^3 without confusing those two notions of dimension.
+Use Q and C_blk from Section 4.3. Its polarization D(x,a)=Q(x+a)+Q(x)+Q(a)
+has coordinates x_2 a_3+a_2 x_3, x_1 a_3+a_1 x_3, x_1 a_2+a_1 x_2.
+For a field line A=Fv with v nonzero define
+
+       D_A={w in B : v dot w=0},
+       U_A={(a,Q(a)+w) : a in A, w in D_A},
+       theta=1/(q^2+q+1).
+
+Neither space depends on the choice of generator v. When a is a multiple
+of v, v dot D(x,a)=0 because each term occurs twice. If a and a' both
+belong to A, D(a,a')=0. Thus Q restricted to A is binary linear, U_A
+is a binary subspace of dimension d+2d=b, and the trace annihilator of
+D_A is A. The spaces U_A span X+B: for coordinate lines Fe_i they
+contain (Fe_i,0), and their vertical hyperplanes together span 0+B.
+There are q^2+q+1 field lines.
+
+An update (a,Q(a)+w) changes C_blk by w+D(x,a). For a uniform update in
+all of U_A, this difference is uniform in D_A conditional on x,a, so
+it is nonzero with probability 1-q^(-2). The zero update has probability
+q^(-3) and never changes the output. Consequently, for independent
+uniform (x,y) and uniform nonzero update in U_A, the change probability is
+
+       (1-q^(-2))/(1-q^(-3)) = 1-theta.                 (4.6.1)
+
+Next take a binary subspace S of B* and a binary-linear assignment of
+extensions z -> (gamma_z,z) in X*+B*. Write
+ gamma_z(x)=Tr(g(z) dot x), where g:S->F^3 is binary linear.
+Let kappa_{A,gamma} send z to the restriction of this extension to U_A.
+For z nonzero, the kernel criterion is
+
+       kappa_{A,gamma}(z)=0
+       iff A=Fz and z dot g(z)=sqrt(z_1 z_2 z_3).       (4.6.2)
+
+Indeed, annihilating 0+D_A first requires z in A. On the remaining
+vectors (tz,Q(tz)), the value is
+ Tr(t g(z) dot z+t^2 z_1 z_2 z_3).
+The identity Tr(t^2 c)=Tr(t sqrt(c)) and nondegeneracy of trace give
+(4.6.2), including its converse.
+
+The kernel test has two logically separate requirements. First, a lifted
+character must vanish on every vertical vector (0,w) with w in D_A. That
+forces its output coefficient z onto the line A. Second, it must vanish
+on the graph vectors (tz,Q(tz)); this is exactly the scalar alignment
+equation in (4.6.2). Thus a particular nonzero z can cause a rank loss for
+at most one field line, namely Fz. Genericity will limit how many z can
+cause such a loss for the same extension family.
+
+(b) Generic character spaces exist, uniformly over their extensions.
+Call an r-dimensional binary subspace S of F^3 generic when distinct
+nonzero elements are not proportional over F and, for EVERY binary
+linear map g:S->F^3, the alignment equation in (4.6.2) has at most
+3r nonzero solutions in S. For generic S, restricting any fixed family
+of extensions to a uniform U_A loses at most one rank, and loses it
+with probability at most 3r theta. If r_A is the surviving rank, then
+
+       E_A[H_r-H_{r_A}] <= 3 theta.                   (4.6.3)
+
+For arbitrary S the corresponding bounds are
+ Pr_A[r_A<r] <= (2^r-1)theta and H_r-H_{r_A} <= H_r.
+These follow directly from (4.6.2); no independence of g and S is needed.
+
+Why harmonic potential rather than rank? On a generic r-space, a bad line
+can kill only one binary dimension because distinct nonzero vectors of S
+are not field-proportional. The potential loss when that happens is
+H_r-H_{r-1}=1/r. Multiplying by the loss probability at most 3r theta gives
+3 theta. The dependence on r cancels. A direct expected-rank estimate
+would instead carry a factor r, which is too costly over the required
+number of levels.
+
+We prove that for each fixed r, a uniform r-dimensional binary subspace
+of F^3 is generic with probability tending to one as d grows. Sample
+independent uniform x_{ij} in F, i=1,2,3 and j=1,...,r, and set
+ z_i(t)=sum_j x_{ij}t_j for t in F_2^r.
+The map t->z(t) fails to be injective with probability at most
+(2^r-1)q^(-3). Conditional on injectivity its image is a uniform
+r-dimensional subspace. Two distinct nonzero binary vectors are also
+linearly independent over F. Their images are independent uniform
+vectors of F^3. The probability of proportionality is O(q^(-2)), so a
+union bound handles the first genericity condition.
+
+For the second condition fix a set E of 3r+1 distinct nonzero binary
+inputs, if such a set exists. Alignment at every t in E for some g
+is equivalent to membership of the column
+
+       c_t=sqrt(z_1(t)z_2(t)z_3(t))
+
+in the column space of the |E|-by-3r matrix
+ M_{t,(i,j)}=t_j z_i(t).
+Its 3r unknown coefficients are the coordinates of the values of g on a
+binary basis. Thus this single condition already covers all choices of g.
+
+This is where the word EVERY in the definition of genericity is handled.
+Choose the binary basis z(e_1),...,z(e_r). A binary-linear g is completely
+determined by the three field coordinates of g(z(e_j)) for each j, giving
+3r unknown field elements. Asking for alignment on the selected 3r+1
+inputs is one overdetermined linear system in those unknowns. There is no
+union bound over the q^(3r) possible maps g. Instead, the proof shows that
+the entire system is inconsistent except on a low-probability algebraic
+exceptional set.
+
+Temporarily let the x_{ij} be algebraically independent indeterminates
+and let L=F_2(x_{ij}). The r^3 elements
+ sqrt(x_{1j}x_{2k}x_{3l}) are linearly independent over L: clearing
+denominators reduces any dependence to a polynomial identity in the
+square roots of the indeterminates, and these monomials have different
+exponent parities while coefficients in L have even exponent parities.
+The coefficients of these independent elements in c are the vectors
+ v_{jkl}=(t_j t_k t_l)_{t in E}.
+
+If c belonged to col(M) over an algebraic closure of L, each L-valued
+row annihilating M would annihilate c and hence every v_{jkl}. Therefore
+all v_{jkl} would lie in col_L(M). Let V_h be the evaluation span on E
+of positive-degree monomials of degree at most h in the binary t_j.
+Repeated indices in v_{jkl} give degrees one and two as well as three.
+Since every column of M has degree at most two, we would obtain
+
+       V_3 subset col_L(M) subset V_2 subset V_3.
+
+The resulting common space contains degree-one monomials and is closed
+under multiplication by each t_j. It contains all positive-degree
+monomials. Their evaluations span L^E: the indicator of any nonzero
+binary point is a product of factors t_j or 1+t_j with at least one
+factor t_j, and therefore has no constant term. This contradicts
+rank(M)<=3r<|E|. So the claimed membership is impossible symbolically.
+
+The symbolic contradiction can be read in four steps. The square roots
+sqrt(x_{1j}x_{2k}x_{3l}) carry distinct exponent-parity patterns, so an
+L-linear relation between them is impossible. Consequently any row
+annihilating M must also annihilate every degree-three evaluation vector.
+This puts V_3 inside col(M). Since the columns of M already belong to
+V_2, it follows that V_2=V_3=col(M).
+
+Now multiplication by any coordinate t_j sends V_2 into V_3, which is the
+same space. Starting with degree-one monomials and multiplying repeatedly
+therefore gives every positive-degree monomial. On a set E of nonzero
+binary points, those monomials span all point indicators. The common
+space would have dimension |E|=3r+1, whereas M has only 3r columns.
+This is the contradiction. The use of nonzero inputs is essential to the
+point-indicator argument: their indicators have no constant term.
+
+Here is an explicit finite-field consequence. Put h=rank_L(M). Square
+all entries of M and c; the appended column now has polynomial entries
+z_1(t)z_2(t)z_3(t). There is a nonzero (h+1)-minor of the augmented
+squared matrix, of degree at most 2h+3<=6r+3. Every unaugmented
+(h+1)-minor is identically zero. Membership after specialization therefore
+forces this particular nonzero polynomial to vanish. A nonzero polynomial
+of total degree D in independent uniform field elements vanishes with
+probability at most D/q. This elementary bound follows by induction on
+the number of variables, applying the univariate root bound to its
+leading coefficient and then to the last variable. [31] [32] Our membership
+probability is consequently at most (6r+3)/q. There are only finitely
+many possible E for fixed r. A union bound and conditioning on
+injectivity prove the assertion. When 2^r-1<=3r there are no such E
+and the alignment condition is automatic.
+
+[31] Jacob T. Schwartz. "Fast Probabilistic Algorithms for Verification of
+    Polynomial Identities." Journal of the ACM 27, 1980, pp. 701-717.
+    https://pages.cs.wisc.edu/~cs787-1/Schwartz1980.pdf
+
+[32] Richard Zippel. "Probabilistic Algorithms for Sparse Polynomials."
+    EUROSAM 1979, Lecture Notes in Computer Science 72, pp. 216-226.
+    https://www.cecm.sfu.ca/~monaganm/teaching/TopicsinCA15/zippel79.pdf
+
+Squaring is used only to turn the obstruction into a polynomial over the
+base field. It preserves whether the linear system has a solution,
+because Frobenius is a field automorphism after specialization. A nonzero
+augmented minor certifies that c cannot be in the column space. If a
+specialization did make the system solvable, that minor would have to
+vanish. This remains true even if specialization lowers the rank of M.
+The exceptional probability is therefore bounded by the degree of one
+nonzero polynomial divided by q, followed by a finite union over E.
+
+Choose a rational e>0 with e<1 and H_{r_0}2^{r_0}e<=1. The assertion
+just proved lets us fix d with b>=r_0 such that, at every rank
+1<=r<=r_0, at most an e fraction of binary r-subspaces of B* are
+nongeneric. Fix one generic r_0-subspace. These choices depend only
+on r_0, not on the eventual ell.
+
+(c) The recursive map and its additive noise.
+Let I be the finite set of ALL pairs (A,J), where A is a field line
+and J:B->U_A is a binary linear isomorphism. The number of choices of
+J is the same for every A. We construct input spaces P_t, shift
+subspaces R_t, surjections lambda_t:R_t->B, and maps C_t:P_t->B
+satisfying
+
+       C_t(u+h)=C_t(u)+lambda_t(h)  for h in R_t.       (4.6.4)
+
+At height zero all spaces are B and both maps are the identity.
+At positive height take P_t=product_{(A,J) in I} P_{t-1}, and set
+
+       (x,y)=sum_{A,J} J C_{t-1}(u_{AJ}),
+       C_t(u)=y+Q(x),
+       R_t={h in product R_{t-1}:
+              sum_{A,J}J lambda_{t-1}(h_{AJ}) lies in 0+B}.
+
+For h in R_t let lambda_t(h) be the B-component of that sum. The
+induction hypothesis proves (4.6.4). The aggregate of the child shifts
+is onto X+B because the U_A span it, so lambda_t is onto B. In
+particular C_t of a uniform input is uniform in B: its distribution is
+invariant under every output translation.
+
+Let xi_0 be a uniform element of B. At height t>0 choose one uniform
+child (A,J), place an independent xi_{t-1} there, and put zero in the
+other children. Equivalently select a uniform leaf and add a uniform
+B-symbol there. All choices are finite and the noise probabilities are
+rational. For an independent uniform input u put
+ p_t=Pr[C_t(u+xi_t)!=C_t(u)]. We claim
+
+       p_t=(1-q^(-3))(1-theta)^t.                     (4.6.5)
+
+The base case is immediate. For the induction, the selected child's
+output difference Delta has a law independent of its index, since all
+child functions and inner noises are identical. For any fixed inner
+perturbation a, its difference is unchanged by shifting the input by
+h in R_{t-1}, whereas the initial child output is translated by
+lambda_{t-1}(h). Thus conditional on a and Delta, the initial output
+is still uniform in B. The other initial child outputs remain
+independently uniform. Hence the entire parent aggregate is uniform
+conditional on (A,J,Delta). Conditional on A and Delta!=0, J is uniform,
+so J Delta is uniform in U_A minus {0}. The aggregate is independent
+of this perturbation. Applying (4.6.1) gives p_t=p_{t-1}(1-theta),
+which proves (4.6.5). This conditional-uniformity check is necessary;
+a marginally uniform update by itself would not justify the recursion.
+
+The recursion separates the current value from the change in that value.
+Shifting a child input by an element of R_{t-1} translates both its old and
+new outputs by the same amount. Their difference Delta is unchanged.
+Because lambda_{t-1} is onto B, conditioning on Delta still leaves the
+old child output uniform on B. This is stronger than ordinary uniformity.
+
+At the parent, the independent uniform child outputs pass through the
+maps J and are summed. The images U_A span X direct-sum B, so this sum is
+uniform on the whole parent input space. Conditional on a nonzero Delta,
+the fresh isomorphism J makes the parent's update uniform among nonzero
+vectors of U_A. The parent therefore multiplies the chance of a child
+change by exactly 1-theta. Iterating gives exponential decay in the depth.
+
+(d) Detection of every full family of lifted output characters.
+A lift of S<=B* to P_t is a binary-linear family z->psi_z in P_t*
+with psi_z restricted to R_t equal to z composed with lambda_t. It
+is full when S=B*. For any lift at height t>0 there is ONE binary
+linear map gamma:S->X*, common to all children, such that the
+characters induced on a child's output space are
+
+       phi_{AJ}(z)=J* ((gamma_z,z)|_{U_A}).            (4.6.6)
+
+To prove this, a shift in ker(lambda_{t-1}) supported on one child
+is a parent shift with zero output, so every psi_z vanishes on it.
+The child restriction therefore factors through lambda_{t-1}. On the
+space of child output translations, subtract z applied to the vertical
+component of their aggregate from the sum of these induced characters.
+The difference vanishes whenever the aggregate's X-component vanishes,
+by the defining parent lift identity. It therefore factors through
+that X-component, which is onto X. Its unique factor is gamma_z.
+Uniqueness also makes gamma linear in z, proving (4.6.6).
+
+Why must the same gamma work for every child? A parent lift respects all
+shifts whose aggregate horizontal component is zero, including shifts
+that cancel between different children. Independent choices of horizontal
+extensions in different children would generally fail this requirement.
+Factoring through the single aggregate X-component enforces one common
+gamma. The genericity estimate can then be applied to one fixed extension
+family before the next line A is sampled.
+
+After choosing a child, let S' be the image of phi_{AJ}. Choose a
+linear section S'->S and restrict the corresponding psi_z to the
+child input. This is a lift of S' at height t-1. Fix section choices
+deterministically using only the path so far. Every surviving functional
+is then the restriction of an original functional to the chosen subtree.
+
+Take depth s=floor(H_{r_0}/(8 theta)). Start with an arbitrary full
+lift on P_s and restrict its domain to the generic r_0-space fixed
+above. Let S_j and r_j be its domain and rank after j random descent
+steps; once the rank is zero, keep it zero. Given the previous path,
+S_j and gamma_j are fixed. Choose A_j first. The image
+ E_j=im(kappa_{A_j,gamma_j}) has fixed rank before J_j is revealed.
+The independent uniform isomorphism J_j makes S_{j+1}=J_j*E_j a
+uniform binary subspace of B* of that rank. Its probability of being
+nongeneric, when nonzero, is at most e. The next lift can depend on
+J_j; this causes no problem because genericity bounds EVERY extension.
+
+The order of exposure matters. At a descent step the current S_j and its
+extension gamma_j are fixed by the past. Sampling A_j determines the rank
+that remains. Only afterward does the independent random J_j rotate that
+remaining space into a uniformly random binary subspace of B*. The next
+extension may depend on everything revealed so far. Genericity was proved
+uniformly over all extensions precisely so this dependence is allowed.
+No assumption of independence between the next space and its extension
+is being made.
+
+Let B_j indicate a positive-rank nongeneric S_j and put
+ Delta_j=H_{r_j}-H_{r_{j+1}}. From (4.6.3) and the arbitrary-space
+bound, conditional on the previous path,
+
+       E[Delta_j | previous path]
+       <= 3 theta + H_{r_0}2^{r_0} theta B_j.
+
+Initially B_0=0. At each subsequent step E B_j<=e by the fresh
+isomorphism argument. Thus E Delta_j<=4 theta at every step, and
+
+       E[H_{r_0}-H_{r_s}] <= 4s theta <= H_{r_0}/2.
+
+Extinction costs the entire potential H_{r_0}, so its probability is
+at most 1/2. At a surviving leaf the lift is a nonzero character space
+of B itself. An independent uniform B-symbol is detected with
+probability 1-2^{-r_s}>=1/2. Leaf detection implies detection by an
+original lifted character. EVERY full lift therefore detects xi_s
+with probability at least 1/4.
+
+The potential estimate controls extinction, not merely average final rank.
+If rank reaches zero, the loss H_{r_0}-H_{r_s} equals H_{r_0}. On every
+other path the loss is nonnegative. An expected loss of at most half the
+initial potential therefore puts extinction probability at most one half.
+Conditional on survival, a uniform leaf symbol escapes the common kernel
+of the surviving nonzero character space with probability at least one
+half. Multiplying these two lower bounds gives 1/4.
+
+(e) Turn the shifts into a subspace, then enlarge the output.
+The kernel N_s=ker(lambda_s) is taken inside R_s<=P_s. By (4.6.4),
+C_s is invariant under N_s. Form V_0=P_s/N_s and let Cbar:V_0->B be
+the descended map. R_s/N_s is an identified copy of B inside V_0,
+and Cbar(x+b')=Cbar(x)+b'. Push the noise xi_s to a law nu on V_0.
+Uniform input pushes to uniform input, so its change probability is p_s.
+
+For any G_0<=V_0* whose restrictions fill B*, choose a linear section
+B*->G_0 and pull it back to P_s. This is a full lift. The preceding
+argument proves that G_0 detects nu with probability at least 1/4.
+
+Given the requested rational p>0, choose an integer m>=0 with
+2^{-m}<=p, and choose r_0 with H_{r_0}>=8(m+1). Complete the choices
+above and use depth s. Since theta<=1 and s>=H_{r_0}/(8theta)-1,
+
+       p_s <= exp(-theta s)
+           <= exp(1-H_{r_0}/8) <= exp(-m) <= 2^{-m} <= p.
+
+Set r_*=b+2, BEFORE choosing ell. For any ell>=b+2, put K=F_2^ell
+and let L range over all binary linear injections B->K. On
+P=product_L V_0 define
+
+       Ctilde((x_L))=sum_L L Cbar(x_L).
+
+The shift space T=product_L B acts by the surjective map
+ Lambda((b_L))=sum_L Lb_L into K. It is surjective because every
+nonzero vector of K occurs in some injection's image. Quotient P by
+the kernel of Lambda INSIDE T, obtaining V=P/ker(Lambda). Ctilde
+descends to C:V->K, and T/ker(Lambda) is the required identified K.
+This proves equivariance. The noise chooses a uniform L, updates only
+that copy by nu, and passes to V. Its probabilities are rational. Since
+L is injective, the output changes precisely when the selected copy's
+Cbar changes; uniform inputs pass to uniform quotient inputs. The
+small-change probability is p_s<=p.
+
+Finally fix G<=V* and S=G|_K of dimension r>=r_*=b+2. Pull G back to
+P and restrict it to copy L; call this family G_L. Its restriction to
+that copy's B is exactly L*S. This follows by evaluating a shift b'
+in that copy: its image in K is Lb'. Failure of L*S to fill B* means
+that some nonzero b' in B has Lb' in S-perp. For each fixed b', Lb'
+is uniform among nonzero vectors of K. Therefore
+
+       Pr_L[L*S != B*]
+       <= (2^b-1)(2^{ell-r}-1)/(2^ell-1)
+       <= (2^b-1)2^{-r} <= 1/4.
+
+On every remaining copy, the base detection bound is 1/4. Detection
+by G_L is detection by G on noise supported in that copy. Overall
+probability is at least (3/4)(1/4)=3/16>=1/8. This proves all three
+properties of Lemma 4.1 for every ell>=r_*.
+
+The two quotients remove only shifts on which the output is invariant.
+That is why C descends to each quotient. A uniform vector stays uniform
+under a surjective linear quotient map because all fibers have the same
+size. Likewise, pushing a finite noise law through the quotient changes
+its representation, not the probability of an output change.
+
+The enlargement step is what fixes the quantifier order. The base output
+B has dimension b determined by p. Setting r_*=b+2 now fixes the detection
+threshold once and for all. For any later ell, a random injection L is
+unlikely to put a nonzero vector of B into the annihilator of a rank-r
+observation space: the union bound is at most (2^b-1)2^(-r). Therefore most
+copies retain full base detection, regardless of how large ell becomes.
+
+(f) Effectiveness.
+The choices of m,r_0,e are rational/integer searches. For successive
+d with 3d>=r_0, construct F_{2^d}, enumerate its binary subspaces of
+ranks 1,...,r_0 and all binary-linear g, and test genericity exactly.
+The proof in (b) guarantees a d for which every nongeneric fraction is
+at most e; testing those fractions is finite exact arithmetic. Choose
+the first such d and a generic r_0-space. All remaining isomorphisms,
+products, kernels, quotients, injections, function tables, and pushforward
+probabilities are finite enumerations and binary linear algebra.
+This proves termination, not merely the existence of a search procedure.
+Its cost depends on p and ell only, never on the input 3SAT formula.
+
+The role of the exhaustive search is limited. The genericity argument
+proves that a successful field size exists; the search merely finds one.
+Every test at a candidate field size involves a finite list and exact
+arithmetic. Once p and ell are fixed, all resulting tables and spaces can
+be included as constant data in the reduction. A search without the
+existence argument would not establish that the algorithm halts.
+
+For an arbitrary real p>0, use the construction for a positive rational
+p'<=p. The effectiveness assertion concerns rational p.
 
 ================================================================================
 PART 5. BUILDING THE OUTER MATRIX GAME
 ================================================================================
 
-Now we make the actual Unique Games instance whose vertices are not
-variables but whole TABLES.
+The intermediate Unique Games instance has vertices representing
+equivalence classes of tables, rather than the original parity variables.
+The equivalence relation is defined in Section 5.2.
+
+The long-code approach to hardness encodes a local assignment by all its
+possible evaluations; Bellare, Goldreich, and Sudan developed its use in
+PCPs and nonapproximability. Barak, Gopalan, Håstad, Meka, Raghavendra, and
+Steurer introduced the shorter-code approach. The tables below use their
+own explicit finite linear-map indexing, so their size and sharing rules
+must be checked directly. [33] [34]
+
+[33] Mihir Bellare; Oded Goldreich; Madhu Sudan. "Free Bits, PCPs, and
+    Nonapproximability: Towards Tight Results." SIAM Journal on Computing 27,
+    1998, pp. 804-915.
+    https://people.seas.harvard.edu/~madhusudan/papers/1995/bgs-journ.pdf
+
+[34] Boaz Barak; Parikshit Gopalan; Johan Håstad; Raghu Meka; Prasad
+    Raghavendra; David Steurer. "Making the Long Code Shorter." SIAM Journal
+    on Computing 44, 2015, pp. 1287-1324; conference version: FOCS 2012.
+    https://www.dsteurer.org/paper/cayleysse/
+
+The purpose of sharing is the same consistency requirement that drives PCP
+composition: local representations must support compatible answers on
+common information. Assignment testers of Dinur and Reingold and decodable
+PCPs of Dinur and Harsha develop general composition frameworks. The key
+and folding construction in Section 5.2 is the specific mechanism used
+here; those frameworks are not being invoked as a substitute for its
+proof. [35] [36]
+
+[35] Irit Dinur; Omer Reingold. "Assignment Testers: Towards a Combinatorial
+    Proof of the PCP Theorem." SIAM Journal on Computing 36, 2006, pp.
+    975-1024.
+    https://www.wisdom.weizmann.ac.il/~dinuri/mypapers/pcptesters.pdf
+
+[36] Irit Dinur; Prahladh Harsha. "Composition of Low-Error 2-Query PCPs Using
+    Decodable PCPs." SIAM Journal on Computing 42, 2013, pp. 2452-2486.
+    https://www.cs.cmu.edu/~odonnell/hits09/dinur-harsha-composing-lower-error-2-query-PCPs.pdf
 
 5.1. Tables
 ------------------------------------------------------------
 
-Let U = (e_1, ..., e_k) be an ordered tuple of k parity equations.
-A table on U is an affine map from the satisfying answers of those
-equations to the latent space V.
+Let U = (e_1, ..., e_k) be an ordered tuple of k parity equations,
+sampled with replacement. Each block has its own local answer coordinates,
+even when IDs repeat. A table on U is an affine map from the satisfying
+answers of those equations to the latent space V.
 
 Each equation has four satisfying triples:
    (x,y, b_equation + x + y).
@@ -342,8 +1230,22 @@ homogeneous coordinate t_0 = 1 gives the answer space dimension
 m = 1 + 2k: one coordinate for the constant and two slopes per
 equation.
 
-A table P is represented by a matrix in Hom(F_2^m, V). In particular,
-P z means: evaluate the affine table at the valid answer z.
+Write L_U = F_2^m. A table P is represented by a matrix in Hom(L_U, V).
+In particular, P z means: evaluate the affine table at the valid answer z.
+Fix a linear splitting V = K + W (a direct sum), and write P = (M,T)
+for its K-valued and W-valued components. These spaces are fixed before k.
+
+For one equation x_1+x_2+x_3=b, the homogeneous answer vector is
+(t_0,x_1,x_2), with x_3=b t_0+x_1+x_2. Actual answers have t_0=1.
+For k equations there is ONE shared homogeneous coordinate and two local
+bit coordinates per block, hence m=1+2k. Homogenization turns every affine
+table into an ordinary linear matrix, so evaluations and projections can
+be written as matrix products.
+
+A table is not itself a claimed assignment to the parity instance. It is
+a linear map that can be evaluated at many possible local answers. A game
+label gives one K-valued response associated with that table's key. The
+soundness proof must recover assignment information from those responses.
 
 5.2. Two key identifications: keys and folding
 ------------------------------------------------------------
@@ -358,18 +1260,49 @@ A slope pair (a_i,d_i) can:
   * have rank one, so the table depends only on one variable or one
     actual answer bit.
 
-The RETAINED coordinates form the support. The REDUCED table is the
-unique linear map on that support. The KEY of a table is its support
-plus its reduced table, including its intercept.
+For rank one, (a_i,d_i) is (v,0), (0,v), or (v,v), with v nonzero.
+The last case uses the third actual bit z_i = b_{e_i} t_0 + x_i + y_i;
+replacing v(x_i+y_i) by v z_i requires adding b_{e_i} v to the intercept.
+The RETAINED coordinates form the support, keeping block indices, tags,
+and IDs. The REDUCED table is the unique linear map on that support.
+The KEY is the support plus the reduced table, including its corrected
+intercept. A singleton block of nonzero slope retains its actual-bit
+coordinate and variable ID; a zero-slope singleton disappears. Block
+indices remain distinct even when variable or occurrence IDs repeat.
+For a support, let rho retain t_0 and those coordinates and discard the
+others. It is surjective, since coordinates in different blocks are local
+copies. The identities above give P=P_reduced rho, which also proves the
+uniqueness of the reduced table. An empty support still retains t_0.
+
+The rank-one case is worth checking explicitly. If the slopes in a block
+are (v,v), its contribution is v x_i+v y_i. Since the third actual bit is
+z_i=b_e t_0+x_i+y_i, the same contribution is v z_i+b_e v t_0. Keeping
+z_i but forgetting the added intercept term would change the table when
+b_e=1. The key records the corrected intercept as well as the surviving
+coordinate and its ID, so it represents the same map, not just the same
+pattern of nonzero slopes.
+
+The block index is retained even if two blocks refer to the same global
+variable. Their answer coordinates are still separate local copies.
+Consistency with one global assignment is a property of the honest
+labeling, not an identification imposed on the local vector space.
 
 A crucial compatibility: if a question O is obtained from U by
 projecting some equation blocks down to singleton variables, then a
 table on O and its pullback to U have the SAME KEY. Thus one vertex
-label can serve both questions consistently.
+label can serve both questions consistently. To check the intercept,
+a third-position singleton of slope v pulls back with the extra term
+b_e v t_0; reducing that pulled-back rank-one block adds the same term
+again, so the two corrections cancel in characteristic two. Retained
+equations reduce identically on both sides, and zero slopes disappear
+on both. Hence the entire reduced maps, not just their slopes, agree.
+Take the key universe over all tables on all equation tuples. Every
+projected key lies in it by pullback from a compatible tuple.
 
 Folding is then immediate. Adding a constant h in K to the intercept
 changes the key by h. We group each key with all of its K-translates
-into one vertex. A labeling of vertices defines, for any table P:
+into one vertex, represented by the unique key whose reduced intercept
+has zero K-component. A labeling of vertices defines, for any table P:
 
         F(P) = label(representative key) + c(P),
 
@@ -378,9 +1311,26 @@ exact translation property:
 
         F(P + h e0^T) = F(P) + h.
 
+Adding h changes only the removed intercept component, so the action
+on keys is free. The same-key identity also gives, for every permitted
+projection pi and table P' on O,
+
+        F_U(P' pi)=F_O(P').                            (sharing)
+
 This is how the final Unique Game constraints become translations of
 the alphabet K.
 
+Sharing and folding solve different problems. Sharing identifies a table
+with a pullback that represents exactly the same reduced map. Folding
+identifies tables that differ by a constant K-translation, while recording
+that translation in the restored value F. The first identity lets the two
+decoders compare responses on different question spaces. The second gives
+both the translation edge constraints and the valid-answer condition in
+Fourier decoding.
+
+Neither identity is an extra probabilistic test. They hold for every
+labeling because of how the vertices and restored answers are defined.
+
 5.3. The matrix test
 ------------------------------------------------------------
 
@@ -395,8 +1345,18 @@ Accept if:
 
         F(P) = F(P + a l^T).
 
-Here a l^T is rank one with the column a and row l. This test is a
-weighted permutation test on the orbit vertices.
+Here a l^T has rank at most one; either factor may be zero. For each
+outcome put P'=P+a l^T and add an occurrence between v(U,P) and v(U,P')
+with constraint
+
+        label(v(U,P'))=label(v(U,P))+c(U,P)+c(U,P').
+
+This is a translation permutation on K, including when the endpoints
+coincide. Give it the exact sampling probability as its rational weight.
+Keep repeated occurrences separately and omit zero-probability outcomes.
+The weights sum to one, and a labeling's weighted value is exactly its
+test acceptance. Vertices not incident to a positive occurrence may be
+omitted: for soundness their labels can be extended arbitrarily.
 
 5.4. Completeness
 ------------------------------------------------------------
@@ -404,8 +1364,12 @@ weighted permutation test on the orbit vertices.
 Why does a near-satisfying parity assignment make this test pass with
 very high probability?
 
-Fix a global assignment satisfying the equations. On a tuple where all
-k equations are satisfied, the full answer z is actual and nonzero.
+Fix a global assignment satisfying at least 1-xi of the equation weight.
+Evaluate each representative reduced table at this assignment on its
+support, using a fixed satisfying triple for any violated retained
+equation, and label its orbit by C of that evaluation. Equivariance of C
+gives the restored value below on every all-satisfied tuple. On such a
+tuple, the full answer z is actual and nonzero.
 The table's value becomes:
 
         C(P z)
@@ -428,46 +1392,232 @@ Therefore completeness is:
 Both k xi and p/2 can be made arbitrarily small. That is the entire
 point of the latent gadget.
 
+There are two separate sources of completeness loss.
+The sampled tuple may contain an equation violated by the global
+assignment, costing at most k xi by a union bound. On an all-satisfied
+tuple, its actual answer z has first coordinate one and is therefore
+nonzero. Uniform P then makes Pz uniform in V. Independently, uniform l
+makes l^T z a fair bit. The gadget contributes at most p only on the half
+of trials with l^T z=1, giving p/2. Repeated equation IDs do not invalidate
+the union bound or either of these uniformity statements.
 
 ================================================================================
 PART 6. THE INVERSE SHORTCODE THEOREM
 ================================================================================
 
+The relevant line of work is more specific than a generic expansion theorem.
+Khot and Safra developed a two-prover game with strong soundness; Khot,
+Minzer, and Safra connected independent sets, 2-to-2 games, and Grassmann
+graphs. The latter paper should not be mistaken for the near-one-completeness
+Unique Games statement proved in this manuscript. [37] [38]
+
+[37] Subhash Khot; Muli Safra. "A Two-Prover One-Round Game with Strong
+    Soundness." Theory of Computing 9, 2013, pp. 863-887.
+    https://www.theoryofcomputing.org/articles/v009a028/
+
+[38] Subhash Khot; Dor Minzer; Muli Safra. "On Independent Sets, 2-to-2 Games,
+    and Grassmann Graphs." Theory of Computing 21, 2025, Article 10;
+    conference version: STOC 2017.
+    https://theoryofcomputing.org/articles/v021a010/
+
+Dinur, Khot, Kindler, Minzer, and Safra analyzed sets with non-optimal
+expansion in Grassmann graphs. Barak, Kothari, and Steurer related the
+shortcode graph to the 2-to-2 problem. These explain why low-rank matrix
+perturbations and subspace intervals appear together. [39] [40]
+
+[39] Irit Dinur; Subhash Khot; Guy Kindler; Dor Minzer; Muli Safra. "On
+    Non-Optimally Expanding Sets in Grassmann Graphs." Israel Journal of
+    Mathematics 243, 2021, pp. 377-420; ECCC TR17-094.
+    https://eccc.weizmann.ac.il/report/2017/094/
+
+[40] Boaz Barak; Pravesh K. Kothari; David Steurer. "Small-Set Expansion in
+    Shortcode Graph and the 2-to-2 Conjecture." ITCS 2019; preprint 2018.
+    https://www.dsteurer.org/paper/shortcodesse/
+
+Khot, Minzer, and Safra supply the near-perfect Grassmann expansion theorem
+used below. Ellis, Kindler, and Lifshitz subsequently developed a
+Bonami-type inequality for functions on spaces of linear maps. The proof
+of Theorem 6.1 uses the stated Grassmann expansion result, not a new
+unstated consequence of hypercontractivity. [20] [41]
+
+[41] David Ellis; Guy Kindler; Noam Lifshitz. "An Analogue of Bonami's Lemma
+    for Functions on Spaces of Linear Maps, and 2-2 Games." STOC 2023;
+    arXiv:2209.04243.
+    https://arxiv.org/abs/2209.04243
+
+Alphabet-soundness tradeoffs for more general PCPs are a separate issue;
+Minzer and Zheng study that tradeoff directly. Here the critical dependency
+is that the restricted-rank threshold r_* is fixed before the final output
+dimension ell, as proved in Part 4. [42]
+
+[42] Dor Minzer; Kai Zhe Zheng. "Near Optimal Alphabet-Soundness Tradeoff
+    PCPs." STOC 2024; arXiv:2404.07441.
+    https://arxiv.org/abs/2404.07441
+
 For soundness, we need a structural theorem. It says that any function
 which is too stable under uniform rank-one perturbations must be very
 simple on a small "window" of matrices.
 
 THEOREM 6.1 (equality soundness for degree-two shortcode)
 ------------------------------------------------------------
-For every eta > 0 there are constants alpha > 0 and r_s >= 1 with the
-following property. If a function
+For every eta in (0,1), there are alpha in (0,1], an integer r_s >= 1,
+and an integer ell_0, all depending only on eta. For every ell >= ell_0
+there is m_0 = m_0(eta,ell) such that, for every m >= m_0, a function
 
        f : Mat(ell,m) -> F_2^ell
 
-satisfies
+satisfying
 
        Pr_{M,a,l}[ f(M) = f(M + a l^T) ]  >=  eta,
 
-then there is a nonempty row-and-column slice S, defined by at most
-r_s row equations and at most r_s column equations, such that for
-some vector z and some vector u,
+has a nonempty row-and-column slice S, defined by at most r_s equations
+of the form d_i^T M = s_i^T and at most r_s equations Mq_j = t_j,
+such that for some z in F_2^m and u in F_2^ell,
 
        Pr_{M on slice S}[ f(M) = Mz + u ]  >=  alpha.
 
+The test samples M in Mat(ell,m), a in F_2^ell, and l in F_2^m
+independently and uniformly; the conclusion uses uniform measure on S. For rational eta,
+positive rational alpha and effective dimension thresholds are available.
+The derivation and the precise expansion input appear below.
+
 A row-and-column slice is a set of matrices that all agree on some
 linear combinations of rows and columns.
 
+For example, a row equation d^T M=s^T fixes one linear combination of the
+ell rows. A column equation Mq=t fixes the image of one vector q in the
+m-dimensional domain. Their simultaneous solution set, if nonempty, is
+an affine space. Uniform measure on that space means every satisfying
+matrix receives equal weight; it is not the original matrix distribution
+with an arbitrary reweighting.
+
+The theorem promises agreement on ONE slice. It does not say that f is
+globally affine, or that the slice occurs with a useful probability under
+random row advice. Section 7.2 supplies that second step. The proof below
+actually obtains a constant target on the selected slice, corresponding
+to z=0. Later folding and the column constraints turn the target's coset
+into a nonempty list of valid answers. Those are distinct arguments.
+
+WHY THIS MATTERS
+------------------------------------------------------------
+The theorem says: if f keeps its value with a fixed positive probability
+under a uniform rank-one update, then after zooming into a carefully chosen
+finite window, f looks exactly like the honest affine table M z + u.
+Thus a cheater who passes often must somewhere be behaving like a real
+table.
+
+PROOF OF THEOREM 6.1
+------------------------------------------------------------
+We use this established Grassmann expansion theorem of Khot--Minzer--Safra:
+for every zeta>0 there are a density a>0, an integer r, and a dimension
+threshold ell_0, depending only on zeta, such that for each ell>=ell_0
+and then sufficiently large ambient dimension n, every nonempty set of
+ell-dimensional subspaces of F_2^n with neighbor retention at least zeta
+has relative density at least a in some interval
+
+       {L : A_0 subset L subset B_0},
+       dim(A_0)+codim(B_0)<=r.
+
+Neighbors intersect in dimension ell-1; retention chooses a uniform
+vertex in the set and a uniform neighbor. The constants and thresholds
+are effective. This is Theorem 1.12 of the 2018 revision of their
+Grassmann expansion paper; its Theorem 2.13, Section 2.4, and Lemmas
+2.7-2.8 supply quantitative choices. Only this stated form is imported. [20]
+
+Equality acceptance is the weighted average of the retention of the
+nonempty fibers f^{-1}(y) under the matrix step. Select a fiber S with
+retention at least eta. The probability of a zero perturbation is
+ p_0=2^{-ell}+2^{-m}-2^{-ell-m}.
+Increase the thresholds so p_0<=eta/2. Conditional on both factors being
+nonzero, S has retention at least (eta-p_0)/(1-p_0)>=eta/2.
+
+Embed M as the subspace
+ L_M={(x,M^T x):x in F_2^ell} of E=F_2^ell+F_2^m.
+These are precisely the graph-chart subspaces whose projection to the
+first summand is invertible. Since
+ dim(L_M intersect L_N)=ell-rank(M-N),
+nonzero rank-one matrix differences are exactly adjacent chart vertices.
+In characteristic two such a matrix has a unique factorization a l^T
+with both factors nonzero. A chart vertex has (2^ell-1)(2^m-1) chart
+neighbors. Its total Grassmann degree is
+ (2^ell-1)(2^{m+1}-2): choose an internal hyperplane, then a different
+one-dimensional extension in its quotient. Exactly half its neighbors
+are in the chart. Thus the lifted fiber has full-graph retention at
+least eta/4.
+
+Apply the expansion input at zeta=eta/4. Intersect its interval with
+the chart. This intersection is nonempty, and the relative density of
+the lifted fiber cannot decrease because that fiber is entirely in the
+chart. A basis (d_i,s_i) of A_0 gives equations d_i^T M=s_i^T.
+A basis (t_j,q_j) of B_0-perp gives Mq_j=t_j. The intersection is exactly
+the resulting row-and-column slice, with at most r equations of each type.
+On an a fraction of it, f equals the selected value y. Take alpha=a,
+r_s=max(1,r), z=0, and u=y. This proves the required affine-target
+conclusion. No folding was used, which is essential when applying this
+theorem to an erased function later.
+
+Why the graph chart loses only a constant. A matrix is represented by the
+graph of the map M^T, not by its individual rows as separate vertices.
+For two such graphs, their intersection consists of the x with
+(M-N)^T x=0, so codimension-one intersection is precisely rank(M-N)=1.
+For each internal hyperplane of a chart vertex, half the alternative
+one-dimensional extensions remain in the chart. Thus the retention
+comparison loses a factor two, independent of ell and m.
+
+The interval supplied by Grassmann expansion may contain subspaces outside
+the chart. The selected fiber contains none of those. Removing them only
+decreases the denominator in its relative-density calculation. Intersecting
+with the chart therefore preserves the density lower bound and translates
+the interval conditions into exactly the row and column equations above.
+
+The constants alpha,r_s depend only on eta, ell is chosen next, and
+the remaining ambient threshold is absorbed in m_0(eta,ell). For rational
+eta, lower alpha to a positive rational using the effective bounds in
+the stated expansion theorem. All subsequent dimension requirements
+remain effective.
+
+================================================================================
 PART 7. MATRIX EXTRACTION AND FOURIER DECODING
 ================================================================================
 
 Now assume some labeling makes the matrix test pass with probability
-at least 0.99. We will use Fourier analysis to extract two highly
-agreeing local strategies for a related "advice experiment".
+at least 0.99. We will use Fourier analysis to extract two local strategies
+with a fixed positive agreement probability in an "advice experiment".
+Put eta = 2^(-r_*)/16 and take alpha,r_s,ell_0 from Theorem 6.1.
+Choose ell above both required thresholds and so that
+
+       2^(-(ell-r_s)) < alpha/8,     2^(-ell) < eta/4.
+
+All latent and shortcode data are fixed before k; take m=1+2k >= m_0
+and k sufficiently large for the estimates below. See Section 9.1.
 
 7.1. A change of noise
 ------------------------------------------------------------
-
-For a table Q and a character sigma of K, define the sign:
+For a real function f on a finite binary space E, use
+ fhat(g)=E_{x in E} f(x)(-1)^{g(x)} for g in E*.
+Character orthogonality gives
+ f(x)=sum_g fhat(g)(-1)^{g(x)},  sum_g fhat(g)^2=E_x f(x)^2.
+Also 1[y=y']=E_{sigma in K*}(-1)^{sigma(y+y')}.
+These identities fix all Fourier and probability normalizations below. [43]
+
+[43] Ryan O'Donnell. "Analysis of Boolean Functions." Cambridge University
+    Press, 2014.
+    https://www.cs.cmu.edu/~odonnell/papers/Analysis-of-Boolean-Functions-by-Ryan-ODonnell.pdf
+
+A character of the table space is a parity of its entries. Writing its
+frequency as (g_0,...,g_{m-1}) means that its value on P is
+sum_i g_i(P e_i), computed in F_2. Under an additive update a l^T, the
+change in that parity is sum_i l_i g_i(a). Averaging its sign over uniform
+l gives one if all g_i(a) vanish, and zero otherwise. This explains the
+eigenvalue formula without any assumption about the distribution of a.
+
+The rank relevant to comparison is dim(span{g_i}|_K). The g_i may be
+independent on V yet become dependent or zero when restricted to K.
+Uniform K-noise sees only those restrictions. Using their full V-rank
+would give the wrong eigenvalue and would not match the gadget's detection
+hypothesis.
+
+For a question Q and a linear character sigma in K*, define the sign:
 
        f_{Q,sigma}(P) = (-1)^{sigma(F_Q(P))}.
 
@@ -487,9 +1637,10 @@ eigenvalue at g is instead:
 
        2^(-dimension of span of restrictions of g_i to K).
 
-Therefore latent acceptance 0.99 forces at least 0.9 of the Fourier
-mass to sit on low-rank frequencies. Mass on low-rank frequencies
-gives positive acceptance under the ordinary uniform rank-one test.
+Therefore latent acceptance 0.99 forces at least 0.9 of the squared
+Fourier mass, averaged over U and uniform sigma, onto low-rank
+frequencies. Mass on low-rank frequencies gives positive acceptance
+under the ordinary uniform rank-one test.
 Concretely:
 
 LEMMA 7.1 (spectral comparison)
@@ -500,8 +1651,30 @@ If the table family passes the latent test with probability at least
        E_{U,T} Pr_{M,a,l}[ F_U(M,T)=F_U(M+a l^T,T) ]
          >=  0.9 * 2^(-r_*).
 
-So a fixed positive fraction of fibers (U,T) have uniform rank-one
-acceptance at least some fixed multiple of 2^(-r_*).
+In particular, at least 10 eta of the pairs (U,T) have uniform
+rank-one acceptance at least 4 eta.
+
+Proof. For each U,sigma, Fourier expansion and uniform P give
+ E_{P,a,l} f_{U,sigma}(P)f_{U,sigma}(P+a l^T)
+   =sum_g |fhat_{U,sigma}(g)|^2 Lambda_g.
+Averaging over l kills a frequency unless every g_i(a)=0, which gives
+the displayed eigenvalue. Parseval says each sign function has total
+squared mass one. If B is the averaged mass at restricted rank at least
+r_*, the latent acceptance is at most 1-B/8. Therefore B<=0.08 and
+at least 0.9 of the mass has restricted rank below r_*. Under uniform
+a in K the eigenvalue is 2^{-rank}, giving the asserted lower bound.
+This perturbation keeps T fixed, so the same average is exactly the
+average shortcode acceptance at (U,T). It is at least 14.4 eta.
+If q is the fraction of pairs with acceptance at least 4 eta, that
+average is at most 4 eta+q; hence q>=10.4 eta>=10 eta.
+
+The comparison is a mass argument, not an assertion that the two noise
+laws are close. A high-rank frequency loses at least 1/8 of its contribution
+under latent noise. Acceptance at least 0.99 therefore permits at most
+0.08 of the total squared Fourier mass at those frequencies. Low-rank
+frequencies have ordinary-noise eigenvalue at least 2^(-r_*). Their mass
+alone gives a positive lower bound under uniform K-noise, even if the two
+noise distributions have almost disjoint supports.
 
 7.2. From one slice to a useful row fiber
 ------------------------------------------------------------
@@ -511,61 +1684,275 @@ The inverse shortcode theorem gives one good slice on each such
 compressed rows S = AM, where A : K -> F_2^{r_s} is a random linear
 map.
 
-A technical erasure lemma proves that for a positive fraction of
-(U,T,A,AM), the row fiber
+A row fiber is called good when some at-most-r_s column specifications
+cut out a nonempty slice on which f agrees with an affine target on at
+least an alpha/2 fraction of matrices. Here f(M)=F_U(M,T), with U and T
+fixed. The witness consists of those column specifications and the target.
+The erasure argument proves that good fibers cannot be confined to a
+negligible set of matrices.
+
+More precisely, for a positive fraction of (U,T,A,AM), the row fiber
 
        { M : AM = S }
 
-contains a good slice. The proof is an averaging plus union bound
-argument using Hoeffding's ineuality. It shows that if too many row
-fibers were bad, we could alter f by replacing the bad fibers with
-random noise and contradict Theorem 6.1.
+contains a good slice. Fix (U,T) with acceptance at least 4 eta. Let B
+be the union of all good row fibers over all A and S. If Pr[B] < eta,
+replace f at each matrix in B by one independent uniform K-value, once
+per matrix even where fibers overlap. Acceptance remains at least 2 eta,
+since both test endpoints are uniform. For sufficiently large m, a
+Hoeffding union bound gives replacements contributing less than alpha/4
+agreement on every allowed slice with every affine target. A good row
+fiber has been entirely erased; a bad one originally had agreement less
+than alpha/2 on every such slice. Thus all modified agreements are less
+than alpha, contradicting Theorem 6.1. Consequently Pr[B] >= eta.
+Here are the quantitative details. Write r=r_s and m=1+2k. A nonempty
+slice with at most r row and r column specifications has direction space
+ Hom(F_2^m/span{q_j}, intersection_i ker(d_i^T)).
+Its size n_S is at least 2^{(ell-r)(m-r)} for m>=r and ell>r.
+Padding with zero equations, there are at most 2^{(2r+1)(ell+m)}
+slice-and-target descriptions: each row or column equation uses ell+m
+bits, and a target uses another ell+m bits.
+
+For a fixed description, count matches only at randomized entries and
+put deterministic zero contributions at untouched entries. These are
+independent [0,1]-valued variables with total mean at most
+2^{-ell} n_S<alpha n_S/8. Hoeffding's inequality bounds the chance of
+at least alpha n_S/4 matches by exp(-alpha^2 n_S/32). [44] A union bound
+therefore gives failure probability at most
+
+[44] Wassily Hoeffding. "Probability Inequalities for Sums of Bounded Random
+    Variables." Journal of the American Statistical Association 58, 1963, pp.
+    13-30, Theorem 2.
+    https://www.cs.rpi.edu/academics/courses/spring06/random/hoefding.pdf
+
+ exp((2r+1)(ell+m)log(2) - (alpha^2/32)2^{(ell-r)(m-r)}),
+
+which is less than one for large m. Fix replacements avoiding all these
+failures. On a slice whose row fiber is good, every entry was erased,
+so modified agreement is less than alpha/4. On any other row fiber,
+original agreement on every allowed column slice was less than alpha/2;
+untouched matches are a subset of original matches and randomized
+matches contribute less than alpha/4. Modified agreement is then less
+than 3alpha/4. Zero-padding row systems covers every slice in Theorem
+6.1. The modified acceptance is at least 2eta>=eta, contradicting that
+theorem. It does not need folding, so the erasure is legitimate.
+
+Why erase the union of good fibers rather than one slice? A single good
+slice might be extremely rare under the row advice actually shown to the
+U-prover. Erasing the entire union B removes every potential witness of
+good row advice at once. If B were small, at most 2 Pr[B] of test pairs
+would touch it, so acceptance would remain high. Random replacement then
+prevents all allowed slices from having substantial affine agreement,
+contradicting Theorem 6.1.
+
+The union bound succeeds because a slice contains exponentially many
+matrices in m, while the number of descriptions is only exponential in m.
+The probability that one random replacement has unexpectedly large
+agreement is exponential in the NEGATIVE slice size. This is much smaller
+than the reciprocal of the number of descriptions. The argument produces
+one replacement table that simultaneously defeats every slice and target.
+
+For completeness, the concentration inequality used here follows from
+ E exp(t(X-E X))<=exp(t^2/8) for X in [0,1]. One proof differentiates
+the log moment-generating function twice: its second derivative is a
+variance under a tilted law, at most 1/4; integrate twice from zero.
+Independence, Markov's inequality, and minimizing over t give
+ Pr[sum(X_i-E X_i)>=u]<=exp(-2u^2/n). Taking u=alpha n/8 gives the
+stated exp(-alpha^2 n/32) bound.
 
 LEMMA 7.2 (good row advice)
 ------------------------------------------------------------
-With probability at least g_0 > 0, the row advice (U,T,A,S) is good:
-there exist at most r_s column specifications and a target Mz + u,
-valid on the row fiber, that agrees with F on a nonempty set with
-probability at least alpha/2. The good set also determines a short
-nonempty answer set ANS of at most 2^{r_s} valid answers.
+Sample U from the equation-product law, then independent uniform T,A,M,
+and set S=AM. Good row advice has probability
+at least g_0 = 10 eta^2 2^(-ell r_s) > 0. Goodness means that at most
+r_s column specifications Mq_j=t_j, together with AM=S, define a
+nonempty slice on which F_U(M,T)=Mz+u with probability at least alpha/2
+under uniform measure on that slice. Choose a witness by a fixed order
+using only (U,T,A,S) and the fixed table family. With Z=span{q_j}, put
+
+       ANS = (z+Z) intersect {v : e_0^T v = 1}.
+
+This set is nonempty and has at most 2^{r_s} elements. The representative
+z may be chosen in ANS, adjusting u without changing the target on the
+slice. The mass bound follows because each M in B belongs to a good
+fiber for at least one of the 2^(ell r_s) choices of A.
 
 Here "valid answer" means a vector whose homogeneous coordinate is 1.
 This last step uses folding in a clever way: if every vector in the
 naturally produced target coset had first bit zero, then translating
-by all h in ker A would make agreement only one per orbit, which is
-too small. So a valid representative must exist.
+by all h in ker A would permit at most one agreement per orbit. The
+agreement would be at most 2^(-(ell-r_s)) < alpha/8, contradicting
+goodness. More explicitly, if the coset z+Z had no first-bit-one
+vector, both z and every w in Z would have first bit zero. Translation
+M->M+h e_0^T with h in H=ker A would then preserve the row equations,
+the column equations, and the target Mz+u, but folding would translate
+F_U by h. This free H-action permits at most one match per orbit.
+Nonemptiness of the slice defines a consistent map t:Z->K by t(w)=Mw.
+Choose w in Z making z+w valid and replace (z,u) by (z+w,u+t(w));
+this preserves the target on the slice. A fixed finite ordering makes
+both the witness and this representative depend only on the visible
+row advice and the fixed table family.
+
+The probability calculation now finishes the lemma: qualifying (U,T)
+pairs have mass at least 10eta; on each, the union B has mass at least
+eta; for each M in B, uniform A hits a good containing row fiber with
+probability at least 2^{-ell r_s}. Multiplication gives the claimed
+g_0=10eta^2 2^{-ell r_s}. The answer set has size between one and
+2^{dim Z}<=2^{r_s}. All thresholds depend only on the fixed parameters.
+
+The extra factor 2^(-ell r_s) has a simple source. There are exactly
+2^(ell r_s) binary linear maps A:K->F_2^{r_s}. A matrix in B belongs to a
+good fiber for at least one of them. Sampling A uniformly therefore hits
+a good containing fiber with at least the reciprocal of that count. This
+is a deliberately crude bound, but it is positive and independent of k.
+
+The target vector is determined only modulo Z=span{q_j}, because M is
+already fixed on Z throughout the column slice. Replacing z by z+w for
+w in Z and adjusting u preserves the same affine target. Folding shows
+that this coset must contain a vector with homogeneous coordinate one.
+It is the coset, not the initially chosen z, that represents the decoded
+list of possible local answers.
 
 7.3. The projected advice experiment
 ------------------------------------------------------------
 
+Local agreement is a decoding resource, not automatically a global
+assignment. Dinur and Steurer's direct-product testing and Dinur and
+Kaufman's agreement-expansion results formalize this principle in other
+test systems. The experiment below has a different distribution and visible
+advice, so its agreement bound is established explicitly in Lemmas 7.3-7.5
+rather than borrowed from a general agreement theorem. [45] [46]
+
+[45] Irit Dinur; David Steurer. "Direct Product Testing." CCC 2014.
+    https://www.dsteurer.org/paper/dptest/
+
+[46] Irit Dinur; Tali Kaufman. "High Dimensional Expanders Imply Agreement
+    Expanders." FOCS 2017; ECCC TR17-089.
+    https://eccc.weizmann.ac.il/report/2017/089/
+
 We now compare an equation-tuple question U with a sparse projection
 question O. Independently in each of the k blocks, with probability
-beta, we replace the whole equation by only one of its three variables.
-The projection pi maps full equation answers to projected answers.
+beta, we replace the whole equation by a uniformly chosen one of its
+three variables. Let L_O be its homogeneous answer space, with one
+coordinate per singleton and two per retained equation, besides t_0.
+Write pi also for the linear extension L_U -> L_O: its singleton
+coordinate is x_i, y_i, or b_{e_i} t_0+x_i+y_i, respectively.
 
-The two provers are given correlated advice:
+Sample independent uniform maps A:K -> F_2^{r_s}, T_O:L_O -> W, and
+M_O:L_O -> K; put S_O=AM_O. The two provers receive only:
 
        U-prover gets (U, A, T_O pi, S_O pi),
        O-prover gets (O, A, T_O, S_O).
 
 They must produce actual answers a_U and a_O with pi(a_U) = a_O.
 
+The two inputs deliberately reveal different information. U identifies
+all equation occurrences but does not reveal which blocks were projected
+or which variable was selected there. O identifies a singleton variable
+at each projected block but does not reveal that block's original equation.
+Both sides receive compressed maps, not the full hidden K-valued table.
+The response rules must use only the displayed data. A witness chosen by
+the U-prover may depend on its own row advice, but it cannot depend on the
+hidden projection mask or the O-prover's question.
+
 LEMMA 7.3 (padded table law)
 ------------------------------------------------------------
 When beta = k^(-2/3), the distribution of the padded table pulled back
 from O to U tends in total variation to a uniformly random table on U
-as k grows along cubes. The distance is o(1).
+as k grows along cubes, after averaging out the projection choices.
+Uniformly in U, writing n=|V|, the distance v_k is at most
+
+       (1/2) sqrt((1 + (n-1) beta^2 / 3)^k - 1) = o(1).
+
+Proof. Combine M and T into one V-valued table and put n=|V|. In a
+retained equation block the two slopes have uniform law P_0 on V^2.
+For a projected singleton their law Q_0 is the equal mixture of
+ (a,0), (0,a), (a,a), with a uniform in V.
+The likelihood ratio Q_0/P_0 is n at (0,0), n/3 at the remaining
+3(n-1) points on these three lines, and zero elsewhere. Hence
+ chi^2(Q_0||P_0)=E_{P_0}[(Q_0/P_0-1)^2]=(n-1)/3.
+For the actual mixture (1-beta)P_0+beta Q_0 this is beta^2(n-1)/3.
+Independent blocks multiply likelihood ratios, so the full slope
+divergence is (1+(n-1)beta^2/3)^k-1. Cauchy-Schwarz gives total
+variation at most half its square root. Since k beta^2=k^{-1/3}->0
+and n is fixed, this tends to zero.
+
+A third-position projection adds b_{e_i}a_i to the padded intercept.
+The original intercept is independent and uniform in V. Adding any
+function of the slopes and projection choices leaves it uniform and
+independent of those data. Thus the same bound holds for the full table,
+including the intercept. Repeated IDs do not couple different blocks:
+their local copies and random columns were sampled independently.
+The estimate is uniform in U and the parity instance.
+
+The beta-squared gain is essential. A crude union bound would charge beta
+for every projected block and give a total error of order k beta, which
+must grow rather than shrink. Averaging over projection choices gives a
+mixture with likelihood ratio 1+beta(L-1), where E[L-1]=0. Its squared
+error is therefore beta^2 E[(L-1)^2], not order beta. Product structure
+then yields the bound in Lemma 7.3.
+
+Closeness holds AFTER averaging over the projection choices. It need not
+hold after fixing a particular mask. Accordingly, the transfer proof first
+compares events determined only by the padded table and its row advice.
+Only afterward does it condition on the actual projected questions.
 
 Therefore the good row advice extracted under unrestricted sampling
 remains present in the actual experiment.
 
 LEMMA 7.4 (transfer of a witness)
 ------------------------------------------------------------
-For sufficiently large k, with probability at least gamma_1 > 0, the
-padded U-advice is good and the chosen witness transfers to O: a
-nonempty slice on O on which the projected target still agrees with
-F_O. The transferred answer set is the projection of the original
-short valid answer set.
+For sufficiently large k, a fraction at least
+
+       gamma_1 = (alpha g_0 / 8) 2^(-ell r_s) > 0
+
+of the joint data (U,O,pi,A,T_O,S_O) has good padded U-advice whose
+chosen witness transfers to the nonempty slice
+
+       AM_O=S_O,     M_O pi(q_j)=t_j.
+
+On this slice, F_O(M_O,T_O)=M_O pi(z)+u with uniform probability at
+least alpha/4. The projected answer set is pi(ANS).
+
+Proof. Under unrestricted uniform (U,A,M,T) let J be the event that
+the row advice is good and M satisfies its chosen column equations.
+Let E be equality with that chosen target, declared false off good
+advice. A nonempty column slice imposes at most ell r_s scalar equations
+inside a row fiber, so
+
+ Pr[J]>=g_0 2^{-ell r_s},
+ Pr[J and E]>=(alpha/2)Pr[J],
+ Pr[J and E]-(alpha/4)Pr[J]>=(alpha g_0/4)2^{-ell r_s}=2gamma_1.
+
+These events depend only on (U,A,M,T), not on projection information.
+Adding an independent A preserves the total-variation bound of Lemma
+7.3. Thus in the padded experiment the last difference is at least
+gamma_1 whenever (1+alpha/4)v_k<gamma_1.
+
+Now condition on D=(U,O,pi,A,T_O,S_O). On good data the witness is
+fixed and M_O is still uniform on AM_O=S_O. Let p_D be the conditional
+probability of its projected column equations, and q_D the equality
+fraction on that column slice. Put p_D=0 off good data and q_D=0 when
+p_D=0. Sharing identifies the two table functions, so the padded
+difference is exactly E_D[p_D(q_D-alpha/4)]>=gamma_1. The integrand
+is nonpositive outside the event of good advice, p_D>0, q_D>=alpha/4,
+and is at most one everywhere. That event has probability at least
+gamma_1. This proves both nonemptiness and the claimed agreement; no
+assumption that every witness survives projection was made.
+
+The factor p_D records whether the witness has enough matrices left after
+projection; q_D records its agreement on those matrices. A witness can
+collapse to inconsistent column equations, in which case p_D=0, or survive
+but lose its useful agreement. Neither outcome is ruled out pointwise.
+The positive averaged quantity p_D(q_D-alpha/4) forces a positive measure
+of data on which BOTH survival and useful agreement occur. This is why
+transferring the weighted difference works whereas transferring a chosen
+witness for every projection would be unjustified.
+
+Write z'=pi(z), Z'=pi(Z). Since pi preserves the first coordinate,
+ pi(ANS)=(z'+Z') intersect {v:e_0^T v=1}.
+Every element on the right has a preimage in z+Z, and that preimage has
+the same first coordinate. This proves the stated answer-set identity.
 
 7.4. The two decoders
 ------------------------------------------------------------
@@ -578,17 +1965,44 @@ U-prover:
   answer.
 
 O-prover:
-  It uses only its own row fiber { M : AM = S_O }.
-  It chooses a representative M_0, writes the fiber as M_0 + X, and
-  forms the sign function f_sigma on X. It samples a Fourier frequency
-  Phi with probability proportional to |f_sigma_hat(Phi)|^2, then
-  evaluates Phi on a fixed vector h chosen from ker A. If the sampled
-  restriction sigma|_H is nontrivial, this produces a valid answer;
-  otherwise it returns any valid answer.
+  Set H=ker A and choose M_0 with AM_0=S_O by a fixed rule. The row
+  fiber is M_0+X, where X=Hom(L_O,H). Sample sigma uniformly from K*,
+  and define f_sigma(N)=(-1)^{sigma(F_O(M_0+N,T_O))} for N in X.
+  Sample Phi in X* with probability |f_sigma_hat(Phi)|^2, using Fourier
+  coefficients normalized by uniform measure (the probabilities sum to 1).
+  If sigma|_H is nonzero, choose h in H with sigma(h)=1 by a fixed rule
+  and return Phi(h). Here a frequency is a tuple of functionals phi_i
+  on H, and Phi(h) is the vector with coordinates phi_i(h) in L_O.
+  If sigma|_H is zero, return any valid answer.
+
+To check validity, folding gives
+ f_sigma(N+h e_0^T)=(-1)^{sigma(h)}f_sigma(N).
+Changing variables in its Fourier coefficient shows that a nonzero
+coefficient requires Phi(h e_0^T)=sigma(h). Under the identification
+X*=H* tensor L_O, contraction satisfies Phi(h e_0^T)=e_0^T Phi(h).
+Thus the choice sigma(h)=1 forces a valid first-bit-one answer at every
+frequency of positive probability.
+The choice of h depends on A and sigma, not on the hidden witness.
 
 The O-prover does NOT see the U-prover's witness or answer set. The
 witness is used only in the analysis.
 
+What Phi(h) means. Choose the standard basis of L_O. A frequency Phi on
+X=Hom(L_O,H) is a list of functionals phi_i in H*, with
+
+       Phi(N)=sum_i phi_i(N e_i).
+
+Fixing h in H turns that list into the vector
+(phi_0(h),phi_1(h),...) in L_O, denoted Phi(h). This is contraction of a
+matrix frequency against h, not evaluation of Phi on a matrix named h.
+Folding forces its first coordinate to be sigma(h). Selecting sigma(h)=1
+therefore makes the decoded vector an actual homogeneous answer.
+
+The hidden witness enters only when proving that a useful fraction of
+Fourier mass lies in a particular coset. The O-prover samples from the
+full Fourier distribution without knowing that coset. The proof shows
+that its blind sample lands in the useful set with constant probability.
+
 LEMMA 7.5 (a transferred slice gives agreement)
 ------------------------------------------------------------
 On data satisfying the transferred witness property, the two private
@@ -596,25 +2010,83 @@ rules agree with probability at least
 
         2^(-ell r_s) (alpha/8)^2 2^(-r_s).
 
-Proof idea: the Fourier coefficients inside the transferred
-slice have total squared mass at least 2^(-ell r_s)(alpha/8)^2. When
-the O-prover samples such a frequency, its returned answer lies in the
-projected answer set. Independently, the U-prover hits a compatible
-representative with probability at least 2^(-r_s).
+Proof. Put z'=pi(z) and Z'=pi(Z). The transferred column equations
+on the fiber M_0+X have the form N|_{Z'}=b for a fixed linear map
+b:Z'->H. Consistency follows from their nonempty solution set. Choose
+one solution N_*. For sigma in K* define
+
+ C_sigma=E[f_sigma(N)(-1)^{sigma(Nz')} | N|_{Z'}=b].
+
+Expanding equality with the target M_0z'+Nz'+u gives
+ E_sigma[(-1)^{sigma(M_0z'+u)} C_sigma]>=alpha/4,
+so E_sigma|C_sigma|>=alpha/4. Exactly a fraction 2^{-dim H} of the
+characters restrict trivially to H. Since dim H>=ell-r_s and
+|C_sigma|<=1, the parameter choice yields
+
+ E_sigma[1[sigma|_H!=0]|C_sigma|]>=alpha/8.              (7.5.1)
+
+The annihilator of {N:N|_{Z'}=0} is H* tensor Z'. Put
+ theta_sigma=(sigma|_H) tensor z'. Fourier expansion on the affine
+slice, using character orthogonality, gives
+
+ C_sigma=sum_{Phi in theta_sigma+H* tensor Z'}
+            fhat_sigma(Phi)(-1)^{(Phi+theta_sigma)(N_*)}.
+
+The sum contains 2^{dim H dim Z'}<=2^{ell r_s} terms. Cauchy-Schwarz
+on each sum, then on the average in (7.5.1), gives
+
+ E_sigma[1[sigma|_H!=0]
+       sum_{Phi in theta_sigma+H* tensor Z'} |fhat_sigma(Phi)|^2]
+   >=2^{-ell r_s} E_sigma[1[sigma|_H!=0]C_sigma^2]
+   >=2^{-ell r_s}(alpha/8)^2.
+
+This is precisely a lower bound on the O-prover's probability of drawing
+a nontrivial restriction and a frequency in that coset. Such a frequency
+is theta_sigma+Psi with Psi in H* tensor Z'. For the decoder's h,
+ Phi(h)=z'+Psi(h) belongs to z'+Z'. Its first coordinate is one by the
+validity argument, so it belongs to pi(ANS). Independently the U-prover
+chooses at least one compatible preimage with probability at least
+1/|ANS|>=2^{-r_s}. Multiplying proves Lemma 7.5.
+
+The three factors in the agreement bound have distinct meanings:
+
+  2^(-ell r_s) bounds the Fourier-mass loss from restricting to a slice.
+  (alpha/8)^2 converts average absolute correlation to squared mass.
+  2^(-r_s) is the chance that the U-prover picks a compatible list element.
+
+The projected list need not have the same size as ANS: projection can
+merge several answers. This only helps. Every O-answer in pi(ANS) has at
+least one preimage in ANS, and uniform sampling from a list of size at
+most 2^{r_s} picks that preimage with probability at least 2^{-r_s}.
 
 Multiplying gamma_1 by this conditional agreement gives a constant
 gamma > 0.
 
 PROPOSITION 7.6 (matrix decoding)
 ------------------------------------------------------------
-For every large cube k, any table family satisfying folding and sharing
+For every sufficiently large cube k, with the parameters above fixed,
+any table family satisfying folding and sharing
 and passing the matrix test with probability at least 0.99 gives local
 strategies in the projected advice experiment with agreement at least
-a fixed constant gamma > 0.
+the fixed constant gamma = gamma_1 2^(-ell r_s)(alpha/8)^2 2^(-r_s).
+Witness selection and Fourier sampling need not be efficient: they are
+strategies used only in the soundness proof. The witnessing family is
+fixed in advance and may be built into each response rule. Lemmas 7.2-7.5
+prove the proposition by multiplication of their probability bounds.
+Their thresholds depend only on fixed dimensions and constants, not on
+the parity instance or the labeling.
+
+There are three different kinds of existence in this argument. The
+reduction must explicitly construct the game. A soundness proof may fix
+an arbitrary labeling and reason about it. Its auxiliary decoders need
+only exist as local strategies, so they may enumerate witnesses or sample
+from a Fourier distribution with no running-time restriction. This does
+not hide computation inside the reduction: none of those decoder choices
+is part of the output instance. Fixing complete private random tapes
+and averaging also yields deterministic strategies of at least this value.
 
 This is the first incompatible lower bound.
 
-
 ================================================================================
 PART 8. CLEAN COORDINATES AND THE SOUNDNESS GAP
 ================================================================================
@@ -625,25 +2097,71 @@ advice strategies can agree often.
 8.1. Parallel repetition
 ------------------------------------------------------------
 
-We need one classical tool.
+Parallel repetition is not the assertion that optimal strategies act
+independently. Raz proved exponential decay for general two-prover games;
+Holenstein gave a simplified proof and treated the no-signaling setting.
+Only classical strategies are used here. [47] [48]
+
+[47] Ran Raz. "A Parallel Repetition Theorem." SIAM Journal on Computing 27,
+    1998, pp. 763-803.
+    https://collaborate.princeton.edu/en/publications/a-parallel-repetition-theorem/
+
+[48] Thomas Holenstein. "Parallel Repetition: Simplification and the
+    No-Signaling Case." Theory of Computing 5, 2009, pp. 141-172.
+    https://theoryofcomputing.org/articles/v005a008/
+
+Rao obtained an answer-alphabet-independent bound for projection games.
+The exact all-t quantitative estimate used below is Dinur and Steurer's
+Corollary 1.2. The alphabet independence is what makes the parameter order
+in Section 9.1 possible. [49] [21]
+
+[49] Anup Rao. "Parallel Repetition in Projection Games and a Concentration
+    Bound." SIAM Journal on Computing 40, 2011; ECCC TR08-013.
+    https://eccc.weizmann.ac.il/report/2008/013/
 
 THEOREM 8.1 (projection-game repetition, Dinur--Steurer)
 ------------------------------------------------------------
-Let G be a finite projection game. Let G^t be the game with t
-independent copies, accepting only if all t copies accept. Then
+Let G be a finite classical bipartite projection game with any probability
+distribution on its constraint occurrences, including weights and repeated
+occurrences. For an integer t>=1 let G^t sample t independent occurrences,
+send the question tuples separately, and accept only if all constraints
+hold. For every 0<g<1,
 
        value(G) <= 1 - g   =>   value(G^t) <= (1 - g^2/16)^t.
 
 The bound does not depend on the size of the question sets or answer
 alphabets. This alphabet-independence is essential: it lets us choose
-the repetition exponent before the final alphabet is chosen.
+the repetition exponent before the final alphabet is chosen. This is
+Dinur--Steurer (2014), Corollary 1.2; their Sections 2.1-2.2 allow the
+weighted occurrence model and this independent product. It is a stated
+external theorem, used both here and for the final amplification. [21]
 
 8.2. Clean coordinates
 ------------------------------------------------------------
 
+The quadratic dependence on the base gap is substantive. Raz's
+counterexample rules out a general strong-repetition conclusion with the
+naive linear dependence on that gap. Rounding results of Barak, Hardt,
+Haviv, Rao, Regev, and Steurer, and the improved analysis of Steurer, also
+show why repeated Unique Games cannot be analyzed by simply multiplying
+single-copy optima. [50] [51] [52]
+
+[50] Ran Raz. "A Counterexample to Strong Parallel Repetition." SIAM Journal
+    on Computing 40, 2011, pp. 771-777; ECCC TR08-018.
+    https://eccc.weizmann.ac.il/report/2008/018/
+
+[51] Boaz Barak; Moritz Hardt; Ishay Haviv; Anup Rao; Oded Regev; David
+    Steurer. "Rounding Parallel Repetitions of Unique Games." FOCS 2008.
+    https://www.dsteurer.org/paper/roundpar/
+
+[52] David Steurer. "Improved Rounding for Parallel Repeated Unique Games."
+    RANDOM 2010.
+    https://www.dsteurer.org/paper/roundpar2/
+
 Let D_O = (T_O, S_O) be the combined visible advice map from O to
-E_A = W + image(A). Conditional on the question O, every slope column
-and the intercept are independent uniform values of E_A.
+E_A = W + image(A) (a direct sum). Conditional on A and the question
+O, every slope column and the intercept are independent uniform values
+of E_A.
 
 A coordinate i is CLEAN if the corresponding block was projected to a
 singleton and its one advice slope is zero. Conditional on the clean
@@ -654,7 +2172,16 @@ The probability that a coordinate is clean is:
 
        p_A = beta * |E_A|^(-1).
 
-That is a positive constant depending only on the fixed dimensions.
+The factor |E_A|^(-1) is fixed conditional on A; p_A also contains
+beta=k^(-2/3) and therefore tends to zero as k grows.
+
+Why zero advice slope makes a coordinate clean. A projected singleton
+normally leaks information through the coefficient attached to its chosen
+variable. With coefficient zero, its pullback has two zero slopes on the
+equation side, regardless of which of the three positions was selected.
+The third-position intercept correction is also zero. Thus neither
+player needs the other player's hidden clean question to reconstruct its
+own advice input. This is the exact locality needed to invoke repetition.
 
 LEMMA 8.2 (clean-coordinate bound)
 ------------------------------------------------------------
@@ -665,11 +2192,21 @@ most:
        ( 1 - beta * 2^(-dim W - r_s) / 3600 )^k
  <= exp( - 2^(-dim W - r_s) * k^(1/3) / 3600 ).
 
-PROOF IDEA
+PROOF
 ------------------------------------------------------------
-Fix the advice map information outside the clean coordinates: A, the
-clean set, the intercept, and all slopes outside the clean set. For
-each clean coordinate i, offer the equation to one prover and the
+Conditional on A, let R record the clean set I, the original O-intercept,
+and all non-clean block data: equation IDs, projection choices, selected
+positions, and advice slopes, as well as A itself. Do not condition on responses or
+agreement events. In fact, for every e and selected position j,
+
+ Pr[e_i=e, i clean at position j | A]=omega_e beta/(3|E_A|).
+
+Independence across coordinates and independence of the original intercept
+imply that conditional on each R=r of positive probability, the question
+pairs in I are independent samples of the ordinary equation-variable game.
+This remains true with repeated IDs because the occurrence samples are
+independent. Fix r as constant data in auxiliary strategies. For each
+clean coordinate i, offer the equation to one prover and the
 variable to the other. Each prover can reconstruct the entire advice
 input it originally received from this outside data plus its own clean
 questions.
@@ -677,14 +2214,49 @@ questions.
 Why? The equation side sees the equation occurrence and can fill in
 the two zero slopes and the full intercept. The variable side sees the
 variable and can fill in the singleton slope and the original
-intercept. The outside data supplies all non-clean blocks. Therefore
-any agreement in the original advice experiment on every clean
-coordinate would also solve the t-fold product of the ordinary
-equation-versus-variable game.
-
-The ordinary game has value at most 14/15. Parallel repetition gives
-value at most (1 - 1/3600) per clean coordinate. Averaging over the
-clean mask and using the binomial moment bound proves the lemma.
+intercept. Explicitly, if d_i is a projected singleton's advice slope,
+
+       c_U = c_O + sum_{projected i at position 3} b_{e_i} d_i.
+
+Clean blocks have d_i=0, so all nonzero corrections are determined by
+the fixed outside data. These data supply all non-clean blocks. Therefore
+full agreement in the original advice experiment implies acceptance in
+every clean coordinate of the |I|-fold ordinary game. The equation-side
+reconstruction uses no clean variable question or selected position; the
+variable-side reconstruction uses no clean equation. Applying each
+original response rule to its reconstructed input and retaining its
+clean answers therefore defines legitimate local product-game strategies.
+
+The ordinary game has value at most 14/15. Theorem 8.1 at gap 1/15
+gives, for every r,
+ Pr[full agreement | R=r]<=(1-1/3600)^{|I|}.
+For I empty this bound is one. Conditional on A, the clean indicators
+are independent with probability p_A=beta 2^{-dim W-rank A}. Thus
+
+ Pr[full agreement]
+ <=E_A E[(1-1/3600)^{|I|}|A]
+ =E_A(1-p_A/3600)^k
+ <=(1-beta 2^{-dim W-r_s}/3600)^k
+ <=exp(-2^{-dim W-r_s} k^{1/3}/3600).
+
+The auxiliary strategies may depend on the fixed outside data r; the
+bound holds for every such r before averaging. No original prover was
+given the other prover's question. This proves Lemma 8.2.
+
+Conditioning here does not secretly give the players shared answers. The
+outside record r is fixed first and contains no clean equation-variable
+pair. For every such r, the resulting auxiliary strategies face genuinely
+independent ordinary-game questions on the clean coordinates. The
+repetition bound applies to each fixed r, including strategies that use
+all of r as constant information, and only then is r averaged out.
+
+No concentration estimate for the number of clean coordinates is needed.
+Conditional on A, that number is binomial. Its probability-generating
+function gives the exact identity
+
+       E[(1-c)^|I| | A]=(1-p_A c)^k,
+
+with c=1/3600. This directly supplies exponential decay in k beta.
 
 8.3. The fixed matrix-game gap
 ------------------------------------------------------------
@@ -699,16 +2271,23 @@ This contradiction proves:
 
 PROPOSITION 8.3 (matrix game with adjustable completeness)
 ------------------------------------------------------------
-For every large cube k and every parity instance:
+With the latent and shortcode data fixed as above, for every
+sufficiently large cube k and every cleaned parity instance E:
 
-  YES case:  value(matrix game) >= 1 - k xi - p/2.
-  NO case:   value(matrix game) <= 0.99.
+  If OPT(E) >= 1-xi: value(matrix game) >= 1 - k xi - p/2.
+  If OPT(E) <= 4/5:  value(matrix game) <= 0.99.
 
 The NO case uses 0.99 as the assumed acceptance threshold in Fourier
 decoding. The YES case uses the latent completeness lemma.
 
 This is the central tension. We now turn it into the final theorem.
 
+The two limits are compatible because beta lies between 1/k and
+1/sqrt(k). Choosing beta=k^(-2/3) makes the squared perturbation error
+k beta^2 tend to zero while the expected number of clean opportunities
+k beta tends to infinity. All alphabet-dependent constants are already
+fixed. However small the decoded gamma is, the clean upper bound
+ultimately drops below it.
 
 ================================================================================
 PART 9. COMPLETING THE REDUCTION
@@ -720,13 +2299,14 @@ edges. We must turn it into the exact promised object.
 LEMMA 9.1 (rounding and subdivision)
 ------------------------------------------------------------
 Let H be any finite permutation-constraint game with h positive
-rational occurrence weights summing to one. For any small tau > 0,
+rational occurrence weights summing to one. For any positive rational tau,
 there is an unweighted simple bipartite game B with 4Q edges, where
 Q = ceil(h/tau), and the same alphabet, such that:
 
        | value(B) - (1 - (1 - value(H))/4) | <= tau/4.
 
-Construction: round the weights to integer multiplicities. Replace
+Construction: start with floor(Q w_e), then add one to the entries
+with largest fractional parts until the multiplicities sum to Q. Replace
 each occurrence by a four-edge path with three fresh interior
 vertices. A satisfied occurrence extends to four satisfied edges; a
 violated one can satisfy only three. The interiors are disjoint, so
@@ -736,6 +2316,36 @@ If the constraints of H are translations on a binary space, those of B
 are too. Translation by zero is the identity, and the inverse of a
 translation is still a translation.
 
+Proof of the value and graph claims. The rounded multiplicities n_e
+satisfy sum n_e=Q and |w_e-n_e/Q|<=1/Q. Their differences sum to zero,
+so the satisfied-weight change for any labeling is at most
+(1/2)sum_e |w_e-n_e/Q|<=h/(2Q)<=tau. Taking maxima preserves the
+bound: if H' is the rounded occurrence multigraph, |value(H')-value(H)|
+<=tau. Orient an occurrence u->v with permutation rho and replace it by
+ u -- p_e -- q_e -- r_e -- v,
+with fresh interior vertices for that occurrence. Use identity on the
+first three edges and rho on the last along this path. Put original
+vertices and q_e on the left, p_e and r_e on the right; invert an edge's
+permutation when its left-to-right orientation reverses the path direction.
+Given the original labels, a satisfied occurrence achieves four satisfied
+edges. A violated one cannot achieve four, but propagating along the first
+three achieves three. Disjoint interiors let these optima be attained
+simultaneously, proving
+ value(B)=1-(1-value(H'))/4.
+A loop becomes a four-cycle with three fresh interior vertices, and
+parallel occurrences have disjoint interiors. Thus B is simple and
+bipartite even in these cases. For fixed tau, Q=O(h), and exact rational
+rounding and listing take polynomial time and bit complexity.
+
+Subdivision changes the objective by an exact affine formula. Once the
+original endpoint labels are fixed, the fresh interior vertices can be
+optimized independently for every occurrence. If the endpoint constraint
+is false, all four path edges cannot be true because their permutations
+compose to the original constraint; three can still be true. Thus every
+original failure costs exactly one of four path edges. Fresh interior
+vertices are also what remove parallel edges without changing that
+optimization calculation.
+
 9.1. Parameter order
 ------------------------------------------------------------
 
@@ -749,40 +2359,65 @@ epsilon_0 <= epsilon and delta_0 <= delta.
      This is possible because the post-subdivision NO gap is 1/800 and
      parallel repetition with gap g=1/800 gives g^2/16 = 1/10240000.
 
-  2. Choose
+  2. Choose positive rationals p and tau with
 
         p <= epsilon_0 / t,
         tau <= min(1/200, epsilon_0 / t).
 
   3. From p, obtain the latent rank threshold r_*.
      Put eta = 2^(-r_*)/16.
-     Obtain alpha and r_s from the inverse shortcode theorem.
+     Obtain rational alpha>0, r_s, ell_0 and the effective dimension
+     thresholds from Theorem 6.1.
 
-  4. Choose ell large enough, and construct the latent gadget with K =
-     F_2^ell. This fixes V, C, mu, and the splitting V = K + W.
+  4. Choose ell >= ell_0, above the latent dimension threshold, with
+     2^(-(ell-r_s)) < alpha/8 and 2^(-ell) < eta/4. Construct the
+     latent gadget with K = F_2^ell. This fixes V, C, mu, and V = K + W.
 
-  5. Choose a cube k large enough for:
-       - shortcode theorem dimension thresholds;
+  5. Choose a cube k >= 8 large enough for:
+       - m=1+2k >= m_0(eta,ell);
        - the Hoeffding union bound;
        - the padded-law total variation bound;
        - the clean upper bound to be less than gamma.
 
-     Enumerating cubes until all rational ineualities hold is a
-     deterministic finite search whose cost depends only on epsilon and
-     delta.
+     In addition to m>=m_0 and m>=r_s, impose these explicit rational
+     inequalities, with gamma_1 and gamma as defined in Part 7:
+
+       (alpha^2/32) 2^{(ell-r_s)(m-r_s)}
+           > (2r_s+1)(ell+m),
+
+       (1/4)[(1+(|V|-1)beta^2/3)^k-1]
+           < gamma_1^2/(1+alpha/4)^2,
+
+       (1-beta 2^{-dim W-r_s}/3600)^k < gamma.
 
-  6. Finally choose xi small enough that
+     The first implies the erasure union bound is less than one since
+     log(2)<1. The second gives (1+alpha/4)v_k<gamma_1. The third
+     is the soundness contradiction. With k a cube, beta=k^{-2/3}
+     is rational, and all checks are exact rational comparisons.
+     They hold for all sufficiently large cubes: the first grows
+     exponentially in m, the second tends to zero, and the third tends
+     to zero. Enumeration is therefore a terminating deterministic
+     search depending only on epsilon and delta.
 
-        k xi + p/2 <= epsilon_0 / t.
+  6. Finally choose rational 0 < xi < min(1/100, epsilon_0/(2kt)).
+     Then k xi + p/2 <= epsilon_0 / t.
 
 This order is the entire proof of the quantifier claim. r_* is fixed
 before ell, ell before k, and k before xi.
 
+The apparent circularity is resolved by two uniform statements. The latent
+rank threshold r_* depends on p but not on ell. The repetition exponent t
+depends on the constant soundness gap but not on the alphabet. Those facts
+allow t and p to be chosen before the latent and shortcode dimensions.
+Only after all those dimensions and the tuple length k are fixed is the
+parity tolerance xi chosen small enough to absorb the k-fold completeness
+loss. Every arrow in this dependency chain points forward.
+
 9.2. The final theorem
 ------------------------------------------------------------
 
-Given a 3SAT formula, apply Hastad's parity gap and make positions
-distinct. Build the matrix game from Section 5.
+Given a 3SAT formula, apply Håstad's parity gap and make positions
+distinct. [19] Build the matrix game from Section 5.
 
 For a satisfiable formula:
 
@@ -798,6 +2433,9 @@ Apply rounding and subdivision:
        YES:  value(B) >= 1 - (d + tau)/4.
        NO:   value(B) <= 1 - 1/800.
 
+For the NO estimate, tau<=1/200 and value(H)<=99/100 give
+ value(B)<=1-(1/100-tau)/4<=1-1/800.
+
 Finally take the t-fold parallel product G = B^t:
 
        YES:  value(G) >= 1 - t(d+tau)/4 >= 1 - epsilon.
@@ -805,7 +2443,23 @@ Finally take the t-fold parallel product G = B^t:
 
 The output is unweighted, simple, bipartite, and has translation
 constraints on K^t = F_2^{ell t}. Thus s = ell t is the required fixed
-alphabet dimension.
+alphabet dimension. For completeness use the same labeling independently
+in every coordinate: a union bound loses at most t(d+tau)/4, which is
+at most epsilon_0/2<=epsilon. For soundness use Theorem 8.1, not an
+assumption that arbitrary product strategies act independently. [21]
+A pair of product vertices determines at most one edge in each coordinate,
+since B is simple, and hence at most one product edge. Uniform independent
+edge choices are uniform on these product edges. Products of binary
+translations are translations by the tuple of their offsets. This checks
+the exact graph, sampling, and constraint form in the theorem.
+
+Completeness and soundness use different product arguments. For
+completeness, repeating one known good labeling in every coordinate
+explicitly supplies a good product labeling; a union bound controls its
+failure. For soundness, a player can choose its whole answer tuple as an
+arbitrary function of its whole question tuple. Its coordinates need not
+be independent. Theorem 8.1 bounds those general strategies, which is why
+simply writing value(B^t)=value(B)^t would not be a valid proof.
 
 POLYNOMIAL ENCODING
 ------------------------------------------------------------
@@ -820,8 +2474,11 @@ vertices, and the final product has (4Q)^t edges. Permutation tables
 on F_2^{ell t} have constant size. Hence the entire reduction is
 explicit and deterministic polynomial-time.
 
-This completes the proof of the Unique Games Theorem.
-
+All constructed constants are chosen before the input formula; only xi
+is chosen after k, and it too is fixed before the input. The parity-gap
+and Grassmann expansion theorems and the repetition theorem are the stated
+external inputs. The construction and all intermediate proofs needed to
+compose them have been given here. This completes the reduction.
 
 ================================================================================
 PART 10. CONSEQUENCES
@@ -829,7 +2486,15 @@ PART 10. CONSEQUENCES
 
 The theorem turns many conditional hardness results into unconditional
 NP-hardness results. The original reductions and thresholds are due to
-their cited authors; we state the resulting exact forms.
+their cited authors. We state those external reduction inputs and give
+the additional finite-instance and rational-encoding arguments here.
+None of these consequences is used in proving the main theorem.
+
+The cited consequence papers establish reductions from specified Unique
+Games gaps. The NP-hardness assertions in this part follow by composing
+those reductions with Parts 3-9, and with the finite normalizations in
+Part 11 where needed. The original authors receive credit for their
+reductions and thresholds; the composition is the additional inference.
 
 10.1. Max-Cut
 ------------------------------------------------------------
@@ -837,31 +2502,258 @@ For the problem of splitting the vertices of a graph into two parts to
 maximize crossing edges, approximation above the Goemans--Williamson
 constant alpha_GW ~ 0.87856 is NP-hard at every fixed ratio in
 (alpha_GW, 1). The matching algorithm is due to Goemans and
-Williamson. The hardness reduction uses the Majority Is Stablest
-theorem.
+Williamson. [53] The hardness reduction uses the Majority Is Stablest
+theorem. [54] [55]
+
+[53] Michel X. Goemans; David P. Williamson. "Improved Approximation
+    Algorithms for Maximum Cut and Satisfiability Problems Using Semidefinite
+    Programming." Journal of the ACM 42, 1995, pp. 1115-1145.
+    https://math.mit.edu/~goemans/PAPERS/maxcut-jacm.pdf
+
+[54] Subhash Khot; Guy Kindler; Elchanan Mossel; Ryan O'Donnell. "Optimal
+    Inapproximability Results for MAX-CUT and Other 2-Variable CSPs?" SIAM
+    Journal on Computing 37, 2007, pp. 319-357.
+    https://faculty.wharton.upenn.edu/wp-content/uploads/2014/07/Optimal_Inapproximability_Results_for_MAX_CUT_and_Other_2_Variable_CSPs_1.pdf
+
+[55] Elchanan Mossel; Ryan O'Donnell; Krzysztof Oleszkiewicz. "Noise Stability
+    of Functions with Low Influences: Invariance and Optimality." Annals of
+    Mathematics 171, 2010, pp. 295-341, Theorem 4.4 and Appendix B.
+    https://www.cs.cmu.edu/~odonnell/papers/invariance.pdf
+
+For Max-Cut, optimality of a rounding method and NP-hardness of beating its
+ratio are different statements. Feige and Schechtman analyze the
+random-hyperplane rounding technique; O'Donnell and Wu develop the finer
+SDP/long-code tradeoff. The hardness implication here comes from the
+Khot--Kindler--Mossel--O'Donnell reduction composed with the main theorem,
+not from a rounding lower bound alone. [56] [57] [54]
+
+[56] Uriel Feige; Gideon Schechtman. "On the Optimality of the Random
+    Hyperplane Rounding Technique for MAX CUT." Random Structures & Algorithms
+    20, 2002, pp. 403-440.
+    https://weizmann.elsevierpure.com/en/publications/on-the-optimality-of-the-random-hyperplane-rounding-technique-for/
+
+[57] Ryan O'Donnell; Yi Wu. "An Optimal SDP Algorithm for Max-Cut, and Equally
+    Optimal Long Code Tests." STOC 2008.
+    https://www.cs.cmu.edu/~odonnell/papers/optimal-max-cut.pdf
 
 10.2. Vertex Cover
 ------------------------------------------------------------
 It is NP-hard to approximate Vertex Cover within factor 2 - epsilon
-for every fixed epsilon > 0.
+for every fixed epsilon in (0,1). [58]
+
+[58] Subhash Khot; Oded Regev. "Vertex Cover Might Be Hard to Approximate to
+    within 2-epsilon." Journal of Computer and System Sciences 74, 2008, pp.
+    335-349.
+    https://www.sciencedirect.com/science/article/pii/S0022000007000864
+
+Dinur and Safra previously established NP-hardness at factor 1.3606.
+Bansal and Khot's optimal one-free-bit long-code test strengthens the
+conditional hardness picture for Vertex Cover and related problems. The
+specific factor-2 consequence used here is Khot and Regev's reduction. [59] [60] [58]
+
+[59] Irit Dinur; Samuel Safra. "On the Hardness of Approximating Vertex
+    Cover." Annals of Mathematics 162, 2005, pp. 439-485.
+    https://annals.math.princeton.edu/2005/162-1/p08
+
+[60] Nikhil Bansal; Subhash Khot. "Optimal Long Code Test with One Free Bit."
+    FOCS 2009.
+    https://research.ibm.com/publications/optimal-long-code-test-with-one-free-bit
+
+There is no conflict with Karakostas's 2-Theta(1/sqrt(log n)) approximation:
+its improvement below two tends to zero as n grows. A fixed factor
+2-epsilon requires a fixed improvement independent of n. [61]
+
+[61] George Karakostas. "A Better Approximation Ratio for the Vertex Cover
+    Problem." ACM Transactions on Algorithms 5, 2009; ECCC TR04-084.
+    https://eccc.weizmann.ac.il/report/2004/084/
+
+Derivation of Sections 10.1-10.2. The conditional reduction theorem of
+Khot--Kindler--Mossel--O'Donnell (2007), using Majority Is Stablest,
+turns sufficiently strong Unique Games gaps into Max-Cut hardness for
+each fixed ratio above alpha_GW. [54] [55] Khot--Regev (2008) similarly gives
+Vertex Cover hardness for each fixed factor below 2. [58] In each theorem
+the requested factor fixes the required game errors before its alphabet
+is supplied. Apply the main theorem with those errors, using the
+strong-left normalization of Theorem 11.1 when required, and compose
+the reductions. This removes the Unique Games hypothesis and proves the
+stated NP-hardness conclusions. Excluding a deterministic polynomial-time
+algorithm from NP-hardness additionally assumes P!=NP.
 
 10.3. Every CSP has an SDP threshold
 ------------------------------------------------------------
-A constraint satisfaction problem over a fixed finite domain D with a
-fixed finite family of predicates Lambda has an explicit basic
-semidefinite program. For any fixed Lambda-instance J with
+A weighted constraint satisfaction problem over a fixed finite nonempty
+domain D and a fixed finite family of Boolean predicates Lambda has an
+explicit basic semidefinite program. Here SDP denotes Raghavendra's
+LC relaxation (2009 thesis, Section 4.5): [62] for each applied predicate c,
+let V(c) be the variables on which that applied payoff depends. Choose
+vectors b_{v,a} and a probability distribution mu_c on D^{V(c)} for
+every occurrence, subject to
+
+[62] Prasad Raghavendra. "Approximating NP-hard Problems: Efficient Algorithms
+    and Their Limits." Ph.D. thesis, University of Washington, 2009; Section
+    4.5 and Theorem 7.9.
+    https://people.eecs.berkeley.edu/~prasad/Files/thesis.pdf
+
+ <b_{u,a},b_{v,b}>=Pr_{X~mu_c}[X_u=a,X_v=b]
+       for u,v in V(c), a,b in D.
+
+Maximize sum_c w_c E_{mu_c} P_c(X). The vectors share one positive
+semidefinite Gram matrix. This specifies the relaxation including repeated
+variables and ignored arguments. For any fixed Lambda-instance J with
 
        A = OPT(J) < B = SDP(J),
 
-and every fixed gap eta > 0, it is NP-hard to separate instances of
-value at least B - eta from instances of value at most A + eta. Thus
-Raghavendra's SDP is exactly the optimal approximation algorithm for
-every fixed CSP.
+and every fixed 0 < eta < (B-A)/2, it is NP-hard to separate instances
+of value at least B - eta from instances of value at most A + eta.
+Raghavendra's SDP-based algorithm gives the optimal approximation
+threshold, up to arbitrarily small positive error; excluding better
+polynomial-time algorithms uses P != NP. [63] [64]
+
+[63] Prasad Raghavendra. "Optimal Algorithms and Inapproximability Results for
+    Every CSP?" STOC 2008, Theorem 1.1.
+    https://people.eecs.berkeley.edu/~prasad/Files/extabstract.pdf
+
+[64] Prasad Raghavendra; David Steurer. "How to Round Any CSP." FOCS 2009.
+    https://www.dsteurer.org/paper/roundcsp/
 
 This statement needs a stronger promise form of Unique Games: the
 YES labeling satisfies all constraints incident to almost all left
 vertices. Section 11 derives that finite strong-left form.
 
+How to read A< B. The instance J is a FIXED witness to a gap between
+integral assignments and the stated SDP. It is not the growing instance
+produced by the reduction. An actual assignment gives a feasible SDP
+solution by taking point-mass local distributions and indicator vectors,
+so SDP(J)>=OPT(J). A strict gap means the relaxation can do better than
+any assignment on J. The imported theorem turns that fixed numerical gap
+into hardness for a family of growing instances with thresholds B-eta
+and A+eta.
+
+This is an additive promise-gap statement. It should not be read as a
+multiplicative approximation guarantee when the optimum is arbitrarily
+close to zero. The explicit inequality eta<(B-A)/2 keeps the two promised
+ranges disjoint.
+
+The fixed-instance statement is a value gap, not a claim that every
+predicate has the same approximation ratio or is hard to beat by random
+assignment. Approximation resistance is predicate-specific. Austrin and
+Mossel give a pairwise-independence criterion under UGC; Chan proves an
+unconditional criterion for predicates containing suitable pairwise-
+independent subgroups. These are different hypotheses and different
+results. [65] [66]
+
+[65] Per Austrin; Elchanan Mossel. "Approximation Resistant Predicates from
+    Pairwise Independence." Computational Complexity 18, 2009, pp. 249-271;
+    arXiv:0802.2300.
+    https://arxiv.org/abs/0802.2300
+
+[66] Siu On Chan. "Approximation Resistance from Pairwise-Independent
+    Subgroups." Journal of the ACM 63, 2016; ECCC TR12-110.
+    https://eccc.weizmann.ac.il/report/2012/110/
+
+Håstad studies approximation resistance of random predicates. Austrin and
+Håstad distinguish resistance from the stronger question of usefulness
+for another payoff. Khot, Tulsiani, and Worah give a characterization of
+approximation resistance. These distinctions prevent the phrase "every
+CSP has an SDP threshold" from being misread as "every CSP has only its
+random-assignment guarantee." [67] [68] [69]
+
+[67] Johan Håstad. "On the Approximation Resistance of a Random Predicate."
+    Computational Complexity 18, 2009, pp. 413-434.
+    https://johanhastad.se/jhsolorand.pdf
+
+[68] Per Austrin; Johan Håstad. "On the Usefulness of Predicates." ACM
+    Transactions on Computation Theory 5, 2013; arXiv:1204.5662.
+    https://arxiv.org/abs/1204.5662
+
+[69] Subhash Khot; Madhur Tulsiani; Pratik Worah. "A Characterization of
+    Approximation Resistance." ECCC TR13-146; expanded version of the STOC
+    2014 paper A Characterization of Strong Approximation Resistance.
+    https://eccc.weizmann.ac.il/report/2013/146/
+
+A separate limitation concerns the relaxation rather than all algorithms.
+Schoenebeck gives Lasserre-hierarchy gaps; Chan, Lee, Raghavendra, and
+Steurer give size lower bounds for LP relaxations; Lee, Raghavendra, and
+Steurer do so for SDP relaxations. Such results are not interchangeable
+with the reduction from an arbitrary 3SAT input used here. [70] [71] [72]
+
+[70] Grant Schoenebeck. "Linear Level Lasserre Lower Bounds for Certain
+    k-CSPs." FOCS 2008.
+    https://schoeneb.people.si.umich.edu/papers/Lasserre.html
+
+[71] Siu On Chan; James R. Lee; Prasad Raghavendra; David Steurer.
+    "Approximate Constraint Satisfaction Requires Large LP Relaxations." FOCS
+    2013; Journal of the ACM 63, 2016, Article 34.
+    https://www.dsteurer.org/paper/lpsize/
+
+[72] James R. Lee; Prasad Raghavendra; David Steurer. "Lower Bounds on the
+    Size of Semidefinite Programming Relaxations." STOC 2015.
+    https://www.dsteurer.org/paper/sdpsize/
+
+Finite encoding also needs an argument: a real-valued relaxation or proof
+certificate is not automatically a polynomial-bit output. Raghavendra and
+Weitz analyze this issue for sum-of-squares proofs. The argument below
+handles a narrower requirement directly, by replacing one fixed finite
+verifier distribution by rational weights with controlled total variation.
+It does not assume rationality of an optimal SDP solution. [73]
+
+[73] Prasad Raghavendra; Benjamin Weitz. "On the Bit Complexity of
+    Sum-of-Squares Proofs." ICALP 2017; arXiv:1702.05139.
+    https://arxiv.org/abs/1702.05139
+
+Proof of the finite rational CSP consequence. The input from Raghavendra's
+fixed-instance theorem (2009 thesis, Theorem 7.9; 2008 paper, Theorem 1.1)
+is a reduction at tolerance eta/2 with YES value at least B-eta/2 and
+NO value at most A+eta/2. [62] [63] Its strong-left game errors depend only on
+J and eta, before the game alphabet is chosen. For the common-arity
+convention, pad predicates with ignored trailing arguments, filled with
+any fixed variable of J. Such a variable exists when A<B. Neither an
+applied payoff nor its actual dependence set changes, so OPT and the
+specified relaxation are unchanged. Remove only these added trailing
+positions when emitting the original predicates.
+
+Theorem 11.1 supplies a nonempty simple strong-left graph with common
+left degree h and alphabet [R]. After R is fixed, the imported verifier's
+local randomness is a fixed finite probability law theta on records s.
+Each record specifies an original predicate, a(s) query strings in D^R,
+and the roles occupied by their replies. This law may have real weights,
+but it depends only on the fixed parameters. Choose one rational
+probability table theta_hat with
+
+       (1/2)sum_s |theta_hat(s)-theta(s)|<eta/2.
+
+This is possible by density of rational probability vectors in a finite
+simplex. Hardcode that finite table into the reduction. Let A_left and
+B_right be the game vertex sets. Output variables are B_right x D^R.
+For each record s, each a in A_left, and each ordered independent
+neighbor tuple of length a(s), emit its relabeled predicate on the query
+variables with weight
+
+       theta_hat(s)/(|A_left| h^{a(s)}).
+
+Keep repeated occurrences separate. Fill any syntactically present but
+ignored argument with the first output variable. The graph is nonempty,
+so an output variable exists. The weights are rational and sum to one.
+For fixed local data and R, the counts |B_right||D|^R and
+|A_left|sum_s h^{a(s)} are polynomial, and the weights have polynomial
+binary length. The construction uses only explicit neighbor lists,
+permutations, and the fixed local table.
+
+For any assignment let g(s) in [0,1] be its conditional acceptance over
+the outer choices. Changing theta to theta_hat changes its value by
+at most their total variation, less than eta/2. Taking maxima preserves
+this bound. The imported gap therefore becomes YES value at least
+B-eta and NO value at most A+eta, as claimed. This proves the extra
+finite rational formulation, rather than assuming real verifier weights
+are a valid encoded output.
+
+The rational approximation is chosen once for the finite local law, not
+separately for each output instance or each assignment. Total variation
+bounds the expectation of EVERY payoff in [0,1] by the same amount.
+Taking the maximum over assignments therefore preserves the bound. This
+uniform estimate is what permits the irrational analytic verifier to be
+replaced by one explicit rational table without losing the promised gap.
+
 10.4. Ordering CSPs
 ------------------------------------------------------------
 Fix k >= 2 and a nonempty proper subset Pi of S_k. An ordering CSP
@@ -869,8 +2761,53 @@ asks for a global order on variables; an ordered k-tuple is satisfied
 if the order induced on it belongs to Pi. The random-ordering value
 is rho = |Pi|/k!.
 
-It is NP-hard to approximate the weighted finite ordering CSP above
-every ratio r > rho. The threshold is rho.
+It is NP-hard to approximate the weighted finite ordering CSP at
+every fixed ratio r in (rho,1]. The threshold is rho. [74]
+
+[74] Venkatesan Guruswami; Johan Håstad; Rajsekar Manokaran; Prasad
+    Raghavendra; Moses Charikar. "Beating the Random Ordering Is Hard: Every
+    Ordering CSP Is Approximation Resistant." SIAM Journal on Computing 40,
+    2011, pp. 878-914; ECCC TR11-027.
+    https://eccc.weizmann.ac.il/report/2011/027/
+
+The baseline rho is an acceptance fraction, hence a maximization ratio.
+Every tuple has k distinct variables, so their relative order in a uniform
+global ordering is uniform in S_k. Exactly |Pi| of the k! orders satisfy
+the predicate. For hardness at ratio r>rho, it is not enough merely to
+state a NO bound rho+delta: the YES bound must also be included. The
+inequality r(1-delta)>rho+delta below is what separates the two cases.
+
+Indeed compose Theorem 11.2 with Theorem 11.1 and the main theorem.
+This gives YES value at least 1-delta and NO value at most rho+delta
+for every fixed 0<delta<(1-rho)/2. Given r>rho choose delta also below
+(r-rho)/(1+r), so r(1-delta)>rho+delta; an r-approximation would separate
+the cases. A uniform order has expected value rho and hence is a
+rho-approximation since OPT<=1. The conditional-expectation procedure
+at the end of Section 11.2 makes this guarantee deterministic.
+
+The ordering reductions were developed first for Maximum Acyclic Subgraph
+by Guruswami, Manokaran, and Raghavendra and for all arity-three permutation
+CSPs by Charikar, Guruswami, and Manokaran. The general theorem is due to
+Guruswami, Håstad, Manokaran, Raghavendra, and Charikar. [75] [76] [74]
+
+[75] Venkatesan Guruswami; Rajsekar Manokaran; Prasad Raghavendra. "Beating
+    the Random Ordering Is Hard: Inapproximability of Maximum Acyclic
+    Subgraph." FOCS 2008.
+    https://people.eecs.berkeley.edu/~venkatg/pubs/papers/mas.pdf
+
+[76] Moses Charikar; Venkatesan Guruswami; Rajsekar Manokaran. "Every
+    Permutation CSP of Arity 3 Is Approximation Resistant." CCC 2009.
+    https://www.cs.cmu.edu/~venkatg/pubs/papers/perm-3csp.pdf
+
+Austrin, Manokaran, and Wenner also prove NP-hardness results for ordering
+CSPs without a Unique Games assumption. Those are separate reductions;
+the full random-ordering threshold stated here is obtained through the
+finite transfer in Section 11.2. [77]
+
+[77] Per Austrin; Rajsekar Manokaran; Cenny Wenner. "On the NP-Hardness of
+    Approximating Ordering-Constraint Satisfaction Problems." Theory of
+    Computing 11, 2015, pp. 257-283.
+    https://theoryofcomputing.org/articles/v011a010/
 
 Two famous examples:
 
@@ -882,24 +2819,130 @@ Two famous examples:
 
 10.5. Cut, deletion, and clustering
 ------------------------------------------------------------
+
+The demand model must be fixed before a cut-hardness theorem is applied.
+Raghavendra and Steurer connect Unique Games with small-set expansion;
+Raghavendra, Steurer, and Tulsiani study reductions between expansion
+problems. These connections do not permit replacing a nonuniform demand
+matrix by all-pairs uniform demands without an additional reduction.
+The statement below is specifically nonuniform. [78] [79]
 For every fixed constant C > 1, it is NP-hard to approximate within
 C:
 
-  * Multicut,
-  * Sparsest Cut (search version),
-  * Min-2CNF^= Deletion,
-  * Correlation Clustering in general weighted graphs.
-
-A companion paper proves uniform-demand Sparsest Cut hardness and a
-Gaussian propeller kernel-clustering threshold
-
-       alpha_k = (8 pi / 9)(1 - 1/k).
-
-That companion result uses this theorem but is not an input to it.
-
-Under P not equal to NP, all of these problems have no deterministic
-polynomial-time constant-factor approximation.
-
+[78] Prasad Raghavendra; David Steurer. "Graph Expansion and the Unique Games
+    Conjecture." STOC 2010.
+    https://www.dsteurer.org/paper/expansion/
+
+[79] Prasad Raghavendra; David Steurer; Madhur Tulsiani. "Reductions between
+    Expansion Problems." CCC 2012.
+    https://www.dsteurer.org/paper/ssereductions/
+
+  * Weighted Multicut,
+  * Nonuniform Sparsest Cut (search version; polynomial-time Cook reductions),
+  * Weighted Min-2CNF^= Deletion (literal equality/disequality clauses),
+  * Minimum-disagreements Correlation Clustering in general weighted graphs.
+
+For Multicut, the input is an undirected graph with positive rational
+edge costs and a nonempty list of distinct demand pairs with unequal
+endpoints; minimize the cost of edges whose deletion disconnects every
+pair. For the nonuniform Sparsest Cut statement, minimize an edge
+cutset's cost divided by the positive number of prescribed demand pairs
+it disconnects. Only those pairs carry unit demand. Min-2CNF^= Deletion
+minimizes the total weight of false equalities or disequalities of
+Boolean literals. Correlation Clustering minimizes disagreements on
+present signed edges: a positive edge pays when separated, a negative
+edge pays when joined, and a missing edge has no penalty. This is not
+the complete-graph-only version. [80] [81]
+
+[80] Nikhil Bansal; Avrim Blum; Shuchi Chawla. "Correlation Clustering."
+    Machine Learning 56, 2004, pp. 89-113.
+    https://research.tue.nl/en/publications/correlation-clustering-2/
+
+[81] Moses Charikar; Venkatesan Guruswami; Anthony Wirth. "Clustering with
+    Qualitative Information." Journal of Computer and System Sciences 71,
+    2005, pp. 360-383.
+    https://www.sciencedirect.com/science/article/pii/S0022000004001424
+
+These minimization factors have the opposite orientation from the
+maximization ratios above: a factor C means cost at most C times optimum.
+The demand specification in Sparsest Cut is part of the problem. The
+nonuniform demand model here must not be replaced by uniform demand on
+all vertex pairs. Likewise, a missing correlation-clustering edge has
+zero penalty; filling in all missing edges would define another problem.
+
+Proof. The conditional hardness theorem of Chawla--Krauthgamer--Kumar--
+Rabani--Sivakumar (2006), Corollary 1.3, supplies the first three results
+from the ordinary edge-value Unique Games hypothesis; its Sparsest Cut
+conclusion is the stated search task under Cook reductions. [82] For a desired
+C use its theorem at any fixed larger factor. Orient the main theorem's
+game left-to-right, renumber its fixed alphabet, and give edges equal
+weights. Its errors can be chosen before that alphabet, so composing
+with the conditional theorem proves the first three NP-hardness claims.
+Padding a vertex side with isolated questions, when needed, changes
+neither edge value nor polynomial encoding size.
+
+[82] Shuchi Chawla; Robert Krauthgamer; Ravi Kumar; Yuval Rabani; D.
+    Sivakumar. "On the Hardness of Approximating Multicut and Sparsest-Cut."
+    Computational Complexity 15, 2006, pp. 94-114, Corollary 1.3.
+    https://research.ibm.com/publications/on-the-hardness-of-approximating-multicut-and-sparsest-cut--1
+
+For Correlation Clustering, the hard Multicut family in that construction
+has demands between antipodes within cubes of dimension at least two.
+Graph edges are cube edges or join different cubes, so these demand pairs
+are nonedges. Here is the cost-preserving transformation (Demaine--
+Emanuel--Fiat--Immorlica, 2006, Theorem 4.7). [83] Make graph edges positive
+with their costs, and add a negative edge at each demand pair with
+weight M=1+sum_e c_e. There are no opposite-signed parallel edges.
+A multicut yields a component partition with disagreement cost no larger
+than its cut cost. Conversely, a clustering separating every demand
+yields a multicut by deleting positive edges between clusters, with the
+same cost. A clustering joining a demand pays at least M; replace it
+by all singletons, whose cost is sum_e c_e<M, and delete all graph
+edges. Thus every clustering converts to a multicut of no greater cost,
+and the two optimum costs coincide. The transformation is rational and
+polynomial, so every fixed-factor approximation would transfer back to
+the hard Multicut family. This proves the fourth claim.
+
+[83] Erik D. Demaine; Dotan Emanuel; Amos Fiat; Nicole Immorlica. "Correlation
+    Clustering in General Weighted Graphs." Theoretical Computer Science 361,
+    2006, pp. 172-187, Theorem 4.7.
+    https://erikdemaine.org/papers/Clustering_TCS/
+
+The exclusion of constant factors is compatible with approximation ratios
+that grow with instance size. Garg, Vijay Vazirani, and Yannakakis develop
+logarithmic multicut approximation through flow-cut bounds; Leighton and
+Rao develop the multicommodity flow-cut framework for approximation
+algorithms. Neither result is a fixed-factor algorithm for the listed
+hard families. [84] [85]
+
+[84] Naveen Garg; Vijay V. Vazirani; Mihalis Yannakakis. "Approximate Max-Flow
+    Min-(Multi)Cut Theorems and Their Applications." SIAM Journal on Computing
+    25, 1996, pp. 235-251.
+    https://repository.ias.ac.in/101273/
+
+[85] Tom Leighton; Satish Rao. "Multicommodity Max-Flow Min-Cut Theorems and
+    Their Use in Designing Approximation Algorithms." Journal of the ACM 46,
+    1999, pp. 787-832.
+    https://snap.stanford.edu/class/cs224w-readings/leighton99mincut.pdf
+
+Arora, Satish Rao, and Umesh Vazirani improve graph-partitioning guarantees
+using geometric embeddings and expander flows. Arora, Lee, and Naor obtain
+improved Sparsest Cut guarantees through negative-type metric embeddings.
+Their instance-size-dependent approximation factors and demand assumptions
+must be retained when comparing them with the preceding hardness claim.
+[86] [87]
+
+[86] Sanjeev Arora; Satish Rao; Umesh Vazirani. "Expander Flows, Geometric
+    Embeddings and Graph Partitioning." Journal of the ACM 56, 2009.
+    https://www.cs.princeton.edu/~arora/pubs/arvfull.pdf
+
+[87] Sanjeev Arora; James R. Lee; Assaf Naor. "Euclidean Distortion and the
+    Sparsest Cut." Journal of the American Mathematical Society 21, 2008;
+    arXiv:math/0508154.
+    https://arxiv.org/abs/math/0508154
+
+Under P not equal to NP, the four minimization problems listed above
+have no deterministic polynomial-time constant-factor approximation.
 
 ================================================================================
 PART 11. THE APPENDIX: FINITE STRONG-LEFT AND ORDERING TRANSFER
@@ -907,7 +2950,14 @@ PART 11. THE APPENDIX: FINITE STRONG-LEFT AND ORDERING TRANSFER
 
 Some reductions need the Unique Games promise in a stronger, finite
 left-degree form. This appendix states those finite formulations and
-outlines their proofs.
+gives the constructions, parameter choices, and proofs.
+
+A nearly satisfied edge set need not give nearly all left vertices with
+every incident edge satisfied: a small number of failures can touch many
+vertices. The strong-left normalization explicitly repairs this mismatch.
+The ordering transfer then uses its equal left degrees to make an average
+over left vertices agree with an average over edges. Neither property is
+being inferred silently from the edge-value theorem.
 
 11.1. Simple strong-left games
 ------------------------------------------------------------
@@ -916,8 +2966,8 @@ THEOREM 11.1 (simple strong-left Unique Games)
 ------------------------------------------------------------
 For every 0 < zeta, nu < 1 and integers d,H >= 1, there are integers
 h,R >= 1 with h >= H and d | h, and a deterministic polynomial-time
-reduction from 3SAT to explicit unweighted simple bipartite Unique
-Games instances with common left degree h, such that:
+reduction from 3SAT to nonempty explicit unweighted simple bipartite
+Unique Games instances over [R] with common left degree h, such that:
 
   YES case: a labeling strongly satisfies at least 1 - zeta of left
             vertices. Here "strongly satisfies" means every edge
@@ -925,117 +2975,647 @@ Games instances with common left degree h, such that:
 
   NO case:  value < nu.
 
-The proof adapts the normalization and sequence construction of Khot
-and Regev. It makes the graph simple by retaining only sequences with
-all tags distinct. The strong-left completeness follows by lifting one
-labeling to all sequence vertices. Soundness follows because retained
-sequences have a constant fraction of all sequences, while the full
-sequence graph has small value. Polynomiality is explicit because all
-parameters depend only on zeta,nu,d,H.
+The construction follows the normalization and sequence method of
+Khot--Regev, with distinct tags ensuring simplicity. [58]
+
+The construction has four jobs, in order: make left questions comparable
+in weight; replace local rational weights by equally many occurrences;
+attach tags so repeated sampling can still produce a simple graph; and
+turn each sampled sequence of h occurrences into one left question. The
+same fixed h is used for every left vertex. Its choice must precede the
+alphabet so the later ordering reduction can ask for a prescribed degree
+multiple without changing its game-error parameters.
+
+Proof of Theorem 11.1.
+The parameters in this proof are local to this section. Choose a multiple
+h of d with h>=max(H,2) and 1/h<nu/4. Choose an integer T>=h so that
+p_tag=(T)_h/T^h>3/4, where (T)_h=T(T-1)...(T-h+1). This is possible
+since the chance of a collision among h independent uniform tags is at
+most binom(h,2)/T. Choose positive rationals beta,gamma,u and an integer
+L_2 with
+
+ beta<nu/4,  h^2 gamma<nu/4,  (h+1)u<zeta/2,
+ 1/L_2<min(beta gamma/2, zeta/(2h)).
+
+Choose rational gamma_0,zeta_0 in (0,1/2) with
+2gamma_0<beta gamma/2 and 2zeta_0<u^2. Invoke the main theorem with
+completeness error zeta_0 and soundness error gamma_0. All parameters
+so far, including h, precede the resulting alphabet [R]. Let its
+nonempty simple bipartite graph be (X_0,Y,E_0), with uniform edge weights.
+
+Normalize the left marginal. Let w_x be the total edge weight at x,
+and create n_x=floor(2|X_0| w_x) copies of x. Give each copy local
+edge weights w_xy/w_x. Vertices with w_x=0 have no copies. The copy
+set X_1 has |X_0|<=|X_1|<=2|X_0|, and every copy has incident weight
+one. For any right labeling, copies of the same original x have the
+same local objective, so replacing their labels by a common best label
+cannot decrease satisfied weight. Since n_x/w_x<=2|X_0|, normalized
+copy-game value is at most twice the original value, hence below
+2gamma_0 in the NO case. For a lifted YES labeling the same calculation
+on unsatisfied weights gives average local loss at most 2zeta_0<u^2.
+Markov's inequality leaves more than a 1-u fraction of X_1 with local
+satisfied weight at least 1-u.
+
+Remove these local weights. Put a=L_2|Y|. At each copy x pick one
+positive-weight neighbor y_0. Round a w_xy/w_x down for y!=y_0 and
+assign all remaining occurrences to y_0. There are exactly a occurrences
+at each x. For every subset of neighbors the change in its local weight
+is at most |Y|/a=1/L_2, by summing rounding losses on that subset or
+its complement. Thus the unweighted occurrence game has NO value
+below 2gamma_0+1/L_2<beta gamma. On a YES input the lifted labeling
+satisfies at least 1-u-1/L_2 of the occurrences at more than 1-u of
+the left vertices.
+
+Replace each right vertex y by T tagged copies (y,t). Replace every
+occurrence by its T tagged versions, with the same permutation. This
+preserves the value: old labels extend identically to tags, while from
+any tagged labeling one can choose an independent uniform tag at each
+original y and obtain the same expected original satisfied fraction.
+Hence the tagged game's NO value is still below beta gamma.
+
+Now replace each x by one left vertex for every ordered sequence of h
+incident tagged occurrences. At position i connect it to that occurrence's
+right endpoint with that occurrence's permutation. Each original x
+contributes (aT)^h sequence vertices of degree h. To bound the full
+sequence game's value, fix arbitrary right labels. Each occurrence at
+x determines a unique satisfying left label; let p_x(l) be the fraction
+determining label l. Then E_x max_l p_x(l)<beta gamma. Fewer than a
+beta fraction of x have max_l p_x(l)>=gamma. At any other x, two of h
+independent determined labels coincide with probability at most
+ binom(h,2)sum_l p_x(l)^2 <= h^2 gamma.
+Without such a collision, any sequence-dependent left label satisfies
+at most one of the h edges. Consequently the full sequence game has
+value at most beta+1/h+h^2 gamma<3nu/4, even when each left label
+depends arbitrarily on the entire occurrence and tag sequence.
+
+The sequence test does not assume that the left player commits to its
+original label before seeing the sequence. For fixed right labels, every
+sampled occurrence demands one particular left label. If those h demanded
+labels are all different, even the best sequence-dependent answer satisfies
+only one edge. A collision is the only way to do better. The small
+maximal atom of p_x bounds the collision probability. This is the reason
+the soundness bound survives arbitrary new left strategies.
+
+Retain only sequence vertices whose h tags are distinct. Every x and
+every untagged occurrence sequence retain the same fraction p_tag>3/4
+of tag sequences. The h right neighbors are now distinct, so the graph
+is simple and has common left degree h. Any labeling of the retained
+graph extends to the full sequence graph, and its full edge value is
+at least p_tag times its retained edge value. The NO value of the
+retained graph is therefore less than (3nu/4)/p_tag<nu.
+
+For completeness give each sequence vertex the old label of its base x
+and use tag-independent right labels. Distinct-tag conditioning does
+not change the independent uniform untagged occurrence sequence.
+If f_x is its original satisfied occurrence fraction, a fraction f_x^h
+of retained sequences at x are strongly satisfied. The total fraction is
+at least
+
+ (1-u)(1-u-1/L_2)^h
+ >=1-u-h(u+1/L_2)
+ =1-(h+1)u-h/L_2 > 1-zeta.
+
+Every x contributes equally many retained vertices. There are
+|X_1| a^h (T)_h such vertices and h edges per vertex. Here a is linear
+in |Y|, while h,T,L_2 are fixed before the alphabet. Thus this is a
+nonempty explicit deterministic polynomial-size construction; rational
+rounding and permutation tables also have polynomial bit complexity.
+This proves all claims of Theorem 11.1.
+
+Distinct tags mean distinct right vertices (y,t), even when the same base
+neighbor y is sampled several times. The tag filter discards the same
+fraction of sequences for every x and every untagged sequence. It
+therefore preserves the uniform left weighting and the completeness
+calculation. Soundness pays only the reciprocal retention factor
+1/p_tag<4/3. No assumption that the original h sampled neighbors were
+distinct is needed.
 
 11.2. Finite ordering transfer
 ------------------------------------------------------------
 
 THEOREM 11.2 (finite ordering transfer)
 ------------------------------------------------------------
-For every k >= 2, proper Pi subset S_k, and every delta > 0, there are
-integers q,H and positive rationals zeta,nu, depending only on
-k,Pi,delta, with the following property.
-
-For every R >= 1 and every simple strong-left Unique Games instance
-over [R] with left degree h >= H and q | h, there is a deterministic
-transformation producing an explicit list of weighted Pi-ordering
-constraints on distinct variables, with rational weights summing to
-one, such that:
-
-  YES case:  OPT_Pi >= 1 - delta,
-  NO case:   OPT_Pi <= rho_Pi + delta.
+For every k >= 2 and nonempty proper Pi subset S_k, put rho_Pi=|Pi|/k!.
+For every 0 < delta < (1-rho_Pi)/2, there are integers q,H >= 1 and
+rationals zeta,nu in (0,1), depending only on k,Pi,delta, with the
+following property.
+
+For every fixed R >= 1 and every nonempty explicit unweighted simple
+bipartite Unique Games instance over [R] with common left degree h >= H
+and q | h, there is a deterministic transformation, polynomial in the
+input size for fixed R, producing an explicit list of Pi-ordering
+constraints on distinct variables, with nonnegative rational weights
+summing to one, such that:
+
+  YES: if a labeling strongly satisfies at least 1-zeta of the left
+       vertices, then OPT_Pi >= 1-delta.
+  NO:  if the input game has value at most nu, then OPT_Pi <= rho_Pi+delta.
 
 The constants q,H,zeta,nu do not depend on R or h.
 
-The output variables are pairs (b,z) in B x [m]^R. The construction
-sorts local IDs into q blocks, averages over neighbors, and uses an
-invariance principle. It chooses all constants before applying the
-Unique Games theorem, exactly as required by the quantifier order.
-
-The appendix then makes the reduction expressed only with rational
-weights and finite enumerated neighbor choices, so the resulting
-ordering-CSP instance is explicit and polynomial.
-
-
-================================================================================
-KEY REFERENCES IN THE ORIGINAL PAPER
-================================================================================
-
-  Khot 2002:
-    On the Power of Unique 2-Prover 1-Round Games.
-  Khot 2010:
-    On the Unique Games Conjecture.
-  Khot, Kindler, Mossel, O'Donnell 2007:
-    Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs.
-  Khot, Regev 2008:
-    Vertex cover might be hard to approximate to within 2-epsilon.
-  Raghavendra 2008 / thesis 2009:
-    Optimal Algorithms and Inapproximability Results for Every CSP.
-  Guruswami, Hastad, Manokaran, Raghavendra, Charikar 2011:
-    Beating the Random Ordering Is Hard: Every Ordering CSP Is
-    Approximation Resistant.
-  Chawla, Krauthgamer, Kumar, Rabani, Sivakumar 2006:
-    On the Hardness of Approximating Multicut and Sparsest-Cut.
-  Demaine, Emanuel, Fiat, Immorlica 2006:
-    Correlation Clustering in General Weighted Graphs.
-  Hastad 2001:
-    Some Optimal Inapproximability Results.
-  Barak, Kothari, Steurer 2018/2019:
-    Small-Set Expansion in Shortcode Graph and the 2-to-2 Conjecture.
-  Khot, Minzer, Safra 2023:
-    Pseudorandom Sets in Grassmann Graph Have Near-Perfect Expansion.
-  Dinur, Steurer 2014:
-    Analytical Approach to Parallel Repetition.
-  Khot, Safra 2013:
-    A Two-Prover One-Round Game with Strong Soundness.
-  Khot, Minzer, Safra 2017/2025:
-    On Independent Sets, 2-to-2 Games and Grassmann Graphs.
-  Minzer, Zheng 2026:
-    Near Optimal Alphabet-Soundness Tradeoff PCPs.
-  Mossel, O'Donnell, Oleszkiewicz 2010:
-    Noise Stability of Functions with Low Influences.
-  Isaksson, Mossel 2009:
-    Maximally Stable Gaussian Partitions with Discrete Applications.
-  Dinur, Khot, Kindler, Minzer, Safra 2021:
-    On Non-Optimally Expanding Sets in Grassmann Graphs.
-  Ellis, Kindler, Lifshitz 2026:
-    An Analogue of Bonami's Lemma for Functions on Spaces of Linear
-    Maps, and 2-2 Games.
-  Bellare, Goldreich, Sudan 1998:
-    Free Bits, PCPs, and Nonapproximability.
-  Rao 2011:
-    Parallel Repetition in Projection Games and a Concentration Bound.
-  Raz 1998:
-    A Parallel Repetition Theorem.
-  Holenstein 2009:
-    Parallel Repetition: Simplifications and the No-Signaling Case.
-  Goemans, Williamson 1995:
-    Improved Approximation Algorithms for Maximum Cut and
-    Satisfiability Problems Using Semidefinite Programming.
-  Trevisan 2008:
-    Approximation Algorithms for Unique Games.
-  Charikar, Makarychev, Makarychev 2006:
-    Near-Optimal Algorithms for Unique Games.
-  Arora, Barak, Steurer 2010:
-    Subexponential Algorithms for Unique Games and Related Problems.
-  Kolla 2011:
-    Spectral Algorithms for Unique Games.
-  Khot, Vishnoi 2015:
-    The Unique Games Conjecture, Integrality Gap for Cut Problems and
-    Embeddability of Negative-Type Metrics into l_1.
-  Barak, Gopalan, Hastad, Meka, Raghavendra, Steurer 2015:
-    Making the Long Code Shorter.
-  Bafna, Barak, Kothari, Schramm, Steurer 2021:
-    Playing Unique Games on Certified Small-Set Expanders.
+Keep the four scales separate in this appendix. k is the arity of an
+ordering constraint; q is the number of coarse rank buckets; m is the
+symbol alphabet of a fixed local construction; R is the Unique Games
+alphabet size and hence the length of a query string. The parameters
+k,q,m are fixed before R, while h is the common left degree of the input
+game. None of these is the tuple length k from Parts 5-9.
+
+The output variables are pairs (b,z) in B x [m]^R. The proof below
+constructs their rational constraint list and chooses every gap parameter
+before the alphabet. It also supplies the finite local-data and analytic
+comparison arguments used in the construction.
+
+Proof of Theorem 11.2.
+Here k is the ordering arity, not the tuple length in Parts 5-9. We give
+the finite construction and both directions of the reduction. Its analytic
+inputs are the established increasing-tuple theorem, Gaussian stability,
+and vector invariance estimates specified below, not the conclusion of
+Theorem 11.2 itself.
+
+(a) Normalize the predicate and define ties.
+Let P be the indicator of Pi and choose pi_0 in Pi. Define
+P_0(sigma)=P(pi_0 composed with sigma), so P_0(id)=1. For ranks
+r=(r_1,...,r_k), let Ref(r) contain all permutations listing positions
+in nondecreasing rank order, with arbitrary orders inside tied groups.
+Use the payoff
+
+       Pbar_0(r)=sum_{sigma in Ref(r)}P_0(sigma)/|Ref(r)|.
+
+It lies in [0,1]. A raw tuple w becomes an original-Pi tuple v by
+v_{pi_0(j)}=w_j. This maps Ref(r) bijectively by sigma->pi_0 composed
+with sigma, so it preserves the payoff, also with ties. It suffices to
+construct P_0 instances and make this position permutation at the end.
+For a finite weighted instance J on variables U, let opt_q(J) be its
+maximum Pbar_0 payoff over maps U->[q].
+
+(b) Fixed rational local data.
+We use the following finite increasing-tuple result of Guruswami,
+Håstad, Manokaran, Raghavendra, and Charikar (2011), Theorem 11.1,
+Definition 11.2, and the proof of Theorem 2.5: for fixed k,Pi,q and
+eta>0, there is a finite rationally weighted instance J* with distinct
+variables in each tuple, whose tuples are all increasing in one total
+order, and with opt_q(J*)<=rho_Pi+eta. This is the only imported
+combinatorial existence statement about the local instance. [74]
+
+Take L disjoint copies of J*, each with weight 1/L, and place their
+satisfying orders consecutively in sigma:U->[m], where m=L|U*|>=2.
+Choose L and rational s_0 in (0,1) with 1/L+s_0<eta. Make a random
+assignment X:U->[m] by choosing a uniform cyclic shift of sigma with
+probability 1-s_0, and independent uniform labels with probability s_0.
+A cyclic cut can split at most one copy, so its payoff is at least
+1-1/L. Thus the mixture's expected payoff exceeds 1-eta.
+
+Write c for a local tuple, omega_c for its rational weight, and mu_c
+for the restriction of this mixture to that tuple. Every marginal of
+mu_c is uniform on [m]. If n_c(x) counts shifts giving tuple x, then
+
+       mu_c(x)=(1-s_0)n_c(x)/m+s_0/m^k.
+
+All atoms are rational and exceed alpha=s_0/(2m^k)>0. The copied
+instance still has opt_q(J)<=rho_Pi+eta, since each q-assignment has
+that upper bound on each copy. Its local expected payoff v_loc is
+at least 1-eta. These laws have common Gram data: in the finite mixture
+probability space put I=1 and b_{u,j}=1[X(u)=j] as L^2 vectors. Then
+
+ sum_j b_{u,j}=I,  ||I||=1,
+ <b_{u,i},b_{u,j}>=0 for i!=j,  ||b_{u,j}||^2=1/m,
+ <b_{u_{c,r},i},b_{u_{c,s},j}>=Pr_{mu_c}[X_r=i,X_s=j].
+
+This supplies compatible first and second moments for every local tuple.
+
+Why the local instance can be ordered well but not q-bucketed well. Its
+strict satisfying order may use arbitrarily many ranks. A q-assignment
+has only q buckets, and equal bucket ranks are evaluated by averaging all
+consistent tie-breaks. The increasing-tuple theorem produces an instance
+where that coarse information has payoff at most rho_Pi+eta. There is no
+contradiction between a satisfying fine order and a poor bounded-bucket
+optimum.
+
+The cyclic shift has two roles. It makes every variable's label uniform
+on [m], while spoiling the increasing order in at most one of the L
+copies. Mixing in independent labels gives every tuple atom positive
+probability. Because all tuple laws are marginals of one finite random
+assignment X, their moment vectors belong to one common inner-product
+space. That last feature is needed for the global Gaussian comparison.
+
+(c) The two uniform analytic estimates used in the composition.
+
+The noise-operator viewpoint builds on the hypercontractive inequalities
+of Bonami and Beckner: smoothing damps high-degree Fourier components.
+Here the displayed identities also give the exact normalization of each
+influence and degree tail, so no change of convention is hidden in the
+later estimates. [88] [89]
+For functions on uniform [m]^R, let T_theta independently keep each
+coordinate with probability theta and otherwise resample it uniformly,
+then average the function. In an orthonormal product basis, writing a
+frequency as sigma with support size |sigma|,
+
+[88] Aline Bonami. "Étude des coefficients de Fourier des fonctions de
+    L^p(G)." Annales de l'Institut Fourier 20(2), 1970, pp. 335-402.
+    https://www.numdam.org/item/AIF_1970__20_2_335_0/
+
+[89] William Beckner. "Inequalities in Fourier Analysis." Annals of
+    Mathematics 102, 1975, pp. 159-182.
+    https://annals.math.princeton.edu/1975/102-1/p11
+
+ T_theta F=sum_sigma theta^{|sigma|} Fhat(sigma) chi_sigma,
+ Inf_l(F)=sum_{sigma:sigma_l!=0} Fhat(sigma)^2
+         =E[Var(F | all coordinates except l)].
+
+Further smoothing decreases every influence.
+
+Influence measures how much a single coordinate can change a function.
+Kahn, Kalai, and Linial established a central large-influence theorem;
+Friedgut showed that small total influence forces approximation by a
+function of few coordinates. The bound on interval influences proved
+below is more specialized: it controls the union of influential coordinates
+across all intervals of one order, not just one Boolean function.
+[90] [91]
+
+[90] Jeff Kahn; Gil Kalai; Nathan Linial. "The Influence of Variables on
+    Boolean Functions." FOCS 1988, pp. 68-80.
+    https://www.ma.huji.ac.il/~kalai/kkl.pdf
+
+[91] Ehud Friedgut. "Boolean Functions with Low Average Sensitivity Depend on
+    Few Coordinates." Combinatorica 18, 1998, pp. 27-35; author-uploaded copy.
+    https://www.researchgate.net/publication/220442284_Boolean_Functions_With_Low_Average_Sensitivity_Depend_On_Few_Coordinates
+
+The Gaussian comparison uses Borell's extremal noise-stability theorem:
+for prescribed Gaussian measure, halfspaces maximize the relevant positive-
+correlation noise stability. Mossel, O'Donnell, and Oleszkiewicz transfer
+this type of bound to low-influence functions on product spaces. Those are
+the Gaussian and discrete inputs behind the estimate, respectively.
+[92] [55]
+
+[92] Christer Borell. "Geometric Bounds on the Ornstein-Uhlenbeck Velocity
+    Process." Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete
+    70, 1985, pp. 1-13; publisher issue listing, first article.
+    https://link.springer.com/journal/440/volumes-and-issues/70-1
+
+Mossel's Gaussian bounds for noise correlations address more general
+correlated product-space comparisons. Mossel and Neeman establish robust
+optimality of Gaussian noise stability, and De, Mossel, and Neeman give a
+discrete and sum-of-squares proof of Majority Is Stablest. Robustness and
+sum-of-squares formalization are not required here: the collision bound
+uses only the specific numerical stability estimate stated next.
+[93] [94] [95]
+
+[93] Elchanan Mossel. "Gaussian Bounds for Noise Correlation of Functions."
+    Geometric and Functional Analysis 19, 2010; arXiv:math/0703683.
+    https://arxiv.org/abs/math/0703683
+
+[94] Elchanan Mossel; Joe Neeman. "Robust Optimality of Gaussian Noise
+    Stability." Journal of the European Mathematical Society 17, 2015;
+    arXiv:1210.4126.
+    https://arxiv.org/abs/1210.4126
+
+[95] Anindya De; Elchanan Mossel; Joe Neeman. "Majority Is Stablest: Discrete
+    and SoS." Theory of Computing 12, 2016, Article 4.
+    https://theoryofcomputing.org/articles/v012a004/
+
+Collision estimate. Fix 0<kappa<1/2. There is mu_0(kappa)>0,
+independent of m and R, such that, for each fixed m, a function
+r_c(t)->0 as t decreases to zero has this property: if F,G take values
+in [0,1], both have mean mu<=mu_0(kappa), and all influences of
+T_{1-kappa}F and T_{1-kappa}G are at most t, then for ANY coupling
+(Z,Z') with both marginals uniform on [m]^R,
+
+ E[(T_{1-2kappa}F)(Z)(T_{1-2kappa}G)(Z')]
+       <= mu^{1+kappa/2}+r_c(t).                     (11.2.1)
+
+Here is its derivation from the stated stability input. The noise-stability
+theorem of Mossel--O'Donnell--Oleszkiewicz (2010), Theorem 4.4, gives [55]
+for H:[m]^R->[0,1] of mean mu and influences at most t,
+
+ Stab_{1-kappa}(H)<=Gamma_{1-kappa}(mu)+E_{m,kappa}(t),
+
+where E_{m,kappa}(t)->0 uniformly in R and mu. Gamma is Gaussian
+halfspace noise stability. For sufficiently small t an available bound
+is a constant times [log(2m)/kappa] log(log(1/t))/log(1/t).
+Their Theorem B.5 gives
+Gamma_{1-kappa}(mu)=mu^{2/(2-kappa)+o(1)} as mu->0. Since
+2/(2-kappa)>1+kappa/2, a cutoff mu_0 depending only on kappa makes
+Gamma<=mu^{1+kappa/2}. For H=T_{1-kappa}F the Fourier formula and
+(1-2kappa)^2<=(1-kappa)^3 show
+||T_{1-2kappa}F||_2^2<=Stab_{1-kappa}(H).
+The same holds for G. Cauchy-Schwarz under any coupling gives (11.2.1).
+Extend the error by the trivial bound one outside the small-t range.
+This proves the uniformity required before m or R is chosen.
+
+The coupling in (11.2.1) can be arbitrary because the final step uses only
+its marginals. Cauchy-Schwarz bounds the coupled expectation by the product
+of the two L^2 norms. Each norm is then controlled by a one-function
+noise-stability estimate. No independence between Z and Z' is assumed.
+The small-mean cutoff comes from Gaussian halfspace stability and depends
+only on kappa, so q can be chosen before the later local alphabet m.
+
+Local simplex estimate. Let S_q={p in [0,1]^q:sum_j p_j=1}, and let
+
+ P_0^ml(p_1,...,p_k)=sum_{r in [q]^k}Pbar_0(r) product_i p_i^{r_i}.
+
+Choose ONE local tuple c with law omega, then sample each of R
+coordinate tuples independently from mu_c, obtaining strings Z_1,...,Z_k.
+Independently resample every symbol at every position with probability
+lambda in (0,1), producing Ztilde_i. If one function
+F:[m]^R->S_q is used at all positions and tuples and
+Inf_l(T_{1-lambda}F^j)<=t<1/(kq) for every l,j, then
+
+ E P_0^ml(F(Ztilde_1),...,F(Ztilde_k))
+       <=opt_q(J)+r_s(kqt),                          (11.2.2)
+
+where r_s(u)->0 depends only on the fixed local data,k,q,lambda,
+not R. The notation r_s here is an error function, unrelated to the
+shortcode rank bound in Parts 6-9.
+
+To justify (11.2.2), put H=T_{1-lambda}F. Independent position noise
+and multilinearity replace the left side by E_c E_{mu_c^{product R}}
+P_0^ml(H(Z_1),...,H(Z_k)). The following standard vector invariance
+input is used: for atom bound alpha, a D-component multilinear product
+expansion with component variances at most one, coordinate vector
+influences at most u, and degree tails at most (1-lambda)^{2d},
+replacing its finite ensembles by matching Gaussian ensembles changes
+expectation of an L-Lipschitz test by at most
+
+       C_D L u^{lambda/(18 log(1/alpha))}.
+
+The bound is independent of the number R of coordinates. This is the
+form of Isaksson--Mossel (2009), Theorem 3.6, used in Guruswami et al.,
+Theorem 10.1; the local application is their Lemma 10.5. [96] [74] We now check
+all needed hypotheses rather than treating the local estimate as an
+unproved new lemma.
+
+[96] Marcus Isaksson; Elchanan Mossel. "Maximally Stable Gaussian Partitions
+    with Discrete Applications." arXiv:0903.3362, 2009, Theorem 3.6; journal
+    version: Israel Journal of Mathematics 189, 2012, pp. 347-396.
+    https://arxiv.org/abs/0903.3362
+
+On each tuple product the component H^j(Z_i) has coordinate influence
+exactly Inf_l(H^j), because the one-position marginals are uniform.
+The vector of all kq components therefore has influence at most kqt.
+Resampling a whole coordinate tuple from mu_c acts on H^j(Z_i) just
+like ordinary one-position noise. Its degree->d variance is at most
+(1-lambda)^{2d} Var(F^j(Z_i))<=(1-lambda)^{2d}. Each component
+variance is at most one, and every coordinate atom has probability
+at least alpha.
+
+The Gram data in (b) give one Gaussian ensemble shared by ALL variables
+of J: for a standard Gaussian vector g in their span put
+ G_{u,j}=1/m+<b_{u,j}-(1/m)I,g>.
+It has the same first and second moments as the symbol indicators.
+Use independent copies in the R coordinates and evaluate the same
+multilinear polynomials. Let p be Euclidean projection onto S_q and
+apply the invariance input to
+ Psi(x_1,...,x_k)=P_0^ml(p(x_1),...,p(x_k)).
+Projection is nonexpansive, and telescoping the k positions bounds
+its Lipschitz constant by sqrt(kq). On the finite ensemble H already
+belongs to S_q, so this test is the desired payoff. On the common
+Gaussian ensemble project each H(G_u) and independently draw one
+q-label for each u. This defines a single random assignment of J;
+distinct variables in every tuple make its expected payoff exactly
+Psi. Every realized assignment has value at most opt_q(J). Averaging
+the invariance bounds over c proves (11.2.2), with for example
+ r_s(u)=C_{kq}sqrt(kq) u^{lambda/(18 log(1/alpha))}.
+
+Why one shared Gaussian ensemble is indispensable. Comparing each tuple
+to an unrelated Gaussian experiment would only produce unrelated local
+assignments, not an assignment to J. The Gram vectors in part (b) instead
+define Gaussian variables for ALL vertices of J simultaneously. After
+projecting onto the simplex, sample one q-label for each vertex. Every
+outcome is a legitimate global q-assignment and has payoff at most
+opt_q(J). Its expected payoff on each distinct-variable tuple is precisely
+the multilinear test being compared. This is the source of the global
+upper bound in (11.2.2).
+
+The Gaussian experiment is an analysis device. The actual reduction uses
+only the finite rational local laws and rational resampling probabilities.
+No Gaussian samples or real-valued vectors need to be encoded in the
+output ordering instance.
+
+We also need a finite bound on influential coordinates for ALL intervals
+of one strict order o of [m]^R. If 0<u<1, at most
+
+       400/(kappa u^3)                              (11.2.3)
+
+coordinates l have Inf_l(T_{1-kappa}1[o(z) in I])>u for some rank
+interval I. An elementary proof suffices. An interval is a difference
+of two prefix indicators, so one prefix has influence greater than u/4.
+Choose a grid of at most 34/u prefixes such that each prefix differs
+from a grid prefix on at most u/16 of the uniform measure. For N=m^R
+one can use all prefixes when uN/16<1 and otherwise spacing
+floor(uN/16). Smoothing is an L^2 contraction and square-root influence
+is a seminorm, so the corresponding grid prefix has influence greater
+than u/16. For a smoothed indicator f, the product expansion gives
+
+ sum_l Inf_l(T_{1-kappa}f)
+ <=(1/(2kappa))Var(f)<=1/(8kappa),
+
+using n(1-kappa)^{2n}<=1/(2kappa). Each grid prefix therefore has at
+most 2/(kappa u) such coordinates. Their union has size at most
+68/(kappa u^2)<=400/(kappa u^3), proving (11.2.3).
+
+The interval bound must be uniform over all rank intervals, not just a
+single chosen interval. Directly listing intervals would introduce a
+factor depending on m^R. The prefix grid avoids that dependence: every
+prefix is close in uniform measure to one of O(1/u) grid prefixes.
+Smoothing and the influence seminorm transfer any large influence to a
+grid prefix. The total-influence bound then limits the union of their
+influential-coordinate sets by a quantity depending only on kappa and u.
+
+(d) The independent-neighbor experiment.
+Orient the input game's permutations from A to B. Their string action
+is (pi_{a->b}z)_{pi_{a->b}(l)}=z_l. The output variables will be
+V_out=B x [m]^R. For now fix kappa,q and the data above, and use
+lambda=2kappa. Sample a uniformly from A; choose b_1,...,b_k
+independently uniformly in N(a); independently run the local experiment
+from (11.2.2); and form raw queries
+
+       w_i=(b_i,pi_{a->b_i} Ztilde_i).
+
+For any integer-valued rank map f on V_out let V(f) be the expected
+Pbar_0 payoff of the ranks f(w_i), and V_a(f) its conditional value.
+The tie payoff also defines this intermediate experiment when IDs repeat.
+
+If a labeling L strongly satisfies at least 1-zeta of A, take
+f(b,z)=z_{L(b)}. At a strongly satisfied a all neighbors read the
+same coordinate L(a), because pi_{a->b}(L(a))=L(b). With probability
+(1-2kappa)^k none of the k symbols in this coordinate is resampled,
+and their tuple then has law mu_c. Hence
+
+       V(f)>=(1-zeta)(1-2kappa)^k v_loc.              (11.2.4)
+
+For soundness fix any strict global order O of V_out. For each a,
+sort the hm^R IDs of N(a) x [m]^R by that order and split them into
+q consecutive equal-size blocks C_{a,j}. This is possible because q|h.
+Define
+
+ F_a^j(z)=(1/h)sum_{b in N(a)}1[(b,pi_{a->b}z) in C_{a,j}].
+
+The vector F_a(z) belongs to S_q and each component has uniform mean
+1/q, since edge permutations are bijections on strings. For any global
+rank interval I define the analogous averaged indicator F_a^I. Call a
+good for this analysis when Inf_l(T_{1-kappa}F_a^I)<=t for all I,l.
+This meaning of good is local to the ordering proof.
+
+At a good a, conditional on the query strings the independent neighbor
+choices make the coarse block payoff exactly
+P_0^ml(F_a(Ztilde_1),...,F_a(Ztilde_k)). Further smoothing only reduces
+influences, so (11.2.2) bounds its expectation by opt_q(J)+r_s(kqt).
+Fine and coarse payoff agree unless two query IDs are in the same block.
+For each pair, (11.2.1), with component mean 1/q, bounds this probability
+by q^{-kappa/2}+q r_c(t). This is valid even for correlated local strings,
+since their two marginals are uniform. A union bound gives
+
+ V_a(O)<=S_loc:=opt_q(J)
+       +binom(k,2)(q^{-kappa/2}+q r_c(t))+r_s(kqt).    (11.2.5)
+
+Repeated IDs in the unconditioned experiment are covered by the same
+coarse-tie event.
+
+If a is not good, select an interval I_a and coordinate l_a witnessing
+influence greater than t. For each right vertex b let o_b be the relative
+order of its own [m]^R strings and let L_b contain coordinates whose
+smoothed interval influence in o_b exceeds t/2. By (11.2.3),
+|L_b|<=3200/(kappa t^3). Influence is a convex squared norm, and noise
+commutes with permutations and averages. Therefore
+
+ t<Inf_{l_a}(T_{1-kappa}F_a^{I_a})
+ <=(1/h)sum_{b in N(a)}
+   Inf_{pi_{a->b}(l_a)}(T_{1-kappa}1[O(b,z) in I_a]).
+
+Every summand is at most one, so more than t/2 of the neighbors have
+summand greater than t/2. Restricting a global rank interval to one right
+code is an interval of its relative order; these neighbors consequently
+have pi_{a->b}(l_a) in L_b. Label a by l_a and label each b independently
+uniformly from its nonempty L_b, using an arbitrary label for an empty
+set. Each non-good a has expected satisfied fraction greater than
+kappa t^4/6400. This is one shared right labeling, not separate labelings
+for different left vertices.
+
+The left witnesses I_a and l_a may differ from one left vertex to another.
+The right lists L_b cannot depend on a. They are built from all intervals
+of the single order o_b, so every left witness is covered by the same
+list at its neighbor b. Choosing one random label from each L_b therefore
+produces a valid global game labeling. Allowing a separate right label
+for each incident left vertex would destroy this deduction.
+
+If V(O)>S_loc+chi, more than chi of the left vertices are non-good,
+because payoffs lie in [0,1]. Their common degree makes the edge
+fraction the same as this left average. Some labeling would then have
+value greater than chi kappa t^4/6400. It follows that
+
+ value(Phi)<=nu<chi kappa t^4/6400
+       implies V(O)<=S_loc+chi for every strict O.    (11.2.6)
+
+(e) Distinct variables, parameter order, and exact output weights.
+Condition on D={b_1,...,b_k distinct}. Its probability is
+p_D=(h)_k/h^k, independent of a and of the local randomness, and
+1-p_D<=binom(k,2)/h=:d_h. All output IDs are then distinct. For every
+rank map f, splitting over D and its complement gives
+|V_D(f)-V(f)|<=d_h, since payoffs lie in [0,1].
+For the coarse YES map in (11.2.4), refine each tied fiber by an independent
+uniform permutation of its distinct IDs and concatenate the fibers.
+For each conditioned tuple its expected strict payoff is exactly the
+tie-extended payoff, so one global strict order attains at least V_D(f).
+For a strict order O the conditioned payoff already is strict. Thus
+
+ YES: OPT >=(1-zeta)(1-2kappa)^k v_loc-d_h,
+ NO:  OPT <=S_loc+chi+d_h, provided nu<chi kappa t^4/6400.
+
+Permuting tuple positions as in (a) gives the original Pi with these same
+bounds. Choose the constants in this order, all before R and h:
+
+  * Pick rational eta>0 with 10eta<delta, and rational kappa in (0,1/2)
+    with 2kappa k<eta. Put K_pairs=binom(k,2).
+  * Pick integer q with 1/q<=mu_0(kappa) and K_pairs q^{-kappa/2}<eta.
+  * Construct the rational local data J,m,alpha at error eta. Now r_c
+    and r_s have fixed parameters, independent of R.
+  * Pick rational 0<t<1/(kq) with K_pairs q r_c(t)<eta and r_s(kqt)<eta.
+    Set chi=eta. Pick rational 0<zeta<eta and
+    0<nu<min(1,eta kappa t^4/6400).
+  * Pick integer H>=max(k,q) with K_pairs/H<eta.
+
+The vanishing error bounds guarantee these choices. For every h>=H,
+Bernoulli's inequality and the bounds above give
+
+ YES: OPT >=1-zeta-2kappa k-eta-d_h >1-4eta>1-delta,
+ NO:  OPT <rho_Pi+6eta<rho_Pi+delta.
+
+Finally, for each fixed R, all local choices, the product law mu_c across
+R coordinates, and the independent rational resampling form a fixed
+finite rational law theta_R on outcomes xi. Explicitly list V_out.
+For each a, each ordered distinct neighbor tuple, and each positive
+local outcome xi, emit the corresponding position-permuted Pi tuple
+with weight
+
+       theta_R(xi)/(|A|(h)_k).
+
+The weights sum to one. There are |B|m^R variables and at most
+|A|(h)_k |support(theta_R)| occurrences. For fixed R,k and local data,
+these are polynomial in the graph size, even if h varies. Each weight
+has O(log|A|+k log h) bits plus a fixed constant; IDs and permutations
+are equally explicit. The Gaussian variables in the proof are not part
+of the output. This completes the deterministic finite rational reduction.
+
+Two final conversions should not be conflated. Conditioning on distinct
+neighbors removes repeated output variables and costs at most d_h in
+acceptance. Refining the coarse YES ranks into a strict order handles
+ties; its expected payoff equals the tie-averaged payoff because the
+conditioned tuple has distinct IDs. The output then enumerates the entire
+finite experiment with exact rational weights. Randomness is used to
+prove existence of a good ordering, not to select which constraints are
+written down by the reduction.
+
+To finish the random-ordering threshold claim, expose a global order one
+next variable at a time. If s roles of a k-tuple have been exposed, its
+conditional satisfaction probability is the number of permutations in Pi
+whose first s roles occur in that exposed order, divided by (k-s)!.
+For each candidate next variable compute the weighted sum and choose one
+whose conditional expectation is at least the average. Since k is fixed,
+all these quantities are exact rationals computable in polynomial time.
+The final value is at least the initial expectation |Pi|/k!.
 
 ================================================================================
-END OF THE UNIQUE GAMES THEOREM (v2)
+PART 12. A SHORT DICTIONARY OF NOTATION
 ================================================================================
 
-tes
\ No newline at end of file
+  F_2          the field {0,1} with addition mod 2.
+  [n]          {1,2,...,n}.
+  K            final Unique Games alphabet, often F_2^ell or F_2^s.
+  V            latent alphabet containing K.
+  C            nonlinear map V -> K.
+  mu           rational noise distribution on V.
+  value(G)     maximum satisfied fraction of a game G.
+  val(G)       maximum satisfied fraction.
+  OPT          optimum value of an optimization instance.
+  F_Q(P)       restored answer determined by a labeling, question Q,
+               and table P.
+  Hom(E,F)     linear maps from E to F.
+  rank M       dimension of the image of the linear map M.
+  eps, delta   desired completeness error and soundness error.
+  xi           parity-gap error, chosen small after k.
+  k            tuple length used in the outer game.
+  beta         k^(-2/3), sparse projection probability.
+  r_*          latent rank threshold.
+  r_s          bound on the number of row and column specifications
+               in the shortcode theorem.
+  alpha        slice agreement lower bound.
+  gamma        decoded advice agreement lower bound.
+  W            a linear complement so V = K + W.
+  A            random linear map K -> F_2^{r_s}.
+  S            compressed matrix rows AM.
+  T            W-valued part of a table.
+  M            K-valued part of a table.
+  pi           answer projection U -> O.
+  e_0^T        homogeneous-coordinate functional; a valid answer z has e_0^T z=1.
+  V*           binary dual: linear functionals V -> F_2.
+  G|_K         image of G under restriction to K, not an intersection of duals.
+  Z            span of the column-query vectors q_j in a slice witness.
+  ANS          (z+Z) intersect {v:e_0^T v=1}, the U-decoder's short answer list.
+  H            ker A in the Fourier decoder; H_r is instead a harmonic sum.
+  TV(P,Q)      (1/2) sum_x |P(x)-Q(x)|, total-variation distance.
+  chi^2(Q||P)  E_P[(Q/P-1)^2], when Q is supported on the support of P.
+  [R]          Unique Games labels in Part 11; R is query-string length there.
+  q            coarse rank-bucket count in Section 11.2, not the field size
+               q=2^d used locally in Section 4.6.
+  m            local symbol count in Section 11.2, not the table-domain
+               dimension m=1+2k used in Parts 5-9.