First order logic (FOL) first order predicate calculus.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

First-Order Logic Chapter 8.
March 2, 2006AI: Chapter 8: First-Order Logic1 Artificial Intelligence Chapter 8: First-Order Logic Michael Scherger Department of Computer Science Kent.
First-Order Logic.
The Logic of Quantified Statements
First-Order Logic Chapter 8.
Knowledge Representation Methods
RMIT University; Taylor's College This is a story about four people named Everybody, Somebody, Anybody and Nobody. There was an important job to be done.
Propositional Calculus A propositional calculus formula is composed of atomic propositions, which area simply statements that are either true or false.
CS128 – Discrete Mathematics for Computer Science
First-Order Logic. Limitations of propositional logic Suppose you want to say “All humans are mortal” –In propositional logic, you would need ~6.7 billion.
Logic. Propositional Logic Logic as a Knowledge Representation Language A Logic is a formal language, with precisely defined syntax and semantics, which.
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
First-Order Logic Chapter 8. Problem of Propositional Logic  Propositional logic has very limited expressive power –E.g., cannot say "pits cause breezes.
Predicate Calculus.
Copyright © Cengage Learning. All rights reserved.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Propositional Logic Agenda: Other forms of inference in propositional logic Basics of First Order Logic (FOL) Vision Final Homework now posted on web site.
FIRST ORDER LOGIC Levent Tolga EREN.
Predicates and Quantifiers
The Foundations: Logic and Proofs
MATH 213 A – Discrete Mathematics for Computer Science Dr. (Mr.) Bancroft.
First Order Logic Chapter 7. PL is a Weak Representational Language §Propositional Logic (PL) is not a very expressive language because: §Hard to identify.
Fall 2002CMSC Discrete Structures1 Let’s get started with... Logic !
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Pattern-directed inference systems
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
ARTIFICIAL INTELLIGENCE Lecture 3 Predicate Calculus.
Limitation of propositional logic  Propositional logic has very limited expressive power –(unlike natural language) –E.g., cannot say "pits cause breezes.
First-Order Logic Chapter 8. Outline Why FOL? Syntax and semantics of FOL Using FOL Wumpus world in FOL Knowledge engineering in FOL.
Inference in FOL Compared to predicate logic, more abstract reasoning and specific conclusions.
First-Order Logic Introduction Syntax and Semantics Using First-Order Logic Summary.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
CSE (c) S. Tanimoto, 2005 Knowledge Representation 1 Knowledge Representation (Introduction) Knowledge Information Data Knowledge representation:
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 1: The Foundations: Logic and Proofs
Artificial Intelligence First-Order Logic (FOL). Outline of this Chapter The need for FOL? What is a FOL? Syntax and semantics of FOL Using FOL.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
Predicates and Quantifiers Dr. Yasir Ali. 1.Predicates 2.Quantifiers a.Universal Quantifiers b.Existential Quantifiers 3.Negation of Quantifiers 4.Universal.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 11 Jim Martin.
First-Order Logic Chapter 8 (not 8.1). Outline Why FOL? Why FOL? Syntax and semantics of FOL Syntax and semantics of FOL Using FOL Using FOL Wumpus world.
First-Order Logic. Outline Why FOL? Syntax and semantics of FOL Using FOL Knowledge engineering in FOL.
First-Order Logic Reading: C. 8 and C. 9 Pente specifications handed back at end of class.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
1 First Order Logic CS 171/271 (Chapter 8) Some text and images in these slides were drawn from Russel & Norvig’s published material.
First-Order Logic Chapter 8. Problem of Propositional Logic  Propositional logic has very limited expressive power –E.g., cannot say "pits cause breezes.
PREDICATES AND QUANTIFIERS COSC-1321 Discrete Structures 1.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Chapter 8 : Fuzzy Logic.
3. The Logic of Quantified Statements Summary
Knowledge Representation using First-Order Logic
First-Order Logic Chapter 8.
Knowledge Representation III First-Order Logic
Negations of Quantified Statements
CMSC Discrete Structures
Chapter 1 The Foundations: Logic and Proofs
Copyright © Cengage Learning. All rights reserved.
Knowledge Representation III First-Order Logic
First-Order Logic Chapter 8.
Negations of quantifiers
Predicates and Quantifiers
Chapter 1: Propositional and First-Order Logic
Copyright © Cengage Learning. All rights reserved.
First-Order Logic Chapter 8.
First-Order Logic Chapter 8.
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Habib Ullah qamar Mscs(se)
Presentation transcript:

First order logic (FOL) first order predicate calculus

D Goforth - COSC 4117, fall Why another system?  procedural / declarative difference algorithmic vs data representation BUT  propositional logic is inadequate representation  weak, too specific, lacks expressive power reasoning  inference is OK but brittle to real world conditions (errors, assumptions, unknowns)

D Goforth - COSC 4117, fall First order logic vs propositional  basis of reasoning propositional logic: statements first order logic: OBJECT-ORIENTED  objects  relations  functions  statements about objects, relations and functions  possible values of statements true, false, unknown

D Goforth - COSC 4117, fall Other systems of logic  extensions of first order logic temporal: facts are true/false/unknown for a period of time probabilistic: facts are true or false but known with a certain probability fuzzy logic: facts are partially true meta-systems: higher order logics – reasoning about logic systems

D Goforth - COSC 4117, fall FOL  Domain of objects  Functions of objects (other objects - Domain is closed)  Relations among objects  Properties of objects (unary relations)  Statements about objects, relations and functions

D Goforth - COSC 4117, fall Objects in FOL  Constants – names of specific objects E.g., Doreen, Gord, William, 32  Functions – Father(Doreen), Age(Gord), Max(23,44)  variables – a, b, c, … for statements about unidentified objects or general statements

D Goforth - COSC 4117, fall FOL - example  Domain {Art, Bill, Carol, Doreen}  Functions of objects: Mother(Art) identifies an object  Relations: Siblings (Bill, Carol) true or false  Properties of objects (unary relations) IsStudent(Carol) true or false  Statements about domain: Mother(Bill) = Mother(Carol) true or false

Formal Definition of FOL Relation or property Reference to an object Statement about relation or property OR Equivalence of objects Statements about sets of objects

D Goforth - COSC 4117, fall Propositional logic vs. FOL Propositional Propositions (t/f) Connectives  sentences FOL Objects, functions Relations on objects (t/f) Connectives  sentences Quantifiers

D Goforth - COSC 4117, fall symbols in FOL  objects (constants), functions, predicates BIGGEST PROBLEM LEARNING FOL: DIFFERENCE BETWEEN FUNCTIONS AND PREDICATES  interpretations specify meaning of each symbol (intended interpretation)  models determine truth of sentences e.g. if symbols Doreen and Mother(Art) refer to same object then statement Mother(Art) = Doreen is true

D Goforth - COSC 4117, fall The quantifiers  allow statements about many objects apply to sentence containing variable  universal  : true for all substitutions for the variable  existential  : true for at least one substitution for the variable

D Goforth - COSC 4117, fall The quantifiers  examples:  x: Mother(Art) = x  x  y: Mother(x)=Mother(y) => Sibling(x,y)  y  x: Mother(y) = x  x  y: Mother(y) = x (not! nest carefully)

D Goforth - COSC 4117, fall Manipulating quantifiers  de Morgan’s laws existential is generalized “OR” ~  x: S(x)  x: ~S(x) universal is generalized “AND” ~  x: S(x)  x: ~S(x)

D Goforth - COSC 4117, fall Example domain - kinship  objects – people  functions Mother(x), Father(x)  predicates Female(x), Parent(x,y), Spouse(x,y)  definitions (compound sentences in KB)  x: Male(x) ~ Female(x) [depends on domain!]  x  y : y = Mother(x) Female(y)^Parent(y,x)  x  y : y = Father(x) Male(y)^Parent(y,x)  define these: child, grandparent, sibling, brother