She expected that he would be here before her arrival but he didnt do so., do so...

Questão de Inglês da banca CESPE CEBRASPE aplicada no concurso EBC (2011). Confira a resolução completa abaixo:

In the sentence

She expected that he would be here before her arrival but he didnt do so., do so refers to be here before her arrival.