Question in short: Where do I find a complete proof of Theorem V from Gödels incompleteness proof? If it does not exists, can someone provide it?
Question in detail:
I am trying to understand Gödels incompleteness proof, by reading the following translation here. I was able to follow the proof until the bottom of page 13, where he states Theorem V.
I tried to proof Theorem V for a constant primitive recursive function $\phi(\nu) = c$, then one only has to show that $$ y = \phi(\nu) \Rightarrow \quad \vdash \varphi(\overline{y},\overline{\nu}) $$ $$ y \neq \phi(\nu) \Rightarrow \quad \vdash \neg \varphi(\overline{y},\overline{\nu}) $$ where for $n \in \mathbb{N}$ we define $$\overline{n}= \underbrace{f\cdots f}_{\text{n times}} 0,$$ and $$\varphi(y_1,x_1) := (y_1 = \overline{c}), $$ where '=' is a metasymbol for $$ x_i = y_i :\Leftrightarrow \forall z_{i+1} (z_{i+1}(x_i) \rightarrow z_{i+1}(y_i) $$
I can proof within PA that it holds $$ \vdash \sigma_i = \sigma_i$$ for any variable of typ $i \in \mathbb{N}$. To be more precise, from axiom II it follows $p \Rightarrow p$. Therefore, it holds $$ \begin{align}\vdash & z_{i+1}(\sigma_i) \Rightarrow z_{i+1}(\sigma_i) \\ \vdash& \forall z_{i+1}( z_{i+1}(\sigma_i) \Rightarrow z_{i+1}(\sigma_i)) \end{align}$$ Now, if $y =\phi(\nu) =c$, then $\overline{y}$ and $\overline{c}$ denote the same sign of type one. Therefore, one can prove that $$ \vdash \overline{y} = \overline{c}.$$
However, I already struggle to prove that if $y \neq c$ that then $$\vdash \neg( \overline{y} = \overline{c}).$$
How do I prove that? Does anyone know a source where the complete detailed proof of Theorem V is given?
Also, if I understood it correctly, then the prove for $$ y \neq \phi(\nu) \Rightarrow \quad \vdash \neg \varphi(\overline{y},\overline{\nu}) $$ can only be shown with metamathematic and it does not derive from some formal PA system, right?
For a modern exposition, see Elliott Mendelson, Introduction to mathematical logic (4ed - 1997), Ch.3.2 NUMBER-THEORETIC FUNCTIONS AND RELATIONS :
After this definition there is a long list of number-theoretic relations (and functions) which are showed to be representable.
All these results are achieved proving that the system $S$ (usual Robinson arithmetic) has "enough expressive capabilities".
See e.g. Mendelson, PROPOSITION 3.6(a) :
These results are metamathematical : they show that for every $m,n$ there is a formal derivation in $S$ of the corresponding formula. But their proof is constructive : it shows a formal derivation is $S$ of the required formula.