Convert sentences to first-order logic

in first order logic, I know the rules. However, when I convert some sentences to FOL, I get errors, I read a lot of books and manuals, do you have any tricks that can help me,

some examples when i make mistakes

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)))

Change # 2: The 2nd type of mistake I make: Turtles rolling 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 this book, but are there any problems with my version !!

+3
source share
3 answers

WITH

βˆƒx βˆ€y [C (x) ∧ F (y) ∧ Eat (x, y)]

, βˆ€y F (y), .. . ( " x , y, y " .) , : c ,

βˆ€y [C (c) ∧ F (y) ∧ Eat (c, y)]

y , , c,

C (c) ∧ F (c) ∧ Eat (c, c)

.

βˆ€x βˆ€y [ (x) ∧ (y) ∧ (x, y)]

,

βˆ€x (x) ∧ βˆ€y Rabbit (y) ∧ βˆ€x βˆ€y Outlasts (x, y)

I.e., , , , .

β†’, , y, , , , , , . " Xs Ys" " X Y".

+3

, ( ) , FOL , . . :

βˆ€ x (man(x) β‡’ ...)

- , , . , FOL . . /

Turtles outlast Rabbits.

:

  • .
  • , .
  • , .
  • .
  • ...

Btw, - APE, FOL , , , . , , FOL, , .

+2

You did not check if it was the yfirst. Given your statement, let them abe children, i.e. C(a)truly. Then (βˆƒx)(βˆ€y) C(x) ∧ Eat(x,y)follows (βˆƒx) C(x) ∧ Eat(x,a). In other words, you are claiming that some children will eat anything, not just food.

+1
source

All Articles