Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.

Slides:



Advertisements
Similar presentations
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Advertisements

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
Predicate Calculus Russell and Norvig: Chapter 8,9.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Artificial Intelligence Knowledge-based Agents Russell and Norvig, Ch. 6, 7.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
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.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
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?
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 26 of 41 Friday, 22 October.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 19, 2012.
Logic & Knowledge Representation I Foundations of Artificial Intelligence.
Computing & Information Sciences Kansas State University Lecture 10 of 42 CIS 530 / 730 Artificial Intelligence Lecture 10 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Logical Agents Logic Propositional Logic Summary
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 21 of 41 Wednesday, 08.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 16 Monday, 29 September.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 25 of 41 Monday, 25 October.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Lecture 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Thursday, November 29, 2001.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 17, 2012.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 42 Wednesday, 14.
Computing & Information Sciences Kansas State University Monday, 25 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 14 of 42 Monday, 25 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
CS6133 Software Specification and Verification
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 15 of 41 Friday 24 September.
Computing & Information Sciences Kansas State University Lecture 15 of 42 CIS 530 / 730 Artificial Intelligence Lecture 15 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 42 Monday, 08 December.
Computing & Information Sciences Kansas State University Wednesday, 19 Sep 2007CIS 530 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 19 September.
Computing & Information Sciences Kansas State University Monday, 23 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 25 of 42 Monday, 23 October.
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
Knowledge Repn. & Reasoning Lec. #5: First-Order Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 24 of 41 Monday, 18 October.
Computing & Information Sciences Kansas State University CIS 530 / 730: Artificial Intelligence Lecture 09 of 42 Wednesday, 17 September 2008 William H.
Computing & Information Sciences Kansas State University Monday, 09 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 19 of 42 Monday, 09 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 42 Wednesday, 22.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Monday, 22 Sep 2008CIS 530 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 22 September.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Monday, 01 December 2003 William.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Monday, 28 November 2005 William.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Computing & Information Sciences Kansas State University Friday, 03 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 16 of 42 Friday, 03 October.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Propositional Logic Session 3
Artificial Intelligence
Presentation transcript:

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15 September 2004 William H. Hsu Department of Computing and Information Sciences, KSU Reading: Sections 7.1 – 7.4, Russell and Norvig 2e Intro to Propositional and Predicate Logic

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture Outline Today’s Reading –Sections 7.1 – 7.4, Russell and Norvig 2e –Recommended references: Nilsson and Genesereth (Logical Foundations of AI) Previously: Logical Agents –Knowledge Bases (KB) and KB agents –Motivating example: Wumpus World –Logic in general –Syntax of propositional calculus Today –Propositional calculus (concluded) –Normal forms –Production systems –Predicate logic –Introduction to First-Order Logic (FOL): examples, inference rules (sketch) Next Week: First-Order Logic Review, Resolution Theorem Proving

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Review: Knowledge Representation (KR) for Intelligent Agent Problems Percepts –What can agent observe? –What can sensors tell it? Actions –What actuators does agent have? –In what context are they applicable? Goals –What are agents goals? Preferences (utilities)? –How does agent evaluate them (check environment, deliberate, etc.)? Environment –What are “rules of the world”? –How can these be represented, simulated?

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Review: Simple Knowledge-Based Agent Adapted from slides by S. Russell, UC Berkeley Figure 6.1 p. 152 R&N

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Review: Types of Logic Adapted from slides by S. Russell, UC Berkeley Figure 6.7 p. 166 R&N

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Propositional Logic: Semantics

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Propositional Inference: Enumeration (Model Checking) Method

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Normal Forms: CNF, DNF, Horn

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Validity and Satisfiability

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Proof Methods

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Inference (Sequent) Rules for Propositional Logic

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Logical Agents: Taking Stock

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley The Road Ahead: Predicate Logic and FOL Predicate Logic –Enriching language Predicates Functions –Syntax and semantics of predicate logic First-Order Logic (FOL, FOPC) –Need for quantifiers –Relation to (unquantified) predicate logic –Syntax and semantics of FOL Fun with Sentences Wumpus World in FOL

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley Syntax of FOL: Basic Elements

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Adapted from slides by S. Russell, UC Berkeley FOL: Atomic Sentences (Atomic Well-Formed Formulae)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Summary Points Logical Agents Overview (Last Time) –Knowledge Bases (KB) and KB agents –Motivating example: Wumpus World –Logic in general –Syntax of propositional calculus Propositional and First-Order Calculi (Today) –Propositional calculus (concluded) Normal forms Inference (aka sequent) rules –Production systems –Predicate logic without quantifiers –Introduction to First-Order Logic (FOL) Examples Inference rules (sketch) Next Week: First-Order Logic Review, Intro to Resolution Theorem Proving

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Fun with Sentences: Family Feud Adapted from slides by S. Russell, UC Berkeley Brothers are Siblings –  x, y. Brother (x, y)  Sibling (x, y) Siblings (i.e., Sibling Relationships) are Reflexive –  x, y. Sibling (x, y)  Sibling (y, x) One’s Mother is One’s Female Parent –  x, y. Mother (x, y)  Female (x)  Parent (x, y) A First Cousin Is A Child of A Parent’s Sibling –  x, y. First-Cousin (x, y)   p, ps. Parent (p, x)  Sibling (p, ps)  Parent (ps, y)

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence “Every Dog Chases Its Own Tail” –  d. Chases (d, tail-of (d)) –Alternative Statement:  d.  t. Tail-Of (t, d)  Chases (d, t) –Prefigures concept of Skolemization (Skolem variables / functions) “Every Dog Chases Its Own (Unique) Tail” –  d.  1 t. Tail-Of (t, d)  Chases (d, t)   d.  t. Tail-Of (t, d)  Chases (d, t)  [  t’ Chases (d, t’)  t’ = t] “Only The Wicked Flee when No One Pursueth” –  x. Flees (x)  [¬  y Pursues (y, x)]  Wicked (x) –Alternative :  x. [  y. Flees (x, y)]  [¬  z. Pursues (z, x)]  Wicked (x) Offline Exercise: What Is An nth Cousin, m Times Removed? Jigsaw Exercise [1]: First-Order Logic Sentences

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Jigsaw Exercise [2]: First-Order Logic Sentences

Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Terminology Logical Frameworks –Knowledge Bases (KB) –Logic in general: representation languages, syntax, semantics –Propositional logic –First-order logic (FOL, FOPC) –Model theory, domain theory: possible worlds semantics, entailment Normal Forms –Conjunctive Normal Form (CNF) –Disjunctive Normal Form (DNF) –Horn Form Proof Theory and Inference Systems –Sequent calculi: rules of proof theory –Derivability or provability –Properties Soundness (derivability implies entailment) Completeness (entailment implies derivability)