How can Borel-de Siebenthal theory can be thought of as an algorithm that, given a semisimple compact Lie group $G$, gives all semisimple compact Lie subgroups whose root systems have the same rank as $G$’s.
How can this be generalized to arbitrary semisimple algebraic groups?