As of this writing, the arxiv still uses texlive 2011. For me, at least, the only viable option is to take @cfr's suggestion, and make the diagram in a standalone document, then include it back in the original with \includegraphics. Details of the following might not be the best way to do it, but it works for me. Here's the standalone commutative-diagram.tex:
\documentclass[tikz, preview]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
% any other macros or packages that might affect the diagram
\usepackage{tikz-cd}
\begin{document}
\begin{equation}
\begin{tikzcd}
P \arrow[d, "a"] \arrow[rd, "b"]
& \\
S^3 \arrow[r, "c"] & S^2
\end{tikzcd}
\end{equation}
\end{document}
[Note that I think the equation environment is not strictly necessary, but I like to keep it, in case I do something weird.] I process that on its own with pdflatex. Then in the main document, I just have
\begin{equation}
\label{eq:commutative-diagram}
\raisebox{-0.5\height}{\includegraphics{commutative-diagram}}
\end{equation}
That \raisebox part makes sure the label is aligned with the center, as suggested here.
It's an ugly and annoying solution, but it works.
\includegraphicsan option? – cfr Jan 19 '15 at 03:06