I can write $x$ is a power of $2$ as: $$(\forall p)(1 < p \wedge (\exists z) x =p\times z \implies (\exists k) k+k = p)$$ but if I wanted to write $x = 2^y$ for some positive integer $y$ would this be the same as the above? There is no mention of $y$ in the above but it seems like $x$ is a power of $2$ and $x = 2^y$ are equivalent statements so there should be no need to change the above.
$1)$ I think it is necessary to change the above in the second case but why?
$2)$ What should it be changed to in the $x= 2^y$ case?
$$(\exists y)(x=2^y)$$
but the equivalence is non-trivial. You can't just replace one part of your statement to change into the one I wrote, but it is possible to prove the equivalence of the two statements.
– 5xum Oct 05 '17 at 07:50