| 1 | initial version |
One can use the .to_word_list() method on a monomial in PBW basis.
E.g.
sage: PBW[-alpha[1]-alpha[2]]*PBW[-alpha[1]].to_word_list()
>>>> [-alpha[1]-alpha[2],-alpha[1]]
The resulting list of roots are keys in the basis of the original Lie algebra, and can hence be easily converted. This solves my problem.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.