Ask Your Question
1

User defined Embedding

asked 2017-11-08 07:30:00 +0100

Abhishek gravatar image

I have 2 isomorphic number fields L.and M., and I would like to define an embedding from L to M sending a to b. Is this possible without using the command L.embeddings(M)?

edit retag flag offensive close merge delete

Comments

Could you please provide a concrete example of L and M ? If you want an adapted answer, it is really important to provide a concrete example of L and M you want to deal with, so that we can test on them and show explicit behaviors.

tmonteil gravatar imagetmonteil ( 2017-11-08 11:15:45 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-08 11:31:34 +0100

tmonteil gravatar image

updated 2017-11-08 17:05:53 +0100

Here is a possible way (guessing that a is a generator of L and b is a generator of M):

sage: L.hom([b], M)

Note that the Python variable b should be the name of the generator b of M. If it is not already the case, you can obtain it by doing first:

sage: M.inject_variables()

or

sage: b = M.gen()
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2017-11-08 07:30:00 +0100

Seen: 362 times

Last updated: Nov 08 '17