The abstract form of Gödel's second incompleteness theorem states that if is a provability predicate in a consistent, axiomatizable theory then for a disprovable .
On the other hand, Löb's theorem says that in the same conditions and for every sentence , if , then .
It is easy to see how GII follows from Löb's. Just take to be , and since (by definition of ), Löb's theorem tells that if then . Since we assumed to be consistent, then the consequent is false, so we conclude that .
The rest of this article exposes how to deduce Löb's theorem from GII.
Suppose that .
Then .
Which means that .
From Gödel's second incompleteness theorem, that means that is inconsistent, since it proves for a disprovable .
Since was consistent before we introduced as an axiom, then that means that is actually a consequence of . By completeness, that means that we should be able to prove from 's axioms, so and the proof is done.