Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (claude-sonnet-5 + deepseek-v4-pro)verified 2026-08-05 (claude-sonnet-5)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

In a locally compact Hausdorff space every point has a neighbourhood base of compact sets, every open subspace and every closed subspace is locally compact, every open set around a point contains an open set with compact closure inside it, and every compact set sits inside an open set with compact closure

Statement

Let (X,T)(X, \mathcal{T}) be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). Then:

  1. A neighbourhood base of compact sets. If XX is locally compact (Locally compact topological space: every point has a compact neighbourhood; and what this says in a metric space) and Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not), then every neighbourhood NN of a point xXx \in X (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open) contains a compact neighbourhood of xx; so the compact neighbourhoods of xx form a neighbourhood base at xx.
  2. Heredity along open and closed subspaces. If XX is locally compact and Hausdorff and SXS \subseteq X is open, then the subspace SS is locally compact (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). If XX is locally compact and FXF \subseteq X is closed, then the subspace FF is locally compact; no Hausdorff hypothesis is used for this half.
  3. Shrinking inside an open set. If XX is locally compact and Hausdorff, OXO \subseteq X is open and xOx \in O, there is an open VV with xVVOx \in V \subseteq \overline{V} \subseteq O and V\overline{V} a compact subset of XX.
  4. Compact sets sit in open sets with compact closure. If XX is locally compact and Hausdorff and KXK \subseteq X is compact, there is an open VXV \subseteq X with KVK \subseteq V and V\overline{V} a compact subset of XX (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).

No choice principle is used; every cover produced below is defined by a formula and thinned by A subspace is compact exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, which returns members rather than indices.

Facts & Assumptions

Given: A topological space (X,T)(X, \mathcal{T}).

[L4]

A closed subset of a compact space is a compact subset of it, and a finite union of compact subsets is compact (A closed subspace of a compact space is compact, and a finite union of compact subspaces is compact).

[L5]

A\overline{A} is the smallest closed superset of AA, so AF\overline{A} \subseteq F for every closed FAF \supseteq A, and AA is closed exactly when A=AA = \overline{A}; int(A)\operatorname{int}(A) is the largest open subset of AA, and xint(A)x \in \operatorname{int}(A) exactly when AA is a neighbourhood of xx (Interior, closure, boundary, exterior, derived set and isolated point in a topological space, A point lies in the closure of AA iff every basic neighbourhood of it meets AA; the closure is the smallest closed superset and equals AA together with its derived set, claim 2).

[L6]

The open sets of a subspace SS are the traces USU \cap S of the open sets of XX and its closed sets are the traces of the closed sets; and for ASXA \subseteq S \subseteq X the topology AA inherits from SS is the one it inherits from XX, so compactness of AA does not depend on which of the two it is read in (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, Hereditary, open-hereditary and closed-hereditary properties of topological spaces).

[L7]

An open set is a neighbourhood of each of its points, a superset of a neighbourhood of xx is a neighbourhood of xx, and a union of finitely many closed sets is closed (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).

[L8]

AA is a compact subset of XX exactly when every family of open subsets of XX covering AA has finitely many members covering AA, or else A=A = \varnothing (A subspace is compact exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, claim 1).

Proof

technique · direct
1.1

For claim 1 let XX be locally compact and Hausdorff, let xXx \in X and let NN be a neighbourhood of xx; fix a compact neighbourhood KK of xx and open sets U,VU, V with xUKx \in U \subseteq K and xVNx \in V \subseteq N, and put W:=UVW := U \cap V, an open set with xWKNx \in W \subseteq K \cap N. By [L3] the compact set KK is closed.

L1L2L3L7construct
1.2

For the closed half of claim 2 let XX be locally compact, let FXF \subseteq X be closed and let xFx \in F; a compact neighbourhood KK of xx in XX contains an open UxU \ni x, and KFK \cap F is the trace of the closed FF on KK, hence closed in the subspace KK and so a compact subset by [L4] and [L6], while xUFKFx \in U \cap F \subseteq K \cap F with UFU \cap F open in FF exhibits KFK \cap F as a neighbourhood of xx in the subspace FF. So FF is locally compact.

L1L4L6L7
2.1

The set F0:=KW=K(XW)F_0 := K \setminus W = K \cap (X \setminus W) is the trace of a closed set on KK, hence closed in the subspace KK and a compact subset of XX by [L4] and [L6]; and xF0x \notin F_0, since xWx \in W.

L4L6step 1.1
3.1

By [L3] there are disjoint open sets AxA \ni x and BF0B \supseteq F_0; put G:=AWG := A \cap W, an open set with xGx \in G.

L3step 1.1step 2.1
4.1

GKG \subseteq K and KK is closed, so GK\overline{G} \subseteq K by [L5]; and GAXBG \subseteq A \subseteq X \setminus B, a closed set, so GXB\overline{G} \subseteq X \setminus B. Hence GKBKF0=KWWN\overline{G} \subseteq K \setminus B \subseteq K \setminus F_0 = K \cap W \subseteq W \subseteq N.

L5L7step 1.1step 3.1
5.1

G\overline{G} is closed and contained in KK, so it is the trace of a closed set on KK, closed in the subspace KK, and a compact subset of XX by [L4] and [L6]; and it is a neighbourhood of xx by [L7], since the open GG satisfies xGGx \in G \subseteq \overline{G}. With step 4.1 it lies inside NN, so claim 1 holds.

L4L6L7step 4.1
6.1

For the open half of claim 2 let SXS \subseteq X be open and let xSx \in S; then SS is a neighbourhood of xx by [L7], so claim 1 supplies a compact neighbourhood CC of xx in XX with CSC \subseteq S. An open UU of XX with xUCx \in U \subseteq C satisfies USU \subseteq S, so U=USU = U \cap S is open in SS and CC is a neighbourhood of xx in the subspace SS; and by [L6] compactness of CC read in SS is compactness read in XX. So SS is locally compact and claim 2 is proved.

L1L6L7step 5.1
6.2

For claim 4 put V:={UT:U is a compact subset of X}\mathcal{V} := \{\, U \in \mathcal{T} : \overline{U} \text{ is a compact subset of } X \,\}, a family cut out by a property. It covers XX: given yXy \in X, claim 1 applied with N:=XN := X gives a compact neighbourhood CC of yy, which is closed by [L3], and an open UU with yUCy \in U \subseteq C; then UC\overline{U} \subseteq C by [L5], U\overline{U} is closed in the subspace CC by [L6], and [L4] makes it a compact subset of XX, so UVU \in \mathcal{V}.

L3L4L5L6step 5.1construct
6.3

For claim 3 let OO be open and xOx \in O; then OO is a neighbourhood of xx by [L7], so claim 1, proved at step 5.1, gives a compact neighbourhood CC of xx with COC \subseteq O, and CC is closed by [L3]. Put V:=int(C)V := \operatorname{int}(C), which is open and contains xx by [L5], CC being a neighbourhood of xx; then VCV \subseteq C gives VC=CO\overline{V} \subseteq \overline{C} = C \subseteq O by [L5], and V\overline{V} is a closed subset of the compact CC, hence closed in the subspace CC by [L6] and a compact subset of XX by [L4]. So xVVOx \in V \subseteq \overline{V} \subseteq O with V\overline{V} compact, which is claim 3.

L3L4L5L6L7step 5.1
7.1

Let KXK \subseteq X be compact. If K=K = \varnothing then V:=V := \varnothing has V=\overline{V} = \varnothing compact; otherwise [L8] gives nNn \in \mathbb{N} and U0,,UnVU_0, \dots, U_n \in \mathcal{V} with KU0Un=:VK \subseteq U_0 \cup \dots \cup U_n =: V, an open set.

L8step 6.2
8.1

The set U0Un\overline{U_0} \cup \dots \cup \overline{U_n} is closed by [L7] and contains VV, so V\overline{V} is contained in it by [L5]; that union is a compact subset by [L4], and V\overline{V} is a closed subset of it, hence closed in the subspace it carries and compact by [L4] and [L6]. So KVK \subseteq V with V\overline{V} compact, which is claim 4; claims 1, 2 and 3 were proved at steps 5.1, 6.1 with 6.2, and 6.3.

L4L5L6L7step 6.3step 7.1

Remarks

Where the Hausdorff hypothesis is spent. Twice, and both times through In a Hausdorff space a point and a disjoint compact set, and two disjoint compact sets, have disjoint open neighbourhoods; hence every compact subset is closed, and in a compact Hausdorff space the compact subsets are exactly the closed ones: to know that the compact neighbourhood KK is closed, and to separate the point xx from the compact KWK \setminus W. Without it the compact neighbourhood cannot be shrunk, and claim 1 is exactly the shrinking.

Claim 3 is the form the rest of the library asks for. "Every neighbourhood contains a compact neighbourhood" and "every open set around a point contains an open VV with V\overline{V} compact inside it" are the same statement in different clothes, and the second is the one a nested-shrinking construction needs, since it hands back an open set whose closure is already inside the target. It is used in Assuming dependent choice, every locally compact Hausdorff space is a Baire space.

Claim 2 splits into two halves of different strength. The closed half is true in any locally compact space and its proof is three lines; the open half runs through claim 1 and therefore through the Hausdorff hypothesis. Together they do not give heredity: an arbitrary subspace of a locally compact Hausdorff space need not be locally compact, and FALSE: every subspace of a locally compact space is locally compact carries the witness.

Claim 4 pads a compact set, not a point. It says a compact set can always be padded to an open set that is still "bounded" in the only sense available here, namely having compact closure. Separating a single point of XX from the added point \infty costs less than that: XX^{*} is compact and contains XX as an open subspace; XX is dense in XX^{*} exactly when XX is not compact; and XX^{*} is Hausdorff exactly when XX is locally compact and Hausdorff does it at step 1.4 from claim 1 alone, taking a compact neighbourhood of the point and using that it is closed.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 87 results over 17 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources