Comp Sci How to learn resolution in predicate logic?

AI Thread Summary
Learning resolution in predicate logic can be challenging, especially since it carries significant weight in exams. The discussion emphasizes the importance of understanding the relationships between statements, such as proving that John likes peanuts by establishing that peanuts qualify as food. Key points include recognizing that if someone eats something and survives, it is classified as food, which helps in constructing logical proofs. Participants are encouraged to practice with various examples and share more complex problems for collaborative problem-solving. Engaging with these exercises is crucial for mastering the topic and performing well in exams.
shivajikobardan
Messages
637
Reaction score
54
Homework Statement
resolution refutation in predicate logic
Relevant Equations
resolution refutation method etc.
This is not really a homework question so don't bother answering them. It is more of a guidance problem. This is what I find the hardest out of all topics.. Unfortunately, this topic is a fixed 10 marks question in our 80 marks exam. Comes every time.

The types of questions that I need to deal with my exams are like this-:
john likes all kinds of food.
apples are food
chicken is food
anything anyone eats and isn't killed by is food
bill eats peanuts and is still alive.
sue eats everything bill eats.
prove that john like peanuts using resolution.
 
Physics news on Phys.org
Here are the steps towards solving problems like this:
  • We need to prove that John likes peanuts.
  • What do we know about John?
    • John likes all kinds of food.
  • So if we can prove that peanuts are food we are done.
  • What do we know about peanuts?
    • Bill eats peanuts and is still alive.
  • What do we know when someone eats something and is still alive?
    • Anything anyone eats and isn't killed by is food.
Put that together using whatever notation your course demands. Why don't you post a more complicated example and work through it until you get stuck?
 
  • Informative
Likes shivajikobardan
pbuk said:
Here are the steps towards solving problems like this:
  • We need to prove that John likes peanuts.
  • What do we know about John?
    • John likes all kinds of food.
  • So if we can prove that peanuts are food we are done.
  • What do we know about peanuts?
    • Bill eats peanuts and is still alive.
  • What do we know when someone eats something and is still alive?
    • Anything anyone eats and isn't killed by is food.
Put that together using whatever notation your course demands. Why don't you post a more complicated example and work through it until you get stuck?
thanks bro. i am solving tons of examples first. will post complicated example soon.
 

Similar threads

Replies
1
Views
1K
Replies
2
Views
469
Replies
36
Views
9K
Replies
25
Views
8K
Replies
5
Views
4K
Replies
7
Views
3K
Replies
7
Views
4K
Back
Top