I want to define a two sided ideal I=[x*y*x*y-x*y, y*x*y*x-x*y*x] in an unital associative free algebra F.<x,y>. (not just in a free algebra)
I wrote in sage:
F.<x,y>=FreeAlgebra(QQ, implementation='letterplace')
I=F*[x*y*x*y-x*y, y*x*y*x-x*y*x]*F
I()
"But, the error I have faced to is the following:
ArithmaticError: Can only subtract the elements of the same degree."
Also I want to know how can I create a non-commutative infinite dimensional quotient algebra F/I.
Is there any way to define such an ideal and this quotient in sage or other part of sage like Gap or Singular?
Thanks
want to define a two sided ideal I=[x*y*x*y-x*y, y*x*y*x-x*y*x] in an unital associative free algebra F.<x,y>. (not just in a free algebra)I wrote in sage:
F.<x,y>=FreeAlgebra(QQ, implementation='letterplace')
I=F*[x*y*x*y-x*y, y*x*y*x-x*y*x]*F
I()"But, the error I have faced to is the following:
ArithmeticError: Can only subtract the elements of the same degree."
Is there any way to define such an ideal and this quotient in sage or other part of sage like Gap or Singular?
"Currently the GAP library contains only few functions dealing with general finitely presented algebras, so this chapter is merely a placeholder. The special case of finitely presented Lie algebras is described in 64.11, and there is also a GAP package fplsa
for computing structure constants of finitely presented Lie (super)algebras."
Concerning Singular, even if you get letterplace to work in the non-homogeneous case, you still could not easily work with quotient algebras, since this would require computing normal forms with respect to the relation ideal --- and currently this is not provided by Letterplace in Singular. But I implemented the computation of normal forms in the wrapper for Letterplace in Sage, so, perhaps you can see by reading the code how it could in principle be done.
Your example should be doable somehow, but of course general finitely presented algebras are computationally intractable.
Best regards,
Simon