Math 2.0

Computer science Definition

Polynomial hierarchy

Builds on PNPco-NPOracle machine

Definition

Let k≥1k \ge 1. Let qq be a polynomial, and let RR be a language in P whose elements are (k+1)(k+1)-tuples of strings. A language L⊆{0,1}∗L \subseteq \set{0,1}^* is in Σkp\Sigma_k^p if, for some such qq and RR and for all xx, x∈L  ⟺  ∃y1 ∀y2 ∃y3⋯Qkyk  (x,y1,…,yk)∈R.x \in L \iff \exists y_1 \, \forall y_2 \, \exists y_3 \cdots Q_k y_k \; (x, y_1, \ldots, y_k) \in R. Here each yiy_i ranges over strings of length at most q(∣x∣)q(\abs{x}). The quantifiers alternate, so QkQ_k is ∃\exists for odd kk and ∀\forall for even kk. The class Πkp\Pi_k^p is the class of complements of languages in Σkp\Sigma_k^p. Set Σ0p=Π0p=P\Sigma_0^p = \Pi_0^p = \mathrm{P}. The polynomial hierarchy is PH=⋃k≥0Σkp.\mathrm{PH} = \bigcup_{k \ge 0} \Sigma_k^p.

Remarks

The first level is Σ1p=NP\Sigma_1^p = \mathrm{NP} and Π1p=co-NP\Pi_1^p = \text{co-NP}. Example: the set of propositional formulas φ(u,v)\varphi(u, v) such that some assignment of uu makes φ\varphi true for every assignment of vv is in Σ2p\Sigma_2^p. Take y1=uy_1 = u, y2=vy_2 = v, and let RR be the set of triples (φ,u,v)(\varphi, u, v) with φ(u,v)\varphi(u, v) true, which is in P.

Non-example: the number kk of quantifier blocks is fixed for each language in PH. The true quantified Boolean formula problem allows any number of alternations, and it is not known to be in PH. If it were in Σkp\Sigma_k^p, then PSPACE would equal Σkp\Sigma_k^p and the hierarchy would collapse to level kk.

With oracle machines the levels can also be written Σk+1p=NPΣkp\Sigma_{k+1}^p = \mathrm{NP}^{\Sigma_k^p}, and one sets Δk+1p=PΣkp\Delta_{k+1}^p = \mathrm{P}^{\Sigma_k^p}. Then Σkp∪Πkp⊆Δk+1p⊆Σk+1p∩Πk+1p\Sigma_k^p \cup \Pi_k^p \subseteq \Delta_{k+1}^p \subseteq \Sigma_{k+1}^p \cap \Pi_{k+1}^p. If Σkp=Πkp\Sigma_k^p = \Pi_k^p for some kk, then PH=Σkp\mathrm{PH} = \Sigma_k^p.

Reading path

To understand this page from the ground up, read these 5 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. NP concept
  2. Oracle machine concept
  3. P concept
  4. co-NP concept
  5. Polynomial hierarchy definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Polynomial_hierarchy
About this page
Tag8W2MGKP4ZR
URIm2://8W2MGKP4ZR
Kinddefinition
WritingW0 stub
MSC68Q15, 03D15
DefinesPolynomial hierarchy
UsesP, NP, co-NP, Oracle machine
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.