chern.lib
LIB "chern.lib"; ring r = 0, (x, y, z), dp; list l=x, y, z; //sum of 7-th powers of x, y, z print( sum_of_powers(7, l) ); ==> x7+y7+z7