How can we show that $x=2^k$ for some $k$ is equivalent (in the Naturals) to a $\Delta_0$ formula?
So, I'm stuck at showing that 'y divides x' and '2 divides y' are equivalent in the Naturals to $\Delta_0$ formulas.
How can we show that $x=2^k$ for some $k$ is equivalent (in the Naturals) to a $\Delta_0$ formula?
So, I'm stuck at showing that 'y divides x' and '2 divides y' are equivalent in the Naturals to $\Delta_0$ formulas.
If $x=2^k$ then every prime number which divides $x$ has to be $2$. Of course that saying "every prime number" is an unbounded assertion, but luckily no prime number which is larger than $x$ can divide $x$, so we can instead write it as follows:
Now we need to verify that "$k$ is a prime number" and $k\mid n$ are both bounded statement, but that's not very hard:
So now to combine everything together we have as follows:
$$x=2^k\iff\lnot(x=0)\land\forall p<x:p\text{ is prime}\land p\mid x\rightarrow p=s(s(0)).$$
There is one quantifier which is bounded, over two formulas containing only bounded quantifiers themselves. Therefore the whole statement is bounded, that is to say $\Delta_0$.