#19035: Improve assumption documentation and doctest recent improvements
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  
u/rws/doctest_syncing_of_elementary_assumptions_on_symbols_functions_with_pynac|
  b198a3f0f2128016aefeb0134c61ee357a115bc9
   Dependencies:  #19312             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by rws):

 * status:  new => needs_review
 * commit:   => b198a3f0f2128016aefeb0134c61ee357a115bc9
 * type:  defect => enhancement


Old description:

> With pynac-0.5 this will no longer give wrong results:
> {{{
> sage: assume(x,'integer')
> sage: x.is_integer()
> False
>
> sage: assume(x>0)
> sage: x.is_positive()
> False
>
> sage: f=function('f')(x)
> sage: assume(f>0)
> sage: f.is_positive()
> False
> }}}
> Syncing with Pynac will allow limited but fast decision making (without
> Maxima) through already existing flag logic in Pynac.
>
> https://github.com/pynac/pynac/issues/81
>
> The branch of this ticket contains adaptions on the Sage side. The Pynac
> interface declarations are already committed (appearing in version
> 0.4.4+). The complete interface may be in Pynac-0.5.

New description:

 With pynac-0.5 this will no longer give wrong results:
 {{{
 sage: assume(x,'integer')
 sage: x.is_integer()
 False

 sage: assume(x>0)
 sage: x.is_positive()
 False

 sage: f=function('f')(x)
 sage: assume(f>0)
 sage: f.is_positive()
 False
 }}}

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=b198a3f0f2128016aefeb0134c61ee357a115bc9
 b198a3f]||{{{19035: document syncing of generic assumptions on
 symbols/functions with Pynac}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/19035#comment:5>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to