Question

Suppose that some knowledge base contains various propositional-logic sentences that utilize symbols A, B, C, D...

Suppose that some knowledge base contains various propositional-logic sentences that utilize symbols A, B, C, D (connected with various connectives). There are only two cases when the knowledge base is false:
- First case: when A is true, B is false, C is false, D is true.
- Second case: when A is false, B is true, C is true, D is false.

In all other cases, the knowledge base is true. Write a conjunctive normal form (CNF) for the knowledge base.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Sol)

case 1 : A is true, B is false, C is false, D is true

case 2: A is false, B is true, C is true, D is false

Knowledge base is false in above two cases, true in all other remaining cases

so, the truth table for above scenario

A B C D X

T

F

F

T

F

T

T

F

F

F

For all remaining T

To write CNF(Conjunctive Normal Form), we take rows that contain X= F( false rows), then we negate each row and return conjuction over these negated rows.

\sim(A \wedge \sim B \wedge \sim C \wedge D ) \wedge \sim (\sim A \wedge B\wedge C\wedge \sim D)

We apply demorgan's law and law of double negation to produce disjunction

(\sim A \vee B \vee C \vee \sim D ) \wedge (A \vee \sim B\vee \sim C \vee D)

so, the final CNF is

(\sim A \vee B \vee C \vee \sim D ) \wedge (A \vee \sim B\vee \sim C \vee D)

In other way we can write it as

'.'(dot symbol represents the conjunction \wedge )

+(symbol represents the disjunction \vee )

__(bar symbol represents the negation)

Add a comment
Know the answer?
Add Answer to:
Suppose that some knowledge base contains various propositional-logic sentences that utilize symbols A, B, C, D...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using propositional logic, write a statement that contains the propositions p, q, and r that is...

    Using propositional logic, write a statement that contains the propositions p, q, and r that is true when both p → q and q ↔ ¬r are true and is false otherwise. Your statement must be written as specified below. (a) Write the statement in disjunctive normal form. (b Write the statement using only the ∨ and ¬ connectives.

  • Convert following sentences into Conjunctive Normal Form (CNF) D-> (A <-> (B v C) )

    Convert following sentences into Conjunctive Normal Form (CNF) D-> (A <-> (B v C) )

  • 6.1 Aplia Assignment 16. True or False? Use your knowledge of propositional logic symbols and translation...

    6.1 Aplia Assignment 16. True or False? Use your knowledge of propositional logic symbols and translation methods to determine which of the fol apply. O "Either..., or..." statements are usually best translated as disjunctions with the wedge (V) oper O A dot (•) is the main operator in this statement: Q v mW). ( P L ) The triple bar () operator expresses the logical relation of material implication. In propositional logic, the fundamental elements are terms. O A horseshoe...

  • 1. A ∨ B ∨ C ∨ D ∨ ¬C   A ∨ B ∨ D is...

    1. A ∨ B ∨ C ∨ D ∨ ¬C   A ∨ B ∨ D is an example of: Modus Ponens And-Elimination Implication Elimination Unit Resolution 2.The loss of information due to an effect axiom's inability to state what remains unchanged as a result of an action, is a description of: the qualification problem ground resolution the frame problem resolution closure 3.Which of the following sentences are in Conjunctive Normal Form (CNF)? (Select all that apply.) A ∨ B ∨...

  • A B C KB S1    True       True       True       True       True    True True False False True True.

    A B C KB S1    True       True       True       True       True    True True False False True True False True True True True False False False True False True True False False False True False False False False False True True True False False False False False KB and S1 are two propositional logic statements, that are constructed using symbols A, B, C, and using various connectives. The above truth table shows, for each combination of values of A, B, C, whether...

  • logic IV. Suppose that A and B stand for true sentences (T), C and D stand...

    logic IV. Suppose that A and B stand for true sentences (T), C and D stand for false sentences (F), and the truth-value of E is unknown (U). Circle the letter that indicates the truth-value of each of the following sentences. (Circle U only if the truth-value of the sentence cannot be determined from the information given.) (5 points) 1. EDA T F U T F U F U 2.-(A ( BD)) 3. A ( CE) 4. E = (A...

  • An alphabet contains symbols A, B, C, D, E, F. The frequencies of the symbols are...

    An alphabet contains symbols A, B, C, D, E, F. The frequencies of the symbols are 35%, 20%, 15%, 15%, 8%, and 7%, respectively. We know that the Huffman algorithm always outputs an optimal prefix code. However, this code is not always unique (obviously we can, e.g., switch 0’s and 1’s and get a different code - but, for some inputs, there are two optimal prefix codes that are more substantially different). For the purposes of this exercise, we consider...

  • D) A and B only E) A, B, and C 25. Which of the following statements...

    D) A and B only E) A, B, and C 25. Which of the following statements are TRUE? A) It is possible for some individuals with the sex chromosome constitution XY to appear female. B) It is possible for some individuals with the sex chromosome constitution XX to appear male. C) It is possible for some individuals with the sex chromosome constitution XXY to appear female. D) All of the above are FALSE statements. E) All of the above are...

  • /** * This program Performs various number base conversions. It also verifies if * a number...

    /** * This program Performs various number base conversions. It also verifies if * a number is valid in its base. * Author: M. Rahman * Date: 06 September 2018 */ public class NumberConversion { public static String dec2any(String dec, int base) { /** * Converts a decimal value to a target base * inputs: * dec: the decimal value to be converted * base: the target base * output: 256-base as dotted decimal, hex as usual, bases * over...

  • all a,b,c,d 1. Suppose C is simple closed curve in the plane given by the parametric equation and recall that the outward unit normal vector n to C is given by y(t r'(t) If g is a scalar field on...

    all a,b,c,d 1. Suppose C is simple closed curve in the plane given by the parametric equation and recall that the outward unit normal vector n to C is given by y(t r'(t) If g is a scalar field on C with gradient Vg, we define the normal derivative Dng by and we define the Laplacian, V2g, of g by For this problem, assume D and C satisfy the hypotheses of Green's Theorem and the appropriate partial derivatives of f...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT