Polynomial hierarchy

In computational complexity theory, the polynomial hierarchy (sometimes called the polynomial-time hierarchy) is a hierarchy of complexity classes that generalize the classes NP and co-NP.[1] Each class in the hierarchy is contained within PSPACE. The hierarchy can be defined using oracle machines or alternating Turing machines. It is a resource-bounded counterpart to the arithmetical hierarchy and analytical hierarchy from mathematical logic. The union of the classes in the hierarchy is denoted PH.

Classes within the hierarchy have complete problems (with respect to polynomial-time reductions) that ask if quantified Boolean formulae hold, for formulae with restrictions on the quantifier order. It is known that equality between classes on the same level or consecutive levels in the hierarchy would imply a "collapse" of the hierarchy to that level.

Definitions

There are multiple equivalent definitions of the classes of the polynomial hierarchy.

Oracle definition

For the oracle definition of the polynomial hierarchy, define

where P is the set of decision problems solvable in polynomial time. Then for i ≥ 0 define

where is the set of decision problems solvable in polynomial time by a Turing machine augmented by an oracle for some complete problem in class A; the classes and are defined analogously. For example, , and is the class of problems solvable in polynomial time by a deterministic Turing machine with an oracle for some NP-complete problem.[2]

Quantified Boolean formulae definition

For the existential/universal definition of the polynomial hierarchy, let L be a language (i.e. a decision problem, a subset of {0,1}*), let p be a polynomial, and define

where is some standard encoding of the pair of binary strings x and w as a single binary string. The language L represents a set of ordered pairs of strings, where the first string x is a member of , and the second string w is a "short" () witness testifying that x is a member of . In other words, if and only if there exists a short witness w such that . Similarly, define

Note that De Morgan's laws hold: and , where Lc is the complement of L.

Let C be a class of languages. Extend these operators to work on whole classes of languages by the definition

Again, De Morgan's laws hold: and , where .

The classes NP and co-NP can be defined as , and , where P is the class of all feasibly (polynomial-time) decidable languages. The polynomial hierarchy can be defined recursively as

Note that , and .

This definition reflects the close connection between the polynomial hierarchy and the arithmetical hierarchy, where R and RE play roles analogous to P and NP, respectively. The analytic hierarchy is also defined in a similar way to give a hierarchy of subsets of the real numbers.

Alternating Turing machines definition

An alternating Turing machine is a non-deterministic Turing machine with non-final states partitioned into existential and universal states. It is eventually accepting from its current configuration if: it is in an existential state and can transition into some eventually accepting configuration; or, it is in a universal state and every transition is into some eventually accepting configuration; or, it is in an accepting state.[3]

We define to be the class of languages accepted by an alternating Turing machine in polynomial time such that the initial state is an existential state and every path the machine can take swaps at most k – 1 times between existential and universal states. We define similarly, except that the initial state is a universal state.[4]

If we omit the requirement of at most k – 1 swaps between the existential and universal states, so that we only require that our alternating Turing machine runs in polynomial time, then we have the definition of the class AP, which is equal to PSPACE.[5]

Relations between classes in the polynomial hierarchy

Commutative diagram equivalent to the polynomial time hierarchy. The arrows denote inclusion.

The union of all classes in the polynomial hierarchy is the complexity class PH.

The definitions imply the relations:

Unlike the arithmetic and analytic hierarchies, whose inclusions are known to be proper, it is an open question whether any of these inclusions are proper, though it is widely believed that they all are. If any , or if any , then the hierarchy collapses to level k: for all , .[6] In particular, we have the following implications involving unsolved problems:

  • P = NP if and only if P = PH.[7]
  • If NP = co-NP then NP = PH. (co-NP is .)

The case in which NP = PH is also termed as a collapse of the PH to the second level. The case P = NP corresponds to a collapse of PH to P.

Unsolved problem in computer science:

The question of collapse to the first level is generally thought to be extremely difficult. Most researchers do not believe in a collapse, even to the second level.

Relationships to other classes

Unsolved problem in computer science:
Hasse diagram of complexity classes including P, NP, co-NP, BPP, P/poly, PH, and PSPACE

The polynomial hierarchy is an analogue (at much lower complexity) of the exponential hierarchy and arithmetical hierarchy.

It is known that PH is contained within PSPACE, but it is not known whether the two classes are equal. One useful reformulation of this problem is that PH = PSPACE if and only if second-order logic over finite structures gains no additional power from the addition of a transitive closure operator over relations of relations (i.e., over the second-order variables).[8]

If the polynomial hierarchy has any complete problems, then it has only finitely many distinct levels. Since there are PSPACE-complete problems, we know that if PSPACE = PH, then the polynomial hierarchy must collapse, since a PSPACE-complete problem would be a -complete problem for some k.[9]

Each class in the polynomial hierarchy contains -complete problems (problems complete under polynomial-time many-one reductions). Furthermore, each class in the polynomial hierarchy is closed under -reductions: meaning that for a class C in the hierarchy and a language , if , then as well. These two facts together imply that if is a complete problem for , then , and . For instance, . In other words, if a language is defined based on some oracle in C, then we can assume that it is defined based on a complete problem for C. Complete problems therefore act as "representatives" of the class for which they are complete.

The Sipser–Lautemann theorem states that the class BPP is contained in the second level of the polynomial hierarchy.

Kannan's theorem states that for any k, is not contained in SIZE(nk).

Toda's theorem states that the polynomial hierarchy is contained in P#P.

Problems

  • An example of a natural problem in is circuit minimization: given a number k and a circuit A computing a Boolean function f, determine if there is a circuit with at most k gates that computes the same function f. Let C be the set of all boolean circuits. The language

    is decidable in polynomial time. The language

    is the circuit minimization language. because L is decidable in polynomial time and because, given , if and only if there exists a circuit B such that for all inputs x, .
  • A complete problem for is satisfiability for quantified Boolean formulas with k – 1 alternations of quantifiers (abbreviated QBFk or QSATk). This is the version of the boolean satisfiability problem for . In this problem, we are given a Boolean formula f with variables partitioned into k sets X1, ..., Xk. We have to determine if it is true that
    That is, is there an assignment of values to variables in X1 such that, for all assignments of values in X2, there exists an assignment of values to variables in X3, ... f is true? The variant above is complete for . The variant in which the first quantifier is "for all", the second is "exists", etc., is complete for . Each language is a subset of the problem obtained by removing the restriction of k – 1 alternations, the PSPACE-complete problem TQBF.
  • A Garey/Johnson-style list of problems known to be complete for the second and higher levels of the polynomial hierarchy can be found in this Compendium.

See also

References

General references

  1. Arora, Sanjeev; Barak, Boaz (2009). Complexity Theory: A Modern Approach. Cambridge University Press. ISBN 978-0-521-42426-4. section 1.4, "Machines as strings and the universal Turing machine" and 1.7, "Proof of theorem 1.9"
  2. A. R. Meyer and L. J. Stockmeyer. The Equivalence Problem for Regular Expressions with Squaring Requires Exponential Space. In Proceedings of the 13th IEEE Symposium on Switching and Automata Theory, pp. 125–129, 1972. The paper that introduced the polynomial hierarchy.
  3. L. J. Stockmeyer. The polynomial-time hierarchy. Theoretical Computer Science, vol.3, pp. 1–22, 1976.
  4. C. Papadimitriou. Computational Complexity. Addison-Wesley, 1994. Chapter 17. Polynomial hierarchy, pp. 409–438.
  5. Michael R. Garey and David S. Johnson (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman. ISBN 0-7167-1045-5. Section 7.2: The Polynomial Hierarchy, pp. 161–167.

Citations

  1. ^ Arora and Barak, 2009, pp.97
  2. ^ Completeness in the Polynomial-Time Hierarchy A Compendium, M. Schaefer, C. Umans
  3. ^ Arora and Barak, pp.99–100
  4. ^ Arora and Barak, pp.100
  5. ^ Arora and Barak, pp.100
  6. ^ Arora and Barak, 2009, Theorem 5.4
  7. ^ Hemaspaandra, Lane (2018). "17.5 Complexity classes". In Rosen, Kenneth H. (ed.). Handbook of Discrete and Combinatorial Mathematics. Discrete Mathematics and Its Applications (2nd ed.). CRC Press. pp. 1308–1314. ISBN 9781351644051.
  8. ^ Ferrarotti, Flavio; Van den Bussche, Jan; Virtema, Jonni (2018). "Expressivity Within Second-Order Transitive-Closure Logic". DROPS-IDN/V2/Document/10.4230/LIPIcs.CSL.2018.22. Schloss-Dagstuhl - Leibniz Zentrum für Informatik. doi:10.4230/LIPIcs.CSL.2018.22. S2CID 4903744.
  9. ^ Arora and Barak, 2009, Claim 5.5

Read other articles:

Fabio Civitelli nel 1994 Fabio Civitelli (Lucignano, 9 aprile 1955) è un fumettista e illustratore italiano, fra i principali disegnatori della serie a fumetti Tex per oltre trent'anni[1][2][3][4]. Indice 1 Biografia 2 Riconoscimenti 3 Lo stile 4 Pubblicazioni 4.1 Sergio Bonelli Editore 5 Note 6 Altri progetti 7 Collegamenti esterni Biografia Esordì come disegnatore di fumetti nel 1974 realizzando alcuni episodi della serie erotica Lady Lust della Edifumetto ...

 

 

Pickett-Hamilton fortLashenden Air Warfare Museum Pickett-Hamilton fort excavated and reconstructed above ground for public display[1]TypePillboxSite historyIn useSecond World WarMaterialsConcrete A Pickett-Hamilton fort is a type of hardened field fortification built in Britain during the invasion crisis of 1940–1941.[2] The Pickett-Hamilton fort was designed to be lowered into the ground while it was not in use, to become inconspicuous and not interfere with the pass...

 

 

Coordinate: 18°20′N 64°50′W / 18.333333°N 64.833333°W18.333333; -64.833333 Isole Vergini Americane (dettagli) (dettagli) Motto: United in Pride and Hope(Uniti nell'orgoglio e nella speranza) Isole Vergini Americane - Localizzazione Dati amministrativi Nome completo Isole Vergini degli Stati Uniti Nome ufficiale Virgin Islands of the United States Dipendente da  Stati Uniti Lingue ufficiali Inglese Capitale Charlotte Amalie  (18.481 ab. / 2010) ...

جزء من سلسلة مقالات سياسة المغربالمغرب الدستور الدستور حقوق الإنسان الملكية الملك الملك محمد السادس السلطة التنفيذية رئاسة الحكومة عزيز أخنوش حكومة المغرب حكومة المغرب 2021 السلطة التشريعية البرلمان المغربي مجلس المستشارين مجلس النواب المجلس الدستوري السلطة القضائية ال�...

 

 

John DeaconDeacon tampil bersama Queen di RDS Arena, Dublin pada 1979Informasi latar belakangLahir19 Agustus 1951Oadby, Leicester,  InggrisGenre Rock Jazz Pekerjaan Musisi Penulis lagu Instrumen Bass Gitar Keyboard Tahun aktif1965-1997, (pensiun)Artis terkaitQueenMan Friday & Jive JuniorThe ImmortalsMontserrat CaballeElton John John Richard Deacon (lahir 19 Agustus 1951) adalah seorang pensiunan musisi Inggris, yang dikenal sebagai pemain bass untuk band rock Queen. Dia menggubah beb...

 

 

سوزان ليندكويست سوزان ليندكويست عام 2015, صورة شخصية بواسطة الجمعية الملكية معلومات شخصية الميلاد 5 يونيو 1949(1949-06-05)شيكاغو، الولايات المتحدة الوفاة 27 أكتوبر 2016 (67 سنة)بوسطن، الولايات المتحدة سبب الوفاة سرطان[1]  الجنسية أمريكي عضوة في الأكاديمية الألمانية للعلوم - ليوب...

Shopping centre in Ontario, Canada Heartland Town CentreHeartland Town Centre in 2021LocationMississauga, Ontario, CanadaCoordinates43°36′52″N 79°41′38″W / 43.6144°N 79.6940°W / 43.6144; -79.6940OwnerOrlando CorporationNo. of stores and services180Total retail floor area2,200,000 square feet (200,000 m2)Websitewww.heartlandtown.com Heartland Town Centre is an outdoor shopping centre located in Mississauga, Ontario, Canada. Heartland Town Centre occupie...

 

 

American politician (1872–1955) For other people named John Cooper, see John Cooper (disambiguation). John Gordon CooperMember of the U.S. House of Representativesfrom Ohio's 19th districtIn officeMarch 4, 1915 – January 3, 1937Preceded byEllsworth R. BathrickSucceeded byMichael J. KirwanMember of the Ohio House of Representativesfrom the Mahoning County districtIn officeJanuary 2, 1911 – January 3, 1915Serving with Oscar E. DiserPrecede...

 

 

2016 song by Frans Jeppsson Wall If I Were SorrySingle by FransReleased28 February 2016GenrePopfolktronicaLength3:04LabelCardiac RecordsSongwriter(s)Fredrik AnderssonMichael SaxellFrans Jeppsson-WallOscar FogelströmFrans singles chronology Fotbollsfest (2008) If I Were Sorry (2016) Young Like Us (2016) Eurovision Song Contest 2016 entryCountrySwedenArtist(s)FransLanguageEnglishComposer(s)Fredrik Andersson, Michael Saxell, Frans Jeppsson-Wall, Oscar FogelströmLyricist(s)Fredrik Andersson, Mi...

119th season in existence of Manchester City F.C. Manchester City 2020–21 football seasonManchester City2020–21 seasonManchester City players celebrating their Carabao Cup victoryOwnerCity Football GroupChairmanKhaldoon Al MubarakManagerPep GuardiolaStadiumEtihad StadiumPremier League1stFA CupSemi-finalsEFL CupWinnersUEFA Champions LeagueRunners-upTop goalscorerLeague: İlkay Gündoğan (13)All: İlkay Gündoğan (17) Home colours Away colours Third colours ← 2019–202021–22...

 

 

David Maria Turoldo David Maria Turoldo, al secolo Giuseppe Turoldo (Coderno, 22 novembre 1916 – Milano, 6 febbraio 1992), è stato un presbitero, teologo, filosofo, scrittore, poeta e antifascista italiano, membro dell'ordine dei Servi di Maria. È stato, oltre che poeta, figura profetica in ambito ecclesiale e civile, resistente sostenitore delle istanze di rinnovamento culturale e religioso, di ispirazione conciliare. È ritenuto da alcuni uno dei più rappresentativi esponenti di un cam...

 

 

Disambiguazione – Se stai cercando la politica italiana, vedi Anna Paola Concia. Concia delle pelli in bottale La concia è il trattamento a cui vengono sottoposte le pelli al fine di conservarle e lavorarle. L'industria conciaria è il settore industriale che produce pelli e cuoio destinate prevalentemente all'industria della moda, ma è largamente utilizzata in altri settori. Indice 1 Distretti conciari 2 Storia 3 Lavorazione conciaria 3.1 Conservazione 3.1.1 Salatura 3.1.2 Essiccame...

1994 children's book by Jeff Freedman The Magic Dishpan of Oz First editionAuthorJeff FreedmanIllustratorDenis McFarlingCover artistDenis McFarlingCountryUnited StatesLanguageEnglishSeriesThe Oz BooksGenreChildren's novel FantasyPublisherEmerald City Press / Books of WonderPublication date1994Media typePrintPages108ISBN978-0-929605-36-4OCLC33988248 The Magic Dishpan of Oz is a 1994 children's book written by Jeff Freedman and illustrated by Denis McFarling.[1] The book is a ...

 

 

Gresufes Gresufes is a Portuguese hamlet in the parish of Balasar, Póvoa de Varzim.[1] It lies about 7 kilometres (4.3 mi) west of Vila Nova de Famalicão.[2] Its name is of Suebi origin.[citation needed] Gresufes was a parish until 1442, when it merged with the neighbouring parish of Casal to form Balasar, named after a small place in the area.[citation needed] Alexandrina Maria da Costa was born in Gresufes.[3] References ^ Caracterização - Ju...

 

 

This article currently links to a large number of disambiguation pages (or back to itself). Please help direct these ambiguous links to articles dealing with the specific meaning intended. Read the FAQ. (June 2024) 64th season of the EFL Cup Football tournament season 2024–25 EFL CupCarabao CupWembley Stadium hosted the finalTournament detailsCountryEnglandWalesDates13 August 2024 – 16 March 2025[1]Teams92Defending championsLiverpool← 2023–242025–26 → The...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Manchester Grammar School – news · newspapers · books · scholar · JSTOR (May 2022) (Learn how and when to remove this message) Private day school in Manchester, Greater Manchester, United KingdomThe Manchester Grammar SchoolThe Manchester Grammar School coat of...

 

 

Questa voce o sezione sugli argomenti compositori e cantanti australiani non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Natalie ImbrugliaImbruglia nel 2015 Nazionalità Australia Regno Unito GenerePop[1]Rock alternativo[1]Pop rock[1] Periodo di attività musical...

 

 

Inca Empire Inca society Education Religion Mythology Architecture Engineering Roads Army Agriculture Ayllu Cuisine Inca history Kingdom of Cusco Inca Empire History of Cusco Chimor–Inca War Invasion of Chile Neo-Inca State Civil War Spanish conquest vte This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (May 2024) Inca mythology is the universe of legends and collective memory of the Inca civilization, w...

New York City was affected by the AIDS epidemic of the 1980s more than any other U.S. city.[1]: 16–17  The AIDS epidemic has been and continues to be highly localized due to a number of complex socio-cultural factors that affect the interaction of the populous communities that inhabit New York. During the 1980s epidemic, the large presence of the gay community prompted local medical practitioners to take note of and respond to observed patterns of reported ailments ...

 

 

Branch of the Russian Aerospace Forces Russian Air ForceВоенно-воздушные силы РоссииVoenno-vozdushnye sily RossiiEmblem of the VVSFounded1912[1]1992 (current form)CountryRussiaTypeAir forceRoleAerial warfarePart of Russian Aerospace ForcesHeadquartersArbat District, MoscowMarchAir MarchAnniversaries12 AugustEngagementsFirst Chechen WarWar of Dagestan1999 East Timorese crisisSecond Chechen WarRusso-Georgian WarAnnexation of CrimeaSyrian Civil War2022 ...