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

Improved ozman sieve #95

Merged
merged 3 commits into from Jan 26, 2023
Merged

Improved ozman sieve #95

merged 3 commits into from Jan 26, 2023

Conversation

koffie
Copy link
Collaborator

@koffie koffie commented Nov 2, 2022

No description provided.

I found a way to simplify the Ozman sieve computationally, also in the more general case where N is no longer assumed to be prime. One of course still needs the complete splitting condition in the Hilbert class field. But the existence of a residue field 1 degree one prime above p in B can be made easier. Namely we just need p to split in all real quadratic fields inside the HilbertClass field. And actually genus theory gives a quite nice description of all quadratic fields in the Hilbert class field. So that the upshot is that for N prime we only need to check if p splits in Q(sqrt( N )) if -N is not a fundamental discriminant, in the case that -N is a fundamental discriminant, there is no extra condition we need to check.
@koffie
Copy link
Collaborator Author

koffie commented Nov 2, 2022

Only commit 1610795 actually needs review. The other commits contain either changes that were automatically made by black, or just contain some small tweaking to the makefile so that it works again with sage 9.7 on os x.

@koffie
Copy link
Collaborator Author

koffie commented Nov 3, 2022

p.s. I recently found out that our recent upgrade of black together with this pr in black psf/black#2726 are the reason for a lot of reformatting. I do agree that in most code that we write not having spaces around ** is an improvement, since this makes it easier to spot individual monomials in math expressions.

@BarinderBanwait BarinderBanwait merged commit 8d9ed0a into devel Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants