Skip to content

Problem converting a Laurent Series from pari to Sage #2508

@JohnCremona

Description

@JohnCremona

It seems that PARI laurent series can only be converted to Sage LaurentSeries if the valuation is >= 0.

Simple example:

sage: R = LaurentSeriesRing(QQ, 'q')
sage: R(pari('1/x'))
0                       # Very wrong
sage: R(pari('1/x + O(x^20)'))
Traceback (most recent call last)
[...]
PariError:  (5)

Example from John Cremona:

sage: E = EllipticCurve('11a1')
sage: R = LaurentSeriesRing(RationalField(),'q')
sage: XY = E.pari_mincurve().elltaniyama()
sage: [R(XY[0]),R(XY[1])]

CC: @jdemeyer

Component: interfaces

Keywords: Laurent series, pari

Author: Jeroen Demeyer

Reviewer: John Cremona

Merged: sage-4.5.3.alpha0

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions