October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 1Semantics In propositional logic, we associate.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Advertisements

1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Formal Semantics of S. Semantics and Interpretations There are two kinds of interpretation we can give to wffs: –Assigning natural language sentences.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
3/30/00 Agents that Reason Logically by Chris Horn Jiansui Yang Xiaojing Wu.
Artificial Intelligence Knowledge-based Agents Russell and Norvig, Ch. 6, 7.
CPSC 322, Lecture 20Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
Knowledge Representation I (Propositional Logic) CSE 473.
CS 4700: Foundations of Artificial Intelligence
03 -1 Lecture 03 First-Order Predicate Logic Topics –Syntax –Formal Semantics –Denotational Semantics –Formal Inference –Resolution.
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
I NTRO TO L OGIC Dr Shlomo Hershkop March
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Knowledge Representation Use of logic. Artificial agents need Knowledge and reasoning power Can combine GK with current percepts Build up KB incrementally.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
CS6133 Software Specification and Verification
Artificial Intelligence Chapter 15 The Predicate Calculus Artificial Intelligence Chapter 15 The Predicate Calculus Biointelligence Lab School of Computer.
Chapter 1: The Foundations: Logic and Proofs
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 05 : Knowledge Base & First Order Logic.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 04 : Logic.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–6: Propositional calculus, Semantic Tableau, formal System 2 nd August,
Chapter 7. Propositional and Predicate Logic
Computer Science cpsc322, Lecture 20
Knowledge Representation and Reasoning
The Propositional Calculus
ARTIFICIAL INTELLIGENCE
Introduction to Knowledge-bases
EA C461 – Artificial Intelligence Logical Agent
Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Artificial Intelligence
Resolution And yet Another Example:
Artificial Intelligence: Logic agents
CS 416 Artificial Intelligence
Back to “Serious” Topics…
Logics for Data and Knowledge Representation
Chapter 7. Propositional and Predicate Logic
Knowledge Representation I (Propositional Logic)
CSNB234 ARTIFICIAL INTELLIGENCE
Computer Science cpsc322, Lecture 20
Bottom Up: Soundness and Completeness
Bottom Up: Soundness and Completeness
ece 720 intelligent web: ontology and beyond
Logical and Rule-Based Reasoning Part I
Bottom Up: Soundness and Completeness
Presentation transcript:

October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 1Semantics In propositional logic, we associate atoms with propositions about the world.In propositional logic, we associate atoms with propositions about the world. We thereby specify the semantics of our logic, giving it a “meaning”.We thereby specify the semantics of our logic, giving it a “meaning”. Such an association of atoms with propositions is called an interpretation.Such an association of atoms with propositions is called an interpretation. In a given interpretation, the proposition associated with an atom is called the denotation of that atom.In a given interpretation, the proposition associated with an atom is called the denotation of that atom. Under a given interpretation, atoms have values – True or False. We are willing to accept this idealization (otherwise: fuzzy logic).Under a given interpretation, atoms have values – True or False. We are willing to accept this idealization (otherwise: fuzzy logic).

October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 2Semantics We say that an interpretation satisfies a wff if the wff is assigned the value True under that interpretation.We say that an interpretation satisfies a wff if the wff is assigned the value True under that interpretation. An interpretation that satisfies a wff is called a model of that wff.An interpretation that satisfies a wff is called a model of that wff. An interpretation that satisfies each wff in a set of wffs is called a model of that set.An interpretation that satisfies each wff in a set of wffs is called a model of that set. The more wffs we have that describe the world, the fewer models there are.The more wffs we have that describe the world, the fewer models there are. This means that the more we know about the world, the less uncertainty there is.This means that the more we know about the world, the less uncertainty there is.

October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 3Semantics If no interpretation satisfies a wff (or a set of wffs), the wff is said to be inconsistent or unsatisfiable, for example, P   P.If no interpretation satisfies a wff (or a set of wffs), the wff is said to be inconsistent or unsatisfiable, for example, P   P. A wff is said to be valid if it has value True under all interpretations of its constituent atoms, for example, P   P.A wff is said to be valid if it has value True under all interpretations of its constituent atoms, for example, P   P. Neither valid wffs nor inconsistent wffs tell us anything about the world.Neither valid wffs nor inconsistent wffs tell us anything about the world.

October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 4Semantics Two wffs are said to be equivalent if and only if their truth values are identical under all interpretations. For two equivalent wffs  1 and  2 we write  1   2.Two wffs are said to be equivalent if and only if their truth values are identical under all interpretations. For two equivalent wffs  1 and  2 we write  1   2. If a wff  has value True under all of those interpretations for which each of the wffs in a set  has value True, then we say thatIf a wff  has value True under all of those interpretations for which each of the wffs in a set  has value True, then we say that –  logically entails  –  logically follows from  –  is a logical consequence of  –  |= 

October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 5 Soundness and Completeness If, for any set of wffs  and wff ,  | _ R  implies  |= , we say that the set of inference rules R is sound.If, for any set of wffs  and wff ,  | _ R  implies  |= , we say that the set of inference rules R is sound. If, for any set of wffs  and wff , it is the case that whenever  |= , there exists a proof of  from  using the set of inference rules R, we say that R is complete.If, for any set of wffs  and wff , it is the case that whenever  |= , there exists a proof of  from  using the set of inference rules R, we say that R is complete. When R is sound and complete, we can determine whether one wff follows from a set of wffs by searching for a proof instead of using a truth table (increased efficiency).When R is sound and complete, we can determine whether one wff follows from a set of wffs by searching for a proof instead of using a truth table (increased efficiency).