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.
Compactness in Metric Spaces
1 · Prerequisites
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Filters and Ultrafilters
- Foundations of the Real Numbers for Analysis
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
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 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
The axiom of dependent choice: a relation in which every element is related to something admits an -indexed chain
Definition
Let be a set and let be a binary relation on . Call entire on when
The Axiom of Dependent Choice, written , is the following statement.
For every nonempty set , every relation entire on , and every , there is a sequence (Sequences of reals: bounded, eventually, frequently, tails, subsequences, The natural numbers (von Neumann)) with
As everywhere in this library contains , and the sequence is indexed from ; the term is the prescribed starting point 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 () does the same for a family indexed by . In both, the family is given before any selection is made. DC is the principle needed when the -th set to select from is not known until the first selections have been made: here the admissible values of are exactly the -successors of , so the family being chosen from is built along the choosing. That is precisely the situation does not cover, and it is why a construction "pick depending on , for every at once" is not licensed by countable choice.
The starting point may be dropped. The formally weaker statement obtained by deleting the clause — for every nonempty and every entire there is a sequence with for all — is an immediate consequence of the form above, since is nonempty and any of its elements may be taken as . The reverse derivation is standard and is not needed anywhere in this library, so it is not carried out; every use below prescribes .
need not be an order and the terms need not be distinct. What DC delivers is a sequence, that is a function , 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 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
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 (), 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 . 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.
Open cover, subcover, compact metric space, and compact subset of a metric space
Definition
Let be a metric space (Metric space: iff , 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 is a family of open subsets of with , where .
- A subcover of is a subfamily that is itself an open cover.
- A family of sets is finite when or there are and sets with ; repetitions in the list are allowed and harmless.
- is compact when every open cover of it has a finite subcover: for every open cover , either and the empty subfamily covers it, or there are and with
- A subset is a compact subset of when the metric subspace is a compact metric space, being the restriction of to (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 and its own open sets, not about families of open subsets of the ambient . 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 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 : given a cover, each 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 in the sense of Finite, countably infinite, countable, uncountable satisfies for some , and a bijection is exactly a listing .
- Conversely a set listed as , that is the image of a function with domain , is finite in the sense of Finite, countably infinite, countable, uncountable: the map sending to the least with is an injection of into , so is equinumerous with a subset of 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 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 without being a family of subsets of : the members are open subsets of and their union merely contains . That is the ambient reading, and it is a different statement from " is an open cover of the metric space ", whose members are open subsets of . Which of the two is meant is written out everywhere on this 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 be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric), let and let be the metric subspace (Isometry, isometric embedding, and the subspace metric on a subset). Then:
- Relative openness is a trace. A set is open 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) if and only if for some open in .
- Compactness read in the ambient space. is a compact subset of (Open cover, subcover, compact metric space, and compact subset of a metric space), that is is a compact metric space, if and only if for every family of open subsets of with there are and with , or else .
- The same in indexed form. is a compact subset of if and only if for every set and every family of open subsets of with there are and indices with , or else .
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 , a subset , and the metric subspace with the restriction of to .
Balls of a subspace are traces of ambient balls: for and (Isometry, isometric embedding, and the subspace metric on a subset, Open ball, closed ball and sphere in a metric space).
A subset of a metric space is open exactly when every point of has a ball around it contained 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).
Open balls are open, and an arbitrary union of open sets is open (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed).
is compact exactly when every family of sets open in whose union is has a finite subfamily whose union is ; a family is finite when it is empty or listable as (Open cover, subcover, compact metric space, and compact subset of a metric space).
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
Suppose is open in and put ; for we have , so there is with , whence , and is open in .
Conversely let be open in , and let , a family cut out by a property of the pair and not by any selection; put .
is open in , being a union of open balls.
, since every member of satisfies by the defining condition of .
: given , openness of in gives with , that is , so and , while as well.
Claim 1 is proved: by steps 2.2 and 2.3 an open equals with open in by step 2.1, and conversely every such trace is open in by step 1.1.
For claim 3, suppose first that is compact, let be a set and let be open subsets of with ; then each is open in and is a family of open subsets of whose union is .
If the conclusion of claim 3 holds by its second alternative, so assume ; then is an open cover of , and compactness yields and with .
For each the set is nonempty by the definition of , and is a function with domain the natural number , so a choice function for its values supplies with for every .
Hence , which is the conclusion of claim 3 for the family , so the forward implication of claim 3 holds.
The converse of claim 3 remains, the forward implication having been settled at step 7.1; so assume the displayed condition, let be a family of sets open in with union , and put , again a family cut out by a property, indexed by itself.
: given there is with , and by claim 1 there is open in with ; that lies in and contains .
If the empty subfamily of covers ; otherwise the assumed condition applied to the family indexed by itself gives and with .
Putting for gives members of with , so has a finite subcover and is compact.
Claim 3 is proved by steps 7.1 and 11.1, and claim 2 is the special case of claim 3 in which is a family of open subsets of and , the conclusion of claim 3 then naming members of itself.
Remarks
Why the ambient reading needed a proof at all. A subset of carries two candidate notions of open cover: families of sets open in , and families of sets open in whose union contains . Claim 1 is what turns one into the other, and it is the reason compactness of does not depend on which space 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 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.
Countably compact, sequentially compact and limit point compact metric spaces
Definition
Let be a metric space (Metric space: iff , 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.
- is countably compact when every open cover of that is at most countable (Finite, countably infinite, countable, uncountable) has a finite subcover.
- is sequentially compact when every sequence in , that is every function (Sequences of reals: bounded, eventually, frequently, tails, subsequences), has a subsequence converging to a point of (Convergence of a sequence in a metric space: iff in ), the index map being strictly increasing (A strictly increasing index map satisfies ).
- is limit point compact when every infinite subset has a limit point in , that is a point with for every real (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space). Here infinite means not finite in the sense of Finite, countably infinite, countable, uncountable, equivalently not listable as and not empty (Open cover, subcover, compact metric space, and compact subset of a metric space).
A subset is called countably compact, sequentially compact or limit point compact when the metric subspace 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 admits a surjection (A nonempty set is at most countable iff it is a surjective image of ), so countable compactness says: for every sequence of open sets with there are finitely many indices whose sets already cover . 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 and , the identity (Isometry, isometric embedding, and the subspace metric on a subset) shows that is a limit point of in the subspace exactly when is a limit point of in and lies in . So " is limit point compact" says that every infinite has a limit point belonging to ; a limit point outside does not count, and that is what distinguishes the property from a statement about .
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 . A sequence here is a function on and contains (Sequences of reals: bounded, eventually, frequently, tails, subsequences), so a subsequence is with and (A strictly increasing index map satisfies ). Every recursive construction of a subsequence on this page produces first and then , and every radius written is written that way because is undefined at .
Finite -net and totally bounded metric space
Definition
Let be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be a real with .
- A finite -net for is a finite subset with the balls being those of (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: , or for some and points .
- is totally bounded when it has a finite -net for every real .
- A subset is totally bounded when the metric subspace is (Isometry, isometric embedding, and the subspace metric on a subset); its nets are then finite subsets of and its balls are the balls of the subspace.
The empty space is totally bounded, the empty net serving for every , since a union over no indices is empty. Every space listed as is totally bounded too, itself being an -net for every .
The centres are required to lie in the space. Writing the condition with centres in and balls of is what makes total boundedness a property of the metric space alone, matching the treatment of compactness in Open cover, subcover, compact metric space, and compact subset of a metric space. For a subset this matters: the nets of consist of points of , 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 ranges over the reals here. Convergence and the Cauchy condition are tested against rational in this library (Convergence of a sequence in a metric space: iff in , 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 directly. Nothing turns on the difference: a net for a rational is a net for , since .
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 simultaneously, as a function of , 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 ()) exactly once and at exactly that point.
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 be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric), with total boundedness as in Finite -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:
- If is totally bounded, it is bounded.
- If is totally bounded and , then the metric subspace is totally bounded (Isometry, isometric embedding, and the subspace metric on a subset).
- If is totally bounded, so is its closure (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 and a subset , with the metric subspace and the closure of in .
is totally bounded exactly when for every real there is a finite , empty or listable as , with (Finite -net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).
A subset is bounded when it is empty or contained in a ball with in the space and real (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
A metric satisfies and , and (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
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).
Balls of a subspace are traces: for , (Isometry, isometric embedding, and the subspace metric on a subset).
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
If then is bounded, emptiness being one of the two cases of the definition.
Suppose instead , and let be a finite -net for ; then , since a union over an empty family of balls is empty while is not, so for some .
The set is a nonempty finite set of reals, so it has a maximum , and .
Every lies in for some , whence ; so with , and is bounded.
Claim 1 is proved, by step 1.1 in the empty case and by step 3.1 otherwise.
Claim 1 being settled, take up claim 2: assume totally bounded, let , let be real, fix a finite -net for , and put .
If then the empty set is a finite -net for ; otherwise fix , put for and for with , all nonempty, and apply finite choice to the function on to obtain with for every .
Put , a finite set; given there is with , so and , that is .
So is a finite -net for , and since was arbitrary the subspace is totally bounded: claim 2 is proved.
Claim 2 being settled, take up claim 3: assume totally bounded, let be real and fix a finite -net for , or when .
Let ; then meets , so there is with , and for some , whence .
Hence with finite, so that set is a finite -net for the subspace ; as was arbitrary, is totally bounded and claim 3 is proved.
Claims 1, 2 and 3 hold, by steps 4.1, 8.1 and 11.1 respectively.
Remarks
Where the halving is needed. In claim 2 the net of the subspace has to consist of points of , and a point of a net for need not lie in ; moving from to a point of within of it costs the other half of . The same halving appears in claim 3, where the point being approximated lies in the closure rather than in .
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 with the discrete metric is bounded and is not totally bounded ↗ exhibits the witness.
A metric space is compact if and only if every family of closed subsets with the finite intersection property has nonempty intersection
Statement
Let be a metric space (Metric space: iff , 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 of subsets of write
so that , matching the convention for the empty finite intersection in Finite intersection property.
Then is compact (Open cover, subcover, compact metric space, and compact subset of a metric space) if and only if every family of closed subsets of with the finite intersection property satisfies .
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 , families of subsets of , and the two notions above.
Elementary set algebra inside : for , and for any family of subsets of one has and .
is compact exactly when every family of open subsets of with union has a finite subfamily with union , the empty subfamily serving when (Open cover, subcover, compact metric space, and compact subset of a metric space).
is closed exactly when is open (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).
has the finite intersection property exactly when for every and every finite list , the empty list having intersection (Finite intersection property).
Proof
Complementation inside is its own inverse, and it exchanges the open subsets of with the closed ones: , and is open exactly when is closed.
For any family of subsets of , the union of is exactly when the intersection of the complements is empty, and the intersection of is empty exactly when the union of the complements is .
In particular, for one has exactly when .
Assume compact, let be a family of closed subsets of with the finite intersection property, and suppose for contradiction that .
Applying the finite intersection property to the empty list gives ; and is a family of open subsets of whose union is , hence an open cover of .
Compactness applied to , together with , gives and with .
Each is for the set , which lies in and is determined by alone; so by step 2.1, and the list contradicts the finite intersection property of .
Therefore , which is the forward implication.
Conversely assume that every family of closed subsets of with the finite intersection property has nonempty intersection, let be a family of open subsets of with union , and suppose for contradiction that no finite subfamily of has union .
Then , since otherwise the empty subfamily would have union ; and is a family of closed subsets of .
has the finite intersection property: the empty list has intersection , and a list of members of has with , so would give by step 2.1, a finite subfamily with union .
By the assumed condition ; but because has union , and this contradiction is the required one.
Hence some finite subfamily of has union , so is compact, and with step 7.1 both implications are proved.
Remarks
The empty family and the empty space. The conventions are not decoration. 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 as well, with both sides true.
Why no choice is spent. The natural-looking step "the finite subcover consists of sets , so pick " would be a selection if a member of the family could be the complement of several different members. It cannot: complementation inside is injective, so is recovered from 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.
A closed subset of a compact metric space is compact
Statement
Let be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be closed 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). Then is a compact subset of : the metric subspace is a compact metric space (Isometry, isometric embedding, and the subspace metric on a subset).
No choice principle is used.
Facts & Assumptions
Given: A compact metric space and a closed subset .
is compact: every family of open subsets of with union has a finite subfamily with union (Open cover, subcover, compact metric space, and compact subset of a metric space).
A subset is a compact subset exactly when for every set and every family of open subsets of with there are and with , or else ; and is a compact subset of itself, its subspace metric being (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).
is closed exactly when is open 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).
Proof
is open in .
By the ambient characterisation it suffices to show that every family of open subsets of with has finitely many members whose union contains , or that ; so fix such a family.
Take an object not in , put and ; then is a family of open subsets of whose union is , since a point outside lies in and a point of lies in some with .
Applying the ambient characterisation to the compact subset of itself gives and with , unless , in which case and there is nothing to prove.
Delete from the list every entry equal to ; what remains is a finite list of indices from , possibly empty, and the union of the corresponding sets still contains , because contains no point of while every point of lies in one of the listed sets.
If that remaining list is empty then , and otherwise it exhibits finitely many members of whose union contains ; in both cases the condition of step 1.2 is met, so is a compact subset of .
Remarks
The hypothesis that 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 is covered by the , but need not be; adjoining the single open set 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.
A compact subset of a metric space is closed and bounded
Statement
Let be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be a compact subset (Open cover, subcover, compact metric space, and compact subset of a metric space). Then is closed 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 bounded (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
No choice principle is used: both covers below are given by a rule, and the indexed form of 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 returns indices rather than sets.
The converse is false in general. A closed and bounded subset of an arbitrary metric space need not be compact (FALSE: a closed and bounded subset of a metric space is compact); it is exactly in that the converse holds (Heine-Borel in : with the Euclidean metric a subset of 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).
Facts & Assumptions
Given: A metric space and a compact subset .
is a compact subset exactly when for every set and every family of open subsets of with there are and with , or else (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).
For in and one has and (Distinct points of a metric space have disjoint balls around them).
Open balls are open, is open, and a set is closed exactly when its complement is open (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed, 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).
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).
A subset is bounded when it is empty or contained in some ball with ; and whenever (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
If then is bounded by the first clause of the definition, and it is closed because is open.
Assume from now on that and fix ; the family indexed by the set of positive reals consists of open sets and covers , since every satisfies and so lies in .
The indexed characterisation gives and positive reals with ; putting , a positive real, the balls with common centre are nested, so and is bounded.
Boundedness being settled, take up closedness: let and for each put , which is a positive real because , and which satisfies .
The family consists of open subsets of and covers , since ; so there are and with .
Put , a positive real.
Then : a point of the intersection would lie in for some by step 4.1, and also in by step 5.1, whereas those two balls are disjoint by step 3.1.
So every point of has a ball around it inside , that set is open, and is closed; together with steps 1.1 and 2.1 this proves the theorem.
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.
A compact metric space is complete and totally bounded, and neither implication uses any choice principle
Statement
Let be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric). Then is totally bounded (Finite -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 .
Open balls are open (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed, 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).
is totally bounded exactly when for every real there is a finite with (Finite -net and totally bounded metric space).
is a compact subset of itself, and for every family of open subsets of with there are and with , unless (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).
is complete when every Cauchy sequence converges to a point of ; is Cauchy when for every rational there is with for all ; and when for every rational there is with for all (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space, Convergence of a sequence in a metric space: iff in ).
The closure of is closed, contains , and is contained in every closed superset of ; and exactly when for every real (The closure of a nonempty is , equals 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).
is compact exactly when every family of closed subsets of with the finite intersection property has nonempty intersection, the empty finite list having intersection (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).
A metric satisfies the triangle inequality and is symmetric (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
A finite list of natural numbers has a greatest member. Indeed the reals , with the canonical natural of (The canonical natural of a field), form a nonempty finite set of reals and so have a maximum, which is one of them, say (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set); the map is strictly increasing on the naturals (Canonical naturals are positive and strictly increasing), so would force , which the maximality forbids, and the order of is linear ( is a linear order on ), whence for every .
Proof
Let be real; the family consists of open subsets of and has union , since for every .
If the empty set is a finite -net; otherwise the indexed characterisation gives and with , so is a finite -net; as was arbitrary, is totally bounded.
Total boundedness being settled, take up completeness: let be a Cauchy sequence in and put for , a definition by a rule and not by a selection.
Each is closed and nonempty, containing ; and whenever , since then and is the smallest closed superset of the first of these sets.
The family of closed sets has the finite intersection property: the empty list has intersection , which contains ; and for a list take a greatest member of the list of indices, so that for every and lies in every one of them.
By the finite intersection characterisation of compactness there is a point , that is for every .
Let be rational and take with for all ; since , the ball meets , so there is with , and then for every .
Hence with ; every Cauchy sequence in converges, so is complete, and with step 2.1 the theorem is proved.
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 are given by a formula, the point is produced by one existential instantiation, and the index in step 7.1 by another.
Neither converse holds. A complete metric space need not be totally bounded and need not be compact ( is complete and unbounded), and a totally bounded space need not be compact (FALSE: a totally bounded metric space is compact, The open interval is totally bounded and not compact, the cover by the intervals 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.
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 be a metric space (Metric space: iff , 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:
- If is compact, it is countably compact.
- If is compact, it is limit point compact.
- If is countably compact, it is sequentially compact.
- If 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 , whichever of the four properties is assumed in the claim under proof.
The definitions: is compact when every family of open subsets with union has a finite subfamily with union ; countably compact when every such family that is at most countable does; sequentially compact when every sequence has a subsequence converging in ; limit point compact when every infinite subset has a limit point in , where is a limit point of when for every real (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).
Open balls are open, an arbitrary union of open sets is open, and a set is closed exactly when its complement is open (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed, 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).
The closure is closed, contains and is the smallest closed superset of ; and exactly when for every real (The closure of a nonempty is , equals 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).
Recursion: for a set , an element and a function there is a unique with and ; when the recursion rule depends on the stage, it is applied to and the first coordinate of is , by the small induction recorded in Finite sums and finite products, by recursion (The recursion theorem).
Every nonempty subset of has a least element (The well-ordering principle).
A finite list of natural numbers has a greatest member: the reals , with the canonical natural of (The canonical natural of a field), form a nonempty finite set of reals and so have a maximum, which is one of them, say (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set); is strictly increasing on the naturals (Canonical naturals are positive and strictly increasing) and the order of is linear ( is a linear order on ), so for every .
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).
Finiteness: a set listed as is finite, a nonempty finite set can be listed, and a subset of 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).
A family indexed by is at most countable, being the image of a surjection from (Finite, countably infinite, countable, uncountable, A nonempty set is at most countable iff it is a surjective image of ).
when for every rational there is with for ; and for every real there is a natural with (Convergence of a sequence in a metric space: iff in , For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean).
An index map with for every is strictly increasing, and then (A strictly increasing index map satisfies ).
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).
A metric is symmetric and satisfies the triangle inequality, and exactly when (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
Proof
Claim 1 is immediate: an at most countable family of open sets with union is in particular a family of open sets with union , so compactness supplies the finite subfamily that countable compactness asks for.
For claim 2, assume compact, let have no limit point in , and put , a family cut out by a property; has union , because each fails to be a limit point of and so admits with , whence and .
Compactness gives and with , unless , in which case is finite.
Define by letting be the least with ; this is well defined and canonical, and it is injective, since puts both and in , a set with at most one element. Hence is in bijection with , a subset of bounded above by , so is finite.
So a subset of with no limit point in is finite; contrapositively every infinite subset of has a limit point in , and is limit point compact: claim 2.
For claim 3, assume countably compact, let be a sequence in and put for .
Each is closed and contains , and whenever , because and is the smallest closed superset of the first set.
Suppose for contradiction that ; then is an at most countable family of open subsets of whose union is .
Countable compactness gives a finite subfamily of with union ; putting , each equals for at least one , so finite choice applied to yields indices with , and a greatest member of that list satisfies for every .
Then , contradicting .
Hence there is with for every .
For every and every the set is nonempty, since means that the ball meets ; so it has a least element, and likewise is nonempty and has a least element .
Applying recursion on to the starting value and the rule produces whose first coordinate at is ; write for its second coordinate.
Then for every , so is strictly increasing, and for every , the case being the choice of .
Given a rational take a natural with ; for one has and so . Hence , the sequence has a convergent subsequence, and is sequentially compact: claim 3.
For claim 4, assume limit point compact, let be a sequence in and let be its range, a nonempty subset of .
Suppose first that is finite, and list it as ; putting for gives .
Some is unbounded in : otherwise each has an upper bound in and hence a least upper bound , canonical by well-ordering, and a greatest member of the list would satisfy for every , so that lies in no , against . Let be the least for which is unbounded.
Recursion applied to the starting value and the rule , each of these sets being nonempty because is unbounded, produces a strictly increasing with for every ; a constant sequence converges to its value, so .
Suppose instead that is infinite; limit point compactness then gives a limit point of .
Suppose for contradiction that some real and some satisfy for every .
Let be the set listed by together with the entries for , where if and otherwise; every listed entry is a positive real, so is a nonempty finite set of positive reals and . Then misses : a point of is with , and when , while when . That contradicts being a limit point of .
Hence for every real and every there is with .
Consequently, for every and every the set is nonempty, as is , and the recursion of steps 13.1 and 14.1 applies verbatim, producing a strictly increasing with ; by the estimate of step 15.1, .
In both cases has a subsequence converging in , so is sequentially compact: claim 4.
Claims 1, 2, 3 and 4 are proved by steps 1.1, 5.1, 15.1 and 25.1 respectively.
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 " 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 -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 , 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.
A sequentially compact metric space is complete, with no choice principle used
Statement
Let be a sequentially compact metric space (Countably compact, sequentially compact and limit point compact metric spaces, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric). Then 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 .
is sequentially compact: every sequence in has a subsequence converging to a point of (Countably compact, sequentially compact and limit point compact metric spaces, Sequences of reals: bounded, eventually, frequently, tails, subsequences, Convergence of a sequence in a metric space: iff in ).
is complete when every Cauchy sequence in converges to a point of (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space).
A Cauchy sequence with a subsequence converging to converges to itself (A Cauchy sequence in a metric space with a convergent subsequence converges to that subsequence’s limit).
Proof
Let be a Cauchy sequence in .
By sequential compactness there is a strictly increasing index map and a point with in .
Since is Cauchy and one of its subsequences converges to , the whole sequence converges to , and .
So every Cauchy sequence in converges in , that is is complete.
Remarks
The converse fails. A complete metric space need not be sequentially compact: with its usual metric is complete, and the sequence 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.
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 -indexed chain). Let be a sequentially compact metric space (Countably compact, sequentially compact and limit point compact metric spaces, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric). Then is totally bounded (Finite -net and totally bounded metric space).
What is claimed about the cost, and what is not. Claimed: the proof below is carried out in , and is used exactly once, at step 5.1. Not claimed: that 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 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 , and the Axiom of Dependent Choice.
is sequentially compact: every sequence in has a subsequence converging to a point of , along a strictly increasing index map (Countably compact, sequentially compact and limit point compact metric spaces, Sequences of reals: bounded, eventually, frequently, tails, subsequences, Convergence of a sequence in a metric space: iff in , A strictly increasing index map satisfies ).
is totally bounded when for every real there is a finite , empty or listable, with ; equivalently, when for every real some finite list of points of satisfies: every has for some (Finite -net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).
Dependent choice: for a nonempty set , a relation on with every element -related to some element, and any , there is a sequence in with and for every (The axiom of dependent choice: a relation in which every element is related to something admits an -indexed chain).
A convergent sequence is Cauchy: if then for every rational there is with for all (Every convergent sequence in a metric space is Cauchy, Cauchy sequence in a metric space).
A metric is symmetric, nonnegative and satisfies the triangle inequality (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
For every real there is a natural with , and is a positive rational (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean).
Proof
Suppose is sequentially compact and not totally bounded, and fix a real for which no finite subset of is an -net.
Then , since for the empty set is an -net.
Let be the set of -separated finite tuples in , that is of functions with and whenever ; the empty function, with , lies in , so .
Let mean that extends by one term with for every ; then is a relation on and every is -related to some element of , because the finite set is not an -net, so some has for every , and the extension of by lies in .
Dependent choice, applied to , to and to the empty function as starting point, yields a sequence in with the empty function and for every ; this is the only appeal to a choice principle in the proof.
Each has domain and restricted to is , both by induction on from the definition of ; so defines a sequence in , and for both and hold, whence .
Sequential compactness gives a strictly increasing and with ; that subsequence is therefore Cauchy, so, taking a natural with and testing the Cauchy condition at the positive rational , there is with for all .
But , so step 6.1 gives , contradicting step 7.1; the assumption of step 1.1 is therefore untenable, every real admits a finite -net, and is totally bounded.
Remarks
Why countable choice is not what this proof uses. A natural attempt is to apply to the family whose -th member is the set of -separated -tuples, each of which is nonempty by the argument of step 4.1. What that returns is one -separated -tuple for each , with no relation whatever between the tuple chosen at and the one chosen at : the tuples need not extend one another, need not share a single point, and nothing in the data assembles them into one -separated sequence. The relation 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 -indexed chain is. This is an observation about the argument given here; it is not a proof that is insufficient for the theorem.
The passage to a rational in step 7.1. Convergence and the Cauchy condition are tested against rational in this library (Convergence of a sequence in a metric space: iff in , Cauchy sequence in a metric space), while the of step 1.1 is an arbitrary positive real. The reciprocal form of the Archimedean property supplies a positive rational below it (For every in a complete ordered field there is a natural with ), and the contradiction is unaffected: a Cauchy estimate at still contradicts a separation of at least .
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 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.
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 ()). Let be a metric space (Metric space: iff , 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 -net and totally bounded metric space). Then 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. is used exactly once, at step 3.1, to fix one finite -net together with a listing of it for every 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 -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 is necessary for the theorem.
Facts & Assumptions
Given: A complete, totally bounded metric space , an open cover of it, and the Axiom of Countable Choice.
is compact when every family of open subsets of with union has a finite subfamily with union ; open means every point of has a ball around it inside (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).
is totally bounded: for every real there is a finite with , and a nonempty finite set can be listed (Finite -net and totally bounded metric space, Open cover, subcover, compact metric space, and compact subset of a metric space).
Countable choice: for a family of nonempty sets there is a function with for every (The Axiom of Countable Choice ()).
Recursion: for a set , an element and a function there is a unique with and ; a stage-dependent rule is handled on , the first coordinate of then being (The recursion theorem, Finite sums and finite products, by recursion).
Every nonempty subset of has a least element, and the order of is linear (The well-ordering principle, is a linear order on ).
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).
is complete: every Cauchy sequence converges in ; is Cauchy when for every rational there is with for ; and when for every rational there is with for (Complete metric space: every Cauchy sequence converges in the space, Cauchy sequence in a metric space, Convergence of a sequence in a metric space: iff in , Sequences of reals: bounded, eventually, frequently, tails, subsequences).
For every real there is a natural with , and is a positive rational; reciprocals of positives are positive and reverse the order (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).
A metric is symmetric and satisfies the triangle inequality (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
Proof
Suppose is complete and totally bounded and that some family of open subsets of with union has no finite subfamily with union ; call a subset finitely covered when some finite subfamily of has union containing , so that itself is not finitely covered.
, since the empty subfamily of has union and would finitely cover an empty ; consequently, for each , the set of pairs with and such that is a finite -net for is nonempty.
Countable choice applied to fixes, once and for all, a function with ; this is the single appeal to a choice principle in this proof, and the family was written down at step 2.1 before any of it was made.
If is not finitely covered and , then fails to be finitely covered for at least one : otherwise finite choice applied to produces one such subfamily for each , and the concatenation of those finitely many finite lists is a finite subfamily of whose union contains .
Let be the least with not finitely covered when such an exists, and otherwise; recursion on with starting value and rule then produces whose first coordinate at is ; write for its second coordinate and .
By induction, no is finitely covered: is not, by step 1.1, and if is not then step 4.1 supplies an admissible , so is one and is not finitely covered either. In particular every is nonempty, since the empty set is finitely covered by the empty subfamily; moreover and .
The sequence is Cauchy: for one has and , and taking gives ; so given a rational , a natural with makes for all .
By completeness for some ; since has union there is with , and openness of gives a real with .
Take a natural with , then with for all , and let be whichever of and is the greater; then and , so every satisfies , that is .
So the one-member subfamily of has union containing , making finitely covered and contradicting step 6.1; the assumption of step 1.1 therefore fails, every family of open sets with union has a finite subfamily with union , and is compact.
Remarks
Why the nets have to be chosen with their listings. Total boundedness asserts that a finite -net exists for each ; 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 , so that the sets 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 and not the net alone.
Non-dependent, and that is the whole point. The sets of step 2.1 depend on and on , and on nothing that the construction produces. Had the net at stage been required to depend on — for instance a net of the set rather than of — 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 -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 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 is totally bounded and not compact, the cover by the intervals having no finite subcover ↗), and a complete space that is not totally bounded need not be compact either, with its usual metric being complete and having no finite -net.
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 ()) and the Axiom of Dependent Choice (The axiom of dependent choice: a relation in which every element is related to something admits an -indexed chain). Let be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric). Then the following five conditions are equivalent.
- (a) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space).
- (b) is countably compact (Countably compact, sequentially compact and limit point compact metric spaces).
- (c) is limit point compact.
- (d) is sequentially compact.
- (e) is complete (Complete metric space: every Cauchy sequence converges in the space) and totally bounded (Finite -net and totally bounded metric space).
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 , the Axiom of Countable Choice, and the Axiom of Dependent Choice.
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).
In ZF: a sequentially compact metric space is complete (A sequentially compact metric space is complete, with no choice principle used).
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).
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).
In ZF: a compact metric space is complete and totally bounded (A compact metric space is complete and totally bounded, and neither implication uses any choice principle).
Proof
(a) implies (b), and (a) implies (c).
(b) implies (d), and (c) implies (d).
(d) implies (e): completeness of a sequentially compact space is a theorem of ZF, and total boundedness follows from dependent choice.
(e) implies (a), by countable choice.
The cycle (a) (b) (d) (e) (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.
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.
Hence all five conditions are equivalent; and the implication (a) (e), which the cycle obtains only by going round through (b) and (d), also holds directly and choice-freely.
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) (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.
Heine-Borel in : with the Euclidean metric a subset of 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 with , let be the set of functions and let be the Euclidean metric on it ( as the set of functions , and , , are metrics on it). Then:
- Closed boxes are compact. For reals the box is a compact subset of (Open cover, subcover, compact metric space, and compact subset of a metric space).
- Heine-Borel. A subset is a compact subset of if and only if is closed 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 bounded (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
- The real line. A subset is a compact subset of , the usual metric (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded), if and only if is closed in 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 is inherited from as the set of functions , and , , are metrics on it, which defines and its metrics only there; the last remark below records what happens at .
Facts & Assumptions
Given: A natural number , the metric space , and the notions of open, closed, bounded and compact subset in it.
is the set of functions , and , are metrics on it ( as the set of functions , and , , are metrics on it, Finite sums and finite products, by recursion, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
Finite sums of nonnegative terms dominate each term and are monotone, and for a constant , being the canonical natural of (Laws of finite sums and finite products, Finite sums and finite products, by recursion, The canonical natural of a field).
For : exactly when ; every has a unique nonnegative square root; and for every real (Squaring is monotone on the nonnegatives, Square roots exist: a unique with ; the positives are , Absolute value in an ordered field).
A subset is compact exactly when every family of open subsets of the ambient space with has finitely many members whose union contains , or ; and the sets open in the subspace are exactly the traces on of the open subsets of the ambient space, so, taking complements inside , the sets closed in are exactly the traces on 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).
A compact subset of a metric space is closed and bounded (A compact subset of a metric space is closed and bounded).
A closed subset of a compact metric space is compact (A closed subset of a compact metric space is compact).
Nested closed bounded intervals with have nonempty intersection, and the intersection is a single point exactly when the lengths tend to (A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to , Intervals of : the nine order-convex forms, nondegeneracy, and length, Limits and Cauchy sequences of reals).
Recursion: for a set , an element and there is a unique with and ; a stage-dependent rule is handled on , the first coordinate of then being (The recursion theorem, Finite sums and finite products, by recursion).
, integer powers being those of Integer powers (For the sequence is null, and for the sequence diverges to , Limits and Cauchy sequences of reals).
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).
is open exactly when every point of has a ball inside ; a subset is bounded when it is empty or lies in some ball with (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, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
For every real there is a natural with (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean).
Proof
For and the term is one of the nonnegative terms of , so , and taking nonnegative square roots gives ; hence .
Conversely each , so , the last step because ; hence .
For claim 1 fix reals and the box they determine, let be open subsets of with , call a set finitely covered when finitely many of the have union containing , and suppose for contradiction that is not finitely covered.
For a box with and for , let and be the boxes obtained by replacing the -th interval by and by ; then by trichotomy applied to against the midpoint, the -th side length of each is and the others are unchanged, and if both halves were finitely covered so would be, the union of two finite subfamilies being finite. Define if is not finitely covered, and otherwise; this is a definition by a property, and is not finitely covered whenever is.
Recursion on , with the set of functions from boxes to boxes, starting value and rule for and otherwise, produces for every ; put . By induction on , is a box whose -th side is half that of for and equal to that of for , and is not finitely covered when is not. So halves every side and preserves not being finitely covered.
Recursion applied to the starting value and the rule produces boxes with and ; each fails to be finitely covered, , and the -th side length of is , where .
For each the -th intervals of the form a nested family of closed bounded intervals whose lengths tend to , so their intersection is a single point ; the function , , is a point of lying in every .
Since , there is with , and openness gives a real with .
Put and ; for each is at most the -th side length of , so and by step 1.2. Taking a natural with and then with gives , so is finitely covered by the single set , contradicting step 5.1.
Therefore every such family has finitely many members covering , and is a compact subset of : claim 1 is proved.
For claim 2, a compact is closed and bounded.
Conversely let be closed and bounded; if it is compact, and otherwise for some and real , so every and satisfy by step 1.1; with the box contains .
is the trace on of a closed subset of , namely of itself, so is closed in the metric subspace ; that subspace is compact by step 9.1, so is compact, and claim 2 is proved.
For claim 3, let send to the function with value ; it is a bijection and , so 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 to therefore gives claim 3.
Remarks
Why the bisection halves one coordinate at a time. Halving all coordinates at once produces sub-boxes, and choosing one of them canonically means enumerating them, which needs a bijection between the functions 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 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 inside a box. Dropping either leaves a non-compact set: the whole of 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 closed and bounded is enough; that is special to , 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 . has exactly one element, the empty function, and as the set of functions , and , , are metrics on it does not treat it, because would be a maximum over the empty index set. On a one-element set the only metric is the one taking the value , and the resulting space is compact for trivial reasons: it is listed as , and any family of open sets covering it has a member containing (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.
The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset
Statement
Let and be metric spaces (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be continuous (Continuity of a map between metric spaces, at a point and globally, in the - form). Then:
- If is compact (Open cover, subcover, compact metric space, and compact subset of a metric space), the image is a compact subset of .
- More generally, if is a compact subset of , then is a compact subset of .
No choice principle is used.
Facts & Assumptions
Given: Metric spaces and and a continuous ; images and preimages are written and (Injection, surjection, bijection).
A subset of a metric space is compact exactly when for every family of open subsets of the ambient space with there are and with , or else ; 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).
is continuous exactly when is open in for every open (For a map of metric spaces the following agree: - continuity everywhere, preimages of open sets are open, preimages of closed sets are closed, sequential continuity, and , Continuity of a map between metric spaces, at a point and globally, in the - form, 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).
The restriction of to a metric subspace of is continuous as a map , since the - condition at a point of is the condition for at that point read for the points of only, and is the restriction of (Isometry, isometric embedding, and the subspace metric on a subset, Continuity of a map between metric spaces, at a point and globally, in the - form).
Proof
Assume compact and let be a family of open subsets of with .
Each is open in , and , because every has and so for some .
If then and there is nothing to prove; otherwise compactness of , read against the indexed family of step 2.1, gives and with .
Every is for some , and that lies in some , so ; hence and is a compact subset of : claim 1.
For claim 2, let be a compact subset, so that is a compact metric space; the restriction of to is continuous, and its image is , so claim 1 applied to that restriction gives that is a compact subset of .
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 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).
A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value
Statement
Let be a nonempty compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be continuous (Continuity of a map between metric spaces, at a point and globally, in the - form), carrying its usual metric (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded). Then the image 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 with
and then and (Complete ordered field (least-upper-bound property), Greatest lower bound (infimum)).
Nonemptiness of is a hypothesis and not an oversight: for 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 and a continuous .
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).
A compact subset of a metric space is closed and bounded (A compact subset of a metric space is closed and bounded, 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, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
A nonempty subset of 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).
For nonempty and bounded above with supremum : for every real there is with ; dually for the infimum (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).
lies in the closure of exactly when every ball around meets , and a closed set contains its closure (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset, 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).
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
is a compact subset of , and it is nonempty because is.
So is closed in and bounded as a subset of the metric space : there are and a real with .
Hence is an upper bound and a lower bound of , so is bounded above and below, and being nonempty it has a supremum and an infimum .
For every real there is with , so and ; therefore every ball around meets and lies in the closure of .
Since is closed, ; so is a member of bounding it above, that is , and for some .
The same argument with in place of , using the infimum form of step 4.1, gives , so and for some .
For every the value lies in , hence , which is the assertion, with and .
Remarks
Compactness is what is used, not boundedness of the domain. A bounded non-compact domain is not enough: on the interval the identity map is continuous and bounded with no greatest value, and is continuous and unbounded (On the identity is bounded with no greatest value and 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. exists as soon as is nonempty and bounded above, which needs only boundedness; what compactness adds is that 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.
Every open cover of a compact metric space has a Lebesgue number: a such that every nonempty subset of diameter less than lies inside a single member of the cover
Statement
Let be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be an open cover of . Then there is a real , a Lebesgue number for , such that every nonempty with (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space) satisfies for some .
Diameters of nonempty subsets of 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 and an open cover of it.
is compact: every family of open subsets with union has a finite subfamily with union (Open cover, subcover, compact metric space, and compact subset of a 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).
A compact metric space is bounded, and is defined for every nonempty bounded (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).
For nonempty , ; 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)).
For nonempty the map satisfies , so it is Lipschitz with constant , and a Lipschitz map is continuous (, so the distance to a fixed nonempty set is -Lipschitz, Lipschitz map, -Hölder map for rational , and contraction, Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent, Continuity of a map between metric spaces, at a point and globally, in the - form).
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).
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).
is open exactly when every point of has a ball around it inside (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).
Proof
If then serves, there being no nonempty subset of to test; assume from now on .
Compactness gives and with .
If for some , then serves again, every nonempty being contained in that ; assume from now on that for every .
For and real one has for every , so , and by symmetry .
Define by , a maximum of a nonempty finite set of reals; each changes by at most between and , so by step 4.1 , and is Lipschitz with constant , hence continuous.
for every : such an lies in some by step 2.1, openness gives a real with , so every has , making a lower bound of and hence .
By the extreme value theorem applied to the nonempty compact and the continuous , there is with for every ; put , a real with by step 6.1.
Let be nonempty with and fix ; then , so some has , the maximum defining being one of its members, and the least such may be taken.
Every satisfies , so , since a point of that set would make ; hence with , and is a Lebesgue number for .
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 by the intervals , , has no Lebesgue number (The cover of by the intervals has no Lebesgue number, so the Lebesgue number lemma needs compactness ↗), and is not compact.
The two degenerate cases in steps 1.1 and 3.1 are genuine. If is empty the conclusion is vacuous, and if some member of the finite subcover is the whole space the function 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.
Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous
Statement
Let be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space), let be any metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be continuous (Continuity of a map between metric spaces, at a point and globally, in the - form). Then is uniformly continuous (Uniform continuity of a map of metric spaces: one serving every point).
No choice principle is used: the cover built below is cut out by a property, and the Lebesgue number lemma it is fed to is itself choice free (Every open cover of a compact metric space has a Lebesgue number: a such that every nonempty subset of diameter less than lies inside a single member of the cover).
Facts & Assumptions
Given: A compact metric space , a metric space and a continuous .
is continuous at : for every real there is a real with (Continuity of a map between metric spaces, at a point and globally, in the - form, Open ball, closed ball and sphere in a metric space).
is uniformly continuous when for every real there is a real such that implies , for all (Uniform continuity of a map of metric spaces: one serving every point).
Every open cover of a compact metric space has a Lebesgue number: a real such that every nonempty subset of diameter less than lies in a single member of the cover (Every open cover of a compact metric space has a Lebesgue number: a such that every nonempty subset of diameter less than lies inside a single member of the cover, Open cover, subcover, compact metric space, and compact subset of a metric space).
For nonempty bounded , ; in particular , the set of distances being 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).
A metric is symmetric and satisfies the triangle inequality (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
Proof
If the condition of uniform continuity holds vacuously, so assume , and let be real.
Put , a family cut out by a property and not by a selection.
is an open cover of : given , continuity at supplies a real with , and is open and contains , so it belongs to .
By the Lebesgue number lemma there is a real such that every nonempty subset of of diameter less than is contained in a single member of .
Let with ; the set is nonempty with diameter , so for some , and there is with .
Then and , so ; as was arbitrary, is uniformly continuous.
Remarks
The centre is not chosen, and that is why the proof is choice free. The family is defined by the existence of a suitable , and the argument instantiates that existential once, at step 5.1, for the single member that the Lebesgue number produced. No function assigning a centre to every member of is ever needed.
Compactness is not removable. The map is continuous on the interval and is not uniformly continuous there ( is continuous on and not uniformly continuous, so Heine-Cantor needs compactness of the domain ↗); is not compact.
The codomain is arbitrary. Nothing is assumed about — not completeness, not boundedness, not compactness. All the work is done on the domain side, which is where the finite subcover lives.
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 be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space), let be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be a continuous bijection (Continuity of a map between metric spaces, at a point and globally, in the - form, Injection, surjection, bijection). Then:
- is open in for every open 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);
- the inverse function 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 , a metric space and a continuous bijection .
A closed subset of a compact metric space is a compact subset of it (A closed subset of a compact metric space is compact, 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).
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).
A compact subset of a metric space is closed (A compact subset of a metric space is closed and bounded).
A set is closed exactly when its complement is open (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).
A map is continuous exactly when the preimage of every open set is open (For a map of metric spaces the following agree: - continuity everywhere, preimages of open sets are open, preimages of closed sets are closed, sequential continuity, and , Continuity of a map between metric spaces, at a point and globally, in the - form).
For a bijection and : , and for the inverse function one has (Injection, surjection, bijection).
Proof
Let be open; then is closed in .
Being a closed subset of the compact space , the set is a compact subset of .
Hence is a compact subset of , and therefore closed in .
Since is a bijection, , so is open in : claim 1.
Write , a function because is a bijection; for every open the preimage equals , which is open by claim 1, so is continuous: claim 2.
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 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 beyond being a metric space is required.
A compact metric space has a countable dense subset, by countable choice
Statement
Assume the Axiom of Countable Choice (The Axiom of Countable Choice ()). Let be a compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric). Then there is an at most countable set (Finite, countably infinite, countable, uncountable) that is dense in , that is (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 -net for every 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 at step 4.1 carries the same hypothesis 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 is necessary.
Facts & Assumptions
Given: A compact metric space and the Axiom of Countable Choice.
A compact metric space is totally bounded: for every real there is a finite with (A compact metric space is complete and totally bounded, and neither implication uses any choice principle, Finite -net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).
Countable choice: for a family of nonempty sets there is a function with (The Axiom of Countable Choice ()).
Finite sets are at most countable, and, assuming countable choice, a union of at most countable sets is at most countable (Finite, countably infinite, countable, uncountable, Countable unions of at most countable sets, assuming , A nonempty set is at most countable iff it is a surjective image of ).
exactly when for every real , and is dense when (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset).
For every real there is a natural with , and whenever (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).
Proof
For each let be the set of finite -nets for ; each is nonempty because is compact and hence totally bounded.
Countable choice applied to fixes a function with for every , that is a finite -net for each ; this is the only appeal to a choice principle here.
Put .
Each is finite and therefore at most countable, so is at most countable by the countable union theorem, whose hypothesis is the same already assumed.
is dense: given and a real , take a natural with and put , so that ; since is a -net there is with , and that lies in .
So every ball around every point of meets , that is , and is an at most countable dense subset of .
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 -net exists for each ; it names none, and there is no rule in this library that singles one out uniformly in . Fixing one for every at once is precisely , 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 then every is empty, is empty, and ; the empty set is finite and hence at most countable.
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.
- A compact subset of a metric space is closed and bounded (A compact subset of a metric space is closed and bounded).
- A compact metric space is complete and totally bounded (A compact metric space is complete and totally bounded, and neither implication uses any choice principle). Completeness is obtained there from the finite intersection characterisation applied to the closures of the tails of a Cauchy sequence, precisely so that the argument does not pass through the extraction of a subsequence.
- Compactness implies countable compactness and limit point compactness, and each of those 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). The two arrows into sequential compactness extract a subsequence by taking, at every stage, the least admissible index.
- A sequentially compact metric space is complete (A sequentially compact metric space is complete, with no choice principle used).
- A closed subset of a compact metric space is compact, a continuous image of a compact space is compact, the extreme value theorem, the Lebesgue number lemma, Heine-Cantor, and the continuity of the inverse of a continuous bijection from a compact space.
- Heine-Borel in (Heine-Borel in : with the Euclidean metric a subset of 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), by a bisection in which each step halves one coordinate and keeps the left half when the left half is still not finitely covered.
Using the Axiom of Countable Choice (The Axiom of Countable Choice ()), spent once and named at the step that spends it.
- A complete, totally bounded metric space is compact (A complete, totally bounded metric space is compact, proved from countable choice used exactly once): one finite -net, together with a listing of it, is fixed for every at once.
- A compact metric space has an at most countable dense subset (A compact metric space has a countable dense subset, by countable choice): the same selection, and the countable union theorem it then invokes carries the same hypothesis and no more.
Using the Axiom of Dependent Choice (The axiom of dependent choice: a relation in which every element is related to something admits an -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 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 -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 -indexed chain and in the definitions it points to.
5 · Examples, counterexamples and false statements
FALSE: a closed and bounded subset of a metric space is compact
Statement
False claim: in every metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric), a subset that is closed 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 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 (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 with the Euclidean metric (Heine-Borel in : with the Euclidean metric a subset of 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 carrying the metric that assigns distance to distinct points.
Facts & Assumptions
Given: The set of natural numbers (The natural numbers (von Neumann)) and the function with for and for .
The false claim: in every metric space a closed bounded subset is compact.
A metric on a set is a real-valued function satisfying (M1) exactly when , (M2) and (M3) (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
; 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).
A subset of a metric space is compact exactly when the metric subspace 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).
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).
For every real there is a natural with , where is the canonical natural of (Every complete ordered field is Archimedean, The canonical natural of a field).
Refutation
is a metric on : (M1) holds because was defined to mean ; (M2) because the defining condition is symmetric in and ; and (M3) because the left side is or , and when it is one has , so differs from at least one of and and the right side is at least .
In one has , since forces and hence ; consequently every subset of is open, each of its points having inside it, and every subset is closed as well.
is a closed subset of the metric space , and it is bounded, since for every gives .
The family consists of open subsets of and has union , because for every .
No finite subfamily has union : such a subfamily is for some and naturals , with union by step 2.1; the reals have a maximum , and a natural with then satisfies and hence for every , so lies in and in no member of the subfamily.
Hence is not a compact metric space, so is a closed and bounded subset of the metric space that is not compact, and the claim [A1] is false.
Remarks
What the witness fails is total boundedness, not boundedness. The space has diameter , so it is as bounded as a nonempty space can be; but a finite -net would have to contain every point, and is not finite ( 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 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 under the supremum metric, where the indicator functions of the singletons are pairwise at distance (In the bounded real-valued functions on 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 ↗).
FALSE: a totally bounded metric space is compact
Statement
False claim: every totally bounded metric space (Finite -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 ()). The claim above drops completeness, and dropping it is fatal.
The refutation takes the open interval (Intervals of : the nine order-convex forms, nondegeneracy, and length) as a metric subspace of with its usual metric (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, Isometry, isometric embedding, and the subspace metric on a subset).
Facts & Assumptions
Given: The interval as a metric subspace of , .
The false claim: every totally bounded metric space is compact.
A space is totally bounded when for every real it has a finite -net, a finite subset with the balls , , covering the space (Finite -net and totally bounded metric space, Open ball, closed ball and sphere in a metric space).
A subset of a metric space is compact exactly when every family of open subsets of the ambient space whose union contains has finitely many members whose union contains ; and the sets open in the subspace are the traces on of the open 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).
In the ball is the interval , and the subspace metric on is the restriction of (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, Intervals of : the nine order-convex forms, nondegeneracy, and length, Isometry, isometric embedding, and the subspace metric on a subset, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
Every nonempty subset of has a least element (The well-ordering principle).
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).
For every real there is a natural with ; reciprocals of positives are positive and reverse the order (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean, Inverses of positives are positive, and reciprocation reverses order).
Refutation
Let be real and take a natural with ; the points for lie in , since , and they form a finite subset of .
is a finite -net for : given , the set of naturals with is nonempty, containing because , so it has a least element , and .
For that one has and also : for because , and for because minimality gives . Hence , so lies in the subspace ball of radius about .
As was arbitrary, with the restricted metric is totally bounded.
For each put , an open subset of contained in ; the family has union , because any admits a natural with and then .
No finitely many of the have union containing : given , put , a positive real; each is contained in because , so the union of the finite subfamily is contained in , while the real satisfies and , so and lies in no .
Hence is not a compact subset of , that is the metric subspace is a totally bounded metric space that is not compact, and the claim [A1] is false.
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 is not: the terms form a Cauchy sequence in whose only candidate limit in is , 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 the identity is bounded with no greatest value and is continuous and unbounded, so the extreme value theorem needs compactness and not merely boundedness of the domain ↗, is continuous on and not uniformly continuous, so Heine-Cantor needs compactness of the domain ↗).
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: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) is totally bounded (Finite -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 carrying the metric that assigns distance to distinct points.
Facts & Assumptions
Given: The set (The natural numbers (von Neumann)) and the function with for and for .
The false claim: every bounded metric space is totally bounded.
A metric satisfies (M1) exactly when , (M2) symmetry and (M3) the triangle inequality (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric).
, 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).
A finite -net is a finite with , and a space is totally bounded when it has one for every real ; a nonempty finite set can be listed as (Finite -net and totally bounded metric space, Open cover, subcover, compact metric space, and compact subset of a metric space, Finite, countably infinite, countable, uncountable).
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).
For every real there is a natural with , where is the canonical natural of (Every complete ordered field is Archimedean, The canonical natural of a field).
Refutation
is a metric on : (M1) holds by the definition of ; (M2) because the defining condition is symmetric; and (M3) because the left side is or , and if it is then , so differs from at least one of and and the right side is at least .
is bounded: for every , so .
In one has , since forces and hence .
Suppose were a finite -net for ; then , so would be finite, and being nonempty it could be listed as .
The reals then have a maximum , and a natural with satisfies and hence for every , so is a natural number outside , which is impossible.
So no finite -net exists, is a bounded metric space that is not totally bounded, and the claim [A1] is false.
Remarks
Diameter is not a measure of how spread out a space is at small scales. The witness has diameter , and yet every ball of radius 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 with the discrete metric is bounded and is not totally bounded ↗.
In the claim is true, since a bounded subset lies in a box and a box is compact, hence totally bounded (Heine-Borel in : with the Euclidean metric a subset of 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 forbids for infinitely many points at once.
Sources
Standard references
Recommended treatments; not extraction sources.
- Axiom of dependent choice (Wikipedia)
- Axiom of countable choice (Wikipedia)
- H. Herrlich, Axiom of Choice, Lecture Notes in Mathematics 1876, Springer 2006
- Compact space (Wikipedia)
- Cover (topology) (Wikipedia)
- J. Munkres, Topology, 2nd ed., §26
- Subspace topology (Wikipedia)
- Sequentially compact space (Wikipedia)
- Limit point compact (Wikipedia)
- Countably compact space (Wikipedia)
- Totally bounded space (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 2
- Finite intersection property (Wikipedia)
- Heine-Borel theorem (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 3
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 2-3
- Extreme value theorem (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 4
- Lebesgue's number lemma (Wikipedia)
- J. Munkres, Topology, 2nd ed., §27
- Heine-Cantor theorem (Wikipedia)
- Discrete space (Wikipedia)