Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a set of Boolean variables, A = { a 1 , a 2 , . . . , an } , a logical sentence,

Given a set of Boolean variables, A ={a1, a2,..., an}, a logical sentence, S, is in
Conjunctive Normal Form (CNF) if it is a set of conjuncts, Ci
, as follows:
S = C1 C2... Cm
where m >=1 and each conjunct, Ci
is a disjunction:
Ci = Di,1 Di,2... Di,ki
where ki >=1 and each disjunct, Di,j , is a literal (either an atom or the negation of an atom):
Di,j = ap or ap
Consider the case where A ={a1, a2}. Provide the rationale for your answers and proofs.
2a. How many literals can be formed? Give them.
2b. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
must be distinct and syntactically correct.
Explain your reasoning in detail, including assumptions, as to how you determined your
answer.
2c. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
must be distinct and syntactically correct,
no commutative similar disjunctions are allowed.
Explain your reasoning in detail, including assumptions, as to how you determined your
answer.
2d. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
2
must be distinct and syntactically correct,
no commutative similar disjunctions are allowed,
the appearance of an atom and its negation is not allowed.
Explain your reasoning in detail, including assumptions, as to how you determined your
answer.
2e. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
must be distinct and syntactically correct,
no commutative similar disjunctions are allowed,
the appearance of an atom and its negation is not allowed,
no literal may appear more than once.
Give this set explicitly and explain your reasoning in detail, including assumptions, as to
how you determined your answer.
2f. How many distinct CNF sentences can be formed from the disjunctions in 2e (assume
similar constraints apply to conjunctions as disjunctions)? Explain your reasoning. [Note
that each CNF sentence can be considered a specific subset of the power set of disjunctions.]Given a set of Boolean variables, A={a1,a2,dots,an}, a logical sentence, S, is in
Conjunctive Normal Form (CNF) if it is a set of conjuncts, Ci, as follows:
S=C1??C2??dots??Cm
where m1 and each conjunct, Ci is a disjunction:
Ci=Di,1vvDi,2vvdotsvvDi,ki
where ki1 and each disjunct, Di,j, is a literal (either an atom or the negation of an atom):
Di,j=apornotap
Consider the case where A={a1,a2}. Provide the rationale for your answers and proofs.
2a. How many literals can be formed? Give them.
2b. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
must be distinct and syntactically correct.
Explain your reasoning in detail, including assumptions, as to how you determined your
answer.
2c. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
must be distinct and syntactically correct,
no commutative similar disjunctions are allowed.
Explain your reasoning in detail, including assumptions, as to how you determined your
answer.
2d. State how many well-formed disjunctions can be formed given the following constraints
on each disjunction:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

Prepare for a successful job interview.

Answered: 1 week ago

Question

Describe barriers to effective listening.

Answered: 1 week ago

Question

List the guidelines for effective listening.

Answered: 1 week ago