Opened 10 years ago

Last modified 12 months ago

#4618 new enhancement

Puiseux series

Reported by: ljpk Owned by: AlexGhitza
Priority: minor Milestone: sage-8.2
Component: algebra Keywords: Puiseux
Cc: mmezzarobba, vdelecroix, dkrenn Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: public/4618 (Commits) Commit: 98afe229b00ae434a5a2bd4849bf94081ff39bca
Dependencies: #24420, #24431 Stopgaps:

Description (last modified by vdelecroix)

We provide an implementation of Puiseux series, that is power series in x^(1/n) where n is an arbitrary integer.

When the base ring is an algebraically closed field, this is an algebraically closed field. In other words, any polynomial in QQ[X,Y] has a solution in Y as a Puiseux series in X over QQbar.

Change History (31)

comment:1 Changed 10 years ago by mabshoff

Hi ljpk,

requests like this shouls always go to [sage-devel] too since people generally do not look for things to do in trac. Sending the same request to [sage-devel] will make people aware of the problem and might get some design discussion going. Obviously if you are working on code this is different, but if you expect someone else to do the dirty work a little advertisement cannot hurt :)

Cheers,

Michael

comment:2 Changed 10 years ago by AlexGhitza

  • Type changed from defect to enhancement

comment:3 Changed 9 years ago by AlexGhitza

  • Component changed from linear algebra to algebra
  • Owner changed from was to AlexGhitza
  • Report Upstream set to N/A

comment:4 Changed 7 years ago by kcrisman

See also #9555.

comment:5 Changed 5 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:6 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:7 Changed 5 years ago by chapoton

  • Keywords Puiseux added

comment:8 Changed 5 years ago by rws

  • Description modified (diff)

comment:9 Changed 5 years ago by rws

  • Description modified (diff)

comment:10 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:11 Changed 4 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:12 Changed 4 years ago by kcrisman

See also #9289.

comment:13 Changed 4 years ago by rws

  • Milestone changed from sage-6.4 to sage-wishlist

comment:15 Changed 3 years ago by cswiercz

As mentioned in an email correspondence with chapoton I believe my implementation of PuiseuxSeriesRing and PuiseuxSeriesRingElementto be pretty complete in regards to fitting into Sage's coercion model. Hopefully it will, at the very least, be a good starting point.

Thanks to chapoton for offering to plug this code into Sage!

On a side note, I also have some code for computing Puiseux series representations of places on a plane algebraic curve. The entry function is abelfunctions.puiseux_series.puiseux_series. I'm sure someone with better Sage skills than myself can improve the algorithm and plug that in as well.

comment:16 Changed 3 years ago by chapoton

  • Branch set to public/4618
  • Commit set to 7c6e9fbd65e4b19eed62d8cc8d8694659b49e996

just made a git branch, not tested at all


New commits:

7c6e9fbtrac #4618 creating a branch from Chris Swierczewski code

comment:17 Changed 3 years ago by git

  • Commit changed from 7c6e9fbd65e4b19eed62d8cc8d8694659b49e996 to a828db5df2268a20bea62b83033c2325f7cfeaca

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

a828db5trac #4618 details, not working yet

comment:18 Changed 3 years ago by git

  • Commit changed from a828db5df2268a20bea62b83033c2325f7cfeaca to 0e38712d192a35f9cf35d1c92e053b412ad8e940

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

0e38712trac #4618 now working

comment:19 Changed 3 years ago by git

  • Commit changed from 0e38712d192a35f9cf35d1c92e053b412ad8e940 to 8fe475bada98e8b7a2912693525f56d036dcaa10

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

8fe475btrac #4618, now working a little bit more, and added some doc

comment:20 Changed 3 years ago by git

  • Commit changed from 8fe475bada98e8b7a2912693525f56d036dcaa10 to 2e05bc8e741b8f943f4fedff664e24a1f8ba9bc7

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

5ecc828Merge branch 'public/4618' into 7.2.b1
2e05bc8trac #4618 some more doc, and removed puiseux.py

comment:21 Changed 3 years ago by mmezzarobba

  • Cc mmezzarobba added

comment:22 Changed 3 years ago by git

  • Commit changed from 2e05bc8e741b8f943f4fedff664e24a1f8ba9bc7 to 9af42db0e6db06161e484f318e456e664cbf9ebc

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

9af42dbtrac #4618 some more doc and tests

comment:23 Changed 3 years ago by git

  • Commit changed from 9af42db0e6db06161e484f318e456e664cbf9ebc to 98afe229b00ae434a5a2bd4849bf94081ff39bca

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

ec9dbc3Merge branch 'public/4618' into 7.2.rc1
98afe22puiseux series, more doc, moved a method to Laurent series

comment:24 Changed 2 years ago by mmarco

This is a nice addition. Is it ready for review?

A few comments:

  • Is it planned to extend it to the multivariate case?
  • It would be nice to add a more detailed mathematical explanation about what a Puiseux series is in the docstring.

comment:25 Changed 2 years ago by chapoton

It is probably not ready, there seems to be a bug lurking around.

No plan to implement the multivariate case.

and the coverage is not 100%

Last edited 2 years ago by chapoton (previous) (diff)

comment:26 Changed 12 months ago by vdelecroix

  • Cc vdelecroix added

comment:27 Changed 12 months ago by vdelecroix

This is needed to allow extend=True for the nth_root method in #10720 (see also this sage-devel thread).

comment:28 Changed 12 months ago by vdelecroix

An innocent operation like the following will multiply the memory footprint by 24 with no change in information

sage: p = prod(1 - q^n + O(q^100) for n in range(1,100))   # fine: 100 * coeff size
sage: q^(1/24) * p   # bad: 100 * 24 * coeff size

The above example is the q-series expansion of the Dedekind eta function. There might be a more clever data structure to use as this kind of series is frequently encountered when dealing with modular forms.

comment:29 Changed 12 months ago by vdelecroix

  • Dependencies set to #24420, #24431

comment:30 Changed 12 months ago by vdelecroix

  • Description modified (diff)
  • Milestone changed from sage-wishlist to sage-8.2
  • Summary changed from Request for Puiseux series in SAGE to Puiseux series

comment:31 Changed 12 months ago by dkrenn

  • Cc dkrenn added
Note: See TracTickets for help on using tickets.