How does White survive in this corner?
To answer the original question: White's corner is unconditionally dead, it cannot be rescued even with White playing first. The points P1 and R1 are miai, when White takes one of them Black takes the other.

In the actual game White uses the aji left in the corner for some Ko threats, that's all White can get out of the local situation.