Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.

Slides:



Advertisements
Similar presentations
1 First order theories (Chapter 1, Sections 1.4 – 1.5)
Advertisements

Models and Propositional Logic In propositional logic, a model in general simply fixes the truth value – true or false – for every proposition symbol.
Logic.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
1 CA 208 Logic Ex3 Define logical entailment  in terms of material implication  Define logical consequence |= (here the semantic consequence relation.
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.
Knoweldge Representation & Reasoning
CS 4700: Foundations of Artificial Intelligence
The semantics of SL   Defining logical notions (validity, logical equivalence, and so forth) in terms of truth-value assignments   A truth-value assignment:
Predicate Calculus.
1st-order Predicate Logic (FOL)
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.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
LDK R Logics for Data and Knowledge Representation PL of Classes.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
October 17, 2012Introduction to Artificial Intelligence Lecture 11: Knowledge Representation and Reasoning I 1Semantics In propositional logic, we associate.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
CS6133 Software Specification and Verification
1 The Wumpus Game StenchBreeze Stench Gold Breeze StenchBreeze Start  Breeze.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
Semantics of Predicate Calculus For the propositional calculus, an interpretation was simply an assignment of truth values to the proposition letters of.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
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.
1 First Order Logic CS 171/271 (Chapter 8) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4.
Formal Semantics Purpose: formalize correct reasoning.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
Chapter Eight Predicate Logic Semantics. 1. Interpretations in Predicate Logic An argument is valid in predicate logic iff there is no valuation on which.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
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.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 04 : Logic.
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Knowledge Representation and Reasoning 2
Propositional Logic (a.k.a. Sentential Logic)
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
Knowledge Representation and Reasoning
The Propositional Calculus
ARTIFICIAL INTELLIGENCE
Notes 8: Predicate logic and inference
Project 2 due date moved to next Wed
Decidability of logical theories
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Resolution And yet Another Example:
Artificial Intelligence Chapter 15. The Predicate Calculus
1st-order Predicate Logic (FOL)
Back to “Serious” Topics…
Relational Logic Semantics
Logics for Data and Knowledge Representation
Notes 8: Predicate logic and inference
Knowledge Representation I (Propositional Logic)
Herbrand Logic Semantics
Decidability of logical theories
Dr. Unnikrishnan P.C. Professor, EEE
Relational Logic Semantics
Representations & Reasoning Systems (RRS) (2.2)
1st-order Predicate Logic (FOL)
Presentation transcript:

Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such an association of atoms with propositions is called an interpretation. Under a given interpretation, atoms have values – True or False. We are willing to accept this idealization (otherwise: fuzzy logic).

Interpretations An interpretation of an expression in the predicate calculus is an assignment that maps object constants into objects in the world, n-ary function constants into n-ary functions, n-ary relation constants into n-ary relations.

Interpretations B Example: Blocks world: A C Floor Predicate Calculus World A A B B C C Fl Floor On On = {<B,A>, <A,C>, <C, Floor>} Clear Clear = {<B>}

Semantics Meaning of a sentence is truth value {t, f} Interpretation is an assignment of truth values to the propositional variables ²i f [Sentence f is t in interpretation i ] 2i f [Sentence f is f in interpretation i ] Semantic Rules ²i true for all i 2i false for all i [the sentence false has truth value f in all interpret.] ²i :f if and only if 2i f ²i f Æ y if and only if ²i f and ²i y [conjunction] ²i f Ç y if and only if ²i f or ²i y [disjunction] ²i P iff i(P) = t

Terminology A sentence is valid iff its truth value is t in all interpretations (² f) Valid sentences: true, : false, P Ç : P A sentence is satisfiable iff its truth value is t in at least one interpretation Satisfiable sentences: P, true, : P A sentence is unsatisfiable iff its truth value is f in all interpretations Unsatisfiable sentences: P Æ : P, false, : true

KB entails f if and only if (KB ! f) is valid Models and Entailment entails Sentences Sentences An interpretation i is a model of a sentence f iff ²i f A set of sentences KB entails f iff every model of KB is also a model of f semantics semantics subset Interpretations Interpretations KB = A Æ B f = B KB ² f iff ² KB ! f KB entails f if and only if (KB ! f) is valid A Æ B B U A Æ B ² B

Examples Interpretation that make sentence’s truth value = f Sentence Valid? smoke ! smoke valid smoke Ç :smoke smoke ! fire satisfiable, not valid smoke = t, fire = f satisfiable, not valid s = f, f = t s ! f = t, : s ! : f = f (s ! f) ! (: s ! : f) valid (s ! f) ! (: f ! : s) b Ç d Ç (b ! d) valid b Ç d Ç : b Ç d