I would like to prevent automatic simplification of some trigonometric functions involving complex numbers.
The option AutosimplifyTrigs does the trick with 1/Cos[z], but not with Cos[I z].
1/Cos[z] SetSystemOptions["SimplificationOptions" -> "AutosimplifyTrigs" -> False]; 1/Cos[z] Cos[I z] gives
Sec[z] 1/Cos[z] Cosh[z] Is there a way to prevent the simplification Cos[I z] -> Cosh[z] ?


Cos[I z]. Then useHoldForm[Cos[I z]]orCos[HoldForm[I z]]. Another possibility is that you will make further analytical calculations, but for whatever reason want to keepCos[I z]as it is. Then useCos[i z]instead. On the very last stage of your calculations you may replaceibyIas followsexpression/.i->I. $\endgroup$Cosh[z]->Cos[HoldForm[I z]](and possibly alike replacements, if needed) after the calculations have been finished. $\endgroup$