Alphabeta Math
Pipeline-generated
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.

✓ 4 results · all verified · 3 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

The IP = PSPACE Theorem: Examples and Counterexamples

1 · Prerequisites

2 · Summary

These examples keep the protocol at sizes that can be checked by hand: a complete two-quantifier transcript over a small prime field, an explicit multilinearization of a two-variable polynomial whose degree in one variable drops from three to one, and the true instance ∃x (x) carried through the TQBF reduction to exhibit perfect completeness. The counterexample is the family ∃y ∀x1⋯∀xk (y): its syntax is linear in k, but the naive arithmetization that omits the reductions carries degree 2k at the node for y, so the degree reduction cannot be dropped.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (gpt-6-sol)audited 2026-09-27Open item page →

A two-quantifier field transcript

Example

Work over the prime field F=Z/251, and take the closed prenex quantified Boolean formula Φ=∃x ∀y (x∨¬y), whose matrix is ψ=x∨¬y and which is true, since x=1 makes the matrix 1 for both values of y. The matrix has L=4 syntax nodes, so with n=2 the protocol has D=4, T=5, and N=241; p=251 is the first prime greater than N. Its matrix arithmetization is b(X,Y)=1−Y+XY, the multilinearized operator sequence of Φ is b  →RX  RXb  →RY  RYRXb  →AY  AYRYRXb  →RX  RXAYRYRXb  →EX  1, and the reverse protocol of The Shamir interactive protocol for TQBF processes the nodes EX, then RX, then AY, RY, RX, with challenges drawn in the order 2,3,4,5,6. With those challenges the honest claim sequence is 1→2→3→9→11→26 and the terminal comparison is b(6,5)=26.

Facts & Assumptions

Given: The field Z/251, the formula Φ=∃x ∀y (x∨¬y) and the protocol of The Shamir interactive protocol for TQBF for it.

[A1]

Arithmetization replaces ¬u and u∨v by 1−u and u+v−uv, variable leaves by their variables, and it agrees with the Boolean value of the formula at Boolean inputs (Arithmetization of Boolean formulas).

[A2]

The ordered arithmetization applies AXP=(P∣X=0)(P∣X=1) and EXP=1−(1−P∣X=0)(1−P∣X=1) to the quantifiers, inner quantifiers first (Field arithmetization of QBF quantifiers).

[A3]

The multilinearized sequence inserts RXP=(1−X)(P∣X=0)+X(P∣X=1) before each quantifier operation, and its blocks for the prefix ∃x∀y are RX,RY,AY followed by RX,EX (Multilinearization in one variable).

[A4]

In the protocol the rounds process the operator list backwards; in the round for a node the verifier tests c=s(0)s(1) for A, c=s(0)+s(1)−s(0)s(1) for E, and c=(1−a)s(0)+a s(1) with the current value a of the reduced variable for R, then samples a fresh challenge r, sets the reduced variable to r and c:=s(r), and finally accepts exactly when c=b(σ) (The Shamir interactive protocol for TQBF).

[A5]

The classes of Z/251 form a field under addition and multiplication modulo 251 (For every prime p, the two operations on Z/p make it a field), and Φ is a closed prenex quantified Boolean formula with the truth semantics of Quantified Boolean formulas and the language TQBF.

Verification

1.1

By [A1] the matrix arithmetization is X+(1−Y)−X(1−Y), which simplifies to 1−Y+XY=:b(X,Y). At the four Boolean points it takes the values b(0,0)=1, b(0,1)=0, b(1,0)=1, b(1,1)=1, matching x∨¬y in each case.

A1algebra
2.1

The reductions do not change b, because b is multilinear: b∣X=0=1−Y and b∣X=1=1 give RXb=(1−X)(1−Y)+X=1−Y+XY, and b∣Y=0=1 and b∣Y=1=X give RYb=(1−Y)+YX=1−Y+XY.

A3step 1.1algebra
3.1

Applying the quantifier operations: AYb=(b∣Y=0)(b∣Y=1)=1⋅X=X, then RXX=X since X∣X=0=0 and X∣X=1=1, and finally EXX=1−(1−0)⋅(1−1)=1. The constant so obtained is the truth value of Φ by [A2] and [A5], and indeed Φ is true.

A2step 2.1A5algebra
3.2

Reading the stages backwards, the honest messages are the restrictions of G4=RXX=X, G3=X, G2=RYRXb=1−Y+XY at x=3, G1=1−Y+XY at x=3, and G0=b at y=5; that is, in the order of the rounds, s1(T)=T, s2(T)=T, s3(T)=1+2T, s4(T)=1+2T and s5(T)=5T−4.

A3A4step 2.1algebra
4.1

The reverse protocol of [A4] therefore processes EX first, then RX, then AY, RY and RX. Take the challenges in this order to be 2,3,4,5,6, so that σ(x) is set to 2 and then to 3 and finally to 6, and σ(y) is set to 4 and then to 5.

A4step 3.1
4.2

The verifier's tests pass with these messages: EX checks 1=0+1−0; then RX with a=2 checks 2=(1−2)⋅0+2⋅1; then AY checks 3=1⋅3, where s3(0)=1 and s3(1)=3; then RY with a=4 checks 9=(1−4)⋅1+4⋅3; and finally RX with a=3 checks 11=(1−3)⋅(−4)+3⋅1. So the claim sequence is 1→2→3→9→11→26, where each new claim is obtained by evaluating the sent message at the new challenge.

A4step 3.2algebra
5.1

The point left at the end is σ=(6,5), and the terminal comparison gives b(6,5)=1−5+30=26, equal to the final claim 26; the verifier therefore accepts this transcript. All products and sums above are computed in Z/251, where (1−4)⋅1=−3≡248 and 248+12=260≡9(mod251), so the intermediate values agree with the field arithmetic.

A4step 4.2A5algebra∎
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (gpt-6-sol)audited 2026-09-27Open item page →

A concrete multilinearization calculation

Example

Over F=Z/101 let P(x,z)=x3z+2x2+z. Then P(0,z)=z and P(1,z)=2z+2, so the multilinearization in the first variable is RxP=(1−x) z+x (2z+2)=z+x(z+2). The polynomial RxP agrees with P at x=0 and at x=1 for every value of z, its degree in x is at most one, and it is exactly one precisely when z≠99; its degree in z is one, while the original P has degree three in x.

Facts & Assumptions

Given: The field Z/101 and the polynomial P(x,z)=x3z+2x2+z.

[A1]

The multilinearization in one variable is RXP=(1−X)(P∣X=0)+X(P∣X=1); substituting X=0 and X=1 into the right-hand side returns P∣X=0 and P∣X=1 (Multilinearization in one variable).

[A2]

The reduction RXP agrees with P wherever x is Boolean, has degree at most one in x, and has degree in every other variable at most that of P in that variable (Multilinearization preserves Boolean values and bounds individual degree).

[A3]

The classes of Z/101 form a field, so its arithmetic is addition and multiplication modulo 101 and every nonzero residue is invertible (For every prime p, the two operations on Z/p make it a field).

Verification

1.1

Substituting x=0 gives P(0,z)=0+0+z=z, and substituting x=1 gives P(1,z)=z+2+z=2z+2; both are computed in Z/101 by [A3].

A3givenalgebra
2.1

By [A1] and step 1.1, RxP=(1−x)z+x(2z+2)=z−xz+2xz+2x=z+x(z+2), a polynomial of degree one in x with x-coefficient z+2 and of degree one in z.

A1step 1.1algebra
3.1

Evaluating the result of step 2.1 at the Boolean points: RxP(0,z)=z+0=z=P(0,z) and RxP(1,z)=z+z+2=2z+2=P(1,z), which is the agreement asserted in [A2].

step 2.1A2algebra
4.1

The coefficient of x in z+x(z+2) is z+2, which vanishes exactly when z=−2≡99 in Z/101 by [A3]; hence the x-degree is one for z≠99 and zero at z=99, and in either case it is at most one, as [A2] requires. The degree in z is one, which does not exceed the z-degree one of P, and the degree in x dropped from three to one while the values at the Boolean points were preserved.

step 3.1A2A3algebra∎
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-09-27Open item page →

Perfect completeness through a TQBF reduction

Example

Take the IP language L=TQBF with the identity reduction, so that an input is already a quantified Boolean formula, and take the true instance Φ=∃x (x),b(X)=X, for which n=1, the matrix has L=1 syntax node, D=2 and T=2. The protocol parameters of The Shamir interactive protocol for TQBF are N=max⁡{2,12TD+1}=49 and p=53, the first admissible integer above 49, so the field is Z/53. Running the honest prover, in the round for EX it sends the message T↦T and in the round for RX it again sends T↦T; for arbitrary challenges r,r′∈Z/53 both verifier tests pass, the claim chain is 1→r→r′, and the terminal comparison is b(r′)=r′. Hence the honest prover is accepted on every random tape, which is perfect completeness on this instance.

Facts & Assumptions

Given: The language TQBF with the identity reduction, the true instance Φ=∃x (x), and an arbitrary pair of challenges r,r′ in the field chosen by the protocol.

[A1]

Every language in IP has an interactive proof with perfect completeness and soundness error at most 1/3, obtained by moving the language into PSPACE and using the TQBF reduction protocol (IP admits perfect completeness).

[A2]

TQBF has such a protocol: on true inputs the honest prover is accepted with probability one, on false inputs every prover is accepted with probability at most 2TD/p<1/3, and TQBF lies in IP (TQBF has a polynomial-round interactive proof, Total TQBF soundness by the first repaired claim).

[A3]

For a formula with n variables and L matrix nodes the protocol uses T=n(n+3)/2, D=max⁡{L,2}, N=max⁡{2,12TD+1} and the first admissible integer in (N,2N), which is prime; messages are coefficient lists of degree at most D, the claim starts at 1, the verifier tests c=s(0)s(1), c=s(0)+s(1)−s(0)s(1) or c=(1−a)s(0)+a s(1) according to the node, samples a fresh challenge after the message, sets c:=s(r), and accepts exactly when c=b(σ) (The Shamir interactive protocol for TQBF, A polynomial-size prime field meets the soundness budget).

[A4]

The classes of Z/53 and of Z/101 form fields, so each nonzero residue has an inverse and the arithmetic below is modular (For every prime p, the two operations on Z/p make it a field).

Verification

1.1

For Φ=∃x (x) we have n=1, L=1, hence D=max⁡{1,2}=2 and T=1⋅4/2=2; then N=max⁡{2,12⋅2⋅2+1}=49, and the integers 50,51,52 are inadmissible because 50=2⋅25, 51=3⋅17 and 52=2⋅26 have divisors at most 49, so the first admissible integer is p=53, which is prime by [A3].

A3algebra
1.2

The operator list of Φ is RX,EX, so the stage polynomials are G0=b=X, G1=RXX=(1−X)⋅0+X⋅1=X and G2=EXX=1−(1−0)(1−1)=1; the last value is the truth value of the true formula Φ, and the protocol processes the nodes in the reverse order EX, then RX.

A3givenalgebra
2.1

In the round for EX the claim is c=1 and the honest message is the restriction of G1, namely s(T)=T. The existential test reads s(0)+s(1)−s(0)s(1)=0+1−0=1=c, so it passes; the verifier then draws its challenge r, sets σ(x)=r and c=s(r)=r.

A3step 1.2algebra
3.1

In the round for RX the current value of the reduced variable is a=σ(x)=r and the honest message is the restriction of G0, again s(T)=T. The reduction test reads (1−a)s(0)+a s(1)=(1−r)⋅0+r⋅1=r=c, so it passes; the verifier draws a fresh challenge r′, sets σ(x)=r′ and c=s(r′)=r′.

A3step 2.1algebra
4.1

The terminal comparison is c=b(σ)=r′, which holds; so for every pair (r,r′) of challenges the honest prover is accepted, and since the challenges range over all of Z/53×Z/53 the acceptance probability is 1. This is an instance of the perfect completeness asserted in [A1] and [A2].

A2A3step 3.1A4
5.1

For contrast, the false instance Φ′=∃x (x∧¬x) has matrix X(1−X) with L=4 syntax nodes, so D=4, T=2, N=97 and the protocol prime is 101; the soundness bound of [A2] evaluates there as 2TD/p=16/101<1/3. This numerical evaluation quotes the theorem's bound and does not reprove soundness.

A2A4algebra∎
CounterexampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (gpt-6-sol)audited 2026-09-27Open item page →

Exponential degree without multilinearization

Statement refuted

False claim (False: IP = PSPACE needs no degree reduction in this arithmetization): if the multilinearization operators RX are omitted from the ordered quantified arithmetization and only the quantifier operators AX,EX are used in inner-to-outer order, then for every closed prenex quantified Boolean formula of size m the polynomial carried at every operator node has degree at most a polynomial in m, so no degree reduction is needed for this proof route.

The family Φk:=∃y ∀x1⋯∀xk (y),k≥1, refutes it under the standard explicit binary variable-index encoding, in which the identifiers xi use O(log⁡(k+1)) bits and the encoded length mk is O(klog⁡(k+1)). The naive inner-to-outer sequence carries Y2k at the input of the node for the outermost quantifier ∃y: the polynomial immediately before y is processed has degree 2k in the active variable y, and 2k is bounded by no polynomial in this mk. The calculation of the carried polynomial is independent of the encoding; the length comparison requires an encoding bound.

Facts & Assumptions

Given: The family Φk=∃y ∀x1⋯∀xk (y) of closed prenex quantified Boolean formulas for k≥1, over a field F, with the naive inner-to-outer quantified arithmetization that omits the reductions RXi.

[A1]

The quantifier operators are AXiP=(P∣Xi=0)(P∣Xi=1) and EXiP=1−(1−P∣Xi=0)(1−P∣Xi=1), each returning a polynomial in the remaining variables; the ordered arithmetization processes the quantifiers from the innermost to the outermost, so Qn is processed first and Q1 last (Field arithmetization of QBF quantifiers).

[A2]

Arithmetization maps a variable leaf to the corresponding variable and builds the matrix from the gate rules, so the matrix (y) of Φk is arithmetized to the polynomial Y (Arithmetization of Boolean formulas).

[A3]

A quantified Boolean formula is Q1x1⋯Qmxm ψ with quantifier-free matrix ψ, and it is true when its usual recursive Boolean semantics evaluates to true (Quantified Boolean formulas and the language TQBF).

[A4]

The refuted claim: for every closed prenex quantified Boolean formula of size m, each polynomial carried at an operator node of the naive sequence has degree at most a polynomial in m (False: IP = PSPACE needs no degree reduction in this arithmetization).

Counterexample

1.1

Every Φk is a closed prenex quantified Boolean formula: its prefix is the k+1 quantifiers ∃y,∀x1,…,∀xk read left to right and its matrix is the variable leaf (y), so it has k+2 syntax nodes. Fix the explicit binary-index encoding that writes each xi using its binary index and fixed punctuation. This is a fixed effective encoding allowed by [A3]; its length mk satisfies mk≥k+1 and mk=O(klog⁡(k+1)). By [A2] the arithmetization of the matrix (y) is b=Y. Each Φk is also true, since the assignment y=1 makes the matrix (y) true under every assignment to x1,…,xk, so ∀x1⋯∀xk (y) holds and then ∃y holds by [A3].

A3A2construct
2.1

By the inner-to-outer rule of [A1] the naive sequence of Φk applies the k universal operators first, in the order Axk,Axk−1,…,Ax1, and applies the outer existential operator Ey for the variable y last, no reduction RXi being inserted.

A1step 1.1
2.2

Base case of the induction on j: after zero universal operators the carried polynomial is b=Y=Y20 by step 1.1.

step 1.1A2base
3.1

Induction hypothesis: for some 0≤j<k, after the first j universal operators of the sequence of step 2.1 the carried polynomial is Y2j.

ih
4.1

Under the hypothesis of step 3.1 the polynomial Y2j involves none of the variables X1,…,Xk, so both specializations at the next variable Xi coincide with Y2j, and the operator AXi of [A1] returns the product Y2j⋅Y2j=Y2j+1; hence the hypothesis holds again at j+1.

step 3.1A1algebra
5.1

Steps 2.2, 3.1 and 4.1 give, after all k universal operators, the carried polynomial Y2k, which is the polynomial immediately before the outer quantifier on y is processed; the protocol's message at the node for ∃y is the restriction of this polynomial in the active variable y, namely the univariate polynomial with value y2k and 2k+1 coefficients, so its degree in the active variable is exactly 2k. Since mk=O(klog⁡(k+1)) for the fixed encoding of step 1.1, for every polynomial q one has 2k>q(mk) for all sufficiently large k, so the degree bound asserted in [A4] fails for this allowed encoding: the exponential degree is witnessed on instances that are true, and the failure is therefore one of degree and not of Boolean semantics. No length bound is inferred from syntax-node count alone.

step 2.2step 4.1step 1.1A4discharge-inductionalgebra∎

Sources