Changes between Initial Version and Version 1 of Ticket #18396


Ignore:
Timestamp:
05/10/15 16:24:16 (5 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18396 – Description

    initial v1  
    11Sage is not able to identify partial sum in a substitution
    22{{{
    3 sage: var('x,y,z')
    4 sage: f = x^4 + x^2 + x
    5 sage: f.subs(x^4 + x^2 == y)
     3sage: var('x,y')
     4sage: f = x + x^2 + x^4
     5sage: f.subs(x^2 == y)             # one term is fine
     6x^4 + x + y
     7sage: f.subs(x + x^2 == y)         # partial sum does not work
    68x^4 + x^2 + x
     9sage: f.subs(x + x^2 + x^4 == y)   # whole sum is fine
     10y
    711}}}
    812Similarly with products