ToDo - Yathartha22/sympy GitHub Wiki >>> f = sec(x) >>> f.rewrite(sin) sec(x) # implement rewrite for sec(x)