Math 2.0

Computer science Definition

Arthur–Merlin protocol

Builds on Interactive proof systemPFormal language

Definition

An Arthur–Merlin protocol is an interactive proof system of the following kind. Every message of the verifier, Arthur, is a fresh uniform random string. Arthur's final decision is a deterministic polynomial-time function of the input and all messages. The prover is called Merlin.

Let L⊆{0,1}∗L \subseteq \set{0,1}^* be a language. In the conditions below, rr is uniform in {0,1}q(∣x∣)\set{0,1}^{q(\abs{x})} and mm ranges over {0,1}q(∣x∣)\set{0,1}^{q(\abs{x})}. The language LL is in the class AM if there are a polynomial qq and a language RR in P such that:

  1. if x∈Lx \in L, then Pr⁡r[∃m (x,r,m)∈R]≥2/3\Pr_r[\exists m \ (x, r, m) \in R] \ge 2/3;
  2. if x∉Lx \notin L, then Pr⁡r[∃m (x,r,m)∈R]≤1/3\Pr_r[\exists m \ (x, r, m) \in R] \le 1/3.

The class MA is defined in the same way with Merlin's message first. So L∈MAL \in \mathrm{MA} if there are qq and RR as above with the following two properties. If x∈Lx \in L, then ∃m Pr⁡r[(x,r,m)∈R]≥2/3\exists m \ \Pr_r[(x, r, m) \in R] \ge 2/3. If x∉Lx \notin L, then ∀m Pr⁡r[(x,r,m)∈R]≤1/3\forall m \ \Pr_r[(x, r, m) \in R] \le 1/3.

Remarks

Example: every language in NP is in MA, and so in AM. If x∈Lx \in L if and only if ∃m (x,m)∈R0\exists m \ (x, m) \in R_0 with R0∈PR_0 \in \mathrm{P}, let R={(x,r,m):(x,m)∈R0}R = \set{(x, r, m) : (x, m) \in R_0}, which ignores rr; both clauses hold with probabilities 11 and 00.

Non-example: the protocol for graph non-isomorphism in which Arthur hides his choice of graph is not an Arthur–Merlin protocol, because its random bits are private. Graph non-isomorphism is nevertheless in AM, through a different protocol based on set lower bounds with hash functions.

Babai showed that every protocol with a constant number of rounds of public coins gives the class AM. Goldwasser and Sipser showed that private coins can be replaced by public coins with two more rounds, so the classes defined by a constant number of rounds coincide with AM.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Formal language concept
  2. Interactive proof system concept
  3. P concept
  4. Arthur–Merlin protocol definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Arthur–Merlin_protocol
About this page
TagWQJQBFBSC8
URIm2://WQJQBFBSC8
Kinddefinition
WritingW0 stub
MSC68Q10, 68Q15, 68Q87
DefinesArthur–Merlin protocol
UsesInteractive proof system, P, Formal language
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.