I have something that looks like this:
\usepackage{amsmath}
\begin{document}
\begin{thm}
The following are true:
\begin{enumerate}
\item \label{foo} Foo
\item \label{bar} Bar
\item \label{baz} Baz
\end{enumerate}
\end{thm}
Refer to Theorem \ref{bar}
\end{document}
Right now, the reference to bar shows up as Theorem 1. I want it to show up as Theorem 1.2. Is there any way to do that? To give a sub-numbering to each label within a theorem?