Pow x3 Pow Pow cot x1 sec x0 x6 
Mul Pow x3 Add Pow Pow cot x1 sec x0 x6 -1 Mul Mul x3 log x3 Mul Pow Pow cot x1 sec x0 Add x6 -1 Mul x6 Mul Pow cot x1 Add sec x0 -1 Mul Mul cot x1 log cot x1 Mul tan x0 sec x0 