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.
Hausdorff via the Diagonal
1 · Prerequisites
- Compactness
- Compactness in Metric Spaces
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
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 , the diagonal map , and the pairing of two maps fixes the diagonal , the diagonal map , and the pairing of two maps with a common domain. A point of the binary product is a function on the von Neumann (The product set 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 is notation for that function and 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 . is a topological embedding of onto , and is continuous whenever and are then records that is a topological embedding with image , 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 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 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 with Hausdorff the agreement set is closed in observes that is and is therefore closed when 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 and out of , whose agreement set is the graph of .
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 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 and proves that a compact Hausdorff space is regular and normal, hence and . 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 half comes from Every Urysohn space is Hausdorff, every Hausdorff space is and hence , and every regular 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 off and to at ; the same witness shows, through the criterion itself, that 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
The diagonal , the diagonal map , and the pairing of two maps
Definition
Let and be topological spaces (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). Throughout, is the binary product with and (The product set 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 on the von Neumann natural , written , and are the two projections.
The basis used throughout. For the index set the product basis and the box basis coincide, since a box has all but finitely many factors unrestricted for the trivial reason that it has only two (The product set 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
is a basis for the product topology on , and every statement below that tests a basic open set tests a box of two open sets.
The diagonal. The diagonal of is
the second description being the first read through the definition of a point of the product as a function on . It is a subset of 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 is
that is, the function sending to the constant function with value . Its two components are and , 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 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 , and it is injective, since forces by reading the coordinate at . Whether is an embedding onto (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 and on a common domain, the pairing is
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 with and ; no hypothesis on and 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
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 ,
directly from the definitions above: says that the function on takes the same value at and at .
Remarks
-
The diagonal is a subset of a product, and the diagonal map is a function into it; they are different objects with the same name. The set records which pairs are repetitions, and the map produces the repetitions. Both are needed: the closedness criterion of this page is about the set, and the transport of properties from to its copy inside the square is about the map.
-
Nothing here depends on a choice principle. The product is a binary product, and a point of it is exhibited by naming its two coordinates; the nonemptiness of an arbitrary product, which is where choice enters (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, claim 4), is never invoked for a binary product with a named point.
-
Why the box description is recorded at the top. The criterion proved on this page tests basic open sets of , and for the binary product there is no gap between the box topology and the product topology to worry about (The product set 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 infinite product is formed anywhere on this page, so the distinction never becomes live here.
is a topological embedding of onto , and is continuous whenever and are
Statement
Let , and be topological spaces, with and carrying the product topology and the subspace topology (The diagonal , the diagonal map , and the pairing of two maps, The product set 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:
- The pairing is continuous exactly when both components are. For functions and , the pairing is continuous if and only if and are continuous (Continuity of a map of topological spaces at a point and globally).
- The diagonal map is an embedding. is injective and continuous, its image is , and the corestriction , , is a homeomorphism. So is an embedding (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological) and .
- The inverse of is the restriction of the projection to , and this restriction agrees with the restriction of .
Claim 2 is what licenses reading a property of as a property of : 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 , , ; the products and with the product topology; functions and ; the diagonal with the subspace topology; and the maps , of The diagonal , the diagonal map , and the pairing of two maps.
and ; ; and , , (The diagonal , the diagonal map , and the pairing of two maps).
A map into a product is continuous if and only if every component 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).
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).
For with the subspace topology, a function is continuous if and only if is continuous, being the inclusion; and the restriction of a continuous map to 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).
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
Suppose and are continuous; then the components and of are continuous, so is continuous.
Suppose is continuous; then its components and are continuous.
is continuous, its two components both being , which is continuous.
is injective: if then reading the coordinate at gives .
The image of is : each lies in , and each satisfies .
The restriction is continuous, being the restriction of the continuous to a subspace; and , since for .
Steps 1.1 and 1.2 together are claim 1.
The corestriction is continuous, since composing it with the inclusion gives , which is continuous by step 1.3.
and are mutually inverse: for , and for , the middle equality holding because .
By steps 2.2, 2.3 and 1.6 the map is a continuous bijection with continuous inverse , hence a homeomorphism, and its inverse is ; this is claim 3 and, with steps 1.4 and 1.5, claim 2.
Claims 1, 2 and 3 are steps 2.1, 3.1 and 3.1 respectively, so the lemma is proved.
Remarks
-
The projection restricted to the diagonal is the inverse, and that is why no openness argument is needed. A continuous bijection is in general not a homeomorphism (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological); here the candidate inverse is available for free as a restriction of a projection, so the homeomorphism is exhibited rather than deduced.
-
Nothing in claim 2 uses a separation hypothesis. Every space, Hausdorff or not, sits inside its own square as the homeomorphic copy . What the Hausdorff condition decides is a different question, whether that copy is closed, and that is the next item.
-
Claim 1 is the binary case of the characteristic property and is stated separately only because it is used constantly. For a product of two factors the general statement 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 specialises to exactly the displayed equivalence, and the pairing notation is what makes the specialisation usable without re-indexing.
A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology
Statement
Let be a topological space and give the product topology (The product set 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 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 (The diagonal , the diagonal map , and the pairing of two maps) is closed in :
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 back along a continuous pairing, and the graph result is a specialization of that argument.
Facts & Assumptions
Given: A topological space , the product with the product topology, and the diagonal .
is Hausdorff when for all in there are open and with (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not).
The boxes with form a basis for the product topology on , the index set being (The product set 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, Basis and subbasis for a topology, and the topology generated by a family of sets, The diagonal , the diagonal map , and the pairing of two maps).
For a basis of a space, a point lies in if and only if every containing it meets ; and is closed if and only if (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, claims 1(d) and 2, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Proof
Assume is Hausdorff and let with , so that ; by [A1] there are open and with .
Assume is closed and let with ; then satisfies , the equality holding by [L1] since is closed.
The box of step 1.1 is a basic open set containing , and : a point of the intersection would satisfy with and , putting in .
By [L1] applied to the basis of [A2], step 1.2 supplies a basic open box with and ; so and .
From step 2.1 and [L1], for every ; hence , and with [L2] this gives , so is closed.
The sets and of step 2.2 are disjoint: if then lies in and in , contradicting .
Step 3.1 shows that Hausdorff implies closed, and steps 2.2 and 3.2 show that closed implies that any two distinct points of have disjoint open neighbourhoods, which by [A1] is the Hausdorff condition; the two implications are the theorem.
Remarks
-
The criterion is about the product topology on a binary product, and there the box basis and the product basis are the same family (The product set 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 the boxes tested in steps 2.1 and 2.2 are legitimately basic. No infinite product is formed anywhere in the argument, and the criterion says nothing about one.
-
Neither direction spends a choice principle. The forward direction produces one box from one Hausdorff separation of one named pair, and the backward direction reads one box out of the closure characterisation; there is no family to select from in either.
-
What the criterion does not say. It does not say that is closed in carrying some other topology, and it does not say that is closed in — the latter is not even a statement, being a subset of the square. The hypothesis that carries the product topology is used at [A2] and cannot be dropped.
For continuous with Hausdorff the agreement set is closed in
Statement
Let be a topological space, let 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 be continuous (Continuity of a map of topological spaces at a point and globally). Then the agreement set
is closed in .
No hypothesis is placed on : the separation hypothesis is on the codomain alone, and it is not decoration. Let with carry the indiscrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), which is not Hausdorff. Every function is continuous, the only preimages to check being those of and , namely and . So for any subset the constant map and the map taking the value on and off are continuous with , closed or not.
Facts & Assumptions
Given: Topological spaces and with Hausdorff, continuous maps , and the product with the product topology.
, where is the pairing and the diagonal (The diagonal , the diagonal map , and the pairing of two maps).
The pairing is continuous whenever and are ( is a topological embedding of onto , and is continuous whenever and are, claim 1).
A map is continuous if and only if the preimage of every closed set is closed (For a map of spaces the following agree: continuity at every point, preimages of open sets open, preimages of closed sets closed, preimages of subbasic open sets open, and , clauses (a) and (c), Continuity of a map of topological spaces at a point and globally).
Proof
is continuous.
is closed in .
is the preimage of a closed set under a continuous map, hence closed in .
Remarks
-
Why the diagonal criterion is the right tool here. The condition "" is a condition on the pair of values, so it becomes a membership condition once the two maps are packaged into one map into the square; the criterion then converts the separation hypothesis on into the closedness of the set that condition names. Nothing is proved twice: the whole content is A space is Hausdorff if and only if its diagonal is closed in the square carrying the product topology together with the preimage identity of The diagonal , the diagonal map , and the pairing of two maps.
-
Both hypotheses are used, and only these. Continuity of and enters only through [L1], and the Hausdorff condition only through [L2]. In particular no countability, compactness or separation hypothesis on appears anywhere in the argument.
-
The complement is what the statement is often used for. is open, so if and differ at a point they differ throughout some open neighbourhood of it. Equivalently, contains the closure of every subset of on which and agree, which is the form in which a statement about a dense set is obtained from this one.
Two continuous maps into a Hausdorff space that agree on a dense subset are equal
Statement
Let be a topological space, let be dense (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets), let 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 be continuous (Continuity of a map of topological spaces at a point and globally) with
Then .
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 extend: the statement is about uniqueness of an extension, not existence.
Facts & Assumptions
Given: A topological space , a dense subset , a Hausdorff space , and continuous maps agreeing at every point of .
The agreement set is closed in (For continuous with Hausdorff the agreement set is closed in , Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not, Continuity of a map of topological spaces at a point and globally).
is the smallest closed superset of : it is contained in every closed set containing (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, claim 2, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Proof
is closed in .
, since and agree at every point of .
, the equality by [A1] and the inclusion because is a closed set containing .
holds by definition, so , that is for every and .
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 , not about . 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 need not extend continuously to at all. What this corollary rules out is two different extensions, and that is exactly what makes an extension, when it exists, worth naming.
In a Hausdorff space a sequence converges to at most one point
Statement
Let 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 be a sequence in and let with and (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure). Then .
So in a Hausdorff space a sequence has at most one limit, and the notation 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 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 , a sequence in , and points with and .
is Hausdorff: distinct points have disjoint open neighbourhoods (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not).
means that for every neighbourhood of there is with for all ; and an open set containing is a neighbourhood of (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).
For all exactly one of , , holds, so any two natural numbers are comparable (Trichotomy of the order on ).
Proof
Suppose .
By [A1] there are open sets and with .
is a neighbourhood of and a neighbourhood of , so by [A2] there are with for all and for all .
By [L1] the naturals and are comparable; let be whichever of them is not smaller than the other, so that and .
By step 3.1 and step 4.1 the term lies in and in , so .
Step 5.1 contradicts from step 2.1, so the supposition of step 1.1 fails and .
Remarks
-
Why this is not the diagonal criterion in disguise. The criterion of this page characterises the Hausdorff condition exactly; the sequential statement above does not, and the gap is recorded by FALSE: a space in which every sequence has at most one limit is Hausdorff. A sequence sees only countably many points, and a space may separate no pair of points by open sets while still admitting no non-trivial convergent sequence at all.
-
No choice principle is used. The two indices and come from two named neighbourhoods, and step 4.1 compares two given naturals; nothing is selected from a family.
-
The statement is about limits, not about cluster points. A sequence in a Hausdorff space may well have many cluster points (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure), and nothing above bears on that.
A compact Hausdorff space is regular and normal, hence and
Statement
Let 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:
- is regular (Regular spaces and spaces, with the source disagreement over whether regularity includes stated explicitly);
- is normal (Normal spaces and spaces, with the source disagreement over whether normality includes stated explicitly);
- is ( (Kolmogorov) and (Frechet) spaces), and hence is and .
Following Regular spaces and spaces, with the source disagreement over whether regularity includes stated explicitly and Normal spaces and spaces, with the source disagreement over whether normality includes stated explicitly, regular and normal name the separation conditions alone and the numerals and name their conjunctions with ; claim 3 is what supplies the 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 spaces, with the source disagreement over whether regularity includes stated explicitly distinguishes the two conditions), and no continuous real-valued function is produced anywhere below.
Facts & Assumptions
Given: A compact Hausdorff topological space .
is regular when for every closed and every there are disjoint open and ; the case is met by and , and is regular together with (Regular spaces and spaces, with the source disagreement over whether regularity includes stated explicitly, (Kolmogorov) and (Frechet) spaces).
is normal when for all disjoint closed there are disjoint open and ; the cases and are met by together with , and is normal together with (Normal spaces and spaces, with the source disagreement over whether normality includes stated explicitly, (Kolmogorov) and (Frechet) spaces).
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).
In a Hausdorff space, a point and a disjoint compact set have disjoint open neighbourhoods, 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, Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not, Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right).
Every Hausdorff space is (Every Urysohn space is Hausdorff, every Hausdorff space is and hence , and every regular space is Urysohn, claim 2, (Kolmogorov) and (Frechet) spaces).
Proof
Let be closed and let ; since is compact and is closed in , the subspace is compact, and does not lie in it.
Let be closed with ; since is compact and both are closed in , both subspaces and are compact.
is , being Hausdorff.
By [L2], applied to the point and the disjoint compact set of step 1.1, there are disjoint open and ; as and were arbitrary this is exactly the condition of [A1], so is regular, which is claim 1.
By [L2], applied to the two disjoint compact sets and of step 1.2, there are disjoint open and ; as and were arbitrary this is the condition of [A2], so is normal, which is claim 2.
By step 1.3 the space is ; with step 2.1 it is regular and , hence , and with step 2.2 it is normal and , hence . This is claim 3.
Steps 2.1, 2.2 and 3.1 are claims 1, 2 and 3, so a compact Hausdorff space is regular, normal, and .
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 is needed and not just of the sets separated. The hypothesis is used only through [L1], to know that an arbitrary closed subset of 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 buys is that every closed set is such a set.
-
The degenerate cases are not a gap. If , or 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.
The graph of a continuous map into a Hausdorff space is closed in the product
Statement
Let be a topological space, let 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 be continuous (Continuity of a map of topological spaces at a point and globally). Then the graph
is closed in with the product topology (The product set 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 . The Hausdorff hypothesis is on the codomain and the continuity hypothesis is on ; 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 , a Hausdorff space , a continuous map , and the product with the product topology and projections .
A composite of continuous maps is continuous (Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, claim 1).
If is Hausdorff and are continuous, then is closed in (For continuous with Hausdorff the agreement set is closed in , Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not).
Proof
and are continuous.
is continuous, being a composite of the continuous with the continuous .
By [A1] the graph is the agreement set of the two continuous maps and from to the Hausdorff space , so it is closed in .
Remarks
-
The graph is an agreement set, and that is the whole proof. Writing as the set where and agree turns a statement about a map into a statement about two maps out of one space, which is exactly the shape For continuous with Hausdorff the agreement set is closed in handles. Equivalently , the preimage of the diagonal (The diagonal , the diagonal map , and the pairing of two maps).
-
The Hausdorff hypothesis is not removable. Let be a one-point space and let with carry the indiscrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies). Every function is continuous, the only preimages to check being those of and . The product has as its open boxes only and itself, so its only closed sets are and itself; and is a single point, hence neither. The argument above breaks at [L3] and nowhere else.
-
Continuity of is used, and only through the composite. Step 2.1 is the only appearance of the hypothesis; everything else is a property of the product.
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 and be topological spaces, let be a function, and give the product topology (The product set 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
for the graph of . Then:
- Closed graph implies continuity, over a compact codomain. If is compact (Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right) and is closed in , then is continuous (Continuity of a map of topological spaces at a point and globally). No separation hypothesis on is used in this direction.
- Continuity implies closed graph, over a Hausdorff codomain. If 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 is continuous, then is closed in .
- The equivalence. If is compact and Hausdorff then is continuous if and only if is closed in .
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 and , a function , the product with the product topology, and the graph .
The boxes with open in and open in form a basis for the product topology on , the index set being (The product set 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, Basis and subbasis for a topology, and the topology generated by a family of sets).
is continuous at exactly when for every open with there is an open with and , and is continuous when this holds at every point of (Continuity of a map of topological spaces at a point and globally).
A subset of a space is closed exactly when its complement is open; a finite intersection of open sets is open, and itself is open (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
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).
A closed subspace of a compact space is compact (A closed subspace of a compact space is compact, and a finite union of compact subspaces is compact).
A finite set is equinumerous with some natural number , hence may be listed as (Finite, countably infinite, countable, uncountable).
If is a function with domain a natural number 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
Assume is compact and is closed, and put , which is open.
Fix and an open with , and put ; then is closed in , hence a compact subspace.
Let be the set of all pairs such that is open in , is open in , and ; this family is specified by a formula and nothing is selected in forming it.
If is Hausdorff and is continuous then is closed, which is claim 2.
Every lies in for some : since and we have , so , and by [A1] there is a basic box with , which gives .
The family consists of sets open in the subspace and its union is , by step 2.1.
By compactness of there is a finite subfamily of whose union is ; being finite it may be listed as for some , so that .
For each the set is nonempty, since ; so by [L4] applied to the function on there is a choice function on the family of these sets, and it supplies a pair for every .
Put ; this is when and a finite intersection of open sets otherwise, hence open in either case, and since for every .
: let and suppose , that is ; then for some by step 4.1, while , so the point of lies in , contradicting ; hence .
By steps 6.1 and 7.1 there is, for the arbitrary and the arbitrary open containing fixed in step 1.2, an open with ; so is continuous by [A2], which is claim 1.
If is compact and Hausdorff then step 8.1 gives one implication and step 1.4 the other, so continuity of and closedness of are equivalent, which is claim 3; with steps 8.1 and 1.4 the theorem is proved.
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 choose a box around 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 then and the finite subfamily of step 4.1 may be empty, so ; the set of step 6.1 is then , which is exactly what is wanted. Writing 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.
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 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 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 unless a subscript names another space (Interior, closure, boundary, exterior, derived set and isolated point in a topological space). Then:
- Shrinking with a compact closure. For every and every open with there is an open with and compact.
- A base. The family of open subsets of whose closure is compact is a basis for the topology of (Basis and subbasis for a topology, and the topology generated by a family of sets).
- Regularity. is regular (Regular spaces and spaces, with the source disagreement over whether regularity includes 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 , a point and an open set with .
Every point of has a compact neighbourhood: for each there are a compact subset and an open with (Locally compact topological space: every point has a compact neighbourhood; and what this says in a metric space, 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).
is Hausdorff: distinct points have disjoint open neighbourhoods (Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not).
is the largest open subset of , and is the smallest closed superset of (Interior, closure, boundary, exterior, derived set and isolated point in a topological space, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
For the open sets of the subspace are the traces of the open sets of ; an open subset of contained in is open in ; and for the topology inherits from is the topology it inherits from (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).
A compact Hausdorff space is regular (A compact Hausdorff space is regular and normal, hence and , claim 1).
A space is regular if and only if for every point of it and every set open in it with there is a set open in it with , 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 open gives an open with , (a) iff (b), Regular spaces and spaces, with the source disagreement over whether regularity includes stated explicitly).
A closed subspace of a compact space is compact (A closed subspace of a compact space is compact, and a finite union of compact subspaces is compact).
A family of open sets is a basis for the topology exactly when for every open and every some member of the family contains and is contained in (Basis and subbasis for a topology, and the topology generated by a family of sets).
Proof
By [A1] fix a compact and an open with ; then by [A3], so .
The subspace is Hausdorff: distinct have disjoint open and in by [A2], and the traces and are disjoint open sets of the subspace containing and respectively.
is closed in , being a compact subset of the Hausdorff space .
The subspace is compact and Hausdorff, hence regular.
Put ; it is open in , contains by step 1.1, is contained in by [A3], and is therefore also open in the subspace .
Applying [L4] inside the space , which is regular by step 2.1, to the point and the set open in , there is a set open in with .
is open in : by [L1] there is an open with , and since we get , an intersection of two open subsets of .
: from and closed in (step 1.3) the smallest closed superset of satisfies , and [L5] gives .
is compact: by step 4.2 it is , which is closed in the compact subspace and hence compact by [L6]; and by the transitivity clause of [L1] the topology it inherits from is the one it inherits from , so it is a compact subset of .
Combining, is open in by step 4.1, by steps 3.1, 4.2 and 2.2, and is compact by step 5.1; as and were arbitrary this is claim 1.
The open subsets of with compact closure are open, and by step 6.1 every open and every admit such a set with ; so by [L7] they form a basis for the topology of , which is claim 2.
Step 6.1 gives, for every and every open , an open with , which is condition (b) of [L4] for the space ; hence is regular, which is claim 3.
Steps 6.1, 7.1 and 7.2 are claims 1, 2 and 3, so the lemma is proved.
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 with 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 closed in and once to make the subspace regular.
-
Why the argument moves into the subspace and back out. Regularity is available inside , because is compact Hausdorff, and not yet available in — proving it for is claim 3. The two transfers back to are step 4.1, which uses that sits inside the open set , and step 4.2, which uses that 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 , not merely of its closure inside . Compactness is a property of a space, and carries the same topology whether it is reached through or directly from (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.
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 against basic open sets of , and the basic open sets it uses are the boxes with and open in . That those boxes really are a basis is a feature of a binary product: by The product set 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 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 , the diagonal map , and the pairing of two maps, and pull 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 choose disjoint open and ,
and it selects one pair of open sets for each point of an arbitrary set . That is an application of the Axiom of Choice (The Axiom of Choice, Choice function), and it is avoidable. Take instead the family of all open for which there exists an open with and . This family is specified by a formula, so nothing is selected in forming it; it covers , because 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 ; 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 ; and only now is a chosen for each — 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 are the required neighbourhoods: is open, being when and a finite intersection of open sets otherwise, it contains , and it misses each because it is contained in each . 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 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, and as their conjunctions with — 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 hypothesis out where it is used rather than building it into an adjective.
5 · Examples, counterexamples and false statements
FALSE: every function between topological spaces whose graph is closed in the product is continuous
Statement
False claim: if and are topological spaces and is a function whose graph is closed in with the product topology (The product set 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 is continuous (Continuity of a map of topological spaces at a point and globally).
The refutation is the function , with carrying its usual topology (The absolute value makes a metric space: is a metric, its open balls are the intervals , 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
Its graph is closed in and it is not continuous at . 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 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: with its usual topology, the product with the product topology, the function above, and its graph .
A set is open in the usual topology exactly when for every there is a real with ; in particular every bounded open interval is open (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, claims 2 and 3, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, Intervals of : the nine order-convex forms, nondegeneracy, and length).
The boxes with and open in form a basis for the product topology on , the index set being (The product set 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, Basis and subbasis for a topology, and the topology generated by a family of sets).
is continuous at exactly when for every open with there is an open with , and continuous when this holds everywhere (Continuity of a map of topological spaces at a point and globally).
A point lies in exactly when every basic open set containing it meets , and is closed exactly when (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, claims 1(d) and 2).
The reciprocal is continuous at every as a function on , being the quotient of the constant function 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 means that for every real there is a real such that and imply (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
For every real there is a natural number with (For every in a complete ordered field there is a natural with ).
If the codomain is compact and the graph is closed then the map 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, Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right).
Refutation
Define by for and ; this is a function on all of , every nonzero real having a multiplicative inverse.
Let with , so that .
is not continuous at : put , an open set containing , and let be any open set with ; by [A1] there is a real with , by [L3] there is a natural with , and then while , so and .
Suppose , so and ; by [L2] fix a real such that and imply , and put .
Suppose , so and , hence ; put and and , a basic open set containing .
With the box is a basic open set containing and : for one has , so and with , whence and therefore .
With the box of step 2.2 satisfies : let with ; if then and , contradicting ; and if then gives , while , contradicting .
Every has a basic open set containing it and missing , by step 3.1 if its first coordinate is nonzero and by step 3.2 if it is zero; so no such lies in , whence and is closed in .
By step 1.3 and [A3] the function is not continuous, while by step 4.1 its graph is closed; so the claim is false.
By [L4] a function into a compact codomain with closed graph is continuous, so steps 4.1 and 1.3 also show that with its usual topology is not compact; the witness therefore refutes the claim and locates the missing hypothesis at the same time.
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 the values are large in absolute value, so a small box around a point with cannot meet the graph at all. That escape is exactly what a compact codomain would forbid.
-
The value chosen at is immaterial. Replacing by any fixed real leaves both conclusions standing. For the graph, a point with is separated from it by the box with and : the value at is , which lies outside the second factor, and for in the first factor forces . For the discontinuity, step 1.3 uses only that exceeds every bound, which does not involve at all. The value is chosen above only because it makes the two computations shortest.
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 and are topological spaces, is dense (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets), and are continuous (Continuity of a map of topological spaces at a point and globally) with for every , then .
The refutation takes with its usual topology (The absolute value makes a metric space: is a metric, its open balls are the intervals , 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 of rationals inside (The rationals embed densely in the reals), and for codomain the two-point set with 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 and the map equal to at every rational and to at every irrational. Both are continuous, they agree on , 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: with its usual topology; the set of rationals inside ; and a two-element set with .
is open in the usual topology exactly when for every there is a real with (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, claims 2 and 3, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, Intervals of : the nine order-convex forms, nondegeneracy, and length).
The indiscrete topology on is ; the two-point indiscrete space is not Hausdorff, the only open set containing either point being (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
is dense exactly when for every nonempty open (Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets, form 2).
A function between topological spaces is continuous exactly when the preimage of every open set is open (For a map of spaces the following agree: continuity at every point, preimages of open sets open, preimages of closed sets closed, preimages of subbasic open sets open, and , clauses (a) and (b), Continuity of a map of topological spaces at a point and globally).
Strictly between any two reals lies a rational (The rationals embed densely in the reals).
The set 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).
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
Give the indiscrete topology; it is not Hausdorff.
is dense in : given a nonempty open , pick and by [A1] a real with ; by [L2] some rational lies strictly between and , hence in .
There is a real , the set of irrationals being nonempty.
Every function from a topological space into is continuous: the only open subsets of are and , whose preimages are and the whole domain, both open.
Define by for every , and by for and otherwise; both are continuous by step 2.1.
and agree at every point of , which is dense in by step 1.2.
and for the irrational of step 1.3, and , so .
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.
Remarks
-
The failure is as large as it can be. The two maps agree precisely on and differ at every other point of , 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 is involved, and the same construction runs with 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
Standard references
Recommended treatments; not extraction sources.
- Product topology (Wikipedia)
- Hausdorff space (Wikipedia)
- Diagonal embedding (PlanetMath)
- Stacks Project, Topology, Lemma 5.3 (Tag 08ZD)
- Embedding (Wikipedia)
- Continuous function (Wikipedia)
- General Topology Notes (UC Riverside)
- Dense set (Wikipedia)
- Limit of a sequence (Wikipedia)
- Topological Spaces lecture notes (University of Cambridge)
- Normal space (Wikipedia)
- Compact space (Wikipedia)
- Separation axiom (Wikipedia)
- A. Hatcher, Topology Notes
- Closed graph theorem (Wikipedia)
- Introduction to Functional Analysis (MIT 18.102)
- Locally compact space (Wikipedia)
- Regular space (Wikipedia)
- B. McKay, Topology Lecture Notes
- Axiom of choice (Wikipedia)
- Analysis 3103, Handout 7 (UCL)
- Trivial topology (Wikipedia)
- Cocountable topology (Wikipedia)