Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incomplete gamma identities #18956

Open
sagetrac-buck mannequin opened this issue Jul 27, 2015 · 2 comments
Open

incomplete gamma identities #18956

sagetrac-buck mannequin opened this issue Jul 27, 2015 · 2 comments

Comments

@sagetrac-buck
Copy link
Mannequin

sagetrac-buck mannequin commented Jul 27, 2015

This work depends on #16697, but I'd like to start it now.

There is a quite simple identity for the incomplete gamma functions:

gamma(x) == gamma_inc_lower(x, y) + gamma_inc(x, y)

In the mathematica three-argument-gamma notation, this is a bit more clearly true:

gamma(x, 0, oo) == gamma(x, 0, y) + gamma(x, y, oo)

What bits of sage do I need to patch to teach the simplifier about this identity? Is this something I can do as a plain-old user? Also, what bits of the documentation cover this aspect of symbolic symplification, from both user and contributor perspectives?

Depends on #16697

CC: @paulmasson

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/18956

@rwst
Copy link

rwst commented Jul 28, 2015

comment:1

The simplify*/expand* member functions are covered in http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html. Most of them use Maxima. If you have a function that does this rewrite it should be added in this module, and probably also to one of the simplify*/expand* functions. As to the details, best would be a function named expand_xyz because you expand gamma(x), or rewrite_xyz. The same documentation contains specifics on pattern matching and overall expression manipulation, which is needed here.

As to the second identity, we still haven't the gamma with three parameters.

@sagetrac-buck
Copy link
Mannequin Author

sagetrac-buck mannequin commented Jul 28, 2015

comment:2

Thanks!

To be clear, there's just one identity here, with two notations.
I expect if/when we gain a three-argument gamma, the simplification logic won't need to be modified in order to Just Work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant