Suppose I have a theorem that is defined a certain way, as follows.
\newtheorem*{mytheorem}{Foo}
And I want to redefine it another way further down in my document, as below.
\newtheorem*{mytheorem}{Bar}
What is the easiest way to go about this?
I would like something like this, but I get undefined control sequence on \renewtheorem.
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\begin{document}
\theoremstyle{definition}
\newtheorem*{thmTemp}{Foo}
\begin{thmTemp} First one. \end{thmTemp}
\renewtheorem*{thmTemp}{Bar}
\begin{thmTemp} Second one. \end{thmTemp}
\end{document}
When I run pdflatex on this, I get the following:
! Undefined control sequence.
l.10 \renewtheorem
*{thmTemp}{Bar}
I am avoiding ntheorem because it does not preserve the theorem styles defined by amstheorem, even when the amsthm option is passed to it, and I would prefer not to redefine those styles.

\renewtheorem? It would be helpful if you composed a fully compilable MWE including\documentclassand the appropriate packages that sets up the problem. That way we would know which packages you are using as some solutions may be package specific. – Peter Grill Mar 18 at 6:13amsthmwithntheorem. – Peter Grill Mar 18 at 6:22\theoremstyle{definition}among others. – merlin2011 Mar 18 at 6:23