When it is known that a set $A$ in topological space $X$ can be exhausted by compact sets, that is there exists increasing sequence of compact sets covering $A$?
Comments:
I guess this should involve both conditions on topology of $X$ and the set $A$ itself.
I remember my lecturer in analysis using such exhaustion for open set in Euclidean space but I don't even know proof for that case.
I will appreciate both answers and references to sources where I can find it.
This is true in particular if $A = X$ is a topological manifold (or if $A$ is a submanifold of a manifold $X$, but the embedding has nothing to do here). I will sketch the proof and you feel free to relax the hypotheses as far as you can. I recall seeing this in my differential geometry course to prove the existence of a partition of unity.
Lemma. Let $M$ be a topological manifold (this means second-countable Hausdorff and locally homeomorphic to $\mathbb R^n$ for some fixed $n$). Then there exists a countable base of coordinate neighborhoods whose closure is compact.
Proof. By second countability, $M$ admits a countable base. Pick one such base $\mathcal B$. Let $\mathcal B' \subset \mathcal B$ be the subset of those $B \in \mathcal B$ that are contained in a coordinate patch $(U,\varphi)$ of the topological manifold $M$ and have compact closure. Of course $\mathcal B'$ is a base ; it suffices to transport the information from $\mathbb R^n$ to the manifold $M$. Since $\mathcal B'$ is a subbase of $\mathcal B$, $\mathcal B'$ is countable.
Theorem. Every manifold $M$ has a compact exhaustion $$ \varnothing \neq W_1 \subseteq \overline{W_1} \subseteq W_2 \subseteq \cdots $$ where the $W_i$ are open, the $\overline{W_i}$ are compact and their union is $M$.
Proof. Pick a countable base of open subsets of $M$ with compact closure. Write this as $\mathcal B = \{B_1,B_2,\cdots,B_n,\cdots \}$ (i.e. put a total order on the base indexed by the naturals) and set $W_k = \bigcup_{i=1}^k B_i$. We will pick a sequence $1 \le k_1 < k_2 < \cdots $ such that $\overline{W_{k_i}} \subseteq W_{k_{i+1}}$. We pick $k_1 = 1$. Assume $k_1,\cdots,k_j$ have been picked, since $\bigcup_{i \ge 1} B_i = M \supseteq \overline{W_{k_j}}$, there exists $k_{j+1} > k_j$ such that $\overline{W_{k_j}} \subseteq W_{k_{j+1}}$. Since $\bigcup_{j \ge 1} W_{k_j} = M$, the same property holds of the closures $\overline{W_{k_j}}$.
Hope that helps,