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

Some wrong answers from rsolve #11063

asmeurer opened this Issue Apr 29, 2016 · 0 comments


None yet
1 participant
Copy link

asmeurer commented Apr 29, 2016


>>> from sympy import *
>>> F=Function('F')
>>> t=symbol('t')
>>> n=Symbol('n')
>>> f=F(n+1,t)-F(n,2*t)
>>> rsolve(f,F(n,t),{F(0,t):t})
>>> y=Symbol('y')
>>> f=F(n+1,y,t)-F(n,y+1,y*t)
>>> rsolve(f,F(n,y,t),{F(0,y,t):t})

Both answers are wrong (the correct answers are 2**n*t and t*rf(y, n+1)). A simple substitution in each case shows that t isn't even right as a trivial solution.

skirpichev added a commit to diofant/diofant that referenced this issue Apr 30, 2016

skirpichev added a commit to skirpichev/diofant that referenced this issue May 13, 2016

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