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.
Topological Spaces and Continuity
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Relations, Functions, and Quotients
- Sequences and Limits
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
Metric spaces provide the motivating examples: metric balls generate a topology, and the established metric notions of closure, convergence, and continuity supply comparison results. Earlier results on finite and countable sets support the cofinite and cocountable constructions, while countable choice is stated explicitly when sequences are selected from neighbourhoods. The usual topology of comes from its metric.
A topology is defined through open sets, then generated from bases and subbases; neighbourhoods, interior, closure, boundary, and density follow, culminating in the Kuratowski closure axioms. Continuity is characterised by inverse images and closure, and subspace topology supports local and pasting arguments. Homeomorphisms identify topologically equivalent spaces. Sequences always detect some closure and continuity information, and first countability gives the converses. Metrizability then reconnects these notions with metrics and explains when metric convergence and topological convergence agree.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison
Definition
Let be a set and write for its power set. A topology on is a family such that
- (T1) and ;
- (T2) for every ;
- (T3) for all .
A topological space is a pair consisting of a set and a topology on it; the elements of are its points. When only one topology is in play we write for the pair; when several are, the topology is always named.
The members of are the open sets of . A subset is closed when its complement is open, and clopen when it is both open and closed. By (T1) both and are clopen. Open and closed are not opposites: a set may be neither, and it may be both, so "not open" is never a synonym for "closed".
Finite intersections, and the empty one. Axiom (T3) is stated for two sets because that is all that is ever needed: if and , then follows by iterating (T3) times. The intersection of the empty family of subsets of is , since the condition "lies in every member of the empty family" is vacuous; that case is covered by (T1) rather than by (T3), which is one of the two reasons is demanded outright. The other is that (T2) alone gives only .
The closed sets, and the dual axiomatisation. Put , the family of closed sets. Then
- (C1) and ;
- (C2) for every nonempty ;
- (C3) for all .
Conversely, if a family satisfies (C1), (C2) and (C3), then is a topology on whose closed sets are exactly the members of . So a topology may be presented equally well by its open sets or by its closed sets, and this library uses whichever is shorter.
Both directions are one computation, and it is carried out here rather than assumed. The map is an involution of , hence a bijection, and it carries the two De Morgan identities
term by term into each other. Given (T1)–(T3): and lie in , which is (C1); for nonempty the family lies in and is closed by (T2), which is (C2); and is closed by (T3), which is (C3). Given (C1)–(C3) the same three lines run backwards, the empty-union case being supplied by (C1) rather than by (C2); and has as its family of complements because complementation is an involution.
Comparison of topologies. If and are topologies on the same set and , then is coarser than and is finer than ; the comparison is strict when the inclusion is. Inclusion is a partial order on the set of topologies on (Partial order and partially ordered set), and it is not a total one: two topologies on the same set may be incomparable.
Remarks
-
The topology is part of the data. Two different topologies on one set are two different topological spaces, exactly as two different metrics on one set are two different metric spaces. Every statement below that says "the space " has a topology fixed in advance.
-
Nothing is assumed beyond (T1)–(T3). In particular no separation property is built into the word space here: distinct points need not lie in disjoint open sets, singletons need not be closed, and both failures occur in the standard topologies defined on the next item. Where a separation property is used it is stated as a hypothesis.
-
This library always writes coarser and finer. The synonyms smaller/larger are unambiguous, but weaker/stronger is used in both directions in the literature and is avoided here entirely.
-
Why "arbitrary unions, finite intersections" and not the reverse. The asymmetry is not a convention: it is what makes the metric notion of open set (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement) an instance, and an arbitrary intersection of open sets genuinely need not be open. The failure is recorded on this page as a false statement, with witnesses in two different spaces.
The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies
Definition
Throughout, a topology is as in Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison, and finite, at most countable and uncountable are as in Finite, countably infinite, countable, uncountable, so that "countable" always means "at most countable" and every finite set is countable. Let be a set. The six families below are topologies on ; that each really satisfies (T1), (T2) and (T3) is discharged in full after the list.
- Discrete topology. : every subset is open, hence every subset is closed, hence every subset is clopen.
- Indiscrete topology. . Its closed sets are again and .
- Cofinite topology. . Its closed sets are together with the finite subsets of .
- Cocountable topology. . Its closed sets are together with the at most countable subsets of .
- Particular-point topology. Fix and put : the open sets are and the sets containing . Its closed sets are together with the sets not containing .
- Sierpinski topology. On a two-point set with , . The pair is Sierpinski space; is its open point and its closed point. This is exactly the particular-point topology of item 5 on a two-point set with particular point , listed separately because it is quoted so often.
Two elementary facts about finite sets are used below, and both are proved here.
(i) A subset of a finite set is finite. Let with (Equinumerous sets, and , The natural numbers (von Neumann)), witnessed by a bijection , and let . Then restricts to a bijection of onto (Injection, surjection, bijection). Every element of the von Neumann natural is a natural number strictly smaller than (On the order is membership: ), so is a subset of bounded above by , hence finite by the sharper form of Every subset of an at most countable set is at most countable ("a subset is finite if it is bounded above"). Since is symmetric and transitive, is finite.
(ii) A union of two finite sets is finite. First, if is finite and is any object then is finite: if there is nothing to prove, and otherwise a bijection extends to a bijection by setting , which is injective because (Every natural number is a transitive set and is not a member of itself). Now fix a finite set and argue by induction (The principle of mathematical induction) on over the statement "for every with , the union is finite". At we have and . At , a bijection gives and (restrict ), so is finite by the induction hypothesis and the previous sentence.
Discharge of the topology axioms.
Discrete. Every subset of lies in , so (T1), (T2) and (T3) hold with nothing to check.
Indiscrete. (T1) is the definition. For (T2), a subfamily of has union (if it is empty or ) or (otherwise). For (T3), and .
Cofinite. (T1): is listed, and is finite. (T2): let . If every member is the union is . Otherwise fix with ; then , which is finite, so the left side is finite by (i). (T3): for nonempty with finite complements, is finite by (ii); and if either of is empty so is . The closed sets are the complements of the open ones, that is together with the finite sets.
Cocountable. Identical to the cofinite case with "at most countable" in place of "finite": (i) is replaced by Every subset of an at most countable set is at most countable itself, and (ii) by the statement that a union of two at most countable sets is at most countable, which is the two-set instance of Countable unions of at most countable sets, assuming applied to the family for .
Particular point. (T1): is listed and . (T2): a subfamily whose members are all has union ; otherwise some member contains , hence so does the union. (T3): if and both contain then so does ; and if either is then so is the intersection.
Sierpinski. The special case , of the previous paragraph: the sets containing are and , so .
Remarks
-
Two degenerate collapses. If is finite then the cofinite topology is the discrete one, since every subset then has finite complement by fact (i) above; if is at most countable the cocountable topology is discrete for the same reason. Both families are therefore interesting only on an infinite, respectively uncountable, set, and every statement made about them below names that hypothesis.
-
Where the two extremes sit in the comparison order. The discrete topology is the finest and the indiscrete the coarsest topology on (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison): every topology is a subfamily of and contains and . Every other topology on lies between them, and the cofinite topology is coarser than the cocountable one, because a finite set is at most countable.
-
No choice principle is needed for any of the six, despite the citation. The only appeal above that carries a choice hypothesis is Countable unions of at most countable sets, assuming , whose statement assumes , and it is used for a union of two sets only, padded with copies of . That instance is provable in ZF alone, by interleaving two given enumerations, exactly as The irrationals are uncountable records for the union of the rationals and the irrationals; the general theorem is cited because it is the form in which this library states the union result, not because the strength is needed. Nothing about the cocountable topology depends on countable choice.
-
The Sierpinski point that is open is a genuine choice of labelling. Both and are topologies, and they are carried to each other by the transposition of and ; this library fixes the first and always names the open point.
Basis and subbasis for a topology, and the topology generated by a family of sets
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
A family is a basis for if every open set is a union of members of : for every there is with . Equivalently, and this is the form used in proofs,
The two forms say the same thing. If every open is such a union and , then lies in one of the sets united, which is a member of inside . Conversely, if the displayed condition holds then , since each such is contained in and each lies in one of them. Note that , so the empty open set is covered by the empty subfamily and needs no member of . The members of a basis are called basic open sets.
The topology generated by a family. Let be any family of subsets of . Then
is a topology on , it contains , and it is contained in every topology on that contains . It is called the topology generated by , and is a subbasis for a topology when .
This is well posed, and the obligation is discharged here. The collection being intersected is nonempty, because is a topology on containing ; so the intersection is an intersection of a nonempty family of subsets of and is a set. It is a topology: and lie in every topology on , hence in the intersection, which is (T1); if then is a subfamily of each in the collection, so lies in each and hence in the intersection, which is (T2); and the same argument with gives (T3). It contains because every in the collection does, and it is contained in each such because an intersection is contained in each of its members. So is the coarsest topology on containing (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), and in particular it is uniquely determined by .
Neither notion is intrinsic to the family alone. " is a basis for " and " is a subbasis for " are relations between a family and a topology, not properties of the family. The question of which families are a basis for some topology, and how the topology generated by a subbasis is computed from it, is settled by the next item.
Remarks
-
Every topology is a basis for itself, so a basis always exists; the point of a basis is to be smaller and more explicit than , and the point of a subbasis is to be smaller still at the cost of one round of finite intersections.
-
Two extremes of the generated topology. is the indiscrete topology, since is a topology containing the empty family and is contained in every topology. At the other end, is the discrete topology.
-
Generation is monotone and idempotent. If then every topology containing contains , so ; and because is itself a topology containing . Both are used silently below.
A family is a basis for a unique topology iff it covers the set and every point of an intersection of two members lies in a member inside that intersection; finite intersections of any subbasis form a basis
Statement
Let be a set, and for write
-
is a basis for some topology on (Basis and subbasis for a topology, and the topology generated by a family of sets) if and only if
- (B1) , and
- (B2) for all and every there is with .
When (B1) and (B2) hold, that topology is unique: it is , which is also exactly the family of all unions of subfamilies of .
-
Let be an arbitrary family and let be the family of intersections of finitely many members of . Then satisfies (B1) and (B2), and , the topology generated by . So the finite intersections of any subbasis form a basis for the topology it generates.
The nullary intersection: this library takes the empty intersection to be . In claim 2 the phrase "finitely many" includes none, and the intersection of the empty subfamily of is , because the defining condition "lies in every member of the empty family" holds of every point of . Hence for every , including , and no covering hypothesis is imposed on a subbasis. The competing convention takes only nonempty finite intersections and compensates by requiring ; under it claim 2 holds verbatim once that hypothesis is added, and the two conventions differ only in which of the two devices supplies (B1). The choice made here is recorded again among this page's conventions, and it is the reason comes out as the indiscrete topology rather than being undefined.
Facts & Assumptions
Given: A set ; a family and the family displayed above; a family and the family , where the value at is the empty intersection .
Topology axioms (T1) , (T2) closure under arbitrary unions, (T3) closure under binary intersections, and the fact that (T3) iterated gives every intersection of open sets (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
is a basis for when and every is a union of members of ; equivalently, when for every and there is with (Basis and subbasis for a topology, and the topology generated by a family of sets).
is a topology on , contains , and is contained in every topology on that contains (Basis and subbasis for a topology, and the topology generated by a family of sets).
Proof
Assume (B1) and (B2).
Assume instead that is a basis for some topology on .
, being the value of the empty intersection, and , each being the intersection of the one-term list .
is closed under binary intersections: the intersection of with is the intersection of the concatenated list, again a list of finitely many members of .
always, since for and the set itself witnesses the defining condition; and every equals , since each such lies in and each lies in one of them.
Under the assumption of step 1.1: , the defining condition being vacuous, and , since by (B1) every lies in some and every subset of satisfies ; so (T1) holds for .
Under the assumption of step 1.1: if and , then for some , and membership of supplies with ; so and (T2) holds.
Under the assumption of step 1.1: if and , fix with and ; then , and (B2) supplies with , so and (T3) holds.
Under the assumption of step 1.2: by (T1), so [L2] gives for each a member with , whence , which is (B1); and for the set is open by (T3), so [L2] gives for each a member with , which is (B2).
Under the assumption of step 1.2: . Indeed implies by the second form of [L2]; and conversely makes a union of members of by step 1.5, hence open by (T2).
By steps 1.3 and 1.4, satisfies (B1), since forces , and (B2), since may be taken as .
Steps 2.1, 2.2 and 2.3 make a topology on whenever (B1) and (B2) hold, and step 1.5 then makes a basis for it and identifies with the family of unions of subfamilies of ; so (B1) and (B2) are sufficient.
Step 2.4 shows (B1) and (B2) are necessary, and step 2.5 shows that any topology having as a basis equals , which is the asserted uniqueness; with step 3.1 this proves claim 1.
By step 2.6 and step 3.1 applied to , the family is a topology on with basis , and it contains by step 1.3 and step 1.5.
Let be any topology on with ; then , because by (T1) covers the empty intersection and (T3) iterated covers the intersections of members of , and hence by (T2), every member of the former being a union of members of .
By steps 4.2 and 5.1 the topology contains and is contained in every topology containing , so it is the coarsest such topology, that is ; with step 2.6 this proves claim 2.
Remarks
-
What (B1) and (B2) are not. (B2) does not say that is closed under intersections; it says only that the intersection of two members is a union of members. The basis of open intervals of satisfies (B2) outright, since an intersection of two open intervals is an open interval or empty, whereas the basis of half-open intervals of the Sorgenfrey line uses the same closure property; a basis of open balls in a metric space uses the weaker form in an essential way.
-
The subbasis clause is what makes generation computable. The definition of as an intersection of topologies says nothing about what its members look like; claim 2 says they are exactly the unions of finite intersections of members of , which is how every generated topology in this library is actually described.
-
A family may be a basis for at most one topology, but it is a subbasis for at most one as well, and the two roles differ: is a subbasis for and a basis for it exactly when already satisfies (B1) and (B2).
Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open
Definition
Let 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 .
A set is a neighbourhood of if there is an open with . The family of all neighbourhoods of is written and called the neighbourhood filter at . A neighbourhood that is itself open is an open neighbourhood.
Convention, and it is a live fork: in this library a neighbourhood need not be open. The competing convention, used by Munkres among others, defines a neighbourhood of to be an open set containing . Both are in current use; this library follows the one above and writes "open neighbourhood" in full whenever openness is wanted, so that no statement here depends on which convention a reader brings.
A family is a neighbourhood base at if every neighbourhood of contains a member of : for every there is with .
Four immediate consequences, established here because they are used constantly.
- is a neighbourhood of each of its points, since and is open by (T1); so and every point has at least one neighbourhood base, namely itself.
- A superset of a neighbourhood of is a neighbourhood of : if with open then .
- The intersection of two neighbourhoods of is a neighbourhood of : if and with open, then is open by (T3) and . By iteration the same holds for any intersection of finitely many neighbourhoods of .
- A set is open exactly when it is a neighbourhood of each of its points. If is open and then . Conversely, if is a neighbourhood of each of its points, choose for each an open with ; then is open by (T2). No choice principle is involved: may be taken to be the union of all open subsets of containing , which is determined by and , and is open by (T2).
Basic sets give neighbourhood bases. If is a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets) then is a neighbourhood base at consisting of open sets. Each such is open and contains , hence is a neighbourhood of ; and if , fix open with and then with , which gives with . A member of is called a basic neighbourhood of .
Remarks
-
The convention costs nothing and buys one thing. Every statement of the form "for every neighbourhood of ... " whose predicate is preserved when is enlarged is equivalent to the statement with restricted to open neighbourhoods: every neighbourhood contains an open one, and the predicate then passes to the larger set. Eventual-membership and the usual local-existence tests have this form; an arbitrary predicate need not. What the wider notion buys is that is a filter on in the sense of Filter on a set: consequence 1 is (F1), consequence 3 is (F3), consequence 2 is (F4), and (F2) holds because is impossible, so is a neighbourhood of no point. Under the narrower convention the family of open sets containing fails (F4) as soon as some non-open set contains an open set around , so the name "neighbourhood filter" would not be available.
-
A neighbourhood base is not required to be closed under intersection, and the bases used below usually are not; what is required is only that its members be cofinal downwards among neighbourhoods.
Interior, closure, boundary, exterior, derived set and isolated point in a topological space
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), let and let . Neighbourhoods are as in Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open, so a neighbourhood need not be open.
- The interior of is .
- The closure of is .
- The exterior of is .
- The boundary of is .
- is a limit point (accumulation point) of if every neighbourhood of satisfies . The set of limit points of is the derived set .
- is an isolated point of if and some neighbourhood of satisfies .
Both operators are well posed, and the two names are justified rather than asserted. The interior is a union of open sets, hence open by (T2), it is contained in , and it contains every open : so is the largest open subset of . The family being intersected in the definition of is nonempty, since is closed and contains , so the intersection is a set; it is closed by (C2) of Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison, it contains , and it is contained in every closed : so is the smallest closed superset of . In particular
and is open if and only if , and closed if and only if , in each case because one inclusion is automatic and the other says exactly that belongs to the family in question.
Interior and closure are exchanged by complementation. For every ,
Indeed is a bijection between the open subsets of and the closed supersets of , and it turns unions into intersections (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison); applying complementation to the first identity gives the second. So , and every statement about interiors has a mirror statement about closures.
The pointwise description of the interior. if and only if is a neighbourhood of . If then is an open set with ; conversely a neighbourhood relation with open puts in the union defining . The corresponding description of the closure is proved as the next item, because it is the statement that does the work in every later proof.
is the disjoint union of the three regions. Since , the three sets , and are pairwise disjoint and their union is . This is recorded again, with the identities for interior and closure of unions and intersections, in the lemma two items below.
Remarks
-
The boundary is symmetric in and its complement: , because by the complementation identity above. Hence , and is closed, being an intersection of two closed sets.
-
A limit point of need not lie in , and a point of need not be a limit point of . The points of that are not limit points of are exactly its isolated points, directly from the two definitions. The relation is a theorem, proved next, not a restatement.
-
These are the metric notions when the topology is a metric topology. For a metric space the definitions of Interior, closure, boundary, limit point, isolated point and dense subset of a metric space are stated with balls in place of neighbourhoods, and the balls around are a neighbourhood base at ; the identification is carried out where metrizable spaces are defined, later on this page, and it is what allows metric examples to be quoted here without reproof.
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
Statement
Let be a topological space, let be a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets), let and let . Closure, derived set and limit points are as in Interior, closure, boundary, exterior, derived set and isolated point in a topological space. Then:
- The following four conditions are equivalent.
- (a) ;
- (b) for every neighbourhood of (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open);
- (c) for every open with ;
- (d) for every with .
- is closed, contains , and is contained in every closed with ; so it is the smallest closed superset of , and is closed if and only if .
- .
Claim 2 is recorded here for reference and is discharged in Interior, closure, boundary, exterior, derived set and isolated point in a topological space, where it is what makes the definition of well posed; claims 1 and 3 are proved below. Claim 1 is the form in which the closure is used everywhere afterwards, and clause (d) is what makes a closure computable from a basis rather than from all open sets.
Facts & Assumptions
Given: A topological space , a basis for , a subset and a point .
is the intersection of all closed supersets of ; it is closed, contains , and is contained in every closed superset of (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
means that for every neighbourhood of (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
is a neighbourhood of when for some open ; an open set containing is a neighbourhood of (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).
is a basis for : for every open and every there is with , and every member of is open (Basis and subbasis for a topology, and the topology generated by a family of sets).
A set is closed exactly when its complement is open (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Proof
(a) implies (c): let be open with and suppose ; then is closed and contains , so by [A1], whence , contradicting (a); therefore .
(c) implies (a): suppose ; then is open by [A1] and [L3], contains , and satisfies because , so (c) fails.
(b) implies (c): an open containing is a neighbourhood of , so (b) applies to it.
(c) implies (b): let be a neighbourhood of and fix open with ; then .
(c) implies (d): every with is an open set containing .
(d) implies (c): let be open with and fix with ; then .
and is closed, and is contained in every closed superset of , which is claim 2; in particular is closed exactly when , since one inclusion always holds and the other says that is a closed superset of itself.
By steps 1.1 to 1.6 the four conditions (a), (b), (c) and (d) are equivalent, which is claim 1: (a) and (c) are equivalent by steps 1.1 and 1.2, (b) and (c) by steps 1.3 and 1.4, and (c) and (d) by steps 1.5 and 1.6.
: points of lie in by [A1], and if then every neighbourhood of meets and hence meets , so by condition (b).
: let and suppose ; then for every neighbourhood of condition (b) gives , and because , so and .
Steps 3.1 and 3.2 give , which is claim 3; with step 2.1 for claim 1 and step 1.7 for claim 2 the theorem is proved.
Remarks
-
Clause (d) is relative to a basis and clause (c) is not. Different bases for one topology give different families of test sets in (d), and the theorem says all of them detect the same closure. This is why a closure in a metric space may be computed with balls alone, and a closure in with bounded open intervals alone.
-
The empty set and the whole space. , since is closed, and ; claim 1 reads correctly in both cases, no neighbourhood meeting and every neighbourhood meeting .
-
Nothing here assumes that singletons are closed. In the indiscrete topology on a set with at least two points, for every , since the only neighbourhood of any point is ; claim 3 then says is contained in , which it is.
Interior commutes with finite intersections and closure with finite unions, while the two reverse combinations are inclusions only and both fail for infinite families; the space is the disjoint union of interior, boundary and exterior
Statement
Let be a topological space, with interior, closure, boundary and exterior as in Interior, closure, boundary, exterior, derived set and isolated point in a topological space. Then:
- Monotonicity. implies and .
- The two identities. For all ,
- The two reverse combinations are inclusions only. For all , and both inclusions are strict for and in the cofinite topology on an infinite set with (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
- Both identities of claim 2 fail for infinite families. In the same space, with ,
- Trichotomy of position. For every the three sets , and are pairwise disjoint and their union is .
Facts & Assumptions
Given: A topological space and subsets ; and, for claims 3 and 4, an infinite set carrying the cofinite topology, a point and the index set .
is the largest open subset of and is the smallest closed superset of ; ; and (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
A topology is closed under binary intersections (T3) and its closed sets under binary unions (C3) (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
In the cofinite topology on the open sets are together with the sets of finite complement, and the closed sets are together with the finite subsets of (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
A subset of a finite set is finite, and a union of two finite sets is finite (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies); "infinite" means "not finite" (Finite, countably infinite, countable, uncountable).
Proof
Claim 1: if then every open satisfies , so ; and is a closed set containing , so .
is open by (T3) and is contained in , so it is contained in ; and is closed by (C3) and contains , so it contains .
Since is infinite, is infinite: were it finite, would be a union of two finite sets and hence finite. In particular .
Claim 5: by [A1], so the three sets , and are pairwise disjoint, the first two inside and the third outside it; and their union is .
Claim 1 applied to and gives and ; applied to and it gives and .
In the cofinite topology on the infinite : the set is closed, being finite, so ; and is not open, since is infinite by step 1.3, so the only open subset of is and .
In the same space is open, its complement being finite, so ; and is infinite by step 1.3, so the only closed set containing is and .
For the singleton is finite, hence closed, so and ; meanwhile is infinite by step 1.3, so its closure is , and makes the inclusion strict.
Combining step 1.2 with step 2.1 proves claim 2, and the two inclusions of claim 3 are among those obtained in step 2.1.
With and : , while is open and so ; the inclusion is therefore strict.
With the same and : , which is closed, so , while ; the inclusion is therefore strict, and claim 3 is proved.
For the set is open, so and ; meanwhile has empty interior by step 2.2, so the inclusion is strict and claim 4 is proved.
Claims 1, 2, 3, 4 and 5 are established by step 1.1, step 3.1, steps 3.2 and 3.3, steps 2.4 and 3.4, and step 1.4 respectively.
Remarks
-
Why the witnesses are all in one space. The cofinite topology on an infinite set makes every finite set closed and every infinite set dense, so it separates the four combinations of , , and with a single pair of sets and a single index set, the two families of claim 4 being the singletons and their complements. The same four failures occur in with its usual topology, and the sharpest form of the first is on the companion page: the interiors of and of its complement are both empty while the interior of their union is everything (In the interiors of and of its complement are both empty while the interior of their union is everything ↗).
-
Claim 2 does extend to any finite number of sets, by iterating it, but not to a family indexed by a set that merely happens to be finite in some other sense: the induction is on the number of sets and claim 4 shows where it stops.
-
The four inclusions of claims 2 and 3 are the only ones that hold in general. For an arbitrary family the surviving statements are , , and , each by monotonicity alone, and claim 4 shows that two of the four are already strict: the third for the family of singletons and the second for the family of their complements.
Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets
Definition
Let be a topological space, let be a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets) and let . Interior and closure are as in Interior, closure, boundary, exterior, derived set and isolated point in a topological space.
- is dense in if .
- is codense in if is dense.
- is nowhere dense in if .
Three equivalent forms of density, and the one used in practice. The following are equivalent:
- ;
- for every nonempty open ;
- for every nonempty .
Proof. (1) (2): if is open and nonempty, pick ; then , so by clause (c) of 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. (2) (3): a nonempty member of is a nonempty open set. (3) (1): let ; every with is nonempty and so meets , hence by clause (d) of 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. Form 3 is what makes density checkable: for the Sorgenfrey line it is a statement about half-open intervals, and for a metric space a statement about balls.
Codensity is emptiness of the interior. is codense if and only if , because (Interior, closure, boundary, exterior, derived set and isolated point in a topological space), so holds exactly when .
Nowhere dense implies codense, and the converse fails. If then by monotonicity of the interior, so is codense. The two notions can differ only on sets whose closure is larger than themselves, and there they sometimes do: a dense set with empty interior, such as the rationals inside the real line, is codense and is not nowhere dense, its closure being everything. They may also agree on such a set: inside has closure and is neither codense nor nowhere dense. A closed set is nowhere dense precisely when it is codense, since then .
Remarks
-
Density is a property of the pair, not of the set. A subset dense in need not be dense in a space with a finer topology. In a nonempty indiscrete space every nonempty subset is dense, while is not; in the empty space is dense as well. Where a density claim is made below the topology is always named.
-
The empty set. is nowhere dense and codense in every space, and it is dense only in . itself is dense in and is nowhere dense only when .
-
What is deliberately not defined here. Separability, meaning the existence of an at most countable dense subset, is a countability axiom not developed at this point in the reading order; it is defined later in Separability: the existence of an at most countable dense subset ↗. Where a space on the companion page has an at most countable dense subset, that is what is said in full.
Kuratowski: operators satisfying , , and correspond bijectively to topologies
Statement
Let be a set. A Kuratowski closure operator on is a function such that, for all :
- (K1) ;
- (K2) ;
- (K3) ;
- (K4) .
Then:
- For every topology on the operator , the closure taken in (Interior, closure, boundary, exterior, derived set and isolated point in a topological space), is a Kuratowski closure operator on .
- For every Kuratowski closure operator on the family of its fixed points satisfies the closed-set axioms (C1), (C2), (C3) of Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison, so is a topology on whose closed sets are exactly the members of ; and the closure operator of is itself.
- The assignments and are mutually inverse, hence bijections (Injection, surjection, bijection) between the set of topologies on and the set of Kuratowski closure operators on .
So a topology may be specified by naming its closure operator, and the four axioms above are exactly the conditions under which such a specification is legitimate. Note that monotonicity is not among the axioms: it is a consequence of (K4), derived in the proof.
Facts & Assumptions
Given: A set ; a topology on ; a Kuratowski closure operator on ; subsets and a nonempty family .
is closed, contains , and is contained in every closed superset of ; a set is closed if and only if it equals its own closure; and are closed (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).
Closed-set axiomatisation: a family with (C1) , (C2) for nonempty and (C3) is the family of closed sets of exactly one topology on , namely ; and the closed sets of a topology satisfy (C1), (C2), (C3) (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Two functions that are mutually inverse are bijections (Injection, surjection, bijection).
Proof
Claim 1: because is closed, which is (K1); is (K2); because is closed, which is (K3); and (K4) is [A2].
is monotone: if then , so (K4) gives .
by (K1), and because (K2) gives while holds since takes values in ; so (C1) holds for .
If then by (K4), so and (C3) holds.
Let be nonempty and put ; for each we have , so by step 1.2, whence ; with (K2) this gives , so and (C2) holds.
Conversely, starting from a topology : the fixed points of are exactly the closed sets of by [A1], so is the family of closed sets of and by the uniqueness in [L1].
By steps 1.3, 1.4 and 2.1 the family satisfies (C1), (C2) and (C3), so is a topology on whose closed sets are exactly the members of .
The closure operator of is : for the set is a fixed point of by (K3), hence closed in by step 3.1, and it contains by (K2), so the closure of in is contained in ; conversely that closure is a closed set , so and step 1.2 gives . Hence the two sets are equal, and claim 2 is proved.
Steps 4.1 and 2.2 say that and compose to the identity in both orders, so each is a bijection between the two sets, which is claim 3; claim 1 is step 1.1 and claim 2 is step 4.1.
Remarks
-
(K3) is what makes recoverable as the closure operator of its fixed-point topology. Dropping it leaves an operator whose fixed points still satisfy (C1), (C2) and (C3) — steps 1.3, 1.4 and 2.1 do not use it — but the closure operator of the resulting topology is then only the smallest fixed point above , which need not be . It is step 4.1 that spends (K3).
-
(K1) is genuinely independent of the others. The operator for all , on a nonempty , satisfies (K2), (K3) and (K4) and fails (K1); its fixed points are alone, which is not the family of closed sets of any topology, since is missing.
-
The correspondence is order reversing in the natural sense. A finer topology has more closed sets, hence more fixed points, hence a smaller closure operator pointwise; the discrete topology corresponds to and the indiscrete topology to the operator sending to and every nonempty set to .
-
How many sets can be produced by closure and complement together is a separate question with a finite answer, fourteen, worked out on the companion page (Closure and complement generate at most fourteen sets from any subset, and attains fourteen ↗).
Continuity of a map of topological spaces at a point and globally
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), let be a function and let . Neighbourhoods are as in Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open.
is continuous at if for every neighbourhood of in the preimage is a neighbourhood of in .
is continuous if it is continuous at every point of .
The same condition with open sets only. is continuous at if and only if for every open with there is an open with and . Indeed, if is continuous at and is such an open set, then is a neighbourhood of , so is a neighbourhood of and contains an open , which satisfies . Conversely, given the displayed condition and a neighbourhood of , fix open with and then open with ; then , so is a neighbourhood of . Both forms are used below and are the same statement written twice.
Preimage, not image. is the preimage in the sense of Injection, surjection, bijection and is defined for every function, invertible or not; no inverse function is being asserted to exist. Continuity is a condition on preimages throughout, and the corresponding conditions on images define the open and closed maps of a later item, which are different notions.
Remarks
-
This is the metric definition when both topologies are metric topologies. For metric spaces, - continuity at (Continuity of a map between metric spaces, at a point and globally, in the - form) says that every ball around has a ball around mapped into it, and the balls around a point are a neighbourhood base there; the identification is carried out where metrizable spaces are defined later on this page. Nothing about a metric survives in the definition above: continuity is a relation between two topologies and a function, and it is meaningless to ask whether a function between bare sets is continuous.
-
Continuity depends on both topologies, and coarsening the target or refining the source only helps. If is continuous and is replaced by a finer topology, or by a coarser one, remains continuous, since each condition to be verified is weakened and each neighbourhood available in the source is still available. In particular every map out of a discrete space and every map into an indiscrete space is continuous (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
-
Continuity at a point is strictly weaker than continuity. A function may be continuous at exactly one point, and the definition above is deliberately local so that the sequential criteria proved later can be stated pointwise.
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
Statement
Let and be topological spaces, let be a function, and let be a subbasis for (Basis and subbasis for a topology, and the topology generated by a family of sets). The following five conditions are equivalent.
- (a) is continuous at every point of (Continuity of a map of topological spaces at a point and globally).
- (b) is open in for every open .
- (c) is closed in for every closed .
- (d) is open in for every .
- (e) for every , closures being taken in and in respectively (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Condition (d) is what makes continuity checkable against a generating family rather than against every open set, and it holds for a basis as well, a basis being in particular a subbasis for the topology it generates.
Facts & Assumptions
Given: Topological spaces and , a function , a subbasis for , subsets and . Preimages satisfy , and for every family, with for the empty intersection.
is continuous at when for every open there is an open with (Continuity of a map of topological spaces at a point and globally).
A set is closed exactly when its complement is open; a set is open exactly when it is a union of open sets containing each of its points (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
The topology generated by has as a basis the family of intersections of finitely many members of , the empty intersection being ; every open set is a union of members of (A family is a basis for a unique topology iff it covers the set and every point of an intersection of two members lies in a member inside that intersection; finite intersections of any subbasis form a basis, Basis and subbasis for a topology, and the topology generated by a family of sets).
if and only if every open set containing meets (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, clause (c)).
is the smallest closed superset of , and is closed exactly when (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Proof
(a) implies (b): let be open and let , so ; continuity at gives an open with , that is . As was arbitrary, is a union of open sets, hence open.
(b) implies (a): let and let be open with ; then is open, contains , and satisfies .
(b) and (c) are equivalent: is closed exactly when is open, and , so is closed exactly when is open; as ranges over the closed sets, ranges over the open sets.
(b) implies (d): every is open, being contained in the topology it generates.
(d) implies (b): let be open; by [L1] is a union of sets of the form with and , and turns unions into unions and intersections into intersections, with for ; so is a union of finite intersections of the open sets together with , hence open.
(e) implies (c): let be closed and put ; then , so by (e), monotonicity of the closure and [L3]; hence , and with this gives , so is closed.
(b) implies (e): let and , and let be open with ; then is open and contains , so it meets by [L2], say at ; then , so meets . As was arbitrary, by [L2].
Steps 1.1 and 1.2 make (a) and (b) equivalent; step 1.3 makes (b) and (c) equivalent; steps 1.4 and 1.5 make (b) and (d) equivalent; step 2.1 gives (b) implies (e) and step 1.6 gives (e) implies (c), which closes the cycle through (c) and (b). Hence all five conditions are equivalent.
Remarks
-
Only (a) is pointwise. Conditions (b) to (e) are global, and none of them has a pointwise version that is equivalent to continuity at a single point: the preimage of an open set containing can fail to be open while still being a neighbourhood of , which is exactly what continuity at asserts.
-
The inclusion in (e) may be strict for a continuous map. For the inclusion of into and , the image of the closure is while the closure of the image is . Equality for all is a strictly stronger condition, equivalent to being a closed map, and closed maps are defined three items below. Note that no map into a discrete space can witness strictness: there every subset is closed, so always.
-
What the theorem does not say. It says nothing about images of open sets: a continuous map need not carry open sets to open sets, and the failure is exactly what separates a continuous bijection from a homeomorphism. That separation is recorded on this page as a false statement with an explicit two-point witness.
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
Definition
Let 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 . The subspace topology (also relative topology) on is
the family of traces on of the open sets of . The pair is a subspace of . A subset of that lies in is said to be open in , and relatively open where the ambient space needs emphasis.
is a topology, and this is discharged here. (T1): and are traces. (T2): if , choose for each member a set of tracing to it — no choice principle is needed, since is a canonical such set for , being open by (T2) in and satisfying — and then by (T2) in . (T3): by (T3) in .
Closed sets of a subspace are the traces of the closed sets. A set is closed in if and only if for some closed . Indeed and , so complementation inside matches complementation inside under tracing.
Bases and subbases trace as well. If is a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets) then is a basis for : its members are open in , and for open in and there is with , whence . The same computation with a subbasis shows that is a subbasis for , since tracing commutes with finite intersections and with unions.
The inclusion is continuous. The inclusion map , , satisfies for every , so preimages of open sets are open and is continuous (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 , clause (b)). Moreover is the coarsest topology on making continuous: any topology on for which is continuous must contain every , hence contain .
Characteristic property of a map into a subspace. Let be a topological space and let be a function. Then
Proof. For one has . If is continuous then each is open, so is continuous; conversely if is continuous then for any open in the set is open, so is continuous. Both directions use only clause (b) of 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 .
Restriction of a continuous map. If is continuous and , then is continuous, since is open in for every open (Continuity of a map of topological spaces at a point and globally, 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 ).
When relative and ambient agree. If is open in then a subset of is open in if and only if it is open in : a trace is then an intersection of two open sets of , and conversely an open subset of contained in is its own trace. The same statement with "closed" throughout holds when is closed in . Both are used in the pasting lemma of the next item, and both fail without the hypothesis: itself is always open and closed in , and need be neither in .
Remarks
-
The subspace topology is what makes a subset a space. Before it, a statement such as "the restriction of to is continuous" has no meaning, because carries no topology. Every restriction below is taken with respect to the subspace topology and with no other convention available.
-
Openness and closedness are not absolute. is open in and is neither open nor closed in ; the interval is closed in itself. A sentence of the form " is open" is incomplete unless the space is named, and this library names it whenever more than one is in play.
-
Transitivity. If then the subspace topology inherits from is the subspace topology it inherits from , since for . So no ambiguity arises from the route by which a subset is reached.
Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous
Statement
Let , and be topological spaces, with subspaces carrying 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:
- Composites. If and are continuous (Continuity of a map of topological spaces at a point and globally) then is continuous.
- Open cover. Let be a function and let be a family of open subsets of with . If is continuous for every , then is continuous.
- Finite closed cover. Let be a function, let and let be closed subsets of with . If is continuous for every , then is continuous.
The converses of claims 2 and 3 hold with no hypothesis on the cover at all: every restriction of a continuous map to a subspace 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). The finiteness in claim 3 is not removable; see the remarks.
Facts & Assumptions
Given: Topological spaces , , ; functions and ; a family of open subsets of covering ; a natural and closed subsets of covering . For and one has , and for .
is continuous if and only if preimages of open sets are open, if and only if preimages of closed sets are 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 (b) and (c)).
The subspace topology on has as its open sets the traces with open in , and as its closed sets the traces with closed in ; if is open in then every set open in is open in , and if is closed in then every set closed in is closed in (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 topology is closed under arbitrary unions of open sets (T2), and its closed sets are closed under finite unions (C3) (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Proof
Claim 1: let be open; then is open in and hence is open in , and this set is ; so is continuous.
Let be open. For each the set is open in the subspace , because is continuous; and is open in , so this set is open in .
Let be closed. For each the set is closed in the subspace , because is continuous; and is closed in , so this set is closed in .
Since the cover , , a union of sets open in by step 1.2, hence open in by (T2). As was an arbitrary open subset of , is continuous, which is claim 2.
Since the cover , , a union of finitely many sets closed in by step 1.3, hence closed in by (C3) iterated, the union being over sets. As was an arbitrary closed subset of , is continuous, which is claim 3.
Claims 1, 2 and 3 are established by step 1.1, step 2.1 and step 2.2 respectively.
Remarks
-
The finiteness in claim 3 is not removable. The witness is on the companion page: with its usual topology is covered by its closed singletons, every restriction of the indicator function of to a singleton is continuous, and that function is not continuous ( covered by its closed singletons: every restriction of the indicator of is continuous and the map is not, so the closed pasting lemma needs finiteness ↗). No corresponding restriction is needed in claim 2.
-
Where each hypothesis is spent. Claim 2 uses openness of the cover members only to pass from "open in " to "open in ", and it allows an arbitrary index set because arbitrary unions of open sets are open. Claim 3 uses closedness of the cover members for the corresponding passage, and it must restrict to finitely many because only finite unions of closed sets are closed. The two asymmetries of the topology axioms are visible in the two statements, one each.
-
The usual two-piece form. Claim 3 with is the pasting lemma as it is normally quoted: if with both pieces closed and , are continuous and agree on , then the combined function is well defined and continuous. Well definedness is the agreement hypothesis and is not a topological matter; continuity is claim 3.
-
Continuity is a local property, and claim 2 is the precise sense. A function continuous in a neighbourhood of each point is continuous, because the interiors of those neighbourhoods form an open cover. No such statement holds for uniform notions, which is why nothing here is called uniform.
Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological
Definition
Let and be topological spaces and let be a function. Continuity is as in Continuity of a map of topological spaces at a point and globally, injections, surjections and bijections as in Injection, surjection, bijection.
- is an open map if is open in for every open .
- is a closed map if is closed in for every closed .
- is a homeomorphism if is a continuous bijection whose inverse is also continuous. The spaces are homeomorphic, written , when a homeomorphism exists.
- is an embedding if is injective and the corestriction , , is a homeomorphism onto carrying the subspace topology inherited 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).
The inverse in the third clause exists because is a bijection, and it is the unique two-sided inverse (Injection, surjection, bijection); no choice principle is involved. Continuity of is a genuine additional demand: a continuous bijection need not be a homeomorphism, and this page records that failure as a false statement with a two-point witness.
Open, closed and homeomorphism are three different conditions. A homeomorphism is continuous by definition, but an open map need not be continuous and a closed map need not be continuous; and continuity implies neither openness nor closedness. An open map need not be closed and a closed map need not be open, and Sierpinski space with open point (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies) witnesses both failures at once: the constant map with value is open, since the image of every nonempty set is the open set , and is not closed, since the image of the closed set is , whose complement is not open; the constant map with value is closed and not open by the same computation read the other way. What is true is that for a continuous bijection the three notions collapse: it is a homeomorphism exactly when it is open, exactly when it is closed. That is proved in the next item and is not assumed here.
Topological properties. A property of topological spaces is a condition that is either true or false of each space. is a topological property (one is also said to be preserved by homeomorphism, or invariant) when implies that and have the same truth value. Since is an equivalence relation on spaces — the identity is a homeomorphism, inverses and composites of homeomorphisms are homeomorphisms, all three verified in the next item — a topological property is exactly one that is constant on each -class.
What a homeomorphism transports. If is a homeomorphism then is a bijection from onto , with inverse : both maps are well defined because and are continuous, and they are mutually inverse because is a bijection. So a homeomorphism is an isomorphism of the structure "a set together with a distinguished family of subsets", and every notion defined from the open sets alone — closed, closure, interior, boundary, dense, convergence of sequences, continuity of maps into and out of the space — is carried across by it. Anything defined from extra data, such as a metric or an order, is not, and that distinction is exactly what the phrase topological property is for.
Remarks
-
Being an embedding is not the same as being injective and continuous. The identity from a set with the discrete topology to the same set with a coarser topology is injective and continuous, its image is the whole space, and it is an embedding only if the two topologies agree. The extra content of "embedding" is that the source topology is recovered as the trace of the target one, which is precisely the characteristic property of the subspace topology.
-
The inclusion of a subspace is the model embedding. For with the subspace topology, is injective and its corestriction to is the identity of , hence a homeomorphism; so is an embedding (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). Conversely an embedding identifies with the subspace of , which is the sense in which " sits inside " is ever asserted in this library.
-
The notation hides the map, and sometimes that matters. Two spaces may be homeomorphic by many different homeomorphisms, and no canonical one is claimed by the notation. Where a specific map is used it is named.
A continuous bijection is a homeomorphism iff it is open iff it is closed, and homeomorphy is an equivalence relation on spaces
Statement
Let and be topological spaces.
- Let be a continuous bijection
(Continuity of a map of topological spaces at a point and globally, Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological). The
following are equivalent:
- (a) is a homeomorphism;
- (b) is an open map;
- (c) is a closed map.
- Homeomorphy is an equivalence relation: ; if then ; and if and then .
Continuity is a genuine hypothesis in claim 1: a bijection that is open and closed but not continuous exists as soon as two comparable topologies differ, for instance the identity from the coarser to the finer of two distinct topologies on one set.
Facts & Assumptions
Given: Topological spaces , , and a continuous bijection with two-sided inverse . For a bijection and any one has , and .
is a homeomorphism when it is a continuous bijection and is continuous; is an open map when images of open sets are open, and a closed map when images of closed sets are closed (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).
A bijection has a unique two-sided inverse, which is itself a bijection, and the inverse of is (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological, Continuity of a map of topological spaces at a point and globally).
A map is continuous exactly when preimages of open sets are open, and exactly when preimages of closed sets are 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 (b) and (c)).
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).
Proof
Since is a bijection with inverse , for every the image coincides with the preimage : means , and applying gives , while the converse substitution is the same computation read backwards.
Since is a bijection, for every : surjectivity gives and injectivity gives .
The identity map of a space is a continuous bijection whose inverse is itself, hence a homeomorphism.
If is a homeomorphism then so is : it is a bijection, it is continuous by hypothesis, and its own inverse is , which is continuous.
(a) is equivalent to (b): by step 1.1, is continuous exactly when is open for every open , that is exactly when is an open map.
(b) is equivalent to (c): by step 1.2, carries the complement of to the complement of , so images of open sets are open exactly when images of closed sets are closed, the two families being exchanged by complementation.
If and are homeomorphisms then is a homeomorphism: it is a bijection with inverse , and both and are continuous as composites of continuous maps.
Steps 2.1 and 2.2 prove claim 1, and steps 1.3, 1.4 and 2.3 give reflexivity, symmetry and transitivity of , which is claim 2.
Remarks
-
The lemma is how homeomorphy is verified in practice. Producing a continuous inverse directly usually means writing a formula and checking continuity a second time; checking instead that the map carries open sets to open sets, or closed sets to closed sets, uses only the map itself.
-
A continuous bijection that is not a homeomorphism. Take any set carrying two distinct comparable topologies and let be the identity from the finer to the coarser: it is a continuous bijection, and it is not open, because an open set of the finer topology that is not open in the coarser one is its own image. Both an explicit two-point instance and an instance on appear on this page and on the companion page.
-
What claim 2 licenses. Because is an equivalence relation, "a topological property" is well defined as a property constant on -classes (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological), and statements of the form " is not homeomorphic to " can be proved by exhibiting one topological property on which they differ.
Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), with neighbourhoods as in Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open.
A sequence in is a function , written with . As everywhere in this library contains (The natural numbers (von Neumann)) and a sequence is indexed from (Sequences of reals: bounded, eventually, frequently, tails, subsequences); an index range copied from a text that starts at must be shifted before it is used here. The range of is . Following Sequences of reals: bounded, eventually, frequently, tails, subsequences, a property of indices holds eventually if it holds for all for some , and frequently if for every it holds for some ; that vocabulary is used here for sequences in an arbitrary set.
Let be a sequence in and let .
- converges to , written , if for every neighbourhood of one has eventually. The point is then called a limit of .
- is a cluster point of if for every neighbourhood of one has frequently.
- For , the sequential closure of is
- A function into a topological space is sequentially continuous at if in implies in , and sequentially continuous if it is sequentially continuous at every point of (Continuity of a map of topological spaces at a point and globally for the ordinary notion).
The notation is not available at this generality, and the reason is not fastidiousness. In a general topological space a sequence may converge to more than one point, so there is no function taking a convergent sequence to "its" limit, and a symbol would not denote. In the indiscrete topology on a set with at least two points the only neighbourhood of any point is , so every sequence converges to every point; in the cofinite topology on an infinite set every injective sequence converges to every point. Both witnesses are on the companion page. Accordingly this library writes " is a limit of " and " converges to ", never "the limit" and never , for a sequence in a space that has not been given a hypothesis restoring uniqueness.
Where the notation becomes legitimate again. Uniqueness of limits is what licenses the symbol, exactly as it does for sequences of reals (A sequence has at most one limit) and in a metric space (A sequence in a metric space has at most one limit): in a metric space a sequence has at most one limit and is unambiguous. Every metrizable space therefore admits the notation, and so does every space in which distinct points have disjoint neighbourhoods; where this page uses a metrizable space, and only there, the usual notation is used without further comment. The general reading of "" above never presupposes it.
Convergence agrees with the metric notion on a metric topology. For a metric space the balls around are a neighbourhood base at (The balls , , form a countable neighbourhood base at , so every metric space is first countable), so "eventually in every neighbourhood of " and "eventually in every ball around " are the same condition, and the latter is Convergence of a sequence in a metric space: iff in . The identification is carried out where metrizable spaces are defined, later on this page.
Remarks
-
Every limit is a cluster point, and not conversely. "Eventually" implies "frequently", so a point to which converges is a cluster point of it. A sequence in a two-point discrete space that takes each of the two values frequently has both points as cluster points and converges to neither, since each singleton is a neighbourhood of its point and is missed frequently.
-
Constant sequences. If for every , then , since every neighbourhood of contains . More generally an eventually constant sequence with eventual value converges to . This is the only convergence available in a discrete space, where is a neighbourhood of and forces eventually.
-
Sequential continuity is a strictly weaker condition than continuity in general, and the two agree under a countability hypothesis proved later on this page. That is the whole reason sequences are treated here as a separate notion rather than as the definition of continuity, and it is why nets and filters exist as a subject.
The sequential closure is contained in the closure, continuity implies sequential continuity, and sequential limits need not be unique
Statement
Let and be topological spaces, with convergence, sequential closure and sequential continuity as in Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure. Then:
- for every .
- If is continuous at (Continuity of a map of topological spaces at a point and globally) then is sequentially continuous at .
- Sequential limits need not be unique. In the indiscrete topology on a set with at least two points (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), every sequence in converges to every point of .
Claim 3 is why this library never writes for a sequence in a general topological space: the symbol would not denote.
Facts & Assumptions
Given: Topological spaces and , a subset , a point , a function , and a sequence in .
means that for every neighbourhood of there is with for all ; is the set of points to which some sequence with all terms in converges; is sequentially continuous at when implies (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure).
is continuous at when is a neighbourhood of for every neighbourhood of (Continuity of a map of topological spaces at a point and globally).
if and only if every neighbourhood of meets (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, clause (b)).
Every point lies in each of its neighbourhoods, since (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).
In the indiscrete topology on the only open sets are and (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
Proof
: for the constant sequence has all its terms in , and it converges to because every neighbourhood of contains , so the condition holds with .
Let and fix a sequence with for all and ; let be any neighbourhood of . Then for all for some , and in particular , so meets .
Assume is continuous at and let be a sequence with ; let be a neighbourhood of . Then is a neighbourhood of , so for all for some , that is for all .
In the indiscrete topology, a neighbourhood of a point satisfies for some open ; since forces and hence , the only neighbourhood of any point is itself.
By step 1.2 every neighbourhood of meets , so ; as was an arbitrary point of this gives , and with step 1.1 it gives claim 1.
By step 1.3 the sequence is eventually in every neighbourhood of , that is ; as was an arbitrary sequence converging to , is sequentially continuous at , which is claim 2.
By step 1.4, for every and every sequence in the only neighbourhood to be tested is , and for every ; so for every . With at least two points in the limit is therefore not unique, which is claim 3.
Claims 1, 2 and 3 are established by step 2.1, step 2.2 and step 2.3 respectively.
Remarks
-
The second inclusion of claim 1 does not reverse, and the implication of claim 2 does not reverse either. The witnesses are on the companion page and are both in the cocountable topology on : the sequential closure of is while its closure is all of (In the cocountable topology on the sequential closure of is while its closure is all of ↗), and the identity from the cocountable topology to the usual topology is sequentially continuous and not continuous (The identity from the cocountable topology on to the usual topology is sequentially continuous and not continuous ↗). This lemma therefore asserts the two inclusions and the one implication and nothing more.
-
A countability hypothesis repairs both, assuming countable choice. Under the Axiom of Countable Choice, in a first countable space the inclusion of claim 1, , is an equality and the implication of claim 2 reverses; that is the theorem two items below, and it is where the choice hypothesis is spent.
-
Claim 3 is not an artefact of a strange space. It is the generic situation: uniqueness of sequential limits is equivalent to a separation property of the space, and it holds in every metric space (A sequence in a metric space has at most one limit) because distinct points there are separated by disjoint balls.
First countable space: a countable neighbourhood base at every point
Definition
A topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) is first countable if every point of has an at most countable neighbourhood base: for each there is a family that is at most countable (Finite, countably infinite, countable, uncountable, Equinumerous sets, and ) and such that every neighbourhood of contains a member of (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).
"Countable" here means "at most countable", as everywhere in this library (Finite, countably infinite, countable, uncountable), so a finite neighbourhood base is permitted. That is not a degenerate case: in a discrete space the one-element family is a neighbourhood base at , so every discrete space is first countable, and in an indiscrete space is a neighbourhood base at every point.
The base may be taken to consist of open sets, and it may be taken decreasing. If is an at most countable neighbourhood base at , then replacing each by an open with gives an at most countable neighbourhood base of open sets. Making the base decreasing, that is arranging , requires enumerating it and forming the running finite intersections; both operations are carried out inside the proof of the theorem that uses them, the next item, where the enumeration and the recursion are cited explicitly rather than assumed here.
First countability is a topological property (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological): a homeomorphism carries a neighbourhood base at to a neighbourhood base at , since is a bijection between the neighbourhood filters preserving inclusion, and a bijection preserves at most countability (Equinumerous sets, and ).
Remarks
-
What first countability buys. Under countable choice, it is a sufficient hypothesis under which sequences detect the topology: the closure is the sequential closure and sequential continuity is continuity. It is not necessary: the later hierarchy Assuming countable choice, every first countable space is Fréchet–Urysohn; in ZF every Fréchet–Urysohn space is sequential ↗ distinguishes first countable, Fréchet--Urysohn, and sequential spaces. Without an additional hypothesis sequences can be too weak. Under that same choice assumption, both failures occur in the cocountable topology on , so the cited implication shows that space is not first countable.
-
Every metric space is first countable, the balls of radius for forming an at most countable neighbourhood base at each point (The balls , , form a countable neighbourhood base at , so every metric space is first countable); so every metrizable space is first countable, and a space that is not first countable is not metrizable. That is a second obstruction to metrizability, and it is not stronger than the Hausdorff obstruction used elsewhere on this page: the indiscrete topology on two points is first countable, as the paragraph above records, and is not Hausdorff, so it is caught by the Hausdorff obstruction and not by this one. The converse failure does occur under the ultrafilter lemma and countable choice: with those hypotheses, the later Cantor-cube example Assuming the Ultrafilter Lemma and Countable Choice, an uncountable Cantor cube is compact Hausdorff and uniformizable but not first countable, hence not metrizable ↗ is compact Hausdorff and not first countable. Together with the indiscrete example, this shows under those hypotheses that neither first countability nor Hausdorffness implies the other.
-
Second countability is not developed at this point in the reading order. The stronger axiom, an at most countable basis for the whole topology, is defined later in Second countability: an at most countable basis for the topology ↗. Nothing below uses it.
Assuming Countable Choice, in a first countable space sequential closure equals closure and sequential continuity at a point equals continuity there
Statement
Assume the Axiom of Countable Choice (The Axiom of Countable Choice ()). Let be a first countable topological space (First countable space: a countable neighbourhood base at every point) and let be a topological space. Then:
- for every (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure, 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);
- for and , is continuous at (Continuity of a map of topological spaces at a point and globally) if and only if is sequentially continuous at .
Where is spent, and that it is not decoration. Both directions that this theorem adds to The sequential closure is contained in the closure, continuity implies sequential continuity, and sequential limits need not be unique build a sequence by picking one point from each of countably many nonempty sets , respectively , and the first countability hypothesis supplies no rule for the pick. The two applications of below are the only uses of any choice principle in the proof; the inclusions already proved in The sequential closure is contained in the closure, continuity implies sequential continuity, and sequential limits need not be unique use none at all.
Facts & Assumptions
Given: A first countable space , a topological space , a subset , a point , a function , and the Axiom of Countable Choice as an explicit hypothesis.
Every point of has an at most countable neighbourhood base (First countable space: a countable neighbourhood base at every point).
means that for every neighbourhood of there is with for all ; collects the points to which some sequence in converges; sequential continuity at says implies (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure).
is continuous at when is a neighbourhood of for every neighbourhood of (Continuity of a map of topological spaces at a point and globally).
, and continuity at implies sequential continuity at (The sequential closure is contained in the closure, continuity implies sequential continuity, and sequential limits need not be unique, claims 1 and 2).
if and only if every neighbourhood of meets (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, clause (b)).
A finite intersection of neighbourhoods of is a neighbourhood of ; every superset of a neighbourhood of is a neighbourhood of ; every point lies in each of its neighbourhoods; and itself is a neighbourhood of (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).
A nonempty at most countable set is the image of a surjection from (A nonempty set is at most countable iff it is a surjective image of ).
Recursion: for any set , any and any there is a function with and for every (The recursion theorem).
: for every family of nonempty sets there is with for every (The Axiom of Countable Choice ()).
Proof
Fix an at most countable neighbourhood base at ; it is nonempty, since forces some member of to lie inside , so by [L4] there is a surjection from onto .
Apply [L5] with , with and with , which lands in because an intersection of two neighbourhoods of is a neighbourhood of ; the resulting has first coordinate by induction, so and . Hence every is a neighbourhood of , the family is decreasing, , and for every .
The family is again a neighbourhood base at : given there is a member of inside , and that member is for some by surjectivity, so .
Let . Each is a neighbourhood of , so by [L2]; by applied to the family there is a sequence with for every .
Assume is sequentially continuous at , let be a neighbourhood of , and suppose no satisfied . Then every set would be nonempty, so would supply a sequence with for every .
The sequence of step 3.2 converges to : given , step 3.1 gives with , and for the nesting of step 2.1 gives . Its terms lie in , so .
The sequence of step 3.3 converges to for the same reason, while for every , so is not eventually in the neighbourhood of and does not converge to ; that contradicts sequential continuity at . Hence some satisfies , and is then a neighbourhood of by [L3], since it contains the neighbourhood of .
Step 4.1 gives , and [L1] gives the reverse inclusion, so claim 1 holds.
Step 4.2 shows that sequential continuity at implies continuity at , and [L1] gives the converse, so claim 2 holds.
Remarks
-
The hypothesis cannot be dropped. Under the standing Axiom of Countable Choice assumption, the cocountable topology on is not first countable, and both conclusions fail there: the sequential closure of is while its closure is , and the identity onto the usual topology is sequentially continuous without being continuous. Both are on the companion page, and the second is recorded on this page as a false statement.
-
Every metrizable space satisfies the hypothesis. The balls of radius form an at most countable neighbourhood base at each point (The balls , , form a countable neighbourhood base at , so every metric space is first countable), so claim 1 specialises to the sequential characterisation of the closure in a metric space (A point lies in the closure of iff some sequence in converges to it, and a set is closed iff it is sequentially closed), which spends countable choice in exactly the same one of its two directions. Nothing here is new in the metric setting; what is new is that first countability alone is enough.
-
Why the base is made decreasing. Without the nesting of step 2.1 the chosen points need not converge to : the sets may oscillate, and a point chosen from a large carries no information about membership in a small one. The running intersections repair this and cost only a recursion.
-
The real-analysis track states the same phenomenon for function limits, at the same cost in choice. with its usual topology is metrizable (Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded), hence first countable by the bullet above, and the Heine criterion Heine criterion: iff for every sequence in converging to is the function-limit form of this theorem there: sequences detect the - limit at a limit point of the domain, its sequence-to- direction spends countable choice on a shrinking-neighbourhood selection exactly as the proof above does, and its other direction is choice-free (The sequence-to- direction of the Heine criterion uses countable choice for , and where this library records that cost). Neither result cites the other, and neither is proved from the other: the criterion is proved from the order and the absolute value of directly. This is a sufficient first-countable instance of the broader sequential phenomenon, not a characterisation.
Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not
Definition
A topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) is metrizable if there is a metric on (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) whose metric topology is , that is (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement). Such a is said to induce or metrise .
The definition presupposes that is a topology in the sense of Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison, and it is. By The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement both and are open in , which is (T1), and by Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed the family is closed under arbitrary unions, which is (T2), and under intersections of members, which contains (T3). So every metric space is a topological space, and the metric-space development of this library is a special case of the present one.
The standard local notions in the two developments agree after translating their neighbourhood conventions. Let be a metric on and give the topology .
-
Neighbourhoods and balls. The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement uses "neighbourhood" for an open set containing , whereas Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open also allows a non-open superset of such a set. Thus the two collections are not literally equal, but the open metric neighbourhoods are cofinal in the broader neighbourhood filter. The balls , (Open ball, closed ball and sphere in a metric space), are open (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed) and form a neighbourhood base at : any neighbourhood contains an open , hence a ball around by The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement. The balls of radius alone already suffice (The balls , , form a countable neighbourhood base at , so every metric space is first countable).
-
Interior, closure, boundary. Interior, closure, boundary, limit point, isolated point and dense subset of a metric space defines them by the same conditions with balls in place of neighbourhoods, and the previous bullet makes the two conditions equivalent; the metric closure is the smallest closed superset (The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset), which is the definition used here (Interior, closure, boundary, exterior, derived set and isolated point in a topological space). So the two closures, the two interiors and the two boundaries are the same three operations.
-
Convergence. in the sense of Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure is "eventually in every neighbourhood of ", and by the first bullet this is "eventually in every ball around ", which is Convergence of a sequence in a metric space: iff in .
-
Continuity. - continuity at (Continuity of a map between metric spaces, at a point and globally, in the - form) says that every ball around has a ball around mapped into it, which by the first bullet is continuity at in the sense of Continuity of a map of topological spaces at a point and globally.
-
Subspaces. For the subspace topology of 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 is exactly the metric topology of the subspace metric (Isometry, isometric embedding, and the subspace metric on a subset), so the two uses of the phrase subspace topology in this library name one thing. Indeed : a trace is -open, since each of its points has and hence ; and a -open is the trace of , which is -open, satisfies , and involves no choice principle, the union being taken over a set of pairs rather than over a selection.
Consequently the metric-space notions of interior, closure, boundary, density, convergence, continuity and subspace agree with the topological notions here, and statements about them transfer once a metric is named. For neighbourhoods the transfer uses the explicit convention change above: a metric-page neighbourhood is an open topological neighbourhood, while every topological neighbourhood contains one.
Metrizability is a topological property; the metric is not part of it. If is a homeomorphism (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological) and metrises , then is a metric on — the three axioms transfer along the bijection — and , so carries a basis of to a basis of and . Hence is metrizable. The metric itself, however, is not determined by the topology: two metrics on one set may induce the same topology without agreeing, which is exactly topological equivalence (Topologically, uniformly and Lipschitz equivalent metrics on a set), and properties of a metric that are not properties of its topology, boundedness among them, are therefore not properties of a metrizable space.
Two things every metrizable space has. It is Hausdorff: distinct points have disjoint open neighbourhoods, by Distinct points of a metric space have disjoint balls around them applied to any metric inducing the topology. And it is first countable (First countable space: a countable neighbourhood base at every point), by The balls , , form a countable neighbourhood base at , so every metric space is first countable. Either failure is therefore an obstruction to metrizability, and this page uses the first of them to exhibit a topology induced by no metric.
Sequential limits in a metrizable space are unique, so the notation is available there. In a metric space a sequence has at most one limit (A sequence in a metric space has at most one limit), and by the agreement of convergence above that uniqueness is a statement about the topology alone; so within a metrizable space, and only there, this page writes in the ordinary way. In a general space the symbol is unavailable (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure).
The usual topology of . The absolute value makes a metric space under , its open balls are the bounded open intervals, and the resulting metric topology is what claim 3 of The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded names the usual topology of . That is the topology meant by the phrase throughout these two pages, and carrying it is metrizable by definition. Every statement about it on these two pages is proved from the metric and the bridge above, and no example re-derives any of it.
Remarks
-
The usual topology of is not a second notion alongside the order-native development built earlier in this library. Which results on this page use the order of and therefore have no general-topological analogue records that the two collections of open subsets of — the one defined from balls and the one defined from order-neighbourhoods — are literally the same collection, and hence that interior, closure, boundary, limit point, density and sequential convergence agree on the two sides. That identification is quoted here for orientation only; the order-topology example on the companion page is where the order-native description is used.
-
A metrizable space comes with many metrics and no canonical one. The statement " is metrizable" asserts existence, and every argument that uses a metric must name one first. Where two metrics are compared, the vocabulary is that of Topologically, uniformly and Lipschitz equivalent metrics on a set: Lipschitz, uniform and topological equivalence, of which only the last is visible to the topology.
-
Metrization theorems are not proved here. Necessary conditions are easy — Hausdorff, first countable — and sufficient ones require separation and countability axioms that this page does not develop. Nothing below asserts that a space is metrizable except by exhibiting a metric.
-
Not every topology is metrizable, and the cheapest witness is the indiscrete topology on a two-point set, which is not Hausdorff. That is recorded on this page as a false statement and witnessed on the companion page.
The four live convention forks of general topology and which side this library takes on each
General topology is a subject whose textbooks disagree with one another on vocabulary far more than on content. Four of those disagreements are live inside this page, in the sense that a reader arriving with the other convention would misread a statement here rather than merely find it unfamiliar. Each is settled below, once, and the settlement is used without further comment everywhere on these two pages. Where this library's choice is the less common one it is said so.
1. A neighbourhood need not be open. A set is a neighbourhood of when some open satisfies (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open). The competing convention, used by Munkres among many others, reserves the word for open sets containing . A condition quantified over every neighbourhood is equivalent to its restriction to open neighbourhoods when the condition is preserved on enlarging the set, as eventual-membership and the standard local tests are; this is not true for an arbitrary predicate. The wider notion is chosen because it makes the neighbourhoods of a point a filter, and because a neighbourhood base is then allowed to consist of sets that are not open. This library writes open neighbourhood in full whenever openness is being used.
2. The empty intersection is the whole set, and a subbasis need not cover. In A family is a basis for a unique topology iff it covers the set and every point of an intersection of two members lies in a member inside that intersection; finite intersections of any subbasis form a basis the finite intersections of a subbasis include the intersection of no members, which is ; consequently is always basic, the criterion (B1) is automatic, and no covering hypothesis is imposed on a subbasis (Basis and subbasis for a topology, and the topology generated by a family of sets). The competing convention admits only nonempty finite intersections and adds the covering hypothesis. The two give the same generated topology whenever both apply, and they differ exactly at and at families that do not cover: here is the indiscrete topology , whereas under the other convention it is undefined. Because the choice is invisible in the notation, it is stated in the theorem itself as well as here.
3. "Basis" is a relation, not a property. A family is a basis for a topology; " is a basis" alone means " is a basis for some topology", and A family is a basis for a unique topology iff it covers the set and every point of an intersection of two members lies in a member inside that intersection; finite intersections of any subbasis form a basis says exactly which families those are and that the topology is then unique. Some texts define a basis abstractly by the two conditions (B1) and (B2) and only afterwards attach a topology to it; others define it only relative to a topology already given, as here. The distinction is harmless once the criterion is available, and it is recorded because the phrase "let be a basis" is ambiguous without it. The same remark applies to subbasis, which is always relative to the topology it generates.
4. Coarser and finer, never weaker and stronger. For topologies on one set, is read " is coarser, is finer" (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). The synonyms smaller/larger are unambiguous and are occasionally used. The pair weaker/stronger is used in both directions in the literature — some authors call the topology with fewer open sets weaker, others call it stronger because it makes more maps continuous into the space — and this library therefore does not use it at all. The discrete topology is the finest and the indiscrete the coarsest (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
Two conventions inherited from earlier pages, which are not forks decided here. They are listed because they change the reading of statements on this page, not because this page chooses them.
- contains and sequences are indexed from (The natural numbers (von Neumann), Sequences of reals: bounded, eventually, frequently, tails, subsequences, Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure). An index range copied from a text that starts at must be shifted before it is used here; on these pages every radius written rather than is an instance.
- "Countable" means "at most countable" (Finite, countably infinite, countable, uncountable), so a finite set is countable. Two consequences on this page: a first countable space is allowed a finite neighbourhood base (First countable space: a countable neighbourhood base at every point), which is what makes every discrete space first countable; and the closed sets of the cocountable topology include all the finite sets (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
One thing this page deliberately does not fix. No separation axiom is built into the word space: points need not be closed and distinct points need not be separated by disjoint open sets (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). Older texts, and Bourbaki for compact, build separation into the basic vocabulary; here every separation property is a hypothesis, written out where it is used, and the only one that appears on this page is the Hausdorff condition, quoted from the metric development rather than defined.
5 · Examples, counterexamples and false statements
FALSE: an arbitrary intersection of open sets is open in every topological space
Statement
False claim: in every topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), if is any family of open sets then is open.
The topology axioms grant closure under arbitrary unions and under intersections of finitely many open sets, and the asymmetry is not a weakness of the axioms chosen: strengthening (T3) to arbitrary intersections would exclude the spaces this subject exists to study. Two witnesses are given below, one in a space with no metric in sight and one in with its usual topology, so that the failure cannot be blamed on exotic examples.
Facts & Assumptions
Given: An infinite set carrying the cofinite topology and a point , with ; and with its usual topology, together with the family for , where abbreviates the inverse of the canonical natural .
A topology is closed under arbitrary unions and binary intersections; a set is open exactly when it belongs to the topology (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
In the cofinite topology the open sets are together with the sets of finite complement; a subset of a finite set is finite and a union of two finite sets is finite (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies); "infinite" means "not finite" (Finite, countably infinite, countable, uncountable).
with is a metric space, , and the metric topology of is the usual topology of (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric via 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, Open ball, closed ball and sphere in a metric space).
Every ball is an open set of the metric topology, and is open in it exactly when every point of has a ball around it inside (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).
For every real there is a natural with (For every in a complete ordered field there is a natural with ); for the canonical natural is positive (Canonical naturals are positive and strictly increasing) and its inverse is positive (Inverses of positives are positive, and reciprocation reverses order).
, and only for ; for one has if and only if (Absolute value in an ordered field, Basic properties of the absolute value).
Every nonzero natural number is a successor, so gives for some (Every nonzero natural number is a successor).
Refutation
Since is infinite, is infinite: were it finite, would be a union of two finite sets and hence finite. In particular .
For each the set is open in the cofinite topology, its complement being finite; and .
For every the natural satisfies , so is a positive real and is a legitimate ball; each is open in the usual topology of .
for every , since .
Let with ; then by [L5], so [L4] gives a natural with , and [L6] writes with ; hence , so .
is not open in the usual topology of : a ball with contains the point for a natural with supplied by [L4], and , so and ; hence no ball around lies inside .
is not open in the cofinite topology: it is nonempty, and its complement is infinite by step 1.1, so it is neither nor a set of finite complement.
By steps 1.4 and 1.5, .
By steps 1.2 and 2.1 the family consists of open subsets of the cofinite space , is nonempty, and has intersection , which is not open; so the claim fails already in a space defined without any reference to .
By steps 2.2 and 1.6 the sets are open in , their intersection is , and is not open; with step 3.1 the false claim is refuted twice over, once in a non-metrizable setting and once in a metrizable one.
Remarks
-
What is true instead. Intersections of finitely many open sets are open, which is axiom (T3) iterated (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison); and arbitrary intersections of closed sets are closed, which is its dual (C2). The intersection of an arbitrary family of open sets is in general only a set whose interior may be smaller than itself, and the interior operator exists precisely to name what survives.
-
The ℝ witness is the shape that recurs. A decreasing family of balls of radii shrinking to zero has the centre as its intersection, and a singleton is open only in a space where the point is isolated. The index shift is the usual one for this library: the radii are for , not , since contains .
-
The corresponding failure inside alone is already published (FALSE: an arbitrary intersection of open subsets of is open), stated there in the order-native vocabulary of the topology of . The present item is the statement about topological spaces in general, which that page explicitly declined to make.
FALSE: a sequentially continuous map between topological spaces is continuous
Statement
False claim: if and are topological spaces and is sequentially continuous (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure), then is continuous (Continuity of a map of topological spaces at a point and globally).
One half of the relation between the two notions is a theorem: continuity always implies sequential continuity, and, assuming the Axiom of Countable Choice, in a first countable source the converse holds as well (Assuming Countable Choice, in a first countable space sequential closure equals closure and sequential continuity at a point equals continuity there). The claim above drops the first-countability hypothesis, and the witness is the identity map from with the cocountable topology to with its usual topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), and it is exhibited in full below rather than cited, so that this page does not depend on its companion.
Facts & Assumptions
Given: The set carrying the cocountable topology on the one hand and its usual topology on the other, and the identity function .
In the cocountable topology on the open sets are together with the sets whose complement is at most countable (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, Finite, countably infinite, countable, uncountable).
A map is continuous exactly when preimages of open sets are 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 , clause (b)); it is sequentially continuous at when every sequence converging to has its image converging to (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure).
with is a metric space whose metric topology is the usual topology of , and (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, Intervals of : the nine order-convex forms, nondegeneracy, and length, Open ball, closed ball and sphere in a metric space).
Every ball is open in the metric topology (Arbitrary unions and finite intersections of open sets are open, open balls are open and closed balls are closed).
For in the open interval is uncountable (Every nondegenerate interval of is uncountable); every subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable).
A nonempty set admitting a surjection from is at most countable (A nonempty set is at most countable iff it is a surjective image of ).
in (The multiplicative identity is positive), and adding to both sides of gives (Order is preserved by adding a constant and by adding inequalities).
Every point lies in each of its neighbourhoods (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open).
Refutation
The radius is positive by [L5], so is a ball, and it is open in the usual topology of .
By [L5] one has , so the interval is uncountable by [L3]; and , since excludes .
Let be a sequence in converging to in the cocountable topology, and let be its range; the map is a surjection and , so is at most countable.
is not at most countable: otherwise its subset would be at most countable by [L3], contradicting step 1.2. Hence is nonempty and its complement is not at most countable, so .
With as in step 1.3, the set is at most countable by [L3], so is open in the cocountable topology by [A1], and .
, which is open in the usual topology by step 1.1 and not open in the cocountable topology by step 2.1; so is not continuous.
is a neighbourhood of in the cocountable topology by step 2.2, so convergence gives with for all ; and with forces . So is eventually constant with value .
An eventually constant sequence with eventual value converges to in every topology on , since every neighbourhood of contains ; in particular in the usual topology. As and were arbitrary, is sequentially continuous.
By steps 3.1 and 4.1 the map is sequentially continuous and is not continuous, so the claim is false.
Remarks
-
What the witness shows about the source. Assuming the Axiom of Countable Choice, the cocountable topology on is not first countable: were it, Assuming Countable Choice, in a first countable space sequential closure equals closure and sequential continuity at a point equals continuity there would make the map above continuous, and it is not. Under that assumption some point therefore has no at most countable neighbourhood base. The sharper statement that no point has one is true but is not established here, since the refutation exhibits a single failure of continuity rather than one at every point. This is also why the cocountable topology is the standard source of examples in which sequences fail to see the topology.
-
The failure is not about the target. The target here is metrizable, hence as well behaved as a space can be; all the pathology is in the source, which is where sequential continuity is tested.
-
The same witness, worked as a counterexample with the cocountable topology's convergent sequences identified once and for all, is on the companion page (The identity from the cocountable topology on to the usual topology is sequentially continuous and not continuous ↗, In the cocountable topology on the closed sets are the countable sets and , and a sequence converges iff it is eventually constant ↗). The refutation above repeats the eventually-constant argument inline because an item on this page may not depend on an item that lives only on an examples page.
FALSE: every continuous bijection of topological spaces is a homeomorphism
Statement
False claim: if and are topological spaces and is a continuous bijection (Continuity of a map of topological spaces at a point and globally, Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological), then is a homeomorphism.
Continuity of is an independent demand, and A continuous bijection is a homeomorphism iff it is open iff it is closed, and homeomorphy is an equivalence relation on spaces says exactly what it amounts to: a continuous bijection is a homeomorphism precisely when it is an open map, equivalently a closed map. The claim above asserts that this is automatic, and it is not. The witness below is the smallest possible one — a two-point set carrying two different topologies — and it uses nothing beyond The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies.
Facts & Assumptions
Given: A two-point set with , carrying on the one hand the discrete topology and on the other the Sierpinski topology ; and the identity function .
The discrete topology on is , in which every subset is open; the Sierpinski topology on is (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
A map is continuous exactly when preimages of open sets are 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 , clause (b)).
A homeomorphism is a continuous bijection with continuous inverse; an open map carries open sets to open sets (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).
A continuous bijection is a homeomorphism if and only if it is an open map (A continuous bijection is a homeomorphism iff it is open iff it is closed, and homeomorphy is an equivalence relation on spaces, claim 1).
Refutation
is a bijection of onto , being the identity function of the set .
is continuous: for every the preimage is a subset of , hence open in the discrete topology.
is open in the discrete topology on , and , the three members of being , and , none of which is because .
is not an open map: by step 1.3 the image of an open set is not open in the target.
By steps 1.1, 1.2 and 2.1, is a continuous bijection that is not open, hence not a homeomorphism by [L2]; equivalently, its inverse — again the identity function of , now read from to — is not continuous, because the preimage of the open set is , which is not open in . So the claim is false.
Remarks
-
The general shape of every witness. Whenever a set carries two distinct comparable topologies , the identity from to is a continuous bijection and is not open, since a member of is its own image. The two-point witness above is that construction with the smallest possible ; the same construction on , with the discrete and the usual topologies, is on the companion page (The identity from the discrete topology on to the usual topology is a continuous bijection that is not a homeomorphism ↗).
-
What rescues the claim. A continuous bijection from a compact space to a Hausdorff space is a homeomorphism, because it is then a closed map. Neither compactness nor the Hausdorff property is available at this point in the reading order. They are defined later in Open cover, subcover, and compact topological space; a compact subset is a subspace that is compact in its own right ↗ and Hausdorff space: distinct points have disjoint open neighbourhoods; every metrizable space is Hausdorff and the indiscrete topology on two points is not ↗, where A continuous bijection from a compact metric space onto a metric space carries open sets to open sets, so its inverse is continuous proves this repair.
-
Why "bijective and continuous" is the wrong notion of sameness. Sameness of topological spaces is homeomorphy, and by A continuous bijection is a homeomorphism iff it is open iff it is closed, and homeomorphy is an equivalence relation on spaces it is an equivalence relation; "there is a continuous bijection " is not even symmetric, as the witness above shows, since no continuous bijection runs from Sierpinski space to the two-point discrete space.
FALSE: every topology is induced by some metric
Statement
False claim: every topological space is metrizable, that is, for every topology there is a metric on whose metric topology is (Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).
The claim fails for the smallest interesting reason available: every metric space separates distinct points by disjoint open sets (Distinct points of a metric space have disjoint balls around them), and the indiscrete topology on a set with two points has no two disjoint nonempty open sets at all (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
Facts & Assumptions
Given: A two-point set with , carrying the indiscrete topology .
The indiscrete topology on has exactly the two open sets and (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
is metrizable when some metric on has (Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not).
In a metric space, distinct points admit disjoint open sets and containing and respectively, with (Distinct points of a metric space have disjoint balls around them).
Open sets of a metric topology are exactly the members of (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement), and a topology contains and (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Refutation
Suppose were a metric on with .
Since , [L1] supplies open sets and of with .
By the supposition of step 1.1 the sets and lie in ; and , make both nonempty, so by [A1].
Then , since , contradicting the disjointness of step 1.2; so no such metric exists and is not metrizable.
Remarks
-
A second reading of the same failure, in terms of limits. In the indiscrete topology on every sequence converges to every point (Convergence and cluster points of a sequence in a topological space, sequential continuity, and the sequential closure), whereas in a metric space a sequence has at most one limit (A sequence in a metric space has at most one limit). A constant sequence therefore converges to two distinct points here and could not do so under any metric. This is the same obstruction as the one used above, since uniqueness of limits is a consequence of the separation of distinct points by disjoint balls.
-
Separation is one obstruction and countability is another. Every metrizable space is Hausdorff, which is what the refutation above uses, and every metrizable space is also first countable (Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, First countable space: a countable neighbourhood base at every point). Assuming the Axiom of Countable Choice, the cocountable topology on fails the second: were it first countable, Assuming Countable Choice, in a first countable space sequential closure equals closure and sequential continuity at a point equals continuity there would make the identity onto the usual topology continuous, which it is not (FALSE: a sequentially continuous map between topological spaces is continuous). Under that assumption it is therefore not metrizable by this second obstruction as well. Neither obstruction is a characterisation: metrization theorems need separation and countability axioms beyond what is available at this point in the reading order.
-
What is being refuted is an existence claim, so the refutation must rule out every metric, which is why it argues from a property that all metric topologies share rather than by inspecting candidate metrics. The witness is worked again on the companion page (The indiscrete topology on a two-point set is induced by no metric ↗).
Sources
Standard references
Recommended treatments; not extraction sources.
- Topological space (Wikipedia)
- Comparison of topologies (Wikipedia)
- J. Munkres, Topology, 2nd ed., §12
- Discrete space (Wikipedia)
- Trivial topology (Wikipedia)
- Cofiniteness (Wikipedia)
- Cocountable topology (Wikipedia)
- Particular point topology (Wikipedia)
- Sierpinski space (Wikipedia)
- Base (topology) (Wikipedia)
- Subbase (Wikipedia)
- J. Munkres, Topology, 2nd ed., §13
- Neighbourhood (mathematics) (Wikipedia)
- Neighbourhood system (Wikipedia)
- Interior (topology) (Wikipedia)
- Closure (topology) (Wikipedia)
- Boundary (topology) (Wikipedia)
- J. Munkres, Topology, 2nd ed., §17
- Limit point (Wikipedia)
- Dense set (Wikipedia)
- Nowhere dense set (Wikipedia)
- Kuratowski closure axioms (Wikipedia)
- Closure operator (Wikipedia)
- Continuous function (Wikipedia)
- J. Munkres, Topology, 2nd ed., §18
- Subspace topology (Wikipedia)
- J. Munkres, Topology, 2nd ed., §16
- Pasting lemma (Wikipedia)
- Homeomorphism (Wikipedia)
- Open and closed maps (Wikipedia)
- Embedding (Wikipedia)
- Limit of a sequence (Wikipedia)
- Sequential space (Wikipedia)
- J. Munkres, Topology, 2nd ed., §21
- First-countable space (Wikipedia)
- J. Munkres, Topology, 2nd ed., §30
- Axiom of countable choice (Wikipedia)
- Metrizable space (Wikipedia)
- Metric space (Wikipedia)
- J. Munkres, Topology, 2nd ed., §20
- General topology (Wikipedia)
- Open set (Wikipedia)
- Hausdorff space (Wikipedia)