I want to be able to pick out the different monomials in a power series ring with coefficient ring Laurent series in another variable (or more). For example:
Q. = LaurentSeriesRing(QQ)
S.<x> = LaurentSeriesRing(Q)
SS.
= PowerSeriesRing(S)
U = 1 + 2X^3s^4 + 5q^6X^7*s^8
What's the best way to extract the different monomials together with their coefficients?