Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sometimes I have a really huge expression that cannot be significantly simplified by FullSimplify. I would like to, so to speak, "simplify with faith" using heuristics applied by functions like PossibleZeroQ, FindSequenceFunction an so on. Is it possible to instruct FullSimplify to use non-rigorous methods like this?

share|improve this question

1 Answer 1

up vote 15 down vote accepted

Sometimes I use the following:

FullSimplify[
  1 + Sqrt[2] Log[2] - Sqrt[3] Log[3] - Sqrt[5] Log[5] + 
  Sqrt[2 (9 + 4 Sqrt[2]) Log[2]^2 + 3 Log[3]^2 - 2 Log[2] (Sqrt[3] (4 + Sqrt[2]) Log[3] +
  4 Sqrt[5] Log[5]) + Log[5] (-Sqrt[10] Log[4] + 5 Log[5] + Sqrt[15] Log[9])] + Log[16], 
    TransformationFunctions -> {Automatic, 
      If[Not[AtomQ[#]] && NumericQ[#] && PossibleZeroQ[# - Round[#]], Round[#], #] &}]

It helps to get a conjectured simple representation of an expression, which then I can try to prove rigorously.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.