CP9 - prop resolution - solution

CP9 - prop resolution - solution - Tobi is not a good boy...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Team: Present: In-Class Exercise: Week 9 Use resolution and the following facts to determine whether Tobi is a good boy. 1. If ninjas attack, Tobi will protect his friends. Representation: NA TP CNF: ¬NA TP 2. If ninjas do not attack, Tobi will clean up. Representation: ¬NA TC CNF: NA TC 3. If a person attacks, he is a ninja. Representation: PA isNinja CNF: ¬PA isNinja Note that isNinja has no complementary literal so this fact will never match anything and is therefore not useful. Ditto personAttacks. You don’t have to use all facts in your KB, and you’ll never use this one in resolution 4. If ninjas attack and Tobi does not protect his friends,
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Tobi is not a good boy. Representation: (NA ∧ ¬TP) ⇒ ¬TGoodBoy CNF: ¬(NA ∧ TP) ∨ ¬TGoodBoy ¬NA ∨ ¬TP ∨ ¬TGoodBoy 5. If Tobi protects his friends, he is a good boy. Representation: TP ⇒ TGoodBoy CNF: ¬TP ∨ TGoodBoy 6. If Tobi cleans up, he is a good boy. Representation: TC ⇒ TGoodBoy CNF: ¬TC ∨ TGoodBoy 7. What we want to prove (either that Tobi is a good boy or he isn’t) Representation: ¬TGoodBoy CNF: ¬TGoodBoy 7. ¬TGoodBoy , 6. TGoodBoy ∨ ¬TC 8. ¬TC 8. ¬TC , 2. TC ∨ NA 9. NA 9. NA , 1. ¬NA ∨ TP 10. TP 10. TP , 5. ¬TP ∨ TGoodBoy 11. TGoodBoy 11. TGoodBoy , 7. ¬TGoodBoy FAILURE...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern