Analyze the logical forms of the following statements:
x and y are natural numbers, and exactly one of them is prime.
Below are the two answers that I got. The first one is the one the author provides to me in his book. The second one is the answer that I got.
N(x) ∧ N(y) ∧ [(P(x)∧¬P(y)) ∨ (P(y)∧¬P(x))], where N(x)
means “x is a natural number” and P(x) means “x is prime.”
N(x) ^ N(y) ^ (P(x) v P(y)),
where N(x) and N(y) means x are natural numbers and P(x) or P(y) means x or y are a prime number.
The issue that I have is that in his answer he states that x is a natural number and p(x) is a prime number but in no way does he ever mention anything about p(y) like I do.
Notice the bold statements in each.
The difference between your answer and what "he" says is that he claims exactly one is prime and in yours both can be primes.