CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
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.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Logic.
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
Logic Concepts Lecture Module 11.
CS128 – Discrete Mathematics for Computer Science
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 Problem Solving CS 331 Dr M M Awais Representational Methods Formal Methods Propositional Logic Predicate Logic.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
Knowledge in intelligent systems So far, we’ve used relatively specialized, naïve agents. How can we build agents that incorporate knowledge and a memory?
Knoweldge Representation & Reasoning
Let remember from the previous lesson what is Knowledge representation
CS 4700: Foundations of Artificial Intelligence
Logic seminar 2 Propositional logic Slobodan Petrović.
EE1J2 – Discrete Maths Lecture 5
Chapter 7 Reasoning about Knowledge by Neha Saxena Id: 13 CS 267.
Adapted from Discrete Math
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Propositional Equivalences
CS344: Introduction to Artificial Intelligence Lecture: Herbrand’s Theorem Proving satisfiability of logic formulae using semantic trees (from Symbolic.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 28– Interpretation; Herbrand Interpertation 30 th Sept, 2010.
S P Vimal, Department of CSIS, BITS, Pilani
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
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.
Thinking Mathematically
CS6133 Software Specification and Verification
1 The Wumpus Game StenchBreeze Stench Gold Breeze StenchBreeze Start  Breeze.
1 Propositional Logic Introduction. 2 What is propositional logic? Propositional Logic is concerned with propositions and their interrelationships. 
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 04 – Part B Propositional Logic.
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.
LECTURE 1. Disrete mathematics and its application by rosen 7 th edition THE FOUNDATIONS: LOGIC AND PROOFS 1.1 PROPOSITIONAL LOGIC.
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.
 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.
Chapter 1 Propositional Logic
Presented by: Tutorial Services The Math Center
Propositional Logic (a.k.a. Sentential Logic)
DISCRETE MATHEMATICS CHAPTER I.
Knowledge Representation and Reasoning
Discrete Mathematics Logic.
Truth Tables and Equivalent Statements
The Propositional Calculus
ARTIFICIAL INTELLIGENCE
Project 2 due date moved to next Wed
Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.
Principles of Computing – UFCFA3-30-1
Information Technology Department
Chapter 1 The Foundations: Logic and Proof, Sets, and Functions
Logics for Data and Knowledge Representation
Propositional Equivalences
(1.4) An Introduction to Logic
Back to “Serious” Topics…
Discrete Mathematics Lecture 2: Propositional Logic
Discrete Mathematics Logic.
PROPOSITIONAL LOGIC - SYNTAX-
Discrete Mathematics Lecture 2: Propositional Logic
Presentation transcript:

CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents

Propositional Logic Introduction In propositional logic, we are interested in declarative sentences that can be either true or false. Example: P Δ Sugar is a hydrocarbon » Q Δ Subu has a PhD degree The symbols P, Q are called the atomic formulas or atoms. From propositions we can build compound propositions by using logical connectives.

Examples using connectives If John is at home then Mary is at home. In this, we use a connective called “if…then” In propositional logic we shall use five logical connectives  (not),  (and),  (or),  (if..then) and  (if and only if)

More definitions well formed formulas(wff) 1.An atom is a formula 2.If G is a formula then (  G) is a formula 3.If G and H are formulas then (G  H), (G  H), (G  H) and (G  H) are formulas 4.All formulas are generated by applying the above rules.

Other ways of saying connectives 1.  negation (  G) is called negation G 2.  conjunction (G  H) is called conjunction of G and H 3.  disjunction (G  H) is called disjunction of G and H 4.  implies (G  H) is called if G then H or G implies H

Interpretation of Formulas Given a propositional formula G, let A 1,A 2,… be atoms occurring in the formula G. then an interpretation of G is an assignment of truth values to A 1,A 2,… in which every A i is assigned either T or F but not both.

Contd… A formula G is said to be true under an interpretation if and only if G is evaluated to T in the interpretation; otherwise G is said to be false under the interpretation.

VALIDITY AND INCONSISTENCY IN PROPOSITIONAL LOGIC A formula is said to be valid if and only if it is true under all interpretations. A formula is said to be invalid if and only if it is not valid. A formula is said to be inconsistent or unsatisfiable if and only if it is false under all interpretations. A formula is said to be consistent(or satisfiable) if and only if it is not inconsistent.

Truth Tables PQ P  (P  Q)  (  P   Q)(P  (P  Q))  (  (  P   Q)) false true false true

Evaluating Models (E  B)  A A  (J  M) B Sym bol TFUNKNOWN E B A J M

VALID AND SATISFIABLE STATEMENTVALIDSATISFIABLEUNKNOWN P   P P   P P  Q  (P  Q) (P  Q)  (Q  P) (Food  party)  (drinks  party)  ((food  drinks)  party)

Need to know Normal forms in Propositional logic Literal CNF DNF Logical consequences Applications

Wumpus World