First time here? Check out the FAQ!
answered 2023-10-26 06:13:16 +0100
Try canonicalize_radical():
canonicalize_radical()
var('alpha,beta,x,y') f=exp(alpha*log(x)+beta*log(y)) print(f.canonicalize_radical())