Dear Forum, I have a Lie algebra A (the basis of A is given by matrices explicitly). Is there some function in GAP which can compute all subalgebras (in particular, maximal subalgebras of A) in GAP? I searched the manual of GAP, but I am not able to find such functions. Thank you very much. With best wishes, Jianrong.