Breakdown of Después de haber mirado el mapa, encontramos la farmacia sin problema.
Questions & Answers about Después de haber mirado el mapa, encontramos la farmacia sin problema.
Both are possible.
- después de mirar el mapa = after looking at the map
- después de haber mirado el mapa = after having looked at the map
The version with haber + past participle makes it extra clear that the action of looking at the map was completed before the next action happened. In practice, both are natural, but haber mirado sounds a bit more explicit about the sequence.
It is the perfect infinitive.
It is formed like this:
- haber + past participle
- haber mirado = to have looked / having looked
So in después de haber mirado, the phrase means after having looked. Even though mirado is a participle, the whole structure acts like a non-finite verb phrase.
Because after the preposition de, Spanish normally uses an infinitive, not a gerund.
So:
- correct: después de haber mirado
- not correct here: después de habiendo mirado
Habiendo mirado can exist in Spanish, but not after después de in this structure.