trigsimp supplement?



 
It is possible to collect in a list L,
all the arguments of sin or cos by scanning the expression.
Then ... for  x in L do ratsubst.....

>RJF