0
11kviews
Write first order logic statements for following statements:

Write first-order logic statements for following statements:

(i) If a perfect square is divisible by a prime p then it is also divisible by square of p.

(ii) Every perfect square is divisible by some prime.

(iii) Alice does not like Chemistry and History.

(iv) If it is Saturday and warm, then San is in the park.

(v) Anything anyone eats and is not killed by is food.
1 Answer
1
1.1kviews

(i) If a perfect square is divisible by a prime p then it is also divisible by square of p.

FOL : x [p (PerfectSquare(x) ^ Divisible(x,p)) ⇒ Divisible(x,p2)] // Prime ‘p’, Number ‘x’

(ii) Every perfect square is divisible by some prime.

FOL : x [p (PerfectSquare(x) ⇒ Divisible(x,p) …

Create a free account to keep reading this post.

and 5 others joined a min ago.

1

in 3rd statement u forgot to add not symbol


Please log in to add an answer.