Problem:
Prove that if $X$ is a Baire space and $U\subset X$ is an open set, then the subspace $U$ is a Baire space.
My proof:
Let $ \{A_n \} $ be any countable collection of closed sets of $ U $, each of which has empty interior. Since $ U $ is open, all the sets $ A_n $ is closed in $ X $ as well. Since $ X $ is a Baire space, $ \bigcup A_n $ is has empty interior in $ X $. Since $ A_n\subset U $ for each $ n $, $ \bigcup A_n\subset U $ as well, and hence $ A_n $ has empty interior in $ U $. It follows that $ U $ is a Baire space.
Question: Is my proof correct? I am claiming that a set closed in an open set is closed in $X$ as well. I that true?