1 | initial version |
I'm not sure what the question here is, exactly... but simply defining a function should be easy enough.
def simp(f):
return f.simplify_full().simplify_trig()
'simp' isn't used by sage, so that could be your "master simplify" function if you want.