%%
%% The LaTeX Companion, 3ed
%%
%% Example 4-1-36 on page I-283 in "Proofs and the QED symbol".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{171.0pt}


 \usepackage{microtype}  % improve the line breaking in short measure


%StartShownPreambleCommands
\usepackage{amsthm}
%StopShownPreambleCommands

\begin{document}
\begin{proof}[Proof (sufficiency)]
This proof involves a list  \begin{enumerate}
\item because the proof comes in two parts.
\item We need to use \verb|\qedhere|. \qedhere
\end{enumerate}  \end{proof}
\end{document}