Resolution Refutation Formal Aspects of Computer Science - Week 10 An Automated Theorem Prover Lee McCluskey, room 2/07

Slides:



Advertisements
Similar presentations
CS4026 Formal Models of Computation Part II The Logic Model Lecture 1 – Programming in Logic.
Advertisements

Some Prolog Prolog is a logic programming language
Biointelligence Lab School of Computer Sci. & Eng.
SLD-resolution Introduction Most general unifiers SLD-resolution
1 A formula in predicate logic An atom is a formula. If F is a formula then (~F) is a formula. If F and G are Formulae then (F /\ G), (F \/ G), (F → G),
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Club and Circuit Examples.
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.
First Order Logic Resolution
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.
13 Automated Reasoning 13.0 Introduction to Weak Methods in Theorem Proving 13.1 The General Problem Solver and Difference Tables 13.2 Resolution.
Resolution in Propositional and First-Order Logic.
Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07
1 Applied Computer Science II Resolution in FOL Luc De Raedt.
Formal Aspects of Computer Science - Week 5 Logic and Reasoning Lee McCluskey, room 2/07
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Midterm Review CMSC421 – Fall CH1 Summary: Intro AI Definitions: dimensions human/rational think/act Three Major Components of AI Algorithms Representation.
1 Module 2: Fundamental Concepts Problems Programs –Programming languages.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Lecture 2: Fundamental Concepts
AI - Week 16 Logic and Reasoning in AI: Resolution Refutation Lee McCluskey, room 2/07
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.
AI - Week 15 Logic and Reasoning in AI Lee McCluskey, room 2/07
Resolution Refutation Formal Aspects of Computer Science - Week 9 Resolution Refutation, Relation with Prolog Lee McCluskey, room 2/07
Inference and Resolution for Problem Solving
Logic in Computer Science Transparency No Chapter 3 Propositional Logic 3.6. Propositional Resolution 3.7. Natural Deduction.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
Chapter 3 Propositional Logic
Prop logic First order predicate logic (FOPC) Prob. Prop. logic Objects, relations Degree of belief First order Prob. logic Objects, relations.
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
03 -1 Lecture 03 First-Order Predicate Logic Topics –Syntax –Formal Semantics –Denotational Semantics –Formal Inference –Resolution.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
Automated Reasoning ARTIFICIAL INTELLIGENCE 6th edition George F Luger
The Semantic Web – WEEK 8: Proof in FOL continued The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] You are here!
The Semantic Web – WEEK 8: An automatic Proof technique.. The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] You are here!
Resolution Refutation Formal Aspects of Computer Science - Week 8 The Law of Resolution and the Resolution Procedure Lee McCluskey, room 2/07
0 1 Todays Topics Resolution – top down and bottom up j-DREW BU procedure Subsumption – change to procedure Infinite Loops RuleML input – Prolog output.
CS1502 Formal Methods in Computer Science Lecture Notes 10 Resolution and Horn Sentences.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
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.
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.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
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,
MA/CSSE 474 Theory of Computation Decision Problems DFSMs.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
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.
The Law of Resolution Formal Aspects of Computer Science - Week 7 The Law of Resolution Lee McCluskey, room 2/07
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
Automated Reasoning in Propositional Logic Problem Given: KB: a set of sentence  : a sentence Answer: KB  ?
Answer Extraction To use resolution to answer questions, for example a query of the form  X C(X), we must keep track of the substitutions made during.
Automated Reasoning in Propositional Logic Russell and Norvig: Chapters 6 and 9 Chapter 7, Sections 7.5—7.6 CS121 – Winter 2003.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Knowledge Representation and Reasoning
Resolution in the Propositional Calculus
Propositional Logic Resolution
Logical Inference: Through Proof to Truth
Lecture 2 Propositional Logic
Biointelligence Lab School of Computer Sci. & Eng.
Biointelligence Lab School of Computer Sci. & Eng.
Logical Inference 4 wrap up
Presentation transcript:

Resolution Refutation Formal Aspects of Computer Science - Week 10 An Automated Theorem Prover Lee McCluskey, room 2/07

Resolution Refutation Recap Last Week -First Order Logic - Relationship with Prolog -How to get answers from Resolution Refutation (and Prolog) -The Martians Example This week – An Automated Theorem Prover (ATP)

Resolution Refutation Automated Theorem Proving -Using a tool to show that a wff1 logically follows from a wff2 -Of great interest in problem solving, proving theorems, proving software etc -NOTE proof and correctness is always RELATIVE. You can prove w1 follows from w2 is correct, but you can’t prove simply “w1 is correct”. So – you could prove a program is correct with respect to a specification, but never “a program is correct”.

Resolution Refutation Automated Theorem Proving Strategies A membership procedure is DECIDABLE if there is an algorithm which can deliver a solution (yes or no) in a finite no. of steps Theoretically, proof that w1 follows from w2 is “SEMI-DECIDABLE” in the sense that -if you know w1 follows from w2 then we can use resolution to deduce wffs from w2 and know that eventually w1 will be produced -If you DON’T KNOW that w1 follows from w2, then there is no effective procedure that can let us know the answer for all possible inputs 

Resolution Refutation Automated Theorem Proving Strategy We try to embed strategies into help with the problem of deciding which of possibly many clause pairs (parents) should be resolved next. Some common ones: "Set of Support" Strategy: use a parent which is either an element of the negated query clause or an ancestor of one. “Unit Preference” Strategy use clauses which contain 1 literal if possible

Resolution Refutation Automated Theorem Prover :- [cf,ur,testmartians]. predicate prove(depth,query,wff). cf is the code to change to clausal form ur is the code that does resolution testmartians contains a particular problem “depth” is the search limit of the ATP

Resolution Refutation Automated Theorem Prover To use you must learn the syntax for writing the Wffs in- to do this look at examples.. p53:-prove(9, all(x1,green(x1)->friendly(x1) ), ( all(x2, green(x2)->antennae(x2)) & all(x3, all(x4, child(x4,x3)->antennae(x4)) -> friendly(x3)) & all(x5, exists(x6, child(x5,x6)&green(x6)) ->green(x5) ) ) ).

Resolution Refutation Automated Theorem Prover DEMO …………

Resolution Refutation Summary Proof is semi decidable Proof tools use heuristics and strategies such as set-of-support You have been ed an ATP written in Prolog