Como posso numerar meus resultados subsequentes após meus teoremas?

Como posso numerar meus resultados subsequentes após meus teoremas?

Estou tentando numerar os resultados do meu teorema após o meu teorema, ou seja, Teorema 1 seguido pelo Resultado 1.1, Resultado 1.2,... e Teorema 2 seguido pelo Resultado 2.1, Resultado 2.2 e assim por diante, onde o primeiro número após "Resultado" é o número do teorema ao qual o resultado corresponde. Estou fazendo isso no beamer. Estou usando o pacote amsthm e meu código é o seguinte:

      \theoremstyle{theorem}
\newtheorem{thm}{Theorem}[section]
\theoremstyle{theorem}
\newtheorem{res}{Result}[section]

Obrigado!

Editar: como sugerido pelo tohec, aqui está um exemplo prático:

\documentclass{beamer}
\usepackage[ labelfont={bf, color =ot}]{caption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{tikz-cd}
\usepackage{relsize}
\usepackage{amsthm}
\usepackage{esdiff}
\usepackage{amsthm}

\setbeamertemplate{theorems}[numbered]

\theoremstyle{theorem}
\newtheorem{thm}{Theorem}
\theoremstyle{theorem}
\newtheorem{res}{Result}

\begin{document}

\begin{frame}

\begin{thm}Here lies the first theorem.\end{thm}

\begin{res}Here lies the first result from the first theorem\end{res}

\begin{res}Here lies the second result from the first theorem\end{res}

\begin{thm}Here lies the second theorem.\end{thm}

\begin{res}Here lies the first result from the second theorem\end{res}

\end{frame}
\end{document}

Isto é o que eu recebo:

imagem

Beamer numera meus teoremas em ordem consecutiva e meus resultados em ordem consecutiva, sem relação entre eles. Aqui está o que eu gostaria de ter:

Teorema 1 Aqui reside o primeiro teorema.

Resultado 1.1 Aqui está o primeiro resultado do primeiro teorema.

Resultado 1.2 Aqui está o segundo resultado do primeiro teorema.

Teorema 2 Aqui reside o segundo teorema.

Resultado 2.1 Aqui está o primeiro resultado do segundo teorema.

Responder1

Você precisa informar {res}para ser subnumerado de {thm}, o que é feito por um argumento opcional adicionado no final de \newtheorem:

\newtheorem{res}{Result}[thm]

Incorporado em um MWE:

\documentclass{beamer}
\usepackage[ labelfont={bf, color =ot}]{caption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{tikz-cd}
\usepackage{relsize}
\usepackage{amsthm}
\usepackage{esdiff}
\usepackage{amsthm}

\setbeamertemplate{theorems}[numbered]

\theoremstyle{theorem}
\newtheorem{thm}{Theorem}
\theoremstyle{theorem}
\newtheorem{res}{Result}

\begin{document}

\begin{frame}

\begin{thm}Here lies the first theorem.\end{thm}

\begin{res}Here lies the first result from the first theorem\end{res}

\begin{res}Here lies the second result from the first theorem\end{res}

\begin{thm}Here lies the second theorem.\end{thm}

\begin{res}Here lies the first result from the second theorem\end{res}

\end{frame}
\end{document}

informação relacionada