Question

HI, I NEED HELP ANSWERING PART C OF THIS QUESTION There is a series of people...

HI, I NEED HELP ANSWERING PART C OF THIS QUESTION

There is a series of people standing in a line, from left to right. We’d like to reason about them using predicate logic. We have two predicates: End(x) which is true only if person x is standing at one of the two ends of the line, and LeftOf(x,y) which is true if person x is standing to the left of person y. We won’t use a RightOf(x,y) predicate, but rather just allow that LeftOf(y,x) means that x is to the right of y.

part a. Construct a knowledge base that represents the following axioms about the world. Each should take one predicate logic sentence.

i. LeftOf is a transitive operation.

ii. If a person is on the end, then everyone is on one side of him (either left or right).

iii. Exactly two people are at the end of the line.

iv. A person can’t be both to the left and to the right of the same person.

part b. Add statements to reflect the following observations about our line.

1. Alice is standing to the left of Bob.

2. Bob is standing to the left of Charles.

3. Diane is not standing to the left of Bob.

4. Diane is on one end of the line.

PART C Prove that Charles is standing to the left of Diane (i.e. show that is it entailed from the statements in parts a and b). Use proof by contradiction and resolution (on CNF formulae) (will be shown in class next time). Show your steps

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

It's given that, Diane is at one end of line i.e. Diane has either all others at its left or at its right.

Let ALICE=A,BOB=B,CHARLES=C,DIANE=D.

We know LeftOf(A, B) , LeftOf(B, C) and since D is not standing to the left of B, then its also true that D is on the right of A, B. Also Since D is at One End of the line, so D cant be at LeftOf C.

Hence we can say that the order of the line would be (A, B, C, D ).

So: Order of Line = ALICE, BOB, CHARLES, DIANE.

So proved, Charles is at the left of Diane.

Thanks and Regards.

Add a comment
Know the answer?
Add Answer to:
HI, I NEED HELP ANSWERING PART C OF THIS QUESTION There is a series of people...
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
  • I posted these question before but the answers turned out wrong, please help.(Monadic predicate logic) The...

    I posted these question before but the answers turned out wrong, please help.(Monadic predicate logic) The ones required are = ( tilde ~ for negation, dot • for conjuction, horseshoe ⊃ for material implication( the conditional ), vel ∨ for disjunction, triple bar ≡ for biconditional ) Please use these symbols. translate the following English sentences into Predicate Logic: 1. All philosophers are scientists. (Px, Sx) 2. Some mathematicians are philosophers. (Mx, Px) 3. No chess players are video gamers....

  • I need help with the last part of this question (ie: Write the standard matrix for...

    I need help with the last part of this question (ie: Write the standard matrix for H∘T, where H is the reflection of R2 about the line y=x.) Consider the linear transformation T: R4_R2 defined as T(11,12,13,14)=(-211 +12 +214,-312-14). Find the standard matrix for T: sina) a dr f -2 1 0 2 -3 0-1 2 What is the dimension of ker(T)? Is T one-to-one? NO Enter one: yes no Write the standard matrix for HoT where H is the...

  • I need help with this code, I'm stuck on it, please remember step 4, I'm very...

    I need help with this code, I'm stuck on it, please remember step 4, I'm very much stuck on that part. It says something about putting how many times it appears Assignment #1: Sorting with Binary Search Tree Through this programming assignment, the students will learn to do the following: Know how to process command line arguments. 1 Perform basic file I/O. 2. Use structs, pointers, and strings. Use dynamic memory. 3. 4. This assignment asks you to sort the...

  • I need help with the diagram in part c!! 12:31 PM Wed Apr 29 1 99%...

    I need help with the diagram in part c!! 12:31 PM Wed Apr 29 1 99% co 3. A rod of length 30.0 cm has linear density (mass-per-length) given by 1 = 50.0 g/m +20.0 x g/m², where x is the distance from one end, measured in meters. (a) What is the total mass and the location of the center of mass as measured from the x=0 left end? YOU MAY USE THE RESULTS FROM QUIZ 8 (b) Find the...

  • IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I...

    IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I understand that there's a walkthrough given bellow. However, I do not understand the walkthrough given for b&c. Part B - Why does E(x)+E(y)=2u (2 mew)? -What is this?: I honestly have no idea what it is. Please explain to me what it is and what its significance is within the problem. -This may be the same thing as the symbol above, but just in...

  • Need help with part C. Thank you! This is the figure above. However, it has different...

    Need help with part C. Thank you! This is the figure above. However, it has different values than the homework question above. PRACTICE IT Use the worked example above to help you solve this problem. A woman of mass m = 53.6 kg sits on the left end of a seesaw-a plank of length L = 4.39 m, pivoted in the middle as shown in the figure. (a) First compute the torques on the seesaw about an axis that passes...

  • Could you help me with this question and write how to do it I need to...

    Could you help me with this question and write how to do it I need to understand it 1-3397998-t-content-rid-29506614 J/courses phYS,002C,020,19w/w19%2opmysics20742015AL Activity 15A-2 Two graphs that depict a one dimensional water wave, as a function of position, at hwo separate times (at t = 0 s and 1-1.0s) are shown below. a. What is the velocity of this water wave (give at least two different answers make sure to indicate whether it is moving to the left or right in...

  • I need help with part 2 of this problem. I have already solved part one... unless...

    I need help with part 2 of this problem. I have already solved part one... unless it is wrong. Part 1 is a theoretical question and asked me to make up the numbers. I basically did columns A and B like so (listed below). x f(x) 1 10 2 9 3 8 4 7 5 6 6 5 7 4 8 3 9 2 10 1 Part 1:       a. [4] …derive the product’s linear (1st order) trend line equation...

  • C++ Hey, I really need help with this lab. I don't understand the function part at...

    C++ Hey, I really need help with this lab. I don't understand the function part at all. It'll be great way for me to understand. Than you Functions and loops: Write a program that will ask the user which type of triangle they would like to draw on the characters. The choices are screen with left-top-big left-bottom-big right-top-big right-bottom-big Get the user's choice, ask how big it should be, and then draw the shape. After each successful drawing, ask the...

  • Just need help filling in the blanks! Thank you. Part 1: Three Levers In this part,...

    Just need help filling in the blanks! Thank you. Part 1: Three Levers In this part, you will set up a lever in three different configurations. First Lever The first is straightforward: set up the plastic ruler so that it pivots about its center. Apply two forces (resulting in two torques) to it as shown. Torque 1: Torque 2: Place a hanger (20 grams) in the first hole to the left of center and add 200 grams to it. Place...

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