#18396: Handle substitutions of partial sums and products
-------------------------------+------------------------
       Reporter:  vdelecroix   |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.7
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by vdelecroix):

 Replying to [comment:2 nbruin]:
 > I'm not so sure we have to do more than document it. Obviously you
 cannot expect substitutions to happen on any "equal" subexpression, since
 that concept isn't well-defined.

 I do not want to substitute "equal" subexpression but only identical ones.
 And doing so, I want to consider 'a+c' as a unit of 'a+b+c+d' and 'a*c' as
 a unit in 'a*b*c*d'. This is perhaps not desirable though.

 > The thing is: `x+x^2` isn't a syntactical subunit of `x + x^2 + x^4` for
 the internal representation, which is roughly `('+',x,('^',x,2))` versus
 `('+',x,('^',x,2),('^',x,4))`

 I know, and this is precisely the purpose of the ticket.

 > You'll have to decide how much tricks are worthwhile to implement before
 you just add the relation `y-(x^2+x)` and ask for elimination of x via
 groebner bases.

 Note that `x + y - (u + v)` does not exist. But I agree that there is an
 ambiguous `+/-` issue (as far as the ticket description is concerned).

--
Ticket URL: <http://trac.sagemath.org/ticket/18396#comment:3>
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