ArticleslgStudy

mathematics

Karp–Lipton theorem

Karp–Lipton theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Karp–Lipton theorem rather than just read about it. In short: In complexity theory, the Karp–Lipton theorem states that if the Boolean satisfiability problem (SAT) can be solved by Boolean circuits with a polynomial number of logic gates, then Π 2 = Σ 2 {\displaystyle \Pi _{2}=\Sigma _{2}\,} and therefore P H = Σ 2 . {\displaystyle {\mathsf {PH}}=\Sigma _{2}.\,} That is, if we assume that NP, the class of nondeterministic polynomial time problems, can be contained in the non-u…

Key takeaways

  • Karp–Lipton theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Karp–Lipton theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Karp–Lipton theorem from memory before moving on to harder problems.

Reference excerpt

In complexity theory, the Karp–Lipton theorem states that if the Boolean satisfiability problem (SAT) can be solved by Boolean circuits with a polynomial number of logic gates, then

Π 2 = Σ 2 {\displaystyle \Pi _{2}=\Sigma _{2}\,} and therefore P H = Σ 2 . {\displaystyle {\mathsf {PH}}=\Sigma _{2}.\,}

That is, if we assume that NP, the class of nondeterministic polynomial time problems, can be contained in the non-uniform polynomial time complexity class P/poly, then this assumption implies the collapse of the polynomial hierarchy at its second level. Such a collapse is believed unlikely, so the theorem is generally viewed by complexity theorists as evidence for the nonexistence of polynomial size circuits for SAT or for other NP-complete problems. A proof that such circuits do not exist would imply that P ≠ NP. As P/poly contains all problems solvable in randomized polynomial time (Adleman's theorem), the theorem is also evidence that the use of randomization does not lead to polynomial time algorithms for NP-complete problems. The Karp–Lipton theorem is named after Richard M. Karp and Richard J. Lipton, who first proved it in 1980. (Their original proof collapsed PH to Σ 3 {\displaystyle \Sigma _{3}} , but Michael Sipser improved it to Σ 2 {\displaystyle \Sigma _{2}} .) Variants of the theorem state that, under the same assumption, MA = AM, and PH collapses to SP2 complexity class. There are stronger conclusions possible if PSPACE, or some other complexity classes are assumed to have polynomial-sized circuits; see P/poly. If NP is assumed to be a subset of BPP (which is a subset of P/poly), then the polynomial hierarchy collapses to BPP. If coNP is assumed to be subset of NP/poly, then the polynomial hierarchy collapses to its third level.

Intuition Suppose that polynomial sized circuits for SAT not only exist, but also that they could be constructed by a polynomial time algorithm. Then this supposition implies that SAT itself could be solved by a polynomial time algorithm that constructs the circuit and then applies it. That is, efficiently constructible circuits for SAT would lead to a stronger collapse, P = NP. The assumption of the Karp–Lipton theorem, that these circuits exist, is weaker. But it is still possible for an algorithm in the complexity class Σ 2 {\displaystyle \Sigma _{2}} to guess a correct circuit for SAT. The complexity class Σ 2 {\displaystyle \Sigma _{2}} describes problems of the form

∃ x ∀ y ψ ( x , y ) {\displaystyle \exists x\forall y\;\psi (x,y)}

where ψ {\displaystyle \psi } is any polynomial-time computable predicate. The existential power of the first quantifier in this predicate can be used to guess a correct circuit for SAT, and the universal power of the second quantifier can be used to verify that the circuit is correct. Once this circuit is guessed and verified, the algorithm in class Σ 2 {\displaystyle \Sigma _{2}} can use it as a subroutine for solving other problems.

Self-reducibility To understand the Karp–Lipton proof in more detail, we consider the problem of testing whether a circuit c is a correct circuit for solving SAT instances of a given size, and show that this circuit testing problem belongs to Π 1 {\displaystyle \Pi _{1}} . That is, there exists a polynomial time computable predicate V such that c is a correct circuit if and only if, for all polynomially-bounded z, V(c,z) is true. The circuit c is a correct circuit for SAT if it satisfies two properties:

For every pair (s,x) where s is an instance of SAT and x is a solution to the instance, c(s) must be true For every instance s of SAT for which c(s) is true, s must be solvable. The first of these two properties is already in the form of problems in class Π 1 {\displaystyle \Pi _{1}} . To verify the second property, we use the self-reducibility property of SAT. Self-reducibility describes the phenomenon that, if we can quickly test whether a SAT instance is solvable, we can almost as quickly find an explicit solution to the instance. To find a solution to an instance s, choose one of the Boolean variables x that is input to s, and make two smaller instances s0 and s1 where si denotes the formula formed by replacing x with the constant i. Once these two smaller instances have been constructed, apply the test for solvability to each of them. If one of these two tests returns that the smaller instance is satisfiable, continue solving that instance until a complete solution has been derived. To use self-reducibility to check the second property of a correct circuit for SAT, we rewrite it as follows:

For every instance s of SAT for which c(s) is true, the self-reduction procedure described above finds a valid solution to s. Thus, we can test in Π 1 {\displaystyle \Pi _{1}} whether c is a valid circuit for solving SAT. See Random self-reducibility for more information.

Proof of Karp–Lipton theorem The Karp–Lipton theorem can be restated as a result about Boolean formulas with polynomially-bounded quantifiers. Problems in Π 2 {\displaystyle \Pi _{2}} are described by formulas of this type, with the syntax

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Karp–Lipton theorem

Start with the simplest possible case. Write down what Karp–Lipton theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Karp–Lipton theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Karp–Lipton theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Karp–Lipton theorem

In research
Karp–Lipton theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Karp–Lipton theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Karp–Lipton theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Theorems in computational complexity theory, so understanding it makes those chapters shorter.
In everyday life
Look for Karp–Lipton theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Karp–Lipton theorem” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Karp–Lipton theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Karp–Lipton theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Karp–Lipton theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Karp–Lipton theorem in simple terms?

In complexity theory, the Karp–Lipton theorem states that if the Boolean satisfiability problem (SAT) can be solved by Boolean circuits with a polynomial number of logic gates, then Π 2 = Σ 2 {\displaystyle \Pi _{2}=\Sigma _{2}\,} and therefore P H = Σ 2 . {\displaystyle {\mathsf {PH}}=\Sigma _{2}…

Why does Karp–Lipton theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Karp–Lipton theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Karp–Lipton theorem.

Tags

  • Theorems in computational complexity theory

Keep exploring