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

check for subs of AsymptoticExpansion #22414

Open
dkrenn opened this issue Feb 22, 2017 · 0 comments
Open

check for subs of AsymptoticExpansion #22414

dkrenn opened this issue Feb 22, 2017 · 0 comments

Comments

@dkrenn
Copy link
Contributor

dkrenn commented Feb 22, 2017

sage: A.<n> = AsymptoticRing('n^ZZ', QQ, default_prec=3)
sage: n
n
sage: _.subs(n=1/(2-1/n))
1/2 + 1/4*n^(-1) + 1/8*n^(-2) + O(n^(-3))
sage: _.subs(n=1/(2-1/n))
O(1)

is wrong (the two substitutions are equal to the identity).

Similarly,

sage: n.subs(n=1/(2-1/n))
1/2 + 1/4*n^(-1) + 1/8*n^(-2) + O(n^(-3))
sage: _.subs(n=A(1/2))
O(1)

Aim: add a check 1/f is o(1) to .subs(n=f).

CC: @cheuberg @behackl

Component: asymptotic expansions

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

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

2 participants