In studying the Incompleteness Theorems, there's an axiom that I'm trying to look into to extract a formula. Say that we are given $PA$ $\vdash$ $\forall x_1 \forall x_2 \forall x_3((x_1+x_2)+x_3=x_1+(x_2+x_3))$, find a formula which is needed to prove it in PA.
All help is greatly appreciated. Thanks for looking!
In order to prove :
we have to use induction on $x_3$, i.e. to use as $P(n)$ the formula:
The suitable instance of the axiom schema will be:
Base step :
We can use : $b+0=b$ and by subst for equality: $a+(b+0)=a+b$.
Then $a+(b+0)=(a+b)+0$ and re-arranging it by properties of equality.
Finally, we have to "generalize" it to get :