%============================================================================== % theorems.tex — theorem-like environments, deferred proofs, cleveref names. % All share one counter, numbered within section (Theorem 2.1, Lemma 2.2, ...). %============================================================================== % ---- Plain style: asserted results (italic body) --------------------------- \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{conjecture}[theorem]{Conjecture} \newtheorem{fact}[theorem]{Fact} % ---- Definition style: definitions/assumptions (upright body) -------------- \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{assumption}[theorem]{Assumption} \newtheorem{example}[theorem]{Example} \newtheorem{problem}[theorem]{Problem} % ---- Remark style: asides (upright body, slanted head) --------------------- \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newtheorem{claim}[theorem]{Claim} % ---- cleveref display names: moved to crefnames.tex, loaded in main.tex AFTER cleveref ---------- % (cleveref itself loads after this file — MiKTeX 26.5 firstaid workaround; see preamble.tex note) %============================================================================== % Deferred proofs — state a result once, restate it verbatim in the appendix. % % Body: \begin{restatable}[Name]{theorem}{ThmFoo}\label{thm:foo} % ... statement ... % \end{restatable} % \begin{proof}[Proof sketch] ... \end{proof} % optional % % Appendix: \ThmFoo* % restates with the ORIGINAL number % \begin{proof} ... full proof ... \end{proof} % % The starred \ThmFoo* reprints the stored statement, so the appendix copy can % never drift from the body. The macro name (\ThmFoo) must be letters only. % Mechanism: thm-restate, loaded in preamble.tex. %==============================================================================