Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
1

Construction of formula in Sagemath program

asked 8 years ago

davis gravatar image

Let Pk:=F2[x1,x2,,xk] be the polynomial algebra in k variables with the degree of each xi being 1, regarded as a module over the mod-2 Steenrod algebra A. Here A=Sq2m|m0.

Being the cohomology of a space, Pk is a module over the mod-2 Steenrod algebra A. The action of A on Pk is explicitly given by the formula

Sqm(xdj)=(dm)xm+dj, where (dm) is reduced mod-2 and (dm)=0 if m>d.

Now, I want to use the Steenrod algebra package and Multi Polynomial ring package and using formular above to construction of formula following in Sagemath program

Sqm(f)=2m1+2m2++2mk=m(d12m1)x2m1+d11(d12m2)x2m2+d22(dk2mk)x2mk+dkk. forall f=xd11xd22xdkkPk

Example: Let k=5,m=2 and f=x21x32x23x4x5P5. We have Sq2(x21x32x23x4x5)=x41x32x23x4x5+x21x52x23x4x5+x21x32x43x4x5+x21x32x23x24x25+x21x42x23x4x25+x21x42x23x24x15.

I hope that someone can help. Thanks!

Preview: (hide)

Comments

kcrisman gravatar imagekcrisman ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

This is not immediately available in Sage, but you should be able to do it with a little work.

sage: R.<x1, x2, x3, x4> = GF(2)[]
sage: R
Multivariate Polynomial Ring in x1, x2, x3, x4 over Finite Field of size 2
sage: b = x1**2 * x3 * x4**3
sage: b.degrees()
(2, 0, 1, 3)

sage: a = Sq(3)
sage: x = a.coproduct_iterated(3)
sage: x
1 # 1 # 1 # Sq(3) + 1 # 1 # Sq(1) # Sq(2) + 1 # 1 # Sq(2) # Sq(1) + 1 # 1 # Sq(3) # 1 + 1 # Sq(1) # 1 # Sq(2) + 1 # Sq(1) # Sq(1) # Sq(1) + 1 # Sq(1) # Sq(2) # 1 + 1 # Sq(2) # 1 # Sq(1) + 1 # Sq(2) # Sq(1) # 1 + 1 # Sq(3) # 1 # 1 + Sq(1) # 1 # 1 # Sq(2) + Sq(1) # 1 # Sq(1) # Sq(1) + Sq(1) # 1 # Sq(2) # 1 + Sq(1) # Sq(1) # 1 # Sq(1) + Sq(1) # Sq(1) # Sq(1) # 1 + Sq(1) # Sq(2) # 1 # 1 + Sq(2) # 1 # 1 # Sq(1) + Sq(2) # 1 # Sq(1) # 1 + Sq(2) # Sq(1) # 1 # 1 + Sq(3) # 1 # 1 # 1
sage: x.support()
[((1,), (2,), (), ()),
 ((), (), (), (3,)),
 ((3,), (), (), ()),
 ((), (), (1,), (2,)),
 ((), (1,), (), (2,)),
 ((), (1,), (1,), (1,)),
 ((), (), (2,), (1,)),
 ((1,), (1,), (), (1,)),
 ((2,), (), (), (1,)),
 ((), (1,), (2,), ()),
 ((1,), (), (2,), ()),
 ((1,), (), (), (2,)),
 ((1,), (1,), (1,), ()),
 ((), (2,), (1,), ()),
 ((1,), (), (1,), (1,)),
 ((2,), (), (1,), ()),
 ((), (3,), (), ()),
 ((2,), (1,), (), ()),
 ((), (2,), (), (1,)),
 ((), (), (3,), ())]

Now you should sum over the entries in x.support() using the exponents listed in b.degrees(), with the appropriate binomial coefficients.

Preview: (hide)
link

Comments

I use the code above but it error.

File "<ipython-input-1-b39e5d3b522e>", line 3 Multivariate Polynomial Ring in x1, x2, x3, x4 over Finite Field of size Integer(2) SyntaxError: invalid syntax

davis gravatar imagedavis ( 8 years ago )

If you are trying to do this in a file: the syntax R.<...> is valid at the Sage command-line or notebook, or in files with the suffix .sage, but not in Python files. The equivalent syntax for a Python file is R = GF(2)['x1, x2, x3, x4']); x1, x2, x3, x4 = R.gens().

If you are doing this on the command line or in a notebook: I am giving both the input and the output, as written on the Sage command-line. So you can't just paste in everything I wrote, you should only type the parts on the lines starting "sage:". So you do not type "Multivariate ..." -- that is Sage's output.

John Palmieri gravatar imageJohn Palmieri ( 8 years ago )

@davis -- from the code provided by @John Palmieri, copy only the lines starting with sage:; the other lines represent the output you will get.

slelievre gravatar imageslelievre ( 6 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: 8 years ago

Seen: 476 times

Last updated: Feb 10 '17