A discrete space is, in general, an object of a concrete category of spaces that is free on its underlying set. Every topological concrete category has discrete spaces; so do many other categories, such as Diff and Haus Top.
For this to make sense, we want the functor
to be (naturally isomorphic to) the identity functor on Set, where is left adjoint to the forgetful functor . (This is true, for example, if is Top, Diff, Loc, etc, although is not quite a concrete category since the forgetful functor from locales is not faithful.)
Assuming that is faithful (as it should be when is a concrete category), we can characterise a discrete space as one such that every function from to (for any space) is a morphism of spaces. (More precisely, this means that every function from to is the image under of a morphism from to .)
A topological space is discrete in the sense above only if the diagonal map is open; the converse holds if satisfies the separation axiom. In locale theory, the condition that a locale is discrete may be split into two parts: that is open and that is open. A locale that satisfies the latter condition is called overt; note that every locale is while every topological space is overt. In Abstract Stone Duality, a space is called discrete if is open, which corresponds to the existence of an equality relation on ; discrete spaces as described above correspond to discrete overt spaces in ASD.
The best known example is a discrete topological space, that is one, , in which all subsets of are open in the topology. This same space serves as a discrete object in many subcategories and supercategories of , from convergence spaces (where the only proper filter that converges to a point is the free ultrafilter at that point) to (say) paracompact Hausdorff spaces (because a discrete topological space has those properties). It is also sobre and thus serves as a discrete locale, whose corresponding frame is the power set of ; see CABA.
A discrete uniform space has all reflexive relation as entourages, or equivalently all covers as uniform covers. It is the only uniformity (on a given set) whose underlying topology is discrete.
Strictly speaking, there is no discrete metric space on any set with more than one element, because the forgetful functor has no left adjoint. However, there is a discrete extended metric space, given by whenever . More usually, the term ‘discrete metric’ is used when for , which is discrete in the category of metric spaces of diameter at most . (Comparing the adjoint functor theorem, the problem with is that it generally lacks infinitary products; in contrast, and are complete.)