I am working through Mathematical Logic by Chiswell and Hodges and am stuck on pages 24-26 (Section 2.6 - Arguments using 'not'). This section starts off by stating that "If $\phi$ is a statement, we write $(\lnot \phi)$ for the statement expressing that $\phi$ is not true". A few sentences later, while explaining how $\lnot$ is used in arguments and introducing the new notion of $\bot$ , the text says, "In derivations we shall treat $(\lnot \phi)$ exactly as if it was written $(\phi \to \bot)$.
1.) Based on the above, I am taking $(\phi \to \bot)$ to be the definition of $(\lnot \phi)$. Is this correct? The authors do not seem to state this explicitly, instead choosing to only say that $(\lnot \phi)$ behaves like $(\phi \to \bot)$; this makes me think I might be missing something.
If my current understanding IS correct, then all is well (that is, the text goes on to introduce the natural deduction rules $(\lnot E)$ and $(\lnot I)$, which I think make sense) until I reach Example 2.6.2, which is a proof of the statement "There are infinitely many prime numbers" that is given in order to motivate the next natural deduction rule, reductio ad absurdum (RAA).
The proof starts out as follows:
Theorem: There are infinitely many prime numbers.
Proof: Assume not. Then there are only finitely many prime numbers $p_1,...,p_n$ (and then the proof goes on...)
2.) Again, taking $(\phi \to \bot)$ to be the definition of $\lnot \phi$, I am confused about how this proof can conclude from "Assume not" that "Then there are only finitely many prime numbers $p_1,...,p_n$". In the case of this proof, if $\phi$ is the statement "There are infinitely many prime numbers", then it seems like the proof is saying that $(\lnot \phi)$ is "there are only finitely many prime numbers", but I am not sure why that is the case; it would seem to me that $(\lnot \phi)$ would instead just have to be "if there are infinitely many prime numbers, then absurdity", and I don't know how the proof would then proceed.