In cylindrical coordinates, the gradient of is given by , as per Table 9.3.2.
By Table 9.3.3, the curl in cylindrical coordinates is
= = =
where the final simplification to the zero vector hinges on the equality of the mixed partial derivatives. That is why an assumption on the behavior of the function must be made.