I would like to use bigger fonts (14pt) for the name and the numbering of the parts, except in the TOC. I know that I must use the package titlesec but I do not understand how. There is a similar question for a different class here : Control font size \part. The package sectsty does not work with amsart.
\documentclass[12pt]{amsart}
\newtheorem{thm}{Theorem}[section]
\renewcommand{\thethm}{\Roman{part}.\arabic{section}.\arabic{thm}}
\renewcommand{\thepart}{\Roman{part}}
\begin{document}
\setcounter{tocdepth}{1}
\tableofcontents
\part{blabla}
\section{blablabla}
\begin{thm}
The integer $1+1$ is finite.
\end{thm}
\begin{thm}
The integer $1+1$ is less than $1000$.
\end{thm}
\end{document}
