Hi,
I posted the following two weeks ago on the sage-padics list. I
haven't seen any reaction since then — also there hadn't been any
activity on that list since June. Should I just wait a little
longer or has that list moved somewhere else?
Here's the original post:
I'm trying to do some computations with p-adics in sage but I'm running
into problems with iterated extensions of Qp.
Defining extensions of Qp works fine, but extensions of extensions never
worked for me.
As an example, I tried the following:
sage: K=Qp(3)
sage: R.<X>=K[]
sage: L.<xi>=K.extension(X^12 + 342/145*X^10 + 189/145*X^8 + 36/29*X^7 +
sage: 198/145*X^5 + 18/145*X^3 + 6/29*X^2 + 3/145)
sage: R.<T>=L[]
sage: f=1+3*T^3+3*T^5
sage: f2=f(T+xi)
sage: L.<y> = K.extension(T^3-f2.coeffs()[0])
The last line produces a lengthy stacktrace
(http://pastebin.com/xHmBPb0a) which ends in
sage.rings.padics.padic_ZZ_pX_CR_element.pAdicZZpXCRElement._integer_
ValueError: This element not well approximated by an integer.
Now I'm wondering, am I doing something wrong or are such
iterated extensions simply not supported?
Thanks,
julian
PS: I already did some sage hacking in the past, so if anybody had been
working on code that would make this work, I would be eager to help
with the coding.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
iEYEARECAAYFAk6lgicACgkQb76p5HH6xCmWxgCeJXnZmKvdsNABOfucE7aSMGcn
PJwAoK80pZZN12o3slsgI9jeL3B77kcS
=t9Rr
-----END PGP SIGNATURE-----
Back to the original error, thanks for clarifying this:
Having another look at the code and at the README.txt in the
rings/padics directory, it seems that there is no implementation for
such extensions of extensions of Qp, e.g. it says
"""
pAdicZZpXElement (padic_ZZ_pX_element.pyx) : unramified and
Eisenstein extensions of Qp and Zp, using ntl ZZ_pX
[...]
pAdicZZpEXElement (padic_ZZ_pEX_element.pyx, does not yet exist) :
generic absolute extensions of Qp and Zp, using ntl ZZ_pEX
[...]
pAdicRelExtElement (padic_rel_ext_element.pyx, does not yet exist)
: relative extensions of base and extension rings and fields.
"""
Can someone confirm that I understand this correctly?
I might try to implement some of the missing functionality — is anybody
else currently working on these things?
Thanks for your answers,
julian
http://wiki.sagemath.org/padics/GeneralExtensions
http://wiki.sagemath.org/padics/RelativeExtensions
David
> --
> You received this message because you are subscribed to the Google Groups "sage-nt" group.
> To post to this group, send an email to sag...@googlegroups.com.
> To unsubscribe from this group, send email to sage-nt+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sage-nt?hl=en-GB.
>
>