Consider the following sentence in 3-CNF with m=8 clauses. (A v B v D) A (B vč v D) ^ (c v Ā V D) A (A v B V D) (c vā v D) (A v B v D) S = A V B V В у (B v C v D) A (c vĀ v D ^ (A V B V C) ^ (A v B V C) V Determine whether this sentence is satisfiable. Answer either YES or NO.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
In Boolean logic, a sentence is in 3-Conjunctive Normal Form (abbreviated 3-CNF) if it of the form
C¡ ^ C2 ^ C3 ^ .…. A Cm, where S is the conjunction of m clauses, with each clause being a disjunction of
S
three literals.
For example, the following sentence is in 3-CNF, with m=4 clauses.
(A v B v č) ^ (A v c v D)^ (B v
vc v D)A (a v E v D)
S =
A V B V C
A V C
D) A
B V
В
For example, the first clause is equivalent to this in English: "either A or B or Not C". As long as one of these three
literals is TRUE then this clause evaluates to TRUE. If none of these literals is TRUE (i.e., A=FALSE, B=FALSE,
C=TRUE), then this clause evaluates to FALSE.
We say that S is satisfiable if there exists an assignment of TRUE/FALSE values to each variable (A, B, C, D) so that the
entire sentence S evaluates to TRUE. What this means is that each of the m clauses must evaluate to TRUE.
The above sentence indeed is satisfiable; one possible assignment is A=TRUE, B=FALSE, C=FALSE, D=TRUE.
The first two clauses are TRUE since A=TRUE, while the last two clauses are TRUE since B=FALSE. Since all four
clauses evaluate to TRUE, S is indeed satisfiable.
Consider the following sentence in 3-CNF with m=8 clauses.
(A v E v D) ^ (B v č v D) ^ (c v Ā v D)
^ (B v č v D) ^ (c vĀ V
) A
(ī v B v č)
S
(A V B V
V
C v A v D) ^ (A V B V C) ^
A V
Determine whether this sentence is satisfiable. Answer either YES or NO.
Transcribed Image Text:In Boolean logic, a sentence is in 3-Conjunctive Normal Form (abbreviated 3-CNF) if it of the form C¡ ^ C2 ^ C3 ^ .…. A Cm, where S is the conjunction of m clauses, with each clause being a disjunction of S three literals. For example, the following sentence is in 3-CNF, with m=4 clauses. (A v B v č) ^ (A v c v D)^ (B v vc v D)A (a v E v D) S = A V B V C A V C D) A B V В For example, the first clause is equivalent to this in English: "either A or B or Not C". As long as one of these three literals is TRUE then this clause evaluates to TRUE. If none of these literals is TRUE (i.e., A=FALSE, B=FALSE, C=TRUE), then this clause evaluates to FALSE. We say that S is satisfiable if there exists an assignment of TRUE/FALSE values to each variable (A, B, C, D) so that the entire sentence S evaluates to TRUE. What this means is that each of the m clauses must evaluate to TRUE. The above sentence indeed is satisfiable; one possible assignment is A=TRUE, B=FALSE, C=FALSE, D=TRUE. The first two clauses are TRUE since A=TRUE, while the last two clauses are TRUE since B=FALSE. Since all four clauses evaluate to TRUE, S is indeed satisfiable. Consider the following sentence in 3-CNF with m=8 clauses. (A v E v D) ^ (B v č v D) ^ (c v Ā v D) ^ (B v č v D) ^ (c vĀ V ) A (ī v B v č) S (A V B V V C v A v D) ^ (A V B V C) ^ A V Determine whether this sentence is satisfiable. Answer either YES or NO.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY