Docsity

Backward Chaining - Artificial Intelligence - Lecture Slides, Slides of Artificial Intelligence

Partial preview of the text

Download Backward Chaining - Artificial Intelligence - Lecture Slides and more Slides Artificial Intelligence in PDF only on Docsity!

Lecture 15 of 41

More First-Order Logic Basics:

Backward Chaining, Resolution Preliminaries

Lecture Outline

  • Today’s Reading
  • Next Week’s Reading: Chapters 9 -10, R&N
  • Previously: Introduction to Propositional and First-Order Logic
    • Monday (20 Sep 2004)
      • First-order logic (FOL): predicates, functions, quantifiers
      • Sequent rules, proof by refutation
    • Wednesday (22 Sep 2004)
      • Forward Chaining with Modus Ponens
      • Ontology, History of Logic, Russell’s Paradox
      • Unification, Logic Programming Basics
  • Today: Backward Chaining, Resolution Preliminaries, A Look Ahead
  • Next Week: Resolution, Clausal Form (CNF), Decidability of SAT

Unification:

Definitions and Idea Sketch

Generalized Modus Ponens

Forward Chaining

Example:

Forward Chaining

Example:

Backward Chaining

  • Question: How Does This Relate to Proof by Refutation?
  • Answer
    • Suppose ¬Query , For The Sake Of Contradiction (FTSOC)
    • Attempt to prove that KB  ¬Query ├

Review:

Backward Chaining

Completeness in FOL

Resolution Inference Rule

Conjunctive Normal ( aka Clausal) Form [1]:

Conversion (R&N)

Conjunctive Normal ( aka Clausal) Form [2]:

Conversion (Nilsson) and Mnemonic

  • Implications Out
  • Negations Out
  • Standardize Variables Apart
  • Existentials Out (Skolemize)
  • Universals Made Implicit
  • Distribute And Over Or (i.e., Disjunctions In)
  • Operators Out
  • Rename Variables
  • A Memonic for Star Trek: The Next Generation Fans
    • Captain Picard:
  • I ’ll Notify S pock’s Eminent Underground Dissidents On Romulus
  • I ’ll Notify S arek’s Eminent Underground Descendant On Romulus

Resolution Theorem Proving

Example:

Resolution Proof