Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27
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.

A compact subset of a metric space is closed and bounded

Statement

Facts & Assumptions

Given: A metric space (X,d) and a compact subset K⊆X.

[L1]

K is a compact subset exactly when for every set I and every family (Ui)i∈I of open subsets of X with K⊆⋃i∈IUi there are n∈N and i0,…,in∈I with K⊆Ui0∪⋯∪Uin, or else K=∅ (A subset of a metric space is open in the subspace metric exactly when it is the trace of an open set of the ambient space, and it is compact as a metric space in its own right exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, Open cover, subcover, compact metric space, and compact subset of a metric space).

[L2]

For p≠x in X and r:=d(p,x)/2 one has r>0 and B(p,r)∩B(x,r)=∅ (Distinct points of a metric space have disjoint balls around them).

[L4]

A nonempty finite set of reals has a maximum and a minimum, each one of its members (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).

[L5]

A subset is bounded when it is empty or contained in some ball B(x0,r) with r>0; and B(x0,s)⊆B(x0,r) whenever 0<s≤r (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Open ball, closed ball and sphere in a metric space).

Proof

technique · direct
1.1

If K=∅ then K is bounded by the first clause of the definition, and it is closed because X∖K=X is open.

L3L5
1.2

Assume from now on that K≠∅ and fix p∈K; the family (B(p,r))r∈P indexed by the set P of positive reals consists of open sets and covers K, since every x∈K satisfies d(p,x)<d(p,x)+1 and so lies in B(p,d(p,x)+1).

L3L5
2.1

The indexed characterisation gives n∈N and positive reals r0,…,rn with K⊆B(p,r0)∪⋯∪B(p,rn); putting R:=max⁡{r0,…,rn}, a positive real, the balls with common centre p are nested, so K⊆B(p,R) and K is bounded.

L1L4L5step 1.2
3.1

Boundedness being settled, take up closedness: let q∈X∖K and for each x∈K put rx:=d(q,x)/2, which is a positive real because q≠x, and which satisfies B(q,rx)∩B(x,rx)=∅.

L2step 2.1
4.1

The family (B(x,rx))x∈K consists of open subsets of X and covers K, since x∈B(x,rx); so there are n∈N and x0,…,xn∈K with K⊆B(x0,rx0)∪⋯∪B(xn,rxn).

L1L3step 3.1
5.1

Put r:=min⁡{rx0,…,rxn}, a positive real.

L4step 4.1
6.1

Then B(q,r)∩K=∅: a point y of the intersection would lie in B(xi,rxi) for some i≤n by step 4.1, and also in B(q,r)⊆B(q,rxi) by step 5.1, whereas those two balls are disjoint by step 3.1.

L5step 3.1step 4.1step 5.1
7.1

So every point of X∖K has a ball around it inside X∖K, that set is open, and K is closed; together with steps 1.1 and 2.1 this proves the theorem.

L3step 1.1step 2.1step 6.1∎

Remarks

Both conclusions use compactness through the same characterisation. The first cover is by concentric balls of every positive radius, which is what boundedness is about; the second is by balls small enough to keep a fixed outside point away, which is what closedness is about. In each case what compactness returns is a finite list of indices, and a maximum or a minimum of finitely many positive reals then does the rest.

Hausdorffness is what makes the second argument work, and every metric space has it (Distinct points of a metric space have disjoint balls around them). The statement is false for topological spaces without that separation property, which is why the proof cites the separation lemma rather than the metric axioms directly.

Depends on

Used by

Dependency tree · two levels

32 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources