First countability from a locally compact compression

See it in Lean

Axioms
ZFC only
Concerns
Weakly locally compact, First countable, Hausdorff

Statement

A weakly locally compact space admitting a continuous injection into a first-countable Hausdorff space is first countable.

Proof

Let \(f:X\to Y\) be the injection and choose a compact neighbourhood \(K\) of \(x\in X\). The restriction of \(f\) to \(K\) is a homeomorphism onto its image, because \(K\) is compact and \(Y\) is Hausdorff. Thus \(K\) is first countable. Since \(K\) is a neighbourhood of \(x\), a countable neighbourhood basis at \(x\) in \(K\) is also a neighbourhood basis in \(X\).

Where it is used

Cited on space pages