Name and why it is called so
The surah takes its name from its first verse, "Alam nashrah laka sadrak" (Have We not opened your chest for you?). Because of this verse it is also called Surah Ash-Sharh and Surah Al-Inshirah. Opening the chest means that Allah filled the heart of the Prophet ﷺ with guidance, knowledge, wisdom and the courage to bear the hardships of calling people to Islam.
Time of revelation and background
This surah was revealed in Mecca, in a period when opposition and hardships on the path of dawah were great. Its theme is closely linked with Surah Ad-Duha: there he was comforted that his Lord had not abandoned him, and here, by listing further favors, he is assured that the difficulties will not last forever. Sahih al-Bukhari and Muslim also report the event of the angels opening the chest of the Prophet ﷺ, and some scholars of tafsir include this too in the meaning of this verse.
Main themes
The first four verses describe three favors upon the Prophet ﷺ: opening his chest, removing the burden that weighed down his back, and raising his mention; so his name ﷺ is mentioned with the name of Allah in the adhan, the iqamah, the testimony of faith (shahadah) and the prayer.
Then, for emphasis, it is said twice: indeed, with hardship comes ease. In the end comes the command: when you are free from one task, strive hard in worship, and turn to your Lord alone with longing. In short, the tafsir of Surah Alam Nashrah teaches that a believer should not despair in difficulty, should spend his free time in worship and should place all his hope in Allah.