I have the following question:
$P(x) \iff ∃y∃z : \text{times}(y,z) = x \land (\neg (y=1) \land \neg (z=1))$
$\text{times}$ is the multiplication function
The world is a world of natural numbers
Question: Whats the meaning of predicate $P$ above?
Answer: $x$ is a composite number (not prime and not equal to $1$)
I'm new to this, and I tried really hard to understand the question, however I can't get it. Whats the steps/way to solve a question like this?
Thanks
You have to "unwind" the formula :
The "universe" is the set $\mathbb N$ of natural numbers; thus $P(n)$ holds exactly when the RHS is satisfied by $n$.
This amount to : $n=\times(y,z)∧(¬(y=1)∧¬(z=1))$ for some $y$ and some $z$ in the universe, i.e. :
Now it is quite easy to "see" that $P(n)$ holds exactly when $n$ is a composite number, i.e. it is not a prime, because it is expressible as the product of two numbers both different from $1$.