際際滷

際際滷Share a Scribd company logo
Resolution(Decision)
V. Saranya
AP/CSE
Sri Vidya College of Engineering &
Technology, Virudhunagar
 Conjunctive normal form
 Resolution inference rule
 Dealing with Equality
 Resolution strategies
 Completeness of resolution
 Theorem provers
1. Conjunctive Normal Form for FOL
x American(x)  Weapon(y)  sells(x,y,z) 
Hostile(z) => criminal(x)
CNF:
測 American (x)  測 Weapon(y)  測sells(x ,y, z) 
測 hostile(z)  criminal(x)
CNF converting Steps
1. Eliminate implication
2. Move 測 inwards
3. Standardize variables (use different variable)
4. Skolemize (remove existential quantifier)
5. Drop universal quantifiers
6. Distribute  and.
Converting to CNF
1. Replace implication (A  B) by A  B
2. Move  inwards
 x P(x) is equivalent to x P(x) & vice versa
3. Standardize variables
 x P(x)  x Q(x) becomes x P(x)  y Q(y)
4. Skolemize
 x P(x) becomes P(A)
5. Drop universal quantifiers
 Since all quantifiers are now , we dont need them
6. Distributive Law
2. Resolution Inference rule
 Binary resolution Rule: resolves exactly 2 literals
 Factoring: removal of redundant literals.
 Combination of binary rule & factoring is
Complete
 Ex:
 [animal(F(x)) v loves(G(x),x)] and (測 loves(u,v) v
測kills(u,v)]
 loves(G(x),x) and 測 loves(u,v)
  = { u/G(x), v/x}  Unifier
Example
 Everyone who loves all animal is loved by
someone. Anyone who kills an animal is
loved by no one.
 Nikki loves all animals
 Either nikki or zooro killed the cat, who is
named teena.
 Did zooro kill the cat?
3. Dealing with Equality
Axiomatize Equality:
 Reflexive: x x=x
 Symmetric: x,y x=y, y=x
 Transitive: x,y,z x=y  y=z => x=z
 Predicate name and function names are same
 x,y x=y => (P1(x) P1(y))
 Functional equality.
Additional inference rule
 Demodulation
 Para modulation
 Extended unification algorithm
4. Resolution strategies
 To tell proof in a efficient way
1. Unit Preference: ( prefer single literal)
 Evil v devil => ghost
 Devil => ghost
2. Set of support: (subset of sentences)
 Add relevant sentences.
3. Input resolution: combine one of the i/p sentences
with some other sentence.
4. Linear Resolution: complete
Ex: P and Q are 2 predicates. P should be in KB or P is an
ancestor of Q.
5. Subsumption: (elimination)
Resolution(decision)
 Convert everything to CNF
 Resolve, with unification
 If resolution is successful, proof succeeds
 If there was a variable in the item to prove, return
variables value from unification bindings
Resolution (Review)
 Resolution allows a complete inference mechanism (search-
based) using only one rule of inference
 Resolution rule:
 Given: P1  P2  P3  Pn, and P1  Q1  Qm
 Conclude: P2  P3  Pn  Q1  Qm
Complementary literals P1 and P1 cancel out
 To prove a proposition F by resolution,
 Start with F
 Resolve with a rule from the knowledge base (that contains F)
 Repeat until all propositions have been eliminated
 If this can be done, a contradiction has been derived and the original
proposition F must be true.
Propositional Resolution Example
 Rules
 Cold and precipitation -> snow
測cold  測precipitation  snow
 January -> cold
測January  cold
 Clouds -> precipitation
測clouds  precipitation
 Facts
 January, clouds
 Prove
 snow
Propositional Resolution Example
測snow 測cold  測precipitation  snow
測cold  測precipitation
測January  cold
測January  測precipitation 測clouds  precipitation
測January  測cloudsJanuary
測clouds clouds
Examples
Another Resolution Example

More Related Content

Viewers also liked (11)

Logic agent
Logic agentLogic agent
Logic agent
際際滷share
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
際際滷share
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
際際滷share
Statistical learning
Statistical learningStatistical learning
Statistical learning
際際滷share
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
際際滷share
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
際際滷share
Trigger
TriggerTrigger
Trigger
際際滷share
Logical reasoning
Logical reasoning Logical reasoning
Logical reasoning
際際滷share
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
際際滷share
OLAP
OLAPOLAP
OLAP
際際滷share
Neural networks
Neural networksNeural networks
Neural networks
際際滷share
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
際際滷share
Statistical learning
Statistical learningStatistical learning
Statistical learning
際際滷share
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
際際滷share
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
際際滷share
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
際際滷share

Similar to Resolution(decision) (20)

Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and Reasoning
Sagacious IT Solution
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptx
Guru Nanak Technical Institutions
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
fariyaPatel
Statistics-2 : Elements of Inference
Statistics-2 : Elements of InferenceStatistics-2 : Elements of Inference
Statistics-2 : Elements of Inference
Giridhar Chandrasekaran
chapter9.ppt
chapter9.pptchapter9.ppt
chapter9.ppt
Praveen Kumar
Theorem proving 2018 2019
Theorem proving 2018 2019Theorem proving 2018 2019
Theorem proving 2018 2019
Emmanuel Zarpas
Cs ps, sat, fol resolution strategies
Cs ps, sat, fol resolution strategiesCs ps, sat, fol resolution strategies
Cs ps, sat, fol resolution strategies
Yasir Khan
Theorem proving 2018 2019
Theorem proving 2018 2019Theorem proving 2018 2019
Theorem proving 2018 2019
Emmanuel Zarpas
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATHChapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
JessylyneSophia
Discrete structures & optimization unit 1
Discrete structures & optimization unit 1Discrete structures & optimization unit 1
Discrete structures & optimization unit 1
Dr. SURBHI SAROHA
firstorder_predicate_logic_resolution.ppt
firstorder_predicate_logic_resolution.pptfirstorder_predicate_logic_resolution.ppt
firstorder_predicate_logic_resolution.ppt
ssuserc108ce1
CSP UNIT 2 AIML.ppt
CSP UNIT 2 AIML.pptCSP UNIT 2 AIML.ppt
CSP UNIT 2 AIML.ppt
ssuser6e2b26
Backdoors to Satisfiability
Backdoors to SatisfiabilityBackdoors to Satisfiability
Backdoors to Satisfiability
msramanujan
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
baran19901990
Stat1008 Tutorial
Stat1008 TutorialStat1008 Tutorial
Stat1008 Tutorial
Jiabin Zhong
Theory of Computation Unit 1
Theory of Computation Unit 1Theory of Computation Unit 1
Theory of Computation Unit 1
Jena Catherine Bel D
PropositionalLogic.ppt
PropositionalLogic.pptPropositionalLogic.ppt
PropositionalLogic.ppt
MArunyNandinikkutty
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the next
seidnegash1
7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt
Abebe334138
514293682-53601-week-9-Discrete-Probability-Distributions.ppt
514293682-53601-week-9-Discrete-Probability-Distributions.ppt514293682-53601-week-9-Discrete-Probability-Distributions.ppt
514293682-53601-week-9-Discrete-Probability-Distributions.ppt
wajeeharamzan3
Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and Reasoning
Sagacious IT Solution
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptx
Guru Nanak Technical Institutions
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
fariyaPatel
Theorem proving 2018 2019
Theorem proving 2018 2019Theorem proving 2018 2019
Theorem proving 2018 2019
Emmanuel Zarpas
Cs ps, sat, fol resolution strategies
Cs ps, sat, fol resolution strategiesCs ps, sat, fol resolution strategies
Cs ps, sat, fol resolution strategies
Yasir Khan
Theorem proving 2018 2019
Theorem proving 2018 2019Theorem proving 2018 2019
Theorem proving 2018 2019
Emmanuel Zarpas
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATHChapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
JessylyneSophia
Discrete structures & optimization unit 1
Discrete structures & optimization unit 1Discrete structures & optimization unit 1
Discrete structures & optimization unit 1
Dr. SURBHI SAROHA
firstorder_predicate_logic_resolution.ppt
firstorder_predicate_logic_resolution.pptfirstorder_predicate_logic_resolution.ppt
firstorder_predicate_logic_resolution.ppt
ssuserc108ce1
CSP UNIT 2 AIML.ppt
CSP UNIT 2 AIML.pptCSP UNIT 2 AIML.ppt
CSP UNIT 2 AIML.ppt
ssuser6e2b26
Backdoors to Satisfiability
Backdoors to SatisfiabilityBackdoors to Satisfiability
Backdoors to Satisfiability
msramanujan
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
baran19901990
Stat1008 Tutorial
Stat1008 TutorialStat1008 Tutorial
Stat1008 Tutorial
Jiabin Zhong
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the next
seidnegash1
7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt
Abebe334138
514293682-53601-week-9-Discrete-Probability-Distributions.ppt
514293682-53601-week-9-Discrete-Probability-Distributions.ppt514293682-53601-week-9-Discrete-Probability-Distributions.ppt
514293682-53601-week-9-Discrete-Probability-Distributions.ppt
wajeeharamzan3

More from 際際滷share (13)

Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13
際際滷share
Statistical learning
Statistical learningStatistical learning
Statistical learning
際際滷share
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
際際滷share
Instance based learning
Instance based learningInstance based learning
Instance based learning
際際滷share
Input & output devices
Input & output devicesInput & output devices
Input & output devices
際際滷share
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
際際滷share
16 queens problem - trial 2
16 queens problem - trial 216 queens problem - trial 2
16 queens problem - trial 2
際際滷share
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing Unit
際際滷share
Cache performance considerations
Cache performance considerationsCache performance considerations
Cache performance considerations
際際滷share
Cachememory
CachememoryCachememory
Cachememory
際際滷share
Memory management
Memory managementMemory management
Memory management
際際滷share
Secondary storage devices
Secondary storage devices Secondary storage devices
Secondary storage devices
際際滷share
Magnetic tape system
Magnetic tape systemMagnetic tape system
Magnetic tape system
際際滷share
Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13
際際滷share
Statistical learning
Statistical learningStatistical learning
Statistical learning
際際滷share
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
際際滷share
Instance based learning
Instance based learningInstance based learning
Instance based learning
際際滷share
Input & output devices
Input & output devicesInput & output devices
Input & output devices
際際滷share
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
際際滷share
16 queens problem - trial 2
16 queens problem - trial 216 queens problem - trial 2
16 queens problem - trial 2
際際滷share
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing Unit
際際滷share
Cache performance considerations
Cache performance considerationsCache performance considerations
Cache performance considerations
際際滷share
Secondary storage devices
Secondary storage devices Secondary storage devices
Secondary storage devices
際際滷share
Magnetic tape system
Magnetic tape systemMagnetic tape system
Magnetic tape system
際際滷share

Recently uploaded (20)

EDL 290F Week 3 - Mountaintop Views (2025).pdf
EDL 290F Week 3  - Mountaintop Views (2025).pdfEDL 290F Week 3  - Mountaintop Views (2025).pdf
EDL 290F Week 3 - Mountaintop Views (2025).pdf
Liz Walsh-Trevino
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
Fuel part 1.pptx........................
Fuel part 1.pptx........................Fuel part 1.pptx........................
Fuel part 1.pptx........................
ksbhattadcm
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
Useful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷sUseful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷s
Celine George
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷sHow to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
Celine George
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptxTRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
PoojaSen20
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
The Broccoli Dog's inner voice (look A)
The Broccoli Dog's inner voice  (look A)The Broccoli Dog's inner voice  (look A)
The Broccoli Dog's inner voice (look A)
merasan
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, TuluThe Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
DrIArulAram
Essentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok SonawalaEssentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok Sonawala
Association for Project Management
EDL 290F Week 3 - Mountaintop Views (2025).pdf
EDL 290F Week 3  - Mountaintop Views (2025).pdfEDL 290F Week 3  - Mountaintop Views (2025).pdf
EDL 290F Week 3 - Mountaintop Views (2025).pdf
Liz Walsh-Trevino
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
Fuel part 1.pptx........................
Fuel part 1.pptx........................Fuel part 1.pptx........................
Fuel part 1.pptx........................
ksbhattadcm
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Useful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷sUseful environment methods in Odoo 18 - Odoo 際際滷s
Useful environment methods in Odoo 18 - Odoo 際際滷s
Celine George
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷sHow to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
Celine George
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptxTRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
PoojaSen20
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
The Broccoli Dog's inner voice (look A)
The Broccoli Dog's inner voice  (look A)The Broccoli Dog's inner voice  (look A)
The Broccoli Dog's inner voice (look A)
merasan
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, TuluThe Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
The Dravidian Languages: Tamil, Telugu, Kannada, Malayalam, Brahui, Kuvi, Tulu
DrIArulAram

Resolution(decision)

  • 1. Resolution(Decision) V. Saranya AP/CSE Sri Vidya College of Engineering & Technology, Virudhunagar
  • 2. Conjunctive normal form Resolution inference rule Dealing with Equality Resolution strategies Completeness of resolution Theorem provers
  • 3. 1. Conjunctive Normal Form for FOL x American(x) Weapon(y) sells(x,y,z) Hostile(z) => criminal(x) CNF: 測 American (x) 測 Weapon(y) 測sells(x ,y, z) 測 hostile(z) criminal(x)
  • 4. CNF converting Steps 1. Eliminate implication 2. Move 測 inwards 3. Standardize variables (use different variable) 4. Skolemize (remove existential quantifier) 5. Drop universal quantifiers 6. Distribute and.
  • 5. Converting to CNF 1. Replace implication (A B) by A B 2. Move inwards x P(x) is equivalent to x P(x) & vice versa 3. Standardize variables x P(x) x Q(x) becomes x P(x) y Q(y) 4. Skolemize x P(x) becomes P(A) 5. Drop universal quantifiers Since all quantifiers are now , we dont need them 6. Distributive Law
  • 6. 2. Resolution Inference rule Binary resolution Rule: resolves exactly 2 literals Factoring: removal of redundant literals. Combination of binary rule & factoring is Complete Ex: [animal(F(x)) v loves(G(x),x)] and (測 loves(u,v) v 測kills(u,v)] loves(G(x),x) and 測 loves(u,v) = { u/G(x), v/x} Unifier
  • 7. Example Everyone who loves all animal is loved by someone. Anyone who kills an animal is loved by no one. Nikki loves all animals Either nikki or zooro killed the cat, who is named teena. Did zooro kill the cat?
  • 8. 3. Dealing with Equality Axiomatize Equality: Reflexive: x x=x Symmetric: x,y x=y, y=x Transitive: x,y,z x=y y=z => x=z Predicate name and function names are same x,y x=y => (P1(x) P1(y)) Functional equality.
  • 9. Additional inference rule Demodulation Para modulation Extended unification algorithm
  • 10. 4. Resolution strategies To tell proof in a efficient way 1. Unit Preference: ( prefer single literal) Evil v devil => ghost Devil => ghost 2. Set of support: (subset of sentences) Add relevant sentences. 3. Input resolution: combine one of the i/p sentences with some other sentence. 4. Linear Resolution: complete Ex: P and Q are 2 predicates. P should be in KB or P is an ancestor of Q. 5. Subsumption: (elimination)
  • 11. Resolution(decision) Convert everything to CNF Resolve, with unification If resolution is successful, proof succeeds If there was a variable in the item to prove, return variables value from unification bindings
  • 12. Resolution (Review) Resolution allows a complete inference mechanism (search- based) using only one rule of inference Resolution rule: Given: P1 P2 P3 Pn, and P1 Q1 Qm Conclude: P2 P3 Pn Q1 Qm Complementary literals P1 and P1 cancel out To prove a proposition F by resolution, Start with F Resolve with a rule from the knowledge base (that contains F) Repeat until all propositions have been eliminated If this can be done, a contradiction has been derived and the original proposition F must be true.
  • 13. Propositional Resolution Example Rules Cold and precipitation -> snow 測cold 測precipitation snow January -> cold 測January cold Clouds -> precipitation 測clouds precipitation Facts January, clouds Prove snow
  • 14. Propositional Resolution Example 測snow 測cold 測precipitation snow 測cold 測precipitation 測January cold 測January 測precipitation 測clouds precipitation 測January 測cloudsJanuary 測clouds clouds