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

AsymptoticRing: inversion #19068

Closed
behackl opened this issue Aug 21, 2015 · 32 comments
Closed

AsymptoticRing: inversion #19068

behackl opened this issue Aug 21, 2015 · 32 comments

Comments

@behackl
Copy link
Member

behackl commented Aug 21, 2015

This ticket implements the inversion (and division) of asymptotic expressions (elements of the AsymptoticRing, implemented in #17716).

This relies heavily on the expansion via geometric series. If the expansion of such a series does not stop (e.g. in the case 1/(1-x)), the series has to be truncated with an O-Term.

Depends on #17716

CC: @dkrenn

Component: asymptotic expansions

Keywords: gsoc15

Author: Benjamin Hackl

Branch: c7023dd

Reviewer: Daniel Krenn

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

@behackl behackl added this to the sage-6.9 milestone Aug 21, 2015
@behackl
Copy link
Member Author

behackl commented Aug 21, 2015

Branch: u/behackl/asy/inversion

@behackl
Copy link
Member Author

behackl commented Aug 21, 2015

Commit: d72a173

@behackl
Copy link
Member Author

behackl commented Aug 21, 2015

Last 10 new commits:

6456300minor rewording in docstring
4e7b080Merge branch 'u/dkrenn/asy/asymptoticExpression' into asy/asymptoticExpression and fixed some merge conflicts
bea6f0dfixed negative powers of O-Terms
5d1d3c0new property default_prec implemented
ab9ae6fdivision implemented
095b987inversion and truncation implemented
d258eb9two types of equality for asymptotic expressions implemented;
f326e4ffixed endless recursion in __eq__
8eb21a6used correct type of equality in truncate
d72a173fixed doctests

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 21, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

7b8c1a0fixed a conversion issue for terms with coefficient
83f74d3Merge branch 'asy/asymptoticTerm' into asy/asymptoticExpression
5113a73Merge branch 'asy/asymptoticExpression' into asy/inversion

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 21, 2015

Changed commit from d72a173 to 5113a73

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 21, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

fec5796_is_same_term_ moved to TermWithCoefficient
b8ccae1documentation adapted
0346e60refactored: is_same_term --> is_same
56e3816added doctests for is_same
03c2833doctests for `_div_` and `_invert_` improved
97f15e6mentioned inversion in the module description

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 21, 2015

Changed commit from 5113a73 to 97f15e6

@dkrenn
Copy link
Contributor

dkrenn commented Aug 25, 2015

Changed branch from u/behackl/asy/inversion to u/dkrenn/asy/inversion

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 28, 2015

Changed commit from 97f15e6 to 51cfce6

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 28, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

caef9eaterm: is_same --> __eq__
5618385rewrite has_same_summands to use iterators efficiently
51cfce6adapt doc

@dkrenn
Copy link
Contributor

dkrenn commented Aug 28, 2015

Reviewer: Daniel Krenn

@dkrenn
Copy link
Contributor

dkrenn commented Aug 28, 2015

Author: Benjamin Hackl

@dkrenn
Copy link
Contributor

dkrenn commented Aug 28, 2015

comment:6

3 reviewer commits. Please cross check. Fine otherwise. From my side a conditional positive review (once #17716 is positive this can be set to positive as well).

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 9, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

1c81c12language oddities fixed
032d8b8Merge branch 'asy/growthGroup' into asy/growthGroup-factory
3a05be7Merge tag '6.9.beta5' into t/17600/asy/growthGroup
58f931dadd asymptotic_expansions index
9d6f2daMerge branch 't/17600/asy/growthGroup' into t/18930/asy/growthGroup-factory
6da5adeMerge branch 't/18930/asy/growthGroup-factory' into t/17715/asy/asymptoticTerm
2c1c39dMerge branch 't/17715/asy/asymptoticTerm' into t/17716/asy/asymptoticExpression
8894fceMerge branch 't/17716/asy/asymptoticExpression' into t/19068/asy/inversion

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 9, 2015

Changed commit from 51cfce6 to 8894fce

@dkrenn
Copy link
Contributor

dkrenn commented Sep 9, 2015

comment:8

Merged 6.9.beta5

@behackl
Copy link
Member Author

behackl commented Sep 23, 2015

comment:10

Merged positively reviewed dependencies and fixed some merge conflicts.


Last 10 new commits:

b31fac8rewrite a couple of one-line descriptions
17e921fremove sorted_set_by_tuple
7af4b6bremove reverse keyword from shells
a49a20dadd comment in code to make it clear what happens
89b8209change left/right to self/other
1d52f6cadd a note to the set operations methods
3b3b2fbobject --> SageObject
572a95dMerge branch 'asy/mutable-poset' into asy/asymptoticExpression
5f54aecexplicitly forbid coercion from MutablePoset into the AsymptoticRing
dc38b28Merge branch 'asy/asymptoticExpression' into asy/inversion

@behackl
Copy link
Member Author

behackl commented Sep 23, 2015

Changed branch from u/dkrenn/asy/inversion to u/behackl/asy/inversion

@behackl
Copy link
Member Author

behackl commented Sep 23, 2015

Changed commit from 8894fce to dc38b28

@behackl
Copy link
Member Author

behackl commented Sep 23, 2015

comment:11

@Daniel: thank you for your review, I cross-checked your reviewer commits; LGTM. As soon as the dependencies are all positive (and after I've merged them into this branch) I'll set this to positive_review.

Benjamin

@dkrenn
Copy link
Contributor

dkrenn commented Sep 29, 2015

comment:12

Merge conflict with changed dependency.

@cheuberg
Copy link
Contributor

comment:13

Please add a TODO: Once L-terms are implemented, this inversion here will give incorrect results.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 29, 2015

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

dc00f95improve documentation of _element_constructor_
abb08ffimprove _element_constructor_
78b9e96Trac #17716: additional doctest
055e35bTrac #17716: Fix ReSt error
e8e2501make entry in reference/index
f0b759aMerge branch 'asy/asymptoticExpression' into asy/inversion
b37740fremove code duplicate
bfc460afix removed keyword 'default_prec'
fc9bcf2add result to doctest
4edaa39slightly improve __pow__

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 29, 2015

Changed commit from dc38b28 to 4edaa39

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 29, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

c7023ddtodo-block with remark w.r.t. L-terms added

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 29, 2015

Changed commit from 4edaa39 to c7023dd

@behackl
Copy link
Member Author

behackl commented Sep 29, 2015

comment:16

Daniel, do you want to cross-check the merge and the adaptions?

@dkrenn
Copy link
Contributor

dkrenn commented Oct 1, 2015

comment:17

Replying to @behackl:

Daniel, do you want to cross-check the merge and the adaptions?

Cross-checked...changes look good.

@vbraun
Copy link
Member

vbraun commented Oct 12, 2015

Changed branch from u/behackl/asy/inversion to c7023dd

@jdemeyer
Copy link

jdemeyer commented Jan 7, 2016

comment:19

Why reinvent the coercion model? You don't need __div__ and _div_, the class MultiplicativeGroupElement already implements that for you...

I will fix this in #18578.

@jdemeyer
Copy link

jdemeyer commented Jan 7, 2016

Changed commit from c7023dd to none

@dkrenn
Copy link
Contributor

dkrenn commented Jan 7, 2016

comment:20

Replying to @jdemeyer:

Why reinvent the coercion model? You don't need __div__ and _div_, the class MultiplicativeGroupElement already implements that for you...

Seems to be a forgotten __div__; we got rid of them in the other files of this folder, but it seems we've forgotten it in the term monoids.

I will fix this in #18578.

Thank you.

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

5 participants