| 1 | initial version |
I'd advise against using symbolic variables. Since you want power series in h, you can define a ring of them upfront and then symmetric functions over that ring:
R.<h> = PowerSeriesRing(QQ)
Sym = SymmetricFunctions(R)
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.