Skip to content

Conversation

yyyyx4
Copy link
Member

@yyyyx4 yyyyx4 commented Nov 23, 2023

Most .ideal()-type methods in Sage take a list of generators. For quaternion orders, however, it is required that the given generators actually form a basis of the ideal. This is unexpected and inefficient, as it forces users to write more code in order to first compute a basis on their own. In this patch we add support for passing a list of generators instead of a basis.

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just remove the two periods/full-stops at the end of the INPUT: lines to match Sage's doc conventions and you can set a positive review.

@yyyyx4 yyyyx4 force-pushed the public/support_passing_generators_instead_of_basis_for_ideals_of_quaternion_orders branch from a72fee5 to 24f9b2d Compare December 26, 2023 20:52
Copy link

Documentation preview for this PR (built with commit 24f9b2d; changes) is ready! 🎉

@tscrim
Copy link
Collaborator

tscrim commented Dec 27, 2023

Thanks!

vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 2, 2024
sagemathgh-36759: allow passing a generating set (not necessarily a basis) for quaternion ideals
    
Most `.ideal()`-type methods in Sage take a list of generators. For
quaternion orders, however, it is required that the given generators
actually form a basis of the ideal. This is unexpected and inefficient,
as it forces users to write more code in order to first compute a basis
on their own. In this patch we add support for passing a list of
generators instead of a basis.
    
URL: sagemath#36759
Reported by: Lorenz Panny
Reviewer(s): Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 5, 2024
sagemathgh-36759: allow passing a generating set (not necessarily a basis) for quaternion ideals
    
Most `.ideal()`-type methods in Sage take a list of generators. For
quaternion orders, however, it is required that the given generators
actually form a basis of the ideal. This is unexpected and inefficient,
as it forces users to write more code in order to first compute a basis
on their own. In this patch we add support for passing a list of
generators instead of a basis.
    
URL: sagemath#36759
Reported by: Lorenz Panny
Reviewer(s): Travis Scrimshaw
@vbraun vbraun merged commit 0d7d69c into sagemath:develop Jan 14, 2024
@yyyyx4 yyyyx4 deleted the public/support_passing_generators_instead_of_basis_for_ideals_of_quaternion_orders branch January 19, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants