Propositional Logic Resolution

Slides:



Advertisements
Similar presentations
Resolution Proof System for First Order Logic
Advertisements

Biointelligence Lab School of Computer Sci. & Eng.
Inference Rules Universal Instantiation Existential Generalization
Knowledge & Reasoning Logical Reasoning: to have a computer automatically perform deduction or prove theorems Knowledge Representations: modern ways of.
Introduction to Theorem Proving
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
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.
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.
Models and Propositional Logic In propositional logic, a model in general simply fixes the truth value – true or false – for every proposition symbol.
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.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
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 Theorem Proving
F22H1 Logic and Proof Week 7 Clausal Form and Resolution.
Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus Artificial Intelligence Chapter 14. Resolution in the Propositional Calculus.
Prolog IV Logic, condensed. 2 Propositional logic Propositional logic consists of: The logical values true and false ( T and F ) Propositions: “Sentences,”
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.
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.
Inference and Resolution for Problem Solving
Chapter 3 Propositional Logic
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
The Semantic Web – WEEK 8: An automatic Proof technique.. The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] You are here!
Knowledge & Reasoning Logical Reasoning: to have a computer automatically perform deduction or prove theorems Knowledge Representations: modern ways of.
I NTRO TO L OGIC Dr Shlomo Hershkop March
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.
Logical Agents Logic Propositional Logic Summary
Tasks Task 41 Solve Exercise 12, Chapter 2.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
CS6133 Software Specification and Verification
C. Varela1 Logic Programming (PLP 11) Predicate Calculus, Horn Clauses, Clocksin-Mellish Procedure Carlos Varela Rennselaer Polytechnic Institute November.
第 1 6 章 谓词演算中的归结. 2 Outline Unification Predicate-Calculus Resolution Completeness and Soundness Converting Arbitrary wffs to Clause Form Using Resolution.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
March 8, 2016Introduction to Artificial Intelligence Lecture 13: Knowledge Representation & Reasoning II 1Resolution And yet Another Example: Resolving.
Knowledge Representation and Reasoning
Logic and Critical Thinking
Resolution in the Propositional Calculus
Discussion #10 Logical Equivalences
Proposition & Predicates
Horn Clauses and Unification
Propositional Resolution
Logic Use mathematical deduction to derive new knowledge.
Biointelligence Lab School of Computer Sci. & Eng.
Propositional Equivalences
Resolution And yet Another Example:
CS 416 Artificial Intelligence
Carlos Varela Rensselaer Polytechnic Institute November 10, 2017
Horn Clauses and Unification
Prolog IV Logic, condensed.
Back to “Serious” Topics…
Horn Clauses and Unification
Biointelligence Lab School of Computer Sci. & Eng.
Reasoning with the Propositional Calculus
Reasoning with the Propositional Calculus
CSNB234 ARTIFICIAL INTELLIGENCE
Horn Clauses and Unification
Reasoning with the Propositional Calculus
Reasoning with the Propositional Calculus
RESOLUTION.
Resolution Proof System for First Order Logic
Carlos Varela Rennselaer Polytechnic Institute August 30, 2007
Presentation transcript:

Propositional Logic Resolution Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara rdav90@gmail.com

Propositional logic resolution 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 normal form if it consists in the conjunction of clauses. A1  A2  …  An where Ai is a clause. Def. A formula is said to be a clause if it consists in a disjunction of literals. A clause has the following form: L1 v L2 v … v Lm where Li is a literal. Def. A literal is an atomic formula or the negation of an atomic formula. Def. A formula is said to be in clausal form if it can be expressed as a set of clauses: {C1 , … , Cn,} where Ci is a clause

Propositional logic resolution Transforming into clausal form 1. Eliminate implication symbols (), using the identity:       v  2. Introduce negation: reduce scopes of negation symbols by repeatedly applying the De Morgan rules: (i)  ( v )       (ii)  (  )    v   3. Put matrix in conjunctive normal form by repeatedly applying the distributive laws: (i)  v (  )  ( v )  ( v ) (ii)   ( v )  (  ) v (  ) 4. Eliminate conjunction () symbols separating the expression in clauses.

Propositional logic resolution Resolution refutation procedure In general a resolution refutation for proving an arbitrary wff  from a set of wffs ,  , proceeds as follows: 1. Convert the wffs in  to clausal form. 2. Negate the formula  to be proved and convert the result to clausal form. 3. Combine the clauses resulting form 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.

Propositional logic resolution Important results 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. Decidibility 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.

Propositional logic resolution Exercises 1. Transform into clausal form the following wff: ~[((p v ~q) r)  (p q)] 2. Prove using resolution refutation the axioms of the propositional logic. a. Implication introduction: p  (q  p) b. Implication distribution: (p  (q  r))  ((p  q)  (p  r)) c. Contradiction realization: (q  ~p)  ((q  p)  ~q)