In my thesis, if number theorem statement is 1.12, proof is coming as 1.13. How to make the number of proof as
1.12?
I use
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[secn]{Corollary}
\newtheorem{proposition}[secn]{Proposition}
\newtheorem{lemma}[secn]{Lemma}
\newtheorem{problem}[secn]{Problem}
\newtheorem{pd}{Problem Statement}
\newtheorem{proof}[secn]{Proof}
\begin{proof}
\end{proof}
I am getting like this:
Lemma 2.9 ........................................
......................................
Proof 2.10 We have two cases.
This is not working:
\theoremstyle{plain}
\newtheorem{theorem}[secn]{Theorem}
\newtheorem{corollary}[secn]{Corollary}
\newtheorem{proposition}[secn]{Proposition}
\newtheorem{lemma}[secn]{Lemma}
\newtheorem{problem}[secn]{Problem}
\newtheorem{pd}{Problem Statement}
\newtheorem{proof}[secn]{Proof}
\usepackage{ntheorem}
\theoremstyle{plain}
%newtheorem{theorem}{Theorem}[section]
% ...
%\newtheorem{proof}[theorem]{Proof} % 'proof' and 'theorem' use same counter variable
\usepackage{etoolbox}
\AtBeginEnvironment{proof}{\addtocounter{theorem}{-1}}


amsthm, you don't need to define aproofenvironment using\newtheorem; it already exists. Are you getting any errors with your current setup? – Werner Mar 20 '18 at 17:16amsthm, you can give a theorem a\label(say\label{thm:xxx}) and for the proof (not the one you have redefined, but the original), enter it as\begin{[proof}[Proof of Theorem \ref{thm:xxx}. – barbara beeton Mar 20 '18 at 17:43ntheorempackage in lieu ofamsthm? – Mico Mar 20 '18 at 18:55