[Tex/LaTex] How to remove the word “Proof:” from the environment proof

ieeetrannamingtheorems

I am writing a paper and I will prove a theorem in an appendix because the proof is lengthy. When I use the following code,

\documentclass[journal]{IEEEtran}
\usepackage{amssymb, amsmath, amsthm, amsfonts}
\renewcommand*{\proofname}{}

\begin{document}

\appendices
\section{Proof of Theorem \ref{theorem1}}

\begin{proof}
We will use induction to prove this theorem.
\end{proof}
\end{document} 

I get the following:

enter image description here

I would like to remove the word "Proof:" from the proof as this is already explained in the name of the appendix.

I have checked the question How to change the word “Proof” in the proof environment?. I tried to change the name to be blank using

\renewcommand*{\proofname}{}

However this does not seem to work.

Best Answer

Use this code

\begin{proof}[\unskip\nopunct]

\end{proof}

A full example:

\documentclass[journal]{IEEEtran}
\usepackage{amssymb, amsmath, amsthm, amsfonts}

\usepackage{showframe} % just to show the margins

\newtheorem{thm}{Theorem}

\begin{document}

\begin{thm}\label{theorem1}
Toasters can fly.
\end{thm}

\appendices
\section{Proof of Theorem \ref{theorem1}}

\begin{proof}[\unskip\nopunct]
We will use induction to prove this theorem.
\end{proof}
\end{document}

enter image description here