#10483: Deprecate the misuse of symbolic variables as polynomial variable
-----------------------------------+----------------------------------------
   Reporter:  SimonKing            |       Owner:  AlexGhitza                   
           
       Type:  defect               |      Status:  needs_review                 
           
   Priority:  major                |   Milestone:  sage-4.6.1                   
           
  Component:  basic arithmetic     |    Keywords:  deprecation symbolic 
polynomial variable
     Author:  Simon King           |    Upstream:  N/A                          
           
   Reviewer:  Karl-Dieter Crisman  |      Merged:                               
           
Work_issues:                       |  
-----------------------------------+----------------------------------------
Changes (by kcrisman):

  * reviewer:  => Karl-Dieter Crisman


Comment:

 I'm just saying that the "of course is not the case" is not at all "of
 course" to me.  Current behavior:
 {{{
 sage: P = QQ[x]
 sage: P.gen()
 x
 sage: P.gen() == x
 x == x
 sage: bool(P.gen() == x)
 True
 sage: P.gen() is x
 False
 }}}
 So unless you think to do the last thing, that is pretty confusing - they
 have identical representation methods.  Which is of course why you want to
 change this, and introduce the deprecation.

 So maybe you could say
 {{{
 ... resulting polynomial ring.  However, this was not the case; the
 generator of a polynomial ring is always a polynomial type, not a symbolic
 expression, so although they have the same representation, they are not
 the same.  This explains the following warning:

 <deprecation warning doctest
 }}}
 Does that make any sense?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10483#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to