Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck 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) and (Y,TY) 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 carry its usual topology, the metric topology of dR(s,t)=∣s−t∣ (The absolute value makes R a metric space: d(x,y)=∣x−y∣ is a metric, its open balls are the intervals (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:X→Y is continuous (Continuity of a map of topological spaces at a point and globally) and (X,TX) 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] is a compact subset of Y. More generally, if K⊆X is a compact subset of X then f[K] is a compact subset of Y.
  2. Extreme values. If (X,TX) is compact and nonempty and g:X→R is continuous, then g[X] has a maximum and a minimum (Maximum and minimum of a set): there are xmax⁡,xmin⁡∈X with g(xmin⁡)  ≤  g(x)  ≤  g(xmax⁡)for every x∈X.
  3. Compact to Hausdorff. If (X,TX) is compact, (Y,TY) 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:X→Y is a continuous bijection, then f 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=∅ 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) and (Y,TY), and 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 A is a compact subset when the subspace (A,TA) 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]

A is a compact subset of a space Z exactly when for every family U of open subsets of Z with A⊆⋃U there are n∈N and U0,…,Un∈U with A⊆U0∪⋯∪Un, or else A=∅ (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 S⊆X the restriction f∣S:S→Y of a continuous f is continuous, since (f∣S)−1[V]=f−1[V]∩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} with n∈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 a totally ordered field (The reals form a totally ordered field), so no real satisfies s<s, and s<t together with t≤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) is compact, let f:X→Y be continuous, and let U be a family of open subsets of Y with f[X]⊆⋃U; put G:={ f−1[U]:U∈U }, a family of open subsets of X by [L1], whose union is X because every x∈X has f(x)∈U for some U∈U.

L1construct
2.1

If X=∅ then f[X]=∅ and the second alternative of [L3] holds; otherwise compactness of X applied to G gives n∈N and G0,…,Gn∈G with X=G0∪⋯∪Gn.

L2step 1.1
3.1

For each j≤n the set Sj:={ U∈U:f−1[U]=Gj } is nonempty by the definition of G, and j↦Sj is a function with domain the natural number σ(n), so a choice function for its values supplies U0,…,Un∈U with f−1[Uj]=Gj for every j≤n.

L4step 2.1
4.1

Every point of f[X] is f(x) for some x∈X, and x lies in some Gj=f−1[Uj], so f(x)∈Uj; hence f[X]⊆U0∪⋯∪Un, and by [L3] the set f[X] is a compact subset of Y.

L3step 2.1step 3.1
5.1

For the second sentence of claim 1 let K⊆X be a compact subset, so that the subspace (K,(TX)K) is a compact space by [L2] and f∣K:K→Y is continuous by [L5]; step 4.1, proved for an arbitrary compact space and an arbitrary continuous map out of it, applies to f∣K and gives that f∣K[K]=f[K] is a compact subset of Y.

L2L5step 4.1
5.2

For claim 2 assume X is compact and nonempty and let g:X→R be continuous; by step 4.1 the set S:=g[X] is a nonempty compact subset of R. Suppose for the moment that S has no maximum; then every x∈S admits s∈S with x<s, so the family R:={ (−∞,s):s∈S } covers S, and its members are open by [L6], since x<s gives (x−r,x+r)⊆(−∞,s) for r:=s−x>0.

L6L8step 4.1
6.1

By [L3] there are n∈N and s0,…,sn∈S with S⊆(−∞,s0)∪⋯∪(−∞,sn); by [L7] the set {s0,…,sn} has a maximum, one of the si and hence a member of S, so it lies in some (−∞,sj), giving that maximum <sj while sj≤ that maximum, which [L8] forbids. So S has a maximum; the same argument with the rays (s,∞), open by [L6], and the minimum supplied by [L7] shows that S has a minimum.

L3L6L7L8step 5.2
6.2

For claim 3 let f:X→Y be a continuous bijection with X compact and Y Hausdorff, and let F⊆X be closed; then F is a compact subset of X by [L9], so f[F] is a compact subset of Y by step 5.1, and hence closed in Y by [L10].

L9L10step 5.1
7.1

The maximum and the minimum of S are members of S=g[X], so there are xmax⁡,xmin⁡∈X with g(xmax⁡) the maximum and g(xmin⁡) the minimum, and then g(xmin⁡)≤g(x)≤g(xmax⁡) for every x∈X; this is claim 2.

L7step 6.1
8.1

Step 6.2 says that f carries closed sets to closed sets, so f 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) with s∈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

…and 40 more results.

Dependency tree · two levels

66 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