Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiplication of a left and right noncommutative ideal #34261

Closed
tscrim opened this issue Aug 2, 2022 · 12 comments
Closed

Allow multiplication of a left and right noncommutative ideal #34261

tscrim opened this issue Aug 2, 2022 · 12 comments

Comments

@tscrim
Copy link
Collaborator

tscrim commented Aug 2, 2022

Their product has a simple generating set, but right now Sage does not allow this:

sage: MS = MatrixSpace(QQ,2,2)
sage: IL = MS * [2*MS.0,3*MS.1]
sage: IR = MS.3 * MS
sage: IL * IR
...
NotImplementedError: Cannot multiply non-commutative ideals.

We fix this.

Component: algebra

Keywords: ideals

Author: Travis Scrimshaw

Branch/Commit: c41575e

Reviewer: Dave Morris

Issue created by migration from https://trac.sagemath.org/ticket/34261

@tscrim tscrim added this to the sage-9.7 milestone Aug 2, 2022
@tscrim

This comment has been minimized.

@tscrim tscrim changed the title Allow multipliciation of twosided noncommutative ideals Allow multipliciation of a left and right noncommutative ideal Aug 2, 2022
@tscrim
Copy link
Collaborator Author

tscrim commented Aug 2, 2022

Commit: 20dd21c

@tscrim
Copy link
Collaborator Author

tscrim commented Aug 2, 2022

New commits:

20dd21cAllowing L * R nc ideals.

@tscrim
Copy link
Collaborator Author

tscrim commented Aug 2, 2022

@DaveWitteMorris
Copy link
Member

comment:3

I don't think you should allow two-sided ideals as input, because the generating set of a product of two-sided ideals is not just the product of the generating sets: (RaR)(RbR) may be much larger than RabR when R is not commutative. Therefore, I think you need to delete the line or self.side() == other.side() == "twosided".

@mkoeppe mkoeppe changed the title Allow multipliciation of a left and right noncommutative ideal Allow multiplication of a left and right noncommutative ideal Aug 11, 2022
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 12, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

66c079bMerge branch 'public/algebras/ideal_multiplication-34261' of https://github.com/sagemath/sagetrac-mirror into public/algebras/ideal_multiplication-34261
c41575eCannot specify a generating set when multiplying two-sided ideals.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 12, 2022

Changed commit from 20dd21c to c41575e

@tscrim
Copy link
Collaborator Author

tscrim commented Aug 12, 2022

comment:6

Indeed, you're correct. I have updated the code.

@DaveWitteMorris
Copy link
Member

comment:7

LGTM. The patchbot timeouts do not seem to be related, and the build-and-test was successful.

@DaveWitteMorris
Copy link
Member

Reviewer: Dave Morris

@tscrim
Copy link
Collaborator Author

tscrim commented Aug 13, 2022

comment:8

Thank you.

@vbraun
Copy link
Member

vbraun commented Aug 30, 2022

Changed branch from public/algebras/ideal_multiplication-34261 to c41575e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants