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.
Obviously, $x > 1$ is a power of 2 iff (A): every $y > 1$ which divides $x$ is itself divisible by 2.
Use the fact that factors of a number are less than it to bound the quantifiers in formalizing statement (A), and you'll get a $\Delta_0$ wff.
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:
$x=2^k$ if and only if $x\neq 0$ and for every $p<x$, if $p$ is prime and $p\mid x$ then $p=2$.
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$.