I want the numbering of claims, subclaims, subsubclaims, etc to be hierarchically numbered. Is there a way to do this without having to make those extra "subclaim" environments? For example:
\documentclass{article}
\usepackage{amsmath,amsthm,amssymb}
\newtheorem{thm}{Theorem}
\newtheorem{claim}{Claim}[thm]
\begin{document}
\begin{thm}
this has a long proof. i break it up into smaller claims.
\end{thm}
\begin{claim}
i prove a smaller piece of the theorem.
this proof makes its own even smaller claims.
\end{claim}
\begin{claim}
i prove a claim made in the previous claim environment.
\end{claim}
\end{document}
This example produces the following numbering:
Theorem 1
Claim 1.1
Claim 1.2
Ideally, I would want the numbering to go like:
Theorem 1
Claim 1.1
Claim 1.1.1
since the last claim "belongs" to the claim before it.
Some of the solutions I've seen accomplish this by making an extra "subtheorems" wrapper environment. Is there a simpler way?
claim
hierarchy is really useful