Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.

Slides:



Advertisements
Similar presentations
First-Order Logic.
Advertisements

Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
Artificial Intelligence Inference in first-order logic Fall 2008 professor: Luigi Ceccaroni.
Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Computing & Information Sciences Kansas State University Lecture 24 of 42 CIS 530 / 730 Artificial Intelligence Lecture 24 of 42 Planning: Monitoring &
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.
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
Inference in First-Order Logic
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 6 of 41 William H. Hsu Department of Computing.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 26 of 41 Friday, 22 October.
Computing & Information Sciences Kansas State University Lecture 10 of 42 CIS 530 / 730 Artificial Intelligence Lecture 10 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Lecture 9 of 42 CIS 530 / 730 Artificial Intelligence Lecture 9 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
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, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
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 22 of 42 CIS 530 / 730 Artificial Intelligence Lecture 22 of 42 Planning: Sensorless and.
Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation.
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 Lecture 21 of 42 CIS 530 / 730 Artificial Intelligence Lecture 21 of 42 Planning: Graph Planning.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
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 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
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.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
9/30/98 Prof. Richard Fikes Inference In First Order Logic Computer Science Department Stanford University CS222 Fall 1998.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
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 7. Making Deductive Inferences Course V231 Department of Computing Imperial College, London Jeremy Gow.
1 Inference in First Order Logic CS 171/271 (Chapter 9) Some text and images in these slides were drawn from Russel & Norvig’s published material.
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.
Inference in First Order Logic. Outline Reducing first order inference to propositional inference Unification Generalized Modus Ponens Forward and backward.
Lecture 8-1CS250: Intro to AI/Lisp FOPL, Part Deux Lecture 8-1 November 16 th, 1999 CS250.
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.
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.
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 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.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Artificial Intelligence
First Order Logic: Logical Inference
CSE 4705 Artificial Intelligence
Artificial Intelligence
Back to “Serious” Topics…
Presentation transcript:

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: Course web site: Instructor home page: Reading for Next Class: Section 9.2 – 9.4, p , Russell & Norvig 2 nd edition Handout, Nilsson & Genesereth, Logical Foundations of Artificial Intelligence FOL: The Frame Problem, Situation Calculus, and First-Order Inference

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture Outline Reading for Next Class: Sections 9.2 – 9.4 (p. 275 – 294), R&N 2 e Last Class: Intro to FOL, Sections (p ), R&N 2 e  Elements of logic: ontology and epistemology  First-order predicate calculus (FOPC) aka first order logic (FOL)  Properties of sentences (and sets of sentences, aka knowledge bases)  entailment vs. provability/derivability  validity vs. satisfiability  Properties of proof rules  soundness: KB ⊢ i α  KB ⊨ α (can prove only true sentences)  completeness: KB ⊨ α  KB ⊢ i α (can prove all true sentences) Today: KR in FOL, Sections (p ), 9.1 (p ), R&N 2 e  Frame problem: representational (frame axioms) vs. inferential  Related inference problems: ramification and qualification  Situation calculus  First-order inference: Generalized Modus Ponens (GMP) This Week: KR and Inference in First-Order Logic (Ch. 8 – 10)

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence © 2004 S. Russell & P. Norvig. Reused with permission. Soundness and Completeness in FOL: Review

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Resolution – Algorithm: Review Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Resolution – Example: Review Adapted from slide © 2004 S. Russell & P. Norvig. Reused with permission. Antecedents (Precedents) Resolvent (Consequent)

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Ontology and Epistemology: Review Adapted from slide © 2004 S. Russell & P. Norvig. Reused with permission. Ontological commitment – what entities, relationships, and facts exist in world and can be reasoned about Epistemic commitment – what agents can know about the world

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Denotational Semantics of FOL: Review Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Automated Deduction: Review © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Keeping Track of Change © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Describing Actions [1]: Frame Axioms and the Frame Problem Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Describing Actions [2]: Successor-State Axioms Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Making Plans [1]: Naïve Approach – Theorem Proving Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Making Plans [2]: A Better Way – Planning Systems Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Chapter 8: Summary © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Chapter 9: Outline © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence A Brief History of Reasoning © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Universal Instantiation (UI) © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Existential Instantiation (EI) © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Using Universal and Existential Instantiation Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Reduction to Propositional Inference [1]: Ground Terms Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Reduction to Propositional Inference [2]: Herbrand’s Lifting Lemma Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Problems with Propositionalization © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Unification: Preview Adapted from slides © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Generalized Modus Ponens (GMP) © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Soundness of GMP © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Example Knowledge Base: Preview © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Terminology Resolution: Sound and Complete Inference Rule/Procedure for FOL  Antecedent (aka precedent): sentences “above line” in sequent rule  Resolvent (aka consequent): sentences “below line” in sequent rule Forward Chaining: Systematic Application of Rule to Whole KB  Rete algorithm in production systems for expert systems development  Susceptible to high fan-out (branch factor) Backward Chaining: Goal-Directed Today: Representing States/Actions in FOL; Propositional Logic to FOL  Frame problem  representational: proliferation of frame axioms  inferential: replication of state  Qualification problem: handling “exceptions” (contingencies)  Ramification problem: handling “side effects”  Situation calculus: FOL-based language; successor state axioms, situations  Herbrand’s lifting lemma: can generalize from propositional inference  Propositionalization: mapping down to ground terms

Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Last Class: Overview of Knowledge Representation (KR) and FOL  Syntax and semantics  Ontological vs. epistemological commitments  Sentences: entailment vs. provability/derivability, validity vs. satisfiability  Proof rules  soundness: KB ⊢ i α  KB ⊨ α (can prove only true sentences)  completeness: KB ⊨ α  KB ⊢ i α (can prove all true sentences) Today: Representing States and Actions in FOL  Frame problem  representational: proliferation of frame axioms  inferential: replication of state  Relatives: ramification problem and qualification problem  Partial solution to representational frame problem: situation calculus Chapter 9: First-Order Inference  Herbrand theory: ground terms, lifting lemma  Preview of unification, GMP Summary Points