Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6524 closed defect (fixed)

[with patch, positive review] Ratio of two symbolic expressions involving derivative does not simplify

Reported by: gmhossain Owned by: burcin
Priority: major Milestone: sage-4.1.2
Component: symbolics Keywords:
Cc: Merged in: Sage 4.1.2.alpha4
Authors: Burcin Erocal Reviewers: Karl-Dieter Crisman
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

In new symbolics, ratio of two symbolic expressions involving derivative does not simplify

sage: f(x) = function('f', x)
sage: g = f(x).diff(x)
sage: h = f(x).diff(x)*sin(x)
sage: h/g
sin(x)*D[0](f)(x)/D[0](f)(x)

However, for some ordering it does simplify

sage: f(x) = function('f', x)
sage: g = f(x).diff(x)
sage: h = sin(x)*f(x).diff(x)
sage: h/g
sin(x)

Attachments (1)

trac_6524-fderivative_compare.patch (1.4 KB) - added by burcin 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by burcin

comment:1 Changed 13 years ago by burcin

  • Authors set to Burcin Erocal
  • Milestone set to sage-4.1.2
  • Owner changed from (none) to burcin
  • Status changed from new to assigned
  • Summary changed from Ratio of two symbolic expressions involving derivative does not simplify to [with patch, waiting for new pynac] Ratio of two symbolic expressions involving derivative does not simplify

This is fixed in my pynac tree, attachment:trac_6524-fderivative_compare.patch contains doctests for Sage.

I will post a new pynac package and review instructions soon.

comment:2 Changed 13 years ago by burcin

  • Summary changed from [with patch, waiting for new pynac] Ratio of two symbolic expressions involving derivative does not simplify to [with patch, needs review] Ratio of two symbolic expressions involving derivative does not simplify

New pynac package available at #6993.

comment:3 Changed 13 years ago by kcrisman

  • Reviewers set to Karl-Dieter Crisman
  • Summary changed from [with patch, needs review] Ratio of two symbolic expressions involving derivative does not simplify to [with patch, positive review] Ratio of two symbolic expressions involving derivative does not simplify

Looks like it's fixed. Pending of course positive review of the Pynac package as a whole.

comment:4 Changed 13 years ago by mvngu

  • Merged in set to Sage 4.1.2.alpha3
  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 13 years ago by mvngu

  • Merged in changed from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4

There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on making the notebook a standalone package.

Note: See TracTickets for help on using tickets.