How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Gap Amplification and Assignment Testing
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Arithmetization and the Sum-Check Protocol
- Binary Operations, Monoids, Groups and Subgroups
- Boolean Circuits and Nonuniform Complexity
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Expander Graphs and Constraint Graphs
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- pi: the Equivalent Characterizations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Properties of the Integral and the Working FTC
- Randomized Complexity and Amplification
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Lebesgue Integral and the Convergence Theorems
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page proves the constraint-graph gap-amplification step and develops the code and tester ingredients needed for assignment testing. It first fixes the published conventions for binary constraint graphs, their value and unsatisfaction fractions, and complete uniform gap-preserving CSP reductions, which compose with multiplied blowup and iterated gap maps. Degree reduction then replaces every vertex by one port per incidence, installs an expander cloud of equality edges inside each vertex and a tautological overlay at every port, and outputs a -regular graph whose unsatisfaction bounds that of the original through plurality decoding of the ports.
Powering turns a labeling into a table of local views on a radius ball. For every lazy walk pattern of length it uses paired incidence slots, duplicating walk slots so even self-reversing walks fit the ordinary undirected graph convention. The page proves the canonical lift of a satisfying labeling, plurality decoding of powered labelings, and the walk estimates: close endpoint laws for nearby lengths, plurality agreement along middle positions, controlled collisions of violated-edge positions, and an overlap-controlled union lower bound. Together they give , so that composing degree reduction with powering is a complete uniform linear-blowup gap-amplification step with gap map .
The assignment-testing half of the page records an explicit constant-rate constant-distance binary code, built by concatenating a Reed-Solomon outer code with a linear inner code produced by conditional expectation, and then defines assignment testers and their rejection ratios. It proves the BLR linearity test, the quadratic tensor test and the circuit-to-linear-quadratic reduction, builds an exponential-size constant-query base tester and an gate tester. The composition and proximity-amplification chain for a polynomial-size constant-query assignment tester is deferred: its present local composition loses a factor depending on the powered alphabet and does not justify the required raw-input-coordinate soundness. The page's false statement records that duplicating constraints alone cannot amplify a gap.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Complete uniform gap-preserving CSP reductions
Definition
Throughout this page a binary constraint graph is one in the convention of Constraint graph and labeling value: a finite ordinary undirected multigraph with paired incidence slots, a finite nonempty alphabet , one relation per edge in a specified endpoint order, and explicit Boolean relation tables. For an edge set the value is the fraction of ordinary edges satisfied by the labeling , and ; an edgeless graph has value one and unsatisfiability zero, as in the published convention. The explicit encoding of is the list of vertices, the paired incidence slots, the alphabet size and the relation tables; its bit length is the input size of the algorithms below.
Fix an alphabet-size parameter and a degree parameter for the input graphs. A complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map consists of a deterministic algorithm that, given the explicit encoding of a binary constraint graph over an alphabet with whose underlying graph has all vertex degrees at most , outputs the explicit encoding of a binary constraint graph over the fixed alphabet such that:
- Output shape. Arity stays two, all vertex degrees of are at most , and An edgeless input is mapped to an edgeless output, which therefore has value one.
- Completeness. implies .
- Gap preservation. for every input , where is nondecreasing with and for every .
- Uniformity. runs in time polynomial in the bit length of the explicit input encoding, and the output is explicit. The alphabet , the numbers , and the function depend only on the fixed parameters and on itself, never on or .
The definition asserts no existence statement: it records the interface in which the degree-reduction, powering and assignment-tester steps of this page are stated. Isolated vertices may be deleted from inputs and outputs without changing value or unsatisfiability, so the vertex bound in clause 1 is never needed for padded inputs; the bounded-degree clause and the fixed alphabet keep the explicit encoding length of the output within a constant multiple of plus logarithmic vertex names. Loops count as ordinary edges with two incidences and a relation tested on the repeated label, exactly as published. Monotonicity of is used only to compose gap maps, in Complete linear-blowup reductions compose, never to enlarge an input hypothesis.
Complete linear-blowup reductions compose
Statement
Let be a complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map , defined for input alphabets of size and input degrees at most . Assume also that has at least one edge whenever has at least one edge. Let be a complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map , defined for input alphabets of size at least and input degrees at most . Then the composition , which on input first computes and then , is a complete uniform gap-preserving reduction for input alphabets of size and input degrees at most , with output alphabet , output degree bound , blowup , gap map , and running time polynomial in the bit length of the explicit input encoding of .
Facts & Assumptions
Given: complete uniform gap-preserving reductions with the parameters and compatibility hypotheses in the statement, including the assumption that does not erase all edges of a nonempty input, and an input graph over an alphabet of size with all vertex degrees at most .
A complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map satisfies: and whenever ; an edgeless input is mapped to an edgeless output; implies ; with nondecreasing, and for ; all degrees of are at most , the arity remains two, and runs in polynomial time in the encoding length of its input (Complete uniform gap-preserving CSP reductions).
The additional edge-preservation condition in the statement ensures that if has an edge, then is a nonempty input for the size clauses of .
Proof
If then is edgeless by [F1], hence so is , as required for an edgeless input. If , [A2] gives , so [F1] applied twice yields and ; all degrees of are at most and its alphabet is , so is applicable to it.
If then two applications of the completeness clause of [F1] give and then , so the composite is complete.
For the gap map, two applications of the gap clause of [F1] give , the second inequality because is nondecreasing and ; the composition is nondecreasing, vanishes at and is positive on , so it is an admissible gap map.
For uniformity, the encoding length of is bounded by a polynomial in the encoding length of : the alphabet is fixed, all degrees are at most , and the vertex and edge counts obey the linear bounds of step 1.1; the running time of on and of on is polynomial in the respective encoding lengths by [F1], so with the shape, completeness and gap clauses of step 1.1, step 1.2 and step 1.3 the composite runs in polynomial time in the encoding length of and is a complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map .
Remarks
- The compatibility hypotheses are not cosmetic: is applied to a graph whose alphabet is and whose degrees are bounded by , and step 1.1 is exactly where those two fixed parameters, together with the edge bound, keep the intermediate explicit encoding polynomially short. Without a bound on the intermediate encoding length the composition of two polynomial-time algorithms need not be polynomial time in the original input length.
- The edge blowup multiplies and the gap maps compose in the order the reductions are applied; no constant is lost. Later items of this page use the lemma with the degree-reduction map and the powering map.
Degree reduction by expander incidence clouds
Definition
Fix the alphabet of Constraint graph and labeling value, a total ordering of used for plurality tie breaking, and the reverse-paired degree- expander family with unnormalized edge expansion at least for that is used in Constraint graph regularization.
Let be a binary constraint graph over in the published convention. The degree-reduction map is the following deterministic construction, which is the published cloud-and-overlay preprocessing read as a map on explicit encodings.
- If , output the empty graph over , which has value one.
- Otherwise delete isolated vertices, and replace every vertex of degree by a cloud of its incidence ports, so that each original edge contributes its two distinct ports, a loop contributing two distinct ports at its vertex. Put a copy of inside the cloud, with equality relations on all its edges, and keep one external edge for each original edge, joining its two designated ports and carrying the same relation in the same endpoint order. The result is the cloud graph of Constraint expander overlay; it has degree and vertices.
- On the ports add a copy of with tautological relations and ordinary tautological loops at every port, i.e. loop slots, to obtain the registered graph . By the published count, is -regular with vertices and ordinary edges, its normalized adjacency satisfies , and its alphabet is still .
The decoding map sends a labeling of (equivalently of , on which it depends only through the ports) to the labeling of that assigns to each original vertex the most frequent label among the ports of its cloud, breaking ties by the fixed ordering; deleted isolated vertices receive the first symbol of . This is the plurality decoding of Constraint graph regularization.
Every step is a fixed function of the explicit input encoding: listing the adjacency lists, copying relation tables and adding tautological slots takes time and output length polynomial in the input encoding length, and the output parameters , , , depend only on the fixed family and on . The map is the first of the two transformations composed in A complete uniform graph gap-amplification step; its quantitative unsatisfiability guarantee is stated and proved there, not here.
Cloud violations control distance to plurality labels
Statement
Let be a binary constraint graph over the fixed alphabet with , let be its cloud graph as constructed by the degree-reduction map Degree reduction by expander incidence clouds, and let be any labeling of the ports of with corresponding plurality decoding . Write for the number of ports whose label differs from the decoded label of their original vertex , and let and count the equality edges inside clouds and the external edges that are violated by . Then where is the number of ordinary edges of violated by the decoded labeling .
Facts & Assumptions
Given: a binary constraint graph with over the fixed alphabet, a labeling of its cloud graph , the decoded labeling , and the counts above.
For any labeling of the cloud graph of a nonempty-edge constraint graph , decode each original vertex by its cloud's plurality label, using fixed tie breaking. Let count the ports disagreeing with that label, and let count violated internal equality and external edges. Then and with , where is the decoded violation count in (Cloud plurality rounding).
The cloud graph of the degree-reduction map has one port per incidence, a copy of with equality on every internal edge inside each cloud, one external edge per original edge joining the designated ports, and the same alphabet ; the fixed alphabet ordering is used both for the plurality choice of and for the tie-breaking in the published rounding bound (Degree reduction by expander incidence clouds).
Proof
The cloud graph and the decoding used here are the ones of [F2], with the same alphabet ordering and the same equality and external relations. Substituting into the first inequality of [F1] gives .
If some cloud contains no port at all, then it contributes neither ports nor edges to the counts; the second inequality of [F1] is a statement about all clouds simultaneously and covers this case. It gives , including and including the case in which the decoded labeling fails an external edge whose two ports carry labels constant on their clouds.
Both displayed inequalities therefore hold for every labeling of the ports of , with the constants and read off from the published rounding argument; no additional hypothesis on beyond is used.
Remarks
- This item is the page-local interface of the published rounding bound: its content is the published argument of Cloud plurality rounding, cited here with the page's notation, not re-derived. It lets Degree reduction preserves unsatisfaction quantitatively cite the cloud decoding estimate by ID without restating the construction.
- The hypothesis is inherited from the cloud construction: the edgeless input is handled by the separate empty-output convention of Degree reduction by expander incidence clouds, where there are no clouds and both sides of each inequality are zero.
Degree reduction preserves unsatisfaction quantitatively
Statement
Let be a binary constraint graph over the fixed alphabet with , and let be its degree-reduced graph as constructed by Degree reduction by expander incidence clouds. Then is -regular over the same alphabet, has vertices and exactly ordinary edges, is produced from the explicit encoding of by a deterministic algorithm in polynomial time, and with its unsatisfiability satisfies perfect completeness and the quantitative bound Consequently , with the empty output on edgeless inputs, is a complete uniform gap-preserving reduction in the sense of Complete uniform gap-preserving CSP reductions with output alphabet , output degree bound , blowup and gap map .
Facts & Assumptions
Given: a binary constraint graph over the fixed alphabet with , its cloud graph and its degree-reduced graph , and .
The full preprocessing graph of a graph with edges has vertices, degree and ordinary edges over the same alphabet; it has loops at every vertex and . With and , For every port labeling , and . Construction and plurality decoding take polynomial time, and the edgeless convention has unsatisfiability zero (Constraint expander overlay).
The degree-reduction map is deterministic: on an edgeless input it outputs the empty graph over , and otherwise it outputs the graph of the cloud-and-overlay construction, listing the explicit expander adjacency lists, copying the relation tables and adding the slots of the overlay, in time polynomial in the encoding length of the input; the decoding map is the fixed plurality decoding of the construction (Degree reduction by expander incidence clouds).
A complete uniform gap-preserving reduction with output alphabet , output degree bound , blowup and gap map satisfies: and when ; edgeless inputs go to edgeless outputs; implies ; with nondecreasing, and for ; and runs in polynomial time (Complete uniform gap-preserving CSP reductions).
Proof
By [F3] the map is deterministic and polynomial time, and by [F1] its output is -regular over with vertices and ordinary edges. For these counts satisfy and , the vertex bound because .
Perfect completeness: if then the second inequality of [F1] gives , and unsatisfiability is nonnegative, so . The edgeless case is the empty-output convention of [F3].
For the quantitative bound, let be any labeling of , decoded to on . By [F1], , and by the definition of the minimum over labelings, . Hence for every , and minimizing the right side over gives
The gap map is nondecreasing, satisfies and is positive for , and together with steps 1.1, 1.2 and 1.3 it makes , with the empty output on edgeless inputs, a complete uniform gap-preserving reduction with output alphabet (fixed), output degree bound , blowup and that gap map, in the sense of [F4]. For the edgeless input both the input and the output have unsatisfiability zero, so the gap inequality holds trivially there.
Remarks
- The constant is not improvable by this proof: the factor is exactly the loss accumulated by the cloud rounding inequality and the uniform edge rescaling from to slots in [F1]. Later items absorb it into their own constants, which is why A complete uniform graph gap-amplification step carries a smaller .
- Fact [F2] is declared because the published derivation of the decoding inequality in [F1] runs through the cloud rounding bound; the page records that bound as its own interface so that the code and tester branches can cite it.
Constraint graph powering with local-view labels
Definition
Let be a binary constraint graph over the alphabet in the convention of Constraint graph and labeling value, whose underlying graph is -regular in the adjacency-slot convention of Regular multigraph and normalized adjacency, and let be an integer. Put A lazy step at a vertex is the choice of one of the options: one of hold options (the walk stays at ) or one of the slots at (the walk traverses that slot). A lazy walk of length is a sequence of independent uniform lazy steps; its transition matrix is with the normalized adjacency of the graph, so each step holds with probability and otherwise traverses a uniformly chosen slot. Since the graph is regular, the uniform distribution on is stationary, and the count of lazy walk patterns of length starting at is .
Write for the set of lazy-walk patterns of length , a set of cardinality independent of the starting vertex. A pattern read from a vertex determines the sequence of visited vertices and the slots traversed. The local-view alphabet of the powering is that is, a view is a function assigning a symbol of to every length- pattern. Fix the lexicographic order on patterns induced by the option order. For vertices at graph distance at most , let be the lexicographically first pattern read from that ends at ; this set is nonempty because a path of length at most can be padded by holds. Its cardinality is .
The powered graph . Its vertex set is ; the label of a vertex is a view . For every length- pattern , starting vertex , and copy bit , create a directed incidence slot; reading from gives the visited vertices , and the slot joins to . Pair it with the slot for the reversed pattern read from and copy bit . This fixed-point-free pairing duplicates every walk slot, as required to represent the adjacency-slot power as an ordinary undirected multigraph even when a walk is fixed by reversal. The relation table in the orientation is the one given below; the paired reverse orientation carries its transpose. Let be the central window of positions, of size , symmetric about the midpoint . The edge relation in the orientation of the pattern from to consists of all pairs such that for every whose step is a move along a slot of , the pair belongs to the relation of in its orientation . The canonical patterns exist because and , so both endpoints lie within radius of their respective view centres. Hold steps impose no condition.
Every vertex has exactly incident slots, so is -regular with . The pairing gives ordinary edges and the same number of relation tables, equivalently directed incidence slots. Sampling a uniform ordinary edge and orienting it by its unique copy- incidence slot is therefore equivalent to choosing a uniform start vertex and a uniform length- pattern; its violation probability is . Since and are fixed, is a fixed finite alphabet; each table is a subset of the fixed finite set , computable by the displayed rule, so the number of table entries is , while endpoint names and paired-slot indices require bits each. Thus the explicit bit encoding has length . Enumerating the patterns, computing their endpoints and canonical coordinates, and writing the fixed-size relation tables takes time polynomial in the explicit input and output bit lengths.
Remarks
- Convention bridge. This is the Arora-Barak §18.5.1 convention: views cover the ball of radius , powered slots are length- walks, and the central window has positions. Dinur's §6 uses walks of length with views of radius and a window of positions. The two parameterizations are translations of one another, but their numerical constants are not interchangeable; every later item on this page states its bounds in the present convention, and the lazy walk introduced here is the one used throughout.
- The reversal pairing is consistent with the published endpoint convention: position reverses to , the endpoint views swap, and each tested base relation is transposed. Thus the reverse-pattern table is the transpose of the original table, exactly as Constraint graph and labeling value requires. If a walk pattern is fixed by reversal, its central option is a hold and the mirrored move tests pair in transposed pairs; its table is therefore symmetric, so the two copy-bit incidences define one well-formed loop edge.
- Each view records one canonical coordinate for each vertex of the radius- ball; a middle-position constraint reads those coordinates for the two endpoints of its tested base edge. The canonical coordinate removes any dependence on the placement of holds, while plurality decoding still counts distinct walk patterns with multiplicity.
- The role of this construction in the page is the powering step of A complete uniform graph gap-amplification step; the companion item Graph power and walk constraint records the underlying one-step power convention, in which a walk predicate is a conjunction of the original edge relations along the walk.
Canonical local views preserve perfect satisfiability
Statement
Let be a -regular binary constraint graph over , let and let be its powered graph as in Constraint graph powering with local-view labels. If satisfies every edge of , then the canonical lift defined by is a labeling of that satisfies every slot of ; in particular whenever . The same holds with repeated vertices, hold steps and loops, and no hypothesis on beyond is used.
Facts & Assumptions
Given: a -regular binary constraint graph over , an integer , its powered graph with view alphabet , central window and slot relations as in the powering definition, and a labeling of that satisfies every edge.
A view is a function ; a directed incidence slot of is indexed by a length- pattern read from a vertex and a copy bit, visits , joins to , and its relation table is determined by the starting vertex and the pattern (with the base graph fixed), independently of the copy bit. That table accepts the pair of views exactly when for every whose step is a move along a slot , the pair lies in the relation of ; the two canonical patterns exist because their endpoints lie within radius of their view centres, and hold steps impose no condition (Constraint graph powering with local-view labels).
For an edge with endpoints in the specified order, a labeling satisfies exactly when ; loops are tested on the repeated label and a labeling satisfies when it satisfies every ordinary edge (Constraint graph and labeling value).
Proof
For each and each pattern the endpoint of read from is a well-defined vertex, so is a function , i.e. an element of ; hence is a labeling of .
Let a directed incidence slot of be given by a pattern from , a copy bit, and visited vertices , and let be such that is a move along a slot . The coordinate ends at and ends at by definition. Since the canonical lift labels every pattern by its endpoint, and ; the copy bit does not alter the relation or these coordinates.
Since satisfies every edge of , the pair lies in the relation of the slot in its orientation , whether or not is a loop; by step 2.1 the pair of views reads exactly this pair at position , so the slot of accepts . Position was an arbitrary member of the central window and the slot was arbitrary, so satisfies every slot of , and therefore when .
Remarks
- The lift is a function of the base labeling and the explicit pattern list; it makes no choice. Repeated occurrences of one vertex in a pattern all receive the same symbol of that vertex, which is why consistency across the central overlap is automatic here.
- The converse direction is not claimed: satisfying labelings of need not be lifts. That gap is what the plurality decoding and collision analysis of the following items address.
Plurality decoding of powered local views
Definition
Let be a binary constraint graph over the finite nonempty alphabet whose underlying graph is -regular in the adjacency-slot convention of Constraint graph and labeling value, let , and let be its local-view powered graph with view alphabet , pattern sets , length and central window as in Constraint graph powering with local-view labels. Fix once and for all a total order on , and write below for the least element in that order.
Let be a labeling of ; its value at a vertex is the view at . For vertices with , write for the canonical length- pattern from to fixed in Constraint graph powering with local-view labels.
Claims. Let and let be a lazy-walk pattern read from that ends at . Since , the canonical pattern exists, and the view at assigns it a symbol ; we say that the view at claims the value for via . The claim depends on the endpoint , not on the placement of holds in .
Plurality decoding. For and put the number of length- patterns from whose endpoint's view claims for , divided by the total number of such patterns. Equivalently, is the law of the claimed value for : if a pattern is drawn uniformly at random from , the view at its endpoint claims for with probability . The plurality decoding of the powered labeling is the labeling that is, the least symbol, in the fixed order on , that is claimed for with maximal probability. We call the decoded label of and the opinion distribution of .
Remarks
- Patterns are counted with multiplicity. Distinct patterns with the same endpoint contribute separate votes, while repeated visits inside a single pattern do not create extra votes; no uniform vote over distinct centres is taken. This is Dinur's "popular opinion" [display (4) of §6] and the Arora-Barak "plurality assignment" of §18.5.1, both of which average the claim of the endpoint of a random walk of the decoding length, with multiplicities.
- Tie breaking is part of the definition. The order on is fixed once on the page, so the decoding is a function of the powered labeling and of the fixed explicit data of : it makes no choice, and it is computable from the explicit encoding of by counting patterns, since is a constant once and are fixed.
- The relation and decoding use the same canonical coordinate. The decoding consults a view at only at , the same coordinate that a powered slot relation reads for the base vertex at a middle position. Distinct length- patterns with the same endpoint therefore contribute the same claim value but are still counted with their pattern multiplicity.
- The decoding is defined for every labeling of , canonical lifts included: for the canonical lift of a base labeling , every pattern from ends at a vertex whose view claims for , so is concentrated on and .
Nearby lazy-walk lengths have close endpoint and claim laws
Statement
Let be a binary constraint graph over whose underlying graph is -regular in the adjacency-slot convention of Constraint graph and labeling value, and use the lazy-walk convention of Constraint graph powering with local-view labels: a lazy step at a vertex chooses uniformly among options, the hold options and the slots at that vertex, and a lazy-walk pattern of length is drawn uniformly from . Put For let be the number of non-hold options of a uniformly random lazy-walk pattern of length read from a vertex ; for every . Then:
- Binomial closeness. For all integers with ,
- Transfer to walk statistics. A lazy-walk pattern determines its endpoint from its sequence of non-hold options. For any fixed labeling of the powered graph with its fixed view radius and lengths , the view at that endpoint claims for its start the value at the canonical coordinate specified in Plurality decoding of powered local views. Thus the claimed value, like the endpoint, is a function of the non-hold option sequence alone. Let denote the value claimed for by the view at the endpoint of a uniformly random lazy-walk pattern of length from . Then for and , The same endpoint-law bound holds for arbitrary positive lengths satisfying the displayed window condition, without a radius restriction.
- The window used by the powering analysis. If and , then , uniformly in the start vertex and in the labeling of .
Facts & Assumptions
Given: a -regular binary constraint graph in the stated convention, its lazy-walk patterns, a vertex , lengths , and the statistic of the claimed value defined above.
A lazy step at chooses uniformly among the options consisting of hold options and the slots at ; the steps of a lazy-walk pattern are independent, the pattern set has elements, the transition matrix is , the uniform distribution is stationary, and reversal of a pattern interchanges its start and endpoint (Constraint graph powering with local-view labels).
For any and pattern from ending at , the view at claims the value for , where is the fixed canonical pattern from to ; is this claimed value for a uniformly random (Plurality decoding of powered local views).
Proof
A pattern records at each coordinate whether it is a hold or a move, together with the chosen option within that type. For each , there are patterns with exactly moves, so . Conditional on , the sequence of the move slots is uniform among the slot sequences; hold-option identities and the set of hold positions do not affect it. In particular does not depend on .
Write and , and let . Then and , while ; hence is nonincreasing in . Moreover is increasing because , so [L1] gives . For even this yields . For odd with , it gives , since squaring the last inequality reduces to ; and . Thus in every case .
The endpoint of a pattern is determined by its sequence of non-hold options, and the claimed value of [F2] is the value of the fixed canonical coordinate from that endpoint back to . Hence both the endpoint and the claimed value are functions of the non-hold option sequence alone.
Pascal's rule gives , so . The sequence rises to its maximum and then falls, so its total variation is at most and hence .
For the triangle inequality for total variation and step 2.2 give by the monotonicity and the bound of step 1.2; the case is the same with the roles exchanged, which proves claim 1 with in the denominator.
Let with and be given, and couple and maximally, so that they differ with probability . Conditionally on , use the same uniform slot sequence of length from in both experiments, which is legitimate by the conditional uniformity of step 1.1 and the fact that the endpoints and claimed values are functions of that sequence by step 2.1. This couples and to agree except on an event of probability at most the binomial total variation, and endpoints are coupled in the same way; claim 2 follows from step 3.1.
If and , then the window constant gives and hence . Also for , so and , so claim 2 applies. It gives . This proves claim 3 uniformly in and in the powered labeling.
Remarks
- The lemma is stated for the binomial law of the number of moves rather than for the non-lazy walk of a fixed length, because the lazy convention of Constraint graph powering with local-view labels makes the hold positions independent of the moves; this couples endpoints and the canonical-coordinate claims using the same move sequence. Dinur's Lemma 6.4 proves the analogous binomial weight-ratio estimate for the non-lazy distribution with , and Arora-Barak's printed p. 374 uses the statistical-distance form with the constant for a window of size ; the constant above is the exact constant supplied by the central binomial asymptotic.
- No hypothesis on the graph beyond -regularity is used: the lemma compares laws of walks of different lengths on the same graph and involves neither the spectral gap nor the alphabet. The alphabet enters only through the final constant of claim 3, which fixes the admissible window width.
- The transfer claim is stated for the claimed-value statistic because that is the consumer's need in Plurality opinions agree with local views in middle positions; the endpoint version is the special case in which the statistic forgets the endpoint's view coordinate.
Plurality opinions agree with local views in middle positions
Statement
Let be a binary constraint graph over whose underlying graph is -regular in the adjacency-slot convention of Constraint graph and labeling value, let , let be its powered graph with walk length , central window and view alphabet , and let be any labeling of with plurality decoding (Plurality decoding of powered local views). Write so that , and let be the corresponding sub-window of the central window; it is nonempty, since .
Draw a uniformly random ordinary edge of and orient it by its unique copy- incidence slot; equivalently, choose a uniformly random start vertex and a uniformly random lazy-walk pattern , giving the visited vertices . Then for every and every slot of from to (every one of the slot options at , loops included, and no hold option), where the two coordinates are the canonical patterns specified by the slot relation of Constraint graph powering with local-view labels. In words: whenever a powered walk traverses a fixed slot at a middle position of the window , the two endpoint views report the decoded plurality labels of that slot's two endpoints with probability bounded below by a positive constant depending only on . The bound is uniform in the slot, in the position, in the graph, in and in the powered labeling.
Facts & Assumptions
Given: a -regular binary constraint graph over , an integer , the powered graph with parameters , a labeling of with decoding , a position and a slot of from to .
Under the sampling convention of Constraint graph powering with local-view labels, a uniformly random powered edge oriented by its unique copy- incidence slot is a uniformly random start vertex and length- pattern; its step options are independent and uniform, and reversal pairs its copy- incidence with the copy- incidence of the reversed pattern (Constraint graph powering with local-view labels).
For any and uniformly random lazy-walk pattern of length from a vertex , let be the value claimed for by the view at the endpoint of , namely where is the endpoint and is the canonical pattern from to ; the opinion distribution of the decoding is , and maximises , so (Plurality decoding of powered local views).
If , , and , then ; consequently whenever , uniformly in the start vertex and in the labeling (Nearby lazy-walk lengths have close endpoint and claim laws).
Proof
Condition on the -th lazy step of the sampled representative walk being the option at ; this forces . The coordinates of other than the -th are still independent uniform options, the constraint links only the prefix coordinates through the requirement that the prefix ends at , and it does not involve the suffix coordinates . Hence, conditionally, the suffix read from is a uniformly random lazy-walk pattern of length , the prefix is a uniformly random pattern of length from ending at , the two are independent, and is the start of that prefix. Reversal is a bijection from patterns of length ending at to patterns of length starting at , and preserves the uniform law on each such set, so the reversed prefix is a uniformly random lazy-walk pattern of length from . For we have , , and both lengths differ from by at most .
By the powering definition, the relation reads the canonical coordinates and . The reversed prefix from ends at , so the first coordinate has the law of by [F2]; the suffix from ends at , so the second has the law of . The prefix and suffix patterns are independent under step 1.1, so the two claimed values are independent.
By [F2] the decoding satisfies , and by [L1], applied with and , the law is within total variation of because and ; hence . The same computation with and gives , since and .
Multiplying the two conditional probabilities of step 2.2 and using the conditional independence of step 2.1 gives the bound for the event that both endpoint views report the decoded labels of and . This holds for every and every slot of , with constants depending only on and not on the graph, on , on the position or on the powered labeling, and it covers loops through .
Remarks
- Both endpoints are needed and the tested position is central. The slot relation of Constraint graph powering with local-view labels tests at position the canonical coordinate at the view on the first vertex for and the canonical coordinate at the view on the last vertex for ; that is why the argument conditions on the walk through the two endpoints of the traversed slot and not on a single random walk. The position always belongs to .
- The sub-window is a genuine restriction. Item [L1] loses only of probability over lengths , so the constant survives; over the whole central window of width the loss is a positive constant and the argument would fail for large alphabets. The promise of A complete uniform graph gap-amplification step is unaffected, because still has positions and every slot violation detected at a position of is a violation of the powered slot.
- Numerical form of the window. By definition of , , so the window is centred at and is nonempty for every .
- The claim is stated conditionally on the traversed option rather than unconditionally, because the consumer Powering amplifies a small unsatisfaction gap must multiply it by the probability that a stationary lazy walk traverses a given violated slot; that probability is computed there.
Violated-edge positions have controlled collisions
Statement
Let be a binary constraint graph over in the convention of Constraint graph and labeling value whose underlying graph is a finite -regular adjacency-slot multigraph on vertices with normalized adjacency and normalized second eigenvalue bound (for put ), as in Regular multigraph and normalized adjacency. Let be a set of ordinary edges of (loops allowed), put , let , and consider a uniformly random lazy-walk pattern of length read from a uniformly random start vertex, in the lazy-walk convention of Constraint graph powering with local-view labels. Let be the event that the -th lazy step of this pattern traverses an edge of . Then Consequently, on the small-gap range for an absolute constant , the constant depending only on , and . Both bounds are uniform in ; for both sides vanish.
Facts & Assumptions
Given: a -regular binary constraint graph with as above, a set of ordinary edges, including possible loops, with , an integer , and the events of the random lazy-walk pattern.
A lazy step at a vertex chooses uniformly among the options consisting of the hold options and the slots at that vertex, the steps are independent, and the transition matrix of one lazy step is , for which the uniform distribution on is stationary; a lazy-walk pattern of length read from a start vertex is a uniformly random element of (Constraint graph powering with local-view labels).
The underlying graph has slots and ordinary edges, uniform directed-slot sampling induces the uniform distribution on the ordinary edges, and each vertex has exactly outgoing slots; a nonloop ordinary edge contributes one slot at each of its two endpoints, and loops have two slots at the same vertex (Regular multigraph and normalized adjacency).
Any ordinary edge of is a relation in a specified endpoint order; fractions of satisfied or violated edges are computed with respect to the ordinary edges (Constraint graph and labeling value).
For any initial probability vector and integer , with , in the ordinary Euclidean norm (Expander walk contraction).
For vectors in a real or complex inner product space, (Cauchy–Schwarz: , with equality exactly for linearly dependent vectors).
Proof
By [F1] the start vertex is uniform and every lazy step preserves the uniform law, so the position before the -th step is uniform for every , and : with probability the step is a hold, and otherwise it uses one of the directed slots with uniform marginal law, of which belong to , by [F2].
If , every event is empty and both bounds in the statement are zero, so assume . Fix and let be the law of the position after step conditioned on , and let have , so that in the ordinary Euclidean inner product. In the stationary walk each of the slots of is traversed with the same probability, so the traversed slot under is equally likely to be any of them. Thus , with the number of slots of at . Since , . Also and , so in the same Euclidean norm . Consequently .
Since and leaves the mean-zero subspace invariant with operator norm by [L1], expanding gives for every ; here and . Splitting and applying [L2] in the ordinary Euclidean norm with step 2.1 yields , since .
Multiplying by and summing over gives , which is at most because for . For the term is at most , so the sum is at most , and for all the events are empty and both displays vanish.
Remarks
- What is counted. is the event that the -th lazy step traverses an edge of (a move, never a hold option); the collision estimate therefore also bounds the overlaps of the smaller events of Powering amplifies a small unsatisfaction gap, which require in addition that the two endpoint views report the decoded labels of the edge. Loop edges are allowed in : a loop has two slots at its vertex, so and the incidence bounds of step 2.1 remain correct, and a loop step keeps the walk at its vertex while still testing the relation on the two claims of the two endpoint views.
- Where the small-gap hypothesis enters. The term is dominated by exactly when is bounded, which is the range of the powering analysis; the other term is the spectral contribution and is already for fixed spectral gap. The dependence on the spectral gap is through only, and not through any power of .
- The lazy convention halves the first moment but leaves the collision structure intact: the ratio has the same shape as the walk-return bound of the published expander items for the non-lazy walk, with ; the argument above re-derives it for because the published contraction lemma is stated for .
- The bound is uniform in : no lower bound on is used beyond in the case , and the case is the vanishing case .
Overlap control gives a union lower bound
Statement
Let be finitely many events in a probability space, put , and suppose that for a real number Then Both quantities vanish when ; no hypothesis is imposed on the individual probabilities beyond , and the bound is uniform over all finite families with the stated overlap ratio.
Facts & Assumptions
Given: events on a probability space, the sum , and a real with .
For vectors in a real or complex inner product space, ; applied to the indicator functions of two events in of a finite probability space this is the inequality for random variables, and for a nonnegative integer-valued it gives , since off the event (Cauchy–Schwarz: , with equality exactly for linearly dependent vectors).
Proof
Let count the events that occur. Then is integer valued, with by linearity of expectation, and .
Expanding the square, , so taking expectations and using the hypothesis gives , a finite bound.
If then with , so every , almost surely, and both sides of the claimed inequality are zero; assume from now on. Applying [L1] to and to the indicator of gives . Dividing by the positive number gives , which is the claim.
Remarks
- The hypothesis is a ratio condition, not a smallness condition on the intersections separately: the bound is useful exactly when is uniformly bounded, and then it loses only the factor relative to the first moment .
- The Arora-Barak form of the same estimate (Claim 18.34) counts elements of finite sets, makes copies of each element and reduces to inclusion-exclusion, with the weaker constant and a hypothesis on the diameter of the set system; the probabilistic second-moment computation above is the convention of this page, and it applies directly to the events of Powering amplifies a small unsatisfaction gap, whose pair overlaps are controlled by Violated-edge positions have controlled collisions.
- The constant is sharp already for two disjoint events: then , and the union has probability exactly .
Powering preserves perfect satisfiability
Statement
Let be a binary constraint graph over with whose underlying graph is -regular in the adjacency-slot convention, let , and let be its local-view powered graph (Constraint graph powering with local-view labels). If , then ; equivalently implies . This is perfect completeness; the quantitative lower bound for positive gaps is given, under its additional hypotheses, by Powering amplifies a small unsatisfaction gap. Perfect completeness does not assert .
Facts & Assumptions
Given: a -regular binary constraint graph over with at least one edge, an integer , its powered graph , and the assertion .
For a labeling of and , is the fraction of ordinary edges of satisfied by ; hence holds exactly when satisfies every edge of (Constraint graph and labeling value).
If satisfies every edge of , its canonical lift is a labeling of that satisfies every slot of ; consequently whenever (Canonical local views preserve perfect satisfiability).
where the maximum runs over all labelings of , and has at least one slot because has at least one slot (Constraint graph powering with local-view labels, Constraint graph and labeling value).
Proof
Since and is nonempty, there is a labeling of with , and by [F1] such a satisfies every edge of .
By [F2] applied to the labeling of step 1.1, the canonical lift satisfies every slot of , so and hence ; since is a maximum of fractions, and .
Remarks
- The gap need not be monotone under powering: take one vertex with one ordinary loop whose relation is empty, so and . At the walk length is three and . Any move tests the empty relation and fails, while the all-hold patterns pass vacuously. Each step holds with probability , so every powered labeling has value and .
- Nothing is assumed about beyond , and no hypothesis on the powered labeling is needed: the lift is built from with no choice, so the statement is itself choice-free.
- The edgeless case is deliberately excluded here and is instead governed by the convention that an edgeless graph has value one and unsatisfiability zero (Constraint graph and labeling value); the degree-reduction map of Degree reduction by expander incidence clouds sends edgeless inputs to edgeless outputs, for which the powered graph is again empty.
- The converse also holds for perfect satisfiability, even though a satisfying powered labeling need not be a canonical lift. If satisfies , put . For any oriented base edge , consider the length- pattern that holds times at , traverses , then holds times at . Its central position belongs to , and its test is exactly . Thus satisfies every base edge, including loops. The quantitative estimate Powering amplifies a small unsatisfaction gap concerns arbitrary, possibly imperfect powered labelings.
Powering amplifies a small unsatisfaction gap
Statement
Let , let be a finite alphabet with , and let be a constant. Then there are a constant depending only on , and an integer with the same dependence, such that for every , every binary constraint graph over whose underlying graph is -regular in the adjacency-slot convention with and normalized second eigenvalue bound , and every labeling of the powered graph of Constraint graph powering with local-view labels, In particular, if for a constant then , and for larger gaps the lower bound saturates at . No parity hypothesis on is needed in this parameterization: the powered slots have length and the analysed window is symmetric about the midpoint . The bound is uniform in the labeling .
Facts & Assumptions
Given: integers and ; a finite alphabet with ; a -regular binary constraint graph over with and ; a labeling of the powered graph .
For a labeling of , is one minus the fraction of ordinary edges satisfied, and ; for a labeling of , is the fraction of ordinary edges violated, equivalently the violation probability for a uniformly random edge oriented by its unique copy- incidence slot (Constraint graph and labeling value, Constraint graph powering with local-view labels).
The plurality decoding of satisfies for every , where is the law of the value claimed for by the view at the endpoint of a uniformly random lazy-walk pattern of length from (Plurality decoding of powered local views).
Draw a uniformly random powered edge oriented by its unique copy- incidence slot, equivalently a uniform start and a uniform lazy-walk pattern . With and , for every with and every slot of from to , the probability that both and , conditioned on the -th lazy step of being the option , is at least (Plurality opinions agree with local views in middle positions).
For any set of ordinary edges of with , with the event that the -th step of a uniformly random lazy-walk pattern of length from a uniform start vertex traverses an edge of , one has (Violated-edge positions have controlled collisions).
If finitely many events satisfy for some , then (Overlap control gives a union lower bound).
Proof
If then the right-hand side is zero and there is nothing to prove, so assume . Let be the plurality decoding of and put , so by [F1]; let be the set of edges violated by , of size . Choose a set as follows: if let be any subset of with , and otherwise let for some single violated edge . Writing and , in both cases , and . Put and . Since , this interval lies inside ; since , , and the integer positions give , so .
For in the window of step 1.1 and let be the event that the -th lazy step of the sampled representative walk traverses a slot of the edge carrying the relation in its specified endpoint order (for a loop, either of its two slots), and that both endpoint views report the decoded labels of the endpoints of . In the uniform powered-edge model of [F3] the position before the -th step is uniform, so each of the slots of is traversed by that step with probability , and combining this with the conditional bound of [F3] gives . Moreover implies that the sampled powered edge is violated: the tested pair at position is exactly the pair of decoded labels at the endpoints of , and this pair fails because violates .
Let be the event that the -th lazy step of the sampled representative walk traverses an edge of . If and then , a single step traversing one edge only; otherwise . The consecutive lazy steps in the central sub-window have the law of a length- lazy walk from a uniform start: the walk starts uniformly and the uniform distribution remains stationary at the beginning of this sub-window, while its step choices are independent. Thus [F4] applies to this block and this , and .
Summing the bound of step 2.1 over the positions and the edges gives , and the events and the collision sum are finite, so [F5] is applicable. Applying it with the ratio gives .
Two regimes. If then and hence , where . If then , so and with . Every implies that the sampled powered edge is violated, so , and because for while , both regimes give with and .
Remarks
- The two regimes are the two halves of the promise. For the union bound loses only the constant and delivers ; for the same computation yields a constant lower bound, which dominates because that quantity is at most . This is exactly Dinur's Lemma 6.1 with , and it is what makes the iteration of A complete uniform graph gap-amplification step terminate in rounds.
- The window is a sub-window of the central window. The positions used lie in and number , so every event is a violation of the powered slot relation and the sub-window still gives the gain. Over the full central window the middle-position lemma would lose a constant and the collision term would grow.
- Where each constant comes from. depends only on : through and the factor of the collision bound, and through in the same bound. No dependence on , on , on or on the labeling remains, and the proof chooses nothing beyond the subset and the slot of each edge, both of which are fixed deterministically.
- The statement above is uniform over labelings of , including non-liftable ones; that is the content of the decoding step 1.1, which replaces an arbitrary powered labeling by one base labeling at the cost of the factor in .
A complete uniform graph gap-amplification step
Statement
Fix a finite alphabet with and put , , and let be the constants of Powering amplifies a small unsatisfaction gap for , this and , the spectral bound of Constraint expander overlay. For every integer there is a complete uniform gap-preserving reduction in the sense of Complete uniform gap-preserving CSP reductions, defined on binary constraint graphs over of arbitrary degree, with
- , where is the degree-reduction map of Degree reduction by expander incidence clouds and is the local-view powering of Constraint graph powering with local-view labels;
- output alphabet of size , output degree bound , and blowup ;
- gap map with and , so and hence implies ;
- perfect completeness: implies , and edgeless inputs are mapped to edgeless outputs;
and is deterministic and runs in time polynomial in the bit length of the explicit encoding of . The constants and the parameters depend only on and , never on or . This is a single powering step, not the fixed-alphabet PCP iteration: the alphabet grows with , and no claim is made here about reducing it.
Facts & Assumptions
Given: a finite alphabet with , integers and , , and the constants of Powering amplifies a small unsatisfaction gap for , and .
is a complete uniform gap-preserving reduction for the fixed input alphabet and arbitrary input degrees, with output alphabet , output degree bound , blowup , gap map , and polynomial running time; on inputs with its output is -regular with vertices and ordinary edges over and normalized second eigenvalue bound at most (Degree reduction preserves unsatisfaction quantitatively, Constraint expander overlay, Degree reduction by expander incidence clouds).
For a -regular graph with vertices, the powered graph has vertex set , two paired incidence slots for each of the pairs (start vertex, pattern), degree , and ordinary edges; its normalized adjacency is the length- lazy-walk transition matrix, and its view alphabet is with . Explicit relation tables are computable by enumerating patterns and tables, so is produced in time polynomial in its explicit encoding length (Constraint graph powering with local-view labels).
If then (Powering preserves perfect satisfiability).
For every labeling of , whenever and is -regular over with normalized second eigenvalue bound at most and at least one edge (Powering amplifies a small unsatisfaction gap).
A complete uniform gap-preserving reduction has arity two throughout, maps edgeless inputs to edgeless outputs, obeys and on nonempty inputs, and its parameters depend only on the fixed input parameters and on the reduction itself (Complete uniform gap-preserving CSP reductions).
Proof
If is -regular over with at least one edge, [F2] gives a powered graph on vertices, degree , and , since . Also . Completeness is [F3], the gap bound is [F4], and the construction is explicit and polynomial for fixed by [F2]. This establishes the powering facts on the regular intermediate graphs used below.
The gap map of the composite is with as in [F1]; writing gives with and .
Define . If , [F1] gives a -regular intermediate graph with vertices, so [F2] gives , degree , and because ; the vertex bound follows as well. Completeness follows by [F1] and [F3]. Applying [F1] and then [F4] gives the gap map of step 2.1. If , the first map returns the empty graph and the powered output is empty, so the empty-input, completeness, and gap-at-zero clauses hold. The construction is deterministic and polynomial time: [F1] computes the intermediate graph in polynomial time and its size is for fixed , after which [F2] enumerates a fixed number of patterns per vertex and writes fixed-size tables. Thus satisfies the clauses of [F5] directly, without applying a composition theorem whose second-stage domain is larger than the regular range used here.
The alphabet size obeys with , which is at most ; the degree and blowup are both ; and the gap inequality for inputs with follows from the gap map of step 2.1 and the monotonicity of . This proves every clause of the statement, with the stated dependence of all constants on and only.
Remarks
- The loss factor of the page is here. The factor of Degree reduction preserves unsatisfaction quantitatively is absorbed into and into the saturation threshold , exactly as the promised claim allows; no other quantity of the composite depends on the internal constant of the cloud construction. The saturation threshold is inherited from the of the powering lemma, scaled by the degree-reduction loss.
- Not yet a PCP reduction. The output alphabet grows like , and the output degree also grows with ; both are constants for fixed , which is what the statement needs, but a fixed-alphabet PCP requires the alphabet-reduction step that is owned by the following page. The obligation is recorded in the coverage record of this page rather than discharged here.
- Determinism. The reduction enumerates all patterns and all relation tables instead of sampling them, so no random choices and no choice principle are used; the graph family inside is the explicit one supplied by the published expander construction. The pair is fixed by listing the patterns in a fixed order, which also fixes the tie-breaking order used by the plurality decoding of Plurality decoding of powered local views.
Explicit binary codes of constant rate and distance
Definition
Throughout this page, for the relative Hamming distance between is and the relative distance of a subset with is , while a subset with exactly one element has relative distance by convention.
A binary code family is a sequence of maps for , each injective, with an integer length function . Its rate at is . The family is explicit with constant rate and constant distance when there are absolute constants , , such that for every and each encoder is computable by one deterministic algorithm in time polynomial in , uniformly in : the algorithm takes together with as input and writes the output bits.
Remarks
- Explicit here means the same convention as for constraint graphs in Complete uniform gap-preserving CSP reductions: the output is written bit by bit, so that the running time is measured against the length of the produced codeword plus the input length, and a family is uniform when one algorithm serves all . Nothing is claimed about the parity-check matrix, the decoder, or the existence of a fast decoder.
- The padding convention is part of the definition: the code is defined for every with its own length , and a construction that first pads to some convenient length and then encodes is admissible only when the resulting length is and the analysis of injectivity and distance is done for the padded map, as in A polynomial-time explicit constant-rate constant-distance code.
- Rate and distance trade off, and both constants above are absolute: the page needs so that a constraint system whose variables are the message bits and whose size is measured against stays linear in , and it needs so that a constant fraction of the encoded bits witnesses every error in a message. The padded construction of A polynomial-time explicit constant-rate constant-distance code achieves and rate greater than with ; is the rate before padding.
- The relative distance of a code is a minimum over pairs of codewords and is defined to be one for a one-element code so that the convention matches the relative-distance convention for testers, where an empty solution set is assigned distance one (Assignment tester and rejection ratio).
Reed-Solomon outer code and binary linear inner code
Definition
Fix an integer and put and . Choose, by scanning the monic polynomials of degree over in a fixed order and testing each for irreducibility by trial division against all monic polynomials of positive degree at most , the first monic irreducible of degree ; by For every finite field and every , a monic irreducible polynomial of degree exists such an exists, and the scan is deterministic and takes time polynomial in . Set a field with exactly elements by For every prime and , a field with elements exists and A simple algebraic extension is its minimal-polynomial quotient and has power basis and degree , in which the classes of form a power basis; write for the resulting bit encoding, which is a bijection, and list the elements of in the order induced by on the binary representations of the exponents.
The outer code. The Reed-Solomon outer code encodes a message , read as the polynomial of degree less than , into the word the evaluation at all field elements in the fixed order above. It is -linear of dimension over , hence bits of message and bits of outer codeword.
The inner code. A binary linear inner code of rate is a fixed injective -linear map written on messages as for a binary matrix , the generator matrix; its existence with relative distance at least is the content of Conditional expectation constructs the inner code deterministically and the construction is uniform in .
The concatenated code. Let be the generator matrix of an inner code as above. The concatenation encodes a message , split as with , in two steps: form the outer word , and output the concatenation of . Its output is a string of bits, its input is bits, and it is injective because and each of is. It is the code used by A polynomial-time explicit constant-rate constant-distance code.
Remarks
- Determinism. The field is not presupposed: the definition names the first irreducible polynomial of degree in a fixed enumeration, so the field, its power basis, the order of its elements, the Reed-Solomon evaluation points and the bit encoding are all functions of alone and involve no choice. The time to find is polynomial in , because testing irreducibility of one degree- polynomial by trial division costs field operations and at most polynomials are tried.
- Two different alphabets. The outer code is linear over and the inner code over ; the concatenation is a binary code, and its parameters are computed in Concatenation multiplies rate and relative distance. The rate of the outer code is and the rate of the inner code is , so the concatenation has rate .
- The inner code is part of the data of the definition rather than a canonical object: any matrix produced by the uniform procedure of Conditional expectation constructs the inner code deterministically gives the same parameters, so all statements of this page are independent of which of these matrices is used. The convention of Explicit binary codes of constant rate and distance is used for rate and relative distance.
Reed-Solomon outer code has constant rate and distance
Statement
Let , and , and let be the Reed-Solomon evaluation code of Reed-Solomon outer code and binary linear inner code. Then is injective, its rate over the alphabet is , and its relative Hamming distance over is at least that is, distinct codewords differ in at least coordinates. In the bit metric of Explicit binary codes of constant rate and distance applied to the words encoded by the power-basis map this is a statement about -symbols; the binary distance of the concatenated code is computed separately in Concatenation multiplies rate and relative distance.
Facts & Assumptions
Given: integers , , , the field with its fixed listing of the elements, and the evaluation code .
is a field with exactly elements; the code sends a message to the word where has degree less than , evaluated at all elements of the field in the fixed listing; the map is -linear (Reed-Solomon outer code and binary linear inner code).
A nonzero polynomial of degree over an integral domain has at most distinct roots in that domain (A nonzero polynomial of degree over an integral domain has at most distinct roots).
Every field has no zero divisors, so a field with its ring structure is an integral domain (A field has no zero divisors: or ).
Proof
Let be two distinct messages and let be the associated polynomials. Then because the coefficient vectors differ, and it is a polynomial of degree at most , so by [L1] applied over the field , which is an integral domain by [L2], it has at most roots; equivalently for at most of the evaluation points .
Among the coordinates of the two words, therefore, at least differ; the code is injective because , and its relative distance is at least . With this is .
The message space has elements and the rate over is the dimension divided by the length, ; the input and output sizes in bits are and respectively.
Remarks
- The count is exact for the evaluation code: the bound is attained by polynomials vanishing on evaluation points, so the distance cannot be improved by this method, but only the lower bound is used on this page.
- The alphabet here is , not the binary alphabet: the lemma is a statement about the outer code alone, and the passage to binary distance is the content of Concatenation multiplies rate and relative distance, which uses the injectivity and distance of the inner code. The case is included: then , , and the code is the length-two repetition code over , with rate and relative distance .
A random inner linear code has fewer than one bad word in expectation
Statement
Let , let be a uniformly random binary matrix whose entries are independent fair bits, and let denote Hamming weight in . Then the expected number of nonzero with satisfies Consequently, with positive probability a random matrix has no such , and the map of every such matrix is injective with relative distance at least and rate , in the conventions of Explicit binary codes of constant rate and distance. The deterministic construction of such a matrix is the content of Conditional expectation constructs the inner code deterministically.
Facts & Assumptions
Given: an integer , the uniform random matrix with independent fair entry bits, and the set of nonzero .
For the Hamming weight of is the number of nonzero coordinates, and the relative distance of two binary words of length is their Hamming distance divided by (Explicit binary codes of constant rate and distance).
If are independent Bernoulli variables with sum and mean , then for , (A Chernoff bound for sums of independent Bernoulli trials).
On a finite probability space the expectation of a sum of random variables is the sum of the expectations, and the expectation of an indicator is the probability of its event (Expectation of a real random variable on a finite probability space, The expectation of an indicator is the probability of the event).
A finite family of classes of events is independent when the probability of every finite intersection of chosen events factors as the product of their probabilities; events determined by disjoint blocks of independent coordinates therefore factorize (Independent families of event classes).
Proof
Fix and let be the -th coordinate of , so in and . For fixed the row of has at least one free coordinate in the support of , and the entries of the row are independent fair bits, so is a fair bit; distinct rows involve disjoint blocks of entries and are independent, so is an independent family of Bernoulli variables by [L3].
Applying [L1] to this family with , , and gives , and since weights are integers, .
By [L2] the expectation of the number of bad is the sum of the probabilities over the nonzero , hence at most ; since , this is strictly less than .
A random variable with expectation takes a value , so some matrix has no with ; for such the weight of is at least for every nonzero , whence and is injective, with relative distance at least and rate in the conventions of [F1].
Remarks
- The strict inequality is what produces relative distance rather than the weaker ; it is also what makes the counting bound rather than , which is needed in step 4.1 to conclude existence without any tie.
- The argument uses only the nonzero messages and the fairness of the row functionals; the value is chosen so that the mean of the weight is twice the threshold , giving the Chernoff exponent and the base . With rows replaced by rows for a constant , the same computation gives the base , which is less than exactly when ; the positive root of that quadratic is about , so the same estimate tolerates any number of rows with above that root, and is the convenient integer choice.
- The positive-probability statement is already enough for a non-uniform existence claim; the point of Conditional expectation constructs the inner code deterministically is to make the matrix computable rather than merely existent.
Conditional expectation constructs the inner code deterministically
Statement
For every integer there is a deterministic algorithm which, given , runs in time polynomial in and outputs a binary matrix such that for every nonzero . Hence is an injective -linear map of rate and relative distance at least , in the conventions of Explicit binary codes of constant rate and distance, the same algorithm serves every , and the output matrix is a function of alone, with no random choices.
Facts & Assumptions
Given: an integer , the number of entries, and the identification of binary matrices with the points of by listing the entries in a fixed order.
For the uniform random matrix on and one has ; indeed (A random inner linear code has fewer than one bad word in expectation).
On a finite probability space with weights, the expectation of a real random variable is the weighted sum ; on the uniform weights are (Expectation of a real random variable on a finite probability space).
For binary words, Hamming weight and relative distance are as in the code conventions; an injective linear map with minimum nonzero weight at least has relative distance at least and rate (Explicit binary codes of constant rate and distance).
Proof
For a partial assignment of the first entries let be its fiber and define the average of over the fiber. Then by [F2], and for every because is the disjoint union of the two fibers and , which have equal size ; this is the elementary averaging identity for finite sums.
Fix and . A row is determined for when all coordinates in the support of have already fixed, in which case the -th bit of equals the known value ; otherwise that bit is a fair coin, because at least one of its summands is an undecided uniform bit and the bits of distinct rows are independent. Writing for the number of determined rows whose determined bit is and for the number of undetermined rows, the conditional law of over the uniform fiber is ; hence , a number of the form with a nonnegative integer.
Define a path of partial assignments by and, for , if and otherwise, so ties go to the branch; this is a deterministic choice. The averaging identity of step 1.1 gives at every step, hence by [F1].
The terminal fiber is a single matrix , so is a nonnegative integer strictly below , hence equal to : the produced matrix satisfies for every nonzero .
For the running time, evaluating for one partial assignment means summing the conditional probabilities of step 1.2; for each , the support, the numbers and and the binomial tail are computed in operations using a precomputed table of the binomial coefficients for , and all arithmetic is exact on integers of bits, so one evaluation costs and the whole path costs operations, which is polynomial in . By step 3.1 the output has for all , so it is injective and has rate and relative distance at least by [F3].
Remarks
- The argument is the method of conditional expectations in its finite form: no conditional expectation as an abstract object is needed, only the identity that the average over a fiber is the average of the averages over the two half-fibers. That is also why the procedure is deterministic: the two candidate values are computed exactly, not estimated.
- The inner code is produced in time polynomial in , which is polynomial in the message length of the concatenated code of Reed-Solomon outer code and binary linear inner code because that message length is . The procedure is uniform in , so no choice of a matrix is made anywhere on the page: every consumer uses the matrix output for its own .
Concatenation multiplies rate and relative distance
Statement
Let , , , let be the Reed-Solomon outer code with rate and relative distance at least , and let be the inner encoding of Conditional expectation constructs the inner code deterministically, injective and linear of rate and relative distance at least , so that for every nonzero . Then the concatenated code of Reed-Solomon outer code and binary linear inner code, which encodes bits into bits, is injective with For the outer parameters of Reed-Solomon outer code has constant rate and distance and the inner parameters of Conditional expectation constructs the inner code deterministically these are rate at least and relative distance at least .
Facts & Assumptions
Given: integers , , ; the bit encoding of the field, which is -linear by the power basis; the outer code with rate and relative distance at least ; an injective -linear with for .
The concatenated encoding sends a message to the word obtained by applying to each of the coordinates of the outer word ; it has input bits and output bits, and the field element has bit encoding the zero vector (Reed-Solomon outer code and binary linear inner code).
Relative distance of a code of length over an alphabet is the minimum, over distinct codewords, of the fraction of differing coordinates; over a binary alphabet the coordinates are bits. Rate is the input length in bits divided by the output length in bits (Explicit binary codes of constant rate and distance).
Distinct messages of have outer words differing in at least coordinates, and distinct messages have distinct outer words (Reed-Solomon outer code has constant rate and distance).
The map is linear and injective with for every nonzero ; in particular has rate and relative distance at least (Conditional expectation constructs the inner code deterministically).
Proof
The concatenated encoding is injective: if two messages had the same concatenated word, then their outer words would agree in every coordinate, since is injective and the blocks of the concatenation are read off coordinatewise; but distinct messages have distinct outer words by [L1, F1]. Moreover the rate is , because the outer code has -symbols ( bits) and the concatenated word has blocks of bits.
Let be distinct messages with outer words , and let be the set of differing coordinates, of size at least by [L1]. For the field element has nonzero bit encoding by linearity of , so the block difference is a nonzero word of weight at least by [L2].
The blocks indexed by occupy disjoint sets of coordinates of the concatenated word, so the total Hamming distance between the two concatenated words is the sum over of the block weights, at least ; dividing by the word length gives relative distance at least , and with the outer and inner parameters this is at least while the rate is .
Remarks
- Both factors are honest minima. The outer distance loses a factor in the number of surviving coordinates and the inner distance loses a factor in the surviving bits per coordinate, and the product is exactly the product of the relative distances; nothing is lost to the intermediate field or to the choice of inner matrix, because the inner map is linear and injective and its blocks are disjoint.
- The lemma is stated for the concrete outer and inner codes of this page, but the proof uses only [F1], [F2], [L1] and [L2], so the same computation applies to any outer code with rate and relative distance whose alphabet is identified with and any injective linear inner code with parameters .
A polynomial-time explicit constant-rate constant-distance code
Statement
There is a deterministic uniform binary code family in the sense of Explicit binary codes of constant rate and distance, with each encoder computable by one algorithm in time polynomial in . Thus the definition of an explicit constant-rate constant-distance family is met with , and , and these three constants are absolute.
Facts & Assumptions
Given: an integer , the family of concatenated codes of Reed-Solomon outer code and binary linear inner code indexed by , and the constants , .
For every the concatenated code of Reed-Solomon outer code and binary linear inner code encodes bits into bits; it is defined after choosing the first irreducible polynomial of degree in a fixed enumeration and the inner matrix produced by the uniform procedure of Conditional expectation constructs the inner code deterministically, and its bit encoding of field elements is the power-basis encoding .
The Reed-Solomon outer code has rate and relative distance at least (Reed-Solomon outer code has constant rate and distance).
The inner code is injective and linear of rate and relative distance at least , and the matrix is produced deterministically in time polynomial in (Conditional expectation constructs the inner code deterministically).
The concatenation of an outer code of rate and relative distance with an injective linear inner code of rate and relative distance has rate and relative distance at least (Concatenation multiplies rate and relative distance).
A binary code family with , rate at least and relative distance at least , encoded by one deterministic algorithm running in time polynomial in , is an explicit constant-rate constant-distance family (Explicit binary codes of constant rate and distance).
Proof
Define to be the least integer with ; it exists because , and for minimality gives . Given , pad it by zeros to the length and apply the concatenated encoding of [F1], whose output length is .
For we have , using ; hence . The case occurs exactly for , where . The rate of the padded -bit family is ; is the rate of the full concatenated code before restricting it to padded messages. The relative distance remains at least by [F2], [F3] and [F4], because restricting an injective code to padded messages cannot decrease its minimum pairwise distance.
The family is injective: the padding is injective and the concatenated encoding is injective by [F4]. It is uniform and deterministic: is determined by , the field and its bit encoding by [F1], the inner matrix by [F3], and no step uses randomness.
The running time is polynomial in : because for ; the degree- irreducible polynomial is found by scanning at most monic polynomials and testing each by trial division, in field operations; evaluating the outer code at all field elements costs field operations; the inner matrix is computed in time polynomial in by [F3]; and applying it to the outer symbols costs . Since and , every term is polynomial in , so one algorithm serves all within polynomial time.
By [F5] the family, with its length function, rate, relative distance and polynomial-time uniform encoder verified in steps 2.1, 2.2 and 3.1, is an explicit constant-rate constant-distance binary code family with the stated constants.
Remarks
- The constants. The full concatenated code has rate , the product of the outer rate and inner rate . Padding the input bits changes that rate to because ; the distance bound is the product and survives restriction to padded inputs. None of these constants depends on .
- What is not claimed. The theorem asserts neither a decoder nor a parity-check description of the family, and it does not optimise the constants; the page needs only that a constant-rate constant-distance family with a polynomial-time uniform encoder exists, which is what Explicit binary codes of constant rate and distance asks for.
- Small lengths. The padding makes the family total: is encoded by the length- concatenation with , and the length-two repetition outer code of Reed-Solomon outer code has constant rate and distance, so no separate small-case convention is needed beyond the zero padding.
Assignment tester and rejection ratio
Definition
Constraint systems of bounded arity. Fix a finite alphabet containing distinguished, distinct symbols and , identified with the Boolean bits, and an integer . A constraint system of arity at most over consists of a finite variable set together with a finite list of constraints, each constraint being an ordered tuple of variables of length , repetitions allowed, together with a relation . A labeling satisfies such a constraint when , and the fraction of satisfied constraints, defined to be when the list is empty; and . For this is the value convention of Constraint graph and labeling value: a constraint on two distinct variables is an edge carrying its relation in the displayed endpoint order, a constraint on a repeated variable is a loop, and duplicated constraints correspond to duplicated edges. There, and throughout, relations are explicit tables.
Circuits with named inputs. A Boolean circuit of size over the basis of Boolean circuits: basis, fan-in, size, and depth is given together with a specified list of of its input coordinates, so that an input is a string , and accepts when some assignment to the remaining input coordinates makes the designated output evaluate to one under the circuit gate rules, as in Circuit satisfiability. Write for the set of accepted inputs. For put the relative Hamming distance on the named coordinates, and define when . For the cube has one element, so is or according to whether accepts; for and nonempty the minimum is over a nonempty finite set and always lies in .
Assignment tester. An assignment tester with alphabet , arity bound and rejection ratio is a map sending each pair as above to a constraint system of arity at most over whose variable set contains the named input coordinates, , such that with :
- (Perfect completeness.) If then there is with .
- (Proximity soundness.) For every and every ,
The two clauses are the completeness and soundness clauses of Complete uniform gap-preserving CSP reductions read at the level of a fixed input: perfect completeness says that an accepted input extends to a fully satisfying labeling of the whole system, and proximity soundness says that the violation fraction witnessed by any labeling is at least times how far the given input is from acceptance. Since always, the soundness clause is implied by the stronger requirement that every has for all ; the definition states the proportional form, which is what the amplification and composition arguments of this page use.
The definition itself imposes no bound on or on the time needed to produce it. When those are needed one says that the tester is uniform (or has output size ) if is computed by a deterministic algorithm running in time polynomial in the bit length of the explicit description of and, respectively, if the number of variables and constraints of is at most times a constant depending only on the fixed parameters; all constant factors below depend only on and on the family of constructions, never on or .
Remarks
- Distinct from a global gap. A gap-preserving reduction compares of a whole instance before and after the map; an assignment tester compares, for one fixed input prefix, the violations forced on an arbitrary auxiliary labeling against the distance of that prefix from the accepted set. The two notions meet when the prefix is the empty function, and the composition of testers is what makes the constant-query PCP with named input coordinates available.
- The empty- convention matters. With on the soundness clause forces a positive violation fraction for every input, including the degenerate case where accepts nothing; without the convention the distance to an empty set would be undefined and the clause vacuous. The same convention makes the instancewise bound of Gate constraints are a weak assignment tester non-vacuous for unsatisfiable circuits.
- Multiplicity and order. The constraint list is a list, not a set: two identical constraints count twice in the value fraction, exactly as duplicated edges do in the constraint-graph convention. The displayed order of the variables of a constraint is part of the data, and reversing a tuple transposes its relation; a tester must fix the order of every constraint it emits.
Hadamard linearity constraint system
Definition
Let and let be a fixed table, in the conventions of The BLR linearity test over F_2. The Hadamard linearity constraint system is the constraint system of arity at most over the alphabet of Assignment tester and rejection ratio whose variables are the table coordinates — one variable per cube point, so — and whose constraint list contains, once for each ordered pair , the ternary constraint with variable tuple and relation the addition being modulo two. The list is a list, so constraints belonging to different pairs are counted separately even when they coincide as tuples.
Since range over the whole cube, the variable tuple of a constraint may repeat coordinates — for instance for the pair , and for — and the satisfaction rule of a constraint system is the substitution rule: the tuple is satisfied by a labeling exactly when , coinciding coordinates being read as the single symbol assigned to them. The same substitution covers the degenerate cases: the pair forces , and for the cube has one point, the list has the single constraint with tuple , and the system is satisfied exactly by the table .
Value and rejection probability. For a labeling of — that is, an arbitrary table — the fraction counts the satisfied constraints among the listed pairs, and . For the fixed table we write the rejection probability of the linearity system, which is exactly the BLR rejection probability of in the sense of The BLR linearity test over F_2: the pair is drawn uniformly in the test and the listed constraint at that pair is violated precisely when the test rejects. In particular a uniformly random constraint of the system involves the three coordinates and is checked with three table queries and random bits.
Perfect completeness. Every linear table passes. If for some , then for all the distributivity of the dot product over addition in gives , so every constraint of the system is satisfied and . The system is explicit: its constraint tuples and its single fixed relation table are enumerated by the displayed rule, and its size is determined by alone.
Remarks
- One constraint per test, not one per violation pattern. The system records multiplicity: the pairs and give two constraints, and a pair with still gives one constraint. This is what makes equal — not merely comparable — to the rejection probability of the sampled BLR test, and it is the convention used by the exponential-base tester of An exponential-size constant-query base assignment tester, where every random choice of the verifier is materialized as one constraint.
- Relation to the proximity definition. The system constrains table coordinates, not inputs of a circuit: in the language of Assignment tester and rejection ratio the whole cube of table positions is the auxiliary part of the variable set, and the rejection probability is the quantity the soundness clause controls. The distance of a table from the linear tables is a property of the labeling of these coordinates, and BLR rejection is proportional to distance from linearity is the statement that the violated fraction is at least that distance.
- No random sampling is part of the definition. Sampling the pair is a way of estimating the value of an explicit, fully listed system; the system itself is deterministic and independent of any randomness, and it is produced by enumerating the pairs, which is polynomial in the size of the listing but exponential in as a description of requires.
BLR rejection is proportional to distance from linearity
Statement
For every and every , let be the BLR acceptance probability and the BLR rejection probability of The BLR linearity test over F_2, and let be the relative Hamming distance from to the nearest linear function, the minimum being over the nonempty finite set of linear functions. Then Equivalently, the fraction of violated constraints of the Hadamard linearity constraint system of Hadamard linearity constraint system is at least the distance of from . There is no restriction on the acceptance probability: the bound holds in the low-acceptance regime as well, and it holds in dimension .
Facts & Assumptions
Given: an integer and a fixed table , with and .
The BLR test chooses independent uniform and accepts exactly when ; its acceptance probability is denoted and is its rejection probability. The linear functions are with , the normalized distance is , and for the cube has one point and the sole linear function is (The BLR linearity test over F_2).
With one has , the sum being over the indices (The cubic Fourier identity for BLR).
The characters are orthonormal and Parseval holds: , with and (Character orthogonality, inversion and Parseval).
The Hadamard linearity constraint system lists one ternary constraint for each ordered pair with tuple and relation , has constraints, and the fraction of its constraints violated by equals the BLR rejection probability ; every linear table satisfies all its constraints (Hadamard linearity constraint system).
Proof
The index set is finite and nonempty for every , so exists; it is a signed maximum, attained at some index, and no absolute value is taken.
By [F2] and [F3], , because and for every index ; the sum has terms, and the inequality is preserved by the finite sum.
For each , since takes the value exactly where and exactly where , so and therefore , the minimum of the distances corresponding to the maximum of the coefficients.
Combining steps 2.1 and 2.2, . This is the claimed inequality, with no hypothesis on ; in particular it is available when , where the acceptance-based form of BLR soundness imposes no restriction on .
By [F4] the fraction of constraints of violated by the table equals , so step 3.1 says exactly that this violated fraction is at least ; the system has constraints of arity over , and the statement of the theorem is the conjunction of the two formulations.
Degenerate and extremal cases. For we have , so and : if then and the single constraint of the system is satisfied, while if then , matching the constraint being violated. For a linear table every constraint is satisfied by [F4], so . The inequality is not in general an equality: for and one has and for all , so every constraint is violated and , while and for give .
Remarks
- What the bound does and does not say. The inequality is one-sided: it converts a large distance into a large rejection probability and says nothing about the converse, and the example shows the two quantities can differ by a factor two. Read backwards it recovers the classical form of BLR acceptance implies agreement with a linear function, which concludes agreement with a linear function from acceptance above one half; the present statement covers all acceptance probabilities, including the ones for which that conclusion is vacuous.
- Why the signed Fourier maximum is the right object. Step 2.2 identifies with where is the largest coefficient, and step 2.1 bounds by the same ; both the geometry of the nearest linear table and the acceptance probability are controlled by that single signed maximum. A maximum of would not do: the constant table has and is at distance from the only linear table of dimension zero, while .
- Use in the tester. The proportional form is what the exponential-base tester of An exponential-size constant-query base assignment tester needs for its first rejection family: a table that is not close to any linear function is rejected with probability bounded below by the constant distance threshold, and the Hadamard system of Hadamard linearity constraint system materializes the tests as explicit constraints.
Quadratic tensor consistency test
Definition
Let . For put the tensor product of the two vectors, and identify with through the fixed row-major order of the index pairs ; for the tensor product is the unique empty matrix and both cubes have the single point . A Hadamard table is a function on one of these cubes, in the conventions of The BLR linearity test over F_2: and are fixed tables, and the tensor of a vector with itself is the matrix of entries .
The ideal tensor test. Choose independently and uniformly, query , and , and accept exactly when , the right-hand side being the product in of the two queried bits, equal to precisely when both factors are . The test uses three table queries and random bits; query points may coincide, and for all three points are the empty index, so the test reads the two single-entry tables and accepts exactly when . The rejection probability of a pair is , over the two independent uniform choices with the tables fixed.
Perfect completeness. If , that is , and , that is with the coordinatewise-modulo-two dot product of The BLR linearity test over F_2, then for all the distributivity of the dot product gives , so the test accepts with probability one and .
The self-corrected implementation. When the tables are only close to linear rather than linear, the test is executed on decoded values: each queried value is replaced by a two-query self-correction with auxiliary points chosen uniformly and independently, with and uniform, in the convention of Two-query linear self-correction. The self-corrected tensor test accepts exactly when , with independent auxiliary points ; it uses six table queries — twice for each of its two decoded values and twice — and random bits for the independent choices . The two tests differ only in reading the tables at auxiliary points instead of at the queried points; when the tables are linear the readings agree for every choice of the auxiliaries, since then and .
Remarks
- Why the tensor form is the right consistency condition. A tensor table claiming to encode is consistent with encoding exactly when ; by the displayed bilinearity the test at compares the two bits and , where is read as a matrix, so the rejection event is the event , a rank-one condition that Quadratic tensor test rejects an inconsistent tensor quantifies by the half-cube principle. The test is the quadratic analogue of the linearity test The BLR linearity test over F_2, applied to the product structure rather than to addition alone.
- Ideal and noisy parts are separated on purpose. The ideal test is a mathematical condition on exactly linear tables and its rejection probability is what the soundness analysis computes; the self-corrected test is the constant-query implementation available to a verifier that knows only that the tables are close to linear, and its additional error is bounded by the self-correction failure probabilities. The definition fixes the queries, the auxiliary distributions and the acceptance rules of both, and states no error bound: that is the content of Quadratic tensor test rejects an inconsistent tensor.
- Multiplicity and order. The coordinates of are ordered row-major and is indexed by that fixed order; the pair ranges over all ordered pairs, so an unordered pair of vectors contributes the two outcomes and whose tensors transpose one another. The product is symmetric in its arguments while need not be, which is why the ordered form is the one materialized by the tester of An exponential-size constant-query base assignment tester.
Quadratic tensor test rejects an inconsistent tensor
Statement
Let , let and let be read as a matrix, with the matrix of entries and the matrix of entries . Suppose . Then:
- (Ideal test.) The ideal tensor test of Quadratic tensor consistency test applied to the linear tables and , where , rejects with probability at least :
- (Self-corrected test.) If instead and are arbitrary tables at distances from and respectively, then with auxiliary points drawn independently as in the self-corrected tensor test, In particular, whenever the self-corrected test rejects with probability bounded below by the positive constant , and for this is at least . More generally, if an ideal test using values from tables each within distance of a specified linear table rejects with probability at least , then replacing those values by self-corrections makes it reject with probability at least .
Facts & Assumptions
Given: an integer , vectors , with , independent uniform , and the ideal and self-corrected tensor tests of Quadratic tensor consistency test.
The ideal tensor test accepts exactly when , with independent uniform; for linear tables , the two sides are and (Quadratic tensor consistency test).
For linear tables, , and , the matrix having entries (Quadratic tensor consistency test).
For every nonzero vector the linear function takes the value on exactly half of the cube ; equivalently, two distinct linear Boolean functions disagree on exactly half the cube (Character orthogonality, inversion and Parseval).
If a table has distance from a linear function , then is the unique linear function at distance less than , and at every fixed requested point the two-query self-corrector returns at that point with probability at least (Pointwise correctness under less than quarter noise, Two-query linear self-correction).
The self-corrected tensor test replaces each of the three queried values by a two-query self-correction with independent auxiliary points and accepts exactly when the corrected values satisfy the tensor equation (Quadratic tensor consistency test).
Proof
The difference is a nonzero matrix over , so some column of is nonzero; fix such a column and let be that column, a nonzero vector with for every row vector .
By [F3] applied to the nonzero of step 1.1 the functional equals on exactly half of the cube, so the set of with has probability at least , because makes the row vector nonzero.
Conditioned on any fixed with the map is a nonzero linear functional of , so by [F3] it equals for exactly half of the ; since is independent of , this conditional probability is for every such . For linear tables the ideal test rejects exactly when , and by [F2] the two sides differ by , a bit; hence rejection is the event and its probability is at least , which proves the first clause. For the hypothesis is empty, the one-point cube having as its only element.
For the second clause let be the event that all three self-corrections return the true linear values, namely , and ; by [F4] and the union bound , since each failure bound holds uniformly at every requested point. On the self-corrected test of [F5] reads exactly the values the ideal test reads at the same pair , so its outcome coincides with the ideal outcome. With the ideal rejection probability of step 3.1, the union bound, without an independence assumption between and , gives
Steps 3.1 and 4.1 are the two clauses of the statement. If the second bound is at least . For the general clause, let be the event that the specified ideal test rejects, so , and let be the event that all corrections return their specified linear values. The uniform bound of [F4] and the union bound give even when requested points depend on the test randomness. On the corrected test rejects, so . ∎
Remarks
- Where each factor of comes from. The proof needs two independent half-cube events: a nonzero row functional in , then a nonzero functional in . This is the random subsum principle in its two-variable form, cited from the character lemma rather than reproved, and it is the only probabilistic input to the ideal analysis; the value is exactly the product of the two halves and is therefore not improvable by this argument.
- Dependence of the corrected values. The auxiliary points are drawn independently, while the two query points within each correction are linked by the requested point. The union bound uses only the separate failure estimates, which hold for each requested point; it requires no independence between the correction event and the ideal rejection event.
- Why this suffices for the tester. The constant-query tester of An exponential-size constant-query base assignment tester tests tables that are promised to pass a -linearity test, so their distances from linear are at most ; with the bound of the second clause is at least , a positive constant independent of and of the tables. This is the sense in which the tensor test has soundness error bounded away from zero, and it is what the composition step later consumes.
Circuit satisfiability becomes linear-quadratic consistency
Statement
Let be a Boolean circuit with inputs and non-input gates over the basis of Boolean circuits: basis, fan-in, size, and depth, together with a list of named input coordinates. Then there are an integer and a list of equations in variables over , of the form such that:
- (Input prefix and size.) The variables are the named input coordinates , the next variables are the other input coordinates, and there is one variable per wire of ; each equation has at most four nonzero coefficients , the total number of nonzero coefficients is , and all of them are determined by the gate list of in time polynomial in the size of that list.
- (Exact extension.) For every , the circuit accepts if and only if there are with satisfying all equations. For each choice of all input bits, the gate equations determine a unique assignment to the gate wires, each being the value of the corresponding wire in the evaluation of on those full input bits; this assignment satisfies the additional output equation exactly when the circuit accepts that full input.
- (Random subsum.) If fails at least one of the equations, then for a uniform the single combined equation fails with probability at least ; here is the coefficient matrix placed in the coordinate pairs with , , and is the coordinatewise dot product of The BLR linearity test over F_2. Consequently, if is the Hadamard table of , a verifier can test the subsum with the one query , which it compares with the bit that it computes itself from the gate list.
Facts & Assumptions
Given: a Boolean circuit with inputs, including named inputs , and non-input gates and designated output, over the basis of Boolean circuits: basis, fan-in, size, and depth; the equations displayed below, in variables with ; and the tensor conventions of Quadratic tensor consistency test.
The gates of are NOT, AND and OR of fan-in at most two and the constants , and accepts the named prefix when some assignment to the other input coordinates makes the designated output evaluate to in the topological evaluation (Circuit satisfiability, Boolean circuits: basis, fan-in, size, and depth, Assignment tester and rejection ratio).
For the tensor has coordinate at the pair ; the coordinatewise dot product against a matrix supported on pairs with evaluates to , and for a vector the Hadamard table is (Quadratic tensor consistency test, The BLR linearity test over F_2).
If is a nonzero vector and is uniform in , then with probability exactly ; equivalently, distinct linear Boolean functions differ on half the cube (Character orthogonality, inversion and Parseval).
The arithmetic of has , so for bits the identities , , and hold, and (The BLR linearity test over F_2).
Proof
List the wires of in a topological order, starting with the named inputs , then the remaining inputs, and then the non-input gates, and create one variable for each wire, so that the first variables are exactly the named input coordinates and . Record the index of the designated output wire from the circuit description; it need not be the last wire in this order. This is a construction on the explicit gate list, and it uses no choices.
For every gate, in the topological order of the wire list of step 1.1, write one equation in the variables of its input wires and its output wire, and write one further equation for the designated output; all arithmetic is in :
Each equation is of the displayed form : the linear term is the diagonal coefficient (legitimate because for a bit), a product with is the coefficient at the unique pair with , and the constant on the right side is . Every gate equation has at most four nonzero coefficients (the OR equation has four), and the output equation has one, so the list has equations and at most nonzero coefficients, all read off the gate list of step 1.1 in polynomial time. [F4, given, step 1.1, construct]
Suppose accepts , choose an assignment to the other inputs witnessing acceptance and assign to every wire variable its value in the resulting full-input evaluation of . Then , and each equation of step 2.1 holds: for NOT, AND, OR and the constants this is exactly the evaluation rule in the identities of [F4], and the output equation holds because the designated output evaluates to . Hence the system has a solution extending ; it is the evaluation assignment of the circuit.
Conversely, suppose satisfies all equations and . We show by induction along the topological order that every wire variable equals the evaluation of its wire on the full input assignment encoded by . The input variables do by the definition of that assignment. For a gate whose input wires are already correct, its equation determines the output variable: the NOT equation gives , the AND equation , the OR equation , and the constant equations give , , all of which are the evaluation rules of [F4]. Thus every wire variable has its evaluated value, including the designated output wire; the additional output equation forces that value to be . Hence accepts by [F1], and once all input coordinates are fixed, the extension to the gate wires is unique: two solutions with the same full input assignment agree wire by wire in the same induction.
For the random subsum, fix any and put , so that says the -th equation is satisfied, and let ; by [F2] each , so and the combined equation of the statement holds exactly when . If fails at least one equation then , and [F3] makes with probability exactly over the uniform ; this is the claimed rejection probability, and the combined left side is for the Hadamard table of , so the whole test costs the single table query plus the computation of and from the gate list.
Steps 3.1, 3.2 and 3.3 are the three clauses of the statement: the construction of steps 1.1 and 2.1 gives the input prefix and the size bound, the pair of inductions gives the exact extension equivalence and uniqueness conditional on the full input assignment, and the subsum argument gives the constant rejection probability of a single tensor query; the circuit-to-system translation is deterministic and polynomial time in the gate list.
Remarks
- Why diagonal coefficients are legitimate. The equations are bilinear in the tensor , and in characteristic two the diagonal coordinate equals for a bit; this is how the linear terms of a NOT gate and the constants are written without adding a coordinate fixed to one. The upper-triangle support with the ordered-pair indexing of the tensor is the Arora-Barak convention, and it is what makes reproduce the quadratic form without a factor , which would vanish in .
- Exactness, not proximity. Clause 2 is an exact equivalence: every solution is the evaluation assignment for some completion of the named input prefix, so the system neither creates spurious satisfying inputs nor loses the accepted ones. The approximation enters only through the tables queried by the verifier, which are handled by the tensor test of Quadratic tensor test rejects an inconsistent tensor and the linearity test of BLR rejection is proportional to distance from linearity.
- One equation per gate plus one for the output. Constants and are wires of the circuit and contribute their own equations, so a circuit whose output is a constant has its acceptance encoded by the output equation. A well-formed circuit has a designated output wire: when this must be one of the input wires, while when a constant or other non-input gate supplies a wire; the impossible case is not part of the domain.
An exponential-size constant-query base assignment tester
Statement
There is an absolute constant with the following property. For every Boolean circuit with input coordinates, of which are named, and non-input gates over the basis of Boolean circuits: basis, fan-in, size, and depth, presented together with its input-coordinate list , the construction below produces a constraint system of arity at most over the fixed alphabet such that:
- (Input coordinates and size.) The variables of are the table coordinates of a table , the table coordinates of a table , with , together with the named coordinates ; the number of constraints is at most for a fixed polynomial , and the whole system is enumerated by a deterministic algorithm in time polynomial in that number, using no randomness and no choices.
- (Assignment tester.) is an assignment tester with alphabet , arity bound and rejection ratio in the sense of Assignment tester and rejection ratio: every accepted input extends to a labeling with , and for every and every labeling of the non-input variables, , where the input coordinates of the system are the named coordinates themselves.
Facts & Assumptions
Given: a Boolean circuit with inputs and non-input gates, its named input list , and the constants , , , .
The circuit yields, with the wire variables whose first entries are the named input coordinates, a list of equations with supported on coordinate pairs and with at most four nonzero coefficients each; a well-formed circuit with a designated output has ; for every input , accepts if and only if the system has a solution whose first coordinates are , in which case each solution is the evaluation assignment for some completion of the named inputs, unique once all input bits are fixed; if fails an equation then a uniform has with probability exactly , where and ; the construction is deterministic and polynomial time in the gate list (Circuit satisfiability becomes linear-quadratic consistency).
The BLR rejection probability of a table equals the fraction of violated linearity constraints of its Hadamard system and is at least its distance from the nearest linear function, with no restriction on the acceptance probability; if that distance is less than the nearest linear function is unique (BLR rejection is proportional to distance from linearity, The BLR linearity test over F_2, Pointwise correctness under less than quarter noise).
The ideal tensor test and its self-corrected implementation use three and six table queries respectively; if and are at distances from the linear tables and and , the self-corrected test rejects with probability at least (Quadratic tensor consistency test, Quadratic tensor test rejects an inconsistent tensor).
A two-query self-correction of a table at distance from a linear function returns at the requested point with probability at least (Pointwise correctness under less than quarter noise, Two-query linear self-correction).
A map from circuits to constraint systems is an assignment tester with alphabet , arity bound and rejection ratio when it contains the named input coordinates and satisfies the perfect-completeness and proximity-soundness clauses; the value of a constraint system is the fraction of its listed constraints satisfied, with multiplicity (Assignment tester and rejection ratio).
Proof
Apply the construction of [F1] to , obtaining the wire variables with the named input coordinates first, followed by the other input coordinates, the coefficient vectors and right sides for , and the exact extension equivalence. The output system of this step has the variables that is, one variable for every table coordinate of the two Hadamard tables together with the named input coordinates of the circuit; the intended labeling is , , the -th input bit, for the evaluation vector of an accepted input.
List the following five families of constraints on the variables of step 1.1, each constraint being the tuple of the variables displayed together with the fixed binary relation displayed, where sums are in , is the -th unit vector, and , , , range over all choices:
The families have , , , and constraints respectively, and every constraint has arity at most over ; each relation is an explicit table over the binary alphabet and is determined by the circuit. Put Each of the four nonempty power-of-two family sizes divides , and when the comparison-family size divides as well. Duplicate every constraint in a nonempty family exactly times. Thus every nonempty family contributes constraints; the comparison family is empty when , and the total is then , otherwise . Since a well-formed circuit has , gives and hence . Therefore the constraint count is at most for the fixed polynomial , with . Enumerating the families, the coefficient vectors and the right sides — computed from the gate list, not queried — takes time polynomial in that output count. [F1, F5, step 1.1, construct, algebra]
Perfect completeness. Let and choose a completion of the named inputs witnessing acceptance and let be its evaluation vector from [F1], with first coordinates . Label , and by the corresponding bit, so that and return the linear values at every point. Every and constraint is satisfied because linear functions satisfy the BLR equation, every constraint is satisfied by the perfect completeness of the tensor test, every constraint is satisfied because as solves every equation of [F1], and every constraint is satisfied because . Hence for that labeling.
First soundness case: suppose the table of a labeling is at distance more than from every linear function. Then the fraction of violated constraints is the BLR rejection probability of , which by [F2] is at least that distance, hence exceeds ; after duplication this is still the violated fraction of the family. Since the total is at most , the system as a whole violates at least of its constraints, and because . The same argument applies to the table and the family .
Second soundness case: suppose both tables are at distance at most from linear functions, say from and from in the unique sense of [F2], and . Then by [F3] the self-corrected tensor test rejects with probability at least , and the constraints are exactly the outcomes of that test, one for each choice of ; hence at least of them are violated and the system violates at least of its constraints.
Third and fourth soundness cases: suppose in addition . If the vector does not satisfy every equation of [F1], then the fraction of with is exactly by the random subsum clause, and for each such the fraction of auxiliary points with is at least by [F4] applied to the two uniform points and ; hence at least of the constraints are violated and the system violates at least of its constraints. If instead satisfies every equation, then by the exact extension equivalence of [F1] the input prefix lies in . For , writing gives , and for each such the auxiliary point is uniform and independent of everything else, so by [F4] the fraction of with is at least ; hence at least of the constraints are violated, whence the system violates at least . For , an equation-satisfying means the empty input is accepted by [F1], so and the required bound is immediate; if the empty input is rejected then every fails an equation and the preceding subsum case applies.
Steps 3.1, 3.2, 3.3 and 3.4 cover every labeling: either a table is more than far from linear (step 3.2), or both are within of linear tables with (step 3.3), or and fails an equation (step 3.4, first part), or satisfies every equation and the comparison family charges the distance of from (step 3.4, second part). In each case with , and step 3.1 gives perfect completeness, so by [F5] the constructed system is an assignment tester with alphabet , arity bound and rejection ratio ; its size, explicitness and construction time are those of step 2.1.
Remarks
- Where the exponential size is spent. The constraints are not sampled: every random choice of every test is materialized once, so the system contains and table coordinates and constraints, with . That is exponentially larger than the circuit but still of the form , which is what this base tester asserts. A polynomial-size composition requires an additional robust input-preserving interface beyond this item.
- Why the input coordinates are compared directly. The comparison family reads the raw coordinate as a variable of the system and compares it with the self-corrected value of at ; this is the only place where the given input, rather than the decoded wire vector, enters, and it is what turns the exact extension equivalence of [F1] into the proximity clause of the tester. A decoding that satisfies the circuit but differs from on a fraction of the coordinates therefore forces violated comparison constraints, the mechanism by which the rejection ratio becomes proportional to the Hamming distance rather than merely positive.
- The constant . The threshold is fixed before the construction and is smaller than , so the nearest linear decoders are unique; it also leaves in the tensor test and in the subsum and comparison families, both bounded away from zero. Any smaller absolute threshold would do; the value is not optimised, only kept an absolute constant for later composition work.
Gate constraints are a weak assignment tester
Statement
Let be a Boolean circuit with input coordinates, of which are named, and non-input gates over the basis of Boolean circuits: basis, fan-in, size, and depth. Then there is a binary constraint graph over the fixed alphabet of eight symbols, with the named input coordinates among its vertices, such that
- has ordinary edges, all relations being explicit tables of size at most , and both and its edge list are produced from the gate list of by a deterministic algorithm in time polynomial in ;
- satisfies the completeness and proximity inequalities of Assignment tester and rejection ratio with the instance-dependent bound : every accepted input extends to a satisfying labeling, and every input and auxiliary labeling satisfy . The input coordinates are labeled by the two designated symbols and of , identified with the bits of the input. As grows with , this alone does not give a fixed positive rejection ratio for the map on all circuits.
Facts & Assumptions
Given: a Boolean circuit with input coordinates including named coordinates , non-input gates (NOT, AND or OR, with fan-in at most two, and the constants ) and a designated output, in the conventions of Boolean circuits: basis, fan-in, size, and depth, and the assignment-tester conventions of Assignment tester and rejection ratio.
The wires of are its inputs and its non-input gates; they can be listed in a topological order in which every gate follows its input wires. For any assignment to all input coordinates, each wire value is determined by preceding wires; accepts a named-input assignment exactly when some assignment to the other input coordinates makes its designated output equal (Boolean circuits: basis, fan-in, size, and depth, Circuit satisfiability).
A binary constraint graph has a finite nonempty alphabet, one relation per edge in a fixed endpoint order, loops with two incidences testing , isolated vertices removable without changing the value, and value equal to the fraction of ordinary edges satisfied when there is at least one edge; duplicating every edge preserves the value fraction, and relations are explicit Boolean tables (Constraint graph and labeling value).
An assignment tester with alphabet and rejection ratio maps a circuit with named inputs to a constraint system containing those input coordinates, such that accepted inputs extend to labelings with unsatisfiability zero and every input and auxiliary labeling satisfy , where is the relative Hamming distance to the accepted inputs and equals when (Assignment tester and rejection ratio).
Proof
The gadget. Put , with designated symbols and ; the remaining six symbols are auxiliary. Take as vertices the wires of , listed in a topological order, together with one gate vertex per non-input gate; the wire vertices include the named input coordinates and are the only vertices whose alphabet is restricted to the two designated symbols. For each wire vertex add one loop edge with relation , restricting its label to a designated symbol. Write and for the designated symbols. For a gate with input wires and output wire let be the set of triples with the value of on the input bits , taking and for the one-input gate NOT, so that is a four-element table for AND and OR and the two-element table for NOT; for a constant gate let and let be its output wire. Add a loop edge at the gate vertex with relation , add edges from the gate vertex to and to with relations and , and add an edge from the gate vertex to with relation ; for a constant gate only is added, there being no input wire. Finally add a loop at the output wire with relation .
Size and explicitness. Each wire contributes one loop, each non-constant gate contributes one loop and three projection edges, each constant gate one loop and one projection edge, and the output one further loop; hence ordinary edges, and is a fixed eight-symbol alphabet with relations of at most entries. Every relation is one of the finitely many displayed tables determined by the gate type, so the edge list is written down from the topological gate list in time linear in .
Perfect completeness. If , choose an assignment to the other input coordinates witnessing acceptance, and label every wire vertex by its value in the resulting evaluation of , read as the designated symbol or , and label each gate vertex by the triple of the two input values and the output value of that gate. Then every wire label is designated, so the loops with relation are satisfied; each gate vertex carries a triple of its truth table, so its loop is satisfied; each projection edge is satisfied because the triple's coordinates are exactly the labels of the corresponding wire vertices; and the output loop is satisfied because the output evaluates to . Hence for that labeling, the completeness clause of [F3].
Soundness. Fix and an arbitrary labeling of the gate vertices and of the wire vertices other than the named inputs, and suppose all edges of are satisfied. Then every wire label is a designated symbol by the loops with relation . Read the labels of the unnamed input wires as an assignment to the other input coordinates. We show by induction along the topological order that each wire label equals the evaluation of that wire on this full input assignment: the input vertices have these values by construction, and for a gate whose input wires are already correct, its loop forces its label to be a truth-table triple of that gate, while the projection edges force and to be the labels of its input wires and to be the label of its output wire; hence the output wire of the gate carries the correct evaluated value. The induction terminates at the designated output wire, whose loop forces its label to be , so the output evaluates to and accepts by [F1]. Therefore if at least one edge is violated under every , that is ; and since always, with on by [F3], this gives .
Steps 2.1, 2.2 and 2.3 verify the size, explicitness, completeness and instancewise soundness clauses with , for the constructed graph over of arity , the input coordinates being the wire vertices of the named inputs labeled by the designated symbols. Since is unbounded across circuits, this is a weak, size-dependent proximity construction rather than a map with the fixed rejection ratio required by [F3].
Remarks
- Why the alphabet has eight symbols. A gate vertex must carry the two input bits and the output bit so that the projection edges can force the wires; that is the three-coordinate alphabet , and the wire vertices use only the two designated symbols, which is what makes the induction of step 2.3 go through. The six other symbols may legitimately label gate vertices when they belong to that gate's truth table, but no such symbol satisfies a wire loop , so it cannot fake an input or wire value.
- The rejection ratio is only inverse-linear. Its ratio would require verified constant-factor amplification steps to reach a fixed rejection ratio; the point of this construction is that its size is linear in the circuit rather than exponential. It is deliberately not the constant-ratio tester; An exponential-size constant-query base assignment tester supplies that one at exponential size. Combining these two testers at polynomial size requires an additional robust input-preserving composition interface.
- No randomness and no choice. The gadget is a fixed function of the gate list: the topological order is taken from the circuit description, the relations are the five displayed tables, and no vertex, edge or label is selected. In particular the construction uses no choice principle, and the identification of bits with designated symbols is part of the alphabet convention.
Repeating constraints amplifies the gap
Statement
Duplicating every constraint of a CSP instance the same number of times strictly increases its unsatisfaction fraction.
Facts & Assumptions
Given: the value conventions of Constraint graph and labeling value and a nonzero number of repetitions .
A constraint system consists of a finite list of constraints; for a labeling the value is the fraction of listed constraints satisfied, so duplicated constraints count with multiplicity, and with (Constraint graph and labeling value).
Gap-preserving reductions are compared through unsatisfaction fractions, so any operation that preserves the fraction of violated constraints for every labeling preserves of the system (Complete uniform gap-preserving CSP reductions).
Refutation
Let have constraints and let be the system obtained by listing every constraint of exactly times, . If , both lists are empty and the value convention of [F1] gives unsatisfaction zero for every labeling in both systems. If , fix a labeling and let be the number of constraints of violated by : the list has constraints and exactly of them are violated, so ; taking the minimum over labelings gives , never a strict increase.
The failure is nonvacuous. Take the alphabet , the one-vertex constraint graph with the two loops of Constraint graph and labeling value: the loop carrying the relation , which every labeling of satisfies, and the loop carrying the empty relation , which every labeling violates. Then has constraints, every labeling violates exactly one of them, and ; after repeating each constraint times every labeling violates exactly of the listed constraints, so for every .
So the false statement fails at the witness of step 1.2 for every , and by step 1.1 no instance whatsoever has its unsatisfaction fraction changed by an equal repetition of its constraints. What an amplification step needs instead is a change of the variables and constraints, not a reweighting of the existing list: the powering of Constraint graph powering with local-view labels and the comparison families of the assignment-tester construction are of this genuinely different kind.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Irit Dinur, The PCP theorem by gap amplification, §1.2-§1.3; Definition 1.2, Theorem 1.5 and Lemmas 1.6-1.8, pp. 4-7.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5 Definition 18.27 and Lemma 18.28, author-hosted draft.
- Irit Dinur, The PCP theorem by gap amplification, §1.3 and §3: the composed reduction (prep)ᵗ∘P, pp. 6-7 and 11-12.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5 Definition 18.27 (complete linear-blowup reductions).
- Irit Dinur, The PCP theorem by gap amplification, §4 Definitions 4.1-4.2 and Corollary 4.3, pp. 13-15.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 the 'nice' instances and the preprocessing of Lemma 18.29.
- Irit Dinur, The PCP theorem by gap amplification, §4 proof of Lemma 4.1, pp. 13-14.
- Irit Dinur, The PCP theorem by gap amplification, §1.3 Lemma 1.7 and §4 Corollary 4.3, pp. 6 and 15.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1: preprocessing to a regular expander, author-hosted draft.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Lemma 18.31 (powering), author-hosted draft.
- Irit Dinur, The PCP theorem by gap amplification, §1.2 graph powering and §6 Definition 6.1, pp. 5 and 20.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Lemma 18.31 part 2 (canonical assignment satisfies the powered instance).
- Irit Dinur, The PCP theorem by gap amplification, §1.2: UNSAT(G)=0 implies UNSAT(Gᵗ)=0, p. 5.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 (plurality assignment), printed p. 373.
- Irit Dinur, The PCP theorem by gap amplification, §6 (popular opinion), printed pp. 19-20.
- Irit Dinur, The PCP theorem by gap amplification, §6.1 Lemma 6.4 and Appendix A (binomial weight ratios), printed pp. 22-23 and 41.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1, printed p. 374 (endpoint distributions of t-step and (t+δ√t)-step walks are within statistical distance 10δ).
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Claim 18.32, printed pp. 374-375.
- Irit Dinur, The PCP theorem by gap amplification, §6 first-moment estimate (Lemma 6.2), printed pp. 21-23.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Claim 18.33, printed p. 376.
- Irit Dinur, The PCP theorem by gap amplification, §6.2 Proposition 6.5 and Lemma 6.3, printed pp. 23-24.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Claim 18.34 and its counting proof, printed pp. 376-377.
- Irit Dinur, The PCP theorem by gap amplification, §6 equation (7) and Fact 2.6, printed pp. 21-22.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Lemma 18.31 part 2, printed p. 373.
- Irit Dinur, The PCP theorem by gap amplification, §1.2 (UNSAT(G)=0 implies UNSAT(Gᵗ)=0), printed p. 5.
- Irit Dinur, The PCP theorem by gap amplification, §6 Lemma 6.1 and its proof (Lemmas 6.2-6.4), printed pp. 19-24.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Lemma 18.29 part 3 with Claims 18.32-18.34, printed pp. 372-377.
- Irit Dinur, The PCP theorem by gap amplification, §1.3 Lemmas 1.6-1.7 and §1.2, printed pp. 5-7.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5.1 Lemma 18.29 (graph gap amplification), printed pp. 371-373.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2 Definitions 17.16-17.17 (code distance, Reed-Solomon), printed pp. 346-347.
- Irit Dinur, The PCP theorem by gap amplification, §2.4 and §9 (codes used in the tester composition), printed pp. 10 and 30.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2 Definition 17.17 (Reed-Solomon code) and §17.5.3 Definition 17.19 (concatenation), printed pp. 347-348.
- Irit Dinur, The PCP theorem by gap amplification, §9 (Reed-Solomon concatenated with a binary inner code), printed pp. 29-30.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2 Lemma 17.18 (Reed-Solomon distance), printed p. 347.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2 Definition 17.17, printed p. 347.
- Irit Dinur, The PCP theorem by gap amplification, §9 (binary inner code with a probabilistic existence argument), printed pp. 29-30.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2 (distance of a code, counting bound), printed pp. 346-347.
- Irit Dinur, The PCP theorem by gap amplification, §9 (explicit binary inner code obtained by derandomizing the counting argument), printed pp. 29-30.
- Arora and Barak, Computational Complexity: A Modern Approach, §7.4 and §17.5.2 (method of conditional expectations; code distance), printed pp. 123-125 and 346-347.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.3 Definition 17.19 and Claim 17.20 (concatenation multiplies distance), printed p. 348.
- Irit Dinur, The PCP theorem by gap amplification, §9 (Reed-Solomon outer code concatenated with a binary inner code), printed pp. 29-30.
- Arora and Barak, Computational Complexity: A Modern Approach, §17.5.2-17.5.3 (Reed-Solomon and concatenated codes) and §19.2 (explicit codes), printed pp. 346-348 and 405-407.
- Irit Dinur, The PCP theorem by gap amplification, §9 (explicit binary code of constant rate and constant distance), printed pp. 29-31.
- Irit Dinur, The PCP theorem by gap amplification, §2 Definition 2.2 (assignment tester), printed p. 9.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.3 Corollary 18.25 and §18.5 Definition 18.27, printed pp. 368-369.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.1 Definition 18.22 and Theorem 18.23, printed pp. 363-364.
- Irit Dinur, The PCP theorem by gap amplification, §5 (Hadamard encoding and linearity tests), printed pp. 17-18.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.1 Theorem 18.23 and §19.3 Theorem 19.9, printed pp. 364 and 390-391.
- Irit Dinur, The PCP theorem by gap amplification, §5 (distance of a table from linearity), printed pp. 17-18.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.2 Step 2 of the verifier, printed pp. 382-383.
- Irit Dinur, The PCP theorem by gap amplification, §5 (tensor and consistency tests), printed pp. 17-18.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.2 Step 2 (rejection probability 1/4), printed pp. 382-383.
- Irit Dinur, The PCP theorem by gap amplification, §5 (consistency test), printed pp. 17-18.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.2 QUADEQ and Step 3 of the verifier, printed pp. 382-383.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.3 proof of Corollary 18.25, printed pp. 384-385.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.4.3 Corollary 18.25 (exponential-sized PCP of proximity), printed pp. 384-385.
- Irit Dinur, The PCP theorem by gap amplification, §5 Theorem 5.1, printed pp. 17-18.
- Irit Dinur, The PCP theorem by gap amplification, §9 proof of Corollary 9.3 (trivial assignment tester of rejection probability 1/|G_0|), printed p. 33.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5 (constraint graphs of bounded arity), printed pp. 369-371.
- Irit Dinur, The PCP theorem by gap amplification, §1.5 and the weight normalisation of constraints, printed pp. 4-6.
- Arora and Barak, Computational Complexity: A Modern Approach, §18.5, printed pp. 370-375.