Would you know an algorithm (or an automatic method) that computes all maximal ideals $J$ of a given Lie algebra?
Or an algorithm that computes all maximal ideals $J$ containing a given minimal ideal $I$?
The input would be the structure constants of the Lie algebra on a given basis (plus a basis of the minimal ideal $I$ in the second case).
Many thanks in advance.