Ask Your Question

embeddings in NumberFieldTower?

asked 2014-12-20 22:37:28 -0500

updated 2015-01-13 14:09:05 -0500

FrédéricC gravatar image

I'm trying to do my calculations in a number field tower (or some equivalent), then get the results in real form (or anything that the graphics functions will take). I'm extending the rationals twice.

I've tried constructing the first with NumberField, then using extension, but apparently embedding isn't implemented in extension.

I've tried using NumberFieldTower, but I can't find an equivalent to embedding.

I've tried using NumberField(poly_1, poly_2) or QQ[poly_1, poly_1], but can't figure out how to assign an embedding or something equivalent.

I've considered trying to construct a field homomorphism from the field to the reals, but I don't know sage well enough to figure out if this is possible.

Is there some equivalent way of getting the values that I want?


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-12-21 05:21:33 -0500

FrédéricC gravatar image

You can define an iterated extension using a list:

K.<a,b,c> = NumberField([x^2 + 2, x^3 + 3, x^3 + 2])

Note that the last polynomial is used for the first extension, and so on.

Then you can get the list of embeddings and choose one using for instance

embs = K.embeddings(ComplexField(59)); embs
my_emb = embs[0]

But the following does not work so far:

 K.<a,b,c> = NumberField([x^2 + 2, x^3 - 3, x^3 - 2], embedding=[sqrt(2)*CDF(I),3**(1/3),2**(1/3)])
edit flag offensive delete link more


Thanks! Seems to work.

apeirogon gravatar imageapeirogon ( 2014-12-21 22:03:39 -0500 )edit

Could you please upvate and accept my answer (on the left of it) ?

FrédéricC gravatar imageFrédéricC ( 2014-12-23 03:01:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-20 22:37:28 -0500

Seen: 26 times

Last updated: Dec 21 '14