# Impagliazzo's Five Worlds Source: https://blog.computationalcomplexity.org/2004/06/impagliazzos-five-worlds.html Kiwi News: https://news.kiwistand.com/stories/Impagliazzos-Five-Worlds?index=0x6b13fdccfcd516a43d6e4625a7c4b0c2cdc27bdefb22d2a430549b72797185e660bf596e Submitted by tim on 2026-12-05 UTC, 1 upvote, 0 comments ## Summary Russell Impagliazzo's 1995 survey paper "A Personal View of Average-Case Complexity" describes five possible worlds, each with different implications for computer science, and does not guess which one we live in. The worlds range from Algorithmica, where P = NP or something morally equivalent, to Heuristica, where NP problems are hard in the worst case but easy on average. Pessiland, in which NP problems are hard on average but no one-way functions exist, is described as the worst of the five because hard problems yield no cryptographic advantage. Minicrypt has one-way functions without public-key cryptography, and Cryptomania has public-key cryptography. The article notes that most computer scientists would pick Cryptomania or Minicrypt. ## Article Boaz Barak in a comment last week mentioned one of my favorite survey papers, Russell Impagliazzo's A Personal View of Average-Case Complexity presented at the 1995 Complexity Conference. In that paper he describes five possible worlds and their implications to computer science. Algorithmica: P = NP or something "morally equivalent" like fast probabilistic algorithms for NP. This was the world I described last week but looking back at Impagliazzo's paper, he does a nicer job. Heuristica: NP problems are hard in the worst case but easy on average. Pessiland: NP problems hard on average but no one-way functions exist. We can easily create hard NP problems, but not hard NP problems where we know the solution. This is the worst of all possible worlds, since not only can we not solve hard problems on average but we apparantly do not get any cryptographic advantage from the hardness of these problems. Minicrypt: One-way functions exist but we do not have public-key cryptography. Cryptomania: Public-key cryptography is possible, i.e. two parties can exchange secret messages over open channels. Impagliazzo does not guess which world we live in. Most computer scientists would say Cryptomania or Minicrypt. The paper goes on to give one of the better justifications for Levin's definition of average-case complexity.