Denote $\mathcal F$ as the function class consisting of gradients of all real-valued convex functions in $\mathbb R^d$, that is, $\mathcal F = \{ \nabla \phi ~|~ \phi: \mathbb R^d \to \mathbb R \text{ and $\phi$ is convex}\}$. Note that every element of $\mathcal F$ is a function from $\mathbb R^d$ to $\mathbb R^d$. Then is $\mathcal F$ closed under composition operation? That is, suppose $f \in \mathcal F$ and $ g\in \mathcal F$, do we have $f\circ g \in \mathcal F$ where $\circ$ denotes function composition?
Note: the statement should be true for $d = 1$ since:
- Gradient of a univariate real-valued convex function is non-decreasing;
- Composition of two non-decreasing functions is still non-decreasing;
- Non-decreasing gradient corresponds to a convex function.