About this project
Topology by Example is a formalised, modernised and expanded successor to Lynn Arthur Steen and J. Arthur Seebach, Jr.’s Counterexamples in Topology. Its aim is a complete theory of topology over a chosen set of properties: for every true/false assignment to them, either an example space that realises it or a proof that none exists. It also builds on π-Base, as the next section explains.
What this project owes π-Base
π-Base is a community database of topological spaces, properties and theorems, maintained by the pi-Base Community, Steven Clontz and James Dabbs. It records which spaces have which properties and deduces further values from its theorems; the version used here has 227 spaces, 251 properties and 948 theorems. It covers far more than this site does, and is the place to look for a space or property not found here.
This project depends on it throughout:
- The model. The shape of this site, a table of spaces against properties filled in by deduction from theorems, follows π-Base.
- What is covered. Many of the spaces and properties here were chosen from it, and much of what is here corresponds to its entries: 211 of the 264 rows of the grid correspond to π-Base spaces (214 π-Base spaces in all, since a row may stand for several); each of the 57 main properties corresponds to a π-Base property; and 163 of the 904 theorems correspond to π-Base theorems.
- Predictions to check. When a space is added here, π-Base’s values for it, together with those of Counterexamples in Topology, are the predictions its proofs set out to confirm or correct; where a value proved here differs from π-Base’s, the errata page records it.
- A guide to the literature. Its descriptions of spaces and properties, and the references they cite, have often pointed the way to the right definition or argument.
- Links back. Each page here that corresponds to a π-Base entry links to that entry in its References.
The two differ in emphasis. Here every value and theorem is proved in the Lean proof assistant before it is listed; definitions follow Lean’s library Mathlib wherever it has one, and, as in π-Base, compactness, regularity and normality include no separation axiom; and the site covers far fewer spaces and properties, aiming instead to settle every combination of a few properties at a time. π-Base does not endorse this project; its material is used under its licence, as set out below.
Method
Sources are evidence, not truth. The second edition of Counterexamples in Topology and the π-Base database are transcribed faithfully, mistakes included, and every value they give is treated as a claim with provenance. Where the sources disagree with what is established here, or with each other, the errata page records it.
Results are proved in Lean before they are listed. Our own definitions, space studies and theorems are written in our own words, and every result on this site has been proved in Lean. Each space page proves a few facts about the space directly; its other properties follow from those by general theorems (implications between properties, and theorems about constructions such as disjoint sums and products), and the page shows how.
Collections of properties. Properties are studied a few at a time. For each collection, a decision procedure takes any combination of their values and returns either the smallest theorem that rules it out or an example built from a few basic examples as their disjoint sum (as their binary product in Connectedness and disconnectedness). A check run on every build verifies each answer: every refutation really violates its theorem, and every example really has exactly the given combination of values. The procedure itself is proved correct and complete in Lean, apart from any combinations whose status is open (an open problem asks about each of them): for those it answers that the status is open, and that is proved too.
Axioms beyond ZFC. Everything is proved in ZFC, the usual foundation, unless it says otherwise. A result that needs more, such as the continuum hypothesis, says so and takes the axiom as a hypothesis of its formal statement; the consistency of each such axiom with ZFC, and of its negation where that is used, is cited from the literature rather than formalised.
What “proved in Lean” means here
Every theorem, every property value of a space and every combination listed as occurring or impossible is a statement checked by the Lean proof assistant, building on Mathlib, its library of formalised mathematics. The statements are not written by hand: a Lean file is generated from the same content as these pages, stating each theorem and each directly proved value (with the definitions of the properties applied to the space’s formal counterpart), and the Lean build proves every statement in it. A value that follows from theorems is then a consequence of verified facts by verified theorems.
Every space, theorem and proof has a “See it in Lean” link to the formal statement and its proof, presented on this site (the whole library). The prose proofs are exposition written for people; the formal proof may take a different route.
Material not yet proved in Lean is not listed. A combination of properties whose status is not known is marked open: neither an example nor a proof that there is none is known, and an open problem asks about it; open combinations have their own section, with what is known about them under axioms beyond ZFC. While a study is being worked on, an answer that is believed known but not yet proved in Lean may be marked expected, not yet formalised; a published study has none.
Countability, metrizability and the Hausdorff property: 26 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right) and complete (a combination of the properties is realised by some space exactly when it contains none of the impossible combinations). See it in Lean: correctness · completeness · the count
Compactness and its variants: 21 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right) and complete (a combination of the properties is realised by some space exactly when it contains none of the impossible combinations). See it in Lean: correctness · completeness · the count
Countability, metrizability and compactness: 59 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right, and it leaves exactly the two open combinations undecided) and complete apart from them (any other combination of the properties is realised by some space exactly when it contains none of the impossible combinations). So between 86 and 88 combinations occur. See it in Lean: correctness · completeness · the count
Separation axioms: 27 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right) and complete (a combination of the properties is realised by some space exactly when it contains none of the impossible combinations). See it in Lean: correctness · completeness · the count
Metrizability, normality and compactness: 57 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right, and it leaves exactly the four open combinations undecided) and complete apart from them (any other combination of the properties is realised by some space exactly when it contains none of the impossible combinations). So between 118 and 122 combinations occur. See it in Lean: correctness · completeness · the count
Connectedness and disconnectedness: 26 theorems. The decision procedure behind these lists is proved correct (each answer it gives is right) and complete (a combination of the properties is realised by some space exactly when it contains none of the impossible combinations). See it in Lean: correctness · completeness · the count
Authorship
This project is primarily AI-authored. The initial work was written by Claude (Anthropic), with subsequent contributions by Codex (OpenAI). Both work under the direction of David R. MacIver, who reviews the work and is responsible for it. This includes the definitions, proofs and descriptions on this site, the Lean code and the tooling that generates the site.
Sources and attribution
Where these sources disagree with what is established here, or with each other, is tracked on the errata page.
π-Base
This site includes material from the π-Base data repository,
pi-Base/data: a community database of topological counterexamples, by the pi-Base Community, Steven
Clontz and James Dabbs (github.com/pi-base/data; live site
topology.pi-base.org; DOI 10.5281/zenodo.15850332), licensed under
Creative Commons Attribution 4.0 International (CC BY 4.0).
We use the snapshot at commit 3e5220e8b1f35e3e48556b3ed31d2871dbfcec48
(2026-11-28T00:45:19-05:00), converted in format only. The π-Base values, names and theorem identifiers shown on this site come from it; links go to the π-Base site.
The material is provided as-is, without warranties. π-Base does not endorse this project.
Mathlib
Lean verification builds on Mathlib (Apache-2.0), pinned at commit d747d5237e0ed5c590edf2e8a9bf17702373c0a4.
Mathlib’s definitions are canonical wherever one exists.
Books
The books are cited as references; their text is never reproduced. Bare facts (names, numbering, page numbers, which space the charts say has which property) are recorded and cited.
- Lynn Arthur Steen, J. Arthur Seebach, Jr., Counterexamples in Topology, Second edition, Springer-Verlag New York Inc. (New York), 1978. ISBN 0-486-68735-X.
- Ryszard Engelking, General Topology, Revised and completed edition, Heldermann Verlag, Berlin, 1989. ISBN 3-88538-006-4.
- Klaas Pieter Hart, Jun-iti Nagata, Jerry E. Vaughan, Encyclopedia of General Topology, 2004.
- Kenneth Kunen, Jerry E. Vaughan, Handbook of Set-Theoretic Topology, North-Holland (Elsevier Science Publishers B.V.), Amsterdam, 1984. ISBN 0-444-86580-2.
- Stephen Willard, General Topology, Dover Publications, Inc., Mineola, N.Y., 2004. ISBN 0-486-43479-6.
- Kurt Gödel, The Consistency of the Axiom of Choice and of the Generalized Continuum Hypothesis with the Axioms of Set Theory, Princeton University Press, Princeton (Annals of Mathematics Studies, No. 3), 1940.
- Paul J. Cohen, The Independence of the Continuum Hypothesis, Proceedings of the National Academy of Sciences of the U.S.A. 50, 1143-1148, 1963.
- Peter Nyikos, First countable, countably compact, noncompact spaces, In: Open Problems in Topology II (E. Pearl, ed.), Elsevier, Amsterdam, pp. 217-224, 2007.
- A. Mysior, A regular space which is not completely regular, Proceedings of the American Mathematical Society 81, no. 4, pp. 652-653, 1981. DOI 10.1090/S0002-9939-1981-0601748-4.
- Serhii Bardyla, Peter Nyikos, Lyubomyr Zdomskyy, Countably compact extensions and cardinal characteristics of the continuum, Journal of Symbolic Logic; preprint arXiv:2404.09004, 2025.
- Peter Nyikos, Lajos Soukup, Boban Veličković, Hereditary normality of γN-spaces, Topology and its Applications 65, no. 1, pp. 9-19 (Elsevier), 1995. DOI 10.1016/0166-8641(94)00004-M.
- J. E. Vaughan, A countably compact, first countable, nonnormal T2-space, Proceedings of the American Mathematical Society 75, no. 2, pp. 339-342, 1979. DOI 10.1090/S0002-9939-1979-0532163-0.
- Szymon Plewik, On completely Ramsey sets, 1987. DOI 10.4064/fm-127-2-127-132.
- Sy-David Friedman, Radek Honzik, Easton's theorem and large cardinals, Preprint dated 4 February, 2008.
- Steven Clontz, Answer to: Are biconnected spaces T₀?, Mathematics Stack Exchange, 2023.
- David Gao, Answer to: Is a path-connected space with a dispersion point necessarily contractible?, Mathematics Stack Exchange, 2024.
- PatrickR, Answer to: Are biconnected spaces T₀?, Mathematics Stack Exchange, 2024.
- Robert W. Heath, Ernest A. Michael, A property of the Sorgenfrey line, 1971.
- Peg Daniels, The co-less-than-λ topology and Pixley–Roy spaces, 1982.
- Jan van Mill (editor), Open problems in van Douwen’s papers, In Eric K. van Douwen, Collected Papers, North-Holland, 1994.
- J. M. Aldaz, Borel extensions of Baire measures, 1997. DOI 10.4064/fm-154-3-275-293.
- V. Tzannes, Every countable regular space without isolated points is connectifiable, 1994. DOI 10.4153/CMB-1994-082-8.
- K. P. Hart, Answer to: Must US extremally disconnected spaces be sequentially discrete?, 2023.
- David Gao, Answer to “Are hereditarily connected spaces and ultraconnected spaces contractible?”, Mathematics Stack Exchange, 2024.
- Christoph Kehle, Introduction to Functional Analysis, Lecture notes for 18.102, Massachusetts Institute of Technology, 2025.
- Paul Erdős, The Dimension of the Rational Points in Hilbert Space, 1940. DOI 10.2307/1968851.
- Winfried Just, Arnold W. Miller, Marion Scheepers, Paul J. Szeptycki, The combinatorics of open covers (II), arXiv preprint math/9509211v1, 1995.
- Eric K. van Douwen, The box product of countably many metrizable spaces need not be normal, 1975. DOI 10.4064/fm-88-2-127-132.
- Judith Roitman, Scott Williams, Paracompactness, normality, and related properties of topologies on infinite products, 2015. DOI 10.1016/j.topol.2015.09.031.
- David H. Fremlin, Spaces of finite length, 1992.
- Ryszard Engelking, Dimension Theory, North-Holland, 1978.
- Eric K. van Douwen, The product of two normal initially κ-compact spaces, 1993. DOI 10.1090/S0002-9947-1993-1022170-8.
- A. K. Misra, A topological view of P-spaces, North-Holland, 1972.
- Leonard Gillman, Meyer Jerison, Rings of Continuous Functions, D. Van Nostrand Company, Inc., Princeton, New Jersey, 1960.
- Peter Nyikos, Antidiamond and anti-PFA axioms and topological applications.
- Jerry E. Vaughan, The Scarborough–Stone problem, In: Open Problems in Topology II (E. Pearl, ed.), Elsevier, pp. 249–256, 2007.
- Jan J. Dijkstra, A Criterion for Erdős Spaces, 2005. DOI 10.1017/S0013091504000823.
- Andreas Blass, Nicholas Rupprecht, Ultrafilters and Cardinal Characteristics of the Continuum.
- A. R. D. Mathias, Happy Families, North-Holland Publishing Company, 1977.
Licences
- Prose (definitions, proofs, descriptions): CC BY 4.0.
- Our structured data (values, identifiers, cross-references, transcriptions, crosswalks): Apache-2.0 or CC BY 4.0, at your option.
- Code (the Lean library, the Python tooling, this site’s generator, templates, style sheet and script): Apache-2.0.
- π-Base material, and anything derived from it: CC BY 4.0, attributed to π-Base as above.
Mathematics is typeset in the browser by MathJax (Apache-2.0), whose script and font are included with the site: these pages load nothing from other sites. Lean code is highlighted when the site is built, with Pygments (BSD-2-Clause), which is not included in the pages.