-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
ideals of non-maximal orders in number fields #35762
ideals of non-maximal orders in number fields #35762
Conversation
346b1ad
to
b122322
Compare
9154a98
to
a35bd10
Compare
I know of some follow-up work under active development that depends on this pull request; hence, it would be very helpful if this could get reviewed quickly in order to minimize the amount of effort spent on rebasing those other changes. |
I'm happy to review this. I have one question for now: in doctest changes such as --- a/src/sage/rings/number_field/class_group.py
+++ b/src/sage/rings/number_field/class_group.py
@@ -32,13 +32,11 @@ EXAMPLES::
sage: I * I.ideal() # ideal classes coerce to their representative ideal
Fractional ideal (4, 1/2*a + 3/2)
- sage: O = K.OK(); O
- Maximal Order in Number Field in a with defining polynomial x^2 + 23
- sage: O*(2, 1/2*a + 1/2)
+ sage: K*(2, 1/2*a + 1/2)
Fractional ideal (2, 1/2*a + 1/2)
- sage: (O*(2, 1/2*a + 1/2)).is_principal()
+ sage: (K*(2, 1/2*a + 1/2)).is_principal()
False
- sage: (O*(2, 1/2*a + 1/2))^3
+ sage: (K*(2, 1/2*a + 1/2))^3
Fractional ideal (1/2*a - 3/2)
"""
could we change |
Thanks! Done. |
I have some proposed further changes that suppress the warnings introduced in |
Thanks! Presumably the easiest way is for me to simply merge in your branch, which is what I just did. Alternatively, I think you could've made a pull request on my branch associated to this pull request. |
SageMath version 10.3.beta5, Release Date: 2024-01-14
…rders' into public/ideals_for_non_maximal_orders
855ba38
to
68b4462
Compare
Documentation preview for this PR (built with commit 68b4462; changes) is ready! 🎉 |
Yes, merging in the specific commit(s) is the best way. There's no need for doing an overly complicated local fork PR IMO. (This is usually done after my first option: Curse at GH's non-collaborative workflow until I feel slightly better.) |
Thank you for the review! |
sagemathgh-38671: construct order ideals by default for number-field orders This completes the change begun in sagemath#34806 and sagemath#35762: When constructing ideals of an order, return an ideal of that order, rather than a fractional ideal of the ambient number field. URL: sagemath#38671 Reported by: Lorenz Panny Reviewer(s): Kwankyu Lee
sagemathgh-38671: construct order ideals by default for number-field orders This completes the change begun in sagemath#34806 and sagemath#35762: When constructing ideals of an order, return an ideal of that order, rather than a fractional ideal of the ambient number field. URL: sagemath#38671 Reported by: Lorenz Panny Reviewer(s): Kwankyu Lee
Resolves #34198.