How to find one element of residue field as a vector over base field

29 views
Skip to first unread message

chandra chowdhury

unread,
May 15, 2019, 3:33:30 AM5/15/19
to sage-s...@googlegroups.com
Dear all,
   I have written the following code:

K.<x> = FunctionField(GF(2)); 
R.<y> = K[]
L.<y> = K.extension(y^2 +y+x+1/x)

print L.places(2)


p = L.places(2)[1]
print p


G=p.divisor()

LG=G.basis_function_space()
print LG


Output is as follows:
[Place (x^2 + x + 1, x*y + 1), Place (x^2 + x + 1, x*y + x + 1)]
Place (x^2 + x + 1, x*y + x + 1)
[1, (x/(x^2 + x + 1))*y + 1/(x^2 + x + 1)]

What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by
(x^2 + x + 1, x*y + 1). 

What is the value of $\frac{xy}{(x^2 + x + 1) } + 
\frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? 

It is an element of residue field which is isomorphic to 
$\mathbb{F}_{2^2}$. Since $\mathbb{F}_{2^2}$ is isomorphic 
to $\mathbb{F}^2_{2}$ as a vector space, 
I want value in $\mathbb{F}^2_{2}$.


Kwankyu

unread,
May 15, 2019, 7:33:40 AM5/15/19
to sage-support
Hi Chandra,


What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by
(x^2 + x + 1, x*y + 1). 

No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field 
at which both functions x^2 + x +1, x*y + 1 vanish.
 
What is the value of $\frac{xy}{(x^2 + x + 1) } + 
\frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? 

You cannot add an element of the function field with a place.
 
It is an element of residue field which is isomorphic to 
$\mathbb{F}_{2^2}$. Since $\mathbb{F}_{2^2}$ is isomorphic 
to $\mathbb{F}^2_{2}$ as a vector space, 
I want value in $\mathbb{F}^2_{2}$.

vector(a)

or you can use the maps returned by

k.vector_space(map=True)

if k is the residue field.

 

Santanu Sarkar

unread,
May 15, 2019, 9:08:05 AM5/15/19
to sage-support, Tapabrata Roy, chandra chowdhury
On Wed, 15 May 2019 at 17:03, Kwankyu <ekwa...@gmail.com> wrote:
Hi Chandra,

What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by
(x^2 + x + 1, x*y + 1). 

No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field 
at which both functions x^2 + x +1, x*y + 1 vanish.
Thank you for your response. We know that a place is the unique maximal ideal of a local (valuation) ring obtained from the valuation map, which is well known to be a principle ideal.
 So, there will be a single generator for a place. But here it is represented by two polynomials. We didn't get what it means. Can we find the corresponding valuation ring, valuation map
ant the generator for the place?
 
 
What is the value of $\frac{xy}{(x^2 + x + 1) } + 
\frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? 

You cannot add an element of the function field with a place.
Actually by this we meant the element modulo the place ( a maximum ideal).
 
 
It is an element of residue field which is isomorphic to 
$\mathbb{F}_{2^2}$. Since $\mathbb{F}_{2^2}$ is isomorphic 
to $\mathbb{F}^2_{2}$ as a vector space, 
I want value in $\mathbb{F}^2_{2}$.

vector(a)

or you can use the maps returned by

k.vector_space(map=True)

if k is the residue field.

 

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/813396b6-b7ae-452d-9b30-c73003262155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kwankyu

unread,
May 15, 2019, 8:30:37 PM5/15/19
to sage-support


On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote:


On Wed, 15 May 2019 at 17:03, Kwankyu <ekwa...@gmail.com> wrote:
Hi Chandra,

What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by
(x^2 + x + 1, x*y + 1). 

No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field 
at which both functions x^2 + x +1, x*y + 1 vanish.
Thank you for your response. We know that a place is the unique maximal ideal of a local (valuation) ring obtained from the valuation map, which is well known to be a principle ideal. So, there will be a single generator for a place. But here it is represented by two polynomials. We didn't get what it means.

A place generally cannot be represented by a single polynomial. The generator of the principal ideal does not specify the local ring itself. 

Can we find the corresponding valuation ring, valuation map
ant the generator for the place?

Use p.valuation_ring() for the valuation ring, which is only a facade for the ring. Use p.local_uniformizer() for the generator. 

Look at this example:

sage: p1,p2 = L(x^2+x+1).zeros()
sage: p1.local_uniformizer()
x^2 + x + 1
sage: p2.local_uniformizer()

Kwankyu

unread,
May 15, 2019, 8:34:12 PM5/15/19
to sage-support


On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote:

What is the value of $\frac{xy}{(x^2 + x + 1) } + 
\frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? 

You cannot add an element of the function field with a place.
Actually by this we meant the element modulo the place ( a maximum ideal).

Use R.residue_field() for the valuation ring R.  
Reply all
Reply to author
Forward
0 new messages