Alphabeta Math
Session-authored (Fable 5 assisted)
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.

11 results · all verified · 11 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full by a delegated reviewing agent on the owner's instruction; the judge is an additional, independent cross-model AI review of the proofs; all 11 also cleared it.

Hausdorff via the Diagonal

1 · Prerequisites

2 · Summary

Objective. The Hausdorff condition (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) is stated as a quantifier over pairs of distinct points and pairs of open sets, and in that form it has to be re-verified by hand at every use. This page replaces it by a single closedness statement about one subset of one space: a space is Hausdorff exactly when its diagonal is closed in its square. The agreement-set and graph consequences below are obtained by pulling that closed set back along continuous maps, and dense uniqueness follows from the closed agreement set. The later sequential and compactness results use separate separation arguments.

The objects, and why the product has to be named carefully. The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps fixes the diagonal ΔX={zX×X:z0=z1}\Delta_X = \{\, z \in X \times X : z_0 = z_1 \,\}, the diagonal map δX(x)=(x,x)\delta_X(x) = (x,x), and the pairing f,g\langle f, g \rangle of two maps with a common domain. A point of the binary product is a function on the von Neumann 22 (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space), so (u,v)(u,v) is notation for that function and ΔX\Delta_X is a subset defined by a formula rather than by a picture. For an index set with two members the box basis and the product basis are one family, which is why every proof below may test a basic open set of the form U×VU \times V. δX\delta_X is a topological embedding of XX onto ΔX\Delta_X, and f,g\langle f, g \rangle is continuous whenever ff and gg are then records that δX\delta_X is a topological embedding with image ΔX\Delta_X, its inverse being the restriction of a projection, and that a pairing is continuous exactly when both of its components are.

The criterion. A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology proves both directions by the same box. If XX is Hausdorff, a point off the diagonal has distinct coordinates, and disjoint open sets around them give a box missing the diagonal; conversely, a box around (x,y)(x,y) missing the diagonal has disjoint factors, since a point of the intersection of the factors would sit on the diagonal inside the box. Neither direction selects anything, so the criterion is a theorem of ZF.

Consequences, each a preimage of the diagonal. For continuous f,g:ZYf, g : Z \to Y with YY Hausdorff the agreement set {zZ:f(z)=g(z)}\{ z \in Z : f(z) = g(z) \} is closed in ZZ observes that {z:f(z)=g(z)}\{\, z : f(z) = g(z) \,\} is f,g1[ΔY]\langle f, g \rangle^{-1}[\Delta_Y] and is therefore closed when YY is Hausdorff, with no hypothesis on the domain. Two continuous maps into a Hausdorff space that agree on a dense subset are equal adds density and concludes equality, so a continuous map into a Hausdorff space is determined by its restriction to any dense subset — a uniqueness statement, not an existence one. The graph of a continuous map into a Hausdorff space is closed in the product applies the same corollary to the two maps fπ0f \circ \pi_0 and π1\pi_1 out of X×YX \times Y, whose agreement set is the graph of ff.

The sequential form, and how much weaker it is. In a Hausdorff space a sequence converges to at most one point proves that a sequence in a Hausdorff space converges to at most one point, which is what licenses the notation limkxk\lim_k x_k that Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure withholds in general. The converse fails: uniqueness of sequential limits does not imply the Hausdorff condition, and FALSE: a space in which every sequence has at most one limit is Hausdorff is the witness. A sequence sees at most countably many points, while closedness of the diagonal is a condition at every point of the square at once.

Compactness enters, and with it the separation axioms. A compact Hausdorff space is regular and normal, hence T3T_3 and T4T_4 proves that a compact Hausdorff space is regular and normal, hence T3T_3 and T4T_4. The argument is short because the work is elsewhere: in a compact space every closed set is compact (A closed subspace of a compact space is compact, and a finite union of compact subspaces is compact), and in a Hausdorff space a point and a disjoint compact set, and two disjoint compact sets, have disjoint open neighbourhoods (In a Hausdorff space a point and a disjoint compact set, and two disjoint compact sets, have disjoint open neighbourhoods; hence every compact subset is closed, and in a compact Hausdorff space the compact subsets are exactly the closed ones). The T1T_1 half comes from Every Urysohn space is Hausdorff, every Hausdorff space is T1T_1 and hence T0T_0, and every regular T1T_1 space is Urysohn. Nothing stronger is claimed here, and in particular no continuous real-valued function is produced. In a locally compact Hausdorff space every open set containing a point contains an open set containing it whose closure is compact and still inside; such a space is regular then works with a compact neighbourhood instead of a compact space: inside such a neighbourhood the previous theorem supplies regularity, and the transfers back to the ambient space use that the neighbourhood has open interior and, being compact in a Hausdorff space, is closed. The result is a base of open sets with compact closure, and regularity of the whole space.

The closed graph criterion. For a continuous map into a Hausdorff space the graph is closed; the converse needs a different hypothesis altogether. A map into a compact space whose graph is closed is continuous; so for a compact Hausdorff codomain, continuity and closedness of the graph are equivalent proves that a map into a compact space whose graph is closed is continuous, with no separation hypothesis used in that direction, so for a compact Hausdorff codomain the two conditions are equivalent. Its proof is the model for the choice discipline of this page: the family of admissible boxes is collected by a formula, compactness cuts it down to finitely many members, and only then is a selection made, licensed by Every natural-number-indexed list of nonempty sets has a choice function on its family of values, a theorem of ZF. The empty case is written out rather than assumed away, since the set to be covered is empty exactly when the target open set is everything.

The false statements mark the hypotheses that cannot be dropped. FALSE: every function between topological spaces whose graph is closed in the product is continuous refutes the closed-graph implication without a compactness hypothesis, using the function equal to 1/x1/x off 00 and to 00 at 00; the same witness shows, through the criterion itself, that R\mathbb{R} with its usual topology is not compact. FALSE: two continuous maps that agree on a dense subset of their common domain are equal, with no hypothesis on the codomain refutes the dense-agreement implication without a separation hypothesis on the codomain, using two maps into the indiscrete two-point space that agree at every rational and differ at every irrational.

What the criterion costs. Why the criterion is about the product topology, and the choice cost of the compact separation lemmas collects the running themes: that the criterion is a statement about the product topology on a binary product, where the box and product bases coincide; and that the naive proof of the compact separation clauses — one pair of open sets chosen for each point of an arbitrary set — is an application of the Axiom of Choice, while the formula-defined family together with Every natural-number-indexed list of nonempty sets has a choice function on its family of values is not. Where a step of this page spends a choice principle, the step names it.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps

Definition

Let (X,T)(X, \mathcal{T}) 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). Throughout, X×YX \times Y is the binary product i<2Xi\prod_{i<2} X_i with X0=XX_0 = X and X1=YX_1 = Y (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space), carrying the product topology; a point of it is a function zz on the von Neumann natural 2={0,1}2 = \{0,1\}, written (z0,z1)(z_0, z_1), and π0,π1\pi_0, \pi_1 are the two projections.

The basis used throughout. For the index set 22 the product basis and the box basis coincide, since a box i<2Ui\prod_{i<2} U_i has all but finitely many factors unrestricted for the trivial reason that it has only two (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space). So

{U×V:UT, VTY}\{\, U \times V : U \in \mathcal{T},\ V \in \mathcal{T}_Y \,\}

is a basis for the product topology on X×YX \times Y, and every statement below that tests a basic open set tests a box of two open sets.

The diagonal. The diagonal of XX is

ΔX  :=  {zX×X:z0=z1}  =  {(x,x):xX},\Delta_X \;:=\; \{\, z \in X \times X : z_0 = z_1 \,\} \;=\; \{\, (x,x) : x \in X \,\} ,

the second description being the first read through the definition of a point of the product as a function on 22. It is a subset of X×XX \times X and is given the subspace topology (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) whenever it is regarded as a space.

The diagonal map. The diagonal map of XX is

δX:XX×X,δX(x):=(x,x),\delta_X : X \to X \times X, \qquad \delta_X(x) := (x,x) ,

that is, the function sending xx to the constant function 2X2 \to X with value xx. Its two components are π0δX=idX\pi_0 \circ \delta_X = \mathrm{id}_X and π1δX=idX\pi_1 \circ \delta_X = \mathrm{id}_X, and by claim 2 of A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice it is the unique function XX×XX \to X \times X with those two components. The same claim makes it continuous (Continuity of a map of topological spaces at a point and globally), the identity being continuous. Its image is ΔX\Delta_X, and it is injective, since δX(x)=δX(x)\delta_X(x) = \delta_X(x') forces x=xx = x' by reading the coordinate at 00. Whether δX\delta_X is an embedding onto ΔX\Delta_X (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological) is not asserted here; it is the content of the next item.

The pairing of two maps. For functions f:ZXf : Z \to X and g:ZYg : Z \to Y on a common domain, the pairing is

f,g:ZX×Y,f,g(z):=(f(z),g(z)).\langle f, g \rangle : Z \to X \times Y, \qquad \langle f, g \rangle(z) := (f(z), g(z)) .

By claim 2 of A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice it is the unique function ZX×YZ \to X \times Y with π0f,g=f\pi_0 \circ \langle f, g \rangle = f and π1f,g=g\pi_1 \circ \langle f, g \rangle = g; no hypothesis on ff and gg is needed for the pairing to be defined, and continuity of the pairing is exactly continuity of both components, which is again that claim. In this notation

δX=idX,idX,\delta_X = \langle \mathrm{id}_X, \mathrm{id}_X \rangle ,

so the diagonal map is a special case of the pairing and needs no separate treatment.

The preimage identity that every later proof uses. For f,g:ZYf, g : Z \to Y,

f,g1[ΔY]  =  {zZ:f(z)=g(z)},\langle f, g \rangle^{-1}[\Delta_Y] \;=\; \{\, z \in Z : f(z) = g(z) \,\} ,

directly from the definitions above: f,g(z)ΔY\langle f, g \rangle(z) \in \Delta_Y says that the function (f(z),g(z))(f(z), g(z)) on 22 takes the same value at 00 and at 11.

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

δX\delta_X is a topological embedding of XX onto ΔX\Delta_X, and f,g\langle f, g \rangle is continuous whenever ff and gg are

Statement

Let XX, YY and ZZ be topological spaces, with X×YX \times Y and X×XX \times X carrying the product topology and ΔX\Delta_X the subspace topology (The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps, The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space, 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). Then:

  1. The pairing is continuous exactly when both components are. For functions f:ZXf : Z \to X and g:ZYg : Z \to Y, the pairing f,g\langle f, g \rangle is continuous if and only if ff and gg are continuous (Continuity of a map of topological spaces at a point and globally).
  2. The diagonal map is an embedding. δX:XX×X\delta_X : X \to X \times X is injective and continuous, its image is ΔX\Delta_X, and the corestriction δX0:XΔX\delta_X^{0} : X \to \Delta_X, δX0(x)=(x,x)\delta_X^{0}(x) = (x,x), is a homeomorphism. So δX\delta_X is an embedding (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological) and XΔXX \cong \Delta_X.
  3. The inverse of δX0\delta_X^{0} is the restriction of the projection π0\pi_0 to ΔX\Delta_X, and this restriction agrees with the restriction of π1\pi_1.

Claim 2 is what licenses reading a property of ΔX\Delta_X as a property of XX: being a topological property is exactly invariance under homeomorphism (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).

Facts & Assumptions

Given: Topological spaces XX, YY, ZZ; the products X×YX \times Y and X×XX \times X with the product topology; functions f:ZXf : Z \to X and g:ZYg : Z \to Y; the diagonal ΔX\Delta_X with the subspace topology; and the maps δX\delta_X, f,g\langle f, g \rangle of The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps.

[A1]

δX(x)=(x,x)\delta_X(x) = (x,x) and f,g(z)=(f(z),g(z))\langle f, g \rangle(z) = (f(z), g(z)); ΔX={zX×X:z0=z1}\Delta_X = \{\, z \in X \times X : z_0 = z_1 \,\}; and π0δX=π1δX=idX\pi_0 \circ \delta_X = \pi_1 \circ \delta_X = \mathrm{id}_X, π0f,g=f\pi_0 \circ \langle f, g \rangle = f, π1f,g=g\pi_1 \circ \langle f, g \rangle = g (The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps).

[L1]

A map hh into a product is continuous if and only if every component πih\pi_i \circ h is continuous, and every projection is continuous (A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice, claims 1 and 2).

[L2]

The identity map of a space is continuous, since the preimage of an open set under it is that open set (Continuity of a map of topological spaces at a point and globally).

[L3]

For SWS \subseteq W with the subspace topology, a function g0:ZSg_0 : Z \to S is continuous if and only if ιg0:ZW\iota \circ g_0 : Z \to W is continuous, ι\iota being the inclusion; and the restriction of a continuous map WYW \to Y to SS is continuous (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).

[L4]

A continuous bijection whose inverse is continuous is a homeomorphism, and a map that is injective and restricts to a homeomorphism onto its image with the subspace topology is an embedding (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).

Proof

technique · direct
1.1

Suppose ff and gg are continuous; then the components π0f,g=f\pi_0 \circ \langle f, g \rangle = f and π1f,g=g\pi_1 \circ \langle f, g \rangle = g of f,g\langle f, g \rangle are continuous, so f,g\langle f, g \rangle is continuous.

A1L1
1.2

Suppose f,g\langle f, g \rangle is continuous; then its components ff and gg are continuous.

A1L1
1.3

δX\delta_X is continuous, its two components both being idX\mathrm{id}_X, which is continuous.

A1L1L2
1.4

δX\delta_X is injective: if δX(x)=δX(x)\delta_X(x) = \delta_X(x') then reading the coordinate at 00 gives x=xx = x'.

A1
1.5

The image of δX\delta_X is ΔX\Delta_X: each (x,x)(x,x) lies in ΔX\Delta_X, and each zΔXz \in \Delta_X satisfies z=(z0,z0)=δX(z0)z = (z_0, z_0) = \delta_X(z_0).

A1
1.6

The restriction p:=π0ΔX:ΔXXp := \pi_0|_{\Delta_X} : \Delta_X \to X is continuous, being the restriction of the continuous π0\pi_0 to a subspace; and π0ΔX=π1ΔX\pi_0|_{\Delta_X} = \pi_1|_{\Delta_X}, since z0=z1z_0 = z_1 for zΔXz \in \Delta_X.

A1L1L3
2.1

Steps 1.1 and 1.2 together are claim 1.

step 1.1step 1.2
2.2

The corestriction δX0:XΔX\delta_X^{0} : X \to \Delta_X is continuous, since composing it with the inclusion ΔXX×X\Delta_X \to X \times X gives δX\delta_X, which is continuous by step 1.3.

step 1.3L3
2.3

δX0\delta_X^{0} and pp are mutually inverse: p(δX0(x))=π0(x,x)=xp(\delta_X^{0}(x)) = \pi_0(x,x) = x for xXx \in X, and δX0(p(z))=(z0,z0)=(z0,z1)=z\delta_X^{0}(p(z)) = (z_0, z_0) = (z_0, z_1) = z for zΔXz \in \Delta_X, the middle equality holding because z0=z1z_0 = z_1.

step 1.5step 1.6A1
3.1

By steps 2.2, 2.3 and 1.6 the map δX0\delta_X^{0} is a continuous bijection with continuous inverse pp, hence a homeomorphism, and its inverse is π0ΔX=π1ΔX\pi_0|_{\Delta_X} = \pi_1|_{\Delta_X}; this is claim 3 and, with steps 1.4 and 1.5, claim 2.

step 1.4step 1.5step 1.6step 2.2step 2.3L4
4.1

Claims 1, 2 and 3 are steps 2.1, 3.1 and 3.1 respectively, so the lemma is proved.

step 2.1step 3.1

Remarks

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-08 (gpt-5.6-terra-codex-subscription)Open item page →

A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology

Statement

Let (X,T)(X, \mathcal{T}) be a topological space and give X×XX \times X the product topology (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space). Then XX is Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) if and only if the diagonal ΔX\Delta_X (The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps) is closed in X×XX \times X:

X Hausdorff    ΔX=ΔX in X×X.X \text{ Hausdorff} \iff \Delta_X = \overline{\Delta_X} \text{ in } X \times X .

The condition on the right is a single closedness statement about one subset of one space, with no quantifier over pairs of points visible in it; that is what makes the criterion useful. In particular, the closed agreement-set result below is obtained by pulling ΔX\Delta_X back along a continuous pairing, and the graph result is a specialization of that argument.

Facts & Assumptions

Given: A topological space (X,T)(X,\mathcal{T}), the product X×XX \times X with the product topology, and the diagonal ΔX={zX×X:z0=z1}\Delta_X = \{\, z \in X \times X : z_0 = z_1 \,\}.

[A1]

XX is Hausdorff when for all xyx \ne y in XX there are open UxU \ni x and VyV \ni y with UV=U \cap V = \varnothing (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not).

[L1]

For a basis B\mathcal{B} of a space, a point lies in A\overline{A} if and only if every BBB \in \mathcal{B} containing it meets AA; and AA is closed if and only if A=AA = \overline{A} (A point lies in the closure of AA iff every basic neighbourhood of it meets AA; the closure is the smallest closed superset and equals AA together with its derived set, claims 1(d) and 2, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).

Proof

technique · direct
1.1

Assume XX is Hausdorff and let zX×Xz \in X \times X with zΔXz \notin \Delta_X, so that z0z1z_0 \ne z_1; by [A1] there are open Uz0U \ni z_0 and Vz1V \ni z_1 with UV=U \cap V = \varnothing.

A1
1.2

Assume ΔX\Delta_X is closed and let x,yXx, y \in X with xyx \ne y; then z:=(x,y)z := (x,y) satisfies zΔX=ΔXz \notin \Delta_X = \overline{\Delta_X}, the equality holding by [L1] since ΔX\Delta_X is closed.

L1
2.1

The box U×VU \times V of step 1.1 is a basic open set containing zz, and (U×V)ΔX=(U \times V) \cap \Delta_X = \varnothing: a point ww of the intersection would satisfy w0=w1w_0 = w_1 with w0Uw_0 \in U and w1Vw_1 \in V, putting w0w_0 in UV=U \cap V = \varnothing.

step 1.1A2
2.2

By [L1] applied to the basis of [A2], step 1.2 supplies a basic open box U×VU \times V with zU×Vz \in U \times V and (U×V)ΔX=(U \times V) \cap \Delta_X = \varnothing; so xUx \in U and yVy \in V.

step 1.2A2L1
3.1

From step 2.1 and [L1], zΔXz \notin \overline{\Delta_X} for every zΔXz \notin \Delta_X; hence ΔXΔX\overline{\Delta_X} \subseteq \Delta_X, and with [L2] this gives ΔX=ΔX\overline{\Delta_X} = \Delta_X, so ΔX\Delta_X is closed.

step 1.1step 2.1L1L2
3.2

The sets UU and VV of step 2.2 are disjoint: if tUVt \in U \cap V then (t,t)(t,t) lies in U×VU \times V and in ΔX\Delta_X, contradicting (U×V)ΔX=(U \times V) \cap \Delta_X = \varnothing.

step 2.2
4.1

Step 3.1 shows that XX Hausdorff implies ΔX\Delta_X closed, and steps 2.2 and 3.2 show that ΔX\Delta_X closed implies that any two distinct points of XX have disjoint open neighbourhoods, which by [A1] is the Hausdorff condition; the two implications are the theorem.

step 2.2step 3.1step 3.2A1

Remarks

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

For continuous f,g:ZYf, g : Z \to Y with YY Hausdorff the agreement set {zZ:f(z)=g(z)}\{ z \in Z : f(z) = g(z) \} is closed in ZZ

Statement

Let ZZ be a topological space, let YY be a Hausdorff space (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) and let f,g:ZYf, g : Z \to Y be continuous (Continuity of a map of topological spaces at a point and globally). Then the agreement set

E(f,g)  :=  {zZ:f(z)=g(z)}E(f,g) \;:=\; \{\, z \in Z : f(z) = g(z) \,\}

is closed in ZZ.

No hypothesis is placed on ZZ: the separation hypothesis is on the codomain alone, and it is not decoration. Let Y0={a,b}Y_0 = \{a,b\} with aba \ne b carry the indiscrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), which is not Hausdorff. Every function ZY0Z \to Y_0 is continuous, the only preimages to check being those of \varnothing and Y0Y_0, namely \varnothing and ZZ. So for any subset SZS \subseteq Z the constant map f0af_0 \equiv a and the map g0g_0 taking the value aa on SS and bb off SS are continuous with E(f0,g0)=SE(f_0,g_0) = S, closed or not.

Facts & Assumptions

Given: Topological spaces ZZ and YY with YY Hausdorff, continuous maps f,g:ZYf, g : Z \to Y, and the product Y×YY \times Y with the product topology.

[A1]

E(f,g)=f,g1[ΔY]E(f,g) = \langle f, g \rangle^{-1}[\Delta_Y], where f,g:ZY×Y\langle f, g \rangle : Z \to Y \times Y is the pairing and ΔY\Delta_Y the diagonal (The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps).

[L1]

Proof

technique · direct
1.1

f,g:ZY×Y\langle f, g \rangle : Z \to Y \times Y is continuous.

L1
1.2

ΔY\Delta_Y is closed in Y×YY \times Y.

L2
2.1

E(f,g)=f,g1[ΔY]E(f,g) = \langle f, g \rangle^{-1}[\Delta_Y] is the preimage of a closed set under a continuous map, hence closed in ZZ.

step 1.1step 1.2A1L3

Remarks

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

Two continuous maps into a Hausdorff space that agree on a dense subset are equal

Statement

Let ZZ be a topological space, let DZD \subseteq Z be dense (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets), let YY be Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) and let f,g:ZYf, g : Z \to Y be continuous (Continuity of a map of topological spaces at a point and globally) with

f(d)=g(d)for every dD.f(d) = g(d) \qquad \text{for every } d \in D .

Then f=gf = g.

So a continuous map into a Hausdorff space is determined by its restriction to any dense subset of its domain. Nothing is asserted about which functions on DD extend: the statement is about uniqueness of an extension, not existence.

Facts & Assumptions

Given: A topological space ZZ, a dense subset DZD \subseteq Z, a Hausdorff space YY, and continuous maps f,g:ZYf, g : Z \to Y agreeing at every point of DD.

Proof

technique · direct
1.1

E(f,g)E(f,g) is closed in ZZ.

L1
1.2

DE(f,g)D \subseteq E(f,g), since ff and gg agree at every point of DD.

given
2.1

Z=DE(f,g)Z = \overline{D} \subseteq E(f,g), the equality by [A1] and the inclusion because E(f,g)E(f,g) is a closed set containing DD.

step 1.1step 1.2A1L2
3.1

E(f,g)ZE(f,g) \subseteq Z holds by definition, so E(f,g)=ZE(f,g) = Z, that is f(z)=g(z)f(z) = g(z) for every zZz \in Z and f=gf = g.

step 2.1

Remarks

  • The Hausdorff hypothesis is spent exactly once, inside [L1], and the density hypothesis exactly once, at step 2.1. Neither is used anywhere else, and neither can be weakened to the other: a dense agreement set alone does not force equality without a separation hypothesis on the codomain, and a Hausdorff codomain alone plainly does not.

  • Density is a hypothesis about ZZ, not about YY. In particular the statement is about one domain and one dense subset of it; it says nothing about restrictions to subsets that are merely large in some other sense, and there is no cardinality condition anywhere in it.

  • The uniqueness/existence split matters. A continuous f:DYf : D \to Y need not extend continuously to ZZ at all. What this corollary rules out is two different extensions, and that is exactly what makes an extension, when it exists, worth naming.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

In a Hausdorff space a sequence converges to at most one point

Statement

Let XX be a Hausdorff space (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not), let (xk)(x_k) be a sequence in XX and let p,qXp, q \in X with xkpx_k \to p and xkqx_k \to q (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure). Then p=qp = q.

So in a Hausdorff space a sequence has at most one limit, and the notation limkxk\lim_k x_k that Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure withholds in a general space is legitimate there.

The converse is false. Uniqueness of sequential limits does not imply the Hausdorff condition: the cocountable topology on R\mathbb{R} has unique sequential limits and is not Hausdorff (FALSE: a space in which every sequence has at most one limit is Hausdorff). So this lemma is strictly weaker than the hypothesis it is proved from, and it is not a characterisation.

Facts & Assumptions

Given: A Hausdorff space XX, a sequence (xk)(x_k) in XX, and points p,qXp, q \in X with xkpx_k \to p and xkqx_k \to q.

[A2]

xkrx_k \to r means that for every neighbourhood NN of rr there is KNK \in \mathbb{N} with xkNx_k \in N for all kKk \ge K; and an open set containing rr is a neighbourhood of rr (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure, Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).

[L1]

For all m,nNm, n \in \mathbb{N} exactly one of m<nm < n, m=nm = n, m>nm > n holds, so any two natural numbers are comparable (Trichotomy of the order on N\mathbb{N}).

Proof

technique · contradiction
1.1

Suppose pqp \ne q.

assume-contra
2.1

By [A1] there are open sets UpU \ni p and VqV \ni q with UV=U \cap V = \varnothing.

step 1.1A1
3.1

UU is a neighbourhood of pp and VV a neighbourhood of qq, so by [A2] there are K1,K2NK_1, K_2 \in \mathbb{N} with xkUx_k \in U for all kK1k \ge K_1 and xkVx_k \in V for all kK2k \ge K_2.

step 2.1A2
4.1

By [L1] the naturals K1K_1 and K2K_2 are comparable; let KK be whichever of them is not smaller than the other, so that KK1K \ge K_1 and KK2K \ge K_2.

step 3.1L1choose
5.1

By step 3.1 and step 4.1 the term xKx_K lies in UU and in VV, so xKUVx_K \in U \cap V.

step 3.1step 4.1
6.1

Step 5.1 contradicts UV=U \cap V = \varnothing from step 2.1, so the supposition of step 1.1 fails and p=qp = q.

step 2.1step 5.1discharge-contradiction

Remarks

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

A compact Hausdorff space is regular and normal, hence T3T_3 and T4T_4

Statement

Let XX be a compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right) Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) topological space. Then:

  1. XX is regular (Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly);
  2. XX is normal (Normal spaces and T4T_4 spaces, with the source disagreement over whether normality includes T1T_1 stated explicitly);
  3. XX is T1T_1 (T0T_0 (Kolmogorov) and T1T_1 (Frechet) spaces), and hence XX is T3T_3 and T4T_4.

Following Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly and Normal spaces and T4T_4 spaces, with the source disagreement over whether normality includes T1T_1 stated explicitly, regular and normal name the separation conditions alone and the numerals T3T_3 and T4T_4 name their conjunctions with T1T_1; claim 3 is what supplies the T1T_1 half, and it is stated separately for that reason.

Nothing stronger is claimed. In particular it is not asserted here that a compact Hausdorff space is completely regular (Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly distinguishes the two conditions), and no continuous real-valued function is produced anywhere below.

Facts & Assumptions

Given: A compact Hausdorff topological space XX.

[A1]

XX is regular when for every closed CXC \subseteq X and every xXCx \in X \setminus C there are disjoint open UxU \ni x and VCV \supseteq C; the case C=C = \varnothing is met by U=XU = X and V=V = \varnothing, and T3T_3 is regular together with T1T_1 (Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly, T0T_0 (Kolmogorov) and T1T_1 (Frechet) spaces).

[A2]

XX is normal when for all disjoint closed A,BXA, B \subseteq X there are disjoint open UAU \supseteq A and VBV \supseteq B; the cases A=A = \varnothing and B=B = \varnothing are met by \varnothing together with XX, and T4T_4 is normal together with T1T_1 (Normal spaces and T4T_4 spaces, with the source disagreement over whether normality includes T1T_1 stated explicitly, T0T_0 (Kolmogorov) and T1T_1 (Frechet) spaces).

[A3]

XX is a topological space, so a subset is closed exactly when its complement is open (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).

Proof

technique · direct
1.1

Let CXC \subseteq X be closed and let xXCx \in X \setminus C; since XX is compact and CC is closed in XX, the subspace CC is compact, and xx does not lie in it.

A3L1
1.2

Let A,BXA, B \subseteq X be closed with AB=A \cap B = \varnothing; since XX is compact and both are closed in XX, both subspaces AA and BB are compact.

A3L1
1.3

XX is T1T_1, being Hausdorff.

L3
2.1

By [L2], applied to the point xx and the disjoint compact set CC of step 1.1, there are disjoint open UxU \ni x and VCV \supseteq C; as CC and xx were arbitrary this is exactly the condition of [A1], so XX is regular, which is claim 1.

step 1.1A1L2
2.2

By [L2], applied to the two disjoint compact sets AA and BB of step 1.2, there are disjoint open UAU \supseteq A and VBV \supseteq B; as AA and BB were arbitrary this is the condition of [A2], so XX is normal, which is claim 2.

step 1.2A2L2
3.1

By step 1.3 the space is T1T_1; with step 2.1 it is regular and T1T_1, hence T3T_3, and with step 2.2 it is normal and T1T_1, hence T4T_4. This is claim 3.

step 1.3step 2.1step 2.2A1A2
4.1

Steps 2.1, 2.2 and 3.1 are claims 1, 2 and 3, so a compact Hausdorff space is regular, normal, T3T_3 and T4T_4.

step 2.1step 2.2step 3.1

Remarks

  • The whole content is that "closed" and "compact" coincide here, in the direction that is needed. Regularity asks a point to be separated from a closed set and normality asks two closed sets to be separated; compactness of the ambient space converts each closed set into a compact one, and the separation of compact sets in a Hausdorff space is what In a Hausdorff space a point and a disjoint compact set, and two disjoint compact sets, have disjoint open neighbourhoods; hence every compact subset is closed, and in a compact Hausdorff space the compact subsets are exactly the closed ones supplies. No new separation argument is run.

  • Why compactness of XX is needed and not just of the sets separated. The hypothesis is used only through [L1], to know that an arbitrary closed subset of XX is compact. A Hausdorff space in which the sets to be separated happen to be compact is separated by [L2] alone and needs no hypothesis on the ambient space at all; what compactness of XX buys is that every closed set is such a set.

  • The degenerate cases are not a gap. If CC, AA or BB is empty the required open sets are named outright in [A1] and [A2], so the argument does not depend on any nonemptiness hidden in the compact-separation clauses.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

The graph of a continuous map into a Hausdorff space is closed in the product

Statement

Let XX be a topological space, let YY be Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) and let f:XYf : X \to Y be continuous (Continuity of a map of topological spaces at a point and globally). Then the graph

Gf  :=  {zX×Y:z1=f(z0)}  =  {(x,f(x)):xX}G_f \;:=\; \{\, z \in X \times Y : z_1 = f(z_0) \,\} \;=\; \{\, (x, f(x)) : x \in X \,\}

is closed in X×YX \times Y with the product topology (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space).

No hypothesis is placed on XX. The Hausdorff hypothesis is on the codomain and the continuity hypothesis is on ff; both are used, and the converse implication — that a closed graph forces continuity — needs a different hypothesis on the codomain and is treated separately.

Facts & Assumptions

Given: A topological space XX, a Hausdorff space YY, a continuous map f:XYf : X \to Y, and the product X×YX \times Y with the product topology and projections π0,π1\pi_0, \pi_1.

[L1]

Proof

technique · direct
1.1

π0\pi_0 and π1\pi_1 are continuous.

L1
2.1

fπ0:X×YYf \circ \pi_0 : X \times Y \to Y is continuous, being a composite of the continuous π0\pi_0 with the continuous ff.

step 1.1L2
3.1

By [A1] the graph GfG_f is the agreement set of the two continuous maps fπ0f \circ \pi_0 and π1\pi_1 from X×YX \times Y to the Hausdorff space YY, so it is closed in X×YX \times Y.

step 1.1step 2.1A1L3

Remarks

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

A map into a compact space whose graph is closed is continuous; so for a compact Hausdorff codomain, continuity and closedness of the graph are equivalent

Statement

Let XX and YY be topological spaces, let f:XYf : X \to Y be a function, and give X×YX \times Y the product topology (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space), writing

Gf  =  {zX×Y:z1=f(z0)}G_f \;=\; \{\, z \in X \times Y : z_1 = f(z_0) \,\}

for the graph of ff. Then:

  1. Closed graph implies continuity, over a compact codomain. If YY is compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right) and GfG_f is closed in X×YX \times Y, then ff is continuous (Continuity of a map of topological spaces at a point and globally). No separation hypothesis on YY is used in this direction.
  2. Continuity implies closed graph, over a Hausdorff codomain. If YY 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 ff is continuous, then GfG_f is closed in X×YX \times Y.
  3. The equivalence. If YY is compact and Hausdorff then ff is continuous if and only if GfG_f is closed in X×YX \times Y.

The two halves carry different hypotheses and the equivalence is stated only where both hold. Claim 1 needs compactness and does not need the Hausdorff condition; claim 2 needs the Hausdorff condition and does not need compactness. Neither hypothesis may be transplanted to the other half.

Facts & Assumptions

Given: Topological spaces XX and YY, a function f:XYf : X \to Y, the product X×YX \times Y with the product topology, and the graph Gf={zX×Y:z1=f(z0)}G_f = \{\, z \in X \times Y : z_1 = f(z_0) \,\}.

[A2]

ff is continuous at x0x_0 exactly when for every open VYV \subseteq Y with f(x0)Vf(x_0) \in V there is an open UXU \subseteq X with x0Ux_0 \in U and f[U]Vf[U] \subseteq V, and ff is continuous when this holds at every point of XX (Continuity of a map of topological spaces at a point and globally).

[A3]

A subset of a space is closed exactly when its complement is open; a finite intersection of open sets is open, and XX itself is open (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).

[L1]

A space is compact when every family of its open sets whose union is the whole space has a finite subfamily whose union is the whole space; a subset is compact when it is compact as a subspace, whose open sets are the traces of the open sets of the ambient space (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 finite set is equinumerous with some natural number nn, hence may be listed as a0,,an1a_0, \dots, a_{n-1} (Finite, countably infinite, countable, uncountable).

[L4]

If FF is a function with domain a natural number nn all of whose values are nonempty sets, then the family of its values has a choice function; this is a theorem of ZF (Every natural-number-indexed list of nonempty sets has a choice function on its family of values, Choice function).

Proof

technique · direct
1.1

Assume YY is compact and GfG_f is closed, and put N:=(X×Y)GfN := (X \times Y) \setminus G_f, which is open.

A3
1.2

Fix x0Xx_0 \in X and an open VYV \subseteq Y with f(x0)Vf(x_0) \in V, and put C:=YVC := Y \setminus V; then CC is closed in YY, hence a compact subspace.

A3L2
1.3

Let P\mathcal{P} be the set of all pairs (U,W)(U, W) such that UU is open in XX, WW is open in YY, x0Ux_0 \in U and (U×W)Gf=(U \times W) \cap G_f = \varnothing; this family is specified by a formula and nothing is selected in forming it.

construct
1.4

If YY is Hausdorff and ff is continuous then GfG_f is closed, which is claim 2.

L5
2.1

Every yCy \in C lies in WW for some (U,W)P(U,W) \in \mathcal{P}: since f(x0)Vf(x_0) \in V and yVy \notin V we have yf(x0)y \ne f(x_0), so (x0,y)N(x_0, y) \in N, and by [A1] there is a basic box U×WU \times W with (x0,y)U×WN(x_0,y) \in U \times W \subseteq N, which gives (U,W)P(U,W) \in \mathcal{P}.

step 1.1step 1.2step 1.3A1
3.1

The family V:={WC:(U,W)P for some U}\mathcal{V} := \{\, W \cap C : (U,W) \in \mathcal{P} \text{ for some } U \,\} consists of sets open in the subspace CC and its union is CC, by step 2.1.

step 2.1L1
4.1

By compactness of CC there is a finite subfamily of V\mathcal{V} whose union is CC; being finite it may be listed as V0,,Vn1V_0, \dots, V_{n-1} for some nNn \in \mathbb{N}, so that Ci<nViC \subseteq \bigcup_{i<n} V_i.

step 1.2step 3.1L1L3
5.1

For each i<ni < n the set Pi:={(U,W)P:WC=Vi}\mathcal{P}_i := \{\, (U,W) \in \mathcal{P} : W \cap C = V_i \,\} is nonempty, since ViVV_i \in \mathcal{V}; so by [L4] applied to the function iPii \mapsto \mathcal{P}_i on nn there is a choice function on the family of these sets, and it supplies a pair (Ui,Wi)Pi(U_i, W_i) \in \mathcal{P}_i for every i<ni < n.

step 4.1L4choose
6.1

Put U:={xX:xUi for every i<n}U := \{\, x \in X : x \in U_i \text{ for every } i < n \,\}; this is XX when n=0n = 0 and a finite intersection of open sets otherwise, hence open in either case, and x0Ux_0 \in U since x0Uix_0 \in U_i for every i<ni < n.

step 5.1A3construct
7.1

f[U]Vf[U] \subseteq V: let xUx \in U and suppose f(x)Vf(x) \notin V, that is f(x)Cf(x) \in C; then f(x)Vi=WiCWif(x) \in V_i = W_i \cap C \subseteq W_i for some i<ni < n by step 4.1, while xUUix \in U \subseteq U_i, so the point (x,f(x))(x, f(x)) of GfG_f lies in Ui×WiU_i \times W_i, contradicting (Ui×Wi)Gf=(U_i \times W_i) \cap G_f = \varnothing; hence f(x)Vf(x) \in V.

step 4.1step 5.1step 6.1
8.1

By steps 6.1 and 7.1 there is, for the arbitrary x0Xx_0 \in X and the arbitrary open VV containing f(x0)f(x_0) fixed in step 1.2, an open Ux0U \ni x_0 with f[U]Vf[U] \subseteq V; so ff is continuous by [A2], which is claim 1.

step 1.2step 6.1step 7.1A2
9.1

If YY is compact and Hausdorff then step 8.1 gives one implication and step 1.4 the other, so continuity of ff and closedness of GfG_f are equivalent, which is claim 3; with steps 8.1 and 1.4 the theorem is proved.

step 8.1step 1.4

Remarks

  • The choice cost is exactly one finite choice, and the family it is made from is defined by a formula. The textbook phrasing "for each yCy \in C choose a box around (x0,y)(x_0,y) missing the graph" selects one object for each point of an arbitrary set and is an application of the Axiom of Choice. Step 1.3 avoids it by collecting all admissible pairs into one formula-defined family; only after compactness has cut the cover down to finitely many members is anything chosen, and that choice is licensed by Every natural-number-indexed list of nonempty sets has a choice function on its family of values, a theorem of ZF.

  • Why the empty case is written out. If V=YV = Y then C=C = \varnothing and the finite subfamily of step 4.1 may be empty, so n=0n = 0; the set UU of step 6.1 is then XX, which is exactly what is wanted. Writing UU as a defining condition rather than as an intersection is what makes that reading available, an intersection over no sets not being defined.

  • Compactness of the codomain is doing the work in claim 1, and it is not removable. Nothing in that direction separates points, and no Hausdorff hypothesis appears; what is used is that the complement of the target open set is compact. A discontinuous function with closed graph into a non-compact Hausdorff codomain is recorded on this page as a false statement.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

In a locally compact Hausdorff space every open set containing a point contains an open set containing it whose closure is compact and still inside; such a space is regular

Statement

Let XX be a locally compact (Locally compact topological space: every point has a compact neighbourhood; and what this says in a metric space) Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not) space, so that every point of XX has a compact neighbourhood (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open, Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right). Closures are taken in XX unless a subscript names another space (Interior, closure, boundary, exterior, derived set and isolated point in a topological space). Then:

  1. Shrinking with a compact closure. For every xXx \in X and every open UXU \subseteq X with xUx \in U there is an open VXV \subseteq X with xVVUx \in V \subseteq \overline{V} \subseteq U and V\overline{V} compact.
  2. A base. The family of open subsets of XX whose closure is compact is a basis for the topology of XX (Basis and subbasis for a topology, and the topology generated by a family of sets).
  3. Regularity. XX is regular (Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly).

Nothing stronger than regularity is claimed: complete regularity of such a space is a separate statement, needs a continuous real-valued function, and is not proved here.

Facts & Assumptions

Given: A locally compact Hausdorff space XX, a point xXx \in X and an open set UXU \subseteq X with xUx \in U.

[A3]
[L1]

For SXS \subseteq X the open sets of the subspace SS are the traces USU' \cap S of the open sets of XX; an open subset of XX contained in SS is open in SS; and for STXS \subseteq T \subseteq X the topology SS inherits from TT is the topology it inherits from XX (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).

[L4]

A space is regular if and only if for every point pp of it and every set WW open in it with pWp \in W there is a set VV open in it with pVcl(V)Wp \in V \subseteq \operatorname{cl}(V) \subseteq W, the closure being taken in that space (A space is regular if and only if every point has a neighbourhood base of closed neighbourhoods, if and only if xUx \in U open gives an open VV with xVVUx \in V \subseteq \overline{V} \subseteq U, (a) iff (b), Regular spaces and T3T_3 spaces, with the source disagreement over whether regularity includes T1T_1 stated explicitly).

[L7]

A family of open sets is a basis for the topology exactly when for every open WW and every pWp \in W some member of the family contains pp and is contained in WW (Basis and subbasis for a topology, and the topology generated by a family of sets).

Proof

technique · direct
1.1

By [A1] fix a compact KXK \subseteq X and an open OXO \subseteq X with xOKx \in O \subseteq K; then Oint(K)O \subseteq \operatorname{int}(K) by [A3], so xint(K)x \in \operatorname{int}(K).

A1A3choose
1.2

The subspace KK is Hausdorff: distinct p,qKp, q \in K have disjoint open U1pU_1 \ni p and U2qU_2 \ni q in XX by [A2], and the traces U1KU_1 \cap K and U2KU_2 \cap K are disjoint open sets of the subspace containing pp and qq respectively.

A2L1
1.3

KK is closed in XX, being a compact subset of the Hausdorff space XX.

A2L2
2.1

The subspace KK is compact and Hausdorff, hence regular.

step 1.2L3
2.2

Put G:=Uint(K)G := U \cap \operatorname{int}(K); it is open in XX, contains xx by step 1.1, is contained in KK by [A3], and is therefore also open in the subspace KK.

step 1.1A3L1
3.1

Applying [L4] inside the space KK, which is regular by step 2.1, to the point xx and the set GG open in KK, there is a set VV open in KK with xVclK(V)Gx \in V \subseteq \operatorname{cl}_K(V) \subseteq G.

step 2.1step 2.2L4choose
4.1

VV is open in XX: by [L1] there is an open VXV' \subseteq X with V=VKV = V' \cap K, and since VGint(K)V \subseteq G \subseteq \operatorname{int}(K) we get V=Vint(K)=VKint(K)=Vint(K)V = V \cap \operatorname{int}(K) = V' \cap K \cap \operatorname{int}(K) = V' \cap \operatorname{int}(K), an intersection of two open subsets of XX.

step 2.2step 3.1L1A3
4.2

V=clK(V)\overline{V} = \operatorname{cl}_K(V): from VKV \subseteq K and KK closed in XX (step 1.3) the smallest closed superset of VV satisfies VK\overline{V} \subseteq K, and [L5] gives clK(V)=VK=V\operatorname{cl}_K(V) = \overline{V} \cap K = \overline{V}.

step 1.3step 3.1A3L5
5.1

V\overline{V} is compact: by step 4.2 it is clK(V)\operatorname{cl}_K(V), which is closed in the compact subspace KK and hence compact by [L6]; and by the transitivity clause of [L1] the topology it inherits from KK is the one it inherits from XX, so it is a compact subset of XX.

step 4.2L1L6
6.1

Combining, VV is open in XX by step 4.1, xVV=clK(V)GUx \in V \subseteq \overline{V} = \operatorname{cl}_K(V) \subseteq G \subseteq U by steps 3.1, 4.2 and 2.2, and V\overline{V} is compact by step 5.1; as xx and UU were arbitrary this is claim 1.

step 2.2step 3.1step 4.1step 4.2step 5.1
7.1

The open subsets of XX with compact closure are open, and by step 6.1 every open UU and every xUx \in U admit such a set VV with xVUx \in V \subseteq U; so by [L7] they form a basis for the topology of XX, which is claim 2.

step 6.1L7
7.2

Step 6.1 gives, for every xx and every open UxU \ni x, an open VV with xVVUx \in V \subseteq \overline{V} \subseteq U, which is condition (b) of [L4] for the space XX; hence XX is regular, which is claim 3.

step 6.1L4
8.1

Steps 6.1, 7.1 and 7.2 are claims 1, 2 and 3, so the lemma is proved.

step 6.1step 7.1step 7.2

Remarks

  • Which clause of local compactness is used. Only that every point has a compact neighbourhood, in the weak sense of Locally compact topological space: every point has a compact neighbourhood; and what this says in a metric space: a compact KK with xx in its interior. The stronger-sounding conclusion, a neighbourhood base of open sets with compact closure, is derived from it here, and the Hausdorff hypothesis is what makes the derivation possible — it is used twice, once to make KK closed in XX and once to make the subspace KK regular.

  • Why the argument moves into the subspace KK and back out. Regularity is available inside KK, because KK is compact Hausdorff, and not yet available in XX — proving it for XX is claim 3. The two transfers back to XX are step 4.1, which uses that VV sits inside the open set int(K)\operatorname{int}(K), and step 4.2, which uses that KK is closed. Neither transfer works without its hypothesis: an open set of a subspace need not be open in the ambient space, and a closure computed in a subspace need not agree with the ambient closure.

  • Compactness of V\overline{V}, not merely of its closure inside KK. Compactness is a property of a space, and V\overline{V} carries the same topology whether it is reached through KK or directly from XX (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); step 5.1 records that, so no second notion of "compact subset" is created.

RemarkRemark: AI-generatedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

Why the criterion is about the product topology, and the choice cost of the compact separation lemmas

The criterion is a statement about the product topology, and the proof uses one specific fact about it. A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology tests the closedness of ΔX\Delta_X against basic open sets of X×XX \times X, and the basic open sets it uses are the boxes U×VU \times V with UU and VV open in XX. That those boxes really are a basis is a feature of a binary product: by The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space a basic product-open set is a box all but finitely many of whose factors are unrestricted, and a box with two factors satisfies that condition for the trivial reason that it has only two. So for X×XX \times X the box basis and the product basis are one family, and the criterion carries no ambiguity about which of the two topologies is meant. No product with an infinite index set is formed anywhere on this page, and nothing here is asserted about one.

What the criterion buys, in one sentence. The Hausdorff condition is a quantifier over pairs of points and pairs of open sets; the criterion converts it into the closedness of a single subset of a single space. Every consequence on this page is then obtained the same way: package two maps into one map into a square with The diagonal ΔXX×X\Delta_X \subseteq X \times X, the diagonal map δX\delta_X, and the pairing f,g\langle f, g \rangle of two maps, and pull Δ\Delta back along it, using the characteristic property of the product (A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice) to know the packaged map is continuous. That is why an agreement set, and a graph, and the equality of two maps on a dense set are corollaries of the criterion rather than independent arguments.

The separation of compact sets, and what the naive proof of it would cost. The separation clauses used on this page are those of In a Hausdorff space a point and a disjoint compact set, and two disjoint compact sets, have disjoint open neighbourhoods; hence every compact subset is closed, and in a compact Hausdorff space the compact subsets are exactly the closed ones: in a Hausdorff space a point and a disjoint compact set have disjoint open neighbourhoods, and so do two disjoint compact sets. The argument everyone writes first is

for each yKy \in K choose disjoint open UyxU_y \ni x and VyyV_y \ni y,

and it selects one pair of open sets for each point of an arbitrary set KK. That is an application of the Axiom of Choice (The Axiom of Choice, Choice function), and it is avoidable. Take instead the family V\mathcal{V} of all open VV for which there exists an open UU with xUx \in U and UV=U \cap V = \varnothing. This family is specified by a formula, so nothing is selected in forming it; it covers KK, because XX 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 xKx \notin K; compactness (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right) cuts it down to finitely many members V0,,Vn1V_0, \dots, V_{n-1}; and only now is a UiU_i chosen for each i<ni < n — finitely many choices, licensed by Every natural-number-indexed list of nonempty sets has a choice function on its family of values, which is a theorem of ZF. Then U:={tX:tUi for every i<n},V:=i<nViU := \{\, t \in X : t \in U_i \text{ for every } i < n \,\}, \qquad V := \bigcup_{i<n} V_i are the required neighbourhoods: UU is open, being XX when n=0n = 0 and a finite intersection of open sets otherwise, it contains xx, and it misses each ViV_i because it is contained in each UiU_i. The same manoeuvre — collect a formula-defined family, cut it down by compactness, choose only afterwards — is what the closed-graph criterion on this page does. Where a step of this page spends a choice principle the step names it, and it is never more than Every natural-number-indexed list of nonempty sets has a choice function on its family of values.

Why the sequential form is weaker, and how much weaker. Uniqueness of sequential limits follows from the Hausdorff condition and does not imply it, which is why the criterion above is stated for the diagonal and not for sequences: a sequence sees at most countably many points, whereas closedness of ΔX\Delta_X is a condition at every point of the square at once.

Conventions. The separation vocabulary used here — regular and normal as conditions on sets alone, T3T_3 and T4T_4 as their conjunctions with T1T_1 — is the one fixed in Conventions on this page, and the one implication of the classical chain that is not available at this point in the reading order, and every statement on this page writes the T1T_1 hypothesis out where it is used rather than building it into an adjective.

5 · Examples, counterexamples and false statements

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

FALSE: every function between topological spaces whose graph is closed in the product is continuous

Statement

False claim: if XX and YY are topological spaces and f:XYf : X \to Y is a function whose graph GfG_f is closed in X×YX \times Y with the product topology (The product set iIXi\prod_{i \in I} X_i of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space), then ff is continuous (Continuity of a map of topological spaces at a point and globally).

The refutation is the function f:RRf : \mathbb{R} \to \mathbb{R}, with R\mathbb{R} carrying its usual topology (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, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), given by

f(x):=1x  (x0),f(0):=0.f(x) := \frac{1}{x} \ \ (x \ne 0), \qquad f(0) := 0 .

Its graph is closed in R×R\mathbb{R} \times \mathbb{R} and it is not continuous at 00. Since a map into a compact space with closed graph is continuous (A map into a compact space whose graph is closed is continuous; so for a compact Hausdorff codomain, continuity and closedness of the graph are equivalent, claim 1), the same witness shows as a by-product that R\mathbb{R} with its usual topology is not compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right): the compactness hypothesis in that theorem is what the claim above drops, and it is not redundant.

Facts & Assumptions

Given: R\mathbb{R} with its usual topology, the product R×R\mathbb{R} \times \mathbb{R} with the product topology, the function ff above, and its graph Gf={zR×R:z1=f(z0)}G_f = \{\, z \in \mathbb{R} \times \mathbb{R} : z_1 = f(z_0) \,\}.

[A1]
[A3]

ff is continuous at x0x_0 exactly when for every open VV with f(x0)Vf(x_0) \in V there is an open Ux0U \ni x_0 with f[U]Vf[U] \subseteq V, and continuous when this holds everywhere (Continuity of a map of topological spaces at a point and globally).

[L1]

A point lies in A\overline{A} exactly when every basic open set containing it meets AA, and AA is closed exactly when A=AA = \overline{A} (A point lies in the closure of AA iff every basic neighbourhood of it meets AA; the closure is the smallest closed superset and equals AA together with its derived set, claims 1(d) and 2).

[L2]

The reciprocal x1/xx \mapsto 1/x is continuous at every c0c \ne 0 as a function on {xR:x0}\{\, x \in \mathbb{R} : x \ne 0 \,\}, being the quotient of the constant function 11 by the identity (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claims 4 and 5); continuity at cc means that for every real ε>0\varepsilon > 0 there is a real δ>0\delta > 0 such that x0x \ne 0 and xc<δ|x - c| < \delta imply 1/x1/c<ε|1/x - 1/c| < \varepsilon (Continuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA: the ε\varepsilon-δ\delta condition, its agreement with limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c) at a limit point, and continuity at an isolated point).

[L3]

For every real ε>0\varepsilon > 0 there is a natural number n1n \ge 1 with 1/n<ε1/n < \varepsilon (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon).

Refutation

technique · constructive
1.1

Define f:RRf : \mathbb{R} \to \mathbb{R} by f(x):=1/xf(x) := 1/x for x0x \ne 0 and f(0):=0f(0) := 0; this is a function on all of R\mathbb{R}, every nonzero real having a multiplicative inverse.

construct
1.2

Let z=(a,b)R×Rz = (a,b) \in \mathbb{R} \times \mathbb{R} with zGfz \notin G_f, so that bf(a)b \ne f(a).

given
1.3

ff is not continuous at 00: put V:=(1,1)V := (-1,1), an open set containing f(0)=0f(0) = 0, and let UU be any open set with 0U0 \in U; by [A1] there is a real r>0r > 0 with (r,r)U(-r, r) \subseteq U, by [L3] there is a natural n1n \ge 1 with 1/n<min{r,1}1/n < \min\{r, 1\}, and then 1/nU1/n \in U while f(1/n)=n>1f(1/n) = n > 1, so f(1/n)Vf(1/n) \notin V and f[U]⊈Vf[U] \not\subseteq V.

A1A3L3
2.1

Suppose a0a \ne 0, so f(a)=1/af(a) = 1/a and ε:=b1/a/2>0\varepsilon := |b - 1/a|/2 > 0; by [L2] fix a real δ1>0\delta_1 > 0 such that x0x \ne 0 and xa<δ1|x - a| < \delta_1 imply 1/x1/a<ε|1/x - 1/a| < \varepsilon, and put δ:=min{δ1,a}>0\delta := \min\{\delta_1, |a|\} > 0.

step 1.2L2choose
2.2

Suppose a=0a = 0, so f(a)=0f(a) = 0 and b0b \ne 0, hence b>0|b| > 0; put ρ:=1/(2b)>0\rho := 1/(2|b|) > 0 and σ:=b/2>0\sigma := |b|/2 > 0 and B:=(ρ,ρ)×(bσ,b+σ)B := (-\rho, \rho) \times (b - \sigma, b + \sigma), a basic open set containing z=(0,b)z = (0,b).

step 1.2A1A2construct
3.1

With a0a \ne 0 the box B:=(aδ,a+δ)×(bε,b+ε)B := (a - \delta, a + \delta) \times (b - \varepsilon, b + \varepsilon) is a basic open set containing zz and BGf=B \cap G_f = \varnothing: for (x,y)B(x,y) \in B one has xa<δa|x - a| < \delta \le |a|, so x0x \ne 0 and f(x)=1/xf(x) = 1/x with 1/x1/a<ε|1/x - 1/a| < \varepsilon, whence f(x)bb1/a1/x1/a>2εε=ε>yb|f(x) - b| \ge |b - 1/a| - |1/x - 1/a| > 2\varepsilon - \varepsilon = \varepsilon > |y - b| and therefore yf(x)y \ne f(x).

step 2.1A1A2
3.2

With a=0a = 0 the box BB of step 2.2 satisfies BGf=B \cap G_f = \varnothing: let (x,y)B(x,y) \in B with y=f(x)y = f(x); if x=0x = 0 then y=0y = 0 and yb=b>σ|y - b| = |b| > \sigma, contradicting y(bσ,b+σ)y \in (b - \sigma, b + \sigma); and if x0x \ne 0 then 0<x<ρ0 < |x| < \rho gives f(x)=1/x>1/ρ=2b|f(x)| = 1/|x| > 1/\rho = 2|b|, while yb+yb<b+σ=3b/2<2b|y| \le |b| + |y - b| < |b| + \sigma = 3|b|/2 < 2|b|, contradicting y=f(x)y = f(x).

step 2.2
4.1

Every zGfz \notin G_f has a basic open set containing it and missing GfG_f, by step 3.1 if its first coordinate is nonzero and by step 3.2 if it is zero; so no such zz lies in Gf\overline{G_f}, whence Gf=Gf\overline{G_f} = G_f and GfG_f is closed in R×R\mathbb{R} \times \mathbb{R}.

step 1.2step 3.1step 3.2L1
5.1

By step 1.3 and [A3] the function ff is not continuous, while by step 4.1 its graph is closed; so the claim is false.

step 4.1step 1.3A3
6.1

By [L4] a function into a compact codomain with closed graph is continuous, so steps 4.1 and 1.3 also show that R\mathbb{R} with its usual topology is not compact; the witness therefore refutes the claim and locates the missing hypothesis at the same time.

step 4.1step 1.3step 5.1L4discharge-construct

Remarks

  • Which hypothesis was dropped. The true statements in this neighbourhood are the two halves of A map into a compact space whose graph is closed is continuous; so for a compact Hausdorff codomain, continuity and closedness of the graph are equivalent: a closed graph gives continuity when the codomain is compact, and continuity gives a closed graph when the codomain is Hausdorff (The graph of a continuous map into a Hausdorff space is closed in the product). The claim above asks for the first conclusion with neither hypothesis, and the witness has a Hausdorff codomain, so it is compactness and not separation that is missing.

  • Where the closedness of the graph comes from, informally. Off the vertical axis the graph is closed because the reciprocal is continuous there; on the axis it is closed because the function escapes: near 00 the values are large in absolute value, so a small box around a point (0,b)(0,b) with b0b \ne 0 cannot meet the graph at all. That escape is exactly what a compact codomain would forbid.

  • The value chosen at 00 is immaterial. Replacing f(0)=0f(0) = 0 by any fixed real cc leaves both conclusions standing. For the graph, a point (0,b)(0,b) with bcb \ne c is separated from it by the box (ρ,ρ)×(bσ,b+σ)(-\rho, \rho) \times (b - \sigma, b + \sigma) with σ:=bc/2\sigma := |b - c|/2 and ρ:=1/(b+σ)\rho := 1/(|b| + \sigma): the value at 00 is cc, which lies outside the second factor, and for x0x \ne 0 in the first factor 1/x>b+σ|1/x| > |b| + \sigma forces 1/xb>σ|1/x - b| > \sigma. For the discontinuity, step 1.3 uses only that f(1/n)=nf(1/n) = n exceeds every bound, which does not involve f(0)f(0) at all. The value 00 is chosen above only because it makes the two computations shortest.

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)Open item page →

FALSE: two continuous maps that agree on a dense subset of their common domain are equal, with no hypothesis on the codomain

Statement

False claim: if ZZ and YY are topological spaces, DZD \subseteq Z is dense (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets), and f,g:ZYf, g : Z \to Y are continuous (Continuity of a map of topological spaces at a point and globally) with f(d)=g(d)f(d) = g(d) for every dDd \in D, then f=gf = g.

The refutation takes Z=RZ = \mathbb{R} with its usual topology (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, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), the dense set D=QRD = \mathbb{Q}_{\mathbb{R}} of rationals inside R\mathbb{R} (The rationals embed densely in the reals), and for codomain the two-point set Y0={a,b}Y_0 = \{a,b\} with aba \ne b carrying the indiscrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), which is not Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not). The maps are the constant faf \equiv a and the map gg equal to aa at every rational and to bb at every irrational. Both are continuous, they agree on DD, and they differ at every irrational.

The hypothesis the claim drops is the Hausdorff condition on the codomain, which is what Two continuous maps into a Hausdorff space that agree on a dense subset are equal assumes.

Facts & Assumptions

Given: R\mathbb{R} with its usual topology; the set QR\mathbb{Q}_{\mathbb{R}} of rationals inside R\mathbb{R}; and a two-element set Y0={a,b}Y_0 = \{a,b\} with aba \ne b.

[A3]

ARA \subseteq \mathbb{R} is dense exactly when UAU \cap A \ne \varnothing for every nonempty open URU \subseteq \mathbb{R} (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets, form 2).

[L2]

Strictly between any two reals lies a rational (The rationals embed densely in the reals).

[L3]

The set RQR\mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}} of irrationals is uncountable (The irrationals are uncountable); an uncountable set is not finite and the empty set is finite, so it is nonempty (Finite, countably infinite, countable, uncountable).

[L4]

Two continuous maps into a Hausdorff space agreeing on a dense subset of their common domain are equal (Two continuous maps into a Hausdorff space that agree on a dense subset are equal).

Refutation

technique · constructive
1.1

Give Y0={a,b}Y_0 = \{a,b\} the indiscrete topology; it is not Hausdorff.

A2construct
1.2

QR\mathbb{Q}_{\mathbb{R}} is dense in R\mathbb{R}: given a nonempty open UU, pick xUx \in U and by [A1] a real r>0r > 0 with (xr,x+r)U(x-r, x+r) \subseteq U; by [L2] some rational lies strictly between xrx - r and x+rx + r, hence in UU.

A1A3L2
1.3

There is a real tQRt \notin \mathbb{Q}_{\mathbb{R}}, the set of irrationals being nonempty.

L3choose
2.1

Every function hh from a topological space into Y0Y_0 is continuous: the only open subsets of Y0Y_0 are \varnothing and Y0Y_0, whose preimages are \varnothing and the whole domain, both open.

step 1.1A2L1
3.1

Define f:RY0f : \mathbb{R} \to Y_0 by f(x):=af(x) := a for every xx, and g:RY0g : \mathbb{R} \to Y_0 by g(x):=ag(x) := a for xQRx \in \mathbb{Q}_{\mathbb{R}} and g(x):=bg(x) := b otherwise; both are continuous by step 2.1.

step 2.1construct
4.1

ff and gg agree at every point of QR\mathbb{Q}_{\mathbb{R}}, which is dense in R\mathbb{R} by step 1.2.

step 1.2step 3.1
4.2

f(t)=af(t) = a and g(t)=bg(t) = b for the irrational tt of step 1.3, and aba \ne b, so fgf \ne g.

step 1.3step 3.1
5.1

Steps 3.1, 4.1 and 4.2 exhibit two continuous maps agreeing on a dense subset of their common domain and not equal, so the claim is false; by step 1.1 the codomain is not Hausdorff, which is exactly the hypothesis [L4] carries and the claim drops.

step 1.1step 3.1step 4.1step 4.2L4discharge-construct

Remarks

  • The failure is as large as it can be. The two maps agree precisely on QR\mathbb{Q}_{\mathbb{R}} and differ at every other point of R\mathbb{R}, so nothing is salvaged by weakening the conclusion from equality to agreement off a small set: the disagreement set is the whole of the irrationals.

  • Continuity is not being cheated. Both maps are continuous for the honest reason recorded in step 2.1, that the codomain has only two open sets. No pathology of R\mathbb{R} is involved, and the same construction runs with R\mathbb{R} replaced by any space with a dense subset that is not the whole space.

  • Why a two-point codomain suffices. The Hausdorff condition is a statement about pairs of distinct points, so the smallest space that can fail it has two points, and the indiscrete topology is the coarsest topology on it. Taking the coarsest topology is also what makes every map into it continuous, so the witness needs no verification of continuity beyond counting the open sets.

Sources