mentat-collective / emmy

The Emmy Computer Algebra System.
https://emmy.mentat.org
GNU General Public License v3.0
406 stars 24 forks source link

Simplifier doesn't detect trigonometric identity #123

Closed light-matters closed 1 week ago

light-matters commented 1 year ago
(simplify (* -8 (+  (- (* 1/8 (expt (cos 'theta) 4)))
                            (* 1/4 (expt (cos 'theta) 2))
                            (- 1/8))))

could simplify to

(expt (sin 'theta) 4)

but doesn't ...

sritchie commented 1 year ago

that's a toughie!! What a good challenge problem...