Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6-sol)audited 2026-09-27
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.

Circuit satisfiability becomes linear-quadratic consistency

Statement

Let C be a Boolean circuit with s inputs and m non-input gates over the basis {NOT,AND,OR,0,1} of Boolean circuits: basis, fan-in, size, and depth, together with a list X=(x1,…,xn) of n≤s named input coordinates. Then there are an integer N=s+m and a list of m+1 equations in variables w1,…,wN over F2, of the form qk(w)=∑1≤i≤j≤NAk(i,j) wiwj  =  bk,Ak(i,j)∈F2,bk∈F2, such that:

  1. (Input prefix and size.) The variables w1,…,wn are the named input coordinates x1,…,xn, the next s−n variables are the other input coordinates, and there is one variable per wire of C; each equation has at most four nonzero coefficients Ak(i,j), the total number of nonzero coefficients is O(m+1), and all of them are determined by the gate list of C in time polynomial in the size of that list.
  2. (Exact extension.) For every x∈{0,1}n, the circuit C accepts x if and only if there are wn+1,…,wN∈F2 with w1⋯wn=x satisfying all m+1 equations. For each choice of all s input bits, the gate equations determine a unique assignment to the gate wires, each wℓ being the value of the corresponding wire in the evaluation of C on those full input bits; this assignment satisfies the additional output equation exactly when the circuit accepts that full input.
  3. (Random subsum.) If w∈F2N fails at least one of the equations, then for a uniform z∈F2m+1 the single combined equation ∑kzkqk(w)=∑kzkbk,that isA(z)⊙(w⊗w)=b(z), fails with probability at least 1/2; here A(z):=∑kzkAk∈F2 N×N is the coefficient matrix placed in the coordinate pairs (i,j) with i≤j, b(z):=∑kzkbk, and ⊙ is the coordinatewise dot product of The BLR linearity test over F_2. Consequently, if g:F2 N×N→F2 is the Hadamard table of w⊗w, a verifier can test the subsum with the one query g(A(z)), which it compares with the bit b(z) that it computes itself from the gate list.

Facts & Assumptions

Given: a Boolean circuit C with s inputs, including named inputs x1,…,xn, and m non-input gates and designated output, over the basis of Boolean circuits: basis, fan-in, size, and depth; the equations displayed below, in variables w1,…,wN with N=s+m; and the tensor conventions of Quadratic tensor consistency test.

[F1]

The gates of C are NOT, AND and OR of fan-in at most two and the constants 0,1, and C accepts the named prefix x when some assignment to the other s−n input coordinates makes the designated output evaluate to 1 in the topological evaluation (Circuit satisfiability, Boolean circuits: basis, fan-in, size, and depth, Assignment tester and rejection ratio).

[F2]

For w∈F2N the tensor w⊗w∈F2 N×N has coordinate wiwj at the pair (i,j); the coordinatewise dot product against a matrix Z supported on pairs with i≤j evaluates to ∑i≤jZ(i,j)wiwj, and for a vector U∈F2 N×N the Hadamard table is g(Z)=U⊙Z (Quadratic tensor consistency test, The BLR linearity test over F_2).

[F3]

If v∈F2M is a nonzero vector and z is uniform in F2M, then z⋅v=1 with probability exactly 1/2; equivalently, distinct linear Boolean functions differ on half the cube (Character orthogonality, inversion and Parseval).

[F4]

The arithmetic of F2 has 1+1=0, so for bits u,v the identities u+u=0, u2=u, u∨v=u+v+uv and u∧v=uv hold, and ¬u=1+u (The BLR linearity test over F_2).

Proof

technique · direct
1.1

List the wires of C in a topological order, starting with the n named inputs x1,…,xn, then the s−n remaining inputs, and then the m non-input gates, and create one variable wℓ∈F2 for each wire, so that the first n variables are exactly the named input coordinates and N=s+m. 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.

F1construct
2.1

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 F2:

NOT z=¬x:z+x=1;AND z=x∧y:z+xy=0; OR z=x∨y:z+x+y+xy=0;constant z=⊤:z=1;constant z=⊥:z=0; output z=⊤:z=1.

Each equation is of the displayed form qk(w)=bk: the linear term wℓ is the diagonal coefficient Ak(ℓ,ℓ) (legitimate because wℓ2=wℓ for a bit), a product wiwj with i≠j is the coefficient Ak(i,j) at the unique pair with i<j, and the constant on the right side is bk∈F2. Every gate equation has at most four nonzero coefficients (the OR equation has four), and the output equation has one, so the list has m+1 equations and at most 4m+1=O(m+1) nonzero coefficients, all read off the gate list of step 1.1 in polynomial time. [F4, given, step 1.1, construct]

3.1

Suppose C accepts x, choose an assignment to the other s−n inputs witnessing acceptance and assign to every wire variable its value in the resulting full-input evaluation of C. Then w1⋯wn=x, 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 1. Hence the system has a solution extending x; it is the evaluation assignment of the circuit.

F1F4step 1.1step 2.1algebra
3.2

Conversely, suppose w satisfies all m+1 equations and w1⋯wn=x. 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 w1,…,ws. 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 z=1+x, the AND equation z=xy, the OR equation z=x+y+xy, and the constant equations give z=1, z=0, 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 1. Hence C accepts x by [F1], and once all s 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.

F1F4step 1.1step 2.1algebra
3.3

For the random subsum, fix any w∈F2N and put vk:=qk(w)+bk∈F2, so that vk=0 says the k-th equation is satisfied, and let U:=w⊗w; by [F2] each qk(w)=Ak⊙U, so vk=Ak⊙U+bk and the combined equation of the statement holds exactly when z⋅v=0. If w fails at least one equation then v≠0, and [F3] makes z⋅v=1 with probability exactly 1/2 over the uniform z; this is the claimed rejection probability, and the combined left side is A(z)⊙U=g(A(z)) for the Hadamard table of U, so the whole test costs the single table query g(A(z)) plus the computation of A(z) and b(z) from the gate list.

F2F3step 2.1algebra
4.1

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.

step 1.1step 2.1step 3.1step 3.2step 3.3∎

Remarks

  • Why diagonal coefficients are legitimate. The equations are bilinear in the tensor w⊗w, and in characteristic two the diagonal coordinate wℓwℓ equals wℓ for a bit; this is how the linear terms z+x=1 of a NOT gate and the constants are written without adding a coordinate fixed to one. The upper-triangle support i≤j with the ordered-pair indexing of the tensor is the Arora-Barak convention, and it is what makes A(z)⊙(w⊗w) reproduce the quadratic form without a factor 2, which would vanish in F2.
  • 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 0 and 1 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 m=0 this must be one of the s input wires, while when s=0 a constant or other non-input gate supplies a wire; the impossible case s=m=0 is not part of the domain.

Depends on

Used by

Dependency tree · two levels

15 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources