-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Add Ideal.radical and Ring.nilradical #39549
base: develop
Are you sure you want to change the base?
Conversation
sage: ZZ.ideal(12).radical() | ||
Principal ideal (6) of Integer Ring | ||
""" | ||
return self.ring().ideal(self.gen().radical()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(for context, this is for Ideal_pid
.)
Documentation preview for this PR (built with commit 626f7c9; changes) is ready! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. For a followup PR, the Zmod
should have a defining_ideal()
method since they are supposed to be treated as quotient rings...I don't really like the hack in _lift()
(but it is was already there before).
Wait a minute, won't Edit: reverted that change (method to be simplified in some future pull request), please review again. The follow-up pull request is at #39559 (plus some simplification, but might be too short for your preference) |
More category-generic methods.
📝 Checklist
⌛ Dependencies