[step:Show that differentiability makes the subdifferential a singleton]
Let $q \in \partial p(0,0)$ be arbitrary. We prove that $q = \nabla p(0,0)$. Let $w \in \mathbb{R}^m \times \mathbb{R}^r$ be arbitrary. Since $N$ is open and contains $(0,0)$, there exists $\varepsilon_w > 0$ such that $tw \in N$ whenever $|t| < \varepsilon_w$.
For $0 < t < \varepsilon_w$, the subgradient inequality applied at $tw$ gives
\begin{align*}
p(tw) \geq p(0,0) + t q^\top w.
\end{align*}
After subtracting $p(0,0)$ and dividing by $t > 0$, we obtain
\begin{align*}
\frac{p(tw)-p(0,0)}{t} \geq q^\top w.
\end{align*}
Since $p$ is differentiable at $(0,0)$, the directional difference quotient converges to $\nabla p(0,0)^\top w$ as $t \downarrow 0$. Therefore
\begin{align*}
\nabla p(0,0)^\top w \geq q^\top w.
\end{align*}
Apply the same argument to the direction $-w$. For $0 < t < \varepsilon_w$, the subgradient inequality applied at $-tw$ gives
\begin{align*}
p(-tw) \geq p(0,0) - t q^\top w.
\end{align*}
Subtracting $p(0,0)$, dividing by $t>0$, and sending $t \downarrow 0$ gives
\begin{align*}
-\nabla p(0,0)^\top w \geq -q^\top w.
\end{align*}
Equivalently,
\begin{align*}
\nabla p(0,0)^\top w \leq q^\top w.
\end{align*}
Combining the two inequalities yields
\begin{align*}
\nabla p(0,0)^\top w = q^\top w.
\end{align*}
Since $w \in \mathbb{R}^{m+r}$ was arbitrary, the Euclidean [inner product](/page/Inner%20Product) separates vectors, so $q = \nabla p(0,0)$. Hence
\begin{align*}
\partial p(0,0) = \{\nabla p(0,0)\}.
\end{align*}
[/step]