Module docstring
{"# Basic definitions about topological spaces
This file contains definitions about topology that do not require imports
other than Mathlib.Data.Set.Lattice.
Main definitions
TopologicalSpace X: a typeclass endowingXwith a topology. By definition, a topology is a collection of sets called open sets such thatisOpen_univ: the whole space is open;IsOpen.inter: the intersection of two open sets is an open set;isOpen_sUnion: the union of a family of open sets is an open set.
IsOpen s: predicate saying thatsis an open set, same asTopologicalSpace.IsOpen.IsClosed s: a set is called closed, if its complement is an open set. For technical reasons, this is a typeclass.IsClopen s: a set is clopen if it is both closed and open.interior s: the interior of a setsis the maximal open set that is included ins.closure s: the closure of a setsis the minimal closed set that includess.frontier s: the frontier of a set is the set differenceclosure s \\ interior s. A pointxbelongs tofrontier s, if any neighborhood ofxcontains points both fromsandsᶜ.Dense s: a set is dense if its closure is the whole space. We define it as∀ x, x ∈ closure sso that one can write(h : Dense s) x.DenseRange f: a function has dense range, ifSet.range fis a dense set.Continuous f: a map is continuous, if the preimage of any open set is an open set.IsOpenMap f: a map is an open map, if the image of any open set is an open set.IsClosedMap f: a map is a closed map, if the image of any closed set is a closed set.
** Notation
We introduce notation IsOpen[t], IsClosed[t], closure[t], Continuous[t₁, t₂]
that allow passing custom topologies to these predicates and functions without using @.
","### Predicates on sets ","### Notation for non-standard topologies "}