Consider the formal system $GLS$, whose axioms are the theorems of $GL$ plus all sentences of the form $\square A\rightarrow A$.
A translation maps a sentence of modal logic to a sentence in the language of Peano Arithmetic where $\square$ is interpreted a a provability predicate.
It is well-known result that the translations of the theorems of $GLS$ are true, in the sense that they are true in the standard model of arithmetic.
However, the proof is laid on the grounds that $Bew(\ulcorner A\urcorner)\rightarrow A$ is always true for every closed sentence $A$.
But if that was the case, then I could add all such sentences as axioms to $PA$ and end up with a consistent system, since at least the standard model satisfies it.
But Löb's theorem tells us that such a system cannot possibly be consistent, suggesting that then the theorems of $GLS$ are not always true. I particular, it seems that $Bew(\ulcorner A\urcorner)\rightarrow A$ is true iff $A$ is true.
Where is the flaw in my reasoning? Am I misunderstanding something?
A formalization of how my argument goes.
Let $PA'$ stand for $PA$ plus all axioms of the form $Bew_{PA}(A)\rightarrow A$.
Let $A$ be any sentence. Then as $PA$ extends minimal arithmetic, the diagonal lemma applies, so for every formula with one free variable $\psi(x)$ we can find a sentence $B$ such that $PA\vdash B\iff \psi(\ulcorner A\urcorner)$.
Consider $\psi(x) = Bew_{PA}(x)\rightarrow A$. Then there exists $S$ such that:
$$ PA\vdash S\iff Bew_{PA}(S)\rightarrow A $$
Then by normality we have that: $$ PA\vdash Bew_{PA}(S)\rightarrow( Bew_{PA}(Bew_{PA}(S))\rightarrow Bew_{PA}(A)) $$ As we have also that: $$ PA\vdash Bew_{PA}(S)\rightarrow Bew_{PA}(Bew_{PA}(S)) $$ Then: $$ PA\vdash Bew_{PA}(S)\rightarrow Bew_{PA}(A) $$
Now, as $PA'$ extends $PA$, then we also have that: $$ PA'\vdash Bew_{PA}(S)\rightarrow Bew_{PA}(A) $$
The new axioms we have added state that: $$ PA'\vdash Bew_{PA}(A)\rightarrow A $$ Therefore: $$ PA'\vdash Bew_{PA}(S)\rightarrow A $$ But then by the very definition of $S$ we have that: $$ PA'\vdash S $$ By necessitation: $$ PA'\vdash Bew_{PA}(S) $$ And thus by modus ponens we conclude finally that: $$ PA'\vdash A $$ Since $A$ was arbitrary, it could have been $0\ne 1$. So $PA'$ is inconsistent, even though the axioms we added are true. What is going on?