in first order logic, i know the rules. However, whenever i convert some sentences into FOL, i get errors, I read many books and tutorials, do u have any tricks that can help me out,
some examples where i makes errors
Some children will eat any food
C(x) means “x is a child.”
F(x) means “x is food.”
Eat(x,y) x eats y
I would have written like this:
(∃x)(∀y) C(x) ∧ Eat(x,y)
edit: (∃x)(∀y) C(x) ∧ F(y) ∧ Eat(x,y)
But the book write it like this
(∃x)(C(x) ∧ (∀y)(F(y)→Eat(x,y)))
Edit No2: 2nd Type of error i'm making: Turtles outlast Rabbits.
i'm writing it like this: ∀x,y Turtle(x) ∧ Rabbit(y) ∧ Outlast(x,y)
but according to the book ∀x,y Turtle(x) ∧ Rabbit(y) --> Outlast(x,y)
Of course, I agree with the book, but is there any problem with my version !!