Let $X\subseteq\mathbb{R}^k$, $Y\subseteq\mathbb{R}^m$ and $f\colon X\rightarrow Y$. We want to declare when such a map ought to be called differentiable and there are two possible notions, both of which may feel natural. We call $f$ differentiable if, for each $x\in X$, there is an open neighborhood $U$ of $x$ and a differentiable (in the usual sense) extension $\hat{f}\colon U\rightarrow\mathbb{R}^m$ of $f$. We can also do the same thing, but additionally require that $\hat{f}(U)\subseteq Y$. Both of these definitions yield a notion of morphisms in a category where objects are subsets of …