Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-29
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 metric space every point has arbitrarily small compact closed balls, hence a neighbourhood base of compact sets

Statement

Let (X,d) be a locally compact metric space (Locally compact metric space: every point has a compact neighbourhood) and let xX. Then there is a real r0>0 such that

  1. Bˉ(x,r) is a compact subset of X (Open ball, closed ball and sphere in a metric space, Open cover, subcover, compact metric space, and compact subset of a metric space) for every real r with 0<r<r0; and
  2. the family {Bˉ(x,r):0<r<r0} is a neighbourhood base at x (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open) consisting of compact sets: every neighbourhood of x contains one of these closed balls.

Note that the closed ball itself is compact, not merely its closure; a closed ball is already closed (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed). No choice principle is used.

Facts & Assumptions

Given: A locally compact metric space (X,d) and a point xX; balls B(x,r) and Bˉ(x,r) as in Open ball, closed ball and sphere in a metric space.

[A1]

Local compactness at x: there are a compact subset KX and a real r0>0 with B(x,r0)K (Locally compact metric space: every point has a compact neighbourhood).

[L2]

A subset AX is compact exactly when the metric subspace (A,dA) is a compact metric space, dA being the restriction of d; and for AKX the metric A inherits from (K,dK) is dA, both being the restriction of d to A×A (Open cover, subcover, compact metric space, and compact subset of a metric space, Isometry, isometric embedding, and the subspace metric on a subset).

[L4]

A closed subset of a compact metric space is a compact subset of it (A closed subset of a compact metric space is compact).

[L5]

B(x,s)Bˉ(x,s), and 0<st gives B(x,s)B(x,t) and Bˉ(x,s)Bˉ(x,t); moreover Bˉ(x,s)B(x,t) whenever 0<s<t, since d(x,y)s<t (Open ball, closed ball and sphere in a metric space).

[L7]

The minimum of a two-element set of reals exists and is one of the two elements (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).

Proof

technique · direct
1.1

Fix K and r0 as in [A1], so that K is compact and B(x,r0)K.

A1choose
1.2

Let r be a real with 0<r<r0.

given
1.3

For claim 2, let N be a neighbourhood of x and fix a real s>0 with B(x,s)N.

L6choose
2.1

Bˉ(x,r)B(x,r0)K, the first inclusion because r<r0.

step 1.1step 1.2L5
2.2

XBˉ(x,r) is open in (X,d), since Bˉ(x,r) is closed.

step 1.2L1
2.3

Put r:=min{s,r0}/2, a real with 0<r, r<r0 and r<s, since min{s,r0} is one of s and r0 and is at most each of them.

step 1.3step 1.1L7
3.1

KBˉ(x,r)=(XBˉ(x,r))K is open in the metric subspace (K,dK), being the trace on K of a set open in X; hence Bˉ(x,r)=Bˉ(x,r)K is closed in (K,dK).

step 2.1step 2.2L2L3
4.1

(K,dK) is a compact metric space by step 1.1, so its closed subset Bˉ(x,r) is a compact subset of it, that is the metric subspace of (K,dK) on Bˉ(x,r) is a compact metric space.

step 1.1step 3.1L2L4
5.1

That metric subspace is (Bˉ(x,r),dBˉ(x,r)), the metric being the restriction of d either way, so Bˉ(x,r) is a compact subset of X; this is claim 1.

step 4.1L2
6.1

By step 5.1 the set Bˉ(x,r) is compact, and Bˉ(x,r)B(x,s)N because r<s; moreover Bˉ(x,r) is a neighbourhood of x, since B(x,r)Bˉ(x,r) and B(x,r) is open and contains x.

step 5.1step 1.3step 2.3L5L6
7.1

Steps 5.1 and 6.1 give claims 1 and 2: every Bˉ(x,r) with 0<r<r0 is a compact neighbourhood of x, and every neighbourhood of x contains one of them.

step 5.1step 6.1

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 122 results over 19 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