SlideShare a Scribd company logo
1 of 15
Download to read offline
Resolution in the
Propositional Calculus
Chapter 14.
2
Outline
 A New Rule of Inference: Resolution
 Converting Arbitrary wffs to Conjunctions of
Clauses
 Resolution Refutations
 Resolution Refutation Search Strategies
 Horn Clauses
3
14.1 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
},,{ RQP 
RQP 
4
14.1.2 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
1}{  2}{ 
21 
QRQPPR  and
PPRR and
5
14.1.2 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.
WSRQ
PWQPSRQP

 onwith
RQWPRQP  and
WRRP 
WQQP 
QQRR  and
WP 
6
14.1.3 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.
1}{  2}{  21 


2
1
2}{ 
1}{ 
1 2
21 
7
14.2 Converting Arbitrary wffs to
Conjunctions of Clauses
 Ex:
1. Equivalent Form
Using ∨
2. DeMorgan
3. Distributive Rule
4. Associative Rule
 Usually expressed as
)()( PRQP 
)()( PRQP 
)()( PRQP 
)()( PRQPRP 
)()( PRQRP 
)}(),{( PRQRP 
8
Converting wffs to Conjunctions of Clauses
)~(~)(~
)~(~
)~(~
)(~~~
))(~(~
)(
rspqsp
rqsp
srqp
srqp
srqp
srqp






s)rq(p 
Ex. Convert the following wffs to conjunctions of
clauses
prqp  ))((
9
14.3 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.
RPRP  
RP
},{ RP
10
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.




11
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.

 
12
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)
13
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
14
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
15
14.5 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.
RPR,QPQ,PP, 

More Related Content

What's hot

Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...mathsjournal
 
D. h. fremlin measure theory, volume 5, part 1 (2000, torres fremlin)
D. h. fremlin   measure theory, volume 5, part 1   (2000, torres fremlin)D. h. fremlin   measure theory, volume 5, part 1   (2000, torres fremlin)
D. h. fremlin measure theory, volume 5, part 1 (2000, torres fremlin)Bluewworksblue
 
introduction to Genifer -- Deduction
introduction to Genifer -- Deductionintroduction to Genifer -- Deduction
introduction to Genifer -- DeductionYan Yin
 
Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Srimatre K
 
Some notes on Tight Frames
Some notes on Tight FramesSome notes on Tight Frames
Some notes on Tight FramesShailesh Kumar
 
Presentation- Research Paper
Presentation- Research PaperPresentation- Research Paper
Presentation- Research Papersaisns09
 
Leyes De Inferencia Y Equivalencia
Leyes De Inferencia Y EquivalenciaLeyes De Inferencia Y Equivalencia
Leyes De Inferencia Y Equivalencialaryenso
 
Functional programming
Functional programmingFunctional programming
Functional programmingHideshi Ogoshi
 
36b1995264955a41dc1897b7a4dce260
36b1995264955a41dc1897b7a4dce26036b1995264955a41dc1897b7a4dce260
36b1995264955a41dc1897b7a4dce260Ouäfa AL Rabaani
 
Algebraic geometry and commutative algebra
Algebraic geometry and commutative algebraAlgebraic geometry and commutative algebra
Algebraic geometry and commutative algebraSpringer
 

What's hot (19)

Regular expressions
Regular expressionsRegular expressions
Regular expressions
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
Lec61
Lec61Lec61
Lec61
 
D. h. fremlin measure theory, volume 5, part 1 (2000, torres fremlin)
D. h. fremlin   measure theory, volume 5, part 1   (2000, torres fremlin)D. h. fremlin   measure theory, volume 5, part 1   (2000, torres fremlin)
D. h. fremlin measure theory, volume 5, part 1 (2000, torres fremlin)
 
Cs419 lec5 lexical analysis using dfa
Cs419 lec5   lexical analysis using dfaCs419 lec5   lexical analysis using dfa
Cs419 lec5 lexical analysis using dfa
 
introduction to Genifer -- Deduction
introduction to Genifer -- Deductionintroduction to Genifer -- Deduction
introduction to Genifer -- Deduction
 
Functional dependency
Functional dependencyFunctional dependency
Functional dependency
 
Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2
 
Some notes on Tight Frames
Some notes on Tight FramesSome notes on Tight Frames
Some notes on Tight Frames
 
Presentation- Research Paper
Presentation- Research PaperPresentation- Research Paper
Presentation- Research Paper
 
Permutations 2020
Permutations 2020Permutations 2020
Permutations 2020
 
Buckingham a4
Buckingham a4Buckingham a4
Buckingham a4
 
Leyes De Inferencia Y Equivalencia
Leyes De Inferencia Y EquivalenciaLeyes De Inferencia Y Equivalencia
Leyes De Inferencia Y Equivalencia
 
Lec11
Lec11Lec11
Lec11
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Functional programming
Functional programmingFunctional programming
Functional programming
 
36b1995264955a41dc1897b7a4dce260
36b1995264955a41dc1897b7a4dce26036b1995264955a41dc1897b7a4dce260
36b1995264955a41dc1897b7a4dce260
 
Algebraic geometry and commutative algebra
Algebraic geometry and commutative algebraAlgebraic geometry and commutative algebra
Algebraic geometry and commutative algebra
 
LECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCESLECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCES
 

Similar to 14 pro resolution

L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicManjula V
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)Slideshare
 
Value Function Geometry and Gradient TD
Value Function Geometry and Gradient TDValue Function Geometry and Gradient TD
Value Function Geometry and Gradient TDAshwin Rao
 
A robust stabilised immersed finite element framework for complex fluid-struc...
A robust stabilised immersed finite element framework for complex fluid-struc...A robust stabilised immersed finite element framework for complex fluid-struc...
A robust stabilised immersed finite element framework for complex fluid-struc...CHENNAKESAVA KADAPA
 
Order and stability for general linear methods
Order and stability for general linear methodsOrder and stability for general linear methods
Order and stability for general linear methodsYuri Vyatkin
 
Advanced Algorithms: Transform and conquer
Advanced Algorithms: Transform and conquerAdvanced Algorithms: Transform and conquer
Advanced Algorithms: Transform and conquerAbdulrazak Zakieh
 
Lecture 09 -_davis_putnam
Lecture 09 -_davis_putnamLecture 09 -_davis_putnam
Lecture 09 -_davis_putnamIssen Sobri
 
1004_theorem_proving_2018.pptx on the to
1004_theorem_proving_2018.pptx on the to1004_theorem_proving_2018.pptx on the to
1004_theorem_proving_2018.pptx on the tofariyaPatel
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformAmr E. Mohamed
 
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...inventionjournals
 

Similar to 14 pro resolution (14)

L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logic
 
chapter9.ppt
chapter9.pptchapter9.ppt
chapter9.ppt
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)
 
Value Function Geometry and Gradient TD
Value Function Geometry and Gradient TDValue Function Geometry and Gradient TD
Value Function Geometry and Gradient TD
 
A robust stabilised immersed finite element framework for complex fluid-struc...
A robust stabilised immersed finite element framework for complex fluid-struc...A robust stabilised immersed finite element framework for complex fluid-struc...
A robust stabilised immersed finite element framework for complex fluid-struc...
 
Order and stability for general linear methods
Order and stability for general linear methodsOrder and stability for general linear methods
Order and stability for general linear methods
 
Advanced Algorithms: Transform and conquer
Advanced Algorithms: Transform and conquerAdvanced Algorithms: Transform and conquer
Advanced Algorithms: Transform and conquer
 
Lecture 09 -_davis_putnam
Lecture 09 -_davis_putnamLecture 09 -_davis_putnam
Lecture 09 -_davis_putnam
 
1004_theorem_proving_2018.pptx on the to
1004_theorem_proving_2018.pptx on the to1004_theorem_proving_2018.pptx on the to
1004_theorem_proving_2018.pptx on the to
 
Lec10
Lec10Lec10
Lec10
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Transforms
TransformsTransforms
Transforms
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
 
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...
Oscillation Criteria for First Order Nonlinear Neutral Delay Difference Equat...
 

More from Tianlu Wang

13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculusTianlu Wang
 
12 adversal search
12 adversal search12 adversal search
12 adversal searchTianlu Wang
 
11 alternative search
11 alternative search11 alternative search
11 alternative searchTianlu Wang
 
21 situation calculus
21 situation calculus21 situation calculus
21 situation calculusTianlu Wang
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learningTianlu Wang
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidenceTianlu Wang
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledgeTianlu Wang
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systemsTianlu Wang
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based systemTianlu Wang
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic searchTianlu Wang
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed searchTianlu Wang
 
05 state machine
05 state machine05 state machine
05 state machineTianlu Wang
 

More from Tianlu Wang (20)

L7 er2
L7 er2L7 er2
L7 er2
 
L8 design1
L8 design1L8 design1
L8 design1
 
L9 design2
L9 design2L9 design2
L9 design2
 
13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculus
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
 
11 alternative search
11 alternative search11 alternative search
11 alternative search
 
10 2 sum
10 2 sum10 2 sum
10 2 sum
 
22 planning
22 planning22 planning
22 planning
 
21 situation calculus
21 situation calculus21 situation calculus
21 situation calculus
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learning
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidence
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledge
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systems
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
15 predicate
15 predicate15 predicate
15 predicate
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic search
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed search
 
07 plan agent
07 plan agent07 plan agent
07 plan agent
 
06 robot vision
06 robot vision06 robot vision
06 robot vision
 
05 state machine
05 state machine05 state machine
05 state machine
 

Recently uploaded

Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 
sources of Hindu law kdaenflkjwwfererger
sources of Hindu law kdaenflkjwwferergersources of Hindu law kdaenflkjwwfererger
sources of Hindu law kdaenflkjwwferergerLakshayTewatia4
 
Storyboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingStoryboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingLyneSun
 
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknikppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknikAgustinus791932
 
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...Nitya salvi
 
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}Health
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..mvxpw22gfc
 
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理txkonu
 
THE ARTS OF THE PHILIPPINE BALLET PRESN
THE ARTS OF  THE PHILIPPINE BALLET PRESNTHE ARTS OF  THE PHILIPPINE BALLET PRESN
THE ARTS OF THE PHILIPPINE BALLET PRESNAlvinFerdinandAceCas
 
Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4wistariecz
 
HUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano CultureHUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano Culturekarinamercado2462
 
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...delhimunirka15
 
Headshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King PhotographyHeadshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King PhotographyJulie King Photography
 
Turn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk SceneTurn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk SceneLuca Vergano
 
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhi
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) DelhiWhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhi
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhidelhimunirka15
 
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证khuurq8kz
 
Ignite Your Brand: Tailored Creative Solutions Proposal
Ignite Your Brand: Tailored Creative Solutions ProposalIgnite Your Brand: Tailored Creative Solutions Proposal
Ignite Your Brand: Tailored Creative Solutions ProposalCreative Labs
 
Sui Generis Magazine volume one Kristen Murillo.pdf
Sui Generis Magazine volume one Kristen Murillo.pdfSui Generis Magazine volume one Kristen Murillo.pdf
Sui Generis Magazine volume one Kristen Murillo.pdfkristenmurillo218
 
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...Sheetaleventcompany
 
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxDanielRemache4
 

Recently uploaded (20)

Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
 
sources of Hindu law kdaenflkjwwfererger
sources of Hindu law kdaenflkjwwferergersources of Hindu law kdaenflkjwwfererger
sources of Hindu law kdaenflkjwwfererger
 
Storyboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingStoryboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to Sing
 
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknikppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
 
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
 
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}
+97470301568>> buy weed, thc oil,cbd oil, kush, hash in Doha qatar}}
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
 
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
 
THE ARTS OF THE PHILIPPINE BALLET PRESN
THE ARTS OF  THE PHILIPPINE BALLET PRESNTHE ARTS OF  THE PHILIPPINE BALLET PRESN
THE ARTS OF THE PHILIPPINE BALLET PRESN
 
Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4
 
HUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano CultureHUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano Culture
 
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
 
Headshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King PhotographyHeadshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King Photography
 
Turn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk SceneTurn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk Scene
 
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhi
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) DelhiWhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhi
WhatsApp-(# 9711106444 #)Call Girl in Noida Sector 80 Noida (Escorts) Delhi
 
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
 
Ignite Your Brand: Tailored Creative Solutions Proposal
Ignite Your Brand: Tailored Creative Solutions ProposalIgnite Your Brand: Tailored Creative Solutions Proposal
Ignite Your Brand: Tailored Creative Solutions Proposal
 
Sui Generis Magazine volume one Kristen Murillo.pdf
Sui Generis Magazine volume one Kristen Murillo.pdfSui Generis Magazine volume one Kristen Murillo.pdf
Sui Generis Magazine volume one Kristen Murillo.pdf
 
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
Call Girl In Chandigarh ☎ 08868886958✅ Just Genuine Call Call Girls Chandigar...
 
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
 

14 pro resolution

  • 1. Resolution in the Propositional Calculus Chapter 14.
  • 2. 2 Outline  A New Rule of Inference: Resolution  Converting Arbitrary wffs to Conjunctions of Clauses  Resolution Refutations  Resolution Refutation Search Strategies  Horn Clauses
  • 3. 3 14.1 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 },,{ RQP  RQP 
  • 4. 4 14.1.2 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 1}{  2}{  21  QRQPPR  and PPRR and
  • 5. 5 14.1.2 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. WSRQ PWQPSRQP   onwith RQWPRQP  and WRRP  WQQP  QQRR  and WP 
  • 6. 6 14.1.3 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. 1}{  2}{  21    2 1 2}{  1}{  1 2 21 
  • 7. 7 14.2 Converting Arbitrary wffs to Conjunctions of Clauses  Ex: 1. Equivalent Form Using ∨ 2. DeMorgan 3. Distributive Rule 4. Associative Rule  Usually expressed as )()( PRQP  )()( PRQP  )()( PRQP  )()( PRQPRP  )()( PRQRP  )}(),{( PRQRP 
  • 8. 8 Converting wffs to Conjunctions of Clauses )~(~)(~ )~(~ )~(~ )(~~~ ))(~(~ )( rspqsp rqsp srqp srqp srqp srqp       s)rq(p  Ex. Convert the following wffs to conjunctions of clauses prqp  ))((
  • 9. 9 14.3 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. RPRP   RP },{ RP
  • 10. 10 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.    
  • 11. 11 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.   
  • 12. 12 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)
  • 13. 13 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
  • 14. 14 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
  • 15. 15 14.5 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. RPR,QPQ,PP, 