Question

In: Computer Science

Consider the following expression: Everyone who is nice to all dogs is loved by somebody. ∀x...

  1. Consider the following expression:

Everyone who is nice to all dogs is loved by somebody.

x (∀y dog(y) ⇒ Kind(x,y)) ⇒ (∃y Loves(y,x))

Demonstrate how to convert it to CNF. You should get:
( dog(F(x)) v (Loves(G(x),x)) ^ (~nice(x,F(x)) v Loves(G(x),x))

Step 1: Remove the biconditionals and implications.

Step 2: Move the negations inward.

Step 3: Standardize variables

Step 4: Skolemize

Step 5: Drop universal quantifiers

Step 6: Distribute v over ^

Solutions

Expert Solution


Related Solutions

Consider the following regular expression meta operators: ( ) [ ] { } . * +...
Consider the following regular expression meta operators: ( ) [ ] { } . * + ? ^ $ | \ For each of the following, give one example of strings which the regular expression would match. Describe (colloquially, in a manner that a non-technical person would understand) the set of strings that the pattern is designed to match. Each regular expression is enclosed in the pair of '/' characters below. [2 marks each] (a) /^[a-z][0-9]*\.$/ (b) /([0-9]+)\s\w+\s\1/
Hi all, I'm looking for somebody 40+ years old to answer the following questions for my...
Hi all, I'm looking for somebody 40+ years old to answer the following questions for my psych class: 1. Please describe racial relations when you were growing up. What do you particularly remember about different races in your childhood or early adulthood? 2. How have race relations changed in your lifetime? How would you describe issues of race today compared to when you were younger? 3. What do you think race relations will be like in the future? Please note...
1. Describe the problem or dilemma by including all related facts. 2. List everyone who may...
1. Describe the problem or dilemma by including all related facts. 2. List everyone who may be involved in or affected by the decision. 3. List all the values that are involved in the decision, such as honesty, integrity, loyalty, confidentiality, fairness, compassion, kindness, respect for others, excellence, accountability, and being law-abiding and socially responsible. 4. List all the possible alternative actions you could take to resolve the problem/dilemma. 5. Which individual who is involved in or affected by the...
Can somebody describe what this following code does step by step. import turtle turtle.penup() x =...
Can somebody describe what this following code does step by step. import turtle turtle.penup() x = int(input("Enter x coordinate of top-left corner: ")) y = int(input("Enter y coordinate of top-left corner: ")) side = int(input("Enter side of the largest square: ")) if side >= 100: gap = int(input("Enter gap between squares: ")) if gap < side: turtle.goto(x,y) turtle.pendown() while True: for i in range(4): turtle.forward(side) turtle.right(90) side -=gap turtle.penup() x += gap y -= gap turtle.goto(x,y) turtle.pendown() if side<0: exit(1)
In stressful conditions, a cell wants to limit expression of Protein X. List all the ways...
In stressful conditions, a cell wants to limit expression of Protein X. List all the ways that this can occur.
In stressful conditions, a cell wants to limit expression of Protein X. List all the ways...
In stressful conditions, a cell wants to limit expression of Protein X. List all the ways that this can occur.
Consider a 2.0-kgkg object that moves along the x axis according to the expression x(t)=ct3x(t)=ct3, where...
Consider a 2.0-kgkg object that moves along the x axis according to the expression x(t)=ct3x(t)=ct3, where cc = +0.230 m/s3m/s3 . Determine the xx component of the object's average velocity during the interval from titi = 0.500 ss to tftf = 1.50 ss. Use all significant digits provided by your calculator? Repeat for the interval from titi = 0.950 ss to tftf = 1.05 ss. Use all significant digits provided by your calculator? Repeat for the interval from titi =...
Consider the utility function, U(x,y) = ln(x) + y. Please answer the following questions, showing all...
Consider the utility function, U(x,y) = ln(x) + y. Please answer the following questions, showing all work. (1) Derive an expression showing the overall effect of an increase in py on the quantity of y consumed, holding constant px and income (I). (2) Now, show how that overall effect in (1) can be decomposed into a separate substitution effect and income effect. Show these effects explicitly. (3) Now, do the same for x: derive an expression showing the overall effect...
Suppose X,Y,Z ⊆ U. If X is the set of all people who played hockey in...
Suppose X,Y,Z ⊆ U. If X is the set of all people who played hockey in high school, Y is the set of all out-of-state students, and Z is the set of all international students, describe the following sets in words: (a) X′ ∪Y ∪Z   (b) X ∩ Y ′ ∩ Z′   (c) (X∩Y′)∪Z′ Consider the set A = {b, c, d}. (a) How many subsets does A have? (b) List all subsets of A. Suppose that a committee of...
Use Logisim to minimize the following Boolean expression: x’yz’ + x(y + z’)’ + xyz
Use Logisim to minimize the following Boolean expression: x’yz’ + x(y + z’)’ + xyz
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT