Question

In: Computer Science

Consider the following propositional formula: (((A ^ B) -> C) ^ ((A ^ C) -> D))...

Consider the following propositional formula:

(((A ^ B) -> C) ^ ((A ^ C) -> D)) -> ((A ^ B) -> D)

Perform the following tasks for this formula:

Convert this formula into CNF form and write a numbered list of all clauses obtained from this formula.

Solutions

Expert Solution

Given Propositional formula

(((A B) C) ((A C) D))    ((A B)   D)

((¬(A B) V C) (¬(A C) V D))    (¬(A B) V  D)  { Law of Implies (PQ) = ¬PVQ }

¬((¬(A B) V C) (¬(A C) V D)) V (¬(A B) V  D)  { Law of Implies (PQ) = ¬PVQ }

(¬(¬(A B) V C) V ¬(¬(A C) V D)) V (¬(A B) V  D)   {By De Morgan's law ¬ (P Q) = ¬P V ¬Q }

[¬(¬(A B))   ¬C) V (¬(¬(A C)) ¬D)]   V (¬(A B) V  D)   {By De Morgan's law ¬ (P V Q) = ¬P ¬Q }

[((A B)   ¬C) V ((A C)   ¬D)] V (¬(A B) V  D)   {By De Morgan's law ¬ (¬P ) = P }

[(A B   ¬C V (A C) ¬D] V ((¬A V ¬B) V  D)   {By De Morgan's law ¬ (P Q) = ¬P V ¬Q }

[A B   (A C) V ¬C ¬D] V (¬A V ¬B V  D) {Commutative law (P V Q) = (Q V P)}

[A A   B (C V ¬C) ¬D] V (¬A V ¬B V  D)   {Associative law (P V Q) V R = P V (Q V R)}

[(A A)   B (C V ¬C) ¬D] V (¬A V ¬B V  D)   {Associative law (P Q) R = P (Q R)}

[(A)   B (T) ¬D] V (¬A V ¬B V  D)  { we know that P P = P &   P V ¬P = T } }

[A   B (T ¬D)] V (¬A V ¬B V  D)  {Associative law (P Q) R = P (Q R)}

[A   B (¬D)] V (¬A V ¬B V  D)  { we know that T ¬P = ¬P }

[A   B (¬D)] V (D V  ¬A V ¬B)  {Commutative law (P V Q) = (Q V P)}

A   B (¬D V D) V  ¬A V ¬B  {Associative law (P V Q) V R = P V (Q V R)}

A   B (T) V  ¬A V ¬B   { we know that P V ¬P = T } }

A   (B T) V  ¬A V ¬B  {Associative law (P Q) R = P (Q R)}

A   (B) V  ¬A V ¬B  { we know that P T = P }

A   (B V ¬A V ¬B) {Associative law (P V Q) V R = P V (Q V R)}

A   (B V ¬A V ¬B)

Which is Required Conjunctive Normal Form(CNF)

Given Conjunctive Normal Form(CNF)

A   (B V ¬A V ¬B)

A   (¬A V B V ¬B)  {Commutative law (P V Q) = (Q V P)}

(A   ¬A) V (B V ¬B)    {Associative law (P Q) R = P (Q R)}

(F) V (T) { we know that P ¬P = F &   P V ¬P = T } }

(F V T)  

(T) { we know that F V T = T }

T

From the above the numbered list of all clauses obtained from this formula is

F (A, B, C, D) = m (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)


Related Solutions

Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what...
Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what proportion of the progeny will phenotypically resemble the first parent? b) what proportion of the progeny will genotypically resemble neither parent?
MIPS a) Consider the C statement: a = (b + d) + (b - c) +...
MIPS a) Consider the C statement: a = (b + d) + (b - c) + (c + d) Which of the following assembly instructions can be used to replicate all or part of this statement in MIPS, without changing or reducing the equation. Assume variables a, b, c, and d are assigned to registers $s0, $s1, $s2 and $s3 respectively. 1. sub $t0, $s2, $s3 2. sub $t0, $s0, $s3 3. sub $t1, $s1, $s2 4. sub $t2, $s1,...
Which of the following is an empirical formula? a. C2H6 b. C3H8 c. C4H10 d. C6H6...
Which of the following is an empirical formula? a. C2H6 b. C3H8 c. C4H10 d. C6H6 Please explain!:) Thank you for your help!!!
Consider a formula of propositional logic consisting of a conjunction of clauses of the form (±p⊕±q),...
Consider a formula of propositional logic consisting of a conjunction of clauses of the form (±p⊕±q), where p and q are propositional variables (not necessarily distinct) and ±p stands for either p or ¬p. Consider the graph in which the vertices include p and ¬p for all propositional variables p appearing in the formula, and in which there is an edge (1) connecting p and ¬p for each variable p, and (2) connecting two literals if their exclusive-or is a...
Explain the following with example and formula- a) E0Q b) SAFETY STOCK c) LEAD TIME d)...
Explain the following with example and formula- a) E0Q b) SAFETY STOCK c) LEAD TIME d) RE-ORDER POINT
Consider a project consisting of four activities A, B, C, and D. The following are constraints...
Consider a project consisting of four activities A, B, C, and D. The following are constraints within which the project has to be conducted • A and B, the first activities of the project, can be started simultaneously. • C can be started only after A is completed. • D can be started only after B is completed Suppose the activity times for the activities are A = 4 weeks, B = 3 weeks, C = 2 weeks, D =...
Consider the following reaction at 309 K. 1 A + 1 B → C + D...
Consider the following reaction at 309 K. 1 A + 1 B → C + D where rate = rate=k[A]2[B]. An experiment was performed for a certain number of seconds where [A]o = 1.07 M and [B]o = 0.000167 M. A plot of ln[B] vs time had a slope of -9.63. What will the rate of this reaction be if a new experiment is preformed when [A] = [B] = 0.212 M?
Propositional Logic Is the following formula in Conjunctive Normal Form? Why? Why not? (¬A) n (A...
Propositional Logic Is the following formula in Conjunctive Normal Form? Why? Why not? (¬A) n (A u B) n ¬(A u B) where A and B are propositional variables.
Consider the following probability distribution of returns estimated for Projects B, C and D. Construct an...
Consider the following probability distribution of returns estimated for Projects B, C and D. Construct an equal-weighted (50/50) portfolio of Investments B and D. State Probability B C D Very poor 0.1 25% -25% 15% Poor 0.2 15% -5% 10% Average 0.4 10% 15% 0% Good 0.2 0% 35% 25% Very good 0.1 -10% 55% 35% The expected rate of return of the portfolio is 10.25. What is the standard deviation?
Consider the following reaction at 283 K: 2A + B → C + D where rate...
Consider the following reaction at 283 K: 2A + B → C + D where rate = k[A][B]2. An experiment was performed where [A]o = 2.67 M and [B]o = 0.00241 M. A plot of 1/[B] vs. time has a slope of 10.01. What will the rate of this reaction be when [A] = [B] = 0.345 M?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT