The Computational Complexity of Satisfiability Lance Fortnow NEC Laboratories America.

Slides:



Advertisements
Similar presentations
Models of Computation Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 1, Lecture 2.
Advertisements

Quantum Information and the PCP Theorem Ran Raz Weizmann Institute.
Lecture 16: Relativization Umans Complexity Theory Lecturess.
NP-Completeness Lecture for CS 302. Traveling Salesperson Problem You have to visit n cities You want to make the shortest trip How could you do this?
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Great Theoretical Ideas in Computer Science for Some.
Discrete Structures & Algorithms The P vs. NP Question EECE 320.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
The Theory of NP-Completeness
NP-Complete Problems Problems in Computer Science are classified into
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Chapter 11: Limitations of Algorithmic Power
Toward NP-Completeness: Introduction Almost all the algorithms we studies so far were bounded by some polynomial in the size of the input, so we call them.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
1 Slides by Asaf Shapira & Michael Lewin & Boaz Klartag & Oded Schwartz. Adapted from things beyond us.
Complexity Theory: The P vs NP question Lecture 28 (Dec 4, 2007)
Complexity Classes Kang Yu 1. NP NP : nondeterministic polynomial time NP-complete : 1.In NP (can be verified in polynomial time) 2.Every problem in NP.
One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Optimal Proof Systems and Sparse Sets Harry Buhrman, CWI Steve Fenner, South Carolina Lance Fortnow, NEC/Chicago Dieter van Melkebeek, DIMACS/Chicago.
Theory of Computation, Feodor F. Dragan, Kent State University 1 NP-Completeness P: is the set of decision problems (or languages) that are solvable in.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
CSC 413/513: Intro to Algorithms NP Completeness.
CSCI 2670 Introduction to Theory of Computing December 1, 2004.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
NP-Completeness (Nondeterministic Polynomial Completeness) Sushanth Sivaram Vallath & Z. Joseph.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
My Favorite Ten Complexity Theorems of the Past Decade II Lance Fortnow University of Chicago.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Probabilistic verification Mario Szegedy, Rutgers www/cs.rutgers.edu/~szegedy/07540 Lecture 1.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
NPC.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
Complexity 24-1 Complexity Andrei Bulatov Interactive Proofs.
Comparing Notions of Full Derandomization Lance Fortnow NEC Research Institute With thanks to Dieter van Melkebeek.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
TU/e Algorithms (2IL15) – Lecture 9 1 NP-Completeness NOT AND OR AND NOT AND.
1 1. Which of these sequences correspond to Hamilton cycles in the graph? (a) (b) (c) (d) (e)
1 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lectures
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
The NP class. NP-completeness
Chapter 10 NP-Complete Problems.
Probabilistic Algorithms
Richard Anderson Lecture 26 NP-Completeness
Hard Problems Introduction to NP
Intro to Theory of Computation
Perspective on Lower Bounds: Diagonalization
My Favorite Ten Complexity Theorems of the Past Decade II
Chapter 11 Limitations of Algorithm Power
NP-Completeness Lecture for CS 302.
The Polynomial Hierarchy Enumeration Problems 7.3.3
CSC 380: Design and Analysis of Algorithms
Presentation transcript:

The Computational Complexity of Satisfiability Lance Fortnow NEC Laboratories America

Boolean Formula u v w x: variables take on TRUE or FALSE NOT u u OR v u AND v

Assignment u  TRUE v  FALSE w  FALSE x  TRUE

Satisfying Assignment u  TRUE v  FALSE w  TRUE x  TRUE

Satisfiability A formula is satisfiable if it has a satisfying assignment. SAT is the set of formula with satisfying assignments. SAT is in the class NP, the set of problems with easily verifiable witnesses.

NP-Completeness of SAT In 1971, Cook and Levin showed that SAT is NP-complete.

NP-Completeness of SAT In 1971, Cook and Levin showed that SAT is NP-complete. Every set A in NP reduces to SAT. A SAT

NP-Completeness of SAT In 1971, Cook and Levin showed that SAT is NP-complete. Every set A in NP reduces to SAT. A SAT f

NP-Completeness of SAT True even for SAT in 3-CNF form. A SAT f

NP-Complete Problems SAT has same complexity as Map Coloring Traveling Salesman Job Scheduling Integer Programming Clique …

Questions about SAT How much time and memory do we need to determine satisfiability? Can one prove that a formula is not satisfiable? Are two SAT questions better than one? Is SAT the same as every other NP- complete set? Can we solve SAT quickly on other models of computation?

How Much Time and Memory Do We Need to Determine Satisfiability?

Solving SAT TIMETIME SPACE log n n n 2n2n

Solving SAT Search all of the assignments. Best known for general formulas. TIMETIME SPACE log n n n 2n2n

Solving SAT Can solve 2-CNF formula quickly. TIMETIME SPACE log n n n 2n2n 2-CNF

Solving SAT TIMETIME SPACE log n n n 2n2n

Solving SAT Schöning (1999) 3-CNF satisfiability solvable in time (4/3) n TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF

Schöning’s Algorithm Pick an assignment a at random. Repeat 3n times: If a is satisfying then HALT Pick an unsatisfied clause. Pick a random variable x in that clause. Flip the truth value of a(x). Pick a new a and try again.

Solving SAT Is SAT computable in polynomial- time? Equivalent to P = NP question. Clay Math Institute Millennium Prize TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP

Solving SAT Can we solve SAT in linear time? TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP ?

Solving SAT Does SAT have a linear-time algorithm? Unknown. TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP

Solving SAT Does SAT have a linear-time algorithm? Unknown. Does SAT have a log-space algorithm? TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP ?

Solving SAT Does SAT have a linear-time algorithm? Unknown. Does SAT have a log-space algorithm? Unknown. TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP

Solving SAT Does SAT have an algorithm that uses linear time and logarithmic space? TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP ?

Solving SAT Does SAT have an algorithm that uses linear time and logarithmic space? No! [Fortnow ’99] TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP X

Idea of Separation Assume SAT can be solved in linear time and logarithmic space. Show certain alternating automata can be simulated in log-space. Nepomnjaščiĭ (1970) shows such machines can simulate super- logarithmic space.

Solving SAT Improved by Lipton-Viglas and Fortnow-van Melkebeek. Impossible in time n a and polylogarithmic space for any a less than the Golden Ratio. TIMETIME SPACE log n n n 2n2n 1.33 n 3-CNF ncnc P = NP n 1.618

Solving SAT Fortnow and van Melkebeek ’00 More General Time- Space Tradeoffs TIMETIME SPACE log n n 2n2n 1.33 n 3-CNF ncnc P = NP n n

Solving SAT Fortnow and van Melkebeek ’00 More General Time- Space Tradeoffs Current State of Knowledge for Worst Case TIMETIME SPACE log n n 2n2n 1.33 n 3-CNF ncnc P = NP n n

Solving SAT Fortnow and van Melkebeek ’00 More General Time- Space Tradeoffs Current State of Knowledge for Worst Case Other Work on Random Instances TIMETIME SPACE log n n 2n2n 1.33 n 3-CNF ncnc P = NP n n

Can One Prove That a Formula is not Satisfiable?

SAT as Proof Verification

 is satisfiable u = True; v = True

SAT as Proof Verification

 is satisfiable

SAT as Proof Verification  is satisfiable Cannot produce satisfying assignment

Verifying Unsatisfiability

u = true; v = true

Verifying Unsatisfiability

u = true; v = false

Verifying Unsatisfiability Not possible unless NP = co-NP

Interactive Proof System

HTTHHHTH

Interactive Proof System HTTHHHTH

Interactive Proof System HTTHHHTH THTHHTHHTTH

Interactive Proof System HTTHHHTH THTHHTHHTTH THTTHHHHTTHHH

Interactive Proof System HTTHHHTH THTHHTHHTTH THTTHHHHTTHHH Developed in 1985 by Babai and Goldwasser-Micali-Rackoff

Interactive Proof System HTTHHHTH THTHHTHHTTH THTTHHHHTTHHH Lund-Fortnow-Karloff-Nisan 1990: There is an interactive proof system for showing a formula not satisfiable.

Interactive Proof for co-SAT For any u in {0,1} and v in {0,1} value is zero.

Interactive Proof for co-SAT

Value is zero.

Interactive Proof for co-SAT

Picks u at random, say u = 17.

Interactive Proof for co-SAT u =

Interactive Proof for co-SAT u =

Interactive Proof for co-SAT

u =

Interactive Proof for co-SAT u = 17 v = Pick random v, say v=6.

Interactive Proof for co-SAT u = 17 v = Plug in 17 for u and 6 for v. Evaluates to A PERFECT MATCH!

Interactive Proof for co-SAT If formula  was satisfiable then any evil prover would fail with high probability. Uses fact that polynomials are low-degree. Two low-degree polynomials cannot agree on many places.

Extensions Shamir 1990 Interactive Proof System for every PSPACE language. GMW/BCC 1990 SAT has interactive proof that does not reveal any information about the satisfying assignment.

Probabilistically Checkable Proof Systems

Queries bits of the proof Defined by Fortnow-Rompel-Sipser 1988

Probabilistically Checkable Proof Systems Queries bits of the proof Babai-Fortnow-Lund 1990 PCP = NEXP

Probabilistically Checkable Proof Systems Queries bits of the proof Babai-Fortnow-Levin-Szegedy 1991 Roughly linear-size proof of SAT verifiable with small number of queries.

Probabilistically Checkable Proof Systems Queries bits of the proof ALMSS 1991 Proofs of SAT using constant queries and logarithmic number of random coins.

Probabilistically Checkable Proof Systems Queries bits of the proof ALMSS 1991 Many applications for showing hardness of approximation for optimization problems.

Hard to Approximate Clique Size Traveling Salesman Max-Sat Shortest Vector in Lattice Graph Coloring Independent Set …

Are Two SAT Questions Better Than One?

Questions to SAT Does the number of queries matter? Focus on what happens if two queries to SAT can be simulated by a single SAT query. Oracle willing to honestly answer a limited number of SAT questions.

Are Two Queries Better Than One? Series of results by Kadin 1988 Wagner 1988 Chang-Kadin 1990 Amir-Beigel-Gasarch 1990 Beigel-Chang-Ogihara 1993 Buhrman-Fortnow 1998 Fortnow-Pavan-Sengupta 2002

If One Query as Powerful as Two Queries … Polynomial-Time hierarchy collapses to Symmetric Polynomial-Time. Any polynomial number of adaptive SAT queries, can be simulated by a single SAT query.

Alternation

Model invented by CKS Unbounded Alternation = PSPACE

Alternation Model invented by CKS Constant Alternation = Polynomial Hierarchy

Symmetric P

Defined by Russell and Sundaram 1996

If One Query as Powerful as Two Queries …

Hard-Easy Strings If one query as powerful as two then for every unsatisfiable , either There is a nondeterministic proof that  is not satisfiable, or One can use  as advice to solve satisfiability for all formulas of the same length. Proofs use applications of this fact.

Is SAT the Same as Every Other NP-Complete Set?

NP-Completeness of SAT A SAT ** ** f

Isomorphisms of SAT A SAT ** ** f A set A is isomorphic to SAT if A reduces to SAT via a 1-1, onto, easily computable and invertible reduction.

Are all NP-complete sets the same as SAT? A SAT ** ** f Berman and Hartmanis 1978 All of the known NP-complete sets are isomorphic.

Are all NP-complete sets the same as SAT? A SAT ** ** f Berman and Hartmanis 1978 Conjecture: All of the NP-complete sets are isomorphic.

Are all NP-complete sets the same as SAT? A SAT ** ** f If conjecture is true… All NP-complete sets, like SAT, must have an exponential number of strings at every length.

What if SAT reduces to a small set? Mahaney’s Theorem (1978) For many-one reduction then P=NP. Ogihara and Watanabe (1991) For reductions that ask a constant number of queries still P=NP. Karp-Lipton(1980)/Sengupta(2001) For arbitrary reductions, polynomial hierarchy collapses to Symmetric-P.

Are all NP-complete sets the same as SAT? A SAT ** ** f Still Open Look at relativized worlds Universes that show us limitations of most proof techniques.

Are all NP-complete sets the same as SAT? A SAT ** ** f Fenner-Fortnow-Kurtz 1992 A relativized world where the isomorphism conjecture holds.

Can We Solve SAT Quickly on Other Models of Computation?

Solving SAT on Other Models of Computation RANDOM QUANTUMDNA

Can we solve SAT Quickly with Random Coins? Would imply collapse of the polynomial-time hierarchy. Reasonable assumptions imply randomness computation not any stronger than deterministic computation. IW ’97: If EXP does not have subexponential-size circuits then we can derandomize.

Can we solve SAT Quickly with DNA Computing? Adleman has solved TSP on 20 cities with DNA manipulation. Problem: Exponential Growth

Exponential Growth 20 Cities

Exponential Growth 75 Cities

Can we solve SAT Quickly with DNA Computing? Adleman has solved TSP on 20 cities with DNA manipulation. Problem: Exponential Growth Adleman The less pleasing part is that we learned enough about our methods to conclude that they would not allow us to outperform electronic computers.

Can we solve SAT Quickly on a Quantum Computer? Basic element is qubit that is in a superposition of zero and one. N qubits can be entangled to form 2 N quantum states. States can have negative amplitudes that can cancel each other out. Transformations are limited to a unitary manner.

Can we solve SAT Quickly on a Quantum Computer? Shor 1994 Factoring can be solved quickly on a quantum computer. Grover 1996 Search a database of size N using N 1/2 queries. Yields quadratic improvement for general satisfiability. Best possible in a black-box model.

Can we solve SAT Quickly on a Quantum Computer? Fortnow-Rogers Relativized world where quantum computing is no easier than classical, yet PNP and the polynomial hierarchy does not collapse. Physical Difficulties Maintain Entanglement Handle Errors High Precision

Other Research Lower Bounds for proving non- satisfiabilility in weak logical models. Circuit complexity approaches to lower bounds for satisfiability. Solving SAT on “Typical” instances. Many other structural questions about satisfiability.

Conclusions The satisfiability question captures nondeterministic computation and much of the interest in computational complexity. We have made much progress on these fronts but many questions remain. Prove PNP!