1 / 22

CSE4/563: Knowledge Representation Recitation October 13, 2010

CSE4/563: Knowledge Representation Recitation October 13, 2010. “Logic is the art of going wrong with confidence” –Joseph Wood Krutch. HW4 Questions/Concerns?. http://www.cse.buffalo.edu/~ shapiro/Courses/CSE563/2010/Homeworks/hw4.pdf. Substitutions.

cid
Download Presentation

CSE4/563: Knowledge Representation Recitation October 13, 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE4/563: Knowledge RepresentationRecitation October 13, 2010 “Logic is the art of going wrong with confidence” –Joseph Wood Krutch

  2. HW4 Questions/Concerns? http://www.cse.buffalo.edu/~shapiro/Courses/CSE563/2010/Homeworks/hw4.pdf

  3. Substitutions • Move through the terms, not the substitutions! • Only substitute for free variables. (From class notes - Shapiro, 2010 p.189)

  4. Sorted Logic and Decreasoner • We can constrain using sorts, instead of using other logical constructs. sort character character Monkey, WickedWitchWest, Dorothy, TinWoodman sort transitmethod transitmethod Wings, Broom, Balloon, Foot ;;; [TravelsBy(x,y)] = [x] travels by [y]. predicate TravelsBy(character, transitmethod)

  5. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  6. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  7. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  8. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  9. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  10. Brief Aside: Aristotelian Forms • All P’s are Q’s • Some P’s are Q’s • No P’s are Q’s • Some P’s are not Q’s Adapted from Language Proof and Logic section 9.5 by Barwise and Etchemendy

  11. Sorted Logic Example'Who Travels How in the Wizard of Oz'

  12. Clause Form Finite Model Predicate Logic • First convert to ground predicate logic

  13. Clause Form Finite Model Predicate Logic • First convert to ground predicate logic • Example: (Assume constants c1, c2, c3) • becomes • becomes

  14. Clause Form Finite Model Predicate Logic • First convert to ground predicate logic • Example: (Assume constants c1, c2, c3) • becomes • becomes

  15. Clause Form Finite Model Predicate Logic • First convert to ground predicate logic • Example: (Assume constants c1, c2, c3) • becomes • becomes • Then follow the usual clause form conversion technique for propositional clause-form logic.

  16. FOL Terminology • Terms

  17. FOL Terminology • Terms • Individual Constants • Arbitrary Individuals • Indefinite Individuals • Variables • Functional terms

  18. FOL Terminology • Terms • Individual Constants • Arbitrary Individuals • Indefinite Individuals • Variables • Functional terms • f(t1, t2, … ,tn) • The value is an individual in the domain

  19. FOL Terminology • Terms • Predicate

  20. FOL Terminology • Terms • Predicate • Same as for FOL Over Finite Domains • Predicate vs. Functional Term

  21. FOL Terminology • Terms • Predicate • Formula

  22. FOL Terminology • Terms • Predicate • Formula • Same as FOL Over Finite Domains

More Related