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

Intersections and saturations of FreeQuadraticModules have the wrong ambient module #24702

Closed
simonbrandhorst opened this issue Feb 10, 2018 · 9 comments

Comments

@simonbrandhorst
Copy link

sage: L = FreeQuadraticModule(ZZ,2,matrix.identity(2))
sage: S1 = L.submodule([(1,0)])
sage: S2 = L.submodule([(0,1)])
sage: S1.intersection(S2).ambient_module()
Ambient free module of rank 2 over the principal ideal domain Integer Ring

Thus the intersection changes the ambient module. And in particular the inner product. This breaks other things like fgp modules too.

The same holds for saturations.

CC: @sagetrac-pmenegat

Component: linear algebra

Author: Simon Brandhorst

Branch/Commit: 0dd7769

Reviewer: David Roe

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

@simonbrandhorst
Copy link
Author

@simonbrandhorst
Copy link
Author

@simonbrandhorst

This comment has been minimized.

@simonbrandhorst simonbrandhorst changed the title Intersections of FreeQuadraticModules have the wrong ambient module Intersections and saturations of FreeQuadraticModules have the wrong ambient module Feb 10, 2018
@simonbrandhorst
Copy link
Author

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 10, 2018

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

0dd7769Indentation

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 10, 2018

Commit: 0dd7769

@roed314
Copy link
Contributor

roed314 commented Feb 21, 2018

comment:7

Looks good to me. Patchbot failures seem spurious.

@roed314
Copy link
Contributor

roed314 commented Feb 21, 2018

Reviewer: David Roe

@vbraun
Copy link
Member

vbraun commented Feb 22, 2018

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