Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-05 (gpt-5.6-sol-codex-subscription)
How statement and proof provenance work

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

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

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

A continuous image of a compact space is compact; a continuous real-valued map on a nonempty compact space attains a maximum and a minimum; and a continuous bijection from a compact space to a Hausdorff space is a homeomorphism

Statement

Let (X,TX)(X, \mathcal{T}_X) and (Y,TY)(Y, \mathcal{T}_Y) be topological spaces (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), and let R\mathbb{R} carry its usual topology, the metric topology of dR(s,t)=std_{\mathbb{R}}(s,t) = |s-t| (The absolute value makes R\mathbb{R} a metric space: d(x,y)=xyd(x,y) = |x-y| is a metric, its open balls are the intervals (xr,x+r)(x-r, x+r), and it is unbounded, 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, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not). Then:

  1. Continuous images. If f:XYf : X \to Y is continuous (Continuity of a map of topological spaces at a point and globally) and (X,TX)(X, \mathcal{T}_X) is compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right), then f[X]f[X] is a compact subset of YY. More generally, if KXK \subseteq X is a compact subset of XX then f[K]f[K] is a compact subset of YY.
  2. Extreme values. If (X,TX)(X, \mathcal{T}_X) is compact and nonempty and g:XRg : X \to \mathbb{R} is continuous, then g[X]g[X] has a maximum and a minimum (Maximum and minimum of a set): there are xmax,xminXx_{\max}, x_{\min} \in X with g(xmin)    g(x)    g(xmax)for every xX.g(x_{\min}) \;\le\; g(x) \;\le\; g(x_{\max}) \qquad \text{for every } x \in X .
  3. Compact to Hausdorff. If (X,TX)(X, \mathcal{T}_X) is compact, (Y,TY)(Y, \mathcal{T}_Y) is Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) and f:XYf : X \to Y is a continuous bijection, then ff is a homeomorphism (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).

Nonemptiness in claim 2 is a hypothesis and not an oversight: for X=X = \varnothing the image is empty and has neither a maximum nor a minimum. No choice principle is used: the one selection made below is over a finite index set, where 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: Topological spaces (X,TX)(X, \mathcal{T}_X) and (Y,TY)(Y, \mathcal{T}_Y), and R\mathbb{R} with its usual topology.

[L2]

A space is compact exactly when every family of open sets with union the space has a finite subfamily with union the space; a subset AA is a compact subset when the subspace (A,TA)(A, \mathcal{T}_A) is compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).

[L3]

AA is a compact subset of a space ZZ exactly when for every family U\mathcal{U} of open subsets of ZZ with AUA \subseteq \bigcup \mathcal{U} there are nNn \in \mathbb{N} and U0,,UnUU_0, \dots, U_n \in \mathcal{U} with AU0UnA \subseteq U_0 \cup \dots \cup U_n, or else A=A = \varnothing (A subspace is compact exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, claim 1).

[L4]

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).

[L5]

For SXS \subseteq X the restriction fS:SYf|_S : S \to Y of a continuous ff is continuous, since (fS)1[V]=f1[V]S(f|_S)^{-1}[V] = f^{-1}[V] \cap S (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, Continuity of a map of topological spaces at a point and globally).

[L7]

Every set of reals listable as {a0,,an}\{a_0, \dots, a_n\} with nNn \in \mathbb{N} has a maximum and a minimum, each of them one of the listed members (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).

[L8]

The order of Order on the reals makes R\mathbb{R} a totally ordered field (The reals form a totally ordered field), so no real satisfies s<ss < s, and s<ts < t together with tst \le s is impossible (Complete ordered field (least-upper-bound property)).

[L9]

A closed subset of a compact space is a compact subset of it (A closed subspace of a compact space is compact, and a finite union of compact subspaces is compact, claim 1).

Proof

technique · direct
1.1

For claim 1 assume (X,TX)(X, \mathcal{T}_X) is compact, let f:XYf : X \to Y be continuous, and let U\mathcal{U} be a family of open subsets of YY with f[X]Uf[X] \subseteq \bigcup \mathcal{U}; put G:={f1[U]:UU}\mathcal{G} := \{\, f^{-1}[U] : U \in \mathcal{U} \,\}, a family of open subsets of XX by [L1], whose union is XX because every xXx \in X has f(x)Uf(x) \in U for some UUU \in \mathcal{U}.

L1construct
2.1

If X=X = \varnothing then f[X]=f[X] = \varnothing and the second alternative of [L3] holds; otherwise compactness of XX applied to G\mathcal{G} gives nNn \in \mathbb{N} and G0,,GnGG_0, \dots, G_n \in \mathcal{G} with X=G0GnX = G_0 \cup \dots \cup G_n.

L2step 1.1
3.1

For each jnj \le n the set Sj:={UU:f1[U]=Gj}S_j := \{\, U \in \mathcal{U} : f^{-1}[U] = G_j \,\} is nonempty by the definition of G\mathcal{G}, and jSjj \mapsto S_j is a function with domain the natural number σ(n)\sigma(n), so a choice function for its values supplies U0,,UnUU_0, \dots, U_n \in \mathcal{U} with f1[Uj]=Gjf^{-1}[U_j] = G_j for every jnj \le n.

L4step 2.1
4.1

Every point of f[X]f[X] is f(x)f(x) for some xXx \in X, and xx lies in some Gj=f1[Uj]G_j = f^{-1}[U_j], so f(x)Ujf(x) \in U_j; hence f[X]U0Unf[X] \subseteq U_0 \cup \dots \cup U_n, and by [L3] the set f[X]f[X] is a compact subset of YY.

L3step 2.1step 3.1
5.1

For the second sentence of claim 1 let KXK \subseteq X be a compact subset, so that the subspace (K,(TX)K)(K, (\mathcal{T}_X)_K) is a compact space by [L2] and fK:KYf|_K : K \to Y is continuous by [L5]; step 4.1, proved for an arbitrary compact space and an arbitrary continuous map out of it, applies to fKf|_K and gives that fK[K]=f[K]f|_K[K] = f[K] is a compact subset of YY.

L2L5step 4.1
5.2

For claim 2 assume XX is compact and nonempty and let g:XRg : X \to \mathbb{R} be continuous; by step 4.1 the set S:=g[X]S := g[X] is a nonempty compact subset of R\mathbb{R}. Suppose for the moment that SS has no maximum; then every xSx \in S admits sSs \in S with x<sx < s, so the family R:={(,s):sS}\mathcal{R} := \{\, (-\infty, s) : s \in S \,\} covers SS, and its members are open by [L6], since x<sx < s gives (xr,x+r)(,s)(x - r, x + r) \subseteq (-\infty, s) for r:=sx>0r := s - x > 0.

L6L8step 4.1
6.1

By [L3] there are nNn \in \mathbb{N} and s0,,snSs_0, \dots, s_n \in S with S(,s0)(,sn)S \subseteq (-\infty, s_0) \cup \dots \cup (-\infty, s_n); by [L7] the set {s0,,sn}\{s_0, \dots, s_n\} has a maximum, one of the sis_i and hence a member of SS, so it lies in some (,sj)(-\infty, s_j), giving that maximum <sj< s_j while sjs_j \le that maximum, which [L8] forbids. So SS has a maximum; the same argument with the rays (s,)(s, \infty), open by [L6], and the minimum supplied by [L7] shows that SS has a minimum.

L3L6L7L8step 5.2
6.2

For claim 3 let f:XYf : X \to Y be a continuous bijection with XX compact and YY Hausdorff, and let FXF \subseteq X be closed; then FF is a compact subset of XX by [L9], so f[F]f[F] is a compact subset of YY by step 5.1, and hence closed in YY by [L10].

L9L10step 5.1
7.1

The maximum and the minimum of SS are members of S=g[X]S = g[X], so there are xmax,xminXx_{\max}, x_{\min} \in X with g(xmax)g(x_{\max}) the maximum and g(xmin)g(x_{\min}) the minimum, and then g(xmin)g(x)g(xmax)g(x_{\min}) \le g(x) \le g(x_{\max}) for every xXx \in X; this is claim 2.

L7step 6.1
8.1

Step 6.2 says that ff carries closed sets to closed sets, so ff is a closed map, and by [L11] a continuous bijection that is closed is a homeomorphism, which is claim 3; claims 1 and 2 were proved at steps 5.1 and 7.1.

L11step 5.1step 6.2step 7.1

Remarks

Claim 2 is the extreme value theorem, and compactness is the whole of it. No metric, no completeness argument and no sequence appears: the rays (,s)(-\infty, s) with sSs \in S cover a set with no maximum, and a finite subcover of them is impossible because finitely many reals do have a maximum. The metric statement of the same result is A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value, proved there for a compact metric space; by For a metric space with its metric topology, compactness in the topological sense is compactness in the metric sense, and the two notions of compact subset coincide it is the present claim applied to a metric topology.

Claim 3 is the reason compactness is worth having when identifying spaces. Constructing a continuous bijection is usually easy and constructing the inverse explicitly is usually not; claim 3 removes the second task whenever the source is compact and the target is Hausdorff. Both hypotheses are needed: the identity from a set with a finer topology to the same set with a coarser one is a continuous bijection and is not a homeomorphism, and it becomes one under these hypotheses precisely because the finer topology is then compact and the coarser Hausdorff.

The metric special cases are The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset and A continuous bijection from a compact metric space onto a metric space carries open sets to open sets, so its inverse is continuous. Neither is used above; both are the corresponding claim read in a metric topology.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 114 results over 26 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