Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a251486cbe77a8fe

Jump to content

// Workers AI · dad joke modeIs the counting hierarchy tall? Yes, it's a high-order system.

From Wikipedia, the free encyclopedia

In complexity theory, the counting hierarchy is a hierarchy of complexity classes. It is analogous to the polynomial hierarchy, but with NP replaced with PP. It was defined in 1986 by Klaus Wagner.[1][2]

More precisely, the zero-th level is C0P = P, and the (n+1)-th level is Cn+1P = PPCnP (i.e., PP with oracle Cn).[2] Thus:

  • C0P = P
  • C1P = PP
  • C2P = PPPP
  • C3P = PPPPPP
  • ...

The counting hierarchy is contained within PSPACE.[2] By Toda's theorem, the polynomial hierarchy PH is entirely contained in PPP,[3] and therefore in C2P = PPPP.

References

[edit source]
  1. Wagner, Klaus W. (1986). "The complexity of combinatorial problems with succinct input representation". Acta Informatica. 23: 325–356. doi:10.1007/BF00289117.
  2. 1 2 3 "Complexity Zoo". Retrieved 2024-06-26.
  3. Toda, Seinosuke (October 1991). "PP is as Hard as the Polynomial-Time Hierarchy". SIAM Journal on Computing. 20 (5): 865–877. CiteSeerX 10.1.1.121.1246. doi:10.1137/0220053. ISSN 0097-5397.

Further reading

[edit source]