Comment by btilly
For every n, the function will return a function, that PA proves has a proof in PA.
Suppose that we're in a nonstandard model. For all standard n, there really will be a proof. For nonstandard n, there may or may not actually be a proof.
And so PA cannot prove from the fact that it proved the existence of a proof, that PA actually proves it.
That is very different though. You are now saying that for all n, PA proves that it has a proof the Goodstein sequence terminates for that n. But that is very different from the earlier claim:
"And, therefore, there must be a distinction to be made between "PA proves" and "PA proves that it proves"."
It seems that for each standard n, PA proves that the Goodstein sequence terminates for that n. If also proves that it proves that the Goodstein sequence terminates for all n, and so on. But this is very different from saying "PA proves that it proves the sentence 'for all n, the corresponding Goodstein sequence terminates,'" which is what I thought you were saying.