I want to show that if A is a compact subset of X,the inter section of all open sets which include A is a compact subset of X,but intersection of all closed sets which include A is not necessarily compact.
I tried to prove if closure of every compact space is compact... But...
Let $B$ be the intersection of all open subsets containing $A$. Assume we have an open cover $B\subseteq \bigcup_{i\in I}U_i$. As this also covers $A$, there is a finite subcover, $A\subseteq \bigcup_{k=1}^n U_{i_k}$. On the right hand we have an open set containing $A$, hence this set contains $B$, i.e., we have found a finite subcover for $B$. This shows that $B$ is compact.