Help needed with converting sentence to predicate logic

126 Views Asked by At

Say x represents real numbers and E(x) represent Even numbers and I(x) represents Integers.

How would you convert this sentence to predicate logic?
No even integers are odd

Here's my attempt, but I have a feeling it could be wrong
¬ ∀x ( E(x) ^ I(x) => ¬E(x) )

1

There are 1 best solutions below

0
On BEST ANSWER

Your sentence $\neg \forall x ( (E(x) \land I(x)) \rightarrow \neg E(x) )$ is saying that 'not all even integers are not even' ... which is the same as saying that 'some even integers are even'.

However, 'no even integers are odd' can be understood as 'all even integers are not odd', and so it should be:

$\forall x ( (E(x) \land I(x)) \rightarrow \neg E(x) )$