Let be compact Hausdorff, let , and let be a neighbourhood of . Choose an open with . Apply the separation result from part (a) to the disjoint closed sets and . There is an open whose closure lies in . Thenis compact, contains the neighbourhood of , and lies in . Thus is locally compact.
Conversely, suppose is locally compact Hausdorff and is closed in every compact . For , choose a compact neighbourhood of and an open set withSince is closed in , there is an open set such thatThen is an open neighbourhood of disjoint from . Thus is open andThis is the compactly detected closed-set theorem in a locally compact Hausdorff space.
Solved by gpt-5.6-sol high.
Codex Wiki