{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Fopl1

Info icon This preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: First Order Logic (Predicate Calculus) CPS 170 Ronald Parr Limita<ons of Proposi<onal Logic •  Suppose you want to say: All humans are mortal •  For ~6B people, you would need ~6B proposi<ons •  Suppose you want to stay that (at least) one person has perfect pitch •  You would need a disjunc<on of ~6B proposi<ons •  There has to be a beMer way… 1 First Order Logic •  Proposi<onal logic is very restric<ve –  Can’t make global statements about objects in the world –  Workarounds tends to have very large KBs •  First order logic is more expressive –  Rela<ons, quan<fica<on, func<ons –  but… inference is trickier First Order Syntax •  Sentences •  Atomic sentence predicate(term) •  Terms – func<ons, constants, variables •  Connec<ves •  Quan<fiers •  Constants •  Variables 2 Rela<ons •  Assert rela<onships between objects •  Examples –  Loves(Harry, Sally) –  Between(Canada, US, Mexico) •  Seman<cs –  Object and predicate names are mnemonic only –  Interpreta<on is imposed from outside –  O_en we imply the “expected” interpreta<on of predicates and objects with suggested names Func<ons •  Func<ons are specials cases of rela<ons •  Suppose R(x1,x2,…,xn,y) is such that for every value of x1,x2,…,xn there is a unique y •  Then R(x1,x2,…,xn) can be used as a shorthand for y –  Crossed(Right_leg_of(Ron), Le__leg_of(Ron)) •  Remember that the object iden<fied by a func<on depends upon the interpreta<on 3 Quan<fica<on •  For all objects in the world… ∀xhappy( x ) •  For at least one object in the world… € ∃xhappy( x ) € Examples •  Eve...
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