How to get numbered Lemmas, Definitions, Theorems and so on in
You can set the
or with the
If additionally you use the
then theorems, definitions, and so on to be numbered locally to each section (by default they are numbered consecutively throughout the presentation).