CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Certificate (complexity)

string that certifies the answer to a computation

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionSep 8, 2026
Entity authorityQ2946816
Source-derived summary

In computational complexity theory, a certificate (also called a witness) is a string that certifies the answer to a computation, or certifies the membership of some string in a language. A certificate is often thought of as a solution path within a verification process, which is used to check whether a problem gives the answer "Yes" or "No".

In the decision tree model of computation, certificate complexity is the minimum number of the

n

{\displaystyle n}

input variables of a decision tree that need to be assigned a value in order to definitely establish the value of the Boolean function

f

{\displaystyle f}

.

Use in definitions

The notion of certificate is used to define semi-decidability: a formal language

L

{\displaystyle L}

is semi-decidable if there is a two-place predicate relation

R

Σ

×

Σ

{\displaystyle R\subseteq \Sigma ^{*}\times \Sigma ^{*}}

such that

R

{\displaystyle R}

is computable, and such that for all

x

Σ

{\displaystyle x\in \Sigma ^{*}}

:

x ∈ L ⇔ there exists y such that R(x, y)

In this definition, y is the certificate, or witness, for the membership of x in L.

Certificates also give definitions for some complexity classes which can alternatively be characterised in terms of nondeterministic Turing machines. A language

L

{\displaystyle L}

is in NP if and only if there exists a polynomial

p

{\displaystyle p}

and a polynomial-time bounded Turing machine

M

{\displaystyle M}

such that every word

x

Σ

{\displaystyle x\in \Sigma ^{*}}

is in the language

L

{\displaystyle L}

precisely if there exists a certificate

c

{\displaystyle c}

of length at most

p

(

|

x

|

)

{\displaystyle p(|x|)}

such that

M

{\displaystyle M}

accepts the pair

(

x

,

c

)

{\displaystyle (x,c)}

. The class co-NP has a similar definition, except that there are certificates for the words not in the language.

The class NL has a certificate definition: a problem in the language has a certificate of polynomial length, which can be verified by a deterministic logarithmic-space bounded Turing machine that can read each bit of the certificate once only. Alternatively, the deterministic logarithmic-space Turing machine in the statement above can be replaced by a bounded-error probabilistic constant-space Turing machine that is allowed to use only a constant number of random bits.

Examples

The problem of determining, for a given graph

G

{\displaystyle G}

and number

k

{\displaystyle k}

, if the graph contains an independent set of size

k

{\displaystyle k}

is in NP. Given a pair

(

G

,

k

)

{\displaystyle (G,k)}

in the language, a certificate is a set of

k

{\displaystyle k}

vertices which are pairwise not adjacent (and hence are an independent set of size

k

{\displaystyle k}

).

A more general example, for the problem of determining if a given Turing machine accepts an input in a certain number of steps, is as follows:

L = {<<M>, x, w> | does <M> accept x in |w| steps?}

Show L ∈ NP.

verifier:

gets string c = <M>, x, w such that |c| <= P(|w|)

check if c is an accepting computation of M on x with at most |w| steps

|c| <= O(|w|3)

if we have a computation of a TM with k steps the total size of the computation string is k2

Thus, <<M>, x, w> ∈ L ⇔ there exists c <= a|w|3 such that <<M>, x, w, c> ∈ V ∈ P

See also

Witness (mathematics), an analogous concept in mathematical logic

References

External links

Buhrman, Harry; de Wolf, Ronald (2002), Complexity Measures and Decision Tree Complexity:A Survey.

Editorial summary

The public source identifies “Certificate (complexity)” as string that certifies the answer to a computation. This brief keeps that definition visible, then builds a research path around Certificate, complexity and string.

Editorial reviewA concise reference frame for defining the subject, testing terminology and identifying the institution closest to the evidence. The current lead gives the account dated anchors—2002—that can be checked directly. The selected authority fields contribute no independent date. Its value is orientation rather than verdict, with Certificate, complexity and string providing the first useful test.
Editorial analysis

Why this record matters

A short description can identify a subject without explaining its stakes. For “Certificate (complexity)”, the useful work is to connect “string that certifies the answer to a computation” to the records capable of establishing context and consequence.

Evidence profile

The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Sep 8, 2026. The linked authority identifier is Q2946816. None of the 0 selected statements returned an explicit reference. The first chronological checks are 2002.

Critical limits

Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Certificate (complexity)”, its source revision and the description used here.
  2. Expand the search: follow Certificate (complexity) primary sources, Certificate (complexity) archive and Certificate research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Certificate (complexity)”?
  2. What terminology or title could unlock a more precise catalogue search?
  3. Which institution is responsible for the underlying evidence?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Certificate (complexity)” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.