Prove that for all $a,\,b\in\Bbb{N}$, $a\mid b$ if and only if $b\Bbb{Z}\subseteq a\Bbb{Z}$.
Answer: = Since $a|b$ $\implies b=ax$ for some $x \in\Bbb{Z} \implies b=ax\in a\Bbb{Z}$
Therefore, $b\in b\Bbb{Z} \implies b\in a\Bbb{Z}$ thus $b\Bbb{Z} \subseteq a\Bbb{Z}$.
Conversely,
Suppose $b\Bbb{Z} \subseteq a\Bbb{Z}$ then in order to show $a|b$ let $x \in b\Bbb{Z} \implies x=b\cdot y$ for some $y\in \Bbb{Z}$ ; at $y=1$ you have $x=b\in a\Bbb{Z} \implies a\cdot k$ for some $k\in \Bbb{Z} \implies a|b.$
So because $b\in a\Bbb{Z}$, there exists $x\in \Bbb{Z}$ such that $b=ax$ thus meaning that $a|b$.
Is my answer all correct? Thanks!
You write
This is false; it should be $b=ax$ for some $x\in\Bbb{Z}$.
Next you write
This the wrong way around; because $xy\in\Bbb{Z}$ you have $p\in a\Bbb{Z}$.
You write
This is a pointless tautology.
The remainder of the proof makes no sense. In stead, argue that because $b\in a\Bbb{Z}$, there exists $x\in\Bbb{Z}$ such that $b=ax$. This means precisely that $a\mid b$.