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.]

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

Is there just cause to dismiss Bonita? Explain your answer.

Answered: 1 week ago

Question

Explain the legal term assumption of risk .

Answered: 1 week ago