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 as OnePoint OmegaOne × Set.Icc (-1 : ℝ) 1, with the product topology refined at the single point c = (ω₁, 0) (the corner): the sets U α 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 than c, and contains some U α n if it contains c. The type synonym is AlexandroffPlank, with the identifications AlexandroffPlank.toP and AlexandroffPlank.ofP with 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 ray L = ω₁ × [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 set s ⊆ ℕ has density zero (TopologyByExample.IsDensityZero) if the proportion of the numbers below n that lie in s tends to 0. The sets whose complement has density zero form a filter (TopologyByExample.densityOneFilter).
  • The Arens–Fort space TopologyByExample.Spaces.ArensFort
    In this file we define TopologyByExample.ArensFort, the Arens–Fort space. Its underlying set is ℕ × ℕ. Write p = (0, 0) (ArensFort.basePoint) and call {m} × ℕ the m-th column. A set s is open if p ∉ s, or if p ∈ s and, for all but finitely many m, all but finitely many points of the m-th column lie in s.
  • The Arens plane topology TopologyByExample.Spaces.ArensPlane
    In this file we define TopologyByExample.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 coordinates x and y:
  • Arens space TopologyByExample.Spaces.ArensSpace
    In this file we define TopologyByExample.ArensSpace, Arens's space S₂. Its points are the points pt m n (m n : ℕ), the points lim m (m : ℕ) and one further point top. The m-th column is {lim m} ∪ {pt m n | n : ℕ}. A set s is open when it contains all but finitely many points pt m n of the m-th column for each lim m ∈ s, and all but finitely many points lim m if top ∈ s. So every pt m n is isolated, pt m n → lim m as n → ∞, and lim m → top as m → ∞.
  • The Arens square TopologyByExample.Spaces.ArensSquare
    In this file we define TopologyByExample.ArensSquare, the Arens square, as a subspace of the Arens plane TopologyByExample.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]} with a coprime to b, where the modulus a ranges over all positive integers (Golomb) or over the squarefree ones (Kirch). In this file we treat both at once: a ModulusSet is a set of positive moduli containing 1 and every prime and closed under least common multiples, and ArithProgSpace M is the positive integers with the topology in which a set is open when each of its points x lies in it together with a progression {y | y ≡ x [MOD a]}, with a ∈ M coprime to x.
  • 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
    For n : ℕ let Lₙ be the segment from the origin to (1, 1 / (n + 1)) in the plane, the set of points (t, t / (n + 1)) with t ∈ [0, 1]. The infinite broom is the union of the Lₙ with the half-open segment (1 / 2, 1] × {0}; the closed infinite broom is the union of the Lₙ 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 define TopologyByExample.Butterfly, the butterfly (or bow-tie) space: the closed upper half-plane {(x, y) | 0 ≤ y}, in which a point with y > 0 has its Euclidean neighbourhoods and a point (x, 0) of the x-axis has the neighbourhoods {(x, 0)} ∪ W, where W = Butterfly.wings x ε is the set of points (a, b) with |a - x| < ε and b < ε |a - x|: the two open triangles of a bow-tie centred at (x, 0), each with one side on the x-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 ℕ → Bool of 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's Circle is 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 point 1 replaced by two points: the space TopologyByExample.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 in TopologyByExample.Theorems.CocountableTopology once ℝ 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 space TopologyByExample.CofiniteLeftRayOmegaOne is 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 sets Set.Iic a \ F, F finite, and a set is a neighbourhood of x exactly when it contains Set.Iic x \ F for some finite F not containing x.
  • The cofinite topology on the natural numbers TopologyByExample.Spaces.CofiniteNat
    Mathlib's CofiniteTopology ℕ 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's CofiniteTopology ℝ 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] for n : ℕ, 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. ErdosClosure identifies 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 point p of the inner circle is an open arc J of the inner circle centred at p, together with the radial projection onto the outer circle of J ∖ {p}.
  • The cone over the lexicographic square TopologyByExample.Spaces.ConeLexicographicSquare
    The cone over the lexicographic square L is obtained from L × [0, 1] by collapsing the top L × {1} to a single point, the apex. Since L is compact, it is the one-point compactification of L × [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 study OnePoint (OnePoint SequentialFan × ℕ): countably many copies Y × {k} of the one-point compactification Y of the sequential fan, with one further point ∞ whose neighbourhoods contain all copies from some index on. That is, it is the one-point compactification of Y × ℕ: a compact subset of Y × ℕ 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 sets U \ C with U open in the usual topology and C countable: these sets are closed under unions because ℝ is hereditarily Lindelöf.
  • The deleted diameter topology TopologyByExample.Spaces.DeletedDiameter
    In this file we define TopologyByExample.DeletedDiameter, the deleted diameter topology on the plane: a point p has the neighbourhood base of the open discs centred at p from which the horizontal diameter, except for p itself, is removed. It is DeletedDiscPlane S for S = {a | a ≠ 0}, and most of its properties come from TopologyByExample.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 point p whose neighbourhoods are the cocountable sets) and the convergent sequence [0, ω], modelled as OnePoint ℕ. The deleted Dieudonné plank is the plank with its corner (p, ∞) removed, the subtype DeletedDieudonnePlank.
  • Topologies on the plane given by discs with part of a horizontal diameter deleted TopologyByExample.Spaces.DeletedDiscs
    Let S be a set of real numbers not containing 0 whose complement is closed under addition. For a point p of the plane and r > 0, let DeletedDiscPlane.nbhd S p r be the open Euclidean disc of radius r centred at p, 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. For S = {a | a ≠ 0} this is the deleted diameter topology, and for S = {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 define TopologyByExample.DeletedRadius, the deleted radius topology on the plane: a point p has the neighbourhood base of the open discs centred at p from which the horizontal radius to the right of p, without p itself, is removed. It is DeletedDiscPlane S for S = {a | 0 < a}, and many of its properties come from TopologyByExample.Spaces.DeletedDiscs.
  • The deleted sequence of intervals topology TopologyByExample.Spaces.DeletedSequenceOfIntervals
    Let A = ⋃ₙ [1 / (2n + 1), 1 / (2n)] (n ≥ 1), a union of closed intervals accumulating only at 0. The deleted sequence of intervals topology on ℝ is generated by the usual open sets together with ℝ \ A. It agrees with the usual topology away from 0, while the neighbourhoods of 0 are the sets containing some (-ε, ε) \ A. It is the analogue of the K-topology in which the points 1 / n are 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 compactification OnePoint OmegaOne of the countable ordinals and the second the one-point compactification OnePoint ℕ of the discrete natural numbers (homeomorphic to the ordinal space ω + 1, see TopologyByExample.TychonoffPlank.natHomeomorphIio), so the corner is (∞, ∞) and the deleted plank is the subtype DeletedTychonoffPlank of 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 as Set.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 least 2 whose open sets are the sets closed under taking divisors (at least 2): a set U is open if m ∣ n and n ∈ U imply m ∈ 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 of n is 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) iff x < y, or x = y and a < b, and the order topology. Each x ∈ (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 origin 0*. Points other than the two origins have their usual neighbourhoods; the origin 0 has as basic neighbourhoods 0 together with an open upper half-disc {(x, y) : x² + y² < r², y > 0}, and 0* has 0* 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
    For n : ℕ let Cₙ be the circle in the plane with centre (1 / (n + 1), 0) and radius 1 / (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 contain 0 or 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 line A = ℝ × {0} and an upper line B = ℝ × {1}, in which a basic neighbourhood of a point (x, i) is (x, i) together with the points (t, 0) of the lower line with 0 < |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 define TopologyByExample.FortissimoSierpinski: the points pt a, a : ω₁, together with two further points p and q. Every point other than p is isolated, and a set containing p is open when it contains q and all but countably many of the points pt 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 tower T of least length 𝔱 (see TopologyByExample.tower), reindexed so that each complement is infinite, and let cotower i be the complement of its i-th member: the sets cotower i are 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 index i is basic g i F: the indices j with g < j ≤ i, together with the natural numbers in cotower i but not in cotower g and not in the finite set F, where g < i is an index or ⊥ (when nothing is removed below).
  • The first ω₁ levels of the Franklin–Rajagopalan space TopologyByExample.Spaces.FranklinRajagopalanInitial
    The open subspace FR₁ of the Franklin–Rajagopalan space FR consisting 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
    Let FR be the Franklin–Rajagopalan space and FR⁺ = OnePoint FR its one-point compactification. The product FR × 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
    Let FR be the Franklin–Rajagopalan space TopologyByExample.FranklinRajagopalan: the natural numbers, all isolated, together with the indices of a tower T of least length 𝔱, where a neighbourhood of an index i contains almost all natural numbers of a piece cotower i \ cotower g of the complements of the tower (g < i). We adjoin one new point infty, whose neighbourhoods are the sets containing infty and almost all of some member T i of the tower: the basic neighbourhoods are {infty} ∪ (T i \ F) with F finite. 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 ℕ → FranklinRajagopalan of 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 compactification K of 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 sum FR ⊕ K of the Franklin–Rajagopalan space and K is normal (both summands are) but neither completely nor perfectly normal; and the sum FR^ℕ ⊕ K of the countable power with K is normal exactly when FR^ℕ is, and neither completely nor perfectly normal.
  • The free ultrafilter topology TopologyByExample.Spaces.FreeUltrafilterTopology
    Let F be an ultrafilter on ℕ. The ultrafilter topology TopologyByExample.UltrafilterTopology F is ℕ with the members of F, 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]} with a positive and coprime to b. It is TopologyByExample.ArithProgSpace for the moduli golombModuli, 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 define TopologyByExample.HalfDisc, the half-disc topology: the closed upper half-plane {(x, y) | 0 ≤ y}, in which a point with y > 0 has its Euclidean neighbourhoods and a point (x, 0) of the x-axis has the neighbourhoods {(x, 0)} ∪ D, where D is 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 ℕ → unitInterval of 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 is WithTopology Bool ⊤: the two-point type Bool with the indiscrete topology, whose only open sets are ∅ and the whole space. Mathlib provides the type synonym and its IndiscreteTopology instance.
  • Sums of a point and of two-point indiscrete spaces TopologyByExample.Spaces.IndiscreteSums
    Two small finite spaces built as disjoint sums: the sum Unit ⊕ WithTopology Bool ⊤ of a point and the two-point indiscrete space, and the sum WithTopology 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
    For n ≥ 1 let Aₙ be the segment of points (1 / n, y, 0) of space with 0 ≤ y ≤ 3n, let Bₙ be the segment of points (0, y, 0) with 2n - 1 / 2 ≤ y ≤ 2n + 1 / 2, and let Cₙ be the arc of points (x, 2n, x (1 / n - x)) with 0 ≤ x ≤ 1 / n, which joins the point (0, 2n, 0) of Bₙ to the point (1 / n, 2n, 0) of Aₙ. The infinite cage is the union of all the sets Dₙ = Aₙ ∪ Bₙ ∪ Cₙ, with the subspace topology of ℝ³. In this file the pieces are indexed from 0: piece m is D_{m + 1}.
  • The integer broom TopologyByExample.Spaces.IntegerBroom
    Let T be the set of the numbers 0 and 1 / n, n ≥ 1, a convergent sequence with its limit. The integer broom is the set of points of the plane with polar coordinates (n, θ), n a nonnegative integer and θ ∈ T, all the points with n = 0 being the origin. Its open sets are the whole space and the unions of the sets U × V of points (n, θ) with n ≥ 1, where U is open in the right order topology of the positive integers (a set {n : n ≥ k} or the empty set) and V is open in T. So the only neighbourhood of the origin is the whole space.
  • The interlocking interval topology TopologyByExample.Spaces.InterlockingInterval
    Let X = (0, ∞) \ ℤ, the positive reals that are not integers, and for n = 1, 2, 3, … let Sₙ = (0, 1 / n) ∪ (n, n + 1). The interlocking interval topology on X is generated by the sets Sₙ.
  • 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 point p = (x, y) has two projections on the horizontal axis, the points x - y / θ and x + y / θ where the lines through p of slopes θ and -θ meet the axis (both are x when y = 0). A basic neighbourhood of p consists of p together with the rational points of the axis within ε of one of its projections.
  • The irregular lattice topology TopologyByExample.Spaces.IrregularLattice
    In this file we define TopologyByExample.IrregularLattice, a countable space of lattice points that is totally separated but neither regular nor semiregular. Its points are a corner corner, standing for the lattice point (0, 0), points base i (i : ℕ), standing for the points (i + 1, 0) of the horizontal axis, and isolated points iso i k, standing for the points (i + 1, k + 1).
  • The K-topology on the real line TopologyByExample.Spaces.KTopology
    Let K = {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 sets U \ B with U open in the usual topology and B ⊆ K.
  • Katětov's subspace of βℕ TopologyByExample.Spaces.KatetovSubspace
    Enumerate the rationals as rat : ℕ ≃ ℚ. For a real number r let approx r n = ⌊2ⁿ r⌋ / 2ⁿ, the n-th dyadic truncation of r, and code r n = rat.symm (approx r n) its index. Fix a free ultrafilter v on ℕ and let point v r = v.map (code r), the ultrafilter of the sets A with {n | code r n ∈ A} ∈ v. Katětov's space KatetovSubspace v is the subspace of βℕ = Ultrafilter ℕ made of the principal ultrafilters and the ultrafilters point v r with r irrational.
  • 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 integer n is {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]} with p prime not dividing b. Its basic open sets are the progressions {y | y ≡ b [MOD a]} with a squarefree and coprime to b. It is TopologyByExample.ArithProgSpace for the moduli kirchModuli, 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
    Let C ⊆ [0, 1] be the middle-thirds Cantor set, E ⊆ C the set of endpoints of the deleted open intervals (the ends 0 and 1 of [0, 1] are not among them) and p = (1 / 2, 1 / 2). Over each c ∈ C runs the segment from (c, 0) to p; its point at height y is (c (1 - 2y) + y, y). The Knaster–Kuratowski fan (Cantor's leaky tent) consists of p, the points at rational heights of the segments over E and the points at irrational heights of the segments over C ∖ E. The punctured fan is the fan without p.
  • 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) for a ≤ ω₁: the empty set (a = 0), the whole space (a = ω₁) and the segments Set.Iio a for countable ordinals a. These are exactly the lower sets of ω₁, so the topology is Mathlib's lower set topology Topology.lowerSet, and we build the space on Mathlib's type synonym WithLowerSet 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) iff a < c, or a = c and b < 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 compactification OnePoint OpenLongRay of the open long ray M = L ∖ {0} (L the long ray): the point at infinity closes up both ends of M, the short end near the missing point 0 and the long end. Equivalently it is the closed long ray L ∪ {∞} with its two end points 0 and ∞ 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 α = β and s < 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 define TopologyByExample.MetricFan, the metric fan: the subspace of ℝ × ℝ consisting of the origin (the vertex) and the points (1 / (m + 1), 1 / ((m + 1) (n + 1))) for m n : ℕ (MetricFan.pt m n, the n-th point of the m-th spine). Every point other than the vertex is isolated. The m-th spine converges in the plane to (1 / (m + 1), 0), which is not in the fan, while the spines themselves approach the vertex as m grows.
  • The Michael line TopologyByExample.Spaces.MichaelLine
    The Michael line TopologyByExample.MichaelLine is 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 product TopologyByExample.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: index m represents the positive integer m + 1 or its negative. Columns are also indexed from zero. Adding two poles with the prescribed one-sided column tails gives a space homeomorphic to NonUrysohn.
  • 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 set X is X with two new points ∞₀ and ∞₁ adjoined: every subset of X is open, and a set containing ∞₀ or ∞₁ is open if it contains all but finitely many points of X. We index the two new points by Bool.
  • The modified telophase space TopologyByExample.Spaces.ModifiedTelophase
    The modified telophase space is [0, ∞) with two points at infinity, ∞_E and ∞_D. Points of [0, ∞) have their usual neighbourhoods; the sets (a, ∞) ∖ E ∪ {∞_E} form a neighbourhood base at ∞_E, where E is the set of even natural numbers, and the sets (a, ∞) ∖ D ∪ {∞_D} one at ∞_D, where D is the set of odd natural numbers.
  • Mysior's space TopologyByExample.Spaces.Mysior
    In this file we define TopologyByExample.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
    For n ≥ 1 let Sₙ be the segment in the plane from a = (0, 1) to (n, 1 / (n + 1)), the set of points (x, 1 - x / (n + 1)) with 0 ≤ x ≤ n, and let Hₙ be the horizontal half-line of points (x, 1 / (n + 1)) with x ≤ n. The nested angles space is the union of all the Sₙ and Hₙ with the horizontal axis, with the subspace topology of the plane. In this file the angles are indexed from 0: segment m is S_{m + 1} and halfLine m is H_{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, the n with x ∈ [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
    For k ≥ 1 let Rₖ be the boundary of the rectangle centred at the origin of width 2k / (k + 1) and height 2k: the points (x, y) of the plane with |x| = k / (k + 1) and |y| ≤ k, or with |y| = k and |x| ≤ k / (k + 1). The nested rectangles space is the union of the rectangles Rₖ with the two lines x = 1 and x = -1, with the subspace topology of the plane. In this file the rectangles are indexed from 0: rect n is R_{n + 1}.
  • The Niemytzki plane TopologyByExample.Spaces.NiemytzkiPlane
    In this file we define TopologyByExample.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 with y > 0 has its Euclidean neighbourhoods and a point (x, 0) of the x-axis has the neighbourhoods {(x, 0)} ∪ D, where D is an open disc in the open upper half-plane tangent to the x-axis at (x, 0).
  • A countable Hausdorff space that is not Urysohn TopologyByExample.Spaces.NonUrysohn
    In this file we define TopologyByExample.NonUrysohn, a countable space that is Hausdorff but not Urysohn (T₂½). Its points are two poles pole i (i : Bool), points mid n (n : ℕ), and points iso 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 of NonUrysohn equals 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 by StoneCechNaturals; 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 number n represents the book's positive integer n + 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 by n ↦ 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 segment Set.Iio a is 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 compactification OnePoint OmegaOne of the space ω₁ of countable ordinals: by TopologyByExample.onePointHomeomorphWithTop it is homeomorphic to WithTop 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 space TopologyByExample.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 space TopologyByExample.OmegaOnePlusOnePlusReverseOmega is 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 sum WithTop OmegaOne ⊕ₗ ℕᵒᵈ; the point ofTop ⊤ is ω₁, and ofNat n is the copy of n.
  • The countable power ω₁^ℕ of the first uncountable ordinal TopologyByExample.Spaces.OmegaOnePower
    The space ω₁^ℕ is the type ℕ → OmegaOne of 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 as OmegaOne × OnePoint OmegaOne. Since [0, ω₁] is homeomorphic to ω₁ with a greatest element added (TopologyByExample.OmegaOnePlusOne.homeomorphWithTop), this is the space ω₁ × (ω₁ + 1) of TopologyByExample.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 study OnePoint 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 point p of 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 compactification OnePoint ℚ 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 square OnePoint ℚ × 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 study OnePoint 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) with b > 0 and (a, 1] with a < 0. Every subbasic set contains 0, so every nonempty open set contains 0; more precisely every open set is star-shaped about 0: with a point x it contains every t * 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 -1 is the least element, the two zeros 0₀ and 0₁ are incomparable and lie below every 1/n, and the points 1/n are 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 metric d(x, y) = ‖x‖ + ‖y‖ for x ≠ y (and d(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 is PrimeSpectrum ℤ, 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 sets D(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 which a₀ and a₁ each lie below both b₀ and b₁, with no other relations (the complete bipartite poset K₂,₂): 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 define TopologyByExample.RadialPlane, the plane with the radial (or core) topology: a set U is open if it meets every line L in a set open in L with its Euclidean topology; equivalently, every point of U lies, on each line through it, in an open segment contained in U. It is the finest topology for which every map t ↦ p + t • v from ℝ 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 define TopologyByExample.RationalSequence, the real line with the rational sequence topology. Each real number x is given a sequence of rationals converging to x in the usual sense (TopologyByExample.RationalSequence.approx): the dyadic approximations ⌊2 ^ k * x⌋ / 2 ^ k if x is irrational, and the constant sequence x if x is rational. A basic neighbourhood of x is x together 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 study OnePoint RationalSequence, the one-point compactification of the rational sequence topology TopologyByExample.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 define TopologyByExample.RationalTangentDisc, the subspace of the Niemytzki plane consisting of the open upper half-plane together with the points (q, 0), q rational, of the x-axis. A point (q, 0) has the neighbourhoods {(q, 0)} ∪ D, D an open disc tangent to the x-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
    Let D be a set of reals that is dense and has dense complement (the rationals or the irrationals). Steen and Seebach refine the Euclidean topology of ℝ using D in 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 relation v ~ 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 sets U ∪ {∞} with U open 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 define TopologyByExample.ScottArensSquare, Brian Scott's modification of the Arens square, as a subspace of the Arens plane TopologyByExample.ArensPlane. The rationals of (0, 1) are partitioned into dense sets column q, one for each rational q ∈ (0, 1): fixing a bijection q ↦ prime q from these rationals onto the primes, column q is the set of rationals in (0, 1) whose denominator in lowest terms has least prime factor prime q. The points of the space are the corners (0, 0) and (1, 0) and the points (q, r) with r ∈ column q; so no two points off the axis have the same height. The topology is that of the Arens plane: the points with q = 1/2 have 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 define TopologyByExample.SequentialFan, the sequential fan S_ω. Its underlying set is Option (ℕ × ℕ): the point none is the vertex (SequentialFan.vertex) and some (m, n) is the n-th point of the m-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 is Prop with the topology sierpinskiSpace, whose open sets are ∅, {True} and Set.univ. The only neighbourhood of False is the whole space, so False and True cannot 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 define TopologyByExample.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 with x < 1/2 and y < ε, and one of (1, 0) is the corner together with those with 1/2 < x and y < ε.
  • The topologist's sine curves and the Warsaw circle TopologyByExample.Spaces.SineCurves
    Let G = {(x, sin x⁻¹) : 0 < x ≤ 1} be the graph of sin 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
    Let F be an ultrafilter on ℕ. The single ultrafilter space TopologyByExample.SingleUltrafilter F is ℕ with one extra point p (SingleUltrafilter.point): every natural number is isolated, and the neighbourhoods of p are the sets containing p whose trace on ℕ belongs to F. Its topology is nhdsAdjoint p F', where F' is the image of F under the inclusion of ℕ.
  • The Sorgenfrey line TopologyByExample.Spaces.SorgenfreyLine
    In this file we define TopologyByExample.SorgenfreyLine (notation: ℝₗ) to be the Sorgenfrey line. It is the real line with the topology generated by the half-open intervals Set.Ico a b.
  • The Sorgenfrey plane TopologyByExample.Spaces.SorgenfreyPlane
    The Sorgenfrey plane is the product ℝₗ × ℝₗ of two copies of the Sorgenfrey line TopologyByExample.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 sphere S² = {x ∈ ℝ³ : ‖x‖ = 1}, as Mathlib's Metric.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 line A = (0, 1] × {0} and an upper line B = [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 set B: 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, where M is the set of free ultrafilters on ℕ (those coarser than the cofinite filter), in which a set U is open when every free ultrafilter F ∈ U contains the set of natural numbers in U. So the natural numbers are isolated, and the neighbourhoods of a free ultrafilter F are the sets containing A ∪ {F} for some A ∈ F. For A ⊆ ℕ, the set clopenSet A of the natural numbers in A and the free ultrafilters containing A is 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 endpoint 1 doubled: the space TopologyByExample.WithOrigins unitInterval 1 Bool, whose two origins are the endpoint 1 (origin false) and the new endpoint 1* (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 compactification OnePoint (WithDiscreteTopology ℝ) of the discrete reals) and the convergent sequence [0, ω] = OnePoint ℕ, with its corner (∞, ∞) removed: the subtype ThomasPlank.
  • The torus TopologyByExample.Spaces.Torus
    The torus is the product S¹ × S¹ of two circles, as Circle × 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 define TopologyByExample.TwoLimitLattice: the lattice points pt m n, m n : ℕ, together with two further points, the column limit lim false and the row limit lim 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 define TopologyByExample.TwoLimitSequence, the natural numbers together with two extra points lim false and lim true. Each natural number is isolated, and a basic neighbourhood of lim i is lim i together 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 compactification OnePoint OmegaOne of the countable ordinals, and the second to be the ordinal space Set.Iio (ω + 1) of ordinals < ω + 1, with the order topology. So the plank is OnePoint OmegaOne × Set.Iio (ω + 1), and its corner is the point (∞, ω).
  • The unit interval TopologyByExample.Spaces.UnitInterval
    Mathlib's unitInterval is 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 enumeration q₀, q₁, … of the rationals and let uₙ = (cos qₙ, sin qₙ); the points uₙ are distinct and dense in the unit circle. The spoke Aₙ is the segment of points t uₙ with 2⁻⁽ⁿ⁺¹⁾ ≤ 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 files TopologyByExample.Operators.Sum, .Product, .CountablePower and .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 set X is its upper set (Alexandrov) topology, Mathlib's Topology.WithUpperSet X: the open sets are exactly the upper sets. The smallest open set containing a point x is the closed ray Set.Ici x. It is finer than the right order topology Topology.WithUpper X (the topology generated by the open rays), and the two have the same specialisation order: the closure of a point x is Set.Iic x in 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 X is the type X with 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's CofiniteTopology, as WithTopology X for the topology TopologyByExample.cocountableTopology X.
  • The cofinite topology TopologyByExample.Theorems.CofiniteTopology
    Mathlib's CofiniteTopology X is the type X 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. 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 subset A of a space X, the quotient X / A identifies all points of A with 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 when A has 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 sum X ⊕ Y has the property if and only if both summands have it. Mathlib has the instances for compactness and σ-compactness of X ⊕ 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, in TopologyByExample.Operators.Sum, TopologyByExample.Operators.Product and TopologyByExample.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 a Gδ set (one direction of Alexandrov's and Mazurkiewicz's characterisation; IsGδ.isCompletelyMetrizableSpace in 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 every n, a neighbourhood whose trace on the range has diameter less than 1 / (n + 1) in the complete metric form a Gδ 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 predicate PathPreconnectedSpace.
  • 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 set Set.Iio α of ordinals below α with the order topology. Mathlib's topology on Ordinal is the order topology, and the subspace topology on the order-connected set Set.Iio α is again the order topology (orderTopology_of_ordConnected), so we use Set.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
    Let x be a point with a countable neighbourhood base u 0 ⊇ u 1 ⊇ ⋯ and let K be a countably compact set such that x can be separated by disjoint neighbourhoods from every point of K (for instance, in a Hausdorff space). Then x and K have disjoint neighbourhoods. Indeed, otherwise every closure closure (u n) meets K, say at y n; the sequence y has a cluster point z ∈ K; if V ∋ x and W ∋ z are disjoint neighbourhoods, with W open, and u m ⊆ V, then closure (u m) misses W, so y n ∉ W for all n ≥ m, contradicting that z is a cluster point of y.
  • 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
    Let X be a T₁ space and p a point of X such that any countably many neighbourhoods of p have a common point other than p; let Y be a Hausdorff space and q the limit of an injective sequence y of points other than q. Then the product X × Y with 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 files TopologyByExample.Operators.Sum, .Product, .CountablePower, .OnePoint and .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 of TopologyByExample.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's PerfectlyNormalSpace (normal, with every closed set a Gδ); 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 set X ∪ {p} has as open sets the whole space and every set not containing the excluded point p. It is the open extension of the discrete space X (TopologyByExample.OpenExtension X with [DiscreteTopology X]), and this file proves what the family of these spaces needs, for every discrete X or 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 set X with a point p is X with the topology in which a set not containing p is open, and a set containing p is open if its complement is finite. It is the one-point compactification of the discrete space X ∖ {p}, and that is how we take it: for a discrete space X, the Fort space is OnePoint X, whose point at infinity plays the role of p.
  • Fortissimo spaces TopologyByExample.Theorems.FortissimoSpaces
    The fortissimo space on a set X is X with one new point p adjoined: every point of X is isolated, and the open sets containing p are the sets containing p whose complement is countable. It is the one-point Lindelöfication of the discrete space X, 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 coordinate n is 2^(-(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 in TopologyByExample.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 homeomorphism e : X ≃ₜ Y, the space X has the property if and only if Y does. 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 class IndiscreteTopology) 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
    If X × Y is completely normal and Y is a T₁ space with a convergent sequence of points y n → y₀, none equal to its limit, then every closed set of X is a \(G_\delta\) set, so X is 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 space X is ω-bounded if the closure of every countable subset of X is 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 compactification OnePoint X the point at infinity has this property exactly when every closed compact subset of X has empty interior. We also characterise when OnePoint X is 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
    Let W be a linear order with its order topology, and add a greatest element ⊤ to get WithTop W, again with its order topology. The inclusion W → WithTop W is an embedding whose range misses exactly ⊤ (Mathlib's WithTop.isEmbedding_coe), and WithTop W is Hausdorff, being an order topology. So whenever WithTop W is compact, it is the one-point compactification of W: the identity on W, sending the point at infinity to ⊤, is a homeomorphism OnePoint 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_cofinal shows that a linear order is first countable in its order topology when every Set.Iio a has a countable cofinal subset and every Set.Ioi a has 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
    Let O be a subset of a separable, densely ordered linear order with the order topology. Only countably many points x ∉ O are the right end of an open interval (a, x) ⊆ O with a < x: for two such points x < y the point x cannot lie in the interval of y, 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
    Let X be a conditionally complete linear order. If a closed interval [a, b] of X, with a < b, has a countable subset D that is order-dense in it (between any two points of [a, b] lies a point of D), 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 pair c ⋖ d: c < d with nothing strictly between them. In the order topology the set Set.Iic c = Set.Iio d is 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 space X is linearly orderable if its topology is the order topology of some linear order on X, 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 X and ∃ 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 point p has as open sets the empty set and the sets containing p. Writing X for the set of the other points, it is the closed extension TopologyByExample.ClosedExtension X of the discrete space X: the new point is p, and a set is open exactly when it is empty or contains p, since every trace on X is 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
    Let X be a space in bijection e : ℝ × ℝ ≃ X with the plane, such that the topology of X is finer than the Euclidean one (e.symm is continuous) and every horizontal and every vertical line carries a topology at least as coarse as its Euclidean one (x ↦ e (x, b) and y ↦ e (a, y) are continuous). Then X is 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 set V around the top edge contains, above each x, a vertical segment {x} × (b x, ω₁]. Choosing x₀ < x₁ < ⋯ with x (n + 1) above b (x n), the points (x n, x (n + 1)) lie in V and converge to the diagonal point (z, z), where z is the supremum; so every open set around the diagonal meets V.
  • 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 ordinal x has 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 set X is the topology generated by the open rays Set.Ioi a: its open sets are ∅, X and the unions of open rays. It is Mathlib's upper topology Topology.WithUpper X (generated by the complements of the rays Set.Iic a, which for a linear order are the rays Set.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 set s in 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 quotient SeparationQuotient X (the T₀ or Kolmogorov quotient) identifies points of X that have the same neighbourhoods. The quotient map SeparationQuotient.mk is continuous, open, closed and surjective, and inducing, so many properties pass from X to 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, in TopologyByExample.Operators.Sum, TopologyByExample.Operators.Product and TopologyByExample.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 from X is 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 topology t is ‹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 by LocalArcBasics.
  • 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 set s is almost contained in a set t, written s ⊆* t, if s \ t is 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
    Let x and y be points of a topological space such that the closure of every neighbourhood of x is a neighbourhood of y. Then every neighbourhood of x meets every neighbourhood of y, every regular open set containing x contains y, and so, if some open set contains x but not y, the space is not semiregular.
  • The ordinal ω · 2 as 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 structure WellFoundedLT.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 WithTopology TopologyByExample.Theorems.WithTopology
    Mathlib's type synonym WithTopology X t is X with the topology t. Mathlib transfers finiteness and infiniteness to it; this file adds countability and nontriviality, both through the equivalence WithTopology.equiv.

Operators

  • The closed extension of a space TopologyByExample.Operators.ClosedExtension
    The closed extension of a topological space X is X with one new point p adjoined, whose nonempty open sets are the sets U ∪ {p} with U open in X. Equivalently, a set is open if its trace on X is open in X and it contains p as soon as it is nonempty.
  • Countable powers TopologyByExample.Operators.CountablePower
    This file collects how the countable power ℕ → X of a space X inherits, or fails to inherit, countability and compactness properties.
  • Countability and separation properties of the one-point compactification TopologyByExample.Operators.OnePoint
    Mathlib's OnePoint X is the one-point (Alexandroff) compactification of X. It is always compact (a Mathlib instance), and it is Hausdorff when X is Hausdorff and weakly locally compact (through Mathlib's instance NormalSpace (OnePoint X)). This file adds:
  • The open extension of a space TopologyByExample.Operators.OpenExtension
    The open extension of a topological space X is X with one new point p adjoined, whose open sets are the open sets of X together with the whole space. Equivalently, a set is open if its trace on X is open and it is the whole space as soon as it contains p.
  • 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 product X × Y of 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
    If Y is indiscrete, the open sets of X × Y are exactly the sets U ×ˢ univ with U open in X: the first projection X × Y → X is inducing, and it is surjective when Y is nonempty. A surjective inducing map f : X' → X identifies the open sets of X' with those of X (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 for X × Y. Moreover, when Y has two distinct points, every point (x, y) of X × Y is in the closure of its twin (x, y'), so every nonempty set of X × Y has an accumulation point and X × Y is 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, so X × Y is normal, completely normal or perfectly normal if and only if X is.
  • 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 sum X ⊕ Y has the property if and only if both X and Y have 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 spaces P : 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 clauses p₁ ∧ ⋯ ∧ pₖ → q and p₁ ∧ ⋯ ∧ 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 of TopologyByExample.Slices.Horn does not apply to it. This file extends the decision algorithm to slices that set aside a list O of such rows, and proves it correct on every row and complete on every row outside O.
  • 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.S1 proves the decision algorithm of the slice S1 correct and complete for any base library S1.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 study compactness (content/slices/compactness.md, Lean name S2) has seven properties, in this order:
  • The second study (compactness), unconditionally TopologyByExample.Slices.S2.Complete
    TopologyByExample.Slices.S2 proves the decision algorithm of the second study correct and complete for any base library S2.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 study countability-and-compactness (Lean name S3) 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.S3 proves the decision algorithm of the merged study correct, and complete outside its two open rows, for any base library S3.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.rowA and S3.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 realises S3.rowB, and its countable power realises S3.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 name S4) 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 library S4.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 study metrizability-normality-compactness (Lean name S5) has eleven properties, in this order:
  • The highlights study: the base spaces and the unconditional results TopologyByExample.Slices.S5.Complete
    TopologyByExample.Slices.S5 proves the decision algorithm of the highlights study correct, and complete outside its four open rows, for any base library S5.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 row S5.rowA, and its sum with the two-point indiscrete space realises the normal non-Hausdorff open row S5.rowC. The two non-normal open rows S5.rowB and S5.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 name S6) 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 library S6.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 check TopologyByExample.Crosswalk.MathlibCheck records, for every Mathlib declaration it relies on, what kind of declaration it is and which module defines it. The command assert_decl makes that record machine-checked:
  • Machine check of the Steen & Seebach ↔ Mathlib crosswalk TopologyByExample.Crosswalk.MathlibCheck
    GENERATED by tools/gen_mathlib_crosswalk_check.py from data/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 by tools/gen_content_check.py from content/. 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 by tools/gen_content_check.py from content/. 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 (see TopologyByExample.IsTower): the least ordinal indexing a strictly almost decreasing family of infinite subsets of ℕ with no infinite pseudo-intersection. We define the ordinal towerLength as this least ordinal and the cardinal towerNumber as its cardinality, and show that towerNumber.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.