I don't know if this is possible to do in Latex, but here's what I'd like to do. I want to cite a theorem using its label, but what should appear is both its theorem number and its name (the text in square brackets after \begin{theorem}).
For example, consider the following theorem definition:
\begin{theorem}[Triangle inequality]\label{thm:triangle}
......
\end{theorem}
When I cite this, I want to be able to write something like
This is easily proved using the \SomeCommand{thm:triangle}.
What I would like to appear is
This is easily proved using the Triangle inequality (Theorem 1).
Ideally, the text will also be hyperlinked to the theorem.
Can this be done?

cleverefpackage? – jon Mar 29 '16 at 03:22