In Boolean logic, a sentence is S = C¡ ^ C2 ^ C3 ^ …· ^ three literals.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
In Boolean logic, a sentence is in 3-Conjunctive Normal Form (abbreviated 3-CNF) if it of the form
C1 ^ C2 ^ C3 ^ .…. A Cm, where S is the conjunction of m clauses, with each clause being a disjunction of
S
three literals.
We say that S is satisfiable if there exists an assignment of TRUE/FALSE values to each variable so that the entire
sentence S evaluates to TRUE.
For example, in the last class, we showed that the following 3-CNF sentence, with m=8 clauses, is not satisfiable.
D) ^ (B v č v D) ^ (c vĀ v D) ^ (A
(A v
(Bv č v D) A (c v Ā v D) a (A v B V C) ^ (a v B v C)
A V
v B v D)
S =
AVВV
A V B
Let 3-SAT be the decision problem that inputs a 3-CNF sentence S, and outputs YES if S is satisfiable, and outputs NO
if S is not satisfiable.
Consider these four statements.
A. 3-SAT is in P, but is almost surely not in NP
B. 3-SAT is in NP, but is almost surely not in P
C. 3-SAT is in P and is also in NP
D. 3-SAT is neither in P nor in NP
Determine which of these four statements is correct. Answer A, B, C, or D.
Transcribed Image Text:In Boolean logic, a sentence is in 3-Conjunctive Normal Form (abbreviated 3-CNF) if it of the form C1 ^ C2 ^ C3 ^ .…. A Cm, where S is the conjunction of m clauses, with each clause being a disjunction of S three literals. We say that S is satisfiable if there exists an assignment of TRUE/FALSE values to each variable so that the entire sentence S evaluates to TRUE. For example, in the last class, we showed that the following 3-CNF sentence, with m=8 clauses, is not satisfiable. D) ^ (B v č v D) ^ (c vĀ v D) ^ (A (A v (Bv č v D) A (c v Ā v D) a (A v B V C) ^ (a v B v C) A V v B v D) S = AVВV A V B Let 3-SAT be the decision problem that inputs a 3-CNF sentence S, and outputs YES if S is satisfiable, and outputs NO if S is not satisfiable. Consider these four statements. A. 3-SAT is in P, but is almost surely not in NP B. 3-SAT is in NP, but is almost surely not in P C. 3-SAT is in P and is also in NP D. 3-SAT is neither in P nor in NP Determine which of these four statements is correct. Answer A, B, C, or D.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Sorting
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education