Solution (source code)

= Solution

Each component depends only on its own coordinate, so all cross <partial derivatives> vanish. Therefore the <curl> is
$$
\boxed{\nabla\times\mathbf f=\mathbf0.}
$$
This also follows from the identity that the <curl of a gradient> vanishes for a twice continuously <differentiable> <potential energy>.