Let $X$ be a set. We allow $X$ to be empty. Let $N$ be a function assigning to each $x$ in $X$ a non-empty collection $N(x)$ of subsets of $X$. The elements of $N(x)$ will be called neighbourhoods of $x$ with respect to $N$ (or, simply, neighbourhoods of $x$).
An empty set has no subsets. If $X$ is empty (which the definition says is permissible), and $N$ must be a function assigning to each element $x$ in $X$ a non-empty collection of subsets of $X$, then...what's going on here?
An empty set can have a non-empty collection of subsets? Please elaborate. I'm trying to understand the concept of continuity and uniform continuity in a topological sense and misunderstanding of this definition is kind of in the way.
Thanks.
Here is another way of looking at what others have said. A function $f:X \to Y$ should consist of a triple $(X,Y,G_f)$ where $G_f$ is a "functional" subset of $X \times Y$, in the sense that for each $x \in X$ there is a unique $y$ in $Y$ such that $(x,y) \in G_f$. So if $X$ is empty, there is a unique function $X \to Y$. In categorical terms, the empty set is initial in the category of sets and function, just as the trivial group is initial in the category of groups and morphisms.