Conp and Function Problems – If X L, Then M(X) = “Yes” for All Computation ∈ Paths

Total Page:16

File Type:pdf, Size:1020Kb

Conp and Function Problems – If X L, Then M(X) = “Yes” for All Computation ∈ Paths coNP (continued) Suppose L is a coNP problem. • There exists a polynomial-time nondeterministic • algorithm M such that: coNP and Function Problems – If x L, then M(x) = “yes” for all computation ∈ paths. – If x L, then M(x) = “no” for some computation 6∈ path. c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 331 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 333 coNP ¤ ∈ ¤ ∉ £ By definition, coNP is the class of problems whose £ • complement is in NP. NP is the class of problems that have succinct • certificates (recall Proposition 31 on p. 254). ¡ ¢ ¡ ¢ ¡ ¢ ¥ ¦ coNP is therefore the class of problems that have • ¡ ¢ succinct disqualifications: ¡ ¢ ¥ ¦ ¡ ¢ – A “no” instance of a problem in coNP possesses a ¡ ¢ ¡ ¢ short proof of its being a “no” instance. – Only “no” instances have such proofs. c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 332 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 334 An Alternative Characterization of coNP coNP (concluded) Proposition 43 Let L Σ∗ be a language. Then L coNP ⊆ ∈ if and only if there is a polynomially decidable and Clearly P coNP. • ⊆ polynomially balanced relation R such that It is not known if • L = x : y (x, y) R . P = NP coNP. { ∀ ∈ } ∩ (As on p. 253, we assume y x k for some k.) – Contrast this with | |≤| | L¯ = x :(x, y) R for some y . • { ∈¬ } R=RE coRE ∩ Because R remains polynomially balanced, L¯ NP by • ¬ ∈ (see Proposition 11 on p. 126). Proposition 31 (p. 254). Hence L coNP by definition. • ∈ c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 335 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 337 coNP Completeness Some coNP Problems Proposition 44 L is NP-complete if and only if its ¯ validity coNP. complement L = Σ∗ L is coNP-complete. • ∈ − – If φ is not valid, it can be disqualified very succinctly: Proof ( ; the part is symmetric) ⇒ ⇐ a truth assignment that does not satisfy it. Let L¯ be any coNP language. • 0 sat complement coNP. • ∈ Hence L0 NP. – The disqualification is a truth assignment that • ∈ Let R be the reduction from L0 to L. satisfies it. • hamiltonian path complement coNP. So x L0 if and only if R(x) L. • ∈ • ∈ ∈ ¯ ¯ – The disqualification is a Hamiltonian path. So x L0 if and only if R(x) L. • ∈ ∈ R is a reduction from L¯ to L¯. • 0 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 336 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 338 coNP Hardness and NP Hardnessa Proposition 45 If a coNP-hard problem is in NP, then Some coNP-Complete Problems NP = coNP. sat complement is coNP-complete. Let L NP be coNP-hard. • • ∈ – sat complement is the complement of sat. Let NTM M decide L. • validity is coNP-complete. • For any L0 coNP, there is a reduction R from L0 to L. – φ is valid if and only if φ is not satisfiable. • ∈ ¬ L0 NP as it is decided by NTM M(R(x)). – The reduction from sat complement to validity • ∈ – Alternatively, NP is closed under complement. is hence easy. Hence coNP NP. hamiltonian path complement is coNP-complete. • ⊆ • The other direction NP coNP is symmetric. • ⊆ aBrassard (1979); Selman (1978). c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 339 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 341 Possible Relations between P, NP, coNP coNP Hardness and NP Hardness (concluded) Similarly, 1. P = NP = coNP. Proposition 46 If an NP-hard problem is in coNP, then 2. NP = coNP but P = NP. 6 NP = coNP. 3. NP = coNP and P = NP. 6 6 Hence NP-complete problems are unlikely to be in coNP and This is current “consensus.” • coNP-complete problems are unlikely to be in NP. c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 340 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 342 The Primality Problem DP An integer p is prime if p> 1 and all positive numbers • DP NP coNP is the class of problems that have other than 1 and p itself cannot divide it. • ≡ ∩ succinct certificates and succinct disqualifications. primes asks if an integer N is a prime number. • – Each “yes” instance has a succinct certificate. Dividing N by 2, 3,..., √N is not efficient. • – Each “no” instance has a succinct disqualification. 0.5 log N – The length of N is only log N, but √N = 2 . – No instances have both. A polynomial-time algorithm for primes was not found • P DP. until 2002 by Agrawal, Kayal, and Saxena! • ⊆ We will see that primes DP. We will focus on efficient “probabilistic” algorithms for • ∈ • – In fact, primes P as mentioned earlier. primes (used in Mathematica, e.g.). ∈ c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 343 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 345 1: if n = ab for some a,b > 1 then 2: return “composite”; 3: end if Primitive Roots in Finite Fields 4: for r = 2, 3,...,n 1 do if then− 5: gcd(n, r) > 1 Theorem 47 (Lucas and Lehmer (1927)) a A number 6: return “composite”; 7: end if p> 1 is prime if and only if there is a number 1 <r<p if then 8: r is a prime (called the primitive root or generator) such that 9: Let q be the largest prime factor of r 1; − 10: if q 4√r log n and n(r−1)/q = 1 mod r then ≥ 6 1. rp 1 = 1 mod p, and 11: break; Exit the for-loop. − end if { } 12: (p 1)/q 2. r − = 1 mod p for all prime divisors q of p 1. 13: end if 6 − 14: end for r 1 has a prime factor q 4√r log n. for { − do ≥ } We will prove the theorem later. 15: a = 1, 2,..., 2√r log n • 16: if (x a)n = (xn a) mod (xr 1) in Z [ x ] then − 6 − − n a 17: return “composite”; Fran¸cois Edouard Anatole Lucas (1842–1891); Derrick Henry 18: end if Lehmer (1905–1991). 19: end for 20: return “prime”; The only place with “prime” output. { } c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 344 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 346 Pratt’s Theorem The Succinctness of the Certificate Theorem 48 (Pratt (1975)) primes NP coNP. ∈ ∩ Lemma 49 The length of C(p) is at most quadratic at primes is in coNP because a succinct disqualification is 2 • 5 log2 p. a divisor. This claim holds when p = 2 or p = 3. Suppose p is a prime. • • In general, p 1 has k < log2 p prime divisors p’s certificate includes the r in Theorem 47 (p. 346). • − • q1 = 2,q2,...,qk. p 1 Use recursive doubling to check if r − = 1 mod p in • C(p) requires: 2 parentheses and 2k < 2 log2 p separators time polynomial in the length of the input, log p. • 2 (length at most 2 log2 p long), r (length at most log2 p), We also need all prime divisors of p 1: q ,q ,...,q . q1 = 2 and its certificate 1 (length at most 5 bits), the • − 1 2 k qi’s (length at most 2log p), and the C(qi)s. (p 1)/q 2 Checking r − i = 1 mod p is also easy. • 6 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 347 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 349 The Proof (concluded) C(p) is succinct because The Proof (concluded) • k Checking q1,q2,...,qk are all the divisors of p 1 is easy. C(p) 5 log p +5+5 log2 q • − | | ≤ 2 2 i i=2 We still need certificates for the primality of the qi’s. X • k 2 The complete certificate is recursive and tree-like: 5 log p +5+5 log q • ≤ 2 2 i i=2 ! X C(p)=(r; q1, C(q1),q2, C(q2),...,qk, C(qk)). p 1 5 log p +5+5log2 − ≤ 2 2 2 C(p) can also be checked in polynomial time. • < 5 log p + 5 + 5(log p 1)2 2 2 − We next prove that C(p) is succinct. = 5 log2 p + 10 5 log p 5 log2 p • 2 − 2 ≤ 2 for p 4. ≥ c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 348 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 350 Basic Modular Arithmeticsa ¥ § Let m, n Z+. ¨ © • ∈ ¤ ¡ ¡ m n means m divides n and m is n’s divisor. • | £ We call the numbers 0, 1,...,n 1 the residue modulo ¡ ¡ • − n. ¢ ¡ ¡ The greatest common divisor of m and n is denoted • gcd(m, n). ¡ ¡ The r in Theorem 47 (p. 346) is a primitive root of p. ¦ • ¡ ¡ We now prove the existence of primitive roots and then • Theorem 47. ¥ £ ¤ ¡ ¡ ¡ ¡ ¢ ¡ ¡ ¡ ¡ aCarl Friedrich Gauss. c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 351 c 2004 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 353 Euler’sa Totient or Phi Function Two Properties of Euler’s Function Let • Φ(n)= m : 1 m<n, gcd(m, n) = 1 The inclusion-exclusion principlea can be used to prove the { ≤ } following. be the set of all positive integers less than n that are 1 prime to n (Zn∗ is a more popular notation). Lemma 50 φ(n)= n p n(1 p ). | − – Φ(12) = 1, 5, 7, 11 . If n = pe1 pe2 petQis the prime factorization of n, then { } • 1 2 ··· t Define Euler’s function of n to be φ(n)= Φ(n) .
Recommended publications
  • Complexity Theory Lecture 9 Co-NP Co-NP-Complete
    Complexity Theory 1 Complexity Theory 2 co-NP Complexity Theory Lecture 9 As co-NP is the collection of complements of languages in NP, and P is closed under complementation, co-NP can also be characterised as the collection of languages of the form: ′ L = x y y <p( x ) R (x, y) { |∀ | | | | → } Anuj Dawar University of Cambridge Computer Laboratory NP – the collection of languages with succinct certificates of Easter Term 2010 membership. co-NP – the collection of languages with succinct certificates of http://www.cl.cam.ac.uk/teaching/0910/Complexity/ disqualification. Anuj Dawar May 14, 2010 Anuj Dawar May 14, 2010 Complexity Theory 3 Complexity Theory 4 NP co-NP co-NP-complete P VAL – the collection of Boolean expressions that are valid is co-NP-complete. Any language L that is the complement of an NP-complete language is co-NP-complete. Any of the situations is consistent with our present state of ¯ knowledge: Any reduction of a language L1 to L2 is also a reduction of L1–the complement of L1–to L¯2–the complement of L2. P = NP = co-NP • There is an easy reduction from the complement of SAT to VAL, P = NP co-NP = NP = co-NP • ∩ namely the map that takes an expression to its negation. P = NP co-NP = NP = co-NP • ∩ VAL P P = NP = co-NP ∈ ⇒ P = NP co-NP = NP = co-NP • ∩ VAL NP NP = co-NP ∈ ⇒ Anuj Dawar May 14, 2010 Anuj Dawar May 14, 2010 Complexity Theory 5 Complexity Theory 6 Prime Numbers Primality Consider the decision problem PRIME: Another way of putting this is that Composite is in NP.
    [Show full text]
  • On the Randomness Complexity of Interactive Proofs and Statistical Zero-Knowledge Proofs*
    On the Randomness Complexity of Interactive Proofs and Statistical Zero-Knowledge Proofs* Benny Applebaum† Eyal Golombek* Abstract We study the randomness complexity of interactive proofs and zero-knowledge proofs. In particular, we ask whether it is possible to reduce the randomness complexity, R, of the verifier to be comparable with the number of bits, CV , that the verifier sends during the interaction. We show that such randomness sparsification is possible in several settings. Specifically, unconditional sparsification can be obtained in the non-uniform setting (where the verifier is modelled as a circuit), and in the uniform setting where the parties have access to a (reusable) common-random-string (CRS). We further show that constant-round uniform protocols can be sparsified without a CRS under a plausible worst-case complexity-theoretic assumption that was used previously in the context of derandomization. All the above sparsification results preserve statistical-zero knowledge provided that this property holds against a cheating verifier. We further show that randomness sparsification can be applied to honest-verifier statistical zero-knowledge (HVSZK) proofs at the expense of increasing the communica- tion from the prover by R−F bits, or, in the case of honest-verifier perfect zero-knowledge (HVPZK) by slowing down the simulation by a factor of 2R−F . Here F is a new measure of accessible bit complexity of an HVZK proof system that ranges from 0 to R, where a maximal grade of R is achieved when zero- knowledge holds against a “semi-malicious” verifier that maliciously selects its random tape and then plays honestly.
    [Show full text]
  • Dspace 6.X Documentation
    DSpace 6.x Documentation DSpace 6.x Documentation Author: The DSpace Developer Team Date: 27 June 2018 URL: https://wiki.duraspace.org/display/DSDOC6x Page 1 of 924 DSpace 6.x Documentation Table of Contents 1 Introduction ___________________________________________________________________________ 7 1.1 Release Notes ____________________________________________________________________ 8 1.1.1 6.3 Release Notes ___________________________________________________________ 8 1.1.2 6.2 Release Notes __________________________________________________________ 11 1.1.3 6.1 Release Notes _________________________________________________________ 12 1.1.4 6.0 Release Notes __________________________________________________________ 14 1.2 Functional Overview _______________________________________________________________ 22 1.2.1 Online access to your digital assets ____________________________________________ 23 1.2.2 Metadata Management ______________________________________________________ 25 1.2.3 Licensing _________________________________________________________________ 27 1.2.4 Persistent URLs and Identifiers _______________________________________________ 28 1.2.5 Getting content into DSpace __________________________________________________ 30 1.2.6 Getting content out of DSpace ________________________________________________ 33 1.2.7 User Management __________________________________________________________ 35 1.2.8 Access Control ____________________________________________________________ 36 1.2.9 Usage Metrics _____________________________________________________________
    [Show full text]
  • The Complexity Zoo
    The Complexity Zoo Scott Aaronson www.ScottAaronson.com LATEX Translation by Chris Bourke [email protected] 417 classes and counting 1 Contents 1 About This Document 3 2 Introductory Essay 4 2.1 Recommended Further Reading ......................... 4 2.2 Other Theory Compendia ............................ 5 2.3 Errors? ....................................... 5 3 Pronunciation Guide 6 4 Complexity Classes 10 5 Special Zoo Exhibit: Classes of Quantum States and Probability Distribu- tions 110 6 Acknowledgements 116 7 Bibliography 117 2 1 About This Document What is this? Well its a PDF version of the website www.ComplexityZoo.com typeset in LATEX using the complexity package. Well, what’s that? The original Complexity Zoo is a website created by Scott Aaronson which contains a (more or less) comprehensive list of Complexity Classes studied in the area of theoretical computer science known as Computa- tional Complexity. I took on the (mostly painless, thank god for regular expressions) task of translating the Zoo’s HTML code to LATEX for two reasons. First, as a regular Zoo patron, I thought, “what better way to honor such an endeavor than to spruce up the cages a bit and typeset them all in beautiful LATEX.” Second, I thought it would be a perfect project to develop complexity, a LATEX pack- age I’ve created that defines commands to typeset (almost) all of the complexity classes you’ll find here (along with some handy options that allow you to conveniently change the fonts with a single option parameters). To get the package, visit my own home page at http://www.cse.unl.edu/~cbourke/.
    [Show full text]
  • A Short History of Computational Complexity
    The Computational Complexity Column by Lance FORTNOW NEC Laboratories America 4 Independence Way, Princeton, NJ 08540, USA [email protected] http://www.neci.nj.nec.com/homepages/fortnow/beatcs Every third year the Conference on Computational Complexity is held in Europe and this summer the University of Aarhus (Denmark) will host the meeting July 7-10. More details at the conference web page http://www.computationalcomplexity.org This month we present a historical view of computational complexity written by Steve Homer and myself. This is a preliminary version of a chapter to be included in an upcoming North-Holland Handbook of the History of Mathematical Logic edited by Dirk van Dalen, John Dawson and Aki Kanamori. A Short History of Computational Complexity Lance Fortnow1 Steve Homer2 NEC Research Institute Computer Science Department 4 Independence Way Boston University Princeton, NJ 08540 111 Cummington Street Boston, MA 02215 1 Introduction It all started with a machine. In 1936, Turing developed his theoretical com- putational model. He based his model on how he perceived mathematicians think. As digital computers were developed in the 40's and 50's, the Turing machine proved itself as the right theoretical model for computation. Quickly though we discovered that the basic Turing machine model fails to account for the amount of time or memory needed by a computer, a critical issue today but even more so in those early days of computing. The key idea to measure time and space as a function of the length of the input came in the early 1960's by Hartmanis and Stearns.
    [Show full text]
  • On Unapproximable Versions of NP-Complete Problems By
    SIAM J. COMPUT. () 1996 Society for Industrial and Applied Mathematics Vol. 25, No. 6, pp. 1293-1304, December 1996 O09 ON UNAPPROXIMABLE VERSIONS OF NP-COMPLETE PROBLEMS* DAVID ZUCKERMANt Abstract. We prove that all of Karp's 21 original NP-complete problems have a version that is hard to approximate. These versions are obtained from the original problems by adding essentially the same simple constraint. We further show that these problems are absurdly hard to approximate. In fact, no polynomial-time algorithm can even approximate log (k) of the magnitude of these problems to within any constant factor, where log (k) denotes the logarithm iterated k times, unless NP is recognized by slightly superpolynomial randomized machines. We use the same technique to improve the constant such that MAX CLIQUE is hard to approximate to within a factor of n. Finally, we show that it is even harder to approximate two counting problems: counting the number of satisfying assignments to a monotone 2SAT formula and computing the permanent of -1, 0, 1 matrices. Key words. NP-complete, unapproximable, randomized reduction, clique, counting problems, permanent, 2SAT AMS subject classifications. 68Q15, 68Q25, 68Q99 1. Introduction. 1.1. Previous work. The theory of NP-completeness was developed in order to explain why certain computational problems appeared intractable [10, 14, 12]. Yet certain optimization problems, such as MAX KNAPSACK, while being NP-complete to compute exactly, can be approximated very accurately. It is therefore vital to ascertain how difficult various optimization problems are to approximate. One problem that eluded attempts at accurate approximation is MAX CLIQUE.
    [Show full text]
  • Complexity Theory
    Mapping Reductions Part II -and- Complexity Theory Announcements ● Casual CS Dinner for Women Studying Computer Science is tomorrow night: Thursday, March 7 at 6PM in Gates 219! ● RSVP through the email link sent out earlier this week. Announcements ● Problem Set 7 due tomorrow at 12:50PM with a late day. ● This is a hard deadline – no submissions will be accepted after 12:50PM so that we can release solutions early. Recap from Last Time Mapping Reductions ● A function f : Σ1* → Σ2* is called a mapping reduction from A to B iff ● For any w ∈ Σ1*, w ∈ A iff f(w) ∈ B. ● f is a computable function. ● Intuitively, a mapping reduction from A to B says that a computer can transform any instance of A into an instance of B such that the answer to B is the answer to A. Why Mapping Reducibility Matters ● Theorem: If B ∈ R and A ≤M B, then A ∈ R. ● Theorem: If B ∈ RE and A ≤M B, then A ∈ RE. ● Theorem: If B ∈ co-RE and A ≤M B, then A ∈ co-RE. ● Intuitively: A ≤M B means “A is not harder than B.” Why Mapping Reducibility Matters ● Theorem: If A ∉ R and A ≤M B, then B ∉ R. ● Theorem: If A ∉ RE and A ≤M B, then B ∉ RE. ● Theorem: If A ∉ co-RE and A ≤M B, then B ∉ co-RE. ● Intuitively: A ≤M B means “B is at at least as hard as A.” Why Mapping Reducibility Matters IfIf thisthis oneone isis “easy”“easy” ((RR,, RERE,, co-co-RERE)…)… A ≤M B …… thenthen thisthis oneone isis “easy”“easy” ((RR,, RERE,, co-co-RERE)) too.too.
    [Show full text]
  • 1 RP and BPP
    princeton university cos 522: computational complexity Lecture 6: Randomized Computation Lecturer: Sanjeev Arora Scribe:Manoj A randomized Turing Machine has a transition diagram similar to a nondeterministic TM: multiple transitions are possible out of each state. Whenever the machine can validly more than one outgoing transition, we assume it chooses randomly among them. For now we assume that there is either one outgoing transition (a deterministic step) or two, in which case the machine chooses each with probability 1/2. (We see later that this simplifying assumption does not effect any of the theory we will develop.) Thus the machine is assumed to have a fair random coin. The new quantity of interest is the probability that the machine accepts an input. The probability is taken over the coin flips of the machine. 1 RP and BPP Definition 1 RP is the class of all languages L, such that there is a polynomial time randomized TM M such that 1 x ∈ L ⇔ Pr[M accepts x] ≥ (1) 2 x ∈ L ⇔ Pr[M accepts x]=0 (2) We can also define a class where we allow two-sided errors. Definition 2 BPP is the class of all languages L, such that there is a polynomial time randomized TM M such that 2 x ∈ L ⇔ Pr[M accepts x] ≥ (3) 3 1 x ∈ L ⇔ Pr[M accepts x] ≤ (4) 3 As in the case of NP, we can given an alternative definiton for these classes. Instead of the TM flipping coins by itself, we think of a string of coin flips provided to the TM as an additional input.
    [Show full text]
  • 18.405J S16 Lecture 3: Circuits and Karp-Lipton
    18.405J/6.841J: Advanced Complexity Theory Spring 2016 Lecture 3: Circuits and Karp-Lipton Scribe: Anonymous Student Prof. Dana Moshkovitz Scribe Date: Fall 2012 1 Overview In the last lecture we examined relativization. We found that a common method (diagonalization) for proving non-inclusions between classes of problems was, alone, insufficient to settle the P versus NP problem. This was due to the existence of two orcales: one for which P = NP and another for which P =6 NP . Therefore, in our search for a solution, we must look into the inner workings of computation. In this lecture we will examine the role of Boolean Circuits in complexity theory. We will define the class P=poly based on the circuit model of computation. We will go on to give a weak circuit lower bound and prove the Karp-Lipton Theorem. 2 Boolean Circuits Turing Machines are, strange as it may sound, a relatively high level programming language. Because we found that diagonalization alone is not sufficient to settle the P versus NP problem, we want to look at a lower level model of computation. It may, for example, be easier to work at the bit level. To this end, we examine boolean circuits. Note that any function f : f0; 1gn ! f0; 1g is expressible as a boolean circuit. 2.1 Definitions Definition 1. Let T : N ! N.A T -size circuit family is a sequence fCng such that for all n, Cn is a boolean circuit of size (in, say, gates) at most T (n). SIZE(T ) is the class of languages with T -size circuits.
    [Show full text]
  • On the Computational Complexity of Algorithms by J
    ON THE COMPUTATIONAL COMPLEXITY OF ALGORITHMS BY J. HARTMANIS AND R. E. STEARNS I. Introduction. In his celebrated paper [1], A. M. Turing investigated the computability of sequences (functions) by mechanical procedures and showed that the setofsequencescanbe partitioned into computable and noncomputable sequences. One finds, however, that some computable sequences are very easy to compute whereas other computable sequences seem to have an inherent complexity that makes them difficult to compute. In this paper, we investigate a scheme of classifying sequences according to how hard they are to compute. This scheme puts a rich structure on the computable sequences and a variety of theorems are established. Furthermore, this scheme can be generalized to classify numbers, functions, or recognition problems according to their compu- tational complexity. The computational complexity of a sequence is to be measured by how fast a multitape Turing machine can print out the terms of the sequence. This particular abstract model of a computing device is chosen because much of the work in this area is stimulated by the rapidly growing importance of computation through the use of digital computers, and all digital computers in a slightly idealized form belong to the class of multitape Turing machines. More specifically, if Tin) is a computable, monotone increasing function of positive integers into positive integers and if a is a (binary) sequence, then we say that a is in complexity class ST or that a is T-computable if and only if there is a multitape Turing machine 3~ such that 3~ computes the nth term of a. within Tin) operations.
    [Show full text]
  • Projects. Probabilistically Checkable Proofs... Probabilistically Checkable Proofs PCP Example
    Projects. Probabilistically Checkable Proofs... Probabilistically Checkable Proofs What’s a proof? Statement: A formula φ is satisfiable. Proof: assignment, a. Property: 5 minute presentations. Can check proof in polynomial time. A real theory. Polytime Verifier: V (π) Class times over RRR week. A tiny introduction... There is π for satisfiable φ where V(π) says yes. For unsatisfiable φ, V (π) always says no. Will post schedule. ...and one idea Can prove any statement in NP. Tests submitted by Monday (mostly) graded. ...using random walks. Rest will be done this afternoon. Probabilistically Checkable Proof System:(r(n),q(n)) n is size of φ. Proof: π. Polytime V(π) Using r(n) random bits, look at q(n) places in π If φ is satisfiable, there is a π, where Verifier says yes. If φ is not satisfiable, for all π, Pr[V(π) says yes] 1/2. ≤ PCP Example. Probabilistically Checkable Proof System:(r(n),q(n)) Probabilistically Checkable Proof System:(r(n),q(n)) Graph Not Isomorphism: (G ,G ). n is size of φ. 1 2 n is size of φ. There is no way to permute the vertices of G1 to get G2. Proof: π. Proof: π. Polytime V(π) Give a PCP(poly(n), 1). (Weaker than PCP(O(logn), 3). Polytime V(π) Using r(n) random bits, look at q(n) places in π Exponential sized proof is allowed. Using r(n) random bits, look at q(n) places in π If φ is satisfiable, there is a π, Can only look at 1 place, though.
    [Show full text]
  • Complexity Classes
    CHAPTER Complexity Classes In an ideal world, each computational problem would be classified at least approximately by its use of computational resources. Unfortunately, our ability to so classify some important prob- lems is limited. We must be content to show that such problems fall into general complexity classes, such as the polynomial-time problems P, problems whose running time on a determin- istic Turing machine is a polynomial in the length of its input, or NP, the polynomial-time problems on nondeterministic Turing machines. Many complexity classes contain “complete problems,” problems that are hardest in the class. If the complexity of one complete problem is known, that of all complete problems is known. Thus, it is very useful to know that a problem is complete for a particular complexity class. For example, the class of NP-complete problems, the hardest problems in NP, contains many hundreds of important combinatorial problems such as the Traveling Salesperson Prob- lem. It is known that each NP-complete problem can be solved in time exponential in the size of the problem, but it is not known whether they can be solved in polynomial time. Whether ? P and NP are equal or not is known as the P = NP question. Decades of research have been devoted to this question without success. As a consequence, knowing that a problem is NP- complete is good evidence that it is an exponential-time problem. On the other hand, if one such problem were shown to be in P, all such problems would be been shown to be in P,a result that would be most important.
    [Show full text]