SlideShare a Scribd company logo
2
Most read
3
Most read
14
Most read
Monkey & Banana Problem
Submitted To:-
Lect. Jagdeep Singh Gill
DBIMCS
Submitted By:-
Manjeet Rani
RollNo.-54
Divya Kumari
RollNo.-121
• A hungry monkey is in a room.
• Bananas have been hung from
the center of the ceiling of the
room.
• In the corner of the room there is
a chair.
• The monkey wants the bananas
but he can’t reach them.
• What shall he do?
If the monkey is cleaver enough, he can reach the
bananas by placing the chair directly below the
bananas and climbing on the top of the chair.
Relevant factors for the
problem
• Constants
{floor, chair, bananas, monkey}
• Variables
{x,y,z}
• Predicates
1. IN_ROOM(x)
2. CAN_REACH(x,y)
3. CAN_CLIMB(x,y)
4. CAN_MOVE(x,y,z)
5. DEXTEROUS(x)
6. TALL(x)
7. UNDER(x,y)
8. GET_ON(x,y)
9. CLOSE(x,y)
Axioms/Assertions/Given
Statements
1. IN_ROOM(monkey)
2. IN_ROOM(chair)
3. IN_ROOM(banana)
4. DEXTEROUS(monkey)
5. TALL(chair)
6. CAN_CLIMB(monkey,chair)
7. CAN_MOVE(monkey,chair,banana)
8. ~CLOSE(banana,floor)
9. DEXTEROUS(x) & CLOSE(x,y) -> CAN_REACH(x,y)
10. GET_ON(x,y) & UNDER(y,banana) & TALL(Y) ->
CLOSE(x,banana)
11. IN_ROOM(x) & IN_ROOM(y) & IN_ROOM(z) &
CAN_MOVE(x,y,z) -> CLOSE(z,floor) V UNDER(Y,Z)
12. CAN_CLIMB(x,y) -> GET_ON(x,y)
Clausal Form
1. IN_ROOM(monkey)
2. IN_ROOM(chair)
3. IN_ROOM(banana)
4. DEXTEROUS(monkey)
5. TALL(chair)
6. CAN_CLIMB(monkey,chair)
7. CAN_MOVE(monkey,chair,banana)
8. ~CLOSE(banana,floor)
9. ~DEXTEROUS(x) V ~CLOSE(x,y) V CAN_REACH(x,y)
10. ~ GET_ON(x,y) V ~UNDER(y,banana) V ~TALL(Y) V
CLOSE(x,banana)
11. ~IN_ROOM(x) V ~IN_ROOM(y) V ~IN_ROOM(z) V
~CAN_MOVE(x,y,z) V CLOSE(z,floor) V UNDER(Y,Z)
12. ~CAN_CLIMB(x,y) V GET_ON(x,y)
13. ~CAN_REACH(monkey,banana)
Resolvents
14.~CAN_MOVE(monkey,chair,banana) V
CLOSE(banana,floor) V UNDER(chair,banana)
Resolvent of 1,2,3,& 11.
β={monkey/x,chair/y,banana/z}
15.CLOSE(banana,floor) V UNDER(chair,banana)
Resolvent of 7 & 14.
16.UNDER(chair,banana)
Resolvent of 8 &15.
17.~GET_ON(x,chair) V ~TALL(chair) V
CLOSE(x,banana)
Resolvent of 10 & 16.
β={chair/y}
18.~GET_ON(x,chair) V CLOSE(x,banana)
Resolvent of 5 & 17.
19. GET_ON(monkey,chair)
Resolvent of 6 & 12.
20. CLOSE(monkey,banana)
Resolvent of 18 & 19.
β={monkey/x}
21.~CLOSE(monkey,y) V CAN_REACH(monkey,y)
Resolvent of 4 & 9.
β={monkey,x}
22.CAN_REACH(monkey,banana)
Resolvent of 20 & 21.
β={banana/y}
23.[]
Resolvent of 13 & 22.
Resolution Proof
• CAN_REACH(monkey, banana)
Monkey & banana problem in AI

More Related Content

PPTX
Lecture 15 monkey banana problem
PPTX
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
PPTX
First order logic
PPT
AI Lecture 4 (informed search and exploration)
PDF
Stuart russell and peter norvig artificial intelligence - a modern approach...
PPTX
State space search and Problem Solving techniques
PPTX
Resolution method in AI.pptx
PPT
Solving problems by searching
Lecture 15 monkey banana problem
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
First order logic
AI Lecture 4 (informed search and exploration)
Stuart russell and peter norvig artificial intelligence - a modern approach...
State space search and Problem Solving techniques
Resolution method in AI.pptx
Solving problems by searching

What's hot (20)

PPTX
Water jug problem ai part 6
PPTX
The n Queen Problem
PPTX
Minmax Algorithm In Artificial Intelligence slides
PPT
predicate logic example
PPTX
Control Strategies in AI
DOCX
Levels of Virtualization.docx
PDF
I. AO* SEARCH ALGORITHM
PDF
Artificial Intelligence Notes Unit 2
PPTX
Pumping lemma Theory Of Automata
PDF
Computer Network notes (handwritten) UNIT 1
PPTX
Register allocation and assignment
PPT
Heuristic Search Techniques {Artificial Intelligence}
PPTX
Learning by analogy
PDF
Vc dimension in Machine Learning
PPTX
Forward and Backward chaining in AI
PPTX
04 Multi-layer Feedforward Networks
PPT
5.1 greedy
PDF
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
PPTX
8 queens problem using back tracking
PDF
CS8691 - Artificial Intelligence.pdf
Water jug problem ai part 6
The n Queen Problem
Minmax Algorithm In Artificial Intelligence slides
predicate logic example
Control Strategies in AI
Levels of Virtualization.docx
I. AO* SEARCH ALGORITHM
Artificial Intelligence Notes Unit 2
Pumping lemma Theory Of Automata
Computer Network notes (handwritten) UNIT 1
Register allocation and assignment
Heuristic Search Techniques {Artificial Intelligence}
Learning by analogy
Vc dimension in Machine Learning
Forward and Backward chaining in AI
04 Multi-layer Feedforward Networks
5.1 greedy
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
8 queens problem using back tracking
CS8691 - Artificial Intelligence.pdf
Ad

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Pre independence Education in Inndia.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Institutional Correction lecture only . . .
PDF
Classroom Observation Tools for Teachers
PDF
Microbial disease of the cardiovascular and lymphatic systems
01-Introduction-to-Information-Management.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Sports Quiz easy sports quiz sports quiz
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Computing-Curriculum for Schools in Ghana
Abdominal Access Techniques with Prof. Dr. R K Mishra
Module 4: Burden of Disease Tutorial Slides S2 2025
102 student loan defaulters named and shamed – Is someone you know on the list?
O7-L3 Supply Chain Operations - ICLT Program
Pre independence Education in Inndia.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Complications of Minimal Access Surgery at WLH
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
Institutional Correction lecture only . . .
Classroom Observation Tools for Teachers
Microbial disease of the cardiovascular and lymphatic systems
Ad

Monkey & banana problem in AI