P versus NP and Cryptography Wabash College Mathematics and Computer Science Colloquium Nov 16, 2010 Jeff Kinne, Indiana State University (Theoretical)

Slides:



Advertisements
Similar presentations
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?
Advertisements

Lecture 21 NP-complete problems
The Theory of NP-Completeness
CPE702 Complexity Classes Pruet Boonma Department of Computer Engineering Chiang Mai University Based on Material by Jenny Walter.
Great Theoretical Ideas in Computer Science for Some.
CSE373: Data Structures & Algorithms Lecture 24: The P vs. NP question, NP-Completeness Nicki Dell Spring 2014 CSE 373 Algorithms and Data Structures 1.
Jeff Kinne Indiana State University Part I: Feb 11, 2011 Part II: Feb 25, 2011.
Discrete Structures & Algorithms The P vs. NP Question EECE 320.
Computational problems, algorithms, runtime, hardness
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 Graphs.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
CS10 The Beauty and Joy of Computing Lecture #23 : Limits of Computing Thanks to the success of the Kinect, researchers all over the world believe.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Ref: Pfleeger96, Ch.31 NP-Complete Problems Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Programming & Data Structures
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:
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
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.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
FACULTY OF ENGINEERING & INFORMATION TECHNOLOGIES P, NP, and Complexity Six fundamental facts One rule of thumb Three fundamental notions One fundamental.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Great Theoretical Ideas in Computer Science.
CSCI 2670 Introduction to Theory of Computing November 29, 2005.
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.
Instructor: Shengyu Zhang 1. Tractable While we have introduced many problems with polynomial-time algorithms… …not all problems enjoy fast computation.
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.
CSE373: Data Structures & Algorithms Lecture 22: The P vs. NP question, NP-Completeness Lauren Milne Summer 2015.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
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.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness and course wrap up.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
2101INT – Principles of Intelligence Systems Lecture 3.
Week 13 - Monday.  What did we talk about last time?  B-trees  Hamiltonian tour  Traveling Salesman Problem.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
Complexity © 2014 Project Lead The Way, Inc.Computer Science and Software Engineering.
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.
CSC 413/513: Intro to Algorithms
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
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.
CS 154 Formal Languages and Computability May 10 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
Great Theoretical Ideas in Computer Science.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
Young CS 530 Ad. Algo. D&A NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey.
The Theory of NP-Completeness
More NP-Complete and NP-hard Problems
Chapter 10 NP-Complete Problems.
Computational problems, algorithms, runtime, hardness
Hard Problems Introduction to NP
Analysis and design of algorithm
Intro to NP Completeness
Richard Anderson Lecture 30 NP-Completeness
Chapter 11 Limitations of Algorithm Power
CPS 173 Computational problems, algorithms, runtime, hardness
CS 3343: Analysis of Algorithms
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
The Theory of NP-Completeness
Presentation transcript:

P versus NP and Cryptography Wabash College Mathematics and Computer Science Colloquium Nov 16, 2010 Jeff Kinne, Indiana State University (Theoretical) Computer Science Formerly student of: Wisconsin, Xavier Other: 3 young kids, 1 math/CS teacher wife

Jeff Kinne, Indiana State University 2 Questions? Yes please …

Jeff Kinne, Indiana State University 3

4 Secure Communication? Websites are Secure Factoring is “hard” One-way functions exist P not equal to NP

Jeff Kinne, Indiana State University 5 NP? Factors of 323? Product of 17 and 19? Factor a 1000 digit number? Multiply 1000 digit numbers? NP: easy to check correct solution (a.k.a. Nondeterministic Polynomial time)

Jeff Kinne, Indiana State University 6 NP Can you 3-color the graph/map? easy to check correct solution

Jeff Kinne, Indiana State University 7 NP, more examples Is a math claim true “Easy” to check the proof Routing/Scheduling Nash Equilibria in some settings DNA/protein matching Graph problems (vertex cover, clique, TSP, …) Knapsack, subset sum, bin packing … Integer programming …

Jeff Kinne, Indiana State University 8 P versus NP P – problems we can solve (efficiently) Clay Math Inst. Millennium Prize Can we solve all NP problems (efficiently)?

Jeff Kinne, Indiana State University 9 P versus NP Who cares?

Jeff Kinne, Indiana State University 10 If P=NP Optimal scheduling/routing Theorem proving (including all other Clay Math problems!) … No crypto/privacy!

Jeff Kinne, Indiana State University 11 P versus NP and cryptography Cryptography “One way” function (e.g., multiplication) If P=NP No one way functions! No cryptography! Encryption: should be easy “Un-encryption”: should be hard

Jeff Kinne, Indiana State University 12 If P not equal to NP Not known to imply one way functions (showing that would be major result.) Hard to even approximate many scheduling/routing/etc. problems (Major breakthrough in the 90’s)

Jeff Kinne, Indiana State University 13 P versus NP What do we know?

Jeff Kinne, Indiana State University 14 Brute force search Factor 1000 digit number Check all ~ possibilities 3-coloring a 1000 vertex graph Try all possibilities Exponential time Can we do better?

Jeff Kinne, Indiana State University 15 Better than brute force Is a given number prime? Linear programming Simple example: shortest path Remember where we have been already! Non-trivial algorithms do exist!

Jeff Kinne, Indiana State University 16 Conjecture: P not equal NP Need to show “no algorithm can…” No matter how clever… Really hard to show this… So most projections on solution to P versus NP are… 20 years 100 years never

Jeff Kinne, Indiana State University 17 One Thing we Do Know!! ____ many many different problems (a.k.a. “NP complete” problems) If could solve ____ then could solve all of NP!

Jeff Kinne, Indiana State University 18 NP Complete problems Arbitrary NP problem Circuit SAT 3-coloring Clique Knapsack For more, see

Jeff Kinne, Indiana State University 19 So to settle P versus NP Can just look at 3-coloring or Traveling Salesperson or Knapsack or … Can even focus on a single “universal” algorithm: Try all possible algorithms, each one step at a time…

Jeff Kinne, Indiana State University 20 In conclusion …

Jeff Kinne, Indiana State University 21 P versus NP “NP-complete” problems Hard to show P not equal NP (there are lots of non-trivial algorithms) Want privacy? You need even more than P not equal to NP Conjectures: P not equal to NP One way functions exist (multiplication) Cryptography exists

Jeff Kinne, Indiana State University 22 Thank you!