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.
Interactive Proof Systems and Public Coins
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Linear Recurrences and Rational Generating Functions
- P, NP, coNP, and Polynomial Reductions
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
2 · Summary
Polynomially bounded interaction gives the verifier random access to evidence without imposing any resource bound on the prover. This page proves the public-coin conversion and the upper inclusion only; the reverse inclusion is developed later through arithmetization and sum-check.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Interactive-proof transcripts, rounds, and prover strategies
Definition
An interactive protocol on input is an alternating finite exchange between a probabilistic polynomial-time verifier and a prover . Here is a deterministic multitape machine in the sense of Multitape and nondeterministic Turing machine variants, with communication tapes and an additional private read-only tape of random bits. There is one polynomial bound such that, on every input , every random tape, and every sequence of prover replies, the verifier performs at most computation steps and reads at most random bits. Waiting for a reply does not charge the prover's computation time to ; replies violating the specified message-length or syntax bounds are rejected. The random tape can be taken to be uniformly distributed over , with unused bits ignored. A round consists of one verifier message and one prover message; the verifier uses at most polynomially many rounds, communicated bits, and random bits in .
A public transcript is exactly the sequence of messages exchanged so far, together with any random bits that the verifier has revealed. The verifier's unrevealed random bits and private work-tape state belong to its private history, not to the public transcript. A prover strategy is an arbitrary function assigning a legal next message to every public transcript at a prover turn; it need not be computable or efficient. Consequently two verifier histories that give the prover the same public view must receive the same prover response.
Completeness and soundness of an interactive protocol
Definition
For a language , an interactive protocol has -completeness when for every an honest prover makes accept with probability at least . It has -soundness when for every and every prover strategy , the acceptance probability is at most . Probabilities are over 's coins. Thus completeness has an existential honest strategy, while soundness has a universal cheating-strategy quantifier.
Sequential repetition amplifies completeness and soundness gaps
Statement
If a protocol has completeness and soundness , then for every a polynomially bounded odd number of sequential fresh-coin repetitions, accepting by strict majority, has completeness at least and soundness at most .
Facts & Assumptions
Given: constants , a target , and sequential independent verifier coins.
Expectations are finite weighted sums by Expectation of a real random variable on a finite probability space. Grouping such sums by earlier histories uses The law of total probability for a finite partition, with zero-probability histories omitted.
Proof
Fix with . On a yes-input, use one honest strategy afresh in each repetition, ignoring previous copies. Let indicate rejection in copy . On a no-input, fix any adaptive cheating strategy and instead let indicate acceptance. In both cases, conditional on the full history of earlier copies, : on yes-inputs this is completeness, and on no-inputs the previous history fixes a legitimate strategy for the next fresh-coin copy, so soundness applies. The verifier is reset between copies.
Put . If the conditional success probability of is , then the conditional average of is . Grouping finite sums by complete previous-copy histories and inducting on therefore gives , starting with expectation one at . This argument allows dependence between copies.
On one has . Summing this pointwise bound over the finite coin space gives , where satisfies . For odd , either a majority rejection on a yes-input or a majority acceptance on a no-input is contained in this event.
Write . Induction using gives . Choose an odd integer making this at most . For fixed it is a constant independent of input length, so the repeated verifier retains polynomial time, communication and randomness bounds. The yes-input honest strategy and the uniform bound against every no-input cheating strategy give the two asserted errors.
The class IP
Definition
The class consists of languages having an interactive protocol with a probabilistic polynomial-time verifier and polynomially bounded interaction as in Interactive-proof transcripts, rounds, and prover strategies, completeness at least , and soundness at most in the sense of Completeness and soundness of an interactive protocol.
Remarks
Replacing these two constants by any fixed with defines the same class. To see this from a protocol, choose a dyadic rational strictly between and . After the original protocol, use fresh private bits to accept with probability if its decision was acceptance, and with probability otherwise. Both probabilities are dyadic numbers in , so a fixed finite number of fair bits realizes this rule exactly. The new completeness is at least and soundness at most . Apply Sequential repetition amplifies completeness and soundness gaps with to obtain the defining IP constants. Conversely, starting from the defining constants, apply the same lemma with to obtain completeness at least and soundness at most . All added randomness and repetitions have bounds constant in the input length. No endpoint assertion about zero soundness or perfect completeness is included in this constant-gap argument.
NP is contained in IP
Statement
.
Proof
Given: a language and its polynomial-time verifier.
By The class NP via polynomial-time verifiers, on input the prover may send a polynomially bounded certificate , and the verifier can test it in polynomial time.
If , some is accepted, whereas if , no is accepted. This is a one-round protocol with completeness and soundness , hence is an IP protocol by The class IP.
Private-coin, public-coin, and Arthur--Merlin protocols
Definition
An IP verifier is private-coin when it may keep random bits hidden. It is public-coin when, before each prover response, every random bit used since the preceding prover message is announced; the verifier's next message is therefore its public random string. An Arthur--Merlin protocol is a public-coin interactive protocol, conventionally with Arthur as verifier and Merlin as prover. These are subclasses/presentations of the protocols in The class IP.
Pairwise-independent hashing controls fibre size
Statement
Let be a finite set with , let be a nonempty finite set, and let be a nonempty finite family of maps from to . Assume pairwise independence: under a uniform choice of , for distinct and all , For and , put . Then and . Write . The test has probability at most when , and at least when .
The corresponding public challenge announces (and the fixed target ), asks the prover for , and accepts exactly when and . Its optimal acceptance probability is , giving the stated gap between these two promised size regimes. When elements and hashes have polynomial-length encodings, the uniform hash is sampled using polynomially many fair bits, and hash evaluation and membership in are polynomial-time decidable, this is a polynomial-time public-coin challenge: the verifier announces every sampling bit before receiving the response, then performs the stated deterministic checks.
Proof
Given: with , a pairwise-independent family, and .
[F1] Expectation is the finite weighted sum in Expectation of a real random variable on a finite probability space, here with each hash of weight ; variance is the squared-deviation expectation in Variance, standard deviation, and covariance on a finite probability space.
Write , where indicates . Summing the assumed joint probabilities over outputs at any distinct input gives . For distinct , , so their covariance is zero by expansion of its defining finite sum.
Interchanging finite sums gives . Expanding and using the zero cross terms gives . Since , each summand is . Thus .
Since is a nonnegative integer, , so in the small regime. For , on one has , hence . Therefore when .
If , no prover response passes the stated checks. If , an unrestricted prover can supply a valid preimage. Thus the optimal acceptance probability is exactly . The checks are polynomial-time under the stated encoding and algorithmic hypotheses, and revealing every sampling bit before the response makes the protocol public-coin. This proves the quantitative challenge claim.
Private-coin IP equals public-coin IP
Statement
Every polynomial-round private-coin interactive proof has a polynomial-round public-coin interactive proof for the same language. Thus private-coin IP equals public-coin IP.
Proof
Given: a private-coin polynomial-round verifier with polynomial communication and constant gap.
The Goldwasser--Sipser conversion replaces the hidden continuation at each verifier move by a public set-lower-bound subprotocol: Arthur announces a pairwise-independent hash and Merlin supplies a compatible accepting continuation in the announced hash fibre. The fibre estimate of Pairwise-independent hashing controls fibre size is the variance calculation used by that subprotocol.
Arora--Barak's stated public-coin conversion establishes for every polynomial-time computable round bound . Its construction has polynomial-length hashes, challenges, and witnesses, hence preserves polynomial verification and produces a public-coin protocol for the same language.
A public-coin verifier is already a private-coin verifier which reveals its coins. Therefore both inclusions hold.
Protocol game trees and their values
Definition
For a fixed input and finite protocol (Interactive-proof transcripts, rounds, and prover strategies), its public-information game tree has one information state for each public transcript, together with the conditional distribution of verifier private histories compatible with that transcript. At a prover state its value is the maximum, over one legal response based only on that public transcript, of the resulting child value. At a verifier state its value is the expectation over the verifier's next random transition; equally likely private random strings are counted with multiplicity even when they produce the same public message. At termination its value is the conditional probability that the verifier accepts. Backward evaluation is well-defined because the protocol is finite. The root value is the maximum acceptance probability over actual prover strategies. In particular, maximization never occurs separately on two hidden histories having the same public transcript.
An optimal prover may be deterministic
Statement
In every finite protocol game tree, a deterministic prover strategy attains the root value.
Proof
Given: a finite protocol game tree.
At each prover node, the finitely many child values have a maximum; choose one maximizing child.
Backward induction from terminal nodes shows that the choices in step 1.1 attain the value at every prover node, while random nodes retain their prescribed averages. By Protocol game trees and their values, the resulting deterministic strategy attains the root value.
A polynomial-round protocol value is computable in polynomial space
Statement
Fix a polynomial-time interactive verifier with polynomial bounds on rounds, communication and fair random bits, as in the protocol convention. Its exact root value is computable by a deterministic polynomial-space transducer: if bounds its random bits, the output is the pair of binary integers with . In particular, the threshold language belongs to (malformed encodings are rejected), with DSPACE as in The classes DTIME, NTIME, DSPACE, and NSPACE.
Facts & Assumptions
Given: a fixed polynomial-time verifier with the stated polynomial bounds.
Proof
Pad its random tape to fair bits. For a public transcript , let be the set of all length- tapes consistent with the verifier messages in when it is fed the prover messages recorded there. Enumerate tapes and simulate the verifier to test this condition, without storing . A deterministic strategy choosing the recorded prover messages gives every tape in the same conditional weight. This is the private-history distribution of Protocol game trees and their values. Terminal values average over all compatible tapes. Variable stopping times can be handled by a public termination marker and dummy exchanges after termination, retaining the original accept/reject outcome.
Compute an integer , the maximum number of tapes in accepted by a single continuation strategy based on public transcripts. If is empty, put and do not recurse. At a terminal node count the accepting compatible tapes. At a verifier node the sets , for distinct next public messages , partition , so put . At a prover node, appending its response does not filter the compatible tapes, so put . Enumerate all bounded message strings; invalid responses cause rejection. Strategies in distinct public-message children can be combined because the prover sees which child occurred. At a prover node the same response serves every compatible hidden history. Backward induction, also justified by An optimal prover may be deterministic, therefore gives the intended maximum.
For nonempty the conditional value is . At verifier nodes this is exactly the weighted average of child values, since each weight is ; at prover nodes the common denominator makes maximizing the numerator equivalent to maximizing the value. Moreover . Each running sum, maximum, count and message or tape index therefore has polynomial bit length. A depth-first evaluation retains polynomial space per frame and has polynomially many frames; verifier simulations take polynomial space and siblings are recomputed. Thus is computable in polynomial space and . This includes , whose tape set consists of the empty string.
Output and in binary, without needing to reduce the fraction. For a well-formed threshold input, compute and decide by integer arithmetic. Its space is polynomial in the total input length, including the bit lengths of and all input cells. This deterministic decider places in PSPACE by The classes DTIME, NTIME, DSPACE, and NSPACE, while the binary-pair output establishes the claimed exact function computation.
IP is contained in PSPACE
Statement
.
Facts & Assumptions
Given: and its constant-gap protocol.
The value of the protocol's public-information game can be computed in polynomial space, by A polynomial-round protocol value is computable in polynomial space.
Completeness gives value at least on members and soundness bounds the value by on nonmembers, by The class IP.
Proof
On input , compute the public-information protocol root value in polynomial space. The prover maxima are indexed by public transcripts, while verifier randomness is averaged over the compatible private histories, so this is the value of a legal prover strategy rather than a full-information strategy.
Accept precisely when that value exceeds . It is at least on and at most on , so this test decides .
The graph-nonisomorphism interactive protocol
Definition
For two graphs on the same labelled vertex set , the verifier chooses uniformly from . It independently samples a permutation by the following bounded procedure. Put (with when ). Up to four times, draw exactly fresh fair bits as an integer ; on the first draw with , unrank in the factorial number system to obtain . If all four draws fail, use the identity permutation. It sends , receives a bit from the prover, and accepts iff . Factoradic unranking, the factorial arithmetic, the four draws, and graph relabeling take polynomial time and use at most random bits.
Each draw succeeds with probability (or when ). Conditional on at least one success, is exactly uniform on the permutations; the fallback has probability (zero when is a power of two). This is a one-round instance of Interactive-proof transcripts, rounds, and prover strategies.
Graph nonisomorphism is in IP
Statement
lies in .
Proof
Given: the graph-nonisomorphism protocol.
Using adjacency-matrix graph encodings, the verifier first checks the two encoded inputs are graphs, rejecting malformed inputs. If their vertex counts differ, it accepts: such graphs cannot be isomorphic. Both checks are deterministic polynomial-time. In the remaining case relabel both vertex sets as and use the bounded-rejection protocol The graph-nonisomorphism interactive protocol. Its factorial arithmetic and four bounded draws meet the verifier's worst-case polynomial time and random-bit budget. If , every permutation, including the fallback identity, leaves in exactly one of the two isomorphism classes, so an unbounded prover answers correctly with probability .
If , the successful-draw branch gives the same uniform distribution of for both values of . The fallback has probability and gives , so the two challenge distributions are and . Their total-variation distance is at most . With a uniform hidden bit , any prover's best guess from has success probability at most ; this follows directly by summing, for each possible , the larger of its two joint probabilities.
Run two fresh independent challenges and accept only when both answers are correct. On a no instance, after every first transcript the second challenge still has fresh private coins, so even an adaptive prover has conditional success probability below . Thus two-copy soundness is below , while completeness remains . The two copies retain a fixed polynomial worst-case budget, so The class IP applies.
False: soundness quantifies only over honest provers
Statement
Soundness of an interactive proof quantifies only over the honest prover.
Refutation
Given: the definition of soundness.
The honest prover is selected to establish completeness on yes instances; on a no instance it is not an adversarial model.
By Completeness and soundness of an interactive protocol, soundness requires the acceptance bound for every prover strategy on every no input. Restricting it to an honest strategy changes the definition and cannot protect against cheating, so the statement is false.
False: the prover must run in polynomial time
Statement
An IP prover must run in polynomial time.
Refutation
Given: the interactive-protocol convention.
The verifier's polynomial running time bounds each message length and the number of rounds.
A prover strategy in Interactive-proof transcripts, rounds, and prover strategies is an arbitrary response function, explicitly with no computability or time restriction. Therefore the asserted requirement is false.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Arora and Barak, Computational Complexity, §8.2
- Arora and Barak, Definition 8.5
- Goldreich, Foundations of Complexity Theory, Claim 11.2.1
- Arora and Barak, §8.2
- Arora and Barak, §8.4
- Arora and Barak, §8.4.1
- Arora and Barak, Theorem 8.8
- Arora and Barak, §8.5
- Goldreich, Foundations of Complexity Theory, §11.3.1
- Arora and Barak, §8.3
- Goldreich, Foundations of Complexity Theory, §11.2