Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Advertisements

Biointelligence Lab School of Computer Sci. & Eng.
Inference Rules Universal Instantiation Existential Generalization
Introduction to Theorem Proving
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Automated Reasoning Systems For first order Predicate Logic.
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.
Artificial Intelligence
First Order Logic Resolution
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
We have seen that we can use Generalized Modus Ponens (GMP) combined with search to see if a fact is entailed from a Knowledge Base. Unfortunately, there.
For Friday No reading Homework: –Chapter 9, exercise 4 (This is VERY short – do it while you’re running your tests) Make sure you keep variables and constants.
Logic Use mathematical deduction to derive new knowledge.
13 Automated Reasoning 13.0 Introduction to Weak Methods in Theorem Proving 13.1 The General Problem Solver and Difference Tables 13.2 Resolution.
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
Resolution Theorem Proving
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/home.htm.
Logic CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 Applied Computer Science II Resolution in FOL Luc De Raedt.
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
ITCS 3153 Artificial Intelligence Lecture 11 Logical Agents Chapter 7 Lecture 11 Logical Agents Chapter 7.
1 Automated Reasoning Introduction to Weak Methods in Theorem Proving 13.1The General Problem Solver and Difference Tables 13.2Resolution Theorem.
Logic in Computer Science Transparency No Chapter 3 Propositional Logic 3.6. Propositional Resolution.
Inference and Resolution for Problem Solving
Logic in Computer Science Transparency No Chapter 3 Propositional Logic 3.6. Propositional Resolution 3.7. Natural Deduction.
Knowledge Representation I (Propositional Logic) CSE 473.
Knoweldge Representation & Reasoning
Chapter 3 Propositional Logic
Artificial Intelligence
Prop logic First order predicate logic (FOPC) Prob. Prop. logic Objects, relations Degree of belief First order Prob. logic Objects, relations.
Artificial Intelligence Chapter 17 Knowledge-Based Systems Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
CS1502 Formal Methods in Computer Science Lecture Notes 10 Resolution and Horn Sentences.
Propositional Logic Reasoning correctly computationally Chapter 7 or 8.
INFERENCE IN FIRST-ORDER LOGIC IES 503 ARTIFICIAL INTELLIGENCE İPEK SÜĞÜT.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 19, 2012.
Conjunctive normal form: any formula of the predicate calculus can be transformed into a conjunctive normal form. Def. A formula is said to be in conjunctive.
1 Chapter 8 Inference and Resolution for Problem Solving.
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
S P Vimal, Department of CSIS, BITS, Pilani
Unification Algorithm Input: a finite set Σ of simple expressions Output: a mgu for Σ (if Σ is unifiable) 1. Set k = 0 and  0 = . 2. If Σ  k is a singleton,
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
1 Logical Inference Algorithms CS 171/271 (Chapter 7, continued) Some text and images in these slides were drawn from Russel & Norvig’s published material.
CS6133 Software Specification and Verification
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 04 – Part B Propositional Logic.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
EA C461 Artificial Intelligence
Knowledge Representation and Reasoning
Resolution in the Propositional Calculus
Propositional Logic Resolution
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Logic Use mathematical deduction to derive new knowledge.
Biointelligence Lab School of Computer Sci. & Eng.
CS 416 Artificial Intelligence
Back to “Serious” Topics…
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 17. Knowledge-Based Systems
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Presentation transcript:

Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus

(c) 2000, 2001 SNU CSE Biointelligence Lab2 Outline A New Rule of Inference: Resolution Converting Arbitrary wffs to Conjunctions of Clauses Resolution Refutations Resolution Refutation Search Strategies Horn Clauses

(c) 2000, 2001 SNU CSE Biointelligence Lab A New Rule of Inference: Resolution Literal: either an atom (positive literal) or the negation of an atom (negative literal). Ex: Clause is wff (equivalent to ) Ex: Empty clause {} is equivalent to F

(c) 2000, 2001 SNU CSE Biointelligence Lab Resolution on Clauses (1) From and We can infer  called the resolvent of the two clauses  this process is called resolution Examples  : chaining  : modus ponens  Chaining and modus ponens is a special case of resolution

(c) 2000, 2001 SNU CSE Biointelligence Lab Resolution on Clauses (2)   Resolving them on Q :  Resolving them on R :  Since are True, the value of each of these resolvents is True.  We must resolve either on Q or on R.  is not a resolvent of two clauses.

(c) 2000, 2001 SNU CSE Biointelligence Lab Soundness of Resolution If and both have true, is true. Proof : reasoning by cases  Case 1  If is True, must True in order for to be True.  Case 2  If is False, must True in order for to be True.  Either or must have value True.  has value True.

(c) 2000, 2001 SNU CSE Biointelligence Lab Converting Arbitrary wffs to Conjunctions of Clauses Ex: 1.Equivalent Form Using ∨ 2.DeMorgan 3.Distributive Rule 4.Associative Rule Usually expressed as

(c) 2000, 2001 SNU CSE Biointelligence Lab Resolution Refutations Resolution is not complete.  For example,  We cannot infer using resolution on the set of clauses (because there is nothing that can be resolved) We cannot use resolution directly to decide all logical entailments.

(c) 2000, 2001 SNU CSE Biointelligence Lab9 Resolution Refutation Procedure 1. Convert the wffs in  to clause form, i.e. a (conjunctive) set of clauses. 2. Convert the negation of the wff to be proved,, to clause form. 3. Combine the clauses resulting from steps 1 and 2 into a single set, 4. Iteratively apply resolution to the clauses in and add the results to either until there are no more resolvents that can be added or until the empty clause is produced.

(c) 2000, 2001 SNU CSE Biointelligence Lab10 Completeness of Resolution Refutation Completeness of resolution refutation  The empty clause will be produced by the resolution refutation procedure if.  Thus, we say that propositional resolution is refutation complete. Decidability of propositional calculus by resolution refutation  If is a finite set of clauses and if,  Then the resolution refutation procedure will terminate without producing the empty clause.

(c) 2000, 2001 SNU CSE Biointelligence Lab11 A Resolution Refutation Tree Given: 1. BAT_OK 2. MOVES 3. BAT_OK ∧ LIFTABLE ⊃ MOVES Clause form of 3: 4. BAT_OK ∨ LIFTABLE ∨ MOVES Negation of goal: 5. LIFTABLE Perform resolution: 6. BAT_OK ∨ MOVES (from resolving 5 with 4) 7. BAT_OK (from 6, 2) 8. Nil (from 7, 1)

(c) 2000, 2001 SNU CSE Biointelligence Lab Resolution Refutations Search Strategies Ordering strategies  Breadth-first strategy  Depth-first strategy  with a depth bound, use backtracking.  Unit-preference strategy  prefer resolutions in which at least one clause is a unit clause. Refinement strategies  Set of support  Linear input  Ancestry filtering

(c) 2000, 2001 SNU CSE Biointelligence Lab13 Refinement Strategies Set of support strategy  Allows only those resolutions in which one of the clauses being resolved is in the set of support, i.e., those clauses that are either clauses coming from the negation of the theorem to be proved or descendants of those clauses.  Refutation complete Linear input strategy  at least one of the clauses being resolved is a member of the original set of clauses.  Not refutation complete Ancestry filtering strategy  at least one member of the clauses being resolved either is a member of the original set of clauses or is an ancestor of the other clause being resolved.  Refutation complete

(c) 2000, 2001 SNU CSE Biointelligence Lab Horn Clauses A Horn clause: a clause that has at most one positive literal. Ex: Three types of Horn clauses.  A single atom: called a “fact”  An implication: called a “rule”  A set of negative literals: called “goal” There are linear-time deduction algorithms for propositional Horn clauses.