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.

8 results · all verified · 8 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 8 also cleared it.

Hausdorff via the Diagonal: Examples and Counterexamples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

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

The diagonal of R\mathbb{R} is closed in R2\mathbb{R}^2, computed from the product basis

Example

Give R\mathbb{R} 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) and let R2=R×R\mathbb{R}^2 = \mathbb{R} \times \mathbb{R} carry 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, For n1n \ge 1 the product topology on nn copies of the usual topology of R\mathbb{R} is the metric topology of dd_\infty on Rn\mathbb{R}^n, and hence also of d1d_1 and d2d_2, so Rn\mathbb{R}^n as a product and Rn\mathbb{R}^n as a metric space are one space). Then 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)

ΔR  =  {(t,t):tR}\Delta_{\mathbb{R}} \;=\; \{\, (t,t) : t \in \mathbb{R} \,\}

is closed in R2\mathbb{R}^2, and the box that separates a point (a,b)ΔR(a,b) \notin \Delta_{\mathbb{R}} from it may be written down:

(ar,a+r)×(br,b+r),r:=12ab>0.(a - r, a + r) \times (b - r, b + r), \qquad r := \tfrac{1}{2}|a - b| > 0 .

Nothing here appeals to the general criterion; the computation is carried out against the product basis directly. It agrees with A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology, R\mathbb{R} being Hausdorff (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), and the point of writing it out is to show what the criterion's abstract box is in this case: the two open intervals of half the distance between the coordinates.

Facts & Assumptions

Given: R\mathbb{R} with its usual topology, R2\mathbb{R}^2 with the product topology, and ΔR={zR2:z0=z1}\Delta_{\mathbb{R}} = \{\, z \in \mathbb{R}^2 : z_0 = z_1 \,\}.

[A3]

The absolute value satisfies u+vu+v|u + v| \le |u| + |v|, whence ab=(at)+(tb)at+tb|a - b| = |(a - t) + (t - b)| \le |a - t| + |t - b| for all reals a,b,ta, b, t (The triangle inequality, Absolute value in an ordered field).

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

Verification

technique · direct
1.1

Let z=(a,b)R2z = (a,b) \in \mathbb{R}^2 with zΔRz \notin \Delta_{\mathbb{R}}, so aba \ne b and r:=ab/2>0r := |a-b|/2 > 0.

given
2.1

The set B:=(ar,a+r)×(br,b+r)B := (a - r, a + r) \times (b - r, b + r) is a basic open set of R2\mathbb{R}^2 containing zz.

step 1.1A1A2
3.1

BΔR=B \cap \Delta_{\mathbb{R}} = \varnothing: a point of the intersection is of the form (t,t)(t,t) with ta<r|t - a| < r and tb<r|t - b| < r, whence abat+tb<2r=ab|a - b| \le |a - t| + |t - b| < 2r = |a-b|, which is impossible.

step 1.1step 2.1A3
4.1

By [L1] no zΔRz \notin \Delta_{\mathbb{R}} lies in ΔR\overline{\Delta_{\mathbb{R}}}, so ΔR=ΔR\overline{\Delta_{\mathbb{R}}} = \Delta_{\mathbb{R}} and ΔR\Delta_{\mathbb{R}} is closed in R2\mathbb{R}^2.

step 1.1step 2.1step 3.1L1

Remarks

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

The cofinite topology on an infinite set, and the cocountable topology on R\mathbb{R}, are T1T_1 with a diagonal whose closure is the whole square; on a countably infinite set the cocountable topology is discrete instead

Example

Standard topologies are as in The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, diagonals as in 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 every square carries 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).

  1. Cofinite, on an infinite set. Let XX be infinite (Finite, countably infinite, countable, uncountable) and give it the cofinite topology Tcof\mathcal{T}_{\mathrm{cof}}. Then (X,Tcof)(X, \mathcal{T}_{\mathrm{cof}}) is T1T_1 (T0T_0 (Kolmogorov) and T1T_1 (Frechet) spaces), no two nonempty open sets are disjoint, ΔX  =  X×X    ΔX,\overline{\Delta_X} \;=\; X \times X \;\ne\; \Delta_X , so ΔX\Delta_X is not closed and the space is not Hausdorff.
  2. Cocountable, on R\mathbb{R}. Give R\mathbb{R} the cocountable topology Tcoc\mathcal{T}_{\mathrm{coc}}. The same three conclusions hold: (R,Tcoc)(\mathbb{R}, \mathcal{T}_{\mathrm{coc}}) is T1T_1, no two nonempty open sets are disjoint, and ΔR=R×RΔR\overline{\Delta_{\mathbb{R}}} = \mathbb{R} \times \mathbb{R} \ne \Delta_{\mathbb{R}}.
  3. "Infinite" is the wrong hypothesis for the cocountable half. If ZZ is countably infinite then Tcoc\mathcal{T}_{\mathrm{coc}} on ZZ is the discrete topology, which is Hausdorff and whose diagonal is therefore closed. So clause 2 must be asserted of a set large enough that a cocountable set is a genuine restriction, and R\mathbb{R} is such a set; an arbitrary infinite set is not.

In every case the verdict on the diagonal matches A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology, as it must.

Facts & Assumptions

Given: An infinite set XX with the cofinite topology; R\mathbb{R} with the cocountable topology; a countably infinite set ZZ with the cocountable topology; and each square with the product topology.

[A1]

The cofinite topology consists of \varnothing together with the sets of finite complement, and its closed sets are the whole set together with the finite subsets; the cocountable topology consists of \varnothing together with the sets of at most countable complement, and its closed sets are the whole set together with the at most countable subsets (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).

[A3]

A subset of a finite set is finite and a union of two finite sets is finite, both discharged in The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies; a set with at most one element is equinumerous with 00 or with 11 and hence finite, so an infinite set has at least two distinct elements (Finite, countably infinite, countable, uncountable).

[L2]

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

[L4]

In the cocountable topology on R\mathbb{R} no two nonempty open sets are disjoint, so that space is not Hausdorff (FALSE: a space in which every sequence has at most one limit is Hausdorff).

Verification

technique · direct
1.1

Every singleton of XX is finite, hence closed in Tcof\mathcal{T}_{\mathrm{cof}}, so (X,Tcof)(X, \mathcal{T}_{\mathrm{cof}}) is T1T_1; every singleton of R\mathbb{R} is finite, hence at most countable, hence closed in Tcoc\mathcal{T}_{\mathrm{coc}}, so (R,Tcoc)(\mathbb{R}, \mathcal{T}_{\mathrm{coc}}) is T1T_1.

A1A3L1
1.2

No two nonempty U,VTcofU, V \in \mathcal{T}_{\mathrm{cof}} are disjoint: XUX \setminus U and XVX \setminus V are finite by [A1], so X(UV)=(XU)(XV)X \setminus (U \cap V) = (X \setminus U) \cup (X \setminus V) is finite by [A3], and XX is infinite, so UVU \cap V \ne \varnothing.

A1A3
1.3

No two nonempty members of Tcoc\mathcal{T}_{\mathrm{coc}} on R\mathbb{R} are disjoint.

L4
1.4

Each of XX and R\mathbb{R} has two distinct points, XX being infinite and R\mathbb{R} containing 00 and 11.

A3
1.5

Every subset of the countably infinite ZZ is at most countable by [L5], so every subset of ZZ has at most countable complement and is therefore open in Tcoc\mathcal{T}_{\mathrm{coc}}; thus Tcoc\mathcal{T}_{\mathrm{coc}} on ZZ is the discrete topology.

A1L5
2.1

Let (Y,T)(Y, \mathcal{T}) be either (X,Tcof)(X, \mathcal{T}_{\mathrm{cof}}) or (R,Tcoc)(\mathbb{R}, \mathcal{T}_{\mathrm{coc}}), and let zY×Yz \in Y \times Y and U×WU \times W be a basic open box containing zz; then Uz0U \ni z_0 and Wz1W \ni z_1 are nonempty open, so UWU \cap W \ne \varnothing by step 1.2 or step 1.3, and any tUWt \in U \cap W gives (t,t)(U×W)ΔY(t,t) \in (U \times W) \cap \Delta_Y.

step 1.2step 1.3A2
2.2

For distinct p,qYp, q \in Y the point (p,q)(p,q) lies in Y×YY \times Y and not in ΔY\Delta_Y, so ΔYY×Y\Delta_Y \ne Y \times Y.

step 1.4
3.1

By step 2.1 and [L2] every point of Y×YY \times Y lies in ΔY\overline{\Delta_Y}, so ΔY=Y×Y\overline{\Delta_Y} = Y \times Y, which by step 2.2 differs from ΔY\Delta_Y; hence ΔY\Delta_Y is not closed and by [L3] YY is not Hausdorff. This is claims 1 and 2, together with step 1.1.

step 1.1step 2.1step 2.2L2L3
4.1

Distinct p,qZp, q \in Z are separated by the disjoint open sets {p}\{p\} and {q}\{q\}, so (Z,Tcoc)(Z, \mathcal{T}_{\mathrm{coc}}) is Hausdorff and by [L3] its diagonal is closed in Z×ZZ \times Z; this is claim 3, and with step 3.1 the example is verified.

step 3.1step 1.5L3

Remarks

  • Why clause 3 is stated rather than left implicit. The cofinite and the cocountable topologies behave alike only when the underlying set is large enough for the excluded sets to be a genuine restriction. On a countably infinite set "at most countable complement" excludes nothing, so the cocountable topology collapses to the discrete one and every conclusion of clause 2 reverses. Stating the two clauses with the same hypothesis would be a falsehood, and the falsehood is invisible unless the degenerate case is written out.

  • The closure of the diagonal is as large as it can be. In both spaces of clauses 1 and 2 it is the entire square, so the diagonal is not merely non-closed: it is dense. That is the extreme opposite of the metric picture of The diagonal of R\mathbb{R} is closed in R2\mathbb{R}^2, computed from the product basis, where the diagonal is closed and its complement is open.

  • T1T_1 is doing no work here. Both spaces satisfy T1T_1 and neither satisfies T2T_2, which is exactly the separation between the two axioms; the diagonal criterion detects the second and is blind to the first, since it is a statement about the square rather than about singletons.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-08 (gpt-5.6-terra-codex-subscription)Open item page →

The graph of a continuous f:RRf : \mathbb{R} \to \mathbb{R} is closed in R2\mathbb{R}^2

Example

Let f:RRf : \mathbb{R} \to \mathbb{R} be continuous in the ε\varepsilon-δ\delta sense of 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, give R\mathbb{R} 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) and give R2=R×R\mathbb{R}^2 = \mathbb{R} \times \mathbb{R} 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, For n1n \ge 1 the product topology on nn copies of the usual topology of R\mathbb{R} is the metric topology of dd_\infty on Rn\mathbb{R}^n, and hence also of d1d_1 and d2d_2, so Rn\mathbb{R}^n as a product and Rn\mathbb{R}^n as a metric space are one space). Then the graph

Gf  =  {(x,f(x)):xR}G_f \;=\; \{\, (x, f(x)) : x \in \mathbb{R} \,\}

is closed in R2\mathbb{R}^2.

Every polynomial function is such an ff, and so is every function built from continuous ones by the operations that preserve continuity; no further hypothesis on ff is needed, and in particular ff need not be bounded, monotone, or differentiable.

Facts & Assumptions

Given: A function f:RRf : \mathbb{R} \to \mathbb{R} continuous in the sense of 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, with R\mathbb{R} carrying its usual topology and R2\mathbb{R}^2 the product topology.

[L3]

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

Verification

technique · direct
1.1

R\mathbb{R} with its usual topology is Hausdorff.

A1L1
1.2

ff is continuous as a map of topological spaces from R\mathbb{R} to R\mathbb{R}.

A1L2
2.1

By [L3] applied with X=Y=RX = Y = \mathbb{R}, the graph GfG_f is closed in R×R\mathbb{R} \times \mathbb{R}.

step 1.1step 1.2L3

Remarks

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

Refuted: a function into a Hausdorff space whose graph is closed is continuous. The function equal to 1/x1/x off 00 and to 00 at 00 has a closed graph, is discontinuous at 00 alone, and has a Hausdorff codomain

Statement refuted

False claim: if XX is a topological space, 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 f:XYf : X \to Y has graph 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).

This is the sharpening of FALSE: every function between topological spaces whose graph is closed in the product is continuous that adds to the codomain the hypothesis under which the other half of the closed-graph criterion holds. It is still false, and the same witness refutes it:

f:RR,f(x)=1x  (x0),f(0)=0,f : \mathbb{R} \to \mathbb{R}, \qquad f(x) = \frac{1}{x} \ \ (x \ne 0), \qquad f(0) = 0 ,

with R\mathbb{R} carrying its usual topology, which is metrizable and hence Hausdorff. Its graph is closed in R2\mathbb{R}^2, it is continuous at every c0c \ne 0, and it is not continuous at 00; so its set of discontinuities is exactly {0}\{0\}.

What the criterion 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 asks of the codomain in the direction "closed graph implies continuous" is compactness, and the Hausdorff condition contributes nothing there.

Facts & Assumptions

Given: R\mathbb{R} with its usual topology, R2=R×R\mathbb{R}^2 = \mathbb{R} \times \mathbb{R} with the product topology, and the function ff above with graph GfG_f.

[L1]

The function ff above has graph closed in R2\mathbb{R}^2 and is not continuous at 00 (FALSE: every function between topological spaces whose graph is closed in the product is continuous).

Counterexample

technique · constructive
1.1

Take f:RRf : \mathbb{R} \to \mathbb{R} with f(x)=1/xf(x) = 1/x for x0x \ne 0 and f(0)=0f(0) = 0, and give R\mathbb{R} its usual topology; the codomain is then Hausdorff.

A1construct
1.2

GfG_f is closed in R2\mathbb{R}^2 and ff is not continuous at 00.

L1
2.1

ff is continuous at every c0c \ne 0: given a real ε>0\varepsilon > 0, [L2] supplies a real δ>0\delta > 0 such that x0x \ne 0 and xc<δ|x - c| < \delta imply 1/x1/c<ε|1/x - 1/c| < \varepsilon; put δ:=min{δ,c}>0\delta' := \min\{\delta, |c|\} > 0, and then every xRx \in \mathbb{R} with xc<δ|x - c| < \delta' satisfies x0x \ne 0, hence f(x)f(c)=1/x1/c<ε|f(x) - f(c)| = |1/x - 1/c| < \varepsilon. So ff is continuous at cc in the sense of 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, hence at cc as a map of topological spaces.

step 1.1L2
3.1

By steps 1.1, 1.2 and 2.1 the map ff has a closed graph and a Hausdorff codomain and is not continuous, its set of discontinuities being exactly {0}\{0\}; so the claim is false.

step 1.1step 1.2step 2.1
4.1

By [L3] the same three facts show that R\mathbb{R} with its usual topology is not compact, so the hypothesis the claim should have carried is compactness of the codomain and not any separation property of it.

step 1.2step 2.1step 3.1L3discharge-construct

Remarks

  • Adding a separation hypothesis to the codomain cannot repair the claim, and this is why. In 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 the Hausdorff condition is what makes a continuous map have closed graph, and compactness is what makes a closed-graph map continuous. The two hypotheses belong to opposite directions, and the witness above has the first without the second.

  • The failure is a single point, and it is not removable by redefining ff there. No value at 00 makes ff continuous, because f(x)|f(x)| exceeds every bound as xx approaches 00; and no value at 00 destroys the closedness of the graph. The example is therefore not a matter of a badly chosen value: it is the behaviour of the reciprocal near 00, and a compact codomain is exactly what would forbid that behaviour.

  • Where this sits relative to the functional-analytic closed graph theorem. That theorem replaces compactness of the codomain by completeness of both spaces and linearity of the map, and neither hypothesis is available or claimed here; the witness above is not linear, and nothing on this page bears on the functional-analytic statement.

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

Two continuous maps RR\mathbb{R} \to \mathbb{R} agreeing at every rational are equal

Example

Let f,g:RRf, g : \mathbb{R} \to \mathbb{R} be continuous (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) and suppose

f(q)=g(q)for every qQR,f(q) = g(q) \qquad \text{for every } q \in \mathbb{Q}_{\mathbb{R}} ,

where QR\mathbb{Q}_{\mathbb{R}} is the set of rationals inside R\mathbb{R} (The rationals embed densely in the reals). Then f=gf = g.

So a continuous real function is determined by its values at the rationals, and two continuous functions that are visibly different must already differ at some rational. Nothing is claimed about which functions on QR\mathbb{Q}_{\mathbb{R}} extend continuously to R\mathbb{R}; the statement is about uniqueness of the extension only.

Facts & Assumptions

Given: Continuous f,g:RRf, g : \mathbb{R} \to \mathbb{R} agreeing at every rational, with R\mathbb{R} carrying its usual topology.

[A2]

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

[L1]

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

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

Verification

technique · direct
1.1

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 [L1] some rational lies strictly between xrx - r and x+rx + r, hence in UU.

A1A2L1
1.2

R\mathbb{R} is Hausdorff and both ff and gg are continuous as maps of topological spaces.

L2L3
2.1

By [L4] applied with domain R\mathbb{R}, dense subset QR\mathbb{Q}_{\mathbb{R}} and Hausdorff codomain R\mathbb{R}, the hypothesis f=gf = g on QR\mathbb{Q}_{\mathbb{R}} gives f=gf = g.

step 1.1step 1.2L4

Remarks

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

Refuted: the agreement set of two continuous maps is closed, with no hypothesis on the codomain. Two continuous maps R{a,b}\mathbb{R} \to \{a,b\} into the indiscrete two-point space have agreement set Q\mathbb{Q}

Statement refuted

False claim: for continuous maps f,g:ZYf, g : Z \to Y between topological spaces 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, with no hypothesis on the codomain YY.

The witness is the pair of maps of FALSE: two continuous maps that agree on a dense subset of their common domain are equal, with no hypothesis on the codomain: take Z=RZ = \mathbb{R} with its usual topology, Y0={a,b}Y_0 = \{a,b\} with aba \ne b and the indiscrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), faf \equiv a, and gg equal to aa at every rational and to bb at every irrational. Both are continuous, and

E(f,g)  =  QR,E(f,g) \;=\; \mathbb{Q}_{\mathbb{R}} ,

which is dense in R\mathbb{R} (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets) and is not all of R\mathbb{R}, hence is not closed.

So the hypothesis dropped is the Hausdorff condition on the codomain, which is what 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 assumes; and the failure is the worst possible one, the agreement set being dense rather than merely non-closed.

Facts & Assumptions

Given: R\mathbb{R} with its usual topology; the set QR\mathbb{Q}_{\mathbb{R}} of rationals inside R\mathbb{R}; the two-point set Y0={a,b}Y_0 = \{a,b\} with aba \ne b and the indiscrete topology; and the maps faf \equiv a and gg equal to aa on QR\mathbb{Q}_{\mathbb{R}} and to bb off it.

[A3]

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

[L2]

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

[L3]

The set of irrationals is uncountable, hence not finite, hence nonempty (The irrationals are uncountable, Finite, countably infinite, countable, uncountable).

Counterexample

technique · constructive
1.1

Give Y0={a,b}Y_0 = \{a,b\} the indiscrete topology and take f,g:RY0f, g : \mathbb{R} \to Y_0 with f(x)=af(x) = a for every xx, g(x)=ag(x) = a for xQRx \in \mathbb{Q}_{\mathbb{R}} and g(x)=bg(x) = b otherwise.

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

L3choose
2.1

Both maps are continuous: the only open subsets of Y0Y_0 are \varnothing and Y0Y_0, whose preimages are \varnothing and R\mathbb{R}, both open.

step 1.1A2L1
2.2

E(f,g)=QRE(f,g) = \mathbb{Q}_{\mathbb{R}}: for xQRx \in \mathbb{Q}_{\mathbb{R}} both maps take the value aa, and for xQRx \notin \mathbb{Q}_{\mathbb{R}} they take the values aa and bb, which differ.

step 1.1
3.1

E(f,g)=R\overline{E(f,g)} = \mathbb{R} by steps 1.2 and 2.2, while E(f,g)RE(f,g) \ne \mathbb{R} since tQRt \notin \mathbb{Q}_{\mathbb{R}} by step 1.3; so E(f,g)E(f,g) is not closed by [L4].

step 1.2step 1.3step 2.2A3L4
4.1

Steps 2.1 and 3.1 exhibit two continuous maps whose agreement set is not closed, so the claim is false; by [A2] the codomain is not Hausdorff, which is exactly the hypothesis [L5] carries.

step 2.1step 3.1A2L5discharge-construct

Remarks

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

A finite Hausdorff space is discrete, and its diagonal is closed for the trivial reason that every subset of the square is

Example

Let (X,T)(X, \mathcal{T}) 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) whose underlying set is finite (Finite, countably infinite, countable, uncountable). Then:

  1. T\mathcal{T} is the discrete topology on XX (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies): every subset of XX is open.
  2. X×XX \times X 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) is discrete as well, so every subset of it — the diagonal ΔX\Delta_X included — is both open and closed.

Clause 2 makes the diagonal criterion (A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology) true here for a reason that has nothing to do with the diagonal: in a discrete square every subset is closed. The example is worth recording precisely because it is the degenerate case, where the criterion carries no information.

Facts & Assumptions

Given: A Hausdorff space (X,T)(X,\mathcal{T}) with XX finite, and X×XX \times X with the product topology.

Verification

technique · direct
1.1

XX is T1T_1, being Hausdorff.

L1
2.1

Every subset AXA \subseteq X is finite by [A1], hence closed by step 1.1 and [L2]; so every subset of XX is closed.

step 1.1A1L2
3.1

Every subset AXA \subseteq X is open, its complement XAX \setminus A being a subset of XX and therefore closed by step 2.1; so T\mathcal{T} is the discrete topology, which is claim 1.

step 2.1A2
4.1

Every singleton {(u,v)}={u}×{v}\{(u,v)\} = \{u\} \times \{v\} of X×XX \times X is a basic open box by step 3.1 and [A3], so every subset of X×XX \times X, being the union of the singletons of its elements, is open; hence X×XX \times X is discrete and every subset of it, ΔX\Delta_X included, is closed. This is claim 2.

step 3.1A2A3

Remarks

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

A finite subset of any space is compact, so the compact separation clauses specialise to separating a point from a finite set in a Hausdorff space

Example

Let XX be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let FXF \subseteq X be finite (Finite, countably infinite, countable, uncountable), with 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). Then:

  1. FF is compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right), whatever XX is and whatever topology it carries.
  2. Consequently, if 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) then a point xXFx \in X \setminus F and the set FF have disjoint open neighbourhoods, and two disjoint finite subsets of XX 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); in particular FF is closed in XX.

Clause 1 spends a choice principle, and exactly one: finite choice (Every natural-number-indexed list of nonempty sets has a choice function on its family of values), which is a theorem of ZF. The naive phrasing of the same argument — "for each yFy \in F pick a member of the cover containing it" — is a selection over the index set of FF, and because that index set is a natural number the selection is licensed outright.

Facts & Assumptions

Given: A topological space XX, a finite subset FXF \subseteq X with the subspace topology, and, where clause 2 is at issue, the hypothesis that XX is Hausdorff.

[A1]

FF is finite, so FF is equinumerous with a natural number nn and may be listed as y0,,yn1y_0, \dots, y_{n-1} (Finite, countably infinite, countable, uncountable).

[A2]

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

[L1]

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

Verification

technique · direct
1.1

List FF as y0,,yn1y_0, \dots, y_{n-1} for a natural number nn, and let U\mathcal{U} be a family of sets open in the subspace FF whose union is FF.

A1A2
2.1

For each i<ni < n the set Ui:={OU:yiO}\mathcal{U}_i := \{\, O \in \mathcal{U} : y_i \in O \,\} is nonempty, since the union of U\mathcal{U} is FF and yiFy_i \in F; so by [L1] applied to the function iUii \mapsto \mathcal{U}_i on nn there is a choice function on the family of these sets, and it supplies OiUiO_i \in \mathcal{U}_i for every i<ni < n.

step 1.1L1choose
3.1

The finitely many sets O0,,On1O_0, \dots, O_{n-1} lie in U\mathcal{U} and their union contains every yiy_i, hence is FF; as U\mathcal{U} was arbitrary, FF is compact, which is claim 1.

step 1.1step 2.1A2
4.1

If XX is Hausdorff then, FF being compact by step 3.1, [L2] separates FF from any point of XFX \setminus F by disjoint open sets, separates FF from any disjoint finite subset of XX likewise, and makes FF closed in XX. This is claim 2.

step 3.1L2

Remarks

Sources