Here's an alternative approach: sage: F1 = GF(2^7,'a'); F2 = GF(2^28,'b') # different names for legibility sage: F1.gen().minpoly().roots(F2) [ long list ] sage: g = F1.gen().minpoly().roots(F2)[0][0] sage: phi = Hom(F1, F2)(g)
This is a bit roundabout, but it works. Unfortunately at present you can't just do phi(P), although you should be able to; but you can still create a new curve E2 over F2 and define P2 = E2([phi(u) for u in P]). David On Sep 29, 4:50 pm, David Møller Hansen <[EMAIL PROTECTED]> wrote: > Let F2=GF(2^7,'a'), E=EllipticCurve(F1,[0,0,1,1,1]), > P=E.random_point(), F2=GF((2^7)^4,'a') > > Purpose: I want to look at the point P in the curve over F2 instead of > F1. So I some way I want to extend F1. > > My question is how do I, when I already have an extension field F1, > extend it to F2 in a way s.t. I can reuse element from F1 in F2? > > /David --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---