Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27
How statement and proof provenance work

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

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

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

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

Statement

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

  1. If (X,dX) is compact (Open cover, subcover, compact metric space, and compact subset of a metric space), the image f[X]⊆Y is a compact subset of Y.
  2. More generally, if K⊆X is a compact subset of X, then f[K] is a compact subset of Y.

No choice principle is used.

Facts & Assumptions

Given: Metric spaces (X,dX) and (Y,dY) and a continuous f:X→Y; images and preimages are written f[ ⋅ ] and f−1[ ⋅ ] (Injection, surjection, bijection).

[L1]

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

[L3]

The restriction of f to a metric subspace (K,dK) of X is continuous as a map (K,dK)→(Y,dY), since the ε-δ condition at a point of K is the condition for f at that point read for the points of K only, and dK is the restriction of dX (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

technique · direct
1.1

Assume (X,dX) compact and let (Vi)i∈I be a family of open subsets of Y with f[X]⊆⋃i∈IVi.

L1
2.1

Each f−1[Vi] is open in X, and X=⋃i∈If−1[Vi], because every x∈X has f(x)∈f[X] and so f(x)∈Vi for some i.

L2step 1.1
3.1

If X=∅ then f[X]=∅ and there is nothing to prove; otherwise compactness of X, read against the indexed family of step 2.1, gives n∈N and i0,…,in∈I with X=f−1[Vi0]∪⋯∪f−1[Vin].

L1step 2.1
4.1

Every y∈f[X] is f(x) for some x∈X, and that x lies in some f−1[Vij], so y∈Vij; hence f[X]⊆Vi0∪⋯∪Vin and f[X] is a compact subset of Y: claim 1.

L1step 3.1
5.1

For claim 2, let K⊆X be a compact subset, so that (K,dK) is a compact metric space; the restriction of f to K is continuous, and its image is f[K], so claim 1 applied to that restriction gives that f[K] is a compact subset of Y.

L1L3step 4.1∎

Remarks

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

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

Depends on

Used by

Dependency tree · two levels

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

Sources