Alphabeta Math
Session-authored (Fable 5 assisted)
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.

21 results · all verified · 20 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Compactness in Metric Spaces

1 · Prerequisites

2 · Summary

Compactness in metric spaces turns arbitrary open covers into finite data and supports the finite-intersection method. The page relates compactness to countable, sequential and limit-point compactness, completeness and total boundedness. It records the proof cost where it occurs: several implications are choice-free, constructing an indefinitely separated sequence uses dependent choice, and fixing finite nets at every scale uses countable choice. Compactness of a subset is treated intrinsically, so ambient and subspace cover arguments agree.

The development proves Heine--Borel in Rn\mathbb{R}^n and then applies compactness to continuous images, extreme values, Lebesgue numbers, uniform continuity and continuous inverses. It also obtains a countable dense subset under countable choice. Explicit counterexamples separate boundedness, total boundedness and compactness outside Euclidean space, while the choice ledger states which principles the displayed proofs use without asserting independence or necessity.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain

Definition

Let XX be a set and let RX×XR \subseteq X \times X be a binary relation on XX. Call RR entire on XX when

for every xX there is yX with xRy.\text{for every } x \in X \text{ there is } y \in X \text{ with } x \mathbin{R} y .

The Axiom of Dependent Choice, written DC\mathrm{DC}, is the following statement.

For every nonempty set XX, every relation RR entire on XX, and every aXa \in X, there is a sequence x:NXx : \mathbb{N} \to X (Sequences of reals: bounded, eventually, frequently, tails, subsequences, The natural numbers N\mathbb{N} (von Neumann)) with x0=aandxnRxn+1  for every nN.x_0 = a \qquad \text{and} \qquad x_n \mathbin{R} x_{n+1} \ \text{ for every } n \in \mathbb{N}.

As everywhere in this library N\mathbb{N} contains 00, and the sequence is indexed from 00; the term x0x_0 is the prescribed starting point aa and every later term is related to its predecessor.

What DC adds to what came before. Choice function and The Axiom of Choice select one element from each member of a family that is fixed in advance, and The Axiom of Countable Choice (ACω\mathrm{AC}_\omega) does the same for a family indexed by N\mathbb{N}. In both, the family is given before any selection is made. DC is the principle needed when the nn-th set to select from is not known until the first nn selections have been made: here the admissible values of xn+1x_{n+1} are exactly the RR-successors of xnx_n, so the family being chosen from is built along the choosing. That is precisely the situation ACω\mathrm{AC}_\omega does not cover, and it is why a construction "pick xn+1x_{n+1} depending on xnx_n, for every nn at once" is not licensed by countable choice.

The starting point may be dropped. The formally weaker statement obtained by deleting the clause x0=ax_0 = a — for every nonempty XX and every entire RR there is a sequence with xnRxn+1x_n \mathbin{R} x_{n+1} for all nn — is an immediate consequence of the form above, since XX is nonempty and any of its elements may be taken as aa. The reverse derivation is standard and is not needed anywhere in this library, so it is not carried out; every use below prescribes x0x_0.

RR need not be an order and the terms need not be distinct. What DC delivers is a sequence, that is a function NX\mathbb{N} \to X, not a chain in the order-theoretic sense (Chain in a poset). The relation may be symmetric, and the sequence may repeat a value or be constant; all that is asserted is xnRxn+1x_n \mathbin{R} x_{n+1} at every index.

Remarks

Where DC sits among the choice principles. It is a standard fact, proved in the references and not in this library, that

AC    DC    ACω,\mathrm{AC} \;\Longrightarrow\; \mathrm{DC} \;\Longrightarrow\; \mathrm{AC}_\omega ,

and that neither implication reverses. The non-reversals are relative-consistency results: what they establish is that ZF, if consistent, does not prove the missing implications, never that those implications are false. This library contains neither forcing nor permutation models and proves no independence result, so all of that is quoted from the references and used nowhere.

Nothing in this library proves DC, and nothing assumes it silently. Like The Axiom of Choice and The Axiom of Countable Choice (ACω\mathrm{AC}_\omega), DC is a statement that may be assumed or not. Every theorem whose proof uses it says so in its own statement, and the accounting for the compactness page is collected in What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice.

An upper bound, never a lower one. When a later item records that its proof uses DC, the claim made is that the argument given here is carried out in ZF+DC\mathrm{ZF} + \mathrm{DC}. No item claims that DC is necessary for the statement proved, because establishing necessity means separating the statement from ZF, and that is an independence result of exactly the kind this library does not prove.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Open cover, subcover, compact metric space, and compact subset of a metric space

Definition

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), with open sets as in The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement and balls as in Open ball, closed ball and sphere in a metric space.

  • An open cover of (X,d)(X,d) is a family U\mathcal{U} of open subsets of XX with X=UX = \bigcup \mathcal{U}, where U={xX:xU for some UU}\bigcup \mathcal{U} = \{\, x \in X : x \in U \text{ for some } U \in \mathcal{U} \,\}.
  • A subcover of U\mathcal{U} is a subfamily VU\mathcal{V} \subseteq \mathcal{U} that is itself an open cover.
  • A family V\mathcal{V} of sets is finite when V=\mathcal{V} = \emptyset or there are nNn \in \mathbb{N} and sets V0,,VnV_0, \dots, V_n with V={V0,,Vn}\mathcal{V} = \{V_0, \dots, V_n\}; repetitions in the list are allowed and harmless.
  • (X,d)(X,d) is compact when every open cover of it has a finite subcover: for every open cover U\mathcal{U}, either X=X = \emptyset and the empty subfamily covers it, or there are nNn \in \mathbb{N} and U0,,UnUU_0, \dots, U_n \in \mathcal{U} with X=U0Un.X = U_0 \cup \dots \cup U_n .
  • A subset AXA \subseteq X is a compact subset of XX when the metric subspace (A,dA)(A, d_A) is a compact metric space, dAd_A being the restriction of dd to A×AA \times A (Isometry, isometric embedding, and the subspace metric on a subset).

Compactness of a subset is defined intrinsically, and only intrinsically. The last clause speaks about the subspace (A,dA)(A,d_A) and its own open sets, not about families of open subsets of the ambient XX. The two readings do agree, but that is a theorem and not a convention: it is 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, and no item of this library may use the ambient reading without citing it. Taking the intrinsic reading as the definition is what makes "compact" a property of the metric space (A,dA)(A,d_A) alone, so that a set compact in one ambient space is compact in every other one containing it isometrically.

The empty space is compact, since the empty subfamily of any family covers it; this is the reason the clause above is written with the two cases. The one-point space is compact too, and so is every space listed as {x0,,xn}\{x_0, \dots, x_n\}: given a cover, each xix_i lies in some member, and finitely many members chosen in this way already cover.

The finiteness convention, and how it is used both ways. "Finite" above is the listing form, matching the finite lists of Finite intersection property. It agrees with the definition of finiteness by equinumerosity with a natural number (Finite, countably infinite, countable, uncountable), and both directions of the agreement are available and are used below:

  • A nonempty finite set FF in the sense of Finite, countably infinite, countable, uncountable satisfies FmF \approx m for some m1m \ge 1, and a bijection mFm \to F is exactly a listing F={a0,,am1}F = \{a_0, \dots, a_{m-1}\}.
  • Conversely a set listed as A={a0,,an}A = \{a_0, \dots, a_n\}, that is the image of a function aa with domain σ(n)\sigma(n), is finite in the sense of Finite, countably infinite, countable, uncountable: the map sending xAx \in A to the least ini \le n with ai=xa_i = x is an injection of AA into σ(n)\sigma(n), so AA is equinumerous with a subset of N\mathbb{N} bounded above, and such a subset is finite (Every subset of an at most countable set is at most countable).

Neither direction uses a choice principle: the second selects nothing, taking a least index instead.

Remarks

Why open covers rather than closed ones. Nothing in the definition would break if U\mathcal{U} were allowed to consist of arbitrary sets, but the resulting notion would be uninteresting: every space is covered by its singletons, and only a finite space would survive. Openness of the members is what makes the condition a genuine restriction, and it is what 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 has to keep track of when the ambient space changes.

A warning about the word "cover". A family may cover AXA \subseteq X without being a family of subsets of AA: the members are open subsets of XX and their union merely contains AA. That is the ambient reading, and it is a different statement from "U\mathcal{U} is an open cover of the metric space (A,dA)(A,d_A)", whose members are open subsets of AA. Which of the two is meant is written out everywhere on this page.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

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

Statement

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), let AXA \subseteq X and let (A,dA)(A,d_A) be the metric subspace (Isometry, isometric embedding, and the subspace metric on a subset). Then:

  1. Relative openness is a trace. A set VAV \subseteq A is open in (A,dA)(A,d_A) (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement) if and only if V=UAV = U \cap A for some UU open in (X,d)(X,d).
  2. Compactness read in the ambient space. AA is a compact subset of XX (Open cover, subcover, compact metric space, and compact subset of a metric space), that is (A,dA)(A,d_A) is a compact metric space, if and only if for every family U\mathcal{U} of open subsets of XX with AUA \subseteq \bigcup \mathcal{U} there are nNn \in \mathbb{N} and U0,,UnUU_0, \dots, U_n \in \mathcal{U} with AU0UnA \subseteq U_0 \cup \dots \cup U_n, or else A=A = \emptyset.
  3. The same in indexed form. AA is a compact subset of XX if and only if for every set II and every family (Ui)iI(U_i)_{i \in I} of open subsets of XX with AiIUiA \subseteq \bigcup_{i \in I} U_i there are nNn \in \mathbb{N} and indices i0,,inIi_0, \dots, i_n \in I with AUi0UinA \subseteq U_{i_0} \cup \dots \cup U_{i_n}, or else A=A = \emptyset.

Claim 3 is the form used by almost every later proof on this page, because a cover is usually produced by a rule that attaches an open set to each point or to each index, and a set of open sets forgets that rule. No choice principle is used anywhere below; the one place a selection is made is over a finite index set, and Every natural-number-indexed list of nonempty sets has a choice function on its family of values is a theorem of ZF.

Facts & Assumptions

Given: A metric space (X,d)(X,d), a subset AXA \subseteq X, and the metric subspace (A,dA)(A, d_A) with dAd_A the restriction of dd to A×AA \times A.

[L1]

Balls of a subspace are traces of ambient balls: BA(a,r)=BX(a,r)AB_A(a,r) = B_X(a,r) \cap A for aAa \in A and r>0r > 0 (Isometry, isometric embedding, and the subspace metric on a subset, Open ball, closed ball and sphere in a metric space).

[L2]

A subset WW of a metric space is open exactly when every point of WW has a ball around it contained in WW (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).

[L4]

(A,dA)(A,d_A) is compact exactly when every family of sets open in (A,dA)(A,d_A) whose union is AA has a finite subfamily whose union is AA; a family is finite when it is empty or listable as {V0,,Vn}\{V_0, \dots, V_n\} (Open cover, subcover, compact metric space, and compact subset of a metric space).

[L5]

A function with domain a natural number all of whose values are nonempty sets has a choice function, and this is a theorem of ZF (Every natural-number-indexed list of nonempty sets has a choice function on its family of values).

Proof

technique · direct
1.1

Suppose UU is open in (X,d)(X,d) and put V:=UAV := U \cap A; for aVa \in V we have aUa \in U, so there is r>0r > 0 with BX(a,r)UB_X(a,r) \subseteq U, whence BA(a,r)=BX(a,r)AUA=VB_A(a,r) = B_X(a,r) \cap A \subseteq U \cap A = V, and VV is open in (A,dA)(A,d_A).

L1L2
1.2

Conversely let VAV \subseteq A be open in (A,dA)(A,d_A), and let W:={BX(a,r):aV, r>0, BX(a,r)AV}\mathcal{W} := \{\, B_X(a,r) : a \in V,\ r > 0,\ B_X(a,r) \cap A \subseteq V \,\}, a family cut out by a property of the pair (a,r)(a,r) and not by any selection; put U:=WU := \bigcup \mathcal{W}.

L1construct
2.1

UU is open in (X,d)(X,d), being a union of open balls.

L3step 1.2
2.2

UAVU \cap A \subseteq V, since every member BX(a,r)B_X(a,r) of W\mathcal{W} satisfies BX(a,r)AVB_X(a,r) \cap A \subseteq V by the defining condition of W\mathcal{W}.

step 1.2
2.3

VUAV \subseteq U \cap A: given aVa \in V, openness of VV in (A,dA)(A,d_A) gives r>0r > 0 with BA(a,r)VB_A(a,r) \subseteq V, that is BX(a,r)AVB_X(a,r) \cap A \subseteq V, so BX(a,r)WB_X(a,r) \in \mathcal{W} and aBX(a,r)Ua \in B_X(a,r) \subseteq U, while aAa \in A as well.

L1L2step 1.2
3.1

Claim 1 is proved: by steps 2.2 and 2.3 an open VAV \subseteq A equals UAU \cap A with UU open in XX by step 2.1, and conversely every such trace is open in (A,dA)(A,d_A) by step 1.1.

step 1.1step 2.1step 2.2step 2.3
4.1

For claim 3, suppose first that (A,dA)(A,d_A) is compact, let II be a set and let (Ui)iI(U_i)_{i \in I} be open subsets of XX with AiIUiA \subseteq \bigcup_{i \in I} U_i; then each UiAU_i \cap A is open in (A,dA)(A,d_A) and V:={UiA:iI}\mathcal{V} := \{\, U_i \cap A : i \in I \,\} is a family of open subsets of AA whose union is AA.

step 3.1L4
5.1

If A=A = \emptyset the conclusion of claim 3 holds by its second alternative, so assume AA \ne \emptyset; then V\mathcal{V} is an open cover of (A,dA)(A,d_A), and compactness yields nNn \in \mathbb{N} and V0,,VnVV_0, \dots, V_n \in \mathcal{V} with A=V0VnA = V_0 \cup \dots \cup V_n.

L4step 4.1
6.1

For each jnj \le n the set Sj:={iI:UiA=Vj}S_j := \{\, i \in I : U_i \cap A = V_j \,\} is nonempty by the definition of V\mathcal{V}, and jSjj \mapsto S_j is a function with domain the natural number σ(n)\sigma(n), so a choice function for its values supplies i0,,inIi_0, \dots, i_n \in I with UijA=VjU_{i_j} \cap A = V_j for every jnj \le n.

L5step 5.1
7.1

Hence A=V0Vn=(Ui0A)(UinA)Ui0UinA = V_0 \cup \dots \cup V_n = (U_{i_0} \cap A) \cup \dots \cup (U_{i_n} \cap A) \subseteq U_{i_0} \cup \dots \cup U_{i_n}, which is the conclusion of claim 3 for the family (Ui)iI(U_i)_{i \in I}, so the forward implication of claim 3 holds.

step 5.1step 6.1
8.1

The converse of claim 3 remains, the forward implication having been settled at step 7.1; so assume the displayed condition, let G\mathcal{G} be a family of sets open in (A,dA)(A,d_A) with union AA, and put U:={UX:U is open in (X,d) and UAG}\mathcal{U} := \{\, U \subseteq X : U \text{ is open in } (X,d) \text{ and } U \cap A \in \mathcal{G} \,\}, again a family cut out by a property, indexed by itself.

step 7.1step 3.1construct
9.1

AUA \subseteq \bigcup \mathcal{U}: given aAa \in A there is GGG \in \mathcal{G} with aGa \in G, and by claim 1 there is UU open in XX with UA=GU \cap A = G; that UU lies in U\mathcal{U} and contains aa.

step 3.1step 8.1
10.1

If A=A = \emptyset the empty subfamily of G\mathcal{G} covers AA; otherwise the assumed condition applied to the family U\mathcal{U} indexed by itself gives mNm \in \mathbb{N} and W0,,WmUW_0, \dots, W_m \in \mathcal{U} with AW0WmA \subseteq W_0 \cup \dots \cup W_m.

step 8.1step 9.1
11.1

Putting Gj:=WjAG_j := W_j \cap A for jmj \le m gives members of G\mathcal{G} with A=(W0A)(WmA)=G0GmA = (W_0 \cap A) \cup \dots \cup (W_m \cap A) = G_0 \cup \dots \cup G_m, so G\mathcal{G} has a finite subcover and (A,dA)(A,d_A) is compact.

L4step 10.1
12.1

Claim 3 is proved by steps 7.1 and 11.1, and claim 2 is the special case of claim 3 in which I=UI = \mathcal{U} is a family of open subsets of XX and Ui:=iU_i := i, the conclusion of claim 3 then naming members of U\mathcal{U} itself.

step 7.1step 11.1

Remarks

Why the ambient reading needed a proof at all. A subset AA of XX carries two candidate notions of open cover: families of sets open in (A,dA)(A,d_A), and families of sets open in XX whose union contains AA. Claim 1 is what turns one into the other, and it is the reason compactness of AA does not depend on which space AA is regarded as sitting inside. Every later item on this page that covers a subset by ambient balls is using claim 2 or claim 3, and says so.

The traces do not remember their sources. A single relatively open VV is usually the trace of many different ambient open sets, and that is exactly why step 6.1 has to recover indices at all. Recovering infinitely many at once would be a choice principle; recovering finitely many is not, and the proof is arranged so that only finitely many are ever needed.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Countably compact, sequentially compact and limit point compact metric spaces

Definition

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), with open sets as in The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement and open covers, subcovers, finiteness and compactness as in Open cover, subcover, compact metric space, and compact subset of a metric space.

A subset AXA \subseteq X is called countably compact, sequentially compact or limit point compact when the metric subspace (A,dA)(A, d_A) is (Isometry, isometric embedding, and the subspace metric on a subset), exactly as for compactness.

The countable covers may be listed. A nonempty at most countable family U\mathcal{U} admits a surjection NU\mathbb{N} \to \mathcal{U} (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}), so countable compactness says: for every sequence (Un)nN(U_n)_{n \in \mathbb{N}} of open sets with X=nNUnX = \bigcup_{n \in \mathbb{N}} U_n there are finitely many indices whose sets already cover XX. That surjection is produced from the countability assumption alone and no choice principle is involved; the empty family covers only the empty space, which is compact anyway.

Limit points are computed where the set lives. For SAXS \subseteq A \subseteq X and aAa \in A, the identity BA(a,r)=BX(a,r)AB_A(a,r) = B_X(a,r) \cap A (Isometry, isometric embedding, and the subspace metric on a subset) shows that aa is a limit point of SS in the subspace (A,dA)(A,d_A) exactly when aa is a limit point of SS in XX and lies in AA. So "AA is limit point compact" says that every infinite SAS \subseteq A has a limit point belonging to AA; a limit point outside AA does not count, and that is what distinguishes the property from a statement about XX.

Remarks

Three conditions, and none of them is compactness by definition. Each of the three weakens or replaces the open-cover condition of Open cover, subcover, compact metric space, and compact subset of a metric space: countable compactness restricts the covers tested, sequential compactness speaks about sequences instead of covers, and limit point compactness speaks about subsets. That the four conditions are not equivalent for topological spaces in general is standard and is quoted from the references, not proved here. For metric spaces they do coincide, but the coincidence is a theorem with a choice cost that varies from implication to implication, and it is proved on this page one arrow at a time (In any metric space compactness implies countable compactness and limit point compactness, and each of countable compactness and limit point compactness implies sequential compactness; every implication here is proved without a choice principle, For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice, What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice).

Indexing starts at 00. A sequence here is a function on N\mathbb{N} and N\mathbb{N} contains 00 (Sequences of reals: bounded, eventually, frequently, tails, subsequences), so a subsequence is (xnj)jN(x_{n_j})_{j \in \mathbb{N}} with n0<n1<n_0 < n_1 < \cdots and njjn_j \ge j (A strictly increasing index map satisfies nkkn_k \ge k). Every recursive construction of a subsequence on this page produces n0n_0 first and then nj+1>njn_{j+1} > n_j, and every radius written 1/(j+1)1/(j+1) is written that way because 1/j1/j is undefined at j=0j = 0.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Finite ε\varepsilon-net and totally bounded metric space

Definition

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let ε\varepsilon be a real with ε>0\varepsilon > 0.

  • A finite ε\varepsilon-net for (X,d)(X,d) is a finite subset FXF \subseteq X with X=yFB(y,ε),X = \bigcup_{y \in F} B(y, \varepsilon) , the balls being those of (X,d)(X,d) (Open ball, closed ball and sphere in a metric space). Finite is the listing form fixed in Open cover, subcover, compact metric space, and compact subset of a metric space: F=F = \emptyset, or F={y0,,ym}F = \{y_0, \dots, y_m\} for some mNm \in \mathbb{N} and points y0,,ymXy_0, \dots, y_m \in X.
  • (X,d)(X,d) is totally bounded when it has a finite ε\varepsilon-net for every real ε>0\varepsilon > 0.
  • A subset AXA \subseteq X is totally bounded when the metric subspace (A,dA)(A,d_A) is (Isometry, isometric embedding, and the subspace metric on a subset); its nets are then finite subsets of AA and its balls are the balls BA(a,ε)B_A(a,\varepsilon) of the subspace.

The empty space is totally bounded, the empty net serving for every ε\varepsilon, since a union over no indices is empty. Every space listed as {x0,,xn}\{x_0, \dots, x_n\} is totally bounded too, itself being an ε\varepsilon-net for every ε\varepsilon.

The centres are required to lie in the space. Writing the condition with centres in XX and balls of XX is what makes total boundedness a property of the metric space (X,d)(X,d) alone, matching the treatment of compactness in Open cover, subcover, compact metric space, and compact subset of a metric space. For a subset AA this matters: the nets of (A,dA)(A,d_A) consist of points of AA, not of nearby points of the ambient space.

Total boundedness is stronger than boundedness and is not the same thing. A totally bounded space is bounded in the sense of Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space — that is claim 1 of A totally bounded metric space is bounded, every subspace of a totally bounded space is totally bounded, and the closure of a totally bounded subset is totally bounded — and the converse fails, as FALSE: a bounded metric space is totally bounded records. Boundedness asks for one ball containing the space; total boundedness asks for finitely many balls of every prescribed radius, and it is the second condition that controls how spread out the space is at small scales.

Remarks

Why ε\varepsilon ranges over the reals here. Convergence and the Cauchy condition are tested against rational ε\varepsilon in this library (Convergence of a sequence in a metric space: xkxx_k \to x iff d(xk,x)0d(x_k, x) \to 0 in R\mathbb{R}, Cauchy sequence in a metric space), because that is how Limits and Cauchy sequences of reals is written; total boundedness is not a limit condition and is stated for real ε>0\varepsilon > 0 directly. Nothing turns on the difference: a net for a rational εε\varepsilon' \le \varepsilon is a net for ε\varepsilon, since B(y,ε)B(y,ε)B(y,\varepsilon') \subseteq B(y,\varepsilon).

A net is not unique and is not part of the data. Total boundedness asserts that nets exist; it names none. Producing one net for each ε\varepsilon simultaneously, as a function of ε\varepsilon, is a further act of selection, and where a proof needs that function it says so and pays for it — see A complete, totally bounded metric space is compact, proved from countable choice used exactly once and A compact metric space has a countable dense subset, by countable choice, each of which spends the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)) exactly once and at exactly that point.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A totally bounded metric space is bounded, every subspace of a totally bounded space is totally bounded, and the closure of a totally bounded subset is totally bounded

Statement

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), with total boundedness as in Finite ε\varepsilon-net and totally bounded metric space and boundedness as in Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space. Then:

  1. If (X,d)(X,d) is totally bounded, it is bounded.
  2. If (X,d)(X,d) is totally bounded and AXA \subseteq X, then the metric subspace (A,dA)(A,d_A) is totally bounded (Isometry, isometric embedding, and the subspace metric on a subset).
  3. If AXA \subseteq X is totally bounded, so is its closure A\overline{A} (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space).

No choice principle is used. The one selection made is over a finite index set, which Every natural-number-indexed list of nonempty sets has a choice function on its family of values supplies in ZF.

Facts & Assumptions

Given: A metric space (X,d)(X,d) and a subset AXA \subseteq X, with (A,dA)(A,d_A) the metric subspace and A\overline{A} the closure of AA in XX.

[L1]

(X,d)(X,d) is totally bounded exactly when for every real ε>0\varepsilon > 0 there is a finite FXF \subseteq X, empty or listable as {y0,,ym}\{y_0, \dots, y_m\}, with X=yFB(y,ε)X = \bigcup_{y \in F} B(y,\varepsilon) (Finite ε\varepsilon-net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).

[L2]

A subset is bounded when it is empty or contained in a ball B(x0,r)B(x_0,r) with x0x_0 in the space and r>0r > 0 real (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).

[L3]

A metric satisfies d(x,z)d(x,y)+d(y,z)d(x,z) \le d(x,y) + d(y,z) and d(x,y)=d(y,x)d(x,y) = d(y,x), and d(y,y)=0d(y,y) = 0 (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric).

[L4]

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

[L5]

Balls of a subspace are traces: BA(a,r)=BX(a,r)AB_A(a,r) = B_X(a,r) \cap A for aAa \in A, r>0r > 0 (Isometry, isometric embedding, and the subspace metric on a subset).

[L6]

A function with domain a natural number all of whose values are nonempty sets has a choice function, in ZF (Every natural-number-indexed list of nonempty sets has a choice function on its family of values).

Proof

technique · direct
1.1

If X=X = \emptyset then XX is bounded, emptiness being one of the two cases of the definition.

L2
1.2

Suppose instead XX \ne \emptyset, and let FF be a finite 11-net for (X,d)(X,d); then FF \ne \emptyset, since a union over an empty family of balls is empty while XX is not, so F={y0,,ym}F = \{y_0, \dots, y_m\} for some mNm \in \mathbb{N}.

L1
2.1

The set {d(y0,yj):jm}\{\, d(y_0, y_j) : j \le m \,\} is a nonempty finite set of reals, so it has a maximum RR, and Rd(y0,y0)=0R \ge d(y_0,y_0) = 0.

L3L4step 1.2
3.1

Every xXx \in X lies in B(yj,1)B(y_j, 1) for some jmj \le m, whence d(y0,x)d(y0,yj)+d(yj,x)<R+1d(y_0,x) \le d(y_0,y_j) + d(y_j,x) < R + 1; so XB(y0,R+1)X \subseteq B(y_0, R+1) with R+1>0R + 1 > 0, and XX is bounded.

L1L2L3step 2.1
4.1

Claim 1 is proved, by step 1.1 in the empty case and by step 3.1 otherwise.

step 1.1step 3.1
5.1

Claim 1 being settled, take up claim 2: assume (X,d)(X,d) totally bounded, let AXA \subseteq X, let ε>0\varepsilon > 0 be real, fix a finite (ε/2)(\varepsilon/2)-net F={y0,,ym}F = \{y_0, \dots, y_m\} for (X,d)(X,d), and put J:={jm:B(yj,ε/2)A}J := \{\, j \le m : B(y_j, \varepsilon/2) \cap A \ne \emptyset \,\}.

step 4.1L1
6.1

If A=A = \emptyset then the empty set is a finite ε\varepsilon-net for (A,dA)(A,d_A); otherwise fix aAa^\ast \in A, put Sj:=B(yj,ε/2)AS_j := B(y_j,\varepsilon/2) \cap A for jJj \in J and Sj:=AS_j := A for jmj \le m with jJj \notin J, all nonempty, and apply finite choice to the function jSjj \mapsto S_j on σ(m)\sigma(m) to obtain a0,,amAa_0, \dots, a_m \in A with ajB(yj,ε/2)a_j \in B(y_j, \varepsilon/2) for every jJj \in J.

L6step 5.1
7.1

Put G:={a0,,am}AG := \{a_0, \dots, a_m\} \subseteq A, a finite set; given aAa \in A there is jmj \le m with aB(yj,ε/2)a \in B(y_j, \varepsilon/2), so jJj \in J and d(a,aj)d(a,yj)+d(yj,aj)<ε/2+ε/2=εd(a, a_j) \le d(a,y_j) + d(y_j,a_j) < \varepsilon/2 + \varepsilon/2 = \varepsilon, that is aBA(aj,ε)a \in B_A(a_j, \varepsilon).

L3L5step 6.1
8.1

So GG is a finite ε\varepsilon-net for (A,dA)(A,d_A), and since ε>0\varepsilon > 0 was arbitrary the subspace (A,dA)(A,d_A) is totally bounded: claim 2 is proved.

L1step 7.1
9.1

Claim 2 being settled, take up claim 3: assume AXA \subseteq X totally bounded, let ε>0\varepsilon > 0 be real and fix a finite (ε/2)(\varepsilon/2)-net F={b0,,bp}AF = \{b_0, \dots, b_p\} \subseteq A for (A,dA)(A, d_A), or F=F = \emptyset when A=A = \emptyset.

step 8.1L1
10.1

Let xAx \in \overline{A}; then B(x,ε/2)B(x,\varepsilon/2) meets AA, so there is aAa \in A with d(x,a)<ε/2d(x,a) < \varepsilon/2, and aBA(bi,ε/2)a \in B_A(b_i, \varepsilon/2) for some ipi \le p, whence d(x,bi)d(x,a)+d(a,bi)<εd(x,b_i) \le d(x,a) + d(a,b_i) < \varepsilon.

L3L5L7step 9.1
11.1

Hence A=ipBA(bi,ε)\overline{A} = \bigcup_{i \le p} B_{\overline{A}}(b_i, \varepsilon) with {b0,,bp}AA\{b_0,\dots,b_p\} \subseteq A \subseteq \overline{A} finite, so that set is a finite ε\varepsilon-net for the subspace A\overline{A}; as ε>0\varepsilon > 0 was arbitrary, A\overline{A} is totally bounded and claim 3 is proved.

L1L5step 10.1
12.1

Claims 1, 2 and 3 hold, by steps 4.1, 8.1 and 11.1 respectively.

step 4.1step 8.1step 11.1

Remarks

Where the halving is needed. In claim 2 the net of the subspace has to consist of points of AA, and a point yjy_j of a net for XX need not lie in AA; moving from yjy_j to a point of AA within ε/2\varepsilon/2 of it costs the other half of ε\varepsilon. The same halving appears in claim 3, where the point being approximated lies in the closure rather than in AA.

Claim 1 does not reverse. A bounded metric space need not be totally bounded; FALSE: a bounded metric space is totally bounded states the false converse and N\mathbb{N} with the discrete metric is bounded and is not totally bounded exhibits the witness.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A metric space is compact if and only if every family of closed subsets with the finite intersection property has nonempty intersection

Statement

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), with closed sets as in The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement and the finite intersection property as in Finite intersection property. For a family A\mathcal{A} of subsets of XX write

A  :=  {xX:xF for every FA},\bigcap \mathcal{A} \;:=\; \{\, x \in X : x \in F \text{ for every } F \in \mathcal{A} \,\},

so that =X\bigcap \emptyset = X, matching the convention for the empty finite intersection in Finite intersection property.

Then (X,d)(X,d) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space) if and only if every family A\mathcal{A} of closed subsets of XX with the finite intersection property satisfies A\bigcap \mathcal{A} \ne \emptyset.

No choice principle is used in either direction: complementation is a canonical bijection, so no member of a family ever has to be selected.

Facts & Assumptions

Given: A metric space (X,d)(X,d), families of subsets of XX, and the two notions above.

[A1]

Elementary set algebra inside XX: X(XS)=SX \setminus (X \setminus S) = S for SXS \subseteq X, and for any family S\mathcal{S} of subsets of XX one has XS={XS:SS}X \setminus \bigcup \mathcal{S} = \bigcap \{\, X \setminus S : S \in \mathcal{S} \,\} and XS={XS:SS}X \setminus \bigcap \mathcal{S} = \bigcup \{\, X \setminus S : S \in \mathcal{S} \,\}.

[L1]

(X,d)(X,d) is compact exactly when every family of open subsets of XX with union XX has a finite subfamily with union XX, the empty subfamily serving when X=X = \emptyset (Open cover, subcover, compact metric space, and compact subset of a metric space).

[L2]
[L3]

A\mathcal{A} has the finite intersection property exactly when ins(i)\bigcap_{i \in n} s(i) \ne \emptyset for every nNn \in \mathbb{N} and every finite list s:nAs : n \to \mathcal{A}, the empty list having intersection XX (Finite intersection property).

Proof

technique · direct
1.1

Complementation inside XX is its own inverse, and it exchanges the open subsets of XX with the closed ones: X(XS)=SX \setminus (X\setminus S) = S, and SS is open exactly when XSX \setminus S is closed.

A1L2
1.2

For any family S\mathcal{S} of subsets of XX, the union of S\mathcal{S} is XX exactly when the intersection of the complements is empty, and the intersection of S\mathcal{S} is empty exactly when the union of the complements is XX.

A1
2.1

In particular, for F0,,FnXF_0, \dots, F_n \subseteq X one has F0Fn=F_0 \cap \dots \cap F_n = \emptyset exactly when (XF0)(XFn)=X(X \setminus F_0) \cup \dots \cup (X\setminus F_n) = X.

A1step 1.2
3.1

Assume (X,d)(X,d) compact, let A\mathcal{A} be a family of closed subsets of XX with the finite intersection property, and suppose for contradiction that A=\bigcap \mathcal{A} = \emptyset.

L1L3step 2.1assume-contra
4.1

Applying the finite intersection property to the empty list gives XX \ne \emptyset; and U:={XF:FA}\mathcal{U} := \{\, X \setminus F : F \in \mathcal{A} \,\} is a family of open subsets of XX whose union is XA=XX \setminus \bigcap\mathcal{A} = X, hence an open cover of XX.

L2L3step 1.1step 1.2step 3.1
5.1

Compactness applied to U\mathcal{U}, together with XX \ne \emptyset, gives nNn \in \mathbb{N} and U0,,UnUU_0, \dots, U_n \in \mathcal{U} with X=U0UnX = U_0 \cup \dots \cup U_n.

L1step 4.1
6.1

Each UiU_i is XFiX \setminus F_i for the set Fi:=XUiF_i := X \setminus U_i, which lies in A\mathcal{A} and is determined by UiU_i alone; so F0Fn=F_0 \cap \dots \cap F_n = \emptyset by step 2.1, and the list iFii \mapsto F_i contradicts the finite intersection property of A\mathcal{A}.

L3step 1.1step 2.1step 5.1discharge-contradiction
7.1

Therefore A\bigcap \mathcal{A} \ne \emptyset, which is the forward implication.

step 6.1
8.1

Conversely assume that every family of closed subsets of XX with the finite intersection property has nonempty intersection, let U\mathcal{U} be a family of open subsets of XX with union XX, and suppose for contradiction that no finite subfamily of U\mathcal{U} has union XX.

L1step 7.1assume-contra
9.1

Then XX \ne \emptyset, since otherwise the empty subfamily would have union XX; and A:={XU:UU}\mathcal{A} := \{\, X \setminus U : U \in \mathcal{U} \,\} is a family of closed subsets of XX.

L2step 1.1step 8.1
10.1

A\mathcal{A} has the finite intersection property: the empty list has intersection XX \ne \emptyset, and a list F0,,FnF_0, \dots, F_n of members of A\mathcal{A} has Fi=XUiF_i = X \setminus U_i with Ui:=XFiUU_i := X \setminus F_i \in \mathcal{U}, so F0Fn=F_0 \cap \dots \cap F_n = \emptyset would give U0Un=XU_0 \cup \dots \cup U_n = X by step 2.1, a finite subfamily with union XX.

L3step 2.1step 9.1
11.1

By the assumed condition A\bigcap \mathcal{A} \ne \emptyset; but A=XU=\bigcap \mathcal{A} = X \setminus \bigcup \mathcal{U} = \emptyset because U\mathcal{U} has union XX, and this contradiction is the required one.

step 1.2step 10.1discharge-contradiction
12.1

Hence some finite subfamily of U\mathcal{U} has union XX, so (X,d)(X,d) is compact, and with step 7.1 both implications are proved.

L1step 7.1step 11.1

Remarks

The empty family and the empty space. The conventions are not decoration. =X\bigcap \emptyset = X makes the finite intersection property fail outright for every family of subsets of the empty space, so the right-hand condition is vacuously true there; and the empty space is compact, the empty subfamily covering it. The equivalence therefore holds at X=X = \emptyset as well, with both sides true.

Why no choice is spent. The natural-looking step "the finite subcover consists of sets XFiX \setminus F_i, so pick FiAF_i \in \mathcal{A}" would be a selection if a member of the family could be the complement of several different members. It cannot: complementation inside XX is injective, so FiF_i is recovered from UiU_i by a formula. That is the whole reason this characterisation, and the completeness half of A compact metric space is complete and totally bounded, and neither implication uses any choice principle that runs through it, cost nothing.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A closed subset of a compact metric space is compact

Facts & Assumptions

Given: A compact metric space (X,d)(X,d) and a closed subset FXF \subseteq X.

[L1]

(X,d)(X,d) is compact: every family of open subsets of XX with union XX has a finite subfamily with union XX (Open cover, subcover, compact metric space, and compact subset of a metric space).

[L2]

A subset AXA \subseteq X is a compact subset exactly when for every set II and every family (Ui)iI(U_i)_{i \in I} of open subsets of XX with AiIUiA \subseteq \bigcup_{i \in I} U_i there are nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with AUi0UinA \subseteq U_{i_0} \cup \dots \cup U_{i_n}, or else A=A = \emptyset; and XX is a compact subset of itself, its subspace metric being dd (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, Isometry, isometric embedding, and the subspace metric on a subset).

Proof

technique · direct
1.1

XFX \setminus F is open in XX.

L3
1.2

By the ambient characterisation it suffices to show that every family (Ui)iI(U_i)_{i \in I} of open subsets of XX with FiIUiF \subseteq \bigcup_{i \in I} U_i has finitely many members whose union contains FF, or that F=F = \emptyset; so fix such a family.

L2suffices: finitely many members cover F
2.1

Take an object \ast not in II, put I+:=I{}I^{+} := I \cup \{\ast\} and U:=XFU_{\ast} := X \setminus F; then (Ui)iI+(U_i)_{i \in I^{+}} is a family of open subsets of XX whose union is XX, since a point outside FF lies in UU_{\ast} and a point of FF lies in some UiU_i with iIi \in I.

L1L2step 1.1step 1.2
3.1

Applying the ambient characterisation to the compact subset XX of itself gives nNn \in \mathbb{N} and j0,,jnI+j_0, \dots, j_n \in I^{+} with X=Uj0UjnX = U_{j_0} \cup \dots \cup U_{j_n}, unless X=X = \emptyset, in which case F=F = \emptyset and there is nothing to prove.

L2step 2.1
4.1

Delete from the list j0,,jnj_0, \dots, j_n every entry equal to \ast; what remains is a finite list of indices from II, possibly empty, and the union of the corresponding sets still contains FF, because U=XFU_{\ast} = X \setminus F contains no point of FF while every point of FF lies in one of the listed sets.

step 3.1
5.1

If that remaining list is empty then F=F = \emptyset, and otherwise it exhibits finitely many members of (Ui)iI(U_i)_{i \in I} whose union contains FF; in both cases the condition of step 1.2 is met, so FF is a compact subset of XX.

L2step 1.2step 4.1

Remarks

The hypothesis that XX is compact cannot be dropped, and neither can closedness. A closed subset of a non-compact space need not be compact: the whole space is closed in itself. And a non-closed subset of a compact space need not be compact, since a compact subset of any metric space is closed (A compact subset of a metric space is closed and bounded).

Why the augmented family is the whole trick. The set FF is covered by the UiU_i, but XX need not be; adjoining the single open set XFX \setminus F repairs that at no cost, and it is the only member of the resulting finite subcover that has to be discarded again at the end.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A compact subset of a metric space is closed and bounded

Statement

Facts & Assumptions

Given: A metric space (X,d)(X,d) and a compact subset KXK \subseteq X.

[L1]

KK is a compact subset exactly when for every set II and every family (Ui)iI(U_i)_{i \in I} of open subsets of XX with KiIUiK \subseteq \bigcup_{i \in I} U_i there are nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with KUi0UinK \subseteq U_{i_0} \cup \dots \cup U_{i_n}, or else K=K = \emptyset (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 pxp \ne x in XX and r:=d(p,x)/2r := d(p,x)/2 one has r>0r > 0 and B(p,r)B(x,r)=B(p,r) \cap B(x,r) = \emptyset (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)B(x_0,r) with r>0r > 0; and B(x0,s)B(x0,r)B(x_0,s) \subseteq B(x_0,r) whenever 0<sr0 < s \le 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=K = \emptyset then KK is bounded by the first clause of the definition, and it is closed because XK=XX \setminus K = X is open.

L3L5
1.2

Assume from now on that KK \ne \emptyset and fix pKp \in K; the family (B(p,r))rP(B(p,r))_{r \in P} indexed by the set PP of positive reals consists of open sets and covers KK, since every xKx \in K satisfies d(p,x)<d(p,x)+1d(p,x) < d(p,x) + 1 and so lies in B(p,d(p,x)+1)B(p, d(p,x)+1).

L3L5
2.1

The indexed characterisation gives nNn \in \mathbb{N} and positive reals r0,,rnr_0, \dots, r_n with KB(p,r0)B(p,rn)K \subseteq B(p,r_0) \cup \dots \cup B(p,r_n); putting R:=max{r0,,rn}R := \max\{r_0, \dots, r_n\}, a positive real, the balls with common centre pp are nested, so KB(p,R)K \subseteq B(p,R) and KK is bounded.

L1L4L5step 1.2
3.1

Boundedness being settled, take up closedness: let qXKq \in X \setminus K and for each xKx \in K put rx:=d(q,x)/2r_x := d(q,x)/2, which is a positive real because qxq \ne x, and which satisfies B(q,rx)B(x,rx)=B(q,r_x) \cap B(x,r_x) = \emptyset.

L2step 2.1
4.1

The family (B(x,rx))xK(B(x,r_x))_{x \in K} consists of open subsets of XX and covers KK, since xB(x,rx)x \in B(x,r_x); so there are nNn \in \mathbb{N} and x0,,xnKx_0, \dots, x_n \in K with KB(x0,rx0)B(xn,rxn)K \subseteq B(x_0, r_{x_0}) \cup \dots \cup B(x_n, r_{x_n}).

L1L3step 3.1
5.1

Put r:=min{rx0,,rxn}r := \min\{r_{x_0}, \dots, r_{x_n}\}, a positive real.

L4step 4.1
6.1

Then B(q,r)K=B(q,r) \cap K = \emptyset: a point yy of the intersection would lie in B(xi,rxi)B(x_i, r_{x_i}) for some ini \le n by step 4.1, and also in B(q,r)B(q,rxi)B(q,r) \subseteq B(q, r_{x_i}) 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 XKX \setminus K has a ball around it inside XKX \setminus K, that set is open, and KK 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.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-04 (gpt-5.6-sol-codex-subscription)Open item page →

A compact metric space is complete and totally bounded, and neither implication uses any choice principle

Statement

Let (X,d)(X,d) be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric). Then (X,d)(X,d) is totally bounded (Finite ε\varepsilon-net and totally bounded metric space) and complete (Complete metric space: every Cauchy sequence converges in the space).

Both implications are theorems of ZF. Completeness is obtained here from the finite intersection characterisation (A metric space is compact if and only if every family of closed subsets with the finite intersection property has nonempty intersection) applied to the closures of the tails of a Cauchy sequence, and not from the extraction of a convergent subsequence, which would route the argument through sequential compactness. What matters for the ledger is that the route taken below selects nothing at all; the first remark below says why the other route was not taken.

Facts & Assumptions

Given: A compact metric space (X,d)(X,d).

[L2]

(X,d)(X,d) is totally bounded exactly when for every real ε>0\varepsilon > 0 there is a finite FXF \subseteq X with X=yFB(y,ε)X = \bigcup_{y \in F} B(y,\varepsilon) (Finite ε\varepsilon-net and totally bounded metric space).

[L3]

XX is a compact subset of itself, and for every family (Ui)iI(U_i)_{i \in I} of open subsets of XX with X=iIUiX = \bigcup_{i \in I} U_i there are nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with X=Ui0UinX = U_{i_0} \cup \dots \cup U_{i_n}, unless X=X = \emptyset (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).

[L4]

(X,d)(X,d) is complete when every Cauchy sequence converges to a point of XX; (xk)(x_k) is Cauchy when for every rational ε>0\varepsilon > 0 there is KK with d(xm,xl)<εd(x_m,x_l) < \varepsilon for all m,lKm,l \ge K; and xkpx_k \to p when for every rational ε>0\varepsilon > 0 there is KK with d(xk,p)<εd(x_k,p) < \varepsilon for all kKk \ge K (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space, Convergence of a sequence in a metric space: xkxx_k \to x iff d(xk,x)0d(x_k, x) \to 0 in R\mathbb{R}).

[L5]

The closure S\overline{S} of SXS \subseteq X is closed, contains SS, and is contained in every closed superset of SS; and xSx \in \overline{S} exactly when B(x,r)SB(x,r) \cap S \ne \emptyset for every real r>0r > 0 (The closure of a nonempty AA is {x:d(x,A)=0}\{x : d(x,A) = 0\}, equals AA together with its limit points, and is the smallest closed superset, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space).

[L6]

(X,d)(X,d) is compact exactly when every family of closed subsets of XX with the finite intersection property has nonempty intersection, the empty finite list having intersection XX (A metric space is compact if and only if every family of closed subsets with the finite intersection property has nonempty intersection, Finite intersection property).

[L8]

A finite list n0,,npn_0, \dots, n_p of natural numbers has a greatest member. Indeed the reals ι(n0+1),,ι(np+1)\iota(n_0+1), \dots, \iota(n_p+1), with ι\iota the canonical natural of R\mathbb{R} (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field), form a nonempty finite set of reals and so have a maximum, which is one of them, say ι(nj+1)\iota(n_j+1) (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set); the map mι(m)m \mapsto \iota(m) is strictly increasing on the naturals 1\ge 1 (Canonical naturals are positive and strictly increasing), so nj<nin_j < n_i would force ι(nj+1)<ι(ni+1)\iota(n_j+1) < \iota(n_i+1), which the maximality forbids, and the order of N\mathbb{N} is linear (\le is a linear order on N\mathbb{N}), whence ninjn_i \le n_j for every ipi \le p.

Proof

technique · direct
1.1

Let ε>0\varepsilon > 0 be real; the family (B(x,ε))xX(B(x,\varepsilon))_{x \in X} consists of open subsets of XX and has union XX, since xB(x,ε)x \in B(x,\varepsilon) for every xx.

L1L2
2.1

If X=X = \emptyset the empty set is a finite ε\varepsilon-net; otherwise the indexed characterisation gives nNn \in \mathbb{N} and x0,,xnXx_0, \dots, x_n \in X with X=B(x0,ε)B(xn,ε)X = B(x_0,\varepsilon) \cup \dots \cup B(x_n,\varepsilon), so {x0,,xn}\{x_0, \dots, x_n\} is a finite ε\varepsilon-net; as ε\varepsilon was arbitrary, (X,d)(X,d) is totally bounded.

L2L3step 1.1
3.1

Total boundedness being settled, take up completeness: let (xk)(x_k) be a Cauchy sequence in XX and put Tn:={xk:kn}T_n := \overline{\{\, x_k : k \ge n \,\}} for nNn \in \mathbb{N}, a definition by a rule and not by a selection.

L4L5step 2.1
4.1

Each TnT_n is closed and nonempty, containing xnx_n; and TmTnT_m \subseteq T_n whenever mnm \ge n, since then {xk:km}{xk:kn}Tn\{x_k : k \ge m\} \subseteq \{x_k : k \ge n\} \subseteq T_n and TmT_m is the smallest closed superset of the first of these sets.

L5step 3.1
5.1

The family A:={Tn:nN}\mathcal{A} := \{\, T_n : n \in \mathbb{N} \,\} of closed sets has the finite intersection property: the empty list has intersection XX, which contains x0x_0; and for a list Tn0,,TnpT_{n_0}, \dots, T_{n_p} take a greatest member njn_j of the list of indices, so that TnjTniT_{n_j} \subseteq T_{n_i} for every ipi \le p and xnjx_{n_j} lies in every one of them.

L6L8step 4.1
6.1

By the finite intersection characterisation of compactness there is a point pAp \in \bigcap \mathcal{A}, that is pTnp \in T_n for every nNn \in \mathbb{N}.

L6step 5.1
7.1

Let ε>0\varepsilon > 0 be rational and take KNK \in \mathbb{N} with d(xm,xl)<ε/2d(x_m,x_l) < \varepsilon/2 for all m,lKm,l \ge K; since pTKp \in T_K, the ball B(p,ε/2)B(p,\varepsilon/2) meets {xk:kK}\{x_k : k \ge K\}, so there is jKj \ge K with d(p,xj)<ε/2d(p,x_j) < \varepsilon/2, and then d(xk,p)d(xk,xj)+d(xj,p)<ε/2+ε/2=εd(x_k,p) \le d(x_k,x_j) + d(x_j,p) < \varepsilon/2 + \varepsilon/2 = \varepsilon for every kKk \ge K.

L4L5L7step 6.1
8.1

Hence xkpx_k \to p with pXp \in X; every Cauchy sequence in XX converges, so (X,d)(X,d) is complete, and with step 2.1 the theorem is proved.

L4step 2.1step 7.1

Remarks

Why the textbook route is avoided. The usual proof of completeness takes a Cauchy sequence, extracts a convergent subsequence and appeals to A Cauchy sequence in a metric space with a convergent subsequence converges to that subsequence’s limit. That is correct, but it goes through sequential compactness, and the reader tracking the ledger then has to check the cost of that implication before believing this one. The tail-closure argument above is shorter and manifestly selects nothing: the sets TnT_n are given by a formula, the point pp is produced by one existential instantiation, and the index jj in step 7.1 by another.

Neither converse holds. A complete metric space need not be totally bounded and need not be compact (R\mathbb{R} is complete and unbounded), and a totally bounded space need not be compact (FALSE: a totally bounded metric space is compact, The open interval (0,1)(0,1) is totally bounded and not compact, the cover by the intervals (1/(k+2),1)(1/(k+2), 1) having no finite subcover ). What is true is that, assuming the Axiom of Countable Choice, the two together are equivalent to compactness; the missing direction is A complete, totally bounded metric space is compact, proved from countable choice used exactly once, and that is exactly where the Axiom of Countable Choice is spent.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passverified 2026-08-04 (gpt-5.6-sol-codex-subscription)Open item page →

In any metric space compactness implies countable compactness and limit point compactness, and each of countable compactness and limit point compactness implies sequential compactness; every implication here is proved without a choice principle

Statement

Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), with compactness as in Open cover, subcover, compact metric space, and compact subset of a metric space and the three variants as in Countably compact, sequentially compact and limit point compact metric spaces. Then:

  1. If (X,d)(X,d) is compact, it is countably compact.
  2. If (X,d)(X,d) is compact, it is limit point compact.
  3. If (X,d)(X,d) is countably compact, it is sequentially compact.
  4. If (X,d)(X,d) is limit point compact, it is sequentially compact.

Every one of the four is a theorem of ZF. Where a subsequence is extracted, the index at each stage is the least admissible one, which The well-ordering principle makes canonical and The recursion theorem then assembles into a function; where finitely many indices have to be recovered from finitely many sets, Every natural-number-indexed list of nonempty sets has a choice function on its family of values supplies them and is itself a theorem of ZF. Nothing below appeals to countable or to dependent choice.

Facts & Assumptions

Given: A metric space (X,d)(X,d), whichever of the four properties is assumed in the claim under proof.

[L1]

The definitions: (X,d)(X,d) is compact when every family of open subsets with union XX has a finite subfamily with union XX; countably compact when every such family that is at most countable does; sequentially compact when every sequence has a subsequence converging in XX; limit point compact when every infinite subset has a limit point in XX, where pp is a limit point of AA when B(p,r)(A{p})B(p,r) \cap (A \setminus \{p\}) \ne \emptyset for every real r>0r>0 (Open cover, subcover, compact metric space, and compact subset of a metric space, Countably compact, sequentially compact and limit point compact metric spaces, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, Sequences of reals: bounded, eventually, frequently, tails, subsequences).

[L4]

The closure S\overline{S} is closed, contains SS and is the smallest closed superset of SS; and xSx \in \overline{S} exactly when B(x,r)SB(x,r) \cap S \ne \emptyset for every real r>0r > 0 (The closure of a nonempty AA is {x:d(x,A)=0}\{x : d(x,A) = 0\}, equals AA together with its limit points, and is the smallest closed superset, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space).

[L5]

Recursion: for a set AA, an element aAa \in A and a function f:AAf : A \to A there is a unique g:NAg : \mathbb{N} \to A with g(0)=ag(0) = a and g(n+1)=f(g(n))g(n+1) = f(g(n)); when the recursion rule depends on the stage, it is applied to A=N×ZA = \mathbb{N} \times Z and the first coordinate of g(n)g(n) is nn, by the small induction recorded in Finite sums and finite products, by recursion (The recursion theorem).

[L6]

Every nonempty subset of N\mathbb{N} has a least element (The well-ordering principle).

[L7]

A finite list n0,,npn_0, \dots, n_p of natural numbers has a greatest member: the reals ι(n0+1),,ι(np+1)\iota(n_0+1), \dots, \iota(n_p+1), with ι\iota the canonical natural of R\mathbb{R} (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field), form a nonempty finite set of reals and so have a maximum, which is one of them, say ι(nj+1)\iota(n_j+1) (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set); mι(m)m \mapsto \iota(m) is strictly increasing on the naturals 1\ge 1 (Canonical naturals are positive and strictly increasing) and the order of N\mathbb{N} is linear (\le is a linear order on N\mathbb{N}), so ninjn_i \le n_j for every ipi \le p.

[L8]

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

[L9]

Finiteness: a set listed as {a0,,an}\{a_0, \dots, a_n\} is finite, a nonempty finite set can be listed, and a subset of N\mathbb{N} bounded above is finite (Open cover, subcover, compact metric space, and compact subset of a metric space, Finite, countably infinite, countable, uncountable, Every subset of an at most countable set is at most countable); an injection carries a set to a set in bijection with its image (Injection, surjection, bijection).

[L10]

A family indexed by N\mathbb{N} is at most countable, being the image of a surjection from N\mathbb{N} (Finite, countably infinite, countable, uncountable, A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

[L11]

xkpx_k \to p when for every rational ε>0\varepsilon > 0 there is KK with d(xk,p)<εd(x_k,p) < \varepsilon for kKk \ge K; and for every real ε>0\varepsilon > 0 there is a natural N1N \ge 1 with 1/N<ε1/N < \varepsilon (Convergence of a sequence in a metric space: xkxx_k \to x iff d(xk,x)0d(x_k, x) \to 0 in R\mathbb{R}, For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, Every complete ordered field is Archimedean).

[L12]

An index map n:NNn : \mathbb{N} \to \mathbb{N} with nk<nk+1n_k < n_{k+1} for every kk is strictly increasing, and then nkkn_k \ge k (A strictly increasing index map satisfies nkkn_k \ge k).

[L13]

A function with domain a natural number all of whose values are nonempty sets has a choice function, in ZF (Every natural-number-indexed list of nonempty sets has a choice function on its family of values).

[L14]

A metric is symmetric and satisfies the triangle inequality, and d(x,y)=0d(x,y) = 0 exactly when x=yx = y (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric).

Proof

technique · direct
1.1

Claim 1 is immediate: an at most countable family of open sets with union XX is in particular a family of open sets with union XX, so compactness supplies the finite subfamily that countable compactness asks for.

L1
2.1

For claim 2, assume (X,d)(X,d) compact, let AXA \subseteq X have no limit point in XX, and put U:={UX:U open in X and UA has at most one element}\mathcal{U} := \{\, U \subseteq X : U \text{ open in } X \text{ and } U \cap A \text{ has at most one element} \,\}, a family cut out by a property; U\mathcal{U} has union XX, because each pXp \in X fails to be a limit point of AA and so admits r>0r > 0 with B(p,r)(A{p})=B(p,r) \cap (A \setminus \{p\}) = \emptyset, whence B(p,r)UB(p,r) \in \mathcal{U} and pB(p,r)p \in B(p,r).

L1L3step 1.1
3.1

Compactness gives nNn \in \mathbb{N} and U0,,UnUU_0, \dots, U_n \in \mathcal{U} with X=U0UnX = U_0 \cup \dots \cup U_n, unless X=X = \emptyset, in which case A=A = \emptyset is finite.

L1step 2.1
4.1

Define φ:Aσ(n)\varphi : A \to \sigma(n) by letting φ(a)\varphi(a) be the least ini \le n with aUia \in U_i; this is well defined and canonical, and it is injective, since φ(a)=φ(b)=i\varphi(a) = \varphi(b) = i puts both aa and bb in UiAU_i \cap A, a set with at most one element. Hence AA is in bijection with φ[A]\varphi[A], a subset of N\mathbb{N} bounded above by nn, so AA is finite.

L6L9step 3.1
5.1

So a subset of XX with no limit point in XX is finite; contrapositively every infinite subset of XX has a limit point in XX, and (X,d)(X,d) is limit point compact: claim 2.

L1step 4.1
6.1

For claim 3, assume (X,d)(X,d) countably compact, let (xk)(x_k) be a sequence in XX and put Tn:={xk:kn}T_n := \overline{\{\, x_k : k \ge n \,\}} for nNn \in \mathbb{N}.

L1L4step 5.1
7.1

Each TnT_n is closed and contains xnx_n, and TmTnT_m \subseteq T_n whenever mnm \ge n, because {xk:km}{xk:kn}Tn\{x_k : k \ge m\} \subseteq \{x_k : k \ge n\} \subseteq T_n and TmT_m is the smallest closed superset of the first set.

L4step 6.1
8.1

Suppose for contradiction that nNTn=\bigcap_{n \in \mathbb{N}} T_n = \emptyset; then V:={XTn:nN}\mathcal{V} := \{\, X \setminus T_n : n \in \mathbb{N} \,\} is an at most countable family of open subsets of XX whose union is XnTn=XX \setminus \bigcap_{n} T_n = X.

L3L10step 7.1assume-contra
9.1

Countable compactness gives a finite subfamily V0,,VpV_0, \dots, V_p of V\mathcal{V} with union XX; putting Wi:=XViW_i := X \setminus V_i, each WiW_i equals TnT_n for at least one nn, so finite choice applied to i{nN:Tn=Wi}i \mapsto \{\, n \in \mathbb{N} : T_n = W_i \,\} yields indices n0,,npn_0, \dots, n_p with Wi=TniW_i = T_{n_i}, and a greatest member njn_j of that list satisfies TnjTniT_{n_j} \subseteq T_{n_i} for every ipi \le p.

L7L13step 8.1
10.1

Then Tnj=Tn0Tnp=X(V0Vp)=T_{n_j} = T_{n_0} \cap \dots \cap T_{n_p} = X \setminus (V_0 \cup \dots \cup V_p) = \emptyset, contradicting xnjTnjx_{n_j} \in T_{n_j}.

step 7.1step 9.1discharge-contradiction
11.1

Hence there is pXp \in X with pTnp \in T_n for every nNn \in \mathbb{N}.

step 10.1
12.1

For every kNk \in \mathbb{N} and every mNm \in \mathbb{N} the set {jN:j>m and d(xj,p)<1/(k+2)}\{\, j \in \mathbb{N} : j > m \text{ and } d(x_j,p) < 1/(k+2) \,\} is nonempty, since pTm+1p \in T_{m+1} means that the ball B(p,1/(k+2))B(p, 1/(k+2)) meets {xj:jm+1}\{x_j : j \ge m+1\}; so it has a least element, and likewise {j:d(xj,p)<1}\{\, j : d(x_j,p) < 1 \,\} is nonempty and has a least element m0m_0.

L4L6L11step 11.1
13.1

Applying recursion on N×N\mathbb{N} \times \mathbb{N} to the starting value (0,m0)(0, m_0) and the rule f(k,m):=(k+1, the least j>m with d(xj,p)<1/(k+2))f(k,m) := (k+1,\ \text{the least } j > m \text{ with } d(x_j,p) < 1/(k+2)) produces g:NN×Ng : \mathbb{N} \to \mathbb{N} \times \mathbb{N} whose first coordinate at kk is kk; write nkn_k for its second coordinate.

L5step 12.1
14.1

Then nk<nk+1n_k < n_{k+1} for every kk, so knkk \mapsto n_k is strictly increasing, and d(xnk,p)<1/(k+1)d(x_{n_k},p) < 1/(k+1) for every kk, the case k=0k = 0 being the choice of m0m_0.

L12step 13.1
15.1

Given a rational ε>0\varepsilon > 0 take a natural N1N \ge 1 with 1/N<ε1/N < \varepsilon; for kNk \ge N one has k+1>Nk + 1 > N and so d(xnk,p)<1/(k+1)<1/N<εd(x_{n_k},p) < 1/(k+1) < 1/N < \varepsilon. Hence xnkpx_{n_k} \to p, the sequence (xk)(x_k) has a convergent subsequence, and (X,d)(X,d) is sequentially compact: claim 3.

L1L11step 14.1
16.1

For claim 4, assume (X,d)(X,d) limit point compact, let (xk)(x_k) be a sequence in XX and let R:={xk:kN}R := \{\, x_k : k \in \mathbb{N} \,\} be its range, a nonempty subset of XX.

L1step 15.1
17.1

Suppose first that RR is finite, and list it as R={v0,,vm}R = \{v_0, \dots, v_m\}; putting Si:={kN:xk=vi}S_i := \{\, k \in \mathbb{N} : x_k = v_i \,\} for imi \le m gives N=S0Sm\mathbb{N} = S_0 \cup \dots \cup S_m.

L9step 16.1
18.1

Some SiS_i is unbounded in N\mathbb{N}: otherwise each SiS_i has an upper bound in N\mathbb{N} and hence a least upper bound NiN_i, canonical by well-ordering, and a greatest member NN of the list N0,,NmN_0, \dots, N_m would satisfy N+1>NiN + 1 > N_i for every ii, so that N+1N+1 lies in no SiS_i, against N=S0Sm\mathbb{N} = S_0 \cup \dots \cup S_m. Let ii^{\ast} be the least imi \le m for which SiS_i is unbounded.

L6L7step 17.1
19.1

Recursion applied to the starting value minSi\min S_{i^{\ast}} and the rule f(m):=min{kSi:k>m}f(m) := \min \{\, k \in S_{i^{\ast}} : k > m \,\}, each of these sets being nonempty because SiS_{i^{\ast}} is unbounded, produces a strictly increasing knkk \mapsto n_k with xnk=vix_{n_k} = v_{i^{\ast}} for every kk; a constant sequence converges to its value, so xnkviXx_{n_k} \to v_{i^{\ast}} \in X.

L5L6L11L12L14step 18.1
20.1

Suppose instead that RR is infinite; limit point compactness then gives a limit point pXp \in X of RR.

L1step 19.1
21.1

Suppose for contradiction that some real r>0r > 0 and some NNN \in \mathbb{N} satisfy d(xk,p)rd(x_k,p) \ge r for every kNk \ge N.

step 20.1assume-contra
22.1

Let EE be the set listed by rr together with the NN entries eke_k for k<Nk < N, where ek:=d(xk,p)e_k := d(x_k,p) if xkpx_k \ne p and ek:=re_k := r otherwise; every listed entry is a positive real, so EE is a nonempty finite set of positive reals and s:=minE>0s := \min E > 0. Then B(p,s)B(p,s) misses R{p}R \setminus \{p\}: a point of R{p}R \setminus \{p\} is xkx_k with xkpx_k \ne p, and d(xk,p)rsd(x_k,p) \ge r \ge s when kNk \ge N, while d(xk,p)=eksd(x_k,p) = e_k \ge s when k<Nk < N. That contradicts pp being a limit point of RR.

L1L8L14step 21.1discharge-contradiction
23.1

Hence for every real r>0r > 0 and every NNN \in \mathbb{N} there is kNk \ge N with d(xk,p)<rd(x_k,p) < r.

step 22.1
24.1

Consequently, for every kk and every mm the set {j>m:d(xj,p)<1/(k+2)}\{\, j > m : d(x_j,p) < 1/(k+2) \,\} is nonempty, as is {j:d(xj,p)<1}\{\, j : d(x_j,p) < 1 \,\}, and the recursion of steps 13.1 and 14.1 applies verbatim, producing a strictly increasing knkk \mapsto n_k with d(xnk,p)<1/(k+1)d(x_{n_k},p) < 1/(k+1); by the estimate of step 15.1, xnkpx_{n_k} \to p.

L5L6L11L12step 13.1step 14.1step 15.1step 23.1
25.1

In both cases (xk)(x_k) has a subsequence converging in XX, so (X,d)(X,d) is sequentially compact: claim 4.

L1step 19.1step 24.1
26.1

Claims 1, 2, 3 and 4 are proved by steps 1.1, 5.1, 15.1 and 25.1 respectively.

step 1.1step 5.1step 15.1step 25.1

Remarks

Why "least" and not "some". At every stage of every recursion above, the next index is the least one meeting the requirement. That is what keeps the four implications inside ZF: a rule that says "take some admissible jj" would be a selection made infinitely often, and one made in terms of the previous stage, which is dependent choice (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain) rather than countable choice. The same device is what A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice cannot use, and that is exactly why that theorem, alone among the implications between the compactness properties on this page, costs dependent choice. It is not the only implication on the page with a choice cost: A complete, totally bounded metric space is compact, proved from countable choice used exactly once spends countable choice, for the different reason that it needs one net for every radius at once. The arrow-by-arrow accounting is What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice.

Finite selections are free. Step 9.1 does select, but only over the finite index set {0,,p}\{0, \dots, p\}, and Every natural-number-indexed list of nonempty sets has a choice function on its family of values proves that such a selection exists in ZF by induction on the size of the index set. Nothing is being smuggled in: what a choice principle buys is infinitely many selections at once.

The two routes to sequential compactness are genuinely different. Claim 3 works with the closures of the tails of the given sequence and needs the countable cover they generate; claim 4 works with the range of the sequence and splits on whether it is finite. Neither argument subsumes the other, and both are needed, because the equivalence proved in For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice passes through both.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A sequentially compact metric space is complete, with no choice principle used

Statement

Let (X,d)(X,d) be a sequentially compact metric space (Countably compact, sequentially compact and limit point compact metric spaces, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric). Then (X,d)(X,d) is complete (Complete metric space: every Cauchy sequence converges in the space).

The proof is a theorem of ZF: it instantiates two existential statements and selects nothing.

Facts & Assumptions

Given: A sequentially compact metric space (X,d)(X,d).

[L2]

(X,d)(X,d) is complete when every Cauchy sequence in XX converges to a point of XX (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space).

[L3]

A Cauchy sequence with a subsequence converging to pp converges to pp itself (A Cauchy sequence in a metric space with a convergent subsequence converges to that subsequence’s limit).

Proof

technique · direct
1.1

Let (xk)(x_k) be a Cauchy sequence in (X,d)(X,d).

L2
2.1

By sequential compactness there is a strictly increasing index map jnjj \mapsto n_j and a point pXp \in X with xnjpx_{n_j} \to p in (X,d)(X,d).

L1step 1.1
3.1

Since (xk)(x_k) is Cauchy and one of its subsequences converges to pp, the whole sequence converges to pp, and pXp \in X.

L3step 2.1
4.1

So every Cauchy sequence in (X,d)(X,d) converges in XX, that is (X,d)(X,d) is complete.

L2step 3.1

Remarks

The converse fails. A complete metric space need not be sequentially compact: R\mathbb{R} with its usual metric is complete, and the sequence xk=kx_k = k has no convergent subsequence, every subsequence being unbounded. What has to be added to completeness is total boundedness, and that pair is equivalent to compactness (A complete, totally bounded metric space is compact, proved from countable choice used exactly once, For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice).

Why this direction is free while the companion is not. Here the sequence is handed to the proof and sequential compactness hands back a subsequence: one object is produced, once. In A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice a point has to be produced at every stage, each in terms of the points already produced, and that is where a choice principle enters the page.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice

Statement

Assume the Axiom of Dependent Choice (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain). Let (X,d)(X,d) be a sequentially compact metric space (Countably compact, sequentially compact and limit point compact metric spaces, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric). Then (X,d)(X,d) is totally bounded (Finite ε\varepsilon-net and totally bounded metric space).

What is claimed about the cost, and what is not. Claimed: the proof below is carried out in ZF+DC\mathrm{ZF} + \mathrm{DC}, and DC\mathrm{DC} is used exactly once, at step 5.1. Not claimed: that DC\mathrm{DC} is necessary for the statement. Establishing necessity would mean separating the statement from ZF, which is an independence result, and this library proves none. The reason countable choice is not used instead is that the point added at each stage has to be at distance at least ε\varepsilon from the points already produced, so the set it is drawn from depends on the earlier stages; the first remark below spells that out.

Facts & Assumptions

Given: A sequentially compact metric space (X,d)(X,d), and the Axiom of Dependent Choice.

[L2]

(X,d)(X,d) is totally bounded when for every real ε>0\varepsilon > 0 there is a finite FXF \subseteq X, empty or listable, with X=yFB(y,ε)X = \bigcup_{y \in F} B(y,\varepsilon); equivalently, when for every real ε>0\varepsilon > 0 some finite list y0,,ym1y_0, \dots, y_{m-1} of points of XX satisfies: every xXx \in X has d(x,yi)<εd(x,y_i) < \varepsilon for some i<mi < m (Finite ε\varepsilon-net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).

[L3]

Dependent choice: for a nonempty set SS, a relation RR on SS with every element RR-related to some element, and any aSa \in S, there is a sequence (tn)(t_n) in SS with t0=at_0 = a and tnRtn+1t_n \mathbin{R} t_{n+1} for every nn (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain).

[L4]

A convergent sequence is Cauchy: if ynjpy_{n_j} \to p then for every rational ε>0\varepsilon > 0 there is KK with d(ynj,ynl)<εd(y_{n_j}, y_{n_l}) < \varepsilon for all j,lKj,l \ge K (Every convergent sequence in a metric space is Cauchy, Cauchy sequence in a metric space).

[L6]

For every real η>0\eta > 0 there is a natural N1N \ge 1 with 1/N<η1/N < \eta, and 1/N1/N is a positive rational (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, Every complete ordered field is Archimedean).

Proof

technique · contradiction
1.1

Suppose (X,d)(X,d) is sequentially compact and not totally bounded, and fix a real ε>0\varepsilon > 0 for which no finite subset of XX is an ε\varepsilon-net.

L1L2assume-contra
2.1

Then XX \ne \emptyset, since for X=X = \emptyset the empty set is an ε\varepsilon-net.

L2step 1.1
3.1

Let SS be the set of ε\varepsilon-separated finite tuples in XX, that is of functions t:mXt : m \to X with mNm \in \mathbb{N} and d(t(i),t(j))εd(t(i),t(j)) \ge \varepsilon whenever i<j<mi < j < m; the empty function, with m=0m = 0, lies in SS, so SS \ne \emptyset.

L5step 2.1
4.1

Let tRtt \mathbin{R} t' mean that t:m+1Xt' : m+1 \to X extends t:mXt : m \to X by one term with d(t(m),t(i))εd(t'(m), t(i)) \ge \varepsilon for every i<mi < m; then RR is a relation on SS and every tSt \in S is RR-related to some element of SS, because the finite set {t(0),,t(m1)}\{t(0), \dots, t(m-1)\} is not an ε\varepsilon-net, so some xXx \in X has d(x,t(i))εd(x,t(i)) \ge \varepsilon for every i<mi < m, and the extension of tt by xx lies in SS.

L2L5step 3.1
5.1

Dependent choice, applied to SS, to RR and to the empty function as starting point, yields a sequence (tn)(t_n) in SS with t0t_0 the empty function and tnRtn+1t_n \mathbin{R} t_{n+1} for every nn; this is the only appeal to a choice principle in the proof.

L3step 4.1
6.1

Each tnt_n has domain nn and tn+1t_{n+1} restricted to nn is tnt_n, both by induction on nn from the definition of RR; so yn:=tn+1(n)y_n := t_{n+1}(n) defines a sequence (yn)(y_n) in XX, and for i<ji < j both yi=tj+1(i)y_i = t_{j+1}(i) and yj=tj+1(j)y_j = t_{j+1}(j) hold, whence d(yi,yj)εd(y_i,y_j) \ge \varepsilon.

L5step 5.1
7.1

Sequential compactness gives a strictly increasing jnjj \mapsto n_j and pXp \in X with ynjpy_{n_j} \to p; that subsequence is therefore Cauchy, so, taking a natural N1N \ge 1 with 1/N<ε1/N < \varepsilon and testing the Cauchy condition at the positive rational 1/N1/N, there is KNK \in \mathbb{N} with d(ynj,ynl)<1/N<εd(y_{n_j}, y_{n_l}) < 1/N < \varepsilon for all j,lKj,l \ge K.

L1L4L6step 6.1
8.1

But nK<nK+1n_K < n_{K+1}, so step 6.1 gives d(ynK,ynK+1)εd(y_{n_K}, y_{n_{K+1}}) \ge \varepsilon, contradicting step 7.1; the assumption of step 1.1 is therefore untenable, every real ε>0\varepsilon > 0 admits a finite ε\varepsilon-net, and (X,d)(X,d) is totally bounded.

L2step 6.1step 7.1discharge-contradiction

Remarks

Why countable choice is not what this proof uses. A natural attempt is to apply ACω\mathrm{AC}_\omega to the family whose nn-th member is the set of ε\varepsilon-separated nn-tuples, each of which is nonempty by the argument of step 4.1. What that returns is one ε\varepsilon-separated nn-tuple for each nn, with no relation whatever between the tuple chosen at nn and the one chosen at n+1n+1: the tuples need not extend one another, need not share a single point, and nothing in the data assembles them into one ε\varepsilon-separated sequence. The relation RR of step 4.1 is precisely the coherence that is missing, and building a sequence along a relation is what The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain is. This is an observation about the argument given here; it is not a proof that ACω\mathrm{AC}_\omega is insufficient for the theorem.

The passage to a rational ε\varepsilon in step 7.1. Convergence and the Cauchy condition are tested against rational ε\varepsilon in this library (Convergence of a sequence in a metric space: xkxx_k \to x iff d(xk,x)0d(x_k, x) \to 0 in R\mathbb{R}, Cauchy sequence in a metric space), while the ε\varepsilon of step 1.1 is an arbitrary positive real. The reciprocal form of the Archimedean property supplies a positive rational 1/N1/N below it (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon), and the contradiction is unaffected: a Cauchy estimate at 1/Nε1/N \le \varepsilon still contradicts a separation of at least ε\varepsilon.

This is the only implication on the page that costs dependent choice, and it is the reason For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice carries DC\mathrm{DC} among its hypotheses. The full accounting is What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A complete, totally bounded metric space is compact, proved from countable choice used exactly once

Statement

Assume the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)). Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) that is complete (Complete metric space: every Cauchy sequence converges in the space) and totally bounded (Finite ε\varepsilon-net and totally bounded metric space). Then (X,d)(X,d) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space).

Where the axiom is spent, and why the weaker principle suffices. ACω\mathrm{AC}_\omega is used exactly once, at step 3.1, to fix one finite 1/(n+1)1/(n+1)-net together with a listing of it for every nNn \in \mathbb{N} at once. The family of sets being chosen from is written down before any selection is made and does not depend on the earlier selections, which is precisely the situation countable choice covers and dependent choice (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain) is not needed for. Everything after step 3.1 is canonical: at each stage the construction takes the least admissible index in the listing already fixed.

As always on this page, the claim is an upper bound on the cost of the proof given here, not an assertion that ACω\mathrm{AC}_\omega is necessary for the theorem.

Facts & Assumptions

Given: A complete, totally bounded metric space (X,d)(X,d), an open cover of it, and the Axiom of Countable Choice.

[L1]

(X,d)(X,d) is compact when every family U\mathcal{U} of open subsets of XX with union XX has a finite subfamily with union XX; UU open means every point of UU has a ball around it inside UU (Open cover, subcover, compact metric space, and compact subset of a metric space, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Open ball, closed ball and sphere in a metric space).

[L2]

(X,d)(X,d) is totally bounded: for every real δ>0\delta > 0 there is a finite FXF \subseteq X with X=yFB(y,δ)X = \bigcup_{y \in F} B(y,\delta), and a nonempty finite set can be listed (Finite ε\varepsilon-net and totally bounded metric space, Open cover, subcover, compact metric space, and compact subset of a metric space).

[L3]

Countable choice: for a family (En)nN(E_n)_{n \in \mathbb{N}} of nonempty sets there is a function nenn \mapsto e_n with enEne_n \in E_n for every nn (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)).

[L4]

Recursion: for a set AA, an element aAa \in A and a function f:AAf : A \to A there is a unique g:NAg : \mathbb{N} \to A with g(0)=ag(0) = a and g(n+1)=f(g(n))g(n+1) = f(g(n)); a stage-dependent rule is handled on A=N×ZA = \mathbb{N} \times Z, the first coordinate of g(n)g(n) then being nn (The recursion theorem, Finite sums and finite products, by recursion).

[L5]

Every nonempty subset of N\mathbb{N} has a least element, and the order of N\mathbb{N} is linear (The well-ordering principle, \le is a linear order on N\mathbb{N}).

[L6]

A function with domain a natural number all of whose values are nonempty sets has a choice function, in ZF (Every natural-number-indexed list of nonempty sets has a choice function on its family of values).

[L7]

(X,d)(X,d) is complete: every Cauchy sequence converges in XX; (cn)(c_n) is Cauchy when for every rational η>0\eta > 0 there is KK with d(cn,cm)<ηd(c_n,c_m) < \eta for n,mKn,m \ge K; and cnpc_n \to p when for every rational η>0\eta > 0 there is KK with d(cn,p)<ηd(c_n,p) < \eta for nKn \ge K (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space, Convergence of a sequence in a metric space: xkxx_k \to x iff d(xk,x)0d(x_k, x) \to 0 in R\mathbb{R}, Sequences of reals: bounded, eventually, frequently, tails, subsequences).

[L8]

For every real η>0\eta > 0 there is a natural N1N \ge 1 with 1/N<η1/N < \eta, and 1/N1/N is a positive rational; reciprocals of positives are positive and reverse the order (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).

Proof

technique · contradiction
1.1

Suppose (X,d)(X,d) is complete and totally bounded and that some family U\mathcal{U} of open subsets of XX with union XX has no finite subfamily with union XX; call a subset SXS \subseteq X finitely covered when some finite subfamily of U\mathcal{U} has union containing SS, so that XX itself is not finitely covered.

L1assume-contra
2.1

XX \ne \emptyset, since the empty subfamily of U\mathcal{U} has union \emptyset and would finitely cover an empty XX; consequently, for each nNn \in \mathbb{N}, the set EnE_n of pairs (m,f)(m,f) with mNm \in \mathbb{N} and f:σ(m)Xf : \sigma(m) \to X such that {f(0),,f(m)}\{f(0), \dots, f(m)\} is a finite 1/(n+1)1/(n+1)-net for XX is nonempty.

L2L8step 1.1
3.1

Countable choice applied to (En)nN(E_n)_{n \in \mathbb{N}} fixes, once and for all, a function n(mn,fn)n \mapsto (m_n, f_n) with (mn,fn)En(m_n,f_n) \in E_n; this is the single appeal to a choice principle in this proof, and the family (En)(E_n) was written down at step 2.1 before any of it was made.

L3step 2.1
4.1

If SXS \subseteq X is not finitely covered and nNn \in \mathbb{N}, then SB(fn(i),1/(n+1))S \cap B(f_n(i), 1/(n+1)) fails to be finitely covered for at least one imni \le m_n: otherwise finite choice applied to i{finite subfamilies of U covering SB(fn(i),1/(n+1))}i \mapsto \{\text{finite subfamilies of } \mathcal{U} \text{ covering } S \cap B(f_n(i), 1/(n+1))\} produces one such subfamily for each imni \le m_n, and the concatenation of those finitely many finite lists is a finite subfamily of U\mathcal{U} whose union contains S=imn(SB(fn(i),1/(n+1)))S = \bigcup_{i \le m_n} \big(S \cap B(f_n(i), 1/(n+1))\big).

L2L6step 3.1
5.1

Let i(n,S)i(n,S) be the least imni \le m_n with SB(fn(i),1/(n+1))S \cap B(f_n(i), 1/(n+1)) not finitely covered when such an ii exists, and 00 otherwise; recursion on N×P(X)\mathbb{N} \times \mathcal{P}(X) with starting value (0,X)(0, X) and rule F(n,S):=(n+1, SB(fn(i(n,S)),1/(n+1)))F(n,S) := \big(n+1,\ S \cap B(f_n(i(n,S)), 1/(n+1))\big) then produces g:NN×P(X)g : \mathbb{N} \to \mathbb{N} \times \mathcal{P}(X) whose first coordinate at nn is nn; write AnA_n for its second coordinate and cn:=fn(i(n,An))c_n := f_n(i(n,A_n)).

L4L5step 4.1
6.1

By induction, no AnA_n is finitely covered: A0=XA_0 = X is not, by step 1.1, and if AnA_n is not then step 4.1 supplies an admissible ii, so i(n,An)i(n,A_n) is one and An+1=AnB(cn,1/(n+1))A_{n+1} = A_n \cap B(c_n, 1/(n+1)) is not finitely covered either. In particular every AnA_n is nonempty, since the empty set is finitely covered by the empty subfamily; moreover An+1AnA_{n+1} \subseteq A_n and An+1B(cn,1/(n+1))A_{n+1} \subseteq B(c_n, 1/(n+1)).

step 4.1step 5.1
7.1

The sequence (cn)(c_n) is Cauchy: for mnm \ge n one has Am+1An+1B(cn,1/(n+1))A_{m+1} \subseteq A_{n+1} \subseteq B(c_n, 1/(n+1)) and Am+1B(cm,1/(m+1))A_{m+1} \subseteq B(c_m, 1/(m+1)), and taking zAm+1z \in A_{m+1} gives d(cn,cm)d(cn,z)+d(z,cm)<1/(n+1)+1/(m+1)2/(n+1)d(c_n,c_m) \le d(c_n,z) + d(z,c_m) < 1/(n+1) + 1/(m+1) \le 2/(n+1); so given a rational η>0\eta > 0, a natural N1N \ge 1 with 1/N<η/21/N < \eta/2 makes d(cn,cm)<ηd(c_n,c_m) < \eta for all n,mNn,m \ge N.

L8L9step 6.1
8.1

By completeness cnpc_n \to p for some pXp \in X; since U\mathcal{U} has union XX there is UUU \in \mathcal{U} with pUp \in U, and openness of UU gives a real r>0r > 0 with B(p,r)UB(p,r) \subseteq U.

L1L7step 7.1
9.1

Take a natural N1N \ge 1 with 1/N<r/21/N < r/2, then KNK \in \mathbb{N} with d(cn,p)<1/Nd(c_n,p) < 1/N for all nKn \ge K, and let nn be whichever of NN and KK is the greater; then 1/(n+1)<1/N<r/21/(n+1) < 1/N < r/2 and d(cn,p)<r/2d(c_n,p) < r/2, so every yAn+1B(cn,1/(n+1))y \in A_{n+1} \subseteq B(c_n,1/(n+1)) satisfies d(y,p)d(y,cn)+d(cn,p)<rd(y,p) \le d(y,c_n) + d(c_n,p) < r, that is An+1B(p,r)UA_{n+1} \subseteq B(p,r) \subseteq U.

L5L7L8L9step 8.1
10.1

So the one-member subfamily {U}\{U\} of U\mathcal{U} has union containing An+1A_{n+1}, making An+1A_{n+1} finitely covered and contradicting step 6.1; the assumption of step 1.1 therefore fails, every family of open sets with union XX has a finite subfamily with union XX, and (X,d)(X,d) is compact.

L1step 6.1step 9.1discharge-contradiction

Remarks

Why the nets have to be chosen with their listings. Total boundedness asserts that a finite 1/(n+1)1/(n+1)-net exists for each nn; it names none, and a bare net is a set, which carries no order in which its points may be scanned. The construction needs both: a net for each nn, so that the sets AnA_n shrink, and a listing of it, so that "the least admissible index" is meaningful. That is why the chosen object at step 3.1 is the pair (mn,fn)(m_n, f_n) and not the net alone.

Non-dependent, and that is the whole point. The sets EnE_n of step 2.1 depend on nn and on (X,d)(X,d), and on nothing that the construction produces. Had the net at stage n+1n+1 been required to depend on AnA_n — for instance a net of the set AnA_n rather than of XX — the selection would have been dependent and countable choice would not have licensed it; the cost would then have been the dependent choice of The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain, as in A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice. Keeping the nets fixed in advance and intersecting with balls of XX is what holds the price down.

Both hypotheses are needed. A totally bounded space that is not complete need not be compact (FALSE: a totally bounded metric space is compact, The open interval (0,1)(0,1) is totally bounded and not compact, the cover by the intervals (1/(k+2),1)(1/(k+2), 1) having no finite subcover ), and a complete space that is not totally bounded need not be compact either, R\mathbb{R} with its usual metric being complete and having no finite 11-net.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice

Statement

Assume the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)) and the Axiom of Dependent Choice (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain). Let (X,d)(X,d) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric). Then the following five conditions are equivalent.

The two hypotheses are not needed everywhere, and the statement should not be read as if they were. Of the implications assembled below, all but two are theorems of ZF. Dependent choice is used only for "sequentially compact implies totally bounded" (A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice), and countable choice only for "complete and totally bounded implies compact" (A complete, totally bounded metric space is compact, proved from countable choice used exactly once). Each is an upper bound on the cost of the proof given in this library and not a claim of necessity; the implication-by-implication account is What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice.

Facts & Assumptions

Given: A metric space (X,d)(X,d), the Axiom of Countable Choice, and the Axiom of Dependent Choice.

[L1]

In ZF: a compact metric space is countably compact and limit point compact, and each of countable compactness and limit point compactness implies sequential compactness (In any metric space compactness implies countable compactness and limit point compactness, and each of countable compactness and limit point compactness implies sequential compactness; every implication here is proved without a choice principle).

[L2]

In ZF: a sequentially compact metric space is complete (A sequentially compact metric space is complete, with no choice principle used).

[L3]

Assuming dependent choice: a sequentially compact metric space is totally bounded (A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice).

[L4]

Assuming countable choice: a complete, totally bounded metric space is compact (A complete, totally bounded metric space is compact, proved from countable choice used exactly once).

Proof

technique · direct
1.1

(a) implies (b), and (a) implies (c).

L1
1.2

(b) implies (d), and (c) implies (d).

L1
2.1

(d) implies (e): completeness of a sequentially compact space is a theorem of ZF, and total boundedness follows from dependent choice.

L2L3step 1.2
3.1

(e) implies (a), by countable choice.

L4step 2.1
4.1

The cycle (a) \Rightarrow (b) \Rightarrow (d) \Rightarrow (e) \Rightarrow (a) is closed by steps 1.1, 1.2, 2.1 and 3.1, so the four conditions (a), (b), (d) and (e) are equivalent to one another.

step 1.1step 1.2step 2.1step 3.1
5.1

Condition (c) joins them: (a) implies (c) by step 1.1 and (c) implies (d) by step 1.2, while (d) implies (a) through the cycle of step 4.1.

step 1.1step 1.2step 4.1
6.1

Hence all five conditions are equivalent; and the implication (a) \Rightarrow (e), which the cycle obtains only by going round through (b) and (d), also holds directly and choice-freely.

L5step 4.1step 5.1

Remarks

Read the equivalence with the ledger beside it. The theorem as stated carries two choice hypotheses, and a reader working in ZF alone still keeps a great deal: by In any metric space compactness implies countable compactness and limit point compactness, and each of countable compactness and limit point compactness implies sequential compactness; every implication here is proved without a choice principle and A compact metric space is complete and totally bounded, and neither implication uses any choice principle, compactness implies all four of the other conditions with no choice at all, and by A sequentially compact metric space is complete, with no choice principle used sequential compactness implies completeness. What fails without choice is the return journey, from the weaker conditions back to compactness.

The direct route from (a) to (e) is worth keeping. Step 6.1 records that A compact metric space is complete and totally bounded, and neither implication uses any choice principle proves (a) \Rightarrow (e) in ZF, whereas reading it off the cycle would route it through (b) and (d) and, at the last leg, through dependent choice. A cycle of implications transmits the weakest hypothesis around it; the individual arrows do not, and it is the individual arrows that the ledger records.

Nothing here is claimed for topological spaces. All five conditions make sense more generally, and the equivalences above are proved for metric spaces only, every argument using the metric.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Heine-Borel in Rn\mathbb{R}^n: with the Euclidean metric a subset of Rn\mathbb{R}^n is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line

Statement

Let nNn \in \mathbb{N} with n1n \ge 1, let Rn\mathbb{R}^n be the set of functions nRn \to \mathbb{R} and let d2d_2 be the Euclidean metric on it (Rn\mathbb{R}^n as the set of functions nRn \to \mathbb{R}, and d1d_1, d2d_2, dd_\infty are metrics on it). Then:

  1. Closed boxes are compact. For reals akbka_k \le b_k (k<n)(k < n) the box Q={xRn:akxkbk for every k<n}Q = \{\, x \in \mathbb{R}^n : a_k \le x_k \le b_k \text{ for every } k < n \,\} is a compact subset of (Rn,d2)(\mathbb{R}^n, d_2) (Open cover, subcover, compact metric space, and compact subset of a metric space).
  2. Heine-Borel. A subset KRnK \subseteq \mathbb{R}^n is a compact subset of (Rn,d2)(\mathbb{R}^n, d_2) if and only if KK is closed in Rn\mathbb{R}^n (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement) and bounded (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
  3. The real line. A subset KRK \subseteq \mathbb{R} is a compact subset of (R,dR)(\mathbb{R}, d_{\mathbb{R}}), the usual metric dR(x,y)=xyd_{\mathbb{R}}(x,y) = |x-y| (The absolute value makes R\mathbb{R} a metric space: d(x,y)=xyd(x,y) = |x-y| is a metric, its open balls are the intervals (xr,x+r)(x-r, x+r), and it is unbounded), if and only if KK is closed in R\mathbb{R} and bounded.

No choice principle is used. The bisection below halves one coordinate at a time and takes the left half whenever the left half still fails to be finitely covered, the right half otherwise: a rule with two outcomes, decided by a property of the box, not a selection. That is the whole reason the theorem is available in ZF, while the general "complete and totally bounded implies compact" (A complete, totally bounded metric space is compact, proved from countable choice used exactly once) is not.

The hypothesis n1n \ge 1 is inherited from Rn\mathbb{R}^n as the set of functions nRn \to \mathbb{R}, and d1d_1, d2d_2, dd_\infty are metrics on it, which defines Rn\mathbb{R}^n and its metrics only there; the last remark below records what happens at n=0n = 0.

Facts & Assumptions

Given: A natural number n1n \ge 1, the metric space (Rn,d2)(\mathbb{R}^n, d_2), and the notions of open, closed, bounded and compact subset in it.

[L1]

Rn\mathbb{R}^n is the set of functions nRn \to \mathbb{R}, and d2(x,y)=k<n(xkyk)2d_2(x,y) = \sqrt{\sum_{k<n}(x_k-y_k)^2}, d(x,y)=max{xkyk:k<n}d_\infty(x,y) = \max\{|x_k - y_k| : k < n\} are metrics on it (Rn\mathbb{R}^n as the set of functions nRn \to \mathbb{R}, and d1d_1, d2d_2, dd_\infty are metrics on it, Finite sums and finite products, by recursion, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric).

[L2]

Finite sums of nonnegative terms dominate each term and are monotone, and k<nc=ι(n)c\sum_{k<n} c = \iota(n)c for a constant cc, ι(n)\iota(n) being the canonical natural of R\mathbb{R} (Laws of finite sums and finite products, Finite sums and finite products, by recursion, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field).

[L3]

For a,b0a,b \ge 0: aba \le b exactly when a2b2a^2 \le b^2; every a0a \ge 0 has a unique nonnegative square root; and c2=c\sqrt{c^2} = |c| for every real cc (Squaring is monotone on the nonnegatives, Square roots exist: a unique a0\sqrt{a} \ge 0 with (a)2=a(\sqrt{a})^2 = a; the positives are {x2:x0}\{x^2 : x \neq 0\}, Absolute value in an ordered field).

[L4]

A subset AA is compact exactly when every family (Ui)iI(U_i)_{i \in I} of open subsets of the ambient space with AiIUiA \subseteq \bigcup_{i \in I} U_i has finitely many members whose union contains AA, or A=A = \emptyset; and the sets open in the subspace AA are exactly the traces on AA of the open subsets of the ambient space, so, taking complements inside AA, the sets closed in AA are exactly the traces on AA of the closed subsets of the ambient space (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, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Isometry, isometric embedding, and the subspace metric on a subset).

[L5]

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

[L6]

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

[L7]

Nested closed bounded intervals Im=[αm,βm]I_m = [\alpha_m,\beta_m] with Im+1ImI_{m+1} \subseteq I_m have nonempty intersection, and the intersection is a single point exactly when the lengths tend to 00 (A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to 00, Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length, Limits and Cauchy sequences of reals).

[L8]

Recursion: for a set AA, an element aAa \in A and f:AAf : A \to A there is a unique g:NAg : \mathbb{N} \to A with g(0)=ag(0) = a and g(m+1)=f(g(m))g(m+1) = f(g(m)); a stage-dependent rule is handled on A=N×ZA = \mathbb{N} \times Z, the first coordinate of g(m)g(m) then being mm (The recursion theorem, Finite sums and finite products, by recursion).

[L10]

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

[L11]

Proof

technique · direct
1.1

For x,yRnx,y \in \mathbb{R}^n and k<nk < n the term (xkyk)2(x_k-y_k)^2 is one of the nonnegative terms of j<n(xjyj)2\sum_{j<n}(x_j-y_j)^2, so (xkyk)2d2(x,y)2(x_k-y_k)^2 \le d_2(x,y)^2, and taking nonnegative square roots gives xkykd2(x,y)|x_k - y_k| \le d_2(x,y); hence d(x,y)d2(x,y)d_\infty(x,y) \le d_2(x,y).

L1L2L3
1.2

Conversely each (xjyj)2d(x,y)2(x_j-y_j)^2 \le d_\infty(x,y)^2, so d2(x,y)2ι(n)d(x,y)2(ι(n)d(x,y))2d_2(x,y)^2 \le \iota(n)\,d_\infty(x,y)^2 \le \big(\iota(n) d_\infty(x,y)\big)^2, the last step because ι(n)1\iota(n) \ge 1; hence d2(x,y)ι(n)d(x,y)d_2(x,y) \le \iota(n)\, d_\infty(x,y).

L1L2L3
2.1

For claim 1 fix reals akbka_k \le b_k (k<n)(k<n) and the box QQ they determine, let (Ui)iI(U_i)_{i \in I} be open subsets of Rn\mathbb{R}^n with QiIUiQ \subseteq \bigcup_{i \in I} U_i, call a set SRnS \subseteq \mathbb{R}^n finitely covered when finitely many of the UiU_i have union containing SS, and suppose for contradiction that QQ is not finitely covered.

L4step 1.1step 1.2assume-contra
3.1

For a box P={x:cjxjej (j<n)}P = \{\, x : c_j \le x_j \le e_j \ (j<n) \,\} with cjejc_j \le e_j and for k<nk < n, let Pk,0P^{k,0} and Pk,1P^{k,1} be the boxes obtained by replacing the kk-th interval [ck,ek][c_k,e_k] by [ck,(ck+ek)/2][c_k, (c_k+e_k)/2] and by [(ck+ek)/2,ek][(c_k+e_k)/2, e_k]; then P=Pk,0Pk,1P = P^{k,0} \cup P^{k,1} by trichotomy applied to xkx_k against the midpoint, the kk-th side length of each is (ekck)/2(e_k-c_k)/2 and the others are unchanged, and if both halves were finitely covered so would PP be, the union of two finite subfamilies being finite. Define Hk(P):=Pk,0H_k(P) := P^{k,0} if Pk,0P^{k,0} is not finitely covered, and Hk(P):=Pk,1H_k(P) := P^{k,1} otherwise; this is a definition by a property, and Hk(P)H_k(P) is not finitely covered whenever PP is.

L7step 2.1
4.1

Recursion on N×Z\mathbb{N} \times Z, with ZZ the set of functions from boxes to boxes, starting value (0,id)(0, \mathrm{id}) and rule (j,h)(j+1, Hjh)(j, h) \mapsto (j+1,\ H_j \circ h) for j<nj < n and (j,h)(j+1,h)(j,h) \mapsto (j+1,h) otherwise, produces GjG_j for every jj; put G:=GnG := G_n. By induction on jnj \le n, Gj(P)PG_j(P) \subseteq P is a box whose kk-th side is half that of PP for k<jk < j and equal to that of PP for kjk \ge j, and Gj(P)G_j(P) is not finitely covered when PP is not. So G(P)PG(P) \subseteq P halves every side and preserves not being finitely covered.

L8step 3.1
5.1

Recursion applied to the starting value QQ and the rule GG produces boxes PmP_m with P0=QP_0 = Q and Pm+1=G(Pm)P_{m+1} = G(P_m); each PmP_m fails to be finitely covered, Pm+1PmP_{m+1} \subseteq P_m, and the kk-th side length of PmP_m is k(1/2)m\ell_k (1/2)^m, where k:=bkak0\ell_k := b_k - a_k \ge 0.

L8step 4.1
6.1

For each k<nk < n the kk-th intervals of the PmP_m form a nested family of closed bounded intervals whose lengths k(1/2)m\ell_k(1/2)^m tend to 00, so their intersection is a single point pkp_k; the function p:nRp : n \to \mathbb{R}, kpkk \mapsto p_k, is a point of Rn\mathbb{R}^n lying in every PmP_m.

L7L9step 5.1
7.1

Since pP0=QiIUip \in P_0 = Q \subseteq \bigcup_{i \in I} U_i, there is iIi^{\ast} \in I with pUip \in U_{i^{\ast}}, and openness gives a real r>0r > 0 with B(p,r)UiB(p,r) \subseteq U_{i^{\ast}}.

L11step 6.1
8.1

Put L:=max{k:k<n}0L := \max\{\ell_k : k < n\} \ge 0 and C:=ι(n)L+1>0C := \iota(n) L + 1 > 0; for xPmx \in P_m each xkpk|x_k - p_k| is at most the kk-th side length of PmP_m, so d(x,p)L(1/2)md_\infty(x,p) \le L (1/2)^m and d2(x,p)ι(n)L(1/2)mC(1/2)md_2(x,p) \le \iota(n) L (1/2)^m \le C (1/2)^m by step 1.2. Taking a natural N1N \ge 1 with 1/N<r/C1/N < r/C and then mm with (1/2)m<1/N(1/2)^m < 1/N gives PmB(p,r)UiP_m \subseteq B(p,r) \subseteq U_{i^{\ast}}, so PmP_m is finitely covered by the single set UiU_{i^{\ast}}, contradicting step 5.1.

L9L10L12step 1.2step 5.1step 6.1step 7.1discharge-contradiction
9.1

Therefore every such family has finitely many members covering QQ, and QQ is a compact subset of (Rn,d2)(\mathbb{R}^n,d_2): claim 1 is proved.

L4step 2.1step 8.1
10.1

For claim 2, a compact KRnK \subseteq \mathbb{R}^n is closed and bounded.

L5step 9.1
11.1

Conversely let KRnK \subseteq \mathbb{R}^n be closed and bounded; if K=K = \emptyset it is compact, and otherwise KB(x0,ρ)K \subseteq B(x_0,\rho) for some x0x_0 and real ρ>0\rho > 0, so every xKx \in K and k<nk < n satisfy xk(x0)k+xk(x0)k(x0)k+d2(x,x0)<(x0)k+ρ|x_k| \le |(x_0)_k| + |x_k - (x_0)_k| \le |(x_0)_k| + d_2(x,x_0) < |(x_0)_k| + \rho by step 1.1; with M:=max{(x0)k:k<n}+ρM := \max\{|(x_0)_k| : k < n\} + \rho the box QM:={x:MxkM (k<n)}Q_M := \{\, x : -M \le x_k \le M \ (k<n) \,\} contains KK.

L10L11step 1.1step 10.1
12.1

KK is the trace on QMQ_M of a closed subset of Rn\mathbb{R}^n, namely of KK itself, so KK is closed in the metric subspace QMQ_M; that subspace is compact by step 9.1, so KK is compact, and claim 2 is proved.

L4L6step 9.1step 11.1
13.1

For claim 3, let ψ:RR1\psi : \mathbb{R} \to \mathbb{R}^1 send tt to the function 1R1 \to \mathbb{R} with value tt; it is a bijection and d2(ψ(s),ψ(t))=(st)2=st=dR(s,t)d_2(\psi(s),\psi(t)) = \sqrt{(s-t)^2} = |s-t| = d_{\mathbb{R}}(s,t), so ψ\psi carries each ball onto the corresponding ball, hence open sets onto open sets and open covers onto open covers with matching finite subfamilies, and likewise closed sets onto closed sets and bounded sets onto bounded sets. Applying claim 2 with n=1n = 1 to ψ[K]\psi[K] therefore gives claim 3.

L1L3L4L11step 12.1

Remarks

Why the bisection halves one coordinate at a time. Halving all nn coordinates at once produces 2n2^n sub-boxes, and choosing one of them canonically means enumerating them, which needs a bijection between the functions n{0,1}n \to \{0,1\} and a natural number. Halving a single coordinate produces two sub-boxes, and "the left one if it is still not finitely covered, the right one otherwise" is a definition by cases needing nothing at all. Composing nn such halvings, as step 4.1 does, recovers the full halving of every side and keeps the construction canonical, which is what a choice-free proof requires.

Where each hypothesis is used. Closedness enters only at step 12.1, through A closed subset of a compact metric space is compact; boundedness enters only at step 11.1, to fit KK inside a box. Dropping either leaves a non-compact set: the whole of Rn\mathbb{R}^n is closed and unbounded, and an open ball is bounded and not closed, and neither is compact by claim 2.

The converse direction is what fails in a general metric space. Claim 2 says that in Rn\mathbb{R}^n closed and bounded is enough; that is special to Rn\mathbb{R}^n, and FALSE: a closed and bounded subset of a metric space is compact records the false general statement together with a witness. What survives in every metric space is only the direction of step 10.1 (A compact subset of a metric space is closed and bounded).

The case n=0n = 0. R0\mathbb{R}^0 has exactly one element, the empty function, and Rn\mathbb{R}^n as the set of functions nRn \to \mathbb{R}, and d1d_1, d2d_2, dd_\infty are metrics on it does not treat it, because dd_\infty would be a maximum over the empty index set. On a one-element set the only metric is the one taking the value 00, and the resulting space is compact for trivial reasons: it is listed as {x0}\{x_0\}, and any family of open sets covering it has a member containing x0x_0 (Open cover, subcover, compact metric space, and compact subset of a metric space). Nothing above is needed for that case and nothing above claims it.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset

Statement

Let (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) be metric spaces (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let f:XYf : X \to Y be continuous (Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form). Then:

  1. If (X,dX)(X,d_X) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space), the image f[X]Yf[X] \subseteq Y is a compact subset of YY.
  2. More generally, if KXK \subseteq X is a compact subset of XX, then f[K]f[K] is a compact subset of YY.

No choice principle is used.

Facts & Assumptions

Given: Metric spaces (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) and a continuous f:XYf : X \to Y; images and preimages are written f[]f[\,\cdot\,] and f1[]f^{-1}[\,\cdot\,] (Injection, surjection, bijection).

[L1]

A subset AA of a metric space is compact exactly when for every family (Vi)iI(V_i)_{i \in I} of open subsets of the ambient space with AiIViA \subseteq \bigcup_{i \in I} V_i there are nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with AVi0VinA \subseteq V_{i_0} \cup \dots \cup V_{i_n}, or else A=A = \emptyset; and a space is a compact subset of itself exactly when it is a compact metric space (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).

[L3]

The restriction of ff to a metric subspace (K,dK)(K,d_K) of XX is continuous as a map (K,dK)(Y,dY)(K,d_K) \to (Y,d_Y), since the ε\varepsilon-δ\delta condition at a point of KK is the condition for ff at that point read for the points of KK only, and dKd_K is the restriction of dXd_X (Isometry, isometric embedding, and the subspace metric on a subset, Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form).

Proof

technique · direct
1.1

Assume (X,dX)(X,d_X) compact and let (Vi)iI(V_i)_{i \in I} be a family of open subsets of YY with f[X]iIVif[X] \subseteq \bigcup_{i \in I} V_i.

L1
2.1

Each f1[Vi]f^{-1}[V_i] is open in XX, and X=iIf1[Vi]X = \bigcup_{i \in I} f^{-1}[V_i], because every xXx \in X has f(x)f[X]f(x) \in f[X] and so f(x)Vif(x) \in V_i for some ii.

L2step 1.1
3.1

If X=X = \emptyset then f[X]=f[X] = \emptyset and there is nothing to prove; otherwise compactness of XX, read against the indexed family of step 2.1, gives nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with X=f1[Vi0]f1[Vin]X = f^{-1}[V_{i_0}] \cup \dots \cup f^{-1}[V_{i_n}].

L1step 2.1
4.1

Every yf[X]y \in f[X] is f(x)f(x) for some xXx \in X, and that xx lies in some f1[Vij]f^{-1}[V_{i_j}], so yVijy \in V_{i_j}; hence f[X]Vi0Vinf[X] \subseteq V_{i_0} \cup \dots \cup V_{i_n} and f[X]f[X] is a compact subset of YY: claim 1.

L1step 3.1
5.1

For claim 2, let KXK \subseteq X be a compact subset, so that (K,dK)(K,d_K) is a compact metric space; the restriction of ff to KK is continuous, and its image is f[K]f[K], so claim 1 applied to that restriction gives that f[K]f[K] is a compact subset of YY.

L1L3step 4.1

Remarks

Compactness travels forwards, not backwards. The preimage of a compact set under a continuous map need not be compact: a constant map from an unbounded space has a one-point image. What claim 1 uses is that preimages of open sets are open, which is the content of continuity, together with the fact that a finite subcover upstairs projects to a finite subcover downstairs.

Consequences on this page. Claim 1 with Y=RY = \mathbb{R} gives the extreme value theorem (A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value), and claim 2 is what makes the inverse of a continuous bijection from a compact space continuous (A continuous bijection from a compact metric space onto a metric space carries open sets to open sets, so its inverse is continuous).

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value

Statement

Let (X,d)(X,d) be a nonempty compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let f:XRf : X \to \mathbb{R} be continuous (Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form), R\mathbb{R} carrying its usual metric dR(s,t)=std_{\mathbb{R}}(s,t) = |s-t| (The absolute value makes R\mathbb{R} a metric space: d(x,y)=xyd(x,y) = |x-y| is a metric, its open balls are the intervals (xr,x+r)(x-r, x+r), and it is unbounded). Then the image f[X]f[X] is bounded above and below (Lower bound, bounded below, bounded set), and it has a maximum and a minimum (Maximum and minimum of a set): there are points xmax,xminXx_{\max}, x_{\min} \in X with

f(xmin)    f(x)    f(xmax)for every xX,f(x_{\min}) \;\le\; f(x) \;\le\; f(x_{\max}) \qquad \text{for every } x \in X,

and then f(xmax)=supf[X]f(x_{\max}) = \sup f[X] and f(xmin)=inff[X]f(x_{\min}) = \inf f[X] (Complete ordered field (least-upper-bound property), Greatest lower bound (infimum)).

Nonemptiness of XX is a hypothesis and not an oversight: for X=X = \emptyset the image is empty and has neither a supremum nor a maximum. No choice principle is used.

Facts & Assumptions

Given: A nonempty compact metric space (X,d)(X,d) and a continuous f:XRf : X \to \mathbb{R}.

[L1]

The image of a compact metric space under a continuous map is a compact subset of the codomain (The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset).

[L4]

A nonempty subset of R\mathbb{R} that is bounded above has a supremum, and one bounded below has an infimum (Complete ordered field (least-upper-bound property), Greatest lower bound (infimum), Lower bound, bounded below, bounded set).

[L5]

For SS nonempty and bounded above with supremum uu: for every real ε>0\varepsilon > 0 there is sSs \in S with uε<suu - \varepsilon < s \le u; dually for the infimum (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).

[L7]

A subset of a metric space is compact exactly when the corresponding metric subspace is compact, the subspace metric being the restriction (Open cover, subcover, compact metric space, and compact subset of a metric space, Isometry, isometric embedding, and the subspace metric on a subset).

Proof

technique · direct
1.1

f[X]f[X] is a compact subset of (R,dR)(\mathbb{R}, d_{\mathbb{R}}), and it is nonempty because XX is.

L1L7
2.1

So f[X]f[X] is closed in R\mathbb{R} and bounded as a subset of the metric space (R,dR)(\mathbb{R},d_{\mathbb{R}}): there are x0Rx_0 \in \mathbb{R} and a real ρ>0\rho > 0 with f[X]B(x0,ρ)=(x0ρ, x0+ρ)f[X] \subseteq B(x_0,\rho) = (x_0-\rho,\ x_0+\rho).

L2L3step 1.1
3.1

Hence x0+ρx_0 + \rho is an upper bound and x0ρx_0 - \rho a lower bound of f[X]f[X], so f[X]f[X] is bounded above and below, and being nonempty it has a supremum uu and an infimum \ell.

L4step 2.1
4.1

For every real ε>0\varepsilon > 0 there is tf[X]t \in f[X] with uε<tuu - \varepsilon < t \le u, so tu<ε|t - u| < \varepsilon and tB(u,ε)f[X]t \in B(u,\varepsilon) \cap f[X]; therefore every ball around uu meets f[X]f[X] and uu lies in the closure of f[X]f[X].

L3L5L6step 3.1
5.1

Since f[X]f[X] is closed, uf[X]u \in f[X]; so uu is a member of f[X]f[X] bounding it above, that is u=maxf[X]u = \max f[X], and u=f(xmax)u = f(x_{\max}) for some xmaxXx_{\max} \in X.

L6step 2.1step 4.1
6.1

The same argument with \ell in place of uu, using the infimum form of step 4.1, gives f[X]\ell \in f[X], so =minf[X]\ell = \min f[X] and =f(xmin)\ell = f(x_{\min}) for some xminXx_{\min} \in X.

L5L6step 3.1step 5.1
7.1

For every xXx \in X the value f(x)f(x) lies in f[X]f[X], hence f(xmin)=f(x)u=f(xmax)f(x_{\min}) = \ell \le f(x) \le u = f(x_{\max}), which is the assertion, with f(xmax)=supf[X]f(x_{\max}) = \sup f[X] and f(xmin)=inff[X]f(x_{\min}) = \inf f[X].

L4step 3.1step 5.1step 6.1

Remarks

Compactness is what is used, not boundedness of the domain. A bounded non-compact domain is not enough: on the interval (0,1)(0,1) the identity map is continuous and bounded with no greatest value, and x1/xx \mapsto 1/x is continuous and unbounded (On (0,1)(0,1) the identity is bounded with no greatest value and x1/xx \mapsto 1/x is continuous and unbounded, so the extreme value theorem needs compactness and not merely boundedness of the domain ).

Why the supremum has to be shown to be attained at all. supf[X]\sup f[X] exists as soon as f[X]f[X] is nonempty and bounded above, which needs only boundedness; what compactness adds is that f[X]f[X] is closed, and a closed set contains the supremum it approaches. Steps 4.1 and 5.1 are exactly that passage, and they are where the theorem is more than the least-upper-bound property.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Every open cover of a compact metric space has a Lebesgue number: a δ>0\delta > 0 such that every nonempty subset of diameter less than δ\delta lies inside a single member of the cover

Statement

Let (X,d)(X,d) be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let U\mathcal{U} be an open cover of XX. Then there is a real δ>0\delta > 0, a Lebesgue number for U\mathcal{U}, such that every nonempty AXA \subseteq X with diam(A)<δ\operatorname{diam}(A) < \delta (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space) satisfies AUA \subseteq U for some UUU \in \mathcal{U}.

Diameters of nonempty subsets of XX are defined because a compact space is bounded (A compact subset of a metric space is closed and bounded) and a subset of a bounded set is bounded. No choice principle is used.

Facts & Assumptions

Given: A compact metric space (X,d)(X,d) and an open cover U\mathcal{U} of it.

[L2]

A compact metric space is bounded, and diam(A)=sup{d(u,v):u,vA}\operatorname{diam}(A) = \sup\{d(u,v) : u,v \in A\} is defined for every nonempty bounded AA (A compact subset of a metric space is closed and bounded, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).

[L3]

For nonempty SXS \subseteq X, d(x,S)=inf{d(x,y):yS}d(x,S) = \inf\{d(x,y) : y \in S\}; an infimum is a lower bound of its set and is at least every lower bound (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Greatest lower bound (infimum)).

[L5]

A continuous real-valued function on a nonempty compact metric space attains a least value (A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value).

[L6]

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

Proof

technique · direct
1.1

If X=X = \emptyset then δ:=1\delta := 1 serves, there being no nonempty subset of XX to test; assume from now on XX \ne \emptyset.

L2
2.1

Compactness gives mNm \in \mathbb{N} and U0,,UmUU_0, \dots, U_m \in \mathcal{U} with X=U0UmX = U_0 \cup \dots \cup U_m.

L1step 1.1
3.1

If Ui=XU_i = X for some imi \le m, then δ:=1\delta := 1 serves again, every nonempty AXA \subseteq X being contained in that UiU_i; assume from now on that XUiX \setminus U_i \ne \emptyset for every imi \le m.

step 2.1
4.1

For α0,,αm\alpha_0, \dots, \alpha_m and β0,,βm\beta_0, \dots, \beta_m real one has αiβi+αiβimaxjβj+maxjαjβj\alpha_i \le \beta_i + |\alpha_i - \beta_i| \le \max_j \beta_j + \max_j|\alpha_j - \beta_j| for every ii, so maxiαimaxjβj+maxjαjβj\max_i \alpha_i \le \max_j \beta_j + \max_j |\alpha_j - \beta_j|, and by symmetry maxiαimaxiβimaxiαiβi|\max_i \alpha_i - \max_i \beta_i| \le \max_i |\alpha_i - \beta_i|.

L6step 3.1
5.1

Define g:XRg : X \to \mathbb{R} by g(x):=max{d(x,XUi):im}g(x) := \max\{\, d(x, X \setminus U_i) : i \le m \,\}, a maximum of a nonempty finite set of reals; each xd(x,XUi)x \mapsto d(x, X\setminus U_i) changes by at most d(x,y)d(x,y) between xx and yy, so by step 4.1 g(x)g(y)d(x,y)|g(x) - g(y)| \le d(x,y), and gg is Lipschitz with constant 11, hence continuous.

L4L6step 4.1
6.1

g(x)>0g(x) > 0 for every xXx \in X: such an xx lies in some UiU_i by step 2.1, openness gives a real r>0r > 0 with B(x,r)UiB(x,r) \subseteq U_i, so every yXUiy \in X \setminus U_i has d(x,y)rd(x,y) \ge r, making rr a lower bound of {d(x,y):yXUi}\{d(x,y) : y \in X \setminus U_i\} and hence g(x)d(x,XUi)r>0g(x) \ge d(x, X\setminus U_i) \ge r > 0.

L3L7step 2.1step 5.1
7.1

By the extreme value theorem applied to the nonempty compact XX and the continuous gg, there is xXx^{\ast} \in X with g(x)g(x)g(x^{\ast}) \le g(x) for every xx; put δ:=g(x)\delta := g(x^{\ast}), a real with δ>0\delta > 0 by step 6.1.

L5step 5.1step 6.1
8.1

Let AXA \subseteq X be nonempty with diam(A)<δ\operatorname{diam}(A) < \delta and fix aAa \in A; then g(a)δg(a) \ge \delta, so some imi \le m has d(a,XUi)δd(a, X \setminus U_i) \ge \delta, the maximum defining g(a)g(a) being one of its members, and the least such ii may be taken.

L2L6step 7.1
9.1

Every yAy \in A satisfies d(a,y)diam(A)<δd(a,XUi)d(a,y) \le \operatorname{diam}(A) < \delta \le d(a, X\setminus U_i), so yXUiy \notin X \setminus U_i, since a point of that set would make d(a,XUi)d(a,y)d(a, X\setminus U_i) \le d(a,y); hence AUiA \subseteq U_i with UiUU_i \in \mathcal{U}, and δ\delta is a Lebesgue number for U\mathcal{U}.

L2L3step 8.1

Remarks

What the lemma buys. An open cover gives, around each point, some member containing a ball about that point, with a radius depending on the point. A Lebesgue number is one radius that works everywhere at once, and that uniformity is exactly what turns pointwise continuity into uniform continuity in Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous.

Compactness is not removable. The cover of the interval (0,1)(0,1) by the intervals (1/(k+2),1)(1/(k+2), 1), kNk \in \mathbb{N}, has no Lebesgue number (The cover of (0,1)(0,1) by the intervals (1/(k+2),1)(1/(k+2), 1) has no Lebesgue number, so the Lebesgue number lemma needs compactness ), and (0,1)(0,1) is not compact.

The two degenerate cases in steps 1.1 and 3.1 are genuine. If XX is empty the conclusion is vacuous, and if some member of the finite subcover is the whole space the function gg of step 5.1 would call for the distance to the empty set, which this library leaves undefined (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space). Handling both separately costs two lines and avoids writing something undefined.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous

Statement

Facts & Assumptions

Given: A compact metric space (X,dX)(X,d_X), a metric space (Y,dY)(Y,d_Y) and a continuous f:XYf : X \to Y.

[L1]

ff is continuous at aa: for every real ε>0\varepsilon > 0 there is a real δ>0\delta > 0 with f[BX(a,δ)]BY(f(a),ε)f[B_X(a,\delta)] \subseteq B_Y(f(a),\varepsilon) (Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form, Open ball, closed ball and sphere in a metric space).

[L2]

ff is uniformly continuous when for every real ε>0\varepsilon > 0 there is a real δ>0\delta > 0 such that dX(x,x)<δd_X(x,x') < \delta implies dY(f(x),f(x))<εd_Y(f(x),f(x')) < \varepsilon, for all x,xXx,x' \in X (Uniform continuity of a map of metric spaces: one δ\delta serving every point).

[L3]

Every open cover of a compact metric space has a Lebesgue number: a real δ>0\delta > 0 such that every nonempty subset of diameter less than δ\delta lies in a single member of the cover (Every open cover of a compact metric space has a Lebesgue number: a δ>0\delta > 0 such that every nonempty subset of diameter less than δ\delta lies inside a single member of the cover, Open cover, subcover, compact metric space, and compact subset of a metric space).

[L5]

For nonempty bounded AA, diam(A)=sup{dX(u,v):u,vA}\operatorname{diam}(A) = \sup\{d_X(u,v) : u,v \in A\}; in particular diam({x,x})=dX(x,x)\operatorname{diam}(\{x,x'\}) = d_X(x,x'), the set of distances being {0,dX(x,x)}\{0, d_X(x,x')\} and a metric being nonnegative (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Nonnegativity of a metric is a consequence of the other axioms, not an axiom).

Proof

technique · direct
1.1

If X=X = \emptyset the condition of uniform continuity holds vacuously, so assume XX \ne \emptyset, and let ε>0\varepsilon > 0 be real.

L2
2.1

Put U:={UX:U is open in X and f[U]BY(z,ε/2) for some zY}\mathcal{U} := \{\, U \subseteq X : U \text{ is open in } X \text{ and } f[U] \subseteq B_Y(z, \varepsilon/2) \text{ for some } z \in Y \,\}, a family cut out by a property and not by a selection.

L1step 1.1
3.1

U\mathcal{U} is an open cover of XX: given xXx \in X, continuity at xx supplies a real δx>0\delta_x > 0 with f[BX(x,δx)]BY(f(x),ε/2)f[B_X(x,\delta_x)] \subseteq B_Y(f(x), \varepsilon/2), and BX(x,δx)B_X(x,\delta_x) is open and contains xx, so it belongs to U\mathcal{U}.

L1L4step 2.1
4.1

By the Lebesgue number lemma there is a real δ>0\delta > 0 such that every nonempty subset of XX of diameter less than δ\delta is contained in a single member of U\mathcal{U}.

L3step 3.1
5.1

Let x,xXx, x' \in X with dX(x,x)<δd_X(x,x') < \delta; the set {x,x}\{x,x'\} is nonempty with diameter dX(x,x)<δd_X(x,x') < \delta, so {x,x}U\{x,x'\} \subseteq U for some UUU \in \mathcal{U}, and there is zYz \in Y with f[U]BY(z,ε/2)f[U] \subseteq B_Y(z,\varepsilon/2).

L5step 2.1step 4.1
6.1

Then dY(f(x),z)<ε/2d_Y(f(x),z) < \varepsilon/2 and dY(z,f(x))<ε/2d_Y(z,f(x')) < \varepsilon/2, so dY(f(x),f(x))dY(f(x),z)+dY(z,f(x))<εd_Y(f(x),f(x')) \le d_Y(f(x),z) + d_Y(z,f(x')) < \varepsilon; as ε>0\varepsilon > 0 was arbitrary, ff is uniformly continuous.

L2L6step 5.1

Remarks

The centre zz is not chosen, and that is why the proof is choice free. The family U\mathcal{U} is defined by the existence of a suitable zz, and the argument instantiates that existential once, at step 5.1, for the single member UU that the Lebesgue number produced. No function assigning a centre to every member of U\mathcal{U} is ever needed.

Compactness is not removable. The map x1/xx \mapsto 1/x is continuous on the interval (0,1)(0,1) and is not uniformly continuous there (x1/xx \mapsto 1/x is continuous on (0,1)(0,1) and not uniformly continuous, so Heine-Cantor needs compactness of the domain ); (0,1)(0,1) is not compact.

The codomain is arbitrary. Nothing is assumed about (Y,dY)(Y,d_Y) — not completeness, not boundedness, not compactness. All the work is done on the domain side, which is where the finite subcover lives.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A continuous bijection from a compact metric space onto a metric space carries open sets to open sets, so its inverse is continuous

Statement

Let (X,dX)(X,d_X) be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space), let (Y,dY)(Y,d_Y) be a metric space (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let f:XYf : X \to Y be a continuous bijection (Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form, Injection, surjection, bijection). Then:

  1. f[U]f[U] is open in YY for every UU open in XX (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement);
  2. the inverse function f1:YXf^{-1} : Y \to X is continuous.

The words used are deliberately those of open sets and of the inverse map: a single name for a continuous bijection with continuous inverse is not available at this point in the reading order. No choice principle is used.

Facts & Assumptions

Given: A compact metric space (X,dX)(X,d_X), a metric space (Y,dY)(Y,d_Y) and a continuous bijection f:XYf : X \to Y.

[L2]

The image of a compact subset under a continuous map is a compact subset of the codomain (The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset).

[L3]

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

[L6]

For a bijection f:XYf : X \to Y and UXU \subseteq X: f[XU]=Yf[U]f[X \setminus U] = Y \setminus f[U], and for the inverse function g=f1g = f^{-1} one has g1[U]=f[U]g^{-1}[U] = f[U] (Injection, surjection, bijection).

Proof

technique · direct
1.1

Let UXU \subseteq X be open; then XUX \setminus U is closed in XX.

L4
2.1

Being a closed subset of the compact space XX, the set XUX \setminus U is a compact subset of XX.

L1step 1.1
3.1

Hence f[XU]f[X \setminus U] is a compact subset of YY, and therefore closed in YY.

L2L3step 2.1
4.1

Since ff is a bijection, f[XU]=Yf[U]f[X\setminus U] = Y \setminus f[U], so f[U]=Yf[XU]f[U] = Y \setminus f[X \setminus U] is open in YY: claim 1.

L4L6step 3.1
5.1

Write g:=f1:YXg := f^{-1} : Y \to X, a function because ff is a bijection; for every open UXU \subseteq X the preimage g1[U]g^{-1}[U] equals f[U]f[U], which is open by claim 1, so gg is continuous: claim 2.

L5L6step 4.1

Remarks

Compactness of the domain is essential. Without it a continuous bijection can have a discontinuous inverse, and no part of the argument survives, compactness being consumed at steps 2.1 and 3.1 alike. What the theorem says is that on a compact domain no such failure occurs, and the reason is entirely the open map property established at step 4.1.

Hausdorffness of the codomain is used silently and is automatic here. What step 3.1 needs is that a compact subset of YY be closed, which is A compact subset of a metric space is closed and bounded and rests on the separation of distinct points by disjoint balls. Every metric space has that property, so no hypothesis on (Y,dY)(Y,d_Y) beyond being a metric space is required.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A compact metric space has a countable dense subset, by countable choice

Statement

Assume the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)). Let (X,d)(X,d) be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric). Then there is an at most countable set DXD \subseteq X (Finite, countably infinite, countable, uncountable) that is dense in XX, that is D=X\overline{D} = X (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space).

Where the axiom is spent. Once at step 2.1, to fix a finite 1/(n+1)1/(n+1)-net for every nNn \in \mathbb{N} at the same time; the family of sets chosen from is written down before any selection and does not depend on the earlier ones. The appeal to Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega at step 4.1 carries the same hypothesis ACω\mathrm{AC}_\omega and no more, so nothing further is spent there. As always on this page the claim is an upper bound on the cost of this proof, not an assertion that ACω\mathrm{AC}_\omega is necessary.

Facts & Assumptions

Given: A compact metric space (X,d)(X,d) and the Axiom of Countable Choice.

[L1]

A compact metric space is totally bounded: for every real ε>0\varepsilon > 0 there is a finite FXF \subseteq X with X=yFB(y,ε)X = \bigcup_{y \in F} B(y,\varepsilon) (A compact metric space is complete and totally bounded, and neither implication uses any choice principle, Finite ε\varepsilon-net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).

[L2]

Countable choice: for a family (En)nN(E_n)_{n \in \mathbb{N}} of nonempty sets there is a function nenn \mapsto e_n with enEne_n \in E_n (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)).

[L3]

Finite sets are at most countable, and, assuming countable choice, a union nNAn\bigcup_{n \in \mathbb{N}} A_n of at most countable sets is at most countable (Finite, countably infinite, countable, uncountable, Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega, A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

[L4]

xDx \in \overline{D} exactly when B(x,r)DB(x,r) \cap D \ne \emptyset for every real r>0r > 0, and DD is dense when D=X\overline{D} = X (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, The closure of a nonempty AA is {x:d(x,A)=0}\{x : d(x,A) = 0\}, equals AA together with its limit points, and is the smallest closed superset).

[L5]

For every real r>0r > 0 there is a natural N1N \ge 1 with 1/N<r1/N < r, and 0<1/(n+1)1/N0 < 1/(n+1) \le 1/N whenever n+1Nn + 1 \ge N (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).

Proof

technique · direct
1.1

For each nNn \in \mathbb{N} let EnE_n be the set of finite 1/(n+1)1/(n+1)-nets for (X,d)(X,d); each EnE_n is nonempty because (X,d)(X,d) is compact and hence totally bounded.

L1
2.1

Countable choice applied to (En)nN(E_n)_{n \in \mathbb{N}} fixes a function nFnn \mapsto F_n with FnEnF_n \in E_n for every nn, that is a finite 1/(n+1)1/(n+1)-net FnXF_n \subseteq X for each nn; this is the only appeal to a choice principle here.

L2step 1.1
3.1

Put D:=nNFnXD := \bigcup_{n \in \mathbb{N}} F_n \subseteq X.

step 2.1
4.1

Each FnF_n is finite and therefore at most countable, so DD is at most countable by the countable union theorem, whose hypothesis is the same ACω\mathrm{AC}_\omega already assumed.

L3step 3.1
4.2

DD is dense: given xXx \in X and a real r>0r > 0, take a natural N1N \ge 1 with 1/N<r1/N < r and put n:=Nn := N, so that 1/(n+1)<1/N<r1/(n+1) < 1/N < r; since FnF_n is a 1/(n+1)1/(n+1)-net there is yFny \in F_n with d(x,y)<1/(n+1)<rd(x,y) < 1/(n+1) < r, and that yy lies in B(x,r)DB(x,r) \cap D.

L1L4L5step 2.1step 3.1
5.1

So every ball around every point of XX meets DD, that is D=X\overline{D} = X, and DD is an at most countable dense subset of XX.

L4step 4.1step 4.2

Remarks

The word for this property is not used here. A space with an at most countable dense subset has a standard name, and that name is not introduced at this point in the reading order; the statement therefore says what it means outright. Nothing below or elsewhere on this page depends on the terminology.

Why a choice principle appears at all. Total boundedness asserts that a finite 1/(n+1)1/(n+1)-net exists for each nn; it names none, and there is no rule in this library that singles one out uniformly in nn. Fixing one for every nn at once is precisely ACω\mathrm{AC}_\omega, and it is spent in exactly the same way, and for exactly the same reason, as in A complete, totally bounded metric space is compact, proved from countable choice used exactly once.

The empty space is covered by the statement. If X=X = \emptyset then every FnF_n is empty, DD is empty, and D==X\overline{D} = \emptyset = X; the empty set is finite and hence at most countable.

RemarkRemark: AI-generatedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice

What this page spends, implication by implication

For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice states five conditions and asserts that they are equivalent, under two choice hypotheses. Stated that way the theorem overcharges almost every arrow it contains, so this remark records the arrows one at a time. Every entry is a statement about the proof given in this library, and about nothing else.

Theorems of ZF, using no choice principle at all.

Using the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)), spent once and named at the step that spends it.

Using the Axiom of Dependent Choice (The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain).

  • A sequentially compact metric space is totally bounded (A sequentially compact metric space is totally bounded, proved from the axiom of dependent choice). This is the only implication on the page with that cost. The construction adds one point at a time, each at distance at least ε\varepsilon from all the points already produced, so the set the next point is drawn from is not known until the earlier ones are fixed. Countable choice returns one ε\varepsilon-separated tuple for each length with no coherence between them, and no diagonal argument assembles those into a single separated sequence.

What is claimed and what is not

Claimed: each proof in this library can be carried out in ZF together with the principle named above, and in no case is more used than is named.

Not claimed: that any of these principles is necessary. Showing that an implication cannot be proved in ZF alone is an independence result, obtained by forcing or by permutation models, and this library contains neither and proves none. Every cost above is an upper bound. The systematic study of which forms of compactness need which fragment of choice is a subject in its own right, and Herrlich's Axiom of Choice is the standard reference; it is cited here as literature and is not used.

Not claimed either: that a cost recorded for one proof is a cost of the statement. Two proofs of the same implication may spend differently, and the completeness half of A compact metric space is complete and totally bounded, and neither implication uses any choice principle is exactly a case where the textbook route and the route taken here differ in what they use.

How to read the equivalence theorem

A cycle of implications transmits the weakest hypothesis around the whole cycle: once For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice has closed its cycle, every one of its five conditions implies every other under both hypotheses. The individual arrows do not inherit that. A reader working in ZF alone still has, without any choice at all, that a compact metric space satisfies all four of the other conditions, and that a sequentially compact one is complete. What fails in ZF, as far as this library's proofs go, is the journey back from the weaker conditions to compactness.

Where these principles sit relative to one another — that the Axiom of Choice implies dependent choice, which implies countable choice, and that the reverse implications are relative-consistency results quoted rather than proved — is recorded in The axiom of dependent choice: a relation in which every element is related to something admits an N\mathbb{N}-indexed chain and in the definitions it points to.

5 · Examples, counterexamples and false statements

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-04 (gpt-5.6-sol-codex-subscription)Open item page →

FALSE: a closed and bounded subset of a metric space is compact

Statement

False claim: in every metric space (X,d)(X,d) (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric), a subset that is closed in XX (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement) and bounded (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space) is a compact subset of XX (Open cover, subcover, compact metric space, and compact subset of a metric space).

Where the claim comes from, and what is actually true. One half of the Heine-Borel property does hold in every metric space: a compact subset is closed and bounded (A compact subset of a metric space is closed and bounded). The converse holds in Rn\mathbb{R}^n with the Euclidean metric (Heine-Borel in Rn\mathbb{R}^n: with the Euclidean metric a subset of Rn\mathbb{R}^n is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line), and the claim above is that reading of Heine-Borel transplanted to an arbitrary metric space, where it fails. What survives in general is that a compact space is complete and totally bounded (A compact metric space is complete and totally bounded, and neither implication uses any choice principle), and it is total boundedness, not boundedness, that the witness below lacks.

The refutation builds its own witness: the set N\mathbb{N} carrying the metric that assigns distance 11 to distinct points.

Facts & Assumptions

Given: The set N\mathbb{N} of natural numbers (The natural numbers N\mathbb{N} (von Neumann)) and the function d:N×NRd : \mathbb{N} \times \mathbb{N} \to \mathbb{R} with d(m,n)=0d(m,n) = 0 for m=nm = n and d(m,n)=1d(m,n) = 1 for mnm \ne n.

[A1]

The false claim: in every metric space a closed bounded subset is compact.

[L1]

A metric on a set is a real-valued function satisfying (M1) d(x,y)=0d(x,y) = 0 exactly when x=yx = y, (M2) d(x,y)=d(y,x)d(x,y) = d(y,x) and (M3) d(x,z)d(x,y)+d(y,z)d(x,z) \le d(x,y) + d(y,z) (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric).

[L2]

B(x,r)={y:d(x,y)<r}B(x,r) = \{y : d(x,y) < r\}; a set is open when each of its points has a ball around it inside it; a set is closed when its complement is open; and a subset is bounded when it is empty or lies in a ball (Open ball, closed ball and sphere in a metric space, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).

[L3]

A subset AA of a metric space is compact exactly when the metric subspace (A,dA)(A,d_A) is a compact metric space; and a compact metric space has, for every family of open subsets with union the space, a finite subfamily with union the space (Open cover, subcover, compact metric space, and compact subset of a metric space).

[L4]

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

[L5]

For every real MM there is a natural N1N \ge 1 with M<ι(N)M < \iota(N), where ι\iota is the canonical natural of R\mathbb{R} (Every complete ordered field is Archimedean, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field).

Refutation

technique · direct
1.1

dd is a metric on N\mathbb{N}: (M1) holds because d(m,n)=0d(m,n) = 0 was defined to mean m=nm = n; (M2) because the defining condition is symmetric in mm and nn; and (M3) because the left side is 00 or 11, and when it is 11 one has xzx \ne z, so yy differs from at least one of xx and zz and the right side is at least 11.

L1
2.1

In (N,d)(\mathbb{N},d) one has B(n,1)={n}B(n,1) = \{n\}, since d(n,m)<1d(n,m) < 1 forces d(n,m)=0d(n,m) = 0 and hence m=nm = n; consequently every subset of N\mathbb{N} is open, each of its points nn having B(n,1)B(n,1) inside it, and every subset is closed as well.

L2step 1.1
3.1

N\mathbb{N} is a closed subset of the metric space (N,d)(\mathbb{N},d), and it is bounded, since d(0,n)1<2d(0,n) \le 1 < 2 for every nn gives N=B(0,2)\mathbb{N} = B(0,2).

L2step 2.1
3.2

The family (B(n,1))nN(B(n,1))_{n \in \mathbb{N}} consists of open subsets of N\mathbb{N} and has union N\mathbb{N}, because nB(n,1)n \in B(n,1) for every nn.

L2step 2.1
4.1

No finite subfamily has union N\mathbb{N}: such a subfamily is B(n0,1),,B(nk,1)B(n_0,1), \dots, B(n_k,1) for some kNk \in \mathbb{N} and naturals n0,,nkn_0, \dots, n_k, with union {n0,,nk}\{n_0, \dots, n_k\} by step 2.1; the reals ι(n0),,ι(nk)\iota(n_0), \dots, \iota(n_k) have a maximum MM, and a natural N1N \ge 1 with M<ι(N)M < \iota(N) then satisfies ι(N)ι(ni)\iota(N) \ne \iota(n_i) and hence NniN \ne n_i for every iki \le k, so NN lies in N\mathbb{N} and in no member of the subfamily.

L4L5step 2.1step 3.2
5.1

Hence (N,d)(\mathbb{N},d) is not a compact metric space, so N\mathbb{N} is a closed and bounded subset of the metric space (N,d)(\mathbb{N},d) that is not compact, and the claim [A1] is false.

A1L3step 3.1step 3.2step 4.1

Remarks

What the witness fails is total boundedness, not boundedness. The space (N,d)(\mathbb{N},d) has diameter 11, so it is as bounded as a nonempty space can be; but a finite 1/21/2-net would have to contain every point, and N\mathbb{N} is not finite (N\mathbb{N} with the discrete metric is bounded and is not totally bounded , FALSE: a bounded metric space is totally bounded). Since a compact space is totally bounded (A compact metric space is complete and totally bounded, and neither implication uses any choice principle), that alone already settles non-compactness; the explicit cover of step 3.2 is given because it makes the failure visible without any theory.

The witness is complete, so completeness is not the missing ingredient either. In (N,d)(\mathbb{N},d) a Cauchy sequence is eventually constant, hence convergent, so this is a complete, bounded, closed space that is not compact. The pair that is equivalent to compactness, once the Axiom of Countable Choice and the Axiom of Dependent Choice are assumed, is completeness together with total boundedness (For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice).

A second, analytically natural witness is the closed unit ball of the bounded real-valued functions on N\mathbb{N} under the supremum metric, where the indicator functions of the singletons are pairwise at distance 11 (In the bounded real-valued functions on N\mathbb{N} with the supremum metric, the closed unit ball is closed and bounded and is not compact: the indicator functions of the singletons are pairwise at distance 11 ).

False statementConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-04 (gpt-5.6-sol-codex-subscription)Open item page →

FALSE: a totally bounded metric space is compact

Statement

False claim: every totally bounded metric space (Finite ε\varepsilon-net and totally bounded metric space) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space).

Where the claim comes from, and what is actually true. A compact metric space is totally bounded, and it is also complete (A compact metric space is complete and totally bounded, and neither implication uses any choice principle); the converse needs both of those conditions, not one of them, and, as stated in this library, it also assumes the Axiom of Countable Choice (A complete, totally bounded metric space is compact, proved from countable choice used exactly once, The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)). The claim above drops completeness, and dropping it is fatal.

The refutation takes the open interval (0,1)(0,1) (Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length) as a metric subspace of R\mathbb{R} with its usual metric xy|x-y| (The absolute value makes R\mathbb{R} a metric space: d(x,y)=xyd(x,y) = |x-y| is a metric, its open balls are the intervals (xr,x+r)(x-r, x+r), and it is unbounded, Isometry, isometric embedding, and the subspace metric on a subset).

Facts & Assumptions

Given: The interval (0,1)={xR:0<x<1}(0,1) = \{x \in \mathbb{R} : 0 < x < 1\} as a metric subspace of (R,dR)(\mathbb{R}, d_{\mathbb{R}}), dR(x,y)=xyd_{\mathbb{R}}(x,y) = |x-y|.

[A1]

The false claim: every totally bounded metric space is compact.

[L1]

A space is totally bounded when for every real ε>0\varepsilon > 0 it has a finite ε\varepsilon-net, a finite subset FF with the balls B(y,ε)B(y,\varepsilon), yFy \in F, covering the space (Finite ε\varepsilon-net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).

[L4]

Every nonempty subset of N\mathbb{N} has a least element (The well-ordering principle).

[L5]

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

[L6]

For every real η>0\eta > 0 there is a natural m1m \ge 1 with 1/m<η1/m < \eta; reciprocals of positives are positive and reverse the order (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).

Refutation

technique · direct
1.1

Let ε>0\varepsilon > 0 be real and take a natural m1m \ge 1 with 1/m<ε1/m < \varepsilon; the points j/(m+1)j/(m+1) for 1jm1 \le j \le m lie in (0,1)(0,1), since 0<j/(m+1)<10 < j/(m+1) < 1, and they form a finite subset FF of (0,1)(0,1).

L3L6
2.1

FF is a finite ε\varepsilon-net for (0,1)(0,1): given x(0,1)x \in (0,1), the set of naturals j1j \ge 1 with x<(j+1)/(m+1)x < (j+1)/(m+1) is nonempty, containing mm because x<1=(m+1)/(m+1)x < 1 = (m+1)/(m+1), so it has a least element jj, and jmj \le m.

L4L6step 1.1
3.1

For that jj one has x<(j+1)/(m+1)x < (j+1)/(m+1) and also (j1)/(m+1)<x(j-1)/(m+1) < x: for j=1j = 1 because x>0x > 0, and for j2j \ge 2 because minimality gives xj/(m+1)>(j1)/(m+1)x \ge j/(m+1) > (j-1)/(m+1). Hence xj/(m+1)<1/(m+1)<1/m<ε|x - j/(m+1)| < 1/(m+1) < 1/m < \varepsilon, so xx lies in the subspace ball of radius ε\varepsilon about j/(m+1)j/(m+1).

L3L6step 2.1
4.1

As ε>0\varepsilon > 0 was arbitrary, (0,1)(0,1) with the restricted metric is totally bounded.

L1step 1.1step 3.1
5.1

For each kNk \in \mathbb{N} put Uk:=(1/(k+2), 1)U_k := (1/(k+2),\ 1), an open subset of R\mathbb{R} contained in (0,1)(0,1); the family (Uk)kN(U_k)_{k \in \mathbb{N}} has union (0,1)(0,1), because any x(0,1)x \in (0,1) admits a natural m1m \ge 1 with 1/m<x1/m < x and then 1/(m+2)<1/m<x<11/(m+2) < 1/m < x < 1.

L3L6step 4.1
6.1

No finitely many of the UkU_k have union containing (0,1)(0,1): given Uk0,,UkpU_{k_0}, \dots, U_{k_p}, put t:=min{1/(ki+2):ip}t := \min\{1/(k_i+2) : i \le p\}, a positive real; each UkiU_{k_i} is contained in (t,1)(t,1) because 1/(ki+2)t1/(k_i+2) \ge t, so the union of the finite subfamily is contained in (t,1)(t,1), while the real x:=min{t,1/2}/2x := \min\{t, 1/2\}/2 satisfies 0<x<10 < x < 1 and xtx \le t, so x(0,1)x \in (0,1) and xx lies in no UkiU_{k_i}.

L5L6step 5.1
7.1

Hence (0,1)(0,1) is not a compact subset of R\mathbb{R}, that is the metric subspace (0,1)(0,1) is a totally bounded metric space that is not compact, and the claim [A1] is false.

A1L2step 4.1step 5.1step 6.1

Remarks

What the witness lacks is completeness. A compact metric space is complete (A compact metric space is complete and totally bounded, and neither implication uses any choice principle, Complete metric space: every Cauchy sequence converges in the space), and (0,1)(0,1) is not: the terms 1/(k+2)1/(k+2) form a Cauchy sequence in (0,1)(0,1) whose only candidate limit in R\mathbb{R} is 00, which is not a point of the space. Adding completeness to total boundedness does restore compactness (A complete, totally bounded metric space is compact, proved from countable choice used exactly once), at the cost of the Axiom of Countable Choice.

The same interval also witnesses that boundedness is far from compactness, and it is the standard example behind the failure of the extreme value theorem and of Heine-Cantor off a compact domain (On (0,1)(0,1) the identity is bounded with no greatest value and x1/xx \mapsto 1/x is continuous and unbounded, so the extreme value theorem needs compactness and not merely boundedness of the domain , x1/xx \mapsto 1/x is continuous on (0,1)(0,1) and not uniformly continuous, so Heine-Cantor needs compactness of the domain ).

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

FALSE: a bounded metric space is totally bounded

Statement

False claim: every bounded metric space (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) is totally bounded (Finite ε\varepsilon-net and totally bounded metric space).

Where the claim comes from, and what is actually true. The implication holds in the other direction: a totally bounded metric space is bounded, which is claim 1 of A totally bounded metric space is bounded, every subspace of a totally bounded space is totally bounded, and the closure of a totally bounded subset is totally bounded. The claim above is its converse, and the converse fails. Boundedness asks for one ball containing the space; total boundedness asks for finitely many balls of every prescribed radius, and no amount of shrinking the diameter forces the second condition.

The refutation builds its witness: the set N\mathbb{N} carrying the metric that assigns distance 11 to distinct points.

Facts & Assumptions

Given: The set N\mathbb{N} (The natural numbers N\mathbb{N} (von Neumann)) and the function dd with d(m,n)=0d(m,n) = 0 for m=nm = n and d(m,n)=1d(m,n) = 1 for mnm \ne n.

[A1]

The false claim: every bounded metric space is totally bounded.

[L1]

A metric satisfies (M1) d(x,y)=0d(x,y) = 0 exactly when x=yx = y, (M2) symmetry and (M3) the triangle inequality (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric).

[L2]

B(x,r)={y:d(x,y)<r}B(x,r) = \{y : d(x,y) < r\}, and a space is bounded when it is empty or is contained in a ball (Open ball, closed ball and sphere in a metric space, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).

[L3]

A finite ε\varepsilon-net is a finite FXF \subseteq X with X=yFB(y,ε)X = \bigcup_{y \in F} B(y,\varepsilon), and a space is totally bounded when it has one for every real ε>0\varepsilon > 0; a nonempty finite set can be listed as {n0,,nk}\{n_0, \dots, n_k\} (Finite ε\varepsilon-net and totally bounded metric space, Open cover, subcover, compact metric space, and compact subset of a metric space, Finite, countably infinite, countable, uncountable).

[L4]

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

[L5]

For every real MM there is a natural N1N \ge 1 with M<ι(N)M < \iota(N), where ι\iota is the canonical natural of R\mathbb{R} (Every complete ordered field is Archimedean, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field).

Refutation

technique · direct
1.1

dd is a metric on N\mathbb{N}: (M1) holds by the definition of dd; (M2) because the defining condition is symmetric; and (M3) because the left side is 00 or 11, and if it is 11 then xzx \ne z, so yy differs from at least one of xx and zz and the right side is at least 11.

L1
2.1

(N,d)(\mathbb{N},d) is bounded: d(0,n)1<2d(0,n) \le 1 < 2 for every nn, so N=B(0,2)\mathbb{N} = B(0,2).

L2step 1.1
2.2

In (N,d)(\mathbb{N},d) one has B(y,1/2)={y}B(y,1/2) = \{y\}, since d(y,n)<1/2d(y,n) < 1/2 forces d(y,n)=0d(y,n) = 0 and hence n=yn = y.

L2step 1.1
3.1

Suppose FF were a finite 1/21/2-net for (N,d)(\mathbb{N},d); then N=yFB(y,1/2)=yF{y}=F\mathbb{N} = \bigcup_{y \in F} B(y,1/2) = \bigcup_{y \in F}\{y\} = F, so N\mathbb{N} would be finite, and being nonempty it could be listed as N={n0,,nk}\mathbb{N} = \{n_0, \dots, n_k\}.

L3step 2.2
4.1

The reals ι(n0),,ι(nk)\iota(n_0), \dots, \iota(n_k) then have a maximum MM, and a natural N1N \ge 1 with M<ι(N)M < \iota(N) satisfies ι(N)ι(ni)\iota(N) \ne \iota(n_i) and hence NniN \ne n_i for every iki \le k, so NN is a natural number outside {n0,,nk}=N\{n_0, \dots, n_k\} = \mathbb{N}, which is impossible.

L4L5step 3.1
5.1

So no finite 1/21/2-net exists, (N,d)(\mathbb{N},d) is a bounded metric space that is not totally bounded, and the claim [A1] is false.

A1L3step 2.1step 3.1step 4.1

Remarks

Diameter is not a measure of how spread out a space is at small scales. The witness has diameter 11, and yet every ball of radius 1/21/2 contains a single point, so no finite family of them can cover an infinite space. Total boundedness is exactly the condition that rules this out, and it is what makes the pair "complete and totally bounded" equivalent to compactness (For a metric space, compact, countably compact, limit point compact, sequentially compact, and complete together with totally bounded are all equivalent, given countable choice and dependent choice).

The same witness refutes more. Because it is complete and closed in itself, it also shows that a closed bounded subset of a metric space need not be compact (FALSE: a closed and bounded subset of a metric space is compact). The counterexample page records it once, in N\mathbb{N} with the discrete metric is bounded and is not totally bounded .

In Rn\mathbb{R}^n the claim is true, since a bounded subset lies in a box and a box is compact, hence totally bounded (Heine-Borel in Rn\mathbb{R}^n: with the Euclidean metric a subset of Rn\mathbb{R}^n is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line, A compact metric space is complete and totally bounded, and neither implication uses any choice principle). What fails is the general metric statement, and the witness is a space whose points are pairwise equidistant, which is exactly what the geometry of Rn\mathbb{R}^n forbids for infinitely many points at once.

Sources