Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck 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)(X,d_X) and (Y,dY)(Y,d_Y) be metric spaces (Metric space: d(x,y)=0d(x,y) = 0 iff x=yx = y, symmetry, and the triangle inequality; pseudometric and ultrametric) and let f:XYf : X \to Y be continuous (Continuity of a map between metric spaces, at a point and globally, in the ε\varepsilon-δ\delta form). Then:

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

No choice principle is used.

Facts & Assumptions

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

[L1]

A subset AA of a metric space is compact exactly when for every family (Vi)iI(V_i)_{i \in I} of open subsets of the ambient space with AiIViA \subseteq \bigcup_{i \in I} V_i there are nNn \in \mathbb{N} and i0,,inIi_0, \dots, i_n \in I with AVi0VinA \subseteq V_{i_0} \cup \dots \cup V_{i_n}, or else A=A = \emptyset; and a space is a compact subset of itself exactly when it is a compact metric space (A subset of a metric space is open in the subspace metric exactly when it is the trace of an open set of the ambient space, and it is compact as a metric space in its own right exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, Open cover, subcover, compact metric space, and compact subset of a metric space).

[L3]

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

Proof

technique · direct
1.1

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

L1
2.1

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

L2step 1.1
3.1

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

L1step 2.1
4.1

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

L1step 3.1
5.1

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

L1L3step 4.1

Remarks

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

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

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 75 results over 16 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources