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

use semi-primitive root when checking kernel polynomials of isogenies #36187

Conversation

yyyyx4
Copy link
Member

@yyyyx4 yyyyx4 commented Sep 3, 2023

The existing code takes a generating set of the unit group, but as a comment in the code suggests, a set of generators for $(\mathbb Z/m)^\times/\pm$ suffices. The existing function _least_semi_primitive computes such a semiprimitive root when $m$ is an odd prime power, so we may use it.

@JohnCremona
Copy link
Member

Looks OK after a quick look I can't test properly for a while but if the tests pass it's fine with me.

@github-actions
Copy link

github-actions bot commented Sep 3, 2023

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

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.

Based on @JohnCremona comment, since it passes tests I am approving this.

@vbraun vbraun merged commit 7b8b6b6 into sagemath:develop Sep 10, 2023
16 of 17 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Sep 10, 2023
@yyyyx4 yyyyx4 deleted the public/use_smaller_scalar_when_checking_kernel_polynomial branch November 21, 2023 20:56
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.

5 participants