3

I was surprised to see FullSimplify make my expressions numerically unstable. The result can be summarized below:

FullSimplify[-E^-t, ComplexityFunction -> LeafCount] (* -E^-t *)
FullSimplify[-E^-t] (* -Cosh[t]+Sinh[t] *)

Last time I dove deep into Mathematica, LeafCount was the default complexity measure, but this seems to have changed sometime in the last 10 years...what is the new heuristic?

Yaroslav Bulatov
  • 7,793
  • 1
  • 19
  • 44

0 Answers0