... \[ E=mc^2. \qedhere \] \end{proof}
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref) removing `math shift' on input line 2.次のように書けばよい。
\subsection{\texorpdfstring{$n$}{n}変数関数}
\usepackage[top=30truemm,bottom=30truemm,left=25truemm,right=25truemm]{geometry}