I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, even though "Definition 2" is actually the first definition in the document.
I would like theorems and definitions to be numbered independently. How do I accomplish this (in Lyx)?