Lean
The Lean library
The formal counterpart of this site: definitions of the spaces, proofs of their properties and of the theorems, and the decision procedure with its proofs of correctness and completeness, in the Lean proof assistant, building on Mathlib. Each module is shown with its documentation, then each declaration: what it states, with its proof one click away. Every “See it in Lean” link on the site leads to one of these declarations.
Spaces
- The Alexandroff plank TopologyByExample.Spaces.AlexandroffPlank
The Alexandroff plank is the set[0, ω₁] × [-1, 1], modelled asOnePoint OmegaOne × Set.Icc (-1 : ℝ) 1, with the product topology refined at the single pointc = (ω₁, 0)(the corner): the setsU α n = {c} ∪ (α, ω₁] × (0, 1 / (n + 2))are made open. A set is open when it is a neighbourhood in the product of each of its points other thanc, and contains someU α nif it containsc. The type synonym isAlexandroffPlank, with the identificationsAlexandroffPlank.toPandAlexandroffPlank.ofPwith the product. - The Alexandroff square TopologyByExample.Spaces.AlexandroffSquare
The Alexandroff square is the unit square[0, 1] × [0, 1]with the following topology. A point(x, y)off the diagonal has as basic neighbourhoods the open vertical segments{x} × (y - ε, y + ε)with the diagonal removed; a point(s, s)of the diagonal has as basic neighbourhoods the horizontal strips[0, 1] × (s - ε, s + ε)with finitely many vertical lines{x} × [0, 1],x ≠ s, removed. - The altered long ray TopologyByExample.Spaces.AlteredLongRay
The altered long ray is the long rayL = ω₁ × [0, 1)with one more point∞. The long ray is an open subspace with its own topology, and the neighbourhoods of∞are the sets containing some - Appert space TopologyByExample.Spaces.AppertSpace
A sets ⊆ ℕhas density zero (TopologyByExample.IsDensityZero) if the proportion of the numbers belownthat lie instends to0. The sets whose complement has density zero form a filter (TopologyByExample.densityOneFilter). - The Arens–Fort space TopologyByExample.Spaces.ArensFort
In this file we defineTopologyByExample.ArensFort, the Arens–Fort space. Its underlying set isℕ × ℕ. Writep = (0, 0)(ArensFort.basePoint) and call{m} × ℕthem-th column. A setsis open ifp ∉ s, or ifp ∈ sand, for all but finitely manym, all but finitely many points of them-th column lie ins. - The Arens plane topology TopologyByExample.Spaces.ArensPlane
In this file we defineTopologyByExample.ArensPlane, the planeℝ × ℝwith a topology from which the Arens square and its variants are cut out as subspaces. The points fall into four kinds, by their coordinatesxandy: - Arens space TopologyByExample.Spaces.ArensSpace
In this file we defineTopologyByExample.ArensSpace, Arens's spaceS₂. Its points are the pointspt m n(m n : ℕ), the pointslim m(m : ℕ) and one further pointtop. Them-th column is{lim m} ∪ {pt m n | n : ℕ}. A setsis open when it contains all but finitely many pointspt m nof them-th column for eachlim m ∈ s, and all but finitely many pointslim miftop ∈ s. So everypt m nis isolated,pt m n → lim masn → ∞, andlim m → topasm → ∞. - The Arens square TopologyByExample.Spaces.ArensSquare
In this file we defineTopologyByExample.ArensSquare, the Arens square, as a subspace of the Arens planeTopologyByExample.ArensPlane. Its points are - Arithmetic progression topologies on the positive integers TopologyByExample.Spaces.ArithmeticProgression
The Golomb space and the Kirch space are the positive integers with a topology whose basic open sets are arithmetic progressions{y | y ≡ b [MOD a]}withacoprime tob, where the modulusaranges over all positive integers (Golomb) or over the squarefree ones (Kirch). In this file we treat both at once: aModulusSetis a set of positive moduli containing1and every prime and closed under least common multiples, andArithProgSpace Mis the positive integers with the topology in which a set is open when each of its pointsxlies in it together with a progression{y | y ≡ x [MOD a]}, witha ∈ Mcoprime tox. - An open point attached to the Knaster–Kuratowski apex TopologyByExample.Spaces.AttachedDispersionFan
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Baire space of weight continuum TopologyByExample.Spaces.BaireMetricC
The countable powerℕ → WithDiscreteTopology ℝof the real numbers with the discrete topology. Its row of properties follows from the transfer theorems of the countable power; this file proves the results about its metric shown on its page: - The Baire space
ℕ^ℕTopologyByExample.Spaces.BaireSpace
The Baire space is the countable powerℕ → ℕof the discrete natural numbers, with the product topology. It is second countable and metrizable, as a countable power of a second countable metrizable space, but it is not σ-compact, since a σ-compact countable power has a compact factor andℕis not compact. Being Lindelöf and not σ-compact, it is not weakly locally compact either. - Properties of Bernstein's connected set TopologyByExample.Spaces.BernsteinConnectedSet
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The exact plane construction of Bernstein's connected set TopologyByExample.Spaces.BernsteinPlane
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Discrete subsets and separation obstructions in Bing's spaces TopologyByExample.Spaces.BingBasicProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinalities and local bases in Bing's examples TopologyByExample.Spaces.BingCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Covering obstructions in Bing's space and Michael's subspace TopologyByExample.Spaces.BingCoverObstructions
An open cover meeting the principal points separately forces every refinement to select distinct neighbourhoods of them. In the full cube infinitely many selected cylinders have a common point. In the finite-support subspace any two such cylinders still contain a common finite support. - An infinite compatible family of binary cylinders TopologyByExample.Spaces.BingCylinders
Among infinitely many finite binary specifications with a common bound on the numbers of coordinates, infinitely many have a simultaneous solution. Consequently an uncountable family of finite-coordinate cylinders at Bing's principal points cannot be point-finite. - Bing's Example G and Michael's closed subspace TopologyByExample.Spaces.BingExampleG
A point is the support of a binary vector indexed by subsets of the real line. Principal evaluations keep the finite-coordinate neighbourhoods of the cube. All other points are isolated. Michael's subspace consists of the principal evaluations and the finite supports. - Two open colours accumulating at the principal points TopologyByExample.Spaces.BingExtremal
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Remaining covering obstructions for Bing's space TopologyByExample.Spaces.BingFinalProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Positive covering properties of Bing's example and Michael's subspace TopologyByExample.Spaces.BingPositiveCovers
A countable partition of the principal points can be expanded into disjoint clopen sets. This gives locally finite refinements of countable covers. For finite supports the singleton coordinates give a point-finite assignment even for arbitrary covers. - Separation and support strata in Bing's example TopologyByExample.Spaces.BingSeparation
A coordinate separates any partition of the principal points. Sets of vectors having at most a fixed finite number of nonzero coordinates are closed and discrete. Together with the principal points, these sets cover Michael's subspace. - The Baire property of the countable box product TopologyByExample.Spaces.BoxRealBaire
Nested closed boxes are compact in the ordinary product topology. Their intersection supplies a point in each member of a countable family of dense box-open sets. - Closedness of the real nabla projection TopologyByExample.Spaces.BoxRealClosedMap
Compact boxes of finite prefixes and a diagonal choice of tail neighbourhoods give a saturated open neighbourhood inside any open set containing a fibre. - Eventual boxes TopologyByExample.Spaces.BoxRealEventualBoxes
Requiring coordinate membership only from some index onwards gives sets invariant under finite changes. Open coordinate sets give open eventual boxes; closed coordinate sets give closed eventual boxes. - Fibres of the real nabla quotient TopologyByExample.Spaces.BoxRealFibres
Replacing a finite prefix is continuous jointly in the new finite prefix and the old box sequence. Each eventual-equality class is a countable union of continuous images of finite-dimensional real spaces, and is Lindelof. - Complete regularity of the countable box product TopologyByExample.Spaces.BoxRealGroup
Coordinatewise addition and negation make the box product a topological group. Its compatible group uniformity proves complete regularity. - Finite changes in the real box product TopologyByExample.Spaces.BoxRealNabla
Countable intersections of open sets invariant under finite coordinate changes are open. This is the diagonal neighbourhood argument underlying the P-space property of the quotient by eventual equality. - Clopen refinements of the nabla quotient under CH TopologyByExample.Spaces.BoxRealNablaCH
A clopen cover indexed by omega one becomes a disjoint clopen cover by subtracting all earlier members. Each initial segment is countable, so its union is clopen in the nabla quotient. - Countability obstructions in the countable box product TopologyByExample.Spaces.BoxRealObstructions
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Paracompactness of the real box product under CH TopologyByExample.Spaces.BoxRealParacompact
The closed quotient map has Lindelof fibres. Countable subcovers of these fibres give an open cover of the quotient. Its disjoint clopen refinement separates the countable shrinking constructions into disjoint pieces. - Failure of perfect normality in the real box product TopologyByExample.Spaces.BoxRealPerfectNormal
The strictly positive sequences are open but are not a countable union of closed sets. The finite-prefix diagonal argument follows the method of Section 2 of Eric K. van Douwen, The box product of countably many metrizable spaces need not be normal, Fundamenta Mathematicae 88 (1975), 127–132, applied directly to real coordinates. - The countable box product of real lines TopologyByExample.Spaces.BoxRealPower
The basic open sets allow an independent open restriction in every coordinate. The carrier is wrapped to keep this topology distinct from the product topology. - Properties of the countable real box product TopologyByExample.Spaces.BoxRealProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Splitting the first coordinate of the countable box product TopologyByExample.Spaces.BoxRealSplit
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The infinite broom and the closed infinite broom TopologyByExample.Spaces.Brooms
Forn : ℕletLₙbe the segment from the origin to(1, 1 / (n + 1))in the plane, the set of points(t, t / (n + 1))witht ∈ [0, 1]. The infinite broom is the union of theLₙwith the half-open segment(1 / 2, 1] × {0}; the closed infinite broom is the union of theLₙwith the whole segment[0, 1] × {0}, and is the closure of the infinite broom. Both carry the subspace topology of the plane. - The butterfly space TopologyByExample.Spaces.ButterflySpace
In this file we defineTopologyByExample.Butterfly, the butterfly (or bow-tie) space: the closed upper half-plane{(x, y) | 0 ≤ y}, in which a point withy > 0has its Euclidean neighbourhoods and a point(x, 0)of thex-axis has the neighbourhoods{(x, 0)} ∪ W, whereW = Butterfly.wings x εis the set of points(a, b)with|a - x| < εandb < ε |a - x|: the two open triangles of a bow-tie centred at(x, 0), each with one side on thex-axis (the side lying in the set, except for the vertex(x, 0), which the bow-tie adds back). - The Cantor set TopologyByExample.Spaces.CantorSet
The Cantor set is the countable powerℕ → Boolof the two-point discrete space. Its row of properties follows from the transfer theorems of the countable power; this file proves the results about it shown on its page: - The circle TopologyByExample.Spaces.Circle
Mathlib'sCircleis the unit circle{z : ℂ | ‖z‖ = 1}with the subspace topology. It is a compact metric space and a one-dimensional manifold, hence path connected and locally path connected; it is infinite. - The circle with two origins TopologyByExample.Spaces.CircleTwoOrigins
The circle with two origins is the circle with the point1replaced by two points: the spaceTopologyByExample.WithOrigins Circle 1 Bool. It is T₁, compact, second countable, path connected, locally path connected and a Baire space, but not semiregular, since any neighbourhood of one origin meets any neighbourhood of the other; and it is not strongly connected. It is the one-point compactification of the line with two origins. - The closed upper half-plane TopologyByExample.Spaces.ClosedHalfPlane
The productℝ × [0, 1)of the real line and the half-open interval. Every value of its properties follows from those of its factors through the product theorems, so this file holds only its own theory: the product is homeomorphic to the closed upper half-plane{(x, y) ∈ ℝ² : y ≥ 0}, a closed subset of the plane. - Properties of the closed-ray sums TopologyByExample.Spaces.ClosedRealRayProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed-ray sums in the closure–complement example TopologyByExample.Spaces.ClosedRealRaySums
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Chart properties of the fourteen-set example and its complement TopologyByExample.Spaces.ClosureComplementChart
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The compact closure in the fourteen-set example TopologyByExample.Spaces.ClosureComplementClosure
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of local connectedness in the complementary fourteen-set example TopologyByExample.Spaces.ClosureComplementComplement
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The open rational obstruction in the fourteen-set example TopologyByExample.Spaces.ClosureComplementOriginal
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The real subset giving fourteen closure–complement sets TopologyByExample.Spaces.ClosureComplementSubsets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The cocountable-fibre attachment over two copies of the reals TopologyByExample.Spaces.CocountableFibreProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A scattered space with no countably metacompact refinement property TopologyByExample.Spaces.CocountableFibreSpace
Attach one point for every natural-valued function on an uncountable discrete set, along the cocountable filter restricted to an uncountable fibre of that function. - The cocountable topology on the real line TopologyByExample.Spaces.CocountableReals
The real line with the cocountable topology,TopologyByExample.CocountableTopology ℝ, is the example of the cocountable topology on an uncountable set. Everything about it follows from the general theory inTopologyByExample.Theorems.CocountableTopologyonceℝis known to be uncountable; this file records that fact and the main consequences atℝ. - The join of the cofinite and left ray topologies on
ω₁TopologyByExample.Spaces.CofiniteLeftRayOmegaOne
The spaceTopologyByExample.CofiniteLeftRayOmegaOneis the set of countable ordinals with the topology generated by the cofinite topology together with the left ray topology (whose open sets are the initial segments). A base is formed by the setsSet.Iic a \ F,Ffinite, and a set is a neighbourhood ofxexactly when it containsSet.Iic x \ Ffor some finiteFnot containingx. - The cofinite topology on the natural numbers TopologyByExample.Spaces.CofiniteNat
Mathlib'sCofiniteTopology ℕis the set of natural numbers with the cofinite topology: a set is open if it is empty or its complement is finite. Its closed sets are the finite sets and the whole space, so its points are closed and it is T₁. Any two nonempty open sets meet, since each omits only finitely many points of an infinite set; so it is not Hausdorff, and it is irreducible and connected. Every subset is compact (Mathlib: the space is Noetherian). It is countable, and the neighbourhoods of a point are generated by the countably many cofinite sets containing it, so it is first and second countable. - The cofinite topology on the real line TopologyByExample.Spaces.CofiniteReal
Mathlib'sCofiniteTopology ℝis the set of real numbers with the cofinite topology: a set is open if it is empty or its complement is finite. Its closed sets are the finite sets and the whole space. - Cofinite right rays on the successor of the first uncountable ordinal TopologyByExample.Spaces.CofiniteRightRayOmegaOnePlusOne
A basic open set is a final segment beginning at a countable ordinal, with finitely many points removed. The first uncountable ordinal itself may be removed, but cannot start a basic ray. - Cohen's modified ordinal product TopologyByExample.Spaces.CohenModifiedPlank
The interior of omega one times its closed successor is made discrete, while neighbourhoods along the top edge remain those of the original product. - A perfectly normal nonmetrizable dispersion-point space TopologyByExample.Spaces.CollapsedErdosInfinity
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The comb space TopologyByExample.Spaces.CombSpace
The comb space is the subset of the plane made of the base[0, 1] × {0}, the teeth{1 / (n + 1)} × [0, 1]forn : ℕ, and the limit tooth{0} × [0, 1], with the subspace topology. It is compact (closed and bounded) and metrizable. - The compact complement topology TopologyByExample.Spaces.CompactComplement
The compact complement topology onℝhas as open sets∅and the complements of the sets that are compact in the Euclidean topology. Its closed sets areℝand the Euclidean compact sets. It is coarser than the Euclidean topology. - Open intervals complementary to the fourteen-set closure TopologyByExample.Spaces.ComplementClosureIntervals
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The reciprocal-coordinate model of complete Erdős space TopologyByExample.Spaces.CompleteErdos
We take the closed subspace of real ℓ² whose coordinates are zero or reciprocals of positive integers.ErdosClosureidentifies it with the closure of the strictly positive reciprocal-coordinate subspace. - Bounded clopen obstructions in complete Erdős space TopologyByExample.Spaces.CompleteErdosBoundedClopen
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A clopen obstruction in the complete Erdős-type space TopologyByExample.Spaces.CompleteErdosClopen
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Adjoining a point at infinity to complete dyadic Erdős space TopologyByExample.Spaces.CompleteErdosInfinity
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compactness obstructions for the complete Erdős dispersion-point space TopologyByExample.Spaces.CompleteErdosInfinityProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Chart properties of the dyadic Erdős space TopologyByExample.Spaces.CompleteErdosProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A complete Erdős-type space TopologyByExample.Spaces.CompleteErdosSpace
The allowed coordinates are zero and the nonnegative powers of one half. - Finite-coordinate approximations in complete Erdős space TopologyByExample.Spaces.CompleteErdosTruncation
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Concentric circles TopologyByExample.Spaces.ConcentricCircles
Two concentric circles in the plane: the points of the outer circle are isolated, and a basic neighbourhood of a pointpof the inner circle is an open arcJof the inner circle centred atp, together with the radial projection onto the outer circle ofJ ∖ {p}. - The cone over the lexicographic square TopologyByExample.Spaces.ConeLexicographicSquare
The cone over the lexicographic squareLis obtained fromL × [0, 1]by collapsing the topL × {1}to a single point, the apex. SinceLis compact, it is the one-point compactification ofL × [0, 1), and this is how we define it. - The continuum power of the unit interval TopologyByExample.Spaces.ContinuumCube
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Products of ordinal and long rays with the continuum cube TopologyByExample.Spaces.ContinuumCubeProducts
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A convergent sequence of non-Hausdorff compact spaces TopologyByExample.Spaces.ConvergingSequenceNonHausdorff
In this file we studyOnePoint (OnePoint SequentialFan × ℕ): countably many copiesY × {k}of the one-point compactificationYof the sequential fan, with one further point∞whose neighbourhoods contain all copies from some index on. That is, it is the one-point compactification ofY × ℕ: a compact subset ofY × ℕlies in finitely many copies, so the sets{∞} ∪ Y × {k | n ≤ k}form a neighbourhood base at∞. - The countable bouquet of circles TopologyByExample.Spaces.CountableBouquetOfCircles
The real line with the integers collapsed to a single point:ℝ / ℤin the sense of collapsing a subset, not of the quotient group. Each interval[n, n + 1]becomes a circle, and the circles meet only at the collapsed point. - The countable complement extension topology TopologyByExample.Spaces.CountableComplementExtension
The countable complement extension topology onℝis the coarsest topology finer than both the usual topology and the cocountable topology (their join; in Mathlib's order on topologies, where finer is smaller, their infimum). Its open sets are exactly the setsU \ CwithUopen in the usual topology andCcountable: these sets are closed under unions becauseℝis hereditarily Lindelöf. - The deleted diameter topology TopologyByExample.Spaces.DeletedDiameter
In this file we defineTopologyByExample.DeletedDiameter, the deleted diameter topology on the plane: a pointphas the neighbourhood base of the open discs centred atpfrom which the horizontal diameter, except forpitself, is removed. It isDeletedDiscPlane SforS = {a | a ≠ 0}, and most of its properties come fromTopologyByExample.Spaces.DeletedDiscs. - The deleted Dieudonné plank TopologyByExample.Spaces.DeletedDieudonnePlank
The Dieudonné plank is the product of the fortissimo space onω₁(the countable ordinals, each isolated, with a new pointpwhose neighbourhoods are the cocountable sets) and the convergent sequence[0, ω], modelled asOnePoint ℕ. The deleted Dieudonné plank is the plank with its corner(p, ∞)removed, the subtypeDeletedDieudonnePlank. - Topologies on the plane given by discs with part of a horizontal diameter deleted TopologyByExample.Spaces.DeletedDiscs
LetSbe a set of real numbers not containing0whose complement is closed under addition. For a pointpof the plane andr > 0, letDeletedDiscPlane.nbhd S p rbe the open Euclidean disc of radiusrcentred atp, with the points(p.1 + a, p.2),a ∈ S, removed. These sets form the neighbourhood bases of a topology on the plane,DeletedDiscPlane S. ForS = {a | a ≠ 0}this is the deleted diameter topology, and forS = {a | 0 < a}the deleted radius topology. - The continuum-sized deleted integer topology TopologyByExample.Spaces.DeletedIntegerContinuum
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Stone–Čech compactification of the deleted ordinal square TopologyByExample.Spaces.DeletedOrdinalCompactification
All continuous maps to compact Hausdorff spaces extend over the missing corner. Consequently the full ordinal square, with its given inclusion of the deleted square, is the Stone–Čech compactification. - Continuous functions near the deleted ordinal corner TopologyByExample.Spaces.DeletedOrdinalFunctions
Every continuous metric-valued map on the deleted ordinal square is constant on some deleted neighbourhood of its missing corner. Interlacing countable ordinal sequences first bounds oscillation on interior tails; continuity then determines the two boundary edges. - Properties of the deleted ordinal square TopologyByExample.Spaces.DeletedOrdinalProperties
The square is sequentially compact, scattered and zero-dimensional, but not first countable, metacompact or extremally disconnected. Its cardinality is the first uncountable cardinal. - The deleted ordinal square TopologyByExample.Spaces.DeletedOrdinalSquare
The square of the closed ordinal interval[0, ω₁], with its top corner removed, is locally compact and ω-bounded. The bounded-strip argument keeps the closure of every countable subset away from the missing corner. - The deleted radius topology TopologyByExample.Spaces.DeletedRadius
In this file we defineTopologyByExample.DeletedRadius, the deleted radius topology on the plane: a pointphas the neighbourhood base of the open discs centred atpfrom which the horizontal radius to the right ofp, withoutpitself, is removed. It isDeletedDiscPlane SforS = {a | 0 < a}, and many of its properties come fromTopologyByExample.Spaces.DeletedDiscs. - The deleted sequence of intervals topology TopologyByExample.Spaces.DeletedSequenceOfIntervals
LetA = ⋃ₙ [1 / (2n + 1), 1 / (2n)](n ≥ 1), a union of closed intervals accumulating only at0. The deleted sequence of intervals topology onℝis generated by the usual open sets together withℝ \ A. It agrees with the usual topology away from0, while the neighbourhoods of0are the sets containing some(-ε, ε) \ A. It is the analogue of the K-topology in which the points1 / nare replaced by intervals. - The deleted Tychonoff corkscrew TopologyByExample.Spaces.DeletedTychonoffCorkscrew
Removing the lower ideal point leaves all the integer levels and the upper ideal point. Ordinary points have compact neighbourhoods. - The deleted Tychonoff plank TopologyByExample.Spaces.DeletedTychonoffPlank
The deleted Tychonoff plank is the Tychonoff plank[0, ω₁] × [0, ω]with its corner(ω₁, ω)removed. We take the first factor to be the one-point compactificationOnePoint OmegaOneof the countable ordinals and the second the one-point compactificationOnePoint ℕof the discrete natural numbers (homeomorphic to the ordinal spaceω + 1, seeTopologyByExample.TychonoffPlank.natHomeomorphIio), so the corner is(∞, ∞)and the deleted plank is the subtypeDeletedTychonoffPlankof the complement of that point. - The Dieudonné plank TopologyByExample.Spaces.DieudonnePlank
The Dieudonné plank is the product of the fortissimo space on an uncountable set (hereℝ) with the ordinal spaceω + 1, modelled asSet.Iio (ω + 1). Its corner is the pair of the new point of the fortissimo space andω. Removing the corner leaves an open subspace that is not normal, by the general argument for deleted products (TopologyByExample.not_normalSpace_compl_singleton_prod); hence the plank is not completely normal. - Cardinally precise Dieudonné plank representatives TopologyByExample.Spaces.DieudonnePlankCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The countably infinite discrete space TopologyByExample.Spaces.DiscreteNat
Mathlib'sℕcarries the discrete topology. Most of its properties are Mathlib instances; this file records two negative facts. - The real numbers with the discrete topology are not Lindelöf TopologyByExample.Spaces.DiscreteReals
WithDiscreteTopology ℝis a copy ofℝcarrying the discrete topology. It is uncountable (TopologyByExample.DiscreteReals.not_countable). A discrete Lindelöf space is countable, so this space is not Lindelöf. - Discrete source representatives of larger cardinality TopologyByExample.Spaces.DiscreteSourceCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Covering obstruction for the divisor topology TopologyByExample.Spaces.DivisorMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The divisor topology TopologyByExample.Spaces.DivisorTopology
The divisor topology is the set{2, 3, 4, …}of natural numbers at least2whose open sets are the sets closed under taking divisors (at least2): a setUis open ifm ∣ nandn ∈ Uimplym ∈ U. These are the lower sets of the divisibility order, so the space is Mathlib's lower set topology of that partial order, and the smallest neighbourhood ofnis the set of its divisors. - Alexandroff's double arrow space TopologyByExample.Spaces.DoubleArrow
Alexandroff's double arrow space is the set(0, 1] × {0} ∪ [0, 1) × {1}with the lexicographic order,(x, a) < (y, b)iffx < y, orx = yanda < b, and the order topology. Eachx ∈ (0, 1)appears twice, as a point(x, 0)of the lower arrow and a point(x, 1)of the upper arrow, with(x, 0)immediately below(x, 1). It is the order topology of a complete linear order (so compact and Hausdorff), first countable, separable and hereditarily Lindelöf, but not second countable (uncountably many points have an immediate predecessor) and so not metrizable. It is zero-dimensional: the jumps(x, 0) ⋖ (x, 1)cut it into clopen pieces. - The double origin plane TopologyByExample.Spaces.DoubleOriginPlane
The double origin plane is the planeℝ²with a second origin0*. Points other than the two origins have their usual neighbourhoods; the origin0has as basic neighbourhoods0together with an open upper half-disc{(x, y) : x² + y² < r², y > 0}, and0*has0*together with an open lower half-disc. - The doubled discrete real line TopologyByExample.Spaces.DoubledDiscreteReals
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Duncan's space is meagre TopologyByExample.Spaces.DuncanCategory
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Finite changes to sequences with asymptotic density TopologyByExample.Spaces.DuncanFiniteChanges
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Inserting finite dense blocks into Duncan sequences TopologyByExample.Spaces.DuncanInsertions
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Properties of Duncan's space TopologyByExample.Spaces.DuncanProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Identification with Duncan's source metric TopologyByExample.Spaces.DuncanSourceMetric
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Duncan's space of integer sequences with asymptotic density TopologyByExample.Spaces.DuncanSpace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Sparse points of Duncan's space TopologyByExample.Spaces.DuncanSparse
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Hawaiian earring TopologyByExample.Spaces.Earring
Forn : ℕletCₙbe the circle in the plane with centre(1 / (n + 1), 0)and radius1 / (n + 1). All of them pass through the origin. The Hawaiian earring is their union, with the subspace topology of the plane. - The either–or topology TopologyByExample.Spaces.EitherOr
The either–or topology on the interval[-1, 1]declares a set open if it does not contain0or it contains the whole open interval(-1, 1). - The Ellentuck topology on infinite subsets of the natural numbers TopologyByExample.Spaces.Ellentuck
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Almost disjoint branches in the Ellentuck space TopologyByExample.Spaces.EllentuckAlmostDisjoint
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Fusion in the Ellentuck topology TopologyByExample.Spaces.EllentuckBaire
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compactness obstructions in the Ellentuck topology TopologyByExample.Spaces.EllentuckCompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A closed separable nonnormal subspace of the Ellentuck space TopologyByExample.Spaces.EllentuckNormality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The recursive boundary construction for complete Erdős space TopologyByExample.Spaces.ErdosBoundary
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The coordinate step in the Erdős boundary construction TopologyByExample.Spaces.ErdosBoundaryStep
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality of Erdős space TopologyByExample.Spaces.ErdosCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The clopen obstruction in Erdős space TopologyByExample.Spaces.ErdosClopen
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The original closure definition of complete Erdős space TopologyByExample.Spaces.ErdosClosure
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The small inductive dimension of complete Erdős space TopologyByExample.Spaces.ErdosDimension
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Monotone convergence in the real Hilbert sequence space TopologyByExample.Spaces.ErdosMonotone
This supplies the convergence step in the boundary argument for Erdős space. - Compact subsets of complete Erdős space have empty interior TopologyByExample.Spaces.ErdosNonSigmaCompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Adjoining a point to the norm graph of dyadic Erdős space TopologyByExample.Spaces.ErdosNormExtension
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Recovering norm convergence from coordinates and norms in ℓ² TopologyByExample.Spaces.ErdosNormTopology
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The property profile of complete Erdős space TopologyByExample.Spaces.ErdosProfile
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Chart properties of Erdős space TopologyByExample.Spaces.ErdosProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of sigma-compactness in Erdős space TopologyByExample.Spaces.ErdosSigmaCompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Erdős space TopologyByExample.Spaces.ErdosSpace
The rational-coordinate subspace of real square-summable sequences, equipped with the norm subspace topology. - Coordinate splitting for complete Erdős space TopologyByExample.Spaces.ErdosSquare
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The everywhere doubled line TopologyByExample.Spaces.EverywhereDoubledLine
The everywhere doubled line isℝ × {0, 1}, a lower lineA = ℝ × {0}and an upper lineB = ℝ × {1}, in which a basic neighbourhood of a point(x, i)is(x, i)together with the points(t, 0)of the lower line with0 < |t - x| < ε. Every point is a twin of the point above or below it. - Finite interval sums in the closure–complement example TopologyByExample.Spaces.FiniteRealIntervalSums
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The finite-support subspace of the countable power of the closed ordinal interval TopologyByExample.Spaces.FiniteSupportOrdinalPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Eventually-zero real sequences TopologyByExample.Spaces.FiniteSupportSequences
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Fortissimo spaces of cardinality aleph one and aleph two TopologyByExample.Spaces.FortissimoCardinalities
These representatives distinguish the two specified cardinalities from the Fortissimo topology on the real numbers with a point added. - The fortissimo space glued to Sierpiński space TopologyByExample.Spaces.FortissimoSierpinski
In this file we defineTopologyByExample.FortissimoSierpinski: the pointspt a,a : ω₁, together with two further pointspandq. Every point other thanpis isolated, and a set containingpis open when it containsqand all but countably many of the pointspt a. - Fourteen distinct closure–complement sets in the real line TopologyByExample.Spaces.FourteenRealSubsets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Franklin–Rajagopalan space TopologyByExample.Spaces.FranklinRajagopalan
Fix a towerTof least length𝔱(seeTopologyByExample.tower), reindexed so that each complement is infinite, and letcotower ibe the complement of itsi-th member: the setscotower iare infinite and strictly almost increasing, and every infinite subset ofℕmeets one of them in an infinite set. The Franklin–Rajagopalan space has as points the natural numbers and the indices of the tower. Natural numbers are isolated. A basic neighbourhood of an indexiisbasic g i F: the indicesjwithg < j ≤ i, together with the natural numbers incotower ibut not incotower gand not in the finite setF, whereg < iis an index or⊥(when nothing is removed below). - The first
ω₁levels of the Franklin–Rajagopalan space TopologyByExample.Spaces.FranklinRajagopalanInitial
The open subspaceFR₁of the Franklin–Rajagopalan spaceFRconsisting of the natural numbers and the indices whose ordinal is countable. When𝔱 = ℵ₁it is the whole space; in general it is a ZFC example of a separable, first countable, normal space that is not Lindelöf. - The product of the Franklin–Rajagopalan space with its one-point compactification TopologyByExample.Spaces.FranklinRajagopalanPlank
LetFRbe the Franklin–Rajagopalan space andFR⁺ = OnePoint FRits one-point compactification. The productFR × FR⁺is a separable, sequentially compact (so countably compact), weakly locally compact, completely regular Hausdorff space that is not normal, in ZFC. - The Franklin–Rajagopalan space with a point at infinity on the integers TopologyByExample.Spaces.FranklinRajagopalanPoint
LetFRbe the Franklin–Rajagopalan spaceTopologyByExample.FranklinRajagopalan: the natural numbers, all isolated, together with the indices of a towerTof least length𝔱, where a neighbourhood of an indexicontains almost all natural numbers of a piececotower i \ cotower gof the complements of the tower (g < i). We adjoin one new pointinfty, whose neighbourhoods are the sets containinginftyand almost all of some memberT iof the tower: the basic neighbourhoods are{infty} ∪ (T i \ F)withFfinite. Since the tower is almost decreasing these sets form a filter base, and every member is infinite. - The countable power of the Franklin–Rajagopalan space TopologyByExample.Spaces.FranklinRajagopalanPower
The countable powerℕ → FranklinRajagopalanof the Franklin–Rajagopalan space, with the product topology. Hausdorffness, separability and sequential compactness pass from the factor to the power, so the power is a separable, sequentially compact Hausdorff space. Since the factor is not compact, the power is not weakly locally compact (and in particular not compact). Its first countability is that of the factor, so it is independent of ZFC: the power is first countable exactly when𝔱 = ℵ₁. - Sums of Franklin–Rajagopalan spaces: separation TopologyByExample.Spaces.FranklinRajagopalanSums
The one-point compactificationKof the rational sequence topology is compact Hausdorff, hence normal, but not completely normal, since it contains the rational sequence topology, which is not normal. So the sumFR ⊕ Kof the Franklin–Rajagopalan space andKis normal (both summands are) but neither completely nor perfectly normal; and the sumFR^ℕ ⊕ Kof the countable power withKis normal exactly whenFR^ℕis, and neither completely nor perfectly normal. - The free ultrafilter topology TopologyByExample.Spaces.FreeUltrafilterTopology
LetFbe an ultrafilter onℕ. The ultrafilter topologyTopologyByExample.UltrafilterTopology Fisℕwith the members ofF, together with the empty set, as its open sets. - Gao's space of binary functions on integer initial segments TopologyByExample.Spaces.Gao
A point is encoded by the endpoint of its domain and the finite set where it takes the value one. The closed subbasis consists of the truncations of a fixed point, and the sets of points of bounded length. - The deleted Stone–Čech space Λ TopologyByExample.Spaces.GillmanJerisonLambda
The carrier removes the closure of the natural numbers except for the natural numbers themselves. This expresses the deletion inside the actual Stone–Čech compactification of ℝ. - The Golomb space TopologyByExample.Spaces.GolombSpace
The Golomb space (the relatively prime integer topology) is the set of positive integers with the topology whose basic open sets are the progressions{y | y ≡ b [MOD a]}withapositive and coprime tob. It isTopologyByExample.ArithProgSpacefor the moduligolombModuli, all positive integers; so it is countable, second countable, Hausdorff, preconnected and not Urysohn, and has no isolated point (TopologyByExample.Spaces.ArithmeticProgression). - Gustin's sequence space TopologyByExample.Spaces.Gustin
Even finite words in positive integers form the primary points. An additional point for each positive integer and each unordered pair of distinct words links the two corresponding branches. The labels use the prime powers in Steen and Seebach's Example 125. - The half-disc topology TopologyByExample.Spaces.HalfDisc
In this file we defineTopologyByExample.HalfDisc, the half-disc topology: the closed upper half-plane{(x, y) | 0 ≤ y}, in which a point withy > 0has its Euclidean neighbourhoods and a point(x, 0)of thex-axis has the neighbourhoods{(x, 0)} ∪ D, whereDis the part in the open upper half-plane of an open disc centred at(x, 0). - The interval
[0, 1)TopologyByExample.Spaces.HalfOpenInterval
The half-open interval[0, 1)of the real line, with the subspace topology. It is metrizable, σ-compact and weakly locally compact (indeed locally compact, being an open subset of the closed set[0, ∞)), not compact (it is not closed inℝ), and, being convex, path connected and locally path connected. - Hart's modified cocountable topology TopologyByExample.Spaces.HartModifiedCocountable
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Properties of Hart's modified cocountable topology TopologyByExample.Spaces.HartModifiedProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The two pieces of Hart's modified cocountable topology TopologyByExample.Spaces.HartModifiedSubspaces
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Helly space TopologyByExample.Spaces.Helly
The nondecreasing self-maps of the closed unit interval carry the topology of pointwise convergence. - The closed plank bands of Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittBands
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Two strongly connected parts of Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittBiconnected
For the given enumeration of pairs, choose a partition of the component indices with connecting corkscrews of either colour available between every two points of that colour. - Compact sets in Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittCompactSets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittCondensedCorkscrew
A separate Tychonoff corkscrew has its two ideal points attached to each ordered pair of points. The induced topology on the ordinary points is the final topology for the resulting corkscrew maps. - Neighbourhoods in Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittNeighbourhoods
Starting with a set of ordinary points, add a specified neighbourhood of each end attached to a point already reached. This describes both open neighbourhoods and closed neighbourhoods of controlled size. - Disjoint open sets in Hewitt's condensed corkscrew TopologyByExample.Spaces.HewittOpenSets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Hilbert cube TopologyByExample.Spaces.HilbertCube
The Hilbert cube is the countable powerℕ → unitIntervalof the unit interval. Its row of properties follows from the transfer theorems of the countable power; this file proves the results about it shown on its page: - The closed hyperbolic region TopologyByExample.Spaces.HyperbolicRegion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Separation and cardinality of the hyperbolic region TopologyByExample.Spaces.HyperbolicRegionProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The two-point indiscrete space TopologyByExample.Spaces.IndiscretePair
The two-point indiscrete space isWithTopology Bool ⊤: the two-point typeBoolwith the indiscrete topology, whose only open sets are∅and the whole space. Mathlib provides the type synonym and itsIndiscreteTopologyinstance. - Sums of a point and of two-point indiscrete spaces TopologyByExample.Spaces.IndiscreteSums
Two small finite spaces built as disjoint sums: the sumUnit ⊕ WithTopology Bool ⊤of a point and the two-point indiscrete space, and the sumWithTopology Bool ⊤ ⊕ WithTopology Bool ⊤of two copies of the two-point indiscrete space. Neither is T₀, but both are R₀ (a sum of R₀ spaces is R₀), so their Kolmogorov quotients are T₁; being finite, these quotients are discrete. - The infinite cage TopologyByExample.Spaces.InfiniteCage
Forn ≥ 1letAₙbe the segment of points(1 / n, y, 0)of space with0 ≤ y ≤ 3n, letBₙbe the segment of points(0, y, 0)with2n - 1 / 2 ≤ y ≤ 2n + 1 / 2, and letCₙbe the arc of points(x, 2n, x (1 / n - x))with0 ≤ x ≤ 1 / n, which joins the point(0, 2n, 0)ofBₙto the point(1 / n, 2n, 0)ofAₙ. The infinite cage is the union of all the setsDₙ = Aₙ ∪ Bₙ ∪ Cₙ, with the subspace topology ofℝ³. In this file the pieces are indexed from0:piece misD_{m + 1}. - The integer broom TopologyByExample.Spaces.IntegerBroom
LetTbe the set of the numbers0and1 / n,n ≥ 1, a convergent sequence with its limit. The integer broom is the set of points of the plane with polar coordinates(n, θ),na nonnegative integer andθ ∈ T, all the points withn = 0being the origin. Its open sets are the whole space and the unions of the setsU × Vof points(n, θ)withn ≥ 1, whereUis open in the right order topology of the positive integers (a set{n : n ≥ k}or the empty set) andVis open inT. So the only neighbourhood of the origin is the whole space. - The interlocking interval topology TopologyByExample.Spaces.InterlockingInterval
LetX = (0, ∞) \ ℤ, the positive reals that are not integers, and forn = 1, 2, 3, …letSₙ = (0, 1 / n) ∪ (n, n + 1). The interlocking interval topology onXis generated by the setsSₙ. - A closed interval and two isolated points TopologyByExample.Spaces.IntervalTwoPoints
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Global and local arcs in the irrational-coordinate plane TopologyByExample.Spaces.IrrationalCoordinateArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compactness and category of the irrational-coordinate plane TopologyByExample.Spaces.IrrationalCoordinateCategory
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The plane with rational-coordinate pairs removed TopologyByExample.Spaces.IrrationalCoordinatePlane
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality of the irrational-coordinate plane TopologyByExample.Spaces.IrrationalCoordinateProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The irrational slope topology TopologyByExample.Spaces.IrrationalSlope
Bing's countable connected Hausdorff space. Its points are the rational points(x, y)of the closed upper half-plane,y ≥ 0. Fix the irrational slopeθ = √3. Each pointp = (x, y)has two projections on the horizontal axis, the pointsx - y / θandx + y / θwhere the lines throughpof slopesθand-θmeet the axis (both arexwheny = 0). A basic neighbourhood ofpconsists ofptogether with the rational points of the axis withinεof one of its projections. - The irregular lattice topology TopologyByExample.Spaces.IrregularLattice
In this file we defineTopologyByExample.IrregularLattice, a countable space of lattice points that is totally separated but neither regular nor semiregular. Its points are a cornercorner, standing for the lattice point(0, 0), pointsbase i(i : ℕ), standing for the points(i + 1, 0)of the horizontal axis, and isolated pointsiso i k, standing for the points(i + 1, k + 1). - The K-topology on the real line TopologyByExample.Spaces.KTopology
LetK = {1 / n | n = 1, 2, 3, …}. The K-topology onℝ(Smirnov's deleted sequence topology) is generated by the usual open sets together with the single setℝ \ K. Its open sets are exactly the setsU \ BwithUopen in the usual topology andB ⊆ K. - Katětov's subspace of
βℕTopologyByExample.Spaces.KatetovSubspace
Enumerate the rationals asrat : ℕ ≃ ℚ. For a real numberrletapprox r n = ⌊2ⁿ r⌋ / 2ⁿ, then-th dyadic truncation ofr, andcode r n = rat.symm (approx r n)its index. Fix a free ultrafiltervonℕand letpoint v r = v.map (code r), the ultrafilter of the setsAwith{n | code r n ∈ A} ∈ v. Katětov's spaceKatetovSubspace vis the subspace ofβℕ = Ultrafilter ℕmade of the principal ultrafilters and the ultrafilterspoint v rwithrirrational. - The Khalimsky line TopologyByExample.Spaces.KhalimskyLine
The Khalimsky line (or digital line) is the set of integersℤwith the topology generated by the singletons{2i + 1}of the odd integers and the triples{2i - 1, 2i, 2i + 1}around the even ones. It is the upper set topology of the "zigzag" partial order onℤin which each even integer lies below its two neighbours and there are no other relations: the smallest neighbourhood of an odd integer is itself, and that of an even integernis{n - 1, n, n + 1}. - The Kirch space TopologyByExample.Spaces.KirchSpace
The Kirch space (the prime integer topology) is the set of positive integers with the topology generated by the progressions{y | y ≡ b [MOD p]}withpprime not dividingb. Its basic open sets are the progressions{y | y ≡ b [MOD a]}withasquarefree and coprime tob. It isTopologyByExample.ArithProgSpacefor the modulikirchModuli, the squarefree positive integers; so it is countable, second countable, Hausdorff, preconnected and not Urysohn, and has no isolated point (TopologyByExample.Spaces.ArithmeticProgression). - The Knaster–Kuratowski fan TopologyByExample.Spaces.KnasterKuratowskiFan
LetC ⊆ [0, 1]be the middle-thirds Cantor set,E ⊆ Cthe set of endpoints of the deleted open intervals (the ends0and1of[0, 1]are not among them) andp = (1 / 2, 1 / 2). Over eachc ∈ Cruns the segment from(c, 0)top; its point at heightyis(c (1 - 2y) + y, y). The Knaster–Kuratowski fan (Cantor's leaky tent) consists ofp, the points at rational heights of the segments overEand the points at irrational heights of the segments overC ∖ E. The punctured fan is the fan withoutp. - Compact hulls retained by Λ TopologyByExample.Spaces.LambdaCompactHulls
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Stone–Čech compactification of Λ TopologyByExample.Spaces.LambdaCompactification
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connected subsets between two real points of Λ TopologyByExample.Spaces.LambdaConnectedIntervals
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connectedness obstructions from the real subspace of Λ TopologyByExample.Spaces.LambdaConnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The countable paracompactness obstruction for Λ TopologyByExample.Spaces.LambdaCovering
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A copy of βℕ retained in Λ TopologyByExample.Spaces.LambdaLargeSubspace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Λ is not locally connected TopologyByExample.Spaces.LambdaLocalConnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of Λ TopologyByExample.Spaces.LambdaMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The open real subspace and the natural-number Gδ in Λ TopologyByExample.Spaces.LambdaNaturalGDelta
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The natural-number hull in the Stone–Čech compactification of the real line TopologyByExample.Spaces.LambdaNaturalHull
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Paths cannot leave the real subspace of Λ TopologyByExample.Spaces.LambdaPaths
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The complete property profile of Gillman–Jerison's Λ TopologyByExample.Spaces.LambdaProfile
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Pseudocompactness of Λ TopologyByExample.Spaces.LambdaPseudocompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The remainder of Λ TopologyByExample.Spaces.LambdaRemainder
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Density of the retained remainder TopologyByExample.Spaces.LambdaRemainderDensity
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Diagonal neighbourhoods of the natural-number hull TopologyByExample.Spaces.LambdaRemainderDiagonal
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The left ray topology on
ω₁TopologyByExample.Spaces.LeftRay
The left ray topology on the first uncountable ordinalω₁has as open sets the initial segments[0, a)fora ≤ ω₁: the empty set (a = 0), the whole space (a = ω₁) and the segmentsSet.Iio afor countable ordinalsa. These are exactly the lower sets ofω₁, so the topology is Mathlib's lower set topologyTopology.lowerSet, and we build the space on Mathlib's type synonymWithLowerSet OmegaOne. - The left-ray topology on the successor of omega TopologyByExample.Spaces.LeftRayOmegaPlusOne
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The lexicographically ordered Hilbert cube TopologyByExample.Spaces.LexicographicHilbertCube
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The lexicographic integer power indexed by the countable ordinals TopologyByExample.Spaces.LexicographicIntegerOmegaOne
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The lexicographically ordered unit square TopologyByExample.Spaces.LexicographicSquare
The lexicographically ordered unit square is[0, 1] × [0, 1]with the lexicographic order,(a, b) < (c, d)iffa < c, ora = candb < d, and the order topology. It is compact, connected, first countable and Hausdorff, but not separable: the vertical open segments{x} × (0, 1)are uncountably many pairwise disjoint nonempty open sets. In particular it is not second countable and not metrizable. - The long circle TopologyByExample.Spaces.LongCircle
The long circle is the one-point compactificationOnePoint OpenLongRayof the open long rayM = L ∖ {0}(Lthe long ray): the point at infinity closes up both ends ofM, the short end near the missing point0and the long end. Equivalently it is the closed long rayL ∪ {∞}with its two end points0and∞identified (TopologyByExample.LongCircle.exists_isQuotientMap_closedLongRay). - The long line TopologyByExample.Spaces.LongLine
The long line is two copies of the long ray glued at their least points, one of them reversed: the open long ray with its order reversed, followed by the long ray, with the order topology. In the long line every point has a neighbourhood that is an open interval homeomorphic to an open interval of the reals, and every countable set is bounded on both sides. - The long ray, the open long ray and the closed long ray TopologyByExample.Spaces.LongRay
The long ray isω₁ × [0, 1)with the lexicographic order,(α, s) < (β, t)iffα < β, orα = βands < t, and its order topology: uncountably many copies of[0, 1)laid end to end. The open long ray is the long ray without its least point(0, 0), and the closed long ray is the one-point compactification of the long ray. - Cardinalities of long spaces TopologyByExample.Spaces.LongSpaceCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The maximal almost-disjoint Ψ-space TopologyByExample.Spaces.MADPsiSpace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The metric fan TopologyByExample.Spaces.MetricFan
In this file we defineTopologyByExample.MetricFan, the metric fan: the subspace ofℝ × ℝconsisting of the origin (the vertex) and the points(1 / (m + 1), 1 / ((m + 1) (n + 1)))form n : ℕ(MetricFan.pt m n, then-th point of them-th spine). Every point other than the vertex is isolated. Them-th spine converges in the plane to(1 / (m + 1), 0), which is not in the fan, while the spines themselves approach the vertex asmgrows. - The Michael line TopologyByExample.Spaces.MichaelLine
The Michael lineTopologyByExample.MichaelLineis the real line with the topology generated by the Euclidean open sets together with all sets of irrational numbers. Each irrational number is an isolated point, while each rational number keeps its Euclidean neighbourhoods. - The Michael line times the irrationals TopologyByExample.Spaces.MichaelLineTimesIrrationals
The productTopologyByExample.MichaelLine × (ℕ → ℕ)of the Michael line and the Baire spaceℕ → ℕ(which is homeomorphic to the space of irrational numbers) is the classical example of a product of a paracompact space and a metrizable space that is not normal (E. Michael, 1963). We show more: it is not even countably paracompact. - The ordered-column presentation of the minimal Hausdorff space TopologyByExample.Spaces.MinimalHausdorffIdentification
The ordered column has order typeω + 1 + ω*. Its left and right points are indexed from zero: indexmrepresents the positive integerm + 1or its negative. Columns are also indexed from zero. Adding two poles with the prescribed one-sided column tails gives a space homeomorphic toNonUrysohn. - Iterated all-pairs attachment of Misra's E₀ TopologyByExample.Spaces.MisraAllPairs
This is the explicit all-pairs alternative, not the sparse attachment pattern printed in Misra's Example 5.3. - Continuous maps and the attachment step in Misra's construction TopologyByExample.Spaces.MisraAttachment
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Topology of the Misra adjunction TopologyByExample.Spaces.MisraAttachmentTopology
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinalities of Misra's spaces TopologyByExample.Spaces.MisraCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable paracompactness obstructions for Misra's spaces TopologyByExample.Spaces.MisraCountableParacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Misra's Hausdorff semiregular P-space TopologyByExample.Spaces.MisraE0
The two sheets have isolated cells indexed by pairs of countable ordinals. A row point has cocountable tails in both sheets. Each of two apex points has cocountable tails in all rows above some countable ordinal, on its own sheet. - Properties of the sparse limit with the countable-limit enumeration TopologyByExample.Spaces.MisraEnumeratedLimit
The convention here is that a limit ordinal is nonzero. - Invariant clopen neighbourhoods of non-apex points TopologyByExample.Spaces.MisraInvariantNeighbourhoods
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality of the all-pairs Misra limit TopologyByExample.Spaces.MisraLimitCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed stages in the all-pairs Misra limit TopologyByExample.Spaces.MisraLimitClosedStages
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compatible colourings of the all-pairs limit TopologyByExample.Spaces.MisraLimitColour
The colouring is set-theoretic; no continuity is asserted. - The increasing enumeration of nonzero countable limit ordinals TopologyByExample.Spaces.MisraLimitEnumeration
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of local connectedness in the all-pairs limit TopologyByExample.Spaces.MisraLimitLocalConnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of the all-pairs limit TopologyByExample.Spaces.MisraLimitMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Initial property analysis of the all-pairs Misra limit TopologyByExample.Spaces.MisraLimitProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Regular open extensions in the all-pairs limit TopologyByExample.Spaces.MisraLimitRegularOpen
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Hausdorffness of the all-pairs Misra limit TopologyByExample.Spaces.MisraLimitTopology
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Point-finite families in Misra attachments TopologyByExample.Spaces.MisraPointFinite
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Further properties of Misra's spaces TopologyByExample.Spaces.MisraProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality of the sparse Misra limit TopologyByExample.Spaces.MisraSparseCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Category of the sparse Misra limit TopologyByExample.Spaces.MisraSparseCategory
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Total disconnectedness of the sparse Misra limit TopologyByExample.Spaces.MisraSparseDisconnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A nonconstant function on the iterated sparse attachment limit TopologyByExample.Spaces.MisraSparseLimit
The enumeration of limit ordinals is parameterized by an injection. Attachments at each positive stage use strands in the copies just added, as in Misra's printed iteration. - Failure of local connectedness in the sparse limit TopologyByExample.Spaces.MisraSparseLocalConnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Continuous maps on the sparse Misra limit TopologyByExample.Spaces.MisraSparseMaps
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of the sparse limit TopologyByExample.Spaces.MisraSparseMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Clipped regular-open extensions in the sparse Misra limit TopologyByExample.Spaces.MisraSparseRefinements
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Regular-open refinement tools for sparse attachments TopologyByExample.Spaces.MisraSparseRegularOpen
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Total disconnectedness of finite sparse stages TopologyByExample.Spaces.MisraSparseStageDisconnectedness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Extending a continuous section from any finite sparse stage TopologyByExample.Spaces.MisraSparseStageMaps
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Hausdorffness and stage embeddings of the sparse Misra limit TopologyByExample.Spaces.MisraSparseTopology
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - An unbounded real function on the sparse Misra limit TopologyByExample.Spaces.MisraSparseUnbounded
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Misra's deleted-sheet subspace TopologyByExample.Spaces.MisraSubspace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The modified Fort space TopologyByExample.Spaces.ModifiedFort
The modified Fort space on a setXisXwith two new points∞₀and∞₁adjoined: every subset ofXis open, and a set containing∞₀or∞₁is open if it contains all but finitely many points ofX. We index the two new points byBool. - The modified telophase space TopologyByExample.Spaces.ModifiedTelophase
The modified telophase space is[0, ∞)with two points at infinity,∞_Eand∞_D. Points of[0, ∞)have their usual neighbourhoods; the sets(a, ∞) ∖ E ∪ {∞_E}form a neighbourhood base at∞_E, whereEis the set of even natural numbers, and the sets(a, ∞) ∖ D ∪ {∞_D}one at∞_D, whereDis the set of odd natural numbers. - Mysior's space TopologyByExample.Spaces.Mysior
In this file we defineTopologyByExample.Mysior, Mysior's example of a regular space that is not completely regular. - The Mysior plane TopologyByExample.Spaces.MysiorPlane
Off-axis points are isolated. At an axis point there are three approaching segments, one vertical, one displaced by one, and one displaced by the square root of two. This is the Mysior plane, distinct from the regular non-completely-regular Mysior space. - Closed sets on the axis of the Mysior plane TopologyByExample.Spaces.MysiorPlaneCovering
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The continuum power of the discrete natural numbers TopologyByExample.Spaces.NaturalsContinuumPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The power of the discrete naturals indexed by the power set of the interval TopologyByExample.Spaces.NaturalsSupercontinuumPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Nested angles TopologyByExample.Spaces.NestedAngles
Forn ≥ 1letSₙbe the segment in the plane froma = (0, 1)to(n, 1 / (n + 1)), the set of points(x, 1 - x / (n + 1))with0 ≤ x ≤ n, and letHₙbe the horizontal half-line of points(x, 1 / (n + 1))withx ≤ n. The nested angles space is the union of all theSₙandHₙwith the horizontal axis, with the subspace topology of the plane. In this file the angles are indexed from0:segment misS_{m + 1}andhalfLine misH_{m + 1}. - The nested interval topology TopologyByExample.Spaces.NestedInterval
The nested interval topology on(0, 1)is generated by the intervals(0, 1 - 1/(n + 1)),n ∈ ℕ. Its open sets are determined by the block of a point, thenwithx ∈ [n / (n + 1), (n + 1) / (n + 2)); every block has the cardinality of the continuum, so a bijection(0, 1) ≃ ℕ × (0, 1)with the block as first component exists, and the topology is homeomorphic to the product of the right order topology onℕin reverse order (ℕᵒᵈwith the upper topology) with the indiscrete topology on(0, 1). - The continuum-sized nested interval space TopologyByExample.Spaces.NestedIntervalContinuum
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Nested rectangles TopologyByExample.Spaces.NestedRectangles
Fork ≥ 1letRₖbe the boundary of the rectangle centred at the origin of width2k / (k + 1)and height2k: the points(x, y)of the plane with|x| = k / (k + 1)and|y| ≤ k, or with|y| = kand|x| ≤ k / (k + 1). The nested rectangles space is the union of the rectanglesRₖwith the two linesx = 1andx = -1, with the subspace topology of the plane. In this file the rectangles are indexed from0:rect nisR_{n + 1}. - The Niemytzki plane TopologyByExample.Spaces.NiemytzkiPlane
In this file we defineTopologyByExample.Niemytzki, the Niemytzki plane (also called the Moore plane, or the tangent disc topology): the closed upper half-plane{(x, y) | 0 ≤ y}, in which a point withy > 0has its Euclidean neighbourhoods and a point(x, 0)of thex-axis has the neighbourhoods{(x, 0)} ∪ D, whereDis an open disc in the open upper half-plane tangent to thex-axis at(x, 0). - A countable Hausdorff space that is not Urysohn TopologyByExample.Spaces.NonUrysohn
In this file we defineTopologyByExample.NonUrysohn, a countable space that is Hausdorff but not Urysohn (T₂½). Its points are two polespole i(i : Bool), pointsmid n(n : ℕ), and pointsiso i n m(i : Bool,n m : ℕ), which are isolated. - Minimality of the countable non-Urysohn topology TopologyByExample.Spaces.NonUrysohnMinimal
Every Hausdorff topology coarser than the topology ofNonUrysohnequals it. Separation from the poles confines a neighbourhood of any other point to finitely many compact columns. At a pole, separation from the other pole confines the part outside a prescribed original neighbourhood to finitely many columns. Compact subsets remain closed in the coarser Hausdorff topology, which recovers every original open neighbourhood. - Accumulation sets for the Novak recursion TopologyByExample.Spaces.NovakAccumulation
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compact subsets of Novak's space TopologyByExample.Spaces.NovakCompactSets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A continuum-sized discrete subspace of Novak's space TopologyByExample.Spaces.NovakCompleteNormal
The binary-branch coding is supplied byStoneCechNaturals; here the points are selected by Novak's recursion rather than by a fixed free ultrafilter. - The adjacent-integer involution on beta N TopologyByExample.Spaces.NovakInvolution
The natural numbernrepresents the book's positive integern + 1. - Novak's space is not normal under CH TopologyByExample.Spaces.NovakNormalCH
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - An extension obstruction to normality of Novak's space TopologyByExample.Spaces.NovakNormalReduction
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Novák–Terasaka pair TopologyByExample.Spaces.NovakPair
Novák's subspace and its image under the adjacent-integer involution are countably compact Tychonoff subspaces of βℕ. They intersect precisely in the principal points, and their product is not pseudocompact. The two factors are homeomorphic; this construction does not require another space study. - The non-pseudocompact square of Novák's space TopologyByExample.Spaces.NovakProducts
The restricted involution graph is an infinite closed set of isolated points. Thus the square admits an unbounded continuous real-valued function. - Initial grid properties of Novak's space TopologyByExample.Spaces.NovakProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Novak's space is not scattered TopologyByExample.Spaces.NovakScattered
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Novak's subspace of beta N TopologyByExample.Spaces.NovakSpace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The square of Novak's space is not countably compact TopologyByExample.Spaces.NovakSquare
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The odd–even topology and the deleted integer topology TopologyByExample.Spaces.OddEven
The odd–even topology onℕis the partition topology of the pairs{2k, 2k + 1}: a set is open if and only if, with any number, it contains the other member of its pair. It is the topology induced from the discrete topology byn ↦ n / 2. - The first uncountable ordinal
ω₁TopologyByExample.Spaces.OmegaOne
The spaceω₁is the set of countable ordinals, well ordered by<, with the order topology. It is first countable, Hausdorff, ω-bounded (every countable set has compact closure), hence countably compact and sequentially compact, and weakly locally compact (indeed every initial segment[0, a]is compact and open), but it is not compact, so not Lindelöf. Everything rests on two facts about the order: every initial segmentSet.Iio ais countable, and every countable set is bounded above. - The closed ordinal space
[0, ω₁]TopologyByExample.Spaces.OmegaOnePlusOne
The space[0, ω₁]of ordinals up to and including the first uncountable ordinalω₁, with the order topology. We take it to be the one-point compactificationOnePoint OmegaOneof the spaceω₁of countable ordinals: byTopologyByExample.onePointHomeomorphWithTopit is homeomorphic toWithTop OmegaOne, the orderω₁with a greatest element added, with its order topology. [0, ω₁]with its endpoint doubled TopologyByExample.Spaces.OmegaOnePlusOneDoubledEndpoint
The space[0, ω₁]with its greatest pointω₁replaced by two points: the spaceTopologyByExample.WithOrigins (OnePoint OmegaOne) ∞ Bool, whose two origins areω₁(origin false) and the new pointω₁′(origin true). Every neighbourhood of either of them contains a tail(β, ω₁)of the countable ordinals.- The ordered space
ω₁ + 1 + ω*TopologyByExample.Spaces.OmegaOnePlusOnePlusReverseOmega
The spaceTopologyByExample.OmegaOnePlusOnePlusReverseOmegais the linear orderω₁ + 1 + ω*with its order topology: the ordinals up to and includingω₁, followed by a copy of the natural numbers in reverse order,⋯ < 2 < 1 < 0. We model it as the lexicographic sumWithTop OmegaOne ⊕ₗ ℕᵒᵈ; the pointofTop ⊤isω₁, andofNat nis the copy ofn. - The countable power
ω₁^ℕof the first uncountable ordinal TopologyByExample.Spaces.OmegaOnePower
The spaceω₁^ℕis the typeℕ → OmegaOneof sequences of countable ordinals, with the product topology. Nothing about it is proved directly: every value follows from the values ofω₁(TopologyByExample.Spaces.OmegaOne) by theorems about countable powers. It is first countable and Hausdorff (by instance search), ω-bounded, hence countably compact and sequentially compact, but neither compact nor weakly locally compact, and so not Lindelöf. It differs fromω₁only in weak local compactness. - The product
ω₁ × [0, ω₁]TopologyByExample.Spaces.OmegaOneTimesSuccessor
The product of the spaceω₁of countable ordinals with the closed ordinal space[0, ω₁], taken here asOmegaOne × OnePoint OmegaOne. Since[0, ω₁]is homeomorphic toω₁with a greatest element added (TopologyByExample.OmegaOnePlusOne.homeomorphWithTop), this is the spaceω₁ × (ω₁ + 1)ofTopologyByExample.OmegaOne.not_normalSpace_prod_withTop, and so it is not normal, althoughω₁is normal and[0, ω₁]is compact Hausdorff. - One-point compactification of the Arens–Fort space TopologyByExample.Spaces.OpcArensFort
In this file we studyOnePoint ArensFort, the one-point compactification of the Arens–Fort space. Every compact subset of the Arens–Fort space is finite (TopologyByExample.ArensFort.finite_of_isCompact), so the open sets containing the point at infinity are the cofinite open sets. Every regular open set containing the point at infinity contains the base pointpof the Arens–Fort space, while the point at infinity has the neighbourhood{p}ᶜ; so the space is not semiregular. - The one-point compactification of the rationals TopologyByExample.Spaces.OpcRationals
The one-point compactificationOnePoint ℚof the rationals is compact and T₁ but not Hausdorff, sinceℚis not weakly locally compact. Its distinctive feature is that every neighbourhood of the point at infinity is dense, because every compact subset ofℚhas empty interior. From this: - The square of the one-point compactification of the rationals TopologyByExample.Spaces.OpcRationalsSquare
The squareOnePoint ℚ × OnePoint ℚof the one-point compactification ofℚis not semiregular: every neighbourhood of(∞, ∞)contains a product of two neighbourhoods of∞, each of them dense, so it is dense; and the complement of the closed point(0, 0)is a neighbourhood of(∞, ∞)other than the whole space. - One-point compactification of the sequential fan TopologyByExample.Spaces.OpcSequentialFan
In this file we studyOnePoint SequentialFan, the one-point compactification of the sequential fan. A compact subset of the sequential fan meets only finitely many spines, so the neighbourhoods of the point at infinity are the sets containing all but finitely many whole spines (minus a compact set), while the vertex keeps its neighbourhoods: all but finitely many points of every spine. The space is semiregular. - The open long ray has no sigma-locally finite base TopologyByExample.Spaces.OpenLongRaySigmaBasis
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The overlapping interval topology TopologyByExample.Spaces.OverlappingInterval
The overlapping interval topology on[-1, 1]is generated by the intervals[-1, b)withb > 0and(a, 1]witha < 0. Every subbasic set contains0, so every nonempty open set contains0; more precisely every open set is star-shaped about0: with a pointxit contains everyt * x,0 ≤ t ≤ 1. - The Euclidean plane TopologyByExample.Spaces.Plane
The planeℝ × ℝ, the product of two copies of the real line. Every value of its properties follows from those of the line through the product theorems, so this file holds only its own theory: the plane minus any point is path connected, so the plane is not homeomorphic to the line (removing a point disconnects the line), and the plane is homeomorphic to the complex numbers. - A poset with two zeros TopologyByExample.Spaces.PosetTwoZeros
The set{-1, 0₀, 0₁} ∪ {1/n : n ≥ 1}, partially ordered so that-1is the least element, the two zeros0₀and0₁are incomparable and lie below every1/n, and the points1/nare ordered as real numbers, with the upper set topology: the open sets are the upper sets. - The post office metric TopologyByExample.Spaces.PostOfficeMetric
The plane, here the complex numbers, with the metricd(x, y) = ‖x‖ + ‖y‖forx ≠ y(andd(x, x) = 0): every journey goes through the origin. Every point other than the origin is isolated, and the neighbourhoods of the origin are the sets containing a Euclidean disc about it. - Continuum cardinalities of powers and the double arrow TopologyByExample.Spaces.PowerCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The prime ideal topology TopologyByExample.Spaces.PrimeIdealTopology
The prime ideal topology isPrimeSpectrum ℤ, the prime ideals ofℤwith the Zariski topology. It has a generic point, the zero ideal (TopologyByExample.PrimeIdealTopology.generic), whose closure is the whole space, so it is locally path connected and a Baire space. It is second countable, since the basic open setsD(n),n ∈ ℤ, form a countable base. It is not R₀, not normal, and has no isolated point. It is not the closed extension of the cofinite topology onℕ: in a closed extension the new point is isolated, while here no point is. - The pseudocircle TopologyByExample.Spaces.Pseudocircle
The pseudocircle is the four-point space{a₀, a₁, b₀, b₁}whose open sets are the upper sets of the partial order in whicha₀anda₁each lie below bothb₀andb₁, with no other relations (the complete bipartite posetK₂,₂): the open sets are∅,{b₀},{b₁},{b₀, b₁},{a₀, b₀, b₁},{a₁, b₀, b₁}and the whole space. - Pseudocompactness of the maximal almost-disjoint family space TopologyByExample.Spaces.PsiPseudocompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Spaces associated to almost disjoint families TopologyByExample.Spaces.PsiSpace
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The open unit interval with its midpoint removed TopologyByExample.Spaces.PuncturedInterval
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The radial interval topology TopologyByExample.Spaces.RadialInterval
The plane, here the complex numbers, in which a set is open when it meets every line through the origin in a set open in that line (with its usual topology). Equivalently, the topology generated by the open intervals of lines through the origin that miss the origin, together with the unions over all lines through the origin of an open interval of each line about the origin. - The radial metric TopologyByExample.Spaces.RadialMetric
The plane, here the complex numbers, with the radial metric: the distance between two points on a common line through the origin is their Euclidean distance, and between any other two points it is the sum of their distances from the origin. Every journey runs along lines through the origin. - The radial plane TopologyByExample.Spaces.RadialPlane
In this file we defineTopologyByExample.RadialPlane, the plane with the radial (or core) topology: a setUis open if it meets every lineLin a set open inLwith its Euclidean topology; equivalently, every point ofUlies, on each line through it, in an open segment contained inU. It is the finest topology for which every mapt ↦ p + t • vfromℝis continuous, and we define it as such: the supremum of the topologies coinduced by these maps. - The small inductive dimension of rational-coordinate Erdős space TopologyByExample.Spaces.RationalErdosDimension
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The rational sequence topology TopologyByExample.Spaces.RationalSequence
In this file we defineTopologyByExample.RationalSequence, the real line with the rational sequence topology. Each real numberxis given a sequence of rationals converging toxin the usual sense (TopologyByExample.RationalSequence.approx): the dyadic approximations⌊2 ^ k * x⌋ / 2 ^ kifxis irrational, and the constant sequencexifxis rational. A basic neighbourhood ofxisxtogether with a tail of its sequence. So every rational is isolated, and a set is open if it contains a tail of the sequence of each irrational it contains. - The one-point compactification of the rational sequence topology TopologyByExample.Spaces.RationalSequenceCompactification
In this file we studyOnePoint RationalSequence, the one-point compactification of the rational sequence topologyTopologyByExample.RationalSequence. It is compact (and, the rational sequence topology being Hausdorff and locally compact, Hausdorff), and we show that it is sequentially compact but not first countable at the point at infinity. - The rational tangent disc topology TopologyByExample.Spaces.RationalTangentDisc
In this file we defineTopologyByExample.RationalTangentDisc, the subspace of the Niemytzki plane consisting of the open upper half-plane together with the points(q, 0),qrational, of thex-axis. A point(q, 0)has the neighbourhoods{(q, 0)} ∪ D,Dan open disc tangent to thex-axis at(q, 0); the other points have their Euclidean neighbourhoods. - The rational numbers are not weakly locally compact TopologyByExample.Spaces.Rationals
Mathlib shows that a compact subset ofℚhas empty interior (Rat.interior_compact_eq_empty); so no point ofℚhas a compact neighbourhood. - The countable power of the rationals TopologyByExample.Spaces.RationalsPower
The spaceℕ → ℚof all rational sequences with the product topology. Its row of properties follows from the transfer theorems of the countable power; this file proves the result about it shown on its page: - Extensions of the real line and of the plane TopologyByExample.Spaces.RealExtensions
LetDbe a set of reals that is dense and has dense complement (the rationals or the irrationals). Steen and Seebach refine the Euclidean topology ofℝusingDin three ways: - The real line TopologyByExample.Spaces.RealLine
The real lineℝwith its Euclidean topology. Every value of the space's properties that is not a consequence of others is a Mathlib instance: the line is completely metrizable, σ-compact, weakly locally compact, noncompact, path connected and locally path connected. - The countable power of the real line TopologyByExample.Spaces.RealPower
The spaceℕ → ℝof all real sequences with the product topology. Its row of properties follows from the transfer theorems of the countable power; this file proves the result about it shown on its page: - The real projective plane TopologyByExample.Spaces.RealProjectivePlane
The real projective planeℝP²is the space of lines through the origin ofℝ³: Mathlib's projectivizationℙ ℝ (EuclideanSpace ℝ (Fin 3)), the quotient of the nonzero vectors by the relationv ~ a • v(a ≠ 0), with the quotient topology. - Open rays in the closure–complement example TopologyByExample.Spaces.RealRaySums
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The real line with a cocountable point TopologyByExample.Spaces.RealsCocountablePoint
The spaceℝ ∪ {∞}in whichℝis an open subspace with its usual topology and the open sets containing the extra point∞are the setsU ∪ {∞}withUopen inℝand cocountable. Every neighbourhood of∞is dense, so the space is strongly connected (every continuous real function is constant) but not Hausdorff. No sequence of reals converges to∞, soℝis an open sequentially closed set that is not closed: the space is not sequential, and no path leavesℝ, so it is not path connected. - The continuum power of the real line TopologyByExample.Spaces.RealsContinuumPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A nonregular dispersion-point refinement TopologyByExample.Spaces.RefinedErdosInfinity
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Roy's lattice space and its punctured subspace TopologyByExample.Spaces.RoyLattice
The lines have positive numbers. Their indices below start at zero, so the neighbourhoods at index zero meet indices zero and one. - Scott's modification of the Arens square TopologyByExample.Spaces.ScottArensSquare
In this file we defineTopologyByExample.ScottArensSquare, Brian Scott's modification of the Arens square, as a subspace of the Arens planeTopologyByExample.ArensPlane. The rationals of(0, 1)are partitioned into dense setscolumn q, one for each rationalq ∈ (0, 1): fixing a bijectionq ↦ prime qfrom these rationals onto the primes,column qis the set of rationals in(0, 1)whose denominator in lowest terms has least prime factorprime q. The points of the space are the corners(0, 0)and(1, 0)and the points(q, r)withr ∈ column q; so no two points off the axis have the same height. The topology is that of the Arens plane: the points withq = 1/2have horizontal strips as basic neighbourhoods, the corners the lower left and lower right quarters of the square, and the other points their Euclidean neighbourhoods. - The sequential fan TopologyByExample.Spaces.SequentialFan
In this file we defineTopologyByExample.SequentialFan, the sequential fanS_ω. Its underlying set isOption (ℕ × ℕ): the pointnoneis the vertex (SequentialFan.vertex) andsome (m, n)is then-th point of them-th spine (SequentialFan.pt m n). Every point other than the vertex is isolated, and a set containing the vertex is a neighbourhood of it when it contains all but finitely many points of every spine. So the space is obtained from countably many convergent sequences by identifying their limits. - The Sierpiński space is not Hausdorff TopologyByExample.Spaces.Sierpinski
Mathlib's Sierpiński space isPropwith the topologysierpinskiSpace, whose open sets are∅,{True}andSet.univ. The only neighbourhood ofFalseis the whole space, soFalseandTruecannot be separated by disjoint open sets. - Products of simple spaces: the Sierpiński square, Hjalmar Ekdal and others TopologyByExample.Spaces.SimpleProducts
This file collects what is needed about several products of spaces we already have, and the homeomorphisms between some of them and the spaces the literature defines directly. (The products whose properties all follow from the transfer theorems need nothing here beyond their types:ℝ × WithTopology Bool ⊤,ℚ × WithDiscreteTopology ℝ,ℝ × ℕ.) - The simplified Arens square TopologyByExample.Spaces.SimplifiedArensSquare
In this file we defineTopologyByExample.SimplifiedArensSquare, the open unit square(0, 1) × (0, 1)together with the two corners(0, 0)and(1, 0). The points of the open square have their Euclidean neighbourhoods; a basic neighbourhood of(0, 0)is the corner together with the points of the open square withx < 1/2andy < ε, and one of(1, 0)is the corner together with those with1/2 < xandy < ε. - The topologist's sine curves and the Warsaw circle TopologyByExample.Spaces.SineCurves
LetG = {(x, sin x⁻¹) : 0 < x ≤ 1}be the graph ofsin x⁻¹over(0, 1], a subset of the planeℝ × ℝ. This file studies four subspaces of the plane built from it: - The single ultrafilter space TopologyByExample.Spaces.SingleUltrafilter
LetFbe an ultrafilter onℕ. The single ultrafilter spaceTopologyByExample.SingleUltrafilter Fisℕwith one extra pointp(SingleUltrafilter.point): every natural number is isolated, and the neighbourhoods ofpare the sets containingpwhose trace onℕbelongs toF. Its topology isnhdsAdjoint p F', whereF'is the image ofFunder the inclusion ofℕ. - The Sorgenfrey line TopologyByExample.Spaces.SorgenfreyLine
In this file we defineTopologyByExample.SorgenfreyLine(notation:ℝₗ) to be the Sorgenfrey line. It is the real line with the topology generated by the half-open intervalsSet.Ico a b. - The Sorgenfrey plane TopologyByExample.Spaces.SorgenfreyPlane
The Sorgenfrey plane is the productℝₗ × ℝₗof two copies of the Sorgenfrey lineTopologyByExample.SorgenfreyLine. We introduce no new type for it, so results about products apply to it directly. - The special Luzin space under CH TopologyByExample.Spaces.SpecialLuzinSpace
The chosen subset of integer sequences has full sumset. Its construction and uncountability require CH; the carrier is empty if CH fails. - The sphere TopologyByExample.Spaces.Sphere
The two-dimensional sphereS² = {x ∈ ℝ³ : ‖x‖ = 1}, as Mathlib'sMetric.sphere (0 : EuclideanSpace ℝ (Fin 3)) 1, with the subspace topology. It is a compact metric space and a two-dimensional manifold, path connected and locally path connected, and infinite. - The Stone–Čech compactification of the natural numbers TopologyByExample.Spaces.StoneCechNaturals
The space of ultrafilters onℕ(Ultrafilter ℕ, with the topology whose basic open sets are the sets{u | A ∈ u}) is the Stone–Čech compactification of the discrete spaceℕ. Mathlib shows that it is compact and Hausdorff, and that the principal ultrafilters are dense. - The Stone–Čech remainder of the natural numbers TopologyByExample.Spaces.StoneCechRemainder
The remainder is the subspace of nonprincipal ultrafilters. Its basic clopen sets are indexed by subsets of the naturals. - The strong parallel line topology TopologyByExample.Spaces.StrongParallelLine
The strong parallel line topology lives on the set of the double arrow space,(0, 1] × {0} ∪ [0, 1) × {1}: a lower lineA = (0, 1] × {0}and an upper lineB = [0, 1) × {1}. A base consists of the half-open intervals[a, b) × {1}of the upper line and the sets(a, b] × {0} ∪ (a, b) × {1}. Equivalently, the topology is generated by the order topology of the double arrow together with the single setB: it is the double arrow with its upper line made open. - The strong ultrafilter topology TopologyByExample.Spaces.StrongUltrafilter
The strong ultrafilter topology is the setℕ ⊕ M, whereMis the set of free ultrafilters onℕ(those coarser than the cofinite filter), in which a setUis open when every free ultrafilterF ∈ Ucontains the set of natural numbers inU. So the natural numbers are isolated, and the neighbourhoods of a free ultrafilterFare the sets containingA ∪ {F}for someA ∈ F. ForA ⊆ ℕ, the setclopenSet Aof the natural numbers inAand the free ultrafilters containingAis clopen. - Tangora's connected space TopologyByExample.Spaces.Tangora
The real line is partitioned into the dyadic rationals, the remaining rationals and the irrationals. A Euclidean neighbourhood at a rational point is intersected with its own rational class. At an irrational point it is intersected with the rationals together with that point. - The connected sets in Tangora's example TopologyByExample.Spaces.TangoraConnected
Every connected Euclidean open set remains connected after the refinement. The complements of the two rational classes, however, are both closed and totally disconnected. - Covering, category and path properties of Tangora's space TopologyByExample.Spaces.TangoraProperties
The rationals form a countable dense set. Their complement is a closed discrete set of cardinality continuum, so compact subsets meet it in finitely many points. - The telophase space TopologyByExample.Spaces.Telophase
The telophase space is the unit interval with its right endpoint1doubled: the spaceTopologyByExample.WithOrigins unitInterval 1 Bool, whose two origins are the endpoint1(origin false) and the new endpoint1*(origin true). Every neighbourhood of either endpoint contains an interval(a, 1). - Thomas's corkscrew TopologyByExample.Spaces.ThomasCorkscrew
The two-ended Jones construction applied to Thomas's plank alternately identifies its top and right edges. - The Thomas plank TopologyByExample.Spaces.ThomasPlank
The Thomas plank is the product of the Fort space onℝ(the one-point compactificationOnePoint (WithDiscreteTopology ℝ)of the discrete reals) and the convergent sequence[0, ω] = OnePoint ℕ, with its corner(∞, ∞)removed: the subtypeThomasPlank. - The torus TopologyByExample.Spaces.Torus
The torus is the productS¹ × S¹of two circles, asCircle × Circle. Its values on the grid all come from those of the circle through general theorems about products; this file proves only that it is a compact commutative topological group under coordinatewise multiplication of complex numbers. - A lattice with two limit points TopologyByExample.Spaces.TwoLimitLattice
In this file we defineTopologyByExample.TwoLimitLattice: the lattice pointspt m n,m n : ℕ, together with two further points, the column limitlim falseand the row limitlim true. Every lattice point is isolated; a neighbourhood of the column limit contains every lattice point of all columns from some index on, and a neighbourhood of the row limit every lattice point of all rows from some index on. - A convergent sequence with two limits TopologyByExample.Spaces.TwoLimitSequence
In this file we defineTopologyByExample.TwoLimitSequence, the natural numbers together with two extra pointslim falseandlim true. Each natural number is isolated, and a basic neighbourhood oflim iislim itogether with all natural numbers from some point on. So the sequence of natural numbers converges to both extra points, and any two neighbourhoods of the two limits meet: the space is not Hausdorff, and every continuous map to a Hausdorff space identifies the two limits. It is the one-point compactification of a countable discrete space with its point at infinity doubled. - The Tychonoff corkscrew TopologyByExample.Spaces.TychonoffCorkscrew
The double Jones construction glues deleted Tychonoff planks along alternating top and right edges, and adds two ideal ends. - The Tychonoff plank TopologyByExample.Spaces.TychonoffPlank
The Tychonoff plank is the product[0, ω₁] × [0, ω]of two compact ordinal spaces. We take the first factor to be the one-point compactificationOnePoint OmegaOneof the countable ordinals, and the second to be the ordinal spaceSet.Iio (ω + 1)of ordinals< ω + 1, with the order topology. So the plank isOnePoint OmegaOne × Set.Iio (ω + 1), and its corner is the point(∞, ω). - The unit interval TopologyByExample.Spaces.UnitInterval
Mathlib'sunitIntervalis the closed interval[0, 1]of the real line, with the subspace topology. It is a compact metric space. It is convex, so any two of its points are joined by the straight path between them, and the same holds inside each small ball about a point: the space is path connected and locally path connected, hence connected and locally connected. Being connected and having two points, it is not totally disconnected. It has as many points as the real line. - Vaughan's space TopologyByExample.Spaces.VaughanSpace
J. E. Vaughan's example of a first countable, countably compact Hausdorff space that is not normal, constructed in ZFC (J. E. Vaughan, A countably compact, first countable, nonnormal T₂-space, Proc. Amer. Math. Soc. 75 (1979), 339–342). It is also zero-dimensional, locally compact and ω-bounded, hence not separable (p. 339). - The real separable Hilbert space in its weak topology TopologyByExample.Spaces.WeakHilbert
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Additional properties of the wheel without its hub TopologyByExample.Spaces.WheelAdditionalProperties
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The wheel with detached spokes TopologyByExample.Spaces.WheelDetachedSpokes
Fix an enumerationq₀, q₁, …of the rationals and letuₙ = (cos qₙ, sin qₙ); the pointsuₙare distinct and dense in the unit circle. The spokeAₙis the segment of pointst uₙwith2⁻⁽ⁿ⁺¹⁾ ≤ t ≤ 1. The wheel with detached spokes is the union of the origin and all the spokes, with the subspace topology of the plane. - The wheel without its hub TopologyByExample.Spaces.WheelWithoutHub
The punctured closed complex unit disc, with its Euclidean topology enlarged by the open radial intervals inside the open disc. This is the defining topology, not an assumed metric presentation.
Theorems
- Countable metacompactness of the Alexandroff plank TopologyByExample.Theorems.AlexandroffCountablyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of metacompactness in the Alexandroff plank TopologyByExample.Theorems.AlexandroffMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Alexandrov spaces and the upper and lower set topologies of partial orders TopologyByExample.Theorems.AlexandrovSpaces
Lemmas shared by the spaces whose topology is the upper set (or lower set) topology of a partial order (the divisor topology, the Khalimsky line, the pseudocircle and the poset with two zeros), and two facts about Alexandrov spaces in general: when a generated topology is Alexandrov, and why a second countable one is countable. - Infinite maximal almost-disjoint families on the naturals TopologyByExample.Theorems.AlmostDisjointFamily
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The alternating reciprocal subset TopologyByExample.Theorems.AlternatingReciprocals
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arc connectedness of convex sets and countability obstructions TopologyByExample.Theorems.ArcConnectedExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arc connectedness without separation assumptions TopologyByExample.Theorems.ArcConnectedness
Arcs are injective paths, not necessarily embeddings. The empty space is admitted. - Further examples of injective paths TopologyByExample.Theorems.ArcExampleCoverage
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Joining arcs in Hausdorff spaces TopologyByExample.Theorems.ArcJoining
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Injective paths on the circle TopologyByExample.Theorems.ArcPathTools
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Scatteredness obstructs arcs TopologyByExample.Theorems.ArcScattered
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arcs in images and open subspaces TopologyByExample.Theorems.ArcSubspaceTools
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Products of arc connected spaces TopologyByExample.Theorems.ArcTransfers
Injectivity of one coordinate path makes a product path injective. No separation assumption or nonemptiness condition is required. Projection does not preserve injectivity, so no converse is asserted. - Connected partitions of arithmetic progression spaces TopologyByExample.Theorems.ArithmeticProgressionBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Meagre sets with continuum many points in every interval TopologyByExample.Theorems.BernsteinMeagreReservoir
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Paired Bernstein recursion of length continuum TopologyByExample.Theorems.BernsteinRecursion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Disjoint connected sets in a biconnected space TopologyByExample.Theorems.BiconnectedObstructions
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Biconnected products TopologyByExample.Theorems.BiconnectedProducts
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Complete normality of non-T₀ biconnected spaces TopologyByExample.Theorems.BiconnectedSmallNormal
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Real-valued functions and biconnected spaces TopologyByExample.Theorems.BiconnectedStrong
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Separation in infinite biconnected spaces TopologyByExample.Theorems.BiconnectedT0
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Hausdorff metric on nonempty bounded closed subsets TopologyByExample.Theorems.BoundedClosedHausdorff
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Total boundedness and balls for bounded metrics TopologyByExample.Theorems.BoundedMetricExamples
The compressed real metric need not be totally bounded. For the capped metric, the closure of a unit open ball need not be the corresponding closed ball. - Two bounded metrics inducing the original topology TopologyByExample.Theorems.BoundedMetrics
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arcs in the butterfly space TopologyByExample.Theorems.ButterflyArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Butterfly wings obstruct extension from a dense subspace TopologyByExample.Theorems.ButterflyNonextension
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Conditional cardinal arithmetic for source representatives TopologyByExample.Theorems.CardinalArithmeticCases
The statements are hypotheses, not additional Lean axioms. - Upper cardinal bounds for retopologized ordinal and real spaces TopologyByExample.Theorems.CardinalityBoundCoverage
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinal bounds from countability and separation TopologyByExample.Theorems.CardinalityBounds
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countability of further spaces TopologyByExample.Theorems.CardinalitySpaceCoverage
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinal upper bounds under constructions TopologyByExample.Theorems.CardinalityTransfers
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Completeness and category TopologyByExample.Theorems.Category
This file relates complete metrizability, Baire spaces, being of second category in oneself (not meagre in oneself) and having an isolated point. How complete metrizability and second category behave under disjoint sums, binary products, countable powers and the closed extension is proved with the other transfers, in the filesTopologyByExample.Operators.Sum,.Product,.CountablePowerand.ClosedExtension. - Completion as equivalence classes of Cauchy sequences TopologyByExample.Theorems.CauchySequenceCompletion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countability of sigma-locally finite bases TopologyByExample.Theorems.CccSigmaLocallyFiniteBase
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Point-star refinements when open sets form a chain TopologyByExample.Theorems.ChainFullNormality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality predicates from the book charts TopologyByExample.Theorems.ChartCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable closed covers by countably compact sets TopologyByExample.Theorems.ClosedCountablyCompactCover
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed discrete sets of the cardinality of the continuum TopologyByExample.Theorems.ClosedDiscreteContinuum
We consider spaces with a closed discrete subset of cardinality at least𝔠, stated as∃ s : Set X, IsClosed s ∧ IsDiscrete s ∧ 𝔠 ≤ #s, and record Jones's lemma in the form of implications: such a space, if separable, is neither normal nor countably paracompact; and it does not have countable extent, since𝔠is uncountable. - Countable metacompactness from a closed discrete remainder TopologyByExample.Theorems.ClosedDiscreteMetacompactExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed discrete subsets of noncompact Lindelöf spaces TopologyByExample.Theorems.ClosedDiscreteSubset
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed-ray topologies TopologyByExample.Theorems.ClosedRayTopologies
The closed-ray topology of a linearly ordered setXis its upper set (Alexandrov) topology, Mathlib'sTopology.WithUpperSet X: the open sets are exactly the upper sets. The smallest open set containing a pointxis the closed raySet.Ici x. It is finer than the right order topologyTopology.WithUpper X(the topology generated by the open rays), and the two have the same specialisation order: the closure of a pointxisSet.Iic xin both. - The fourteen closure–complement words TopologyByExample.Theorems.ClosureComplementWords
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Spaces in which the closures of any two nonempty open sets meet TopologyByExample.Theorems.ClosuresMeet
Several classical countable connected Hausdorff spaces (the Golomb space, the Kirch space, the irrational slope topology) are connected for the same reason: the closures of any two nonempty open sets meet. In this file we record what that condition gives. - Metacompactness of the real line with a cocountable point TopologyByExample.Theorems.CocountablePointMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The cocountable topology TopologyByExample.Theorems.CocountableTopology
TopologyByExample.CocountableTopology Xis the typeXwith the cocountable topology: a set is open if it is empty or its complement is countable. Its closed sets are the countable sets and the whole space. It is defined after Mathlib'sCofiniteTopology, asWithTopology Xfor the topologyTopologyByExample.cocountableTopology X. - The cofinite topology TopologyByExample.Theorems.CofiniteTopology
Mathlib'sCofiniteTopology Xis the typeXwith the cofinite topology: a set is open if it is empty or its complement is finite. Its closed sets are the finite sets and the whole space. Mathlib provides that it is T₁ and compact (indeed Noetherian). This file adds: - Dispersion points in collapse quotients TopologyByExample.Theorems.CollapseDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Collapsing a closed set to a point TopologyByExample.Theorems.CollapseQuotient
For a subsetAof a spaceX, the quotientX / Aidentifies all points ofAwith each other and nothing else. We show that collapsing a closed set preserves the T₁ property, normality, perfect normality and paracompactness (for paracompact normal spaces), and the Baire property whenAhas empty interior; and that collapsing a closed subset of a metrizable space that contains an infinite closed discrete set of non-interior points gives a space that is not first countable. - Arcs in the comb and the closed broom TopologyByExample.Theorems.CombBroomArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Avoiding zero on compact totally disconnected sets TopologyByExample.Theorems.CompactAvoidance
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arcs in the compact-complement real line TopologyByExample.Theorems.CompactComplementLocalArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compact factors and countable compactness TopologyByExample.Theorems.CompactCountablyCompact
Proper maps lift cluster points, so their inverse images preserve countable compactness. Applying this to the projections gives the compact-factor product theorem without any separation hypothesis. - Compactness properties: disjoint sums, products and a few implications TopologyByExample.Theorems.Compactness
For compactness, σ-compactness, countable compactness, sequential compactness and weak local compactness, a binary disjoint sumX ⊕ Yhas the property if and only if both summands have it. Mathlib has the instances for compactness and σ-compactness ofX ⊕ Y; this file adds the others and the equivalences. It also proves a few implications through intermediate properties that the second study of the project uses. - Variants of compactness TopologyByExample.Theorems.CompactnessVariants
This file relates limit point compactness, pseudocompactness, local relative compactness and σ-local compactness to each other and to the compactness properties of Mathlib. How they behave under disjoint sums, products and countable powers is proved with the other transfers, inTopologyByExample.Operators.Sum,TopologyByExample.Operators.ProductandTopologyByExample.Operators.CountablePower. - Connected partitions in cofinite, cocountable and ultrafilter topologies TopologyByExample.Theorems.ComplementTopologyDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local path connectedness of complete locally connected metric spaces TopologyByExample.Theorems.CompleteLocallyConnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Completely metrizable subspaces and unions TopologyByExample.Theorems.CompletelyMetrizableUnion
A completely metrizable subspace of a metrizable space is aGδset (one direction of Alexandrov's and Mazurkiewicz's characterisation;IsGδ.isCompletelyMetrizableSpacein Mathlib is the other, for a completely metrizable ambient space). We prove it for the range of an embedding: fix a compatible metric on the ambient space and a complete compatible metric on the subspace; the points of the closure of the range having, for everyn, a neighbourhood whose trace on the range has diameter less than1 / (n + 1)in the complete metric form aGδset, and it is the range, since a point of it is the limit of a Cauchy sequence of the subspace. - Further exact illustrations for the compressed real metric TopologyByExample.Theorems.CompressedMetricExamples
Compression is nonexpansive, and the natural-number enumeration is Cauchy without a cluster point in the compressed metric. - The bounded incomplete metric on the real line TopologyByExample.Theorems.CompressedRealMetric
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Real-valued functions on small connected spaces TopologyByExample.Theorems.ConnectedCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Polygonal paths labelled by connected neighbourhoods TopologyByExample.Theorems.ConnectedPolygon
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Limits of connected polygon refinements TopologyByExample.Theorems.ConnectedPolygonLimit
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Refining connected polygonal paths TopologyByExample.Theorems.ConnectedPolygonRefinement
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Implications between the connectedness properties TopologyByExample.Theorems.Connectedness
This file collects the implications between connectedness, path connectedness, local connectedness, local path connectedness, total disconnectedness, total separatedness and zero-dimensionality that Mathlib does not state, together with the predicatePathPreconnectedSpace. - Hyperconnected, ultraconnected and strongly connected spaces TopologyByExample.Theorems.ConnectednessExtremes
This file proves the theory of three strong forms of connectedness: - Countability of spaces of continuous maps TopologyByExample.Theorems.ContinuousMapSecondCountable
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arc connectedness of convex subspaces TopologyByExample.Theorems.ConvexLocalArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinalities of spaces with real coordinates TopologyByExample.Theorems.CoordinateCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The countable chain condition TopologyByExample.Theorems.CountableChainCondition
A topological space satisfies the countable chain condition if every family of pairwise disjoint nonempty open sets is countable. We state it as∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id → S.Countable. - Countable closed covers by countably metacompact subspaces TopologyByExample.Theorems.CountableClosedMetacompactCover
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connected rays in the countable complement extension of the real line TopologyByExample.Theorems.CountableComplementExtensionBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness fails for the countable complement extension TopologyByExample.Theorems.CountableComplementMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable extent TopologyByExample.Theorems.CountableExtent
A topological space has countable extent if every uncountable subset has an accumulation point; equivalently, every closed discrete subset is countable. We state it as∀ s : Set X, ¬ s.Countable → ∃ x, AccPt x (𝓟 s). - Countable covers by countably compact sets TopologyByExample.Theorems.CountableExtentCover
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable extent and closed embeddings TopologyByExample.Theorems.CountableExtentEmbeddings
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable extent from a countably compact part and Lindelöf remainder TopologyByExample.Theorems.CountableExtentRemainders
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable extent of a disjoint sum TopologyByExample.Theorems.CountableExtentSum
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Ordinal spaces TopologyByExample.Theorems.CountableOrdinalSpaces
For an ordinalα, the ordinal space[0, α)is the setSet.Iio αof ordinals belowαwith the order topology. Mathlib's topology onOrdinalis the order topology, and the subspace topology on the order-connected setSet.Iio αis again the order topology (orderTopology_of_ordConnected), so we useSet.Iio αwith its subspace topology. - Closed refinements with countably many missing points TopologyByExample.Theorems.CountableRemainderMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A countable refinement on a clopen piece TopologyByExample.Theorems.CountableShrinkingRefinement
A countable open cover whose closures refine prescribed open sets gives a locally finite refinement on a clopen subset. Removing the preceding closures provides local finiteness. - Metacompactness of countable T₁ spaces TopologyByExample.Theorems.CountableT1Metacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Point-star refinements in countably compact spaces TopologyByExample.Theorems.CountablyCompactFullNormality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - First countable, countably compact Hausdorff spaces are regular TopologyByExample.Theorems.CountablyCompactRegular
Letxbe a point with a countable neighbourhood baseu 0 ⊇ u 1 ⊇ ⋯and letKbe a countably compact set such thatxcan be separated by disjoint neighbourhoods from every point ofK(for instance, in a Hausdorff space). ThenxandKhave disjoint neighbourhoods. Indeed, otherwise every closureclosure (u n)meetsK, say aty n; the sequenceyhas a cluster pointz ∈ K; ifV ∋ xandW ∋ zare disjoint neighbourhoods, withWopen, andu m ⊆ V, thenclosure (u m)missesW, soy n ∉ Wfor alln ≥ m, contradicting thatzis a cluster point ofy. - Decreasing closed sets and countable metacompactness TopologyByExample.Theorems.CountablyMetacompactDecreasing
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of deleted products with isolated coordinates TopologyByExample.Theorems.DeletedAlmostDiscreteMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of the deleted diameter plane TopologyByExample.Theorems.DeletedDiameterMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arcs in the deleted diameter and deleted radius topologies TopologyByExample.Theorems.DeletedDiscArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Deleted products: the planks are neither normal nor countably paracompact TopologyByExample.Theorems.DeletedProduct
LetXbe a T₁ space andpa point ofXsuch that any countably many neighbourhoods ofphave a common point other thanp; letYbe a Hausdorff space andqthe limit of an injective sequenceyof points other thanq. Then the productX × Ywith the point(p, q)removed is neither normal nor countably paracompact. - Metacompactness of the deleted radius plane TopologyByExample.Theorems.DeletedRadiusMetacompact
This file was written by Claude (Anthropic's AI model) and Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of the deleted Tychonoff plank TopologyByExample.Theorems.DeletedTychonoffCountablyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of metacompactness in the deleted Tychonoff plank TopologyByExample.Theorems.DeletedTychonoffMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Dense completely metrizable subspaces are G-delta TopologyByExample.Theorems.DenseCompleteGDelta
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Dense subsets of the plane in general position TopologyByExample.Theorems.DenseGeneralPosition
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Adjoining a dense open set preserves clopen sets TopologyByExample.Theorems.DenseOpenRefinement
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness in spaces with a point in every nonempty open set TopologyByExample.Theorems.DensePointMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connected intervals in the rational and irrational extensions of the real line TopologyByExample.Theorems.DenseTraceBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Discrete, scattered, extremally disconnected and totally path disconnected spaces TopologyByExample.Theorems.Disconnectedness
This file proves the implications between the extreme forms of disconnectedness and the other properties of spaces. How these properties behave under disjoint sums, products, countable powers, the one-point compactification and the closed extension is proved with the other transfers, in the filesTopologyByExample.Operators.Sum,.Product,.CountablePower,.OnePointand.ClosedExtension. No separation axiom is assumed anywhere unless it is stated. - Uncountable closed discrete subsets in two product spaces TopologyByExample.Theorems.DiscreteExtentExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arbitrary powers of the discrete naturals TopologyByExample.Theorems.DiscreteNaturalsPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Dispersion points in T₁ spaces TopologyByExample.Theorems.DispersionCriteria
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Examples of biconnectedness and dispersion points TopologyByExample.Theorems.DispersionExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Biconnected spaces and dispersion points TopologyByExample.Theorems.DispersionPoint
Connectedness is included in both properties. Nondegenerate connected sets are sets with at least two points. No separation assumption is made. - Separation at a dispersion point TopologyByExample.Theorems.DispersionT0
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The double Jones construction TopologyByExample.Theorems.DoubleJones
Integer-indexed copies of a space are given two ideal ends. Gluing adjacent copies alternately along two disjoint closed sets gives the double Jones construction. - Point-finite neighbourhoods in the double Jones construction TopologyByExample.Theorems.DoubleJonesMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Properties of the double Jones construction TopologyByExample.Theorems.DoubleJonesProperties
Closed scattered levels give a scattered double Jones space. Boundedness and countable compactness are controlled by the two tails and finitely many levels. - Local arcs in the double origin plane TopologyByExample.Theorems.DoubleOriginPlaneArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Injective paths on the circle with a multiplied point TopologyByExample.Theorems.DoubledCircleArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Perfectly normal spaces are countably paracompact TopologyByExample.Theorems.Dowker
We prove the converse ofTopologyByExample.CountablyParacompactSpace.exists_open_iInter_closure_eq_empty(Ishikawa's characterisation): a space in which every decreasing sequence of closed sets with empty intersection can be enlarged to a sequence of open sets whose closures have empty intersection is countably paracompact. From it we deduce Dowker's theorem that a perfectly normal space is countably paracompact. Perfect normality here is Mathlib'sPerfectlyNormalSpace(normal, with every closed set aGδ); no separation axiom is assumed. - Normal products with compact second-countable spaces TopologyByExample.Theorems.DowkerCompactProduct
Finite unions of a countable basis separate the two closed fibres. Countable paracompactness supplies a locally finite refinement on the first factor, and Mathlib's shrinking lemma supplies an open shrinking. Products of those shrunken sets with the selected fibre neighbourhoods give a separation in the product. - The unit interval detects failure of countable paracompactness TopologyByExample.Theorems.DowkerInterval
A space whose product with the unit interval is normal is countably paracompact. The reciprocals of positive integers give the required convergent sequence. - Normal products and countable paracompactness TopologyByExample.Theorems.DowkerProduct
The closed-sequence criterion detects failure of normality after taking a product with a space containing a nontrivial convergent sequence. The converse for compact metrizable factors is developed alongside this implication. - Arc-connected neighbourhoods in the Hawaiian earring TopologyByExample.Theorems.EarringArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of metacompactness in the Ellentuck space TopologyByExample.Theorems.EllentuckMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The Ellentuck space and van Douwen's space Ω TopologyByExample.Theorems.EllentuckVanDouwen
Each space embeds as a closed subspace of the other. In particular, their countable metacompactness questions are equivalent. - Failure of arc connectedness in the everywhere doubled line TopologyByExample.Theorems.EverywhereDoubledArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness fails for the everywhere doubled line TopologyByExample.Theorems.EverywhereDoubledMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Exact continuum cardinality under finite constructions TopologyByExample.Theorems.ExactCardinalityTransfers
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Excluded point topologies TopologyByExample.Theorems.ExcludedPointTopologies
The excluded point topology on a setX ∪ {p}has as open sets the whole space and every set not containing the excluded pointp. It is the open extension of the discrete spaceX(TopologyByExample.OpenExtension Xwith[DiscreteTopology X]), and this file proves what the family of these spaces needs, for every discreteXor under conditions on its size. - Biconnectedness and open extensions TopologyByExample.Theorems.ExtensionBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Dispersion points in open and closed extensions TopologyByExample.Theorems.ExtensionDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Dense subspaces of extremally disconnected spaces TopologyByExample.Theorems.ExtremallyDisconnectedDense
A dense subspace of an extremally disconnected space is extremally disconnected: the closure of an open set of the subspace is the trace of the closure of an open set of the whole space. - Cardinality of the punctured Knaster–Kuratowski fan TopologyByExample.Theorems.FanCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Spaces obtained by attaching filter limits to a discrete set TopologyByExample.Theorems.FilterAttachment
This construction supplies the topology underlying ladder-system spaces. No existence principle for ladder systems is assumed here. - Arc components in final topologies TopologyByExample.Theorems.FinalTopologyArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Total disconnectedness from finite fibres TopologyByExample.Theorems.FiniteFibreDisconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A finite-support kernel lemma TopologyByExample.Theorems.FiniteSupportKernel
An uncountable family of finite supports has a finite kernel from which petals can be chosen outside any prescribed countable set. - Fort spaces TopologyByExample.Theorems.FortSpaces
The Fort space on a setXwith a pointpisXwith the topology in which a set not containingpis open, and a set containingpis open if its complement is finite. It is the one-point compactification of the discrete spaceX ∖ {p}, and that is how we take it: for a discrete spaceX, the Fort space isOnePoint X, whose point at infinity plays the role ofp. - Fortissimo spaces TopologyByExample.Theorems.FortissimoSpaces
The fortissimo space on a setXisXwith one new pointpadjoined: every point ofXis isolated, and the open sets containingpare the sets containingpwhose complement is countable. It is the one-point Lindelöfication of the discrete spaceX, as the Fort space is its one-point compactification: the cocountable sets play the part of the cofinite ones. - The weighted-sum Fréchet metric on a countable product TopologyByExample.Theorems.FrechetProductMetric
Coordinates start at zero, so the weight of coordinatenis2^(-(n+1)). - Point-star refinements TopologyByExample.Theorems.FullNormality
Fully T₄ means that every open cover has an open point-star refinement. Fully normal adds T₁, following the terminology of Steen and Seebach's charts. - Closed-subspace inheritance and a divisor obstruction for fully T₄ TopologyByExample.Theorems.FullNormalityTransfers
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Extending a map constantly across gaps TopologyByExample.Theorems.GapExtension
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Foundations for further properties of spaces TopologyByExample.Theorems.GridProperties
This file defines the properties of topological spaces that Mathlib does not have and that the project studies next, together with what every later argument about them needs: a small theory of regular open sets, equivalent forms of some definitions, and the values of each property on spaces with at most one point and on indiscrete spaces. Their invariance under homeomorphism is proved inTopologyByExample.Theorems.HomeomorphInvariance. - Local arcs in the half-disc topology TopologyByExample.Theorems.HalfDiscArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Exact illustrations on the convergent reciprocal sequence TopologyByExample.Theorems.HarmonicSequenceIllustrations
A continuous bijection from a discrete countable space, irrational cuts, and the open even reciprocals whose closure is not open. - Hausdorff path images TopologyByExample.Theorems.HausdorffPathImage
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality criteria for biconnected hereditarily connected spaces TopologyByExample.Theorems.HereditarilyConnectedDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Coordinates and the norm determine Hilbert-space convergence TopologyByExample.Theorems.HilbertNormGraph
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Invariance of properties under homeomorphism TopologyByExample.Theorems.HomeomorphInvariance
Every topological property is, by definition, preserved by homeomorphisms. This file records the fact, in one uniform shape, for each property the project studies: for a homeomorphisme : X ≃ₜ Y, the spaceXhas the property if and only ifYdoes. Most statements follow from Mathlib's results on embeddings, quotient maps or homeomorphisms; the properties stated by a formula (countable chain condition, countable extent, limit point compactness, ω-boundedness) and the two orderability properties are transported by hand. - Point-finite covers of nonmeagre hyperconnected spaces TopologyByExample.Theorems.HyperconnectedMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Indiscrete spaces TopologyByExample.Theorems.Indiscrete
A space with the indiscrete topology (Mathlib's classIndiscreteTopology) has only∅and the whole space as open sets. All its points are inseparable, so it is not T₀ once it has two points. On the other hand it is perfectly normal, since its only closed sets are∅and the whole space, which are open (hence \(G_\delta\)), and of any two disjoint closed sets one is empty. It is preconnected. - Cardinalities of indiscrete examples TopologyByExample.Theorems.IndiscreteCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arcs in products with an indiscrete factor TopologyByExample.Theorems.IndiscreteFactorArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of the interlocking interval topology TopologyByExample.Theorems.InterlockingMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connected sets confined to disjoint intervals of the irrational-slope axis TopologyByExample.Theorems.IrrationalSlopeBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Katětov's theorem on completely normal products TopologyByExample.Theorems.Katetov
IfX × Yis completely normal andYis a T₁ space with a convergent sequence of pointsy n → y₀, none equal to its limit, then every closed set ofXis a \(G_\delta\) set, soXis perfectly normal. This is one half of a theorem of Katětov. It shows, for instance, that the product of a normal space that is not perfectly normal with the unit interval is not completely normal. - Countable metacompactness of Katětov's subspace TopologyByExample.Theorems.KatetovMetacompact
This file was written by Claude (Anthropic's AI model) and Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Lexicographic sums of linear orders TopologyByExample.Theorems.LexicographicSum
Two order-theoretic facts about the lexicographic sumα ⊕ₗ βof linear orders (every element ofαbelow every element ofβ), used to build the long line from two copies of the long ray. - Spaces with several origins, and the lines with several origins TopologyByExample.Theorems.LinesWithOrigins
- Local arcs in open subspaces and disjoint sums TopologyByExample.Theorems.LocalArcBasics
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinality obstruction to local arc connectedness TopologyByExample.Theorems.LocalArcCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - First countability from a locally compact compression TopologyByExample.Theorems.LocallyCompactCompression
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness with a locally compact open part TopologyByExample.Theorems.LocallyCompactRemainderMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Small connected chains in locally connected metric spaces TopologyByExample.Theorems.LocallyConnectedPaths
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Perfect normality of locally connected zero-dimensional spaces TopologyByExample.Theorems.LocallyConnectedZeroDimensional
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arc connectedness in long ordered spaces TopologyByExample.Theorems.LongOrderArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The lower set topology TopologyByExample.Theorems.LowerSetTopology
Mathlib's lower set topology on a preorder (Topology.IsLowerSet) has as open sets exactly the lower sets. This file adds some of its countability, compactness and separation properties. - The CH avoidance construction for Luzin subsets TopologyByExample.Theorems.LuzinCH
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The integer-sequence ambient space for the special Luzin set TopologyByExample.Theorems.LuzinIntegerPower
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Shared facts about Luzin subsets TopologyByExample.Theorems.LuzinSets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The paired construction of a special Luzin set TopologyByExample.Theorems.LuzinSpecial
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arcs on the sphere and the real projective plane TopologyByExample.Theorems.ManifoldArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The line with two-to-continuum many origins TopologyByExample.Theorems.ManyOriginsCardinality
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Mathias's analytic partition theorem TopologyByExample.Theorems.MathiasAnalytic
For a selective free ultrafilter, every analytic or coanalytic family of infinite subsets of the naturals has a homogeneous member of the ultrafilter. Infinite subsets carry their usual topology as a subspace of the Cantor product. - Finite stems and selective fusion TopologyByExample.Theorems.MathiasCones
Mathias cones consist of infinite subsets with a prescribed finite initial segment and a tail in an ultrafilter member. The fusion lemma gives simultaneous tail containment for all finite subsets of one selective-ultrafilter member. - Pure decisions for open partitions TopologyByExample.Theorems.MathiasDecision
Selective fusion stabilizes every decision that is available at a finite stem. If a stem remains undecided, its undecided one-point extensions form an ultrafilter member. A second fusion then handles open partitions. - Ramsey envelopes and countable trees TopologyByExample.Theorems.MathiasEnvelope
Every family of infinite subsets has a completely Ramsey envelope whose measurable excess is null. Applying these envelopes to a countable tree gives the closure argument needed for analytic partitions. - The completely Ramsey sigma-algebra TopologyByExample.Theorems.MathiasSigma
Countable selective fusion closes the completely Ramsey sets under countable unions, and closes the Ramsey-null ideal under countable unions. - Metacompactness TopologyByExample.Theorems.Metacompactness
Metacompactness and countable metacompactness are defined without separation assumptions, using point-finite open refinements of covers. - A Banach-space embedding of an arbitrary metric space TopologyByExample.Theorems.MetricBanachEmbedding
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness after making a subset open TopologyByExample.Theorems.MetricOpenExtensionMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Sigma-locally finite bases from small open covers TopologyByExample.Theorems.MetricSigmaBasis
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A closed discrete subgraph in the Michael product TopologyByExample.Theorems.MichaelProductDiscreteGraph
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of the Michael line times the Baire space TopologyByExample.Theorems.MichaelProductMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arcs and obstructions at multiple origins TopologyByExample.Theorems.MultipleOriginArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of Mysior's space TopologyByExample.Theorems.MysiorMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of uncountable discrete powers TopologyByExample.Theorems.NaturalsPowerMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A bounded embedding with a point at infinity TopologyByExample.Theorems.NormInfinityEmbedding
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness in normal spaces TopologyByExample.Theorems.NormalCountablyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Disjoint supports in an infinite set of ultrafilters TopologyByExample.Theorems.NovakDisjointSupports
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Selection avoiding an involution TopologyByExample.Theorems.NovakRecursion
The recursion keeps one point per stage. Its initial-segment bound does not require the indexing cardinal to be regular. - Extending a sequence of ultrafilters TopologyByExample.Theorems.NovakUltrafilterEmbedding
Disjoint supports make the extension injective, a step toward finding a copy of beta N in each infinite closed subset of beta N. - Countable powers of examples for Nyikos's problem TopologyByExample.Theorems.NyikosPower
Nyikos's Problem 1 asks for a separable, first countable, countably compact Hausdorff space that is not compact, in ZFC. We show that the countable power of such a space is again such a space, and is moreover not weakly locally compact. So an example of either kind gives one that is not weakly locally compact. - ω-bounded spaces TopologyByExample.Theorems.OmegaBounded
A topological spaceXis ω-bounded if the closure of every countable subset ofXis compact. Mathlib has no name for this property, and we do not introduce one: following the project's content, we state it as∀ s : Set X, s.Countable → IsCompact (closure s). - Dense neighbourhoods and the one-point compactification TopologyByExample.Theorems.OnePointCompactification
A point all of whose neighbourhoods are dense forces strong restrictions on a space: every continuous map from the space to a Hausdorff space is constant, and the space is not semiregular unless the point's only neighbourhood is the whole space. In the one-point compactificationOnePoint Xthe point at infinity has this property exactly when every closed compact subset ofXhas empty interior. We also characterise whenOnePoint Xis connected and show that the one-point compactification of a first countable space is sequentially compact. - Complete normality of a one-point compactification TopologyByExample.Theorems.OnePointCompletelyNormal
A regular space in which the complement of some point is a completely normal open subspace is completely normal: separated sets avoiding the point are separated inside the complement, and if the point lies in one of them, regularity separates it from the closure of the other. - Dispersion at infinity in a one-point compactification TopologyByExample.Theorems.OnePointDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The one-point compactification of a well order is the order with a top added TopologyByExample.Theorems.OnePointWithTop
LetWbe a linear order with its order topology, and add a greatest element⊤to getWithTop W, again with its order topology. The inclusionW → WithTop Wis an embedding whose range misses exactly⊤(Mathlib'sWithTop.isEmbedding_coe), andWithTop Wis Hausdorff, being an order topology. So wheneverWithTop Wis compact, it is the one-point compactification ofW: the identity onW, sending the point at infinity to⊤, is a homeomorphismOnePoint W ≃ₜ WithTop W. - Refining open families on their union TopologyByExample.Theorems.OpenFamilyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The open long ray is not metacompact TopologyByExample.Theorems.OpenLongRayMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness from an open part and compact remainder TopologyByExample.Theorems.OpenPartCompactMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness from an open part and countably compact remainder TopologyByExample.Theorems.OpenPartMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness after refining the topology on an open part TopologyByExample.Theorems.OpenRefinementMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable cofinal sets in order-connected subsets TopologyByExample.Theorems.OrdConnectedCofinal
TopologyByExample.firstCountableTopology_of_countable_cofinalshows that a linear order is first countable in its order topology when everySet.Iio ahas a countable cofinal subset and everySet.Ioi ahas a countable coinitial subset. This file shows that these hypotheses are inherited by order-connected subsets, and that they hold trivially in a countable linear order. - Countably many one-sided endpoints of a set TopologyByExample.Theorems.OrderEndpoints
LetObe a subset of a separable, densely ordered linear order with the order topology. Only countably many pointsx ∉ Oare the right end of an open interval(a, x) ⊆ Owitha < x: for two such pointsx < ythe pointxcannot lie in the interval ofy, so the intervals are disjoint, and each contains a point of a fixed countable dense set. The same holds for left ends. These are used to show that the double arrow space is hereditarily Lindelöf. - Closed intervals of conditionally complete orders that look like
[0, 1]TopologyByExample.Theorems.OrderIntervals
LetXbe a conditionally complete linear order. If a closed interval[a, b]ofX, witha < b, has a countable subsetDthat is order-dense in it (between any two points of[a, b]lies a point ofD), then[a, b]is order-isomorphic to[0, 1], hence, with the order topologies, homeomorphic to it. This is the classical fact behind the long line: every closed initial segment of the long ray is an arc. - Linear orders with jumps between any two points TopologyByExample.Theorems.OrderJumps
A jump in a linear order is a pairc ⋖ d:c < dwith nothing strictly between them. In the order topology the setSet.Iic c = Set.Iio dis then both closed and open. If every two points are separated by a jump, these sets separate points, so the space is totally separated. - Countably compact linearly ordered spaces are sequentially compact TopologyByExample.Theorems.OrderSeqCompact
Every sequence in a linear order has a monotone subsequence (the infinitary Erdős–Szekeres theorem,exists_increasing_or_nonincreasing_subseq). In the order topology a monotone sequence converges to each of its cluster points, so in a countably compact linearly ordered space every sequence has a convergent subsequence. No separation axiom is assumed. - Linearly orderable spaces TopologyByExample.Theorems.OrderTopology
A topological spaceXis linearly orderable if its topology is the order topology of some linear order onX, and completely linearly orderable if that linear order can be taken to be complete (every subset has a supremum and an infimum, so in particular there is a least and a greatest element). We state these as∃ o : LinearOrder X, letI := o; OrderTopology Xand∃ o : CompleteLinearOrder X, letI := o; OrderTopology X. - Convex components and connected ordered spaces TopologyByExample.Theorems.OrderTopologyIllustrations
The convex-component description, bounded completeness forced by connectedness, and the cut-point illustration from the general order-topology example. - Cardinalities of ordinal representatives TopologyByExample.Theorems.OrdinalCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Further spaces of cardinality aleph one TopologyByExample.Theorems.OrdinalCardinalityRemainder
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable path images in ray topologies on the first uncountable ordinal TopologyByExample.Theorems.OrdinalRayArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of lines with several origins TopologyByExample.Theorems.OriginsMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arcs in the overlapping interval topology TopologyByExample.Theorems.OverlappingIntervalArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - P-spaces TopologyByExample.Theorems.PSpaces
A P-space is a space in which every countable intersection of open sets is open. The definition does not include a separation axiom. Countable subsets of a T₁ P-space are closed, and first-countable T₁ P-spaces are discrete. Continuous maps to first-countable T₁ spaces have open fibres; on a preconnected domain they are constant. - Permanence and Lindelöf properties of P-spaces TopologyByExample.Theorems.PSpacesPermanence
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Paracompactness, countable paracompactness and the countable chain condition TopologyByExample.Theorems.Paracompactness
This file proves the implications between paracompactness, countable paracompactness, the countable chain condition and the compactness properties, and three general theorems about countable paracompactness. No separation axiom is built into any of the definitions, and none is assumed below unless it is stated. - Particular point topologies TopologyByExample.Theorems.ParticularPointTopologies
The particular point topology on a set with a chosen pointphas as open sets the empty set and the sets containingp. WritingXfor the set of the other points, it is the closed extensionTopologyByExample.ClosedExtension Xof the discrete spaceX: the new point isp, and a set is open exactly when it is empty or containsp, since every trace onXis open. - Arbitrary partition topologies TopologyByExample.Theorems.PartitionTopology
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Specialization at a dispersion point in a path-connected space TopologyByExample.Theorems.PathDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed domains for path loop erasure TopologyByExample.Theorems.PathLoopErasure
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Real parameters for paths with interval fibres TopologyByExample.Theorems.PathParameter
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Extracting an arc from a Hausdorff path TopologyByExample.Theorems.PathToArc
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness when closed sets are G-delta TopologyByExample.Theorems.PerfectMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed G-delta sets in products with a second countable factor TopologyByExample.Theorems.PerfectSecondCountableProduct
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed sets in regular spaces with sigma-locally finite bases TopologyByExample.Theorems.PerfectlyNormalSigmaBasis
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Topologies on the plane between the Euclidean topology and the cross topology are Baire TopologyByExample.Theorems.PlaneBaire
LetXbe a space in bijectione : ℝ × ℝ ≃ Xwith the plane, such that the topology ofXis finer than the Euclidean one (e.symmis continuous) and every horizontal and every vertical line carries a topology at least as coarse as its Euclidean one (x ↦ e (x, b)andy ↦ e (a, y)are continuous). ThenXis a Baire space. - Closed covers in topologies with continuous coordinate lines TopologyByExample.Theorems.PlaneClosedCover
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Thin rectangles joining two open subsets of the plane TopologyByExample.Theorems.PlaneRectangle
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Preparatory separation lemmas for the plane TopologyByExample.Theorems.PlaneSeparation
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Closed discrete edges of deleted products TopologyByExample.Theorems.PlankDiscreteEdges
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Products that are not normal: the plank argument TopologyByExample.Theorems.PlankNotNormal
The classical proof thatω₁ × (ω₁ + 1)is not normal separates nothing: the diagonal{(x, x)}and the top edgeω₁ × {ω₁}are disjoint closed sets, and any open setVaround the top edge contains, above eachx, a vertical segment{x} × (b x, ω₁]. Choosingx₀ < x₁ < ⋯withx (n + 1)aboveb (x n), the points(x n, x (n + 1))lie inVand converge to the diagonal point(z, z), wherezis the supremum; so every open set around the diagonal meetsV. - Attaching an open point above a specified point TopologyByExample.Theorems.PointAttachment
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness fails for the pointed irrational extension TopologyByExample.Theorems.PointedIrrationalMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable extent of four spaces with countably compact parts TopologyByExample.Theorems.PositiveExtentExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Connected partitions of the prime ideal topology TopologyByExample.Theorems.PrimeIdealBiconnected
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Lexicographic products of linear orders TopologyByExample.Theorems.ProdLex
General results about the lexicographic productα ×ₗ βof two linear orders, with the order topology. - Baire property of products of real lines TopologyByExample.Theorems.ProductRealBaire
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Covering consequences of pseudocompactness TopologyByExample.Theorems.PseudocompactCovers
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Pseudocompactness with a compact factor TopologyByExample.Theorems.PseudocompactProduct
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Failure of countable metacompactness in the radial plane TopologyByExample.Theorems.RadialCountablyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arc-connected balls for the radial metric TopologyByExample.Theorems.RadialMetricArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinalities of real lines and planes with different topologies TopologyByExample.Theorems.RealCardinalities
Changing the topology on the reals or adjoining finitely many points preserves their cardinality. The real plane has the same cardinality as the real line. - Interval operations in the real-line examples TopologyByExample.Theorems.RealIntervalOperations
Exact interval and closure/interior comparisons for Example 32, items 4--6. - Real-line injections obstruct biconnectedness TopologyByExample.Theorems.RealLineBiconnectedObstruction
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Exact statements for the real-line illustrations TopologyByExample.Theorems.RealLineIllustrations
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Injective paths for right order topologies on real intervals TopologyByExample.Theorems.RealRayArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Real sequences in the Stone–Čech compactification TopologyByExample.Theorems.RealStoneCechSequences
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Embeddings of intervals and ambient inequivalence of finite arrangements TopologyByExample.Theorems.RealSubspaceEmbeddings
The open and closed unit intervals embed into one another without being homeomorphic. The two interval-and-two-point arrangements are homeomorphic as subspaces, but no homeomorphism of the ambient real line identifies them. - Realcompact spaces TopologyByExample.Theorems.Realcompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Accumulation and metric incompleteness of the reciprocal sequence TopologyByExample.Theorems.ReciprocalMetricExamples
These statements distinguish the topology of a reciprocal subspace from the completeness of its inherited real metric. - Reciprocal subsets and their separated unions TopologyByExample.Theorems.ReciprocalSubsets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - A two-dimensional intermediate value theorem TopologyByExample.Theorems.RectangleIVT
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Convergent sequences for dense-open refinements TopologyByExample.Theorems.RefinementSequence
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Regular spaces with sigma-locally finite bases TopologyByExample.Theorems.RegularSigmaBasis
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Residual continuum computations TopologyByExample.Theorems.ResidualContinuumCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Point-finite refinements on continuous retracts and product factors TopologyByExample.Theorems.RetractMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The left ray topology on
ω₁as a right order topology TopologyByExample.Theorems.RightOrderLeftRay
The left ray topology onω₁(TopologyByExample.LeftRay, whose open sets are the lower sets ofω₁) is the right order topology ofω₁with its order reversed:TopologyByExample.RightOrderTopologies.leftRayHomeomorph : LeftRay ≃ₜ WithUpper OmegaOneᵒᵈ(TopologyByExample.RightOrderTopologies.exists_leftRay_homeomorph). Inω₁every countable ordinalxhas a successor, so the closed ray{y : y ≤ x}is the open ray{y : y < x + 1}, and every lower set is a union of such rays. - Further right order representatives TopologyByExample.Theorems.RightOrderSourceRepresentatives
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Right order topologies TopologyByExample.Theorems.RightOrderTopologies
The right order topology of a linearly ordered setXis the topology generated by the open raysSet.Ioi a: its open sets are∅,Xand the unions of open rays. It is Mathlib's upper topologyTopology.WithUpper X(generated by the complements of the raysSet.Iic a, which for a linear order are the raysSet.Ioi a). - Arcs in the right-ray topology on the real line TopologyByExample.Theorems.RightRayArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Scattered subspaces of metric spaces TopologyByExample.Theorems.ScatteredMetricGDelta
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Zero-dimensionality of scattered metric spaces TopologyByExample.Theorems.ScatteredZeroDimensional
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Second countability of a topology generated by two topologies TopologyByExample.Theorems.SecondCountable
- Diagonal selection from selectivity TopologyByExample.Theorems.SelectiveDiagonal
The constant-or-injective definition gives pseudointersections and sufficiently spaced members. Together they give diagonal selection and the full finite partition characterization. - Selectivity and P-points of the remainder TopologyByExample.Theorems.SelectivePoints
A selective free ultrafilter is a P-point of the Stone–Čech remainder, and hence a weak P-point. These implications do not identify the three notions and do not assert the existence of a selective ultrafilter. - Selective ultrafilters and finite partition properties TopologyByExample.Theorems.SelectiveUltrafilters
The function definition of selectivity and the diagonal selection property are kept explicit. Diagonal selection gives homogeneous members for every finite colouring of fixed-size finite subsets. - Disjoint real subsets and interval identifications TopologyByExample.Theorems.SeparatedRealSubsets
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Uniformly separated sets in metric spaces TopologyByExample.Theorems.SeparatedSets
A setsin a metric space isε-separated if any two of its distinct points are at distance at leastε > 0. Such a set is closed and discrete; if it is infinite, it lies in no compact set; and if it is indexed injectively by the real line, it is a closed discrete set of cardinality𝔠. - Implications between separation axioms TopologyByExample.Theorems.Separation
This file collects implications between the separation axioms T₀, R₀, T₁, T₂½ (Urysohn), regularity, complete regularity, normality, complete normality and perfect normality, all in Mathlib's unbundled form, together with some general facts about them. - The separation quotient TopologyByExample.Theorems.SeparationQuotient
The separation quotientSeparationQuotient X(the T₀ or Kolmogorov quotient) identifies points ofXthat have the same neighbourhoods. The quotient mapSeparationQuotient.mkis continuous, open, closed and surjective, and inducing, so many properties pass fromXto the quotient, and some back. This file collects those the content needs and that Mathlib lacks. - Functionally Hausdorff and semiregular spaces TopologyByExample.Theorems.SeparationVariants
This file places two refinements of the separation axioms, functional Hausdorffness (TopologyByExample.FunctionallyHausdorffSpace) and semiregularity (TopologyByExample.SemiregularSpace), among the separation axioms already studied, and shows how they behave under the separation quotient. Their behaviour under disjoint sums, products and countable powers is proved with the other transfers, inTopologyByExample.Operators.Sum,TopologyByExample.Operators.ProductandTopologyByExample.Operators.CountablePower. - Products of sequentially compact spaces TopologyByExample.Theorems.SeqCompactProduct
A countable product of sequentially compact spaces is sequentially compact. The proof is the classical diagonal argument: one refines a subsequence once for each coordinate and then takes the diagonal. - Sierpiński's theorem on countable closed partitions of continua TopologyByExample.Theorems.SierpinskiContinuum
Sierpiński's theorem (1918): a compact connected Hausdorff space is not the union of countably many pairwise disjoint nonempty closed sets, unless there is only one of them. In particular the unit interval is not such a union. - Sigma-locally finite bases of binary products TopologyByExample.Theorems.SigmaBasisProduct
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness from a countable closed compact cover TopologyByExample.Theorems.SigmaCompactMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Zero-dimensionality from a countable compact cover TopologyByExample.Theorems.SigmaCompactZeroDimensional
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Sigma-locally finite bases TopologyByExample.Theorems.SigmaLocallyFiniteBase
Local finiteness is measured in the ambient space. No separation assumption is included. - Arc-connected neighbourhoods in the simplified Arens square TopologyByExample.Theorems.SimplifiedArensArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arcs in the extended sine curve and the Warsaw circle TopologyByExample.Theorems.SineCurveArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Alexandrov, almost discrete, hereditarily connected and anticompact spaces TopologyByExample.Theorems.SmallClasses
This file introduces three small classes of spaces, uses Mathlib's fourth, and proves the implications between them and the other properties of spaces that the project needs: - Closed G-delta sets in the Sorgenfrey plane TopologyByExample.Theorems.SorgenfreyPerfectPlane
The proof follows the finite-product argument of R. W. Heath and E. A. Michael, A property of the Sorgenfrey line, Compositio Mathematica 23 (1971), 185–188, Lemma 2.3. - P-points, weak P-points and punctured compact spaces TopologyByExample.Theorems.SpecialPoints
A P-point has a neighbourhood filter closed under countable intersections. A weak P-point is outside the closure of every countable set avoiding it. Removing a weak P-point from a compact Hausdorff space gives an ω-bounded space; removing a point which is not a P-point prevents strong ω-boundedness. The point-existence theorem is a separate obligation. - Biconnectedness obstructions from disjoint specialization pairs TopologyByExample.Theorems.SpecializationPairs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Changing the endpoints of arcs by specialization TopologyByExample.Theorems.SpecializingArcEndpoints
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Arcs in the Alexandroff square and the cone over the lexicographic square TopologyByExample.Theorems.SquareConeArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Butterfly wings under the continuum hypothesis TopologyByExample.Theorems.StoneCechButterflyCH
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Transfinite construction of butterfly wings TopologyByExample.Theorems.StoneCechButterflyRecursion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The countable extension step for butterfly wings TopologyByExample.Theorems.StoneCechButterflyStep
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Copies of βℕ in its infinite closed subsets TopologyByExample.Theorems.StoneCechClosedCopies
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - The evaluation-cube construction of the Stone–Čech compactification TopologyByExample.Theorems.StoneCechConstruction
For a Tychonoff space, evaluation into the cube indexed by its continuous unit-interval functions embeds the space. The closure of that image is identified with Mathlib's ultrafilter-quotient construction by a homeomorphism commuting with the canonical maps. - Countable intersections in the Stone–Čech remainder TopologyByExample.Theorems.StoneCechRemainder
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Identification of the two free-ultrafilter interfaces TopologyByExample.Theorems.StoneCechRemainderInterface
The nonprincipal and cofinite-filter descriptions of the remainder are homeomorphic by the identity on their underlying ultrafilters. Existing clients can retain either interface without introducing another model of the space. - Uniqueness of the Stone–Čech compactification TopologyByExample.Theorems.StoneCechUniversal
A compact Hausdorff space with a dense continuous map fromXis its Stone–Čech compactification as soon as the Stone–Čech unit extends back to it. The usual universal extension property supplies this particular extension. - Submetrizable spaces TopologyByExample.Theorems.Submetrizable
A space is submetrizable if some metrizable topology on its underlying set is coarser than its own topology. In Mathlib's order on topologies a finer topology is smaller, so the condition on a topologytis‹TopologicalSpace X› ≤ t. No separation axiom is built into the definition; a submetrizable space is nevertheless functionally Hausdorff, since the continuous real functions of the coarser metrizable topology are continuous for the finer one. - Countable metacompactness of disjoint sums TopologyByExample.Theorems.SumCountablyMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Local arc connectedness of sums TopologyByExample.Theorems.SumLocalArcs
The sum theorem is provided byLocalArcBasics. - Local arcs in the tangent disc topologies TopologyByExample.Theorems.TangentDiscArcs
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Metacompactness of the Thomas plank TopologyByExample.Theorems.ThomasMetacompact
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Tower-number cardinality cases TopologyByExample.Theorems.TowerCardinalityCases
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Almost inclusion and towers TopologyByExample.Theorems.Towers
A setsis almost contained in a sett, writtens ⊆* t, ifs \ tis finite. A pseudo-intersection of a family of sets is a set almost contained in each member of the family. - Points that cannot be told apart by regular open sets TopologyByExample.Theorems.TwinPoints
Letxandybe points of a topological space such that the closure of every neighbourhood ofxis a neighbourhood ofy. Then every neighbourhood ofxmeets every neighbourhood ofy, every regular open set containingxcontainsy, and so, if some open set containsxbut noty, the space is not semiregular. - The ordinal
ω · 2as a convergent sequence plus a discrete sequence TopologyByExample.Theorems.TwoOmegaSum
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Compactness from ultraconnectedness and dispersion TopologyByExample.Theorems.UltraconnectedDispersion
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Cardinalities of ultrafilter spaces TopologyByExample.Theorems.UltrafilterCardinalities
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness in linear upper topologies TopologyByExample.Theorems.UpperMetacompactness
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Countable metacompactness of two upper half-plane topologies TopologyByExample.Theorems.UpperPlaneMetacompactExamples
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it. - Well orders: conditional completeness, and uncountable cofinality against perfect normality TopologyByExample.Theorems.WellOrder
In a well-ordered set every nonempty subset has a least element, which is its greatest lower bound; and a nonempty subset with an upper bound has a least upper bound, the least element of its (nonempty) set of upper bounds. Mathlib packages this as the structureWellFoundedLT.conditionallyCompleteLinearOrderBot; this file states it as a theorem about the given order, in the form used for complete linear orders elsewhere in the project (TopologyByExample.ProdLex.exists_isLUB_and_exists_isGLB). - Instances for
WithTopologyTopologyByExample.Theorems.WithTopology
Mathlib's type synonymWithTopology X tisXwith the topologyt. Mathlib transfers finiteness and infiniteness to it; this file adds countability and nontriviality, both through the equivalenceWithTopology.equiv.
Operators
- The closed extension of a space TopologyByExample.Operators.ClosedExtension
The closed extension of a topological spaceXisXwith one new pointpadjoined, whose nonempty open sets are the setsU ∪ {p}withUopen inX. Equivalently, a set is open if its trace onXis open inXand it containspas soon as it is nonempty. - Countable powers TopologyByExample.Operators.CountablePower
This file collects how the countable powerℕ → Xof a spaceXinherits, or fails to inherit, countability and compactness properties. - Countability and separation properties of the one-point compactification TopologyByExample.Operators.OnePoint
Mathlib'sOnePoint Xis the one-point (Alexandroff) compactification ofX. It is always compact (a Mathlib instance), and it is Hausdorff whenXis Hausdorff and weakly locally compact (through Mathlib's instanceNormalSpace (OnePoint X)). This file adds: - The open extension of a space TopologyByExample.Operators.OpenExtension
The open extension of a topological spaceXisXwith one new pointpadjoined, whose open sets are the open sets ofXtogether with the whole space. Equivalently, a set is open if its trace onXis open and it is the whole space as soon as it containsp. - Separation axioms and connectedness properties of binary products TopologyByExample.Operators.Product
For the separation axioms T₀, R₀, T₁, T₂ (Hausdorff), T₂½ (Urysohn), regularity and complete regularity, and for metrizability, the productX × Yof two nonempty spaces has the property if and only if both factors do. Mathlib has every instance except T₂½, added here (also for arbitrary products∀ i, Z i). Normality, complete normality and perfect normality pass from the product to a nonempty factor's companion (a factor is a retract and a subspace of the product), but not in general from the factors to the product. - Products with an indiscrete or a discrete factor, and the factors of a product TopologyByExample.Operators.ProductTransfers
IfYis indiscrete, the open sets ofX × Yare exactly the setsU ×ˢ univwithUopen inX: the first projectionX × Y → Xis inducing, and it is surjective whenYis nonempty. A surjective inducing mapf : X' → Xidentifies the open sets ofX'with those ofX(U ↦ f ⁻¹' U), so every property defined from the lattice of open sets passes both ways along it. We prove this for Lindelöfness, extremal disconnectedness, countable paracompactness and being of second category, and deduce the corresponding statements forX × Y. Moreover, whenYhas two distinct points, every point(x, y)ofX × Yis in the closure of its twin(x, y'), so every nonempty set ofX × Yhas an accumulation point andX × Yis limit point compact. Normality passes to the domain of a surjective inducing map, and complete and perfect normality to the domain of any inducing map, soX × Yis normal, completely normal or perfectly normal if and only ifXis. - Countability properties, metrizability, separation axioms and connectedness of a disjoint sum TopologyByExample.Operators.Sum
For each of first countability, second countability, separability, the Lindelöf property, metrizability and the Hausdorff property, the binary disjoint sumX ⊕ Yhas the property if and only if bothXandYhave it. The same holds for the separation axioms T₀, R₀, T₁, T₂½ (Urysohn), regularity, complete regularity, normality, complete normality and perfect normality.
The decision procedure
- Slices of properties of topological spaces: rows, realisation and witness expressions TopologyByExample.Slices.Basic
A slice is a finite, ordered family of properties of topological spacesP : Fin n → _. A row is a true/false assignment to the slice's properties, and a space realises a row when each property holds of it exactly when the row says so. - Horn slices and the decision algorithm TopologyByExample.Slices.Horn
A slice whose properties are all sum-conjunctive has a set of realised rows that is closed under meets (a sum realises the meet of the rows of its summands). Its theory is therefore given by Horn clausesp₁ ∧ ⋯ ∧ pₖ → qandp₁ ∧ ⋯ ∧ pₖ → False, and every realised row is the meet of the rows of a few base spaces: those realising the meet-irreducible rows. - Slices with open rows TopologyByExample.Slices.Open
Some slices have consistent rows whose realisability is not known: no clause of the slice rules them out, and no space realising them is known. A row of this kind cannot be the meet of the rows of base spaces (otherwise the sum of those spaces would realise it), so the completeness argument ofTopologyByExample.Slices.Horndoes not apply to it. This file extends the decision algorithm to slices that set aside a listOof such rows, and proves it correct on every row and complete on every row outsideO. - The slice S1: countability, metrizability and the Hausdorff property TopologyByExample.Slices.S1
The slice S1 (content/slices/s1.md) has six properties, in this order: - The slice S1, unconditionally TopologyByExample.Slices.S1.Complete
TopologyByExample.Slices.S1proves the decision algorithm of the slice S1 correct and complete for any base libraryS1.BaseSpaces. This file supplies the library, from the space files, and so states both results with no hypotheses. - The second study: compactness and its variants TopologyByExample.Slices.S2
The studycompactness(content/slices/compactness.md, Lean nameS2) has seven properties, in this order: - The second study (compactness), unconditionally TopologyByExample.Slices.S2.Complete
TopologyByExample.Slices.S2proves the decision algorithm of the second study correct and complete for any base libraryS2.BaseSpaces. This file supplies the three base spaces that structure leaves as fields, from the space files, and so states both results with no hypotheses. - The third study: countability, metrizability and compactness TopologyByExample.Slices.S3
The studycountability-and-compactness(Lean nameS3) has the eleven properties of the first two studies, in this order: - The third study (countability and compactness), unconditionally TopologyByExample.Slices.S3.Complete
TopologyByExample.Slices.S3proves the decision algorithm of the merged study correct, and complete outside its two open rows, for any base libraryS3.BaseSpaces. This file supplies the eighteen base spaces from the space files, and so states those results with no hypotheses. - The third study under
𝔱 = ℵ₁and under the continuum hypothesis TopologyByExample.Slices.S3.Conditional
The two open rows of the merged study,S3.rowAandS3.rowB, are the first countable, separable, countably compact Hausdorff spaces that are not compact (Nyikos's question). Whether such a space exists is not settled here in ZFC. If the tower number𝔱isℵ₁, the Franklin–Rajagopalan space is first countable, so it realisesS3.rowB, and its countable power realisesS3.rowA. Then the decision procedure is complete on every row, and exactly 88 of the 2048 combinations occur. The continuum hypothesis implies𝔱 = ℵ₁, so the same holds under it. - The separation study TopologyByExample.Slices.S4
The study of the separation axioms (Lean nameS4) has nine properties, all Mathlib's unbundled classes, in this order: - The separation study, unconditionally TopologyByExample.Slices.S4.Complete
The companion file proves the decision algorithm of the separation study (S4) correct and complete for any base libraryS4.BaseSpaces. This file supplies the six base spaces that structure leaves as fields, from the space files, and so states both results with no hypotheses. - The highlights study: metrizability, normality and compactness TopologyByExample.Slices.S5
The studymetrizability-normality-compactness(Lean nameS5) has eleven properties, in this order: - The highlights study: the base spaces and the unconditional results TopologyByExample.Slices.S5.Complete
TopologyByExample.Slices.S5proves the decision algorithm of the highlights study correct, and complete outside its four open rows, for any base libraryS5.BaseSpaces. This file supplies the nineteen base spaces from the space files and states both results unconditionally. - The highlights study under
𝔱 = ℵ₁TopologyByExample.Slices.S5.Conditional
The four open rows of the highlights study are the first countable, separable, countably compact regular spaces that are not compact (Nyikos's question), split by normality and by the Hausdorff property. If the tower number𝔱isℵ₁, the Franklin–Rajagopalan space is first countable, so it realises the normal Hausdorff open rowS5.rowA, and its sum with the two-point indiscrete space realises the normal non-Hausdorff open rowS5.rowC. The two non-normal open rowsS5.rowBandS5.rowD(S5.nonNormalOpenRows) are not settled under any hypothesis here. So under𝔱 = ℵ₁the decision procedure is complete on every row except those two. The continuum hypothesis implies𝔱 = ℵ₁, so the same holds under it. - The connectedness study TopologyByExample.Slices.S6
The study of connectedness (Lean nameS6) has ten properties, in this order: - The connectedness study, unconditionally TopologyByExample.Slices.S6.Complete
The companion file proves the decision algorithm of the connectedness study (S6) correct and complete for any base libraryS6.BaseSpaces. This file supplies the eight base spaces that structure leaves as fields, from the space files, and so states both results with no hypotheses. - Sparse certificates for candidate rows TopologyByExample.Slices.Sparse
A decision tree covers all assignments by splitting on coordinates. A leaf either refutes one of the supplied clauses or identifies a supplied candidate row on selected coordinates. Checking a tree visits its nodes, not the list of all assignments. This only certifies an upper bound on possible projected rows; candidates still need witnesses or further refutations before a classification is complete. - Cardinality bounds from sparse row certificates TopologyByExample.Slices.SparseBounds
A family of distinct realised rows gives a lower bound, and a candidate cover gives an upper bound. Neither argument enumerates all Boolean rows. Bounded natural-number encodings provide a convenient way to certify that a finite family of rows is distinct. - Classification from sparse witness and candidate families TopologyByExample.Slices.SparseDecision
The algorithm searches two finite families. A witness identifies a realised row; a refutation excludes a row from the candidate cover. An unresolved result only means that the supplied candidate has no witness in the supplied family, not that its realisability is an open question in the literature.
Checks against the content
assert_decl: checking the kind and home of a declaration TopologyByExample.Crosswalk.AssertDecl
The generated crosswalk checkTopologyByExample.Crosswalk.MathlibCheckrecords, for every Mathlib declaration it relies on, what kind of declaration it is and which module defines it. The commandassert_declmakes that record machine-checked:- Machine check of the Steen & Seebach ↔ Mathlib crosswalk TopologyByExample.Crosswalk.MathlibCheck
GENERATED bytools/gen_mathlib_crosswalk_check.pyfromdata/crosswalks/steen-seebach--mathlib/(properties.yaml,implications.yaml,spaces.yaml). Do not edit by hand: change the YAML and regenerate. The Python tests fail if this file is out of date. - Machine check of the canonical content TopologyByExample.Generated.ContentCheck
GENERATED bytools/gen_content_check.pyfromcontent/. Do not edit by hand: change the content and regenerate. The Python tests fail if this file is out of date. - Machine check of the slices against the canonical content TopologyByExample.Generated.SliceCheck
GENERATED bytools/gen_content_check.pyfromcontent/. Do not edit by hand: change the content (or the hand-written slice module) and regenerate. The Python tests fail if this file is out of date.
Other
- The tower number
𝔱TopologyByExample.Axioms.TowerNumber
The tower number𝔱is the least length of a tower (seeTopologyByExample.IsTower): the least ordinal indexing a strictly almost decreasing family of infinite subsets ofℕwith no infinite pseudo-intersection. We define the ordinaltowerLengthas this least ordinal and the cardinaltowerNumberas its cardinality, and show thattowerNumber.ord = towerLength, so either can be used. - Toolchain sanity check TopologyByExample.Sanity
A few trivial facts about familiar spaces, each proved by instance search alone. This file exists only to show that the Lean toolchain and Mathlib are set up correctly end to end.