Ask Your Question
0

Extension/coercion of finite rings & fields

asked 12 years ago

GaryMak gravatar image

updated 12 years ago

Hi ...

again harping on my theme of p-adics: here is a characteristic-p toy model of the problem I had here. Will someone please tell me how to do what this code is trying to do?!!

sage: K.<X> = GF(3^2,name='X'); # creates (residue) field which is GF(3)[X]
sage: R = IntegerModRing(3^2)[X];  # extends Z/p^2 by that same X to form quadratic extn - seemingly successfully
sage: print R(X+5); # I try to use X but it still treats it like an "alien" quantity in R ....

thanks!!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 12 years ago

fidbc gravatar image

updated 12 years ago

Sorry my previous answer was completely wrong.

Perhaps if you use

sage: y=R.gen()

and then

sage: R(y+5)
X+5
Preview: (hide)
link

Comments

Thank you very much. That certainly solves that problem - I'm now up to the next level of incomprehensibility at least!!

GaryMak gravatar imageGaryMak ( 12 years ago )

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

Stats

Asked: 12 years ago

Seen: 546 times

Last updated: Mar 01 '13