ArticleslgStudy

computer science

Interactive proof system

Interactive proof system is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Interactive proof system rather than just read about it. In short: In computational complexity theory, an interactive proof system is an abstract machine that models computation as the exchange of messages between two parties: a prover and a verifier. The parties interact by exchanging messages in order to ascertain whether a given string belongs to a language or not.

Interactive proof system — main illustration
Interactive proof system — illustration

Key takeaways

  • Interactive proof system belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Interactive proof system to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Interactive proof system from memory before moving on to harder problems.

Reference excerpt

In computational complexity theory, an interactive proof system is an abstract machine that models computation as the exchange of messages between two parties: a prover and a verifier. The parties interact by exchanging messages in order to ascertain whether a given string belongs to a language or not. The prover is assumed to possess unlimited computational resources but cannot be trusted, while the verifier has bounded computation power but is assumed to be always honest. Messages are sent between the verifier and prover until the verifier has an answer to the problem and has "convinced" itself that it is correct. All interactive proof systems have two requirements:

Completeness: if the statement is true, the honest prover (that is, one following the protocol properly) can convince the honest verifier that it is indeed true. Soundness: if the statement is false, no prover, even if it doesn't follow the protocol, can convince the honest verifier that it is true, except with some small probability. The specific nature of the system, and so the complexity class of languages it can recognize, depends on what sort of bounds are put on the verifier, as well as what abilities it is given—for example, most interactive proof systems depend critically on the verifier's ability to make random choices. It also depends on the nature of the messages exchanged—how many and what they can contain. Interactive proof systems have been found to have some important implications for traditional complexity classes defined using only one machine. The main complexity classes describing interactive proof systems are AM and IP.

Background Every interactive proof system defines a formal language of strings. Often an interactive proof system is designed with the intention of being a system for a particular language L. Soundness of the proof system refers to the property that no prover can make the verifier accept a string y when in fact y∉L except with some small probability. The upper bound of this probability is referred to as the soundness error of a proof system. More formally, for every prover (𝒫~), and every y∉L:

Pr⁡[(⊥,(accept))←(𝒫~)(y)↔(𝒱)(y)]<ϵ. for some ϵ≪1. As long as the soundness error is bounded by a polynomial fraction of the potential running time of the verifier (i.e. ϵ≤1/poly(|y|)), it is always possible to amplify soundness until the soundness error becomes a negligible function of the running time of the verifier. This is achieved by repeating the proof and accepting only if all proofs verify. After ℓ repetitions, a soundness error ϵ will be reduced to ϵℓ.

Classes of interactive proofs

NP The complexity class NP may be viewed as a very simple proof system. In this system, the verifier is a deterministic, polynomial-time machine (a P machine). The protocol is:

The prover looks at the input and computes the solution using its unlimited power and returns a polynomial-size proof certificate. The verifier verifies that the certificate is valid in deterministic polynomial time. If it is valid, it accepts; otherwise, it rejects. In the case where a valid proof certificate exists, the prover is always able to make the verifier accept by giving it that certificate. In the case where there is no valid proof certificate, however, the input is not in the language, and no prover, however malicious it is, can convince the verifier otherwise, because any proof certificate will be rejected.

Arthur–Merlin and Merlin–Arthur protocols

Although NP may be viewed as using interaction, it wasn't until 1985 that the concept of computation through interaction was conceived (in the context of complexity theory) by two independent groups of researchers. One approach, by László Babai, who published "Trading group theory for randomness", defined the Arthur–Merlin (AM) class hierarchy. In this presentation, Arthur (the verifier) is a probabilistic, polynomial-time machine, while Merlin (the prover) has unbounded resources. The class MA in particular is a simple generalization of the NP interaction above in which the verifier is probabilistic instead of deterministic. Also, instead of requiring that the verifier always accept valid certificates and reject invalid certificates, it is more lenient:

Completeness: if the string is in the language, the prover must be able to give a certificate such that the verifier will accept with probability at least 2/3 (depending on the verifier's random choices). Soundness: if the string is not in the language, no prover, however malicious, will be able to convince the verifier to accept the string with probability exceeding 1/3. This machine is potentially more powerful than an ordinary NP interaction protocol, but the certificates are no less practical to verify, since BPP algorithms are considered as abstracting practical computation (see BPP).

… excerpt ends here. Continue reading the full article.

Illustrations

Interactive proof system: General representation of an interactive proof protocol.
General representation of an interactive proof protocol.

Worked examples

Example 1 — a first encounter with Interactive proof system

Start with the simplest possible case. Write down what Interactive proof system claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Interactive proof system before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Interactive proof system ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Interactive proof system

In research
Interactive proof system appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Interactive proof system in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Interactive proof system is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational complexity theory, so understanding it makes those chapters shorter.
In everyday life
Look for Interactive proof system outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Interactive proof system” →

How to study Interactive proof system in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Interactive proof system means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Interactive proof system out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Interactive proof system in simple terms?

In computational complexity theory, an interactive proof system is an abstract machine that models computation as the exchange of messages between two parties: a prover and a verifier. The parties interact by exchanging messages in order to ascertain whether a given string belongs to a language or…

Why does Interactive proof system matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Interactive proof system?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Interactive proof system.

Tags

  • Computational complexity theory

Keep exploring