- 2071 Bhadra · 8 marks
Resolution: cup supports book
Short answer
Convert to FOPL clauses, negate goal ¬Supports(Book,Cup). Resolve with C1: ¬OnTop(Cup,Book); with C2: ¬Above(Cup,Book) ∨ ¬Touching(Cup,Book); with C3: ¬Touching(Cup,Book); with C4: empty clause. Contradiction proves Supports(Book,Cup) true.
If X is on the top of Y, Y supports X. If X is above Y and they are touching each other, X is on the top of Y. A cup is above a book. A cup is touching a book. Show that supports (book, cup) is true.
Step 1: Statements in FOPL
Predicates: OnTop(x,y), Supports(x,y) = x supports y, Above(x,y), Touching(x,y).
- ∀x ∀y OnTop(x, y) → Supports(y, x)
- ∀x ∀y [Above(x, y) ∧ Touching(x, y)] → OnTop(x, y)
- Above(Cup, Book)
- Touching(Cup, Book)
Goal: Supports(Book, Cup)
Step 2: Clauses
| No. | Clause |
|---|---|
| C1 | ¬OnTop(x, y) ∨ Supports(y, x) |
| C2 | ¬Above(x, y) ∨ ¬Touching(x, y) ∨ OnTop(x, y) |
| C3 | Above(Cup, Book) |
| C4 | Touching(Cup, Book) |
Step 3: Negated goal
C5: ¬Supports(Book, Cup)
Step 4: Resolution
| Step | Resolve | Substitution | Resolvent |
|---|---|---|---|
| 1 | C5 and C1 | y/Book, x/Cup | R1: ¬OnTop(Cup, Book) |
| 2 | R1 and C2 | x/Cup, y/Book | R2: ¬Above(Cup, Book) ∨ ¬Touching(Cup, Book) |
| 3 | R2 and C3 | R3: ¬Touching(Cup, Book) | |
| 4 | R3 and C4 | R4: empty clause (□) |
¬Supports(Book,Cup) + C1 -> ¬OnTop(Cup,Book)
+ C2 -> ¬Above(Cup,Book) ∨ ¬Touching(Cup,Book)
+ C3 -> ¬Touching(Cup,Book)
+ C4 -> □
The empty clause is obtained, so the assumption is false. Hence Supports(Book, Cup) is true.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Resolution: Marcus and Caesar · Artificial Intelligence, chapter 4
- Resolution: Mary loves John · Artificial Intelligence, chapter 4
- Normal: 2000 students above 60%, top 100 · Probability and Statistics, chapter 3
- Book store process model · Software Engineering, chapter 2
- Tunnelling methods and supports · Hydropower Engineering, chapter 6
- Level book TBM1 to TBM2 (4th, 7th) · Surveying I, chapter 5 · asked 4×