Ask Your Question

Martin-Br's profile - activity

2023-10-05 19:11:03 +0200 commented question Group algebras seem to be buggy

Thank you. This may be the reason. I use Sage version 9.5. The Sage Cell Server probably uses a different version, and t

2023-10-05 11:43:36 +0200 edited question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-05 11:43:11 +0200 edited question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-05 11:42:49 +0200 edited question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-05 11:41:31 +0200 edited question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-05 11:41:19 +0200 edited question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-05 11:35:59 +0200 asked a question Group algebras seem to be buggy

Working with group algebras I want to work with group algebras in SageMath. But they do not behave as they should. Is th

2023-10-04 14:03:52 +0200 asked a question Simple example of a finitely presented algebra

Simple example of a finitely presented algebra How can I work with the finitely presented $\mathbb{F}_2$-algebra $\mat

2023-10-03 01:53:00 +0200 marked best answer Working with finitely presented algebras

I am trying to work with finitely presented algebras in SageMath. But apparently, I am doing something wrong.

For a simple example, I want to construct A = Q[x]/<x^2>. The image a of x in that algebra should satisfy a^2 = 0. But SageMath tells me that this is not the case. (EDIT: the code has been updated below.)

sage: F.<x> = FreeAlgebra(QQ,1)
sage: F
Free Algebra on 1 generators (x,) over Rational Field
sage: x in F
True
sage: I = F.ideal([x^2])
sage: A = F.quotient(I)
sage: A
Quotient of Free Algebra on 1 generators (x,) over Rational Field by the ideal (x^2)
sage: a = A.gen()
sage: a^2 == 0
False
sage: a^2 == A.zero()
False

What am I doing wrong here?

When the ideal is <1>, the quotient should be trivial. But again, SageMath does not believe this.

It seems that this bug has been reported here before:

2023-10-03 01:52:56 +0200 commented answer Working with finitely presented algebras

Thanks! I will try to work with the homogenization then.

2023-10-02 14:00:55 +0200 commented question Working with finitely presented algebras

Apparently, it works when F is defined as a polynomial ring. The free algebra on one generator should equal the polynomi

2023-10-02 11:54:42 +0200 edited question Working with finitely presented algebras

Working with finitely presented algebras I am trying to work with finitely presented algebras in SageMath. But apparentl

2023-10-02 10:14:11 +0200 commented answer Working with finitely presented algebras

sage: F.<x> = FreeAlgebra(QQ,implementation="letterplace") sage: F.quotient(Ideal(F,[x+1])) throws this error:

2023-10-02 10:13:58 +0200 commented answer Working with finitely presented algebras

sage: F.<x> = FreeAlgebra(QQ,implementation="letterplace") sage: F.quotient(Ideal(F,[x+1])) throws this error: Ari

2023-10-02 10:12:48 +0200 edited question Working with finitely presented algebras

Working with finitely presented algebras I am trying to work with finitely presented algebras in SageMath. But apparentl

2023-10-02 10:11:49 +0200 commented answer Working with finitely presented algebras

Thanks a lot for your answer. Actually, I encountered the same problem with F.<x>, but apparently I wrote it wrong

2023-10-02 10:11:26 +0200 commented answer Working with finitely presented algebras

Thanks a lot for your answer. Actually, I encountered the same problem with F.<x>, but apparently I wrote it wrong

2023-09-30 11:09:04 +0200 received badge  Editor (source)
2023-09-30 11:09:04 +0200 edited question Working with finitely presented algebras

Working with finitely presented algebras I am trying to work with finitely presented algebras in SageMath. But apparentl

2023-09-30 11:04:54 +0200 asked a question Working with finitely presented algebras

Working with finitely presented algebras I am trying to work with finitely presented algebras in SageMath. But apparentl

2023-09-30 10:53:34 +0200 marked best answer xgcd for several arguments

SageMath has a built-in method for performing the extended Euclidean algorithm for two numbers (or polynomials), called xgcd. The algorithm also works for several arguments, by recursion. One can implement this easily with a SageMath helper function, but I was wondering: does SageMath have a built-in extension of xgcd to several arguments?

2023-09-30 10:53:34 +0200 received badge  Scholar (source)
2023-09-30 10:53:32 +0200 received badge  Supporter (source)
2023-09-28 20:29:54 +0200 received badge  Student (source)
2023-09-28 20:29:24 +0200 asked a question xgcd for several arguments

xgcd for several arguments SageMath has a built-in method for performing the extended Euclidean algorithm for two number