Question: A sentence is in disjunctive normal form (DNF) if it is the disjunction of conjunctions NORMAL FORM of literals. For example, the sentence (A
A sentence is in disjunctive normal form (DNF) if it is the disjunction of conjunctions NORMAL FORM of literals. For example, the sentence (A ∧ B ∧ ¬C) ∨ (¬A ∧ C) ∨ (B ∧¬C) is in DNF.
a. Any propositional logic sentence is logically equivalent to the assertion that some possible world in which it would be true is in fact the case. From this observation, prove that any sentence can be written in DNF.
b. Construct an algorithm that converts any sentence in propositional logic into DNF.
c. Construct a simple algorithm that takes as input a sentence in DNF and returns a satisfying assignment if one exists, or reports that no satisfying assignment exists.
d. Apply the algorithms in (b) and (c) to the following set of sentences:
A ⇒ B
B ⇒ C
C ⇒ ¬A .
e. Since the algorithm in (b) is very similar to the algorithm for conversion to CNF, and since the algorithm in (c) is much simpler than any algorithm for solving a set of sentences in CNF, why is this technique not used in automat
Step by Step Solution
3.38 Rating (167 Votes )
There are 3 Steps involved in it
a Each possible world can be expressed as the conjunction of all the literals that hold in the model ... View full answer
Get step-by-step solutions from verified subject matter experts
