Definition. Polynomial-time certifier [00VV]
An algorithm B is a polynomial-time certifier for a decision problem D if:
- B is a polynomial-time algorithm taking some inputs s and t
- There is a polynomial p such that for all bitstrings s, we have s \in D if and only if there is some bitstring t (called a certificate) with |t| \leq p(|s|) and B(s,t) = \mathsf {T}.
In other words, s \in D if and only if there is a (not too big) certificate “proving” it, which can be efficiently checked. That is, if the answer for the input s is supposed to be \mathsf {T}, then there is a certificate t that proves it: the certifier algorithm B, when run on s and t, will return \mathsf {T}. Conversely, if s \notin D, there is no t that works: B will never return \mathsf {T} for a certificate t unless s really is in D.