#20139: implement trigonometric symmetry simplifications
-------------------------------+------------------------
       Reporter:  rws          |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-7.1
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------
Description changed by rws:

Old description:

> This will bring Sage to its knees:
> {{{
> assert sin(104*pi/105) == sin(pi/105)
> }}}
> because sin symmetry is not implemented and so the `__nonzero__` proof
> machinery is started which uses `QQbar` on algebraic numbers of high
> degree.
>
> Sympy immediately verifies the equation because it does:
> {{{
> >>> sin(104*pi/105)
>    ⎛ π ⎞
> sin⎜───⎟
>    ⎝105⎠
> }}}

New description:

 This will bring Sage to its knees:
 {{{
 assert sin(104*pi/105) == sin(pi/105)
 }}}
 because sin symmetry is not implemented and so the `__nonzero__` proof
 machinery is started which uses `QQbar` on algebraic numbers of high
 degree.

 Sympy immediately verifies the equation because it does:
 {{{
 >>> sin(104*pi/105)
    ⎛ π ⎞
 sin⎜───⎟
    ⎝105⎠
 }}}

 The fix will be made in Pynac and this ticket should doctest it.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/20139#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to