I have theorems, e.g., a lemma below whose proof is provided in the appendix. How to make the lemma clickable and directed to its restatable (or proof) in the appendix?
Here is the illustration.
Here is the minimal code for the figure above.
\documentclass{article}
\usepackage{amsmath, amsthm, thm-restate}
\newtheorem{lemma}{Lemma}
\begin{document}
\begin{restatable}[Ni]{lemma}{mylemma}\label{thm:mylemma}
Given us be the knight, we say Ni.
\end{restatable}
\appendix
\section{Appendix: proofs}
\mylemma*
\begin{proof}
It is true, Ni!
\end{proof}
\end{document}