If you're just considered sectional headings, then you can use
\subsubsections with the following counter redefinitions way:
The above changes the numbering scheme representation for sections to
\arabic (actually, the default), subsections to
\Alph (for theory and examples) and subsubsections to
\arabic (also, the default). It also makes sure that the display conforms to your requirements in terms of concatenation.