-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
irreducibility testing in relative extensions seems to be messed up #2220
Comments
comment:1
As was pointed out (by was I think), the gens() for an extension of ZZ are ZZ-module generators, n in number for an extension of degree n. For example:
This is quite clear in the docstring "returns module generators of this order" and so requires no action. For examples such as this, I said that the following would be convenient to access more directly:
However, objects of the type or R here <class 'sage.rings.number_field.order.AbsoluteOrder'> might be created in more complicated ways so that they do not have one natural defining polynomial or (ring) generator. In fact one immediately finds this:
and the docstring for ring_generators() gives an example for which more than one generator is needed (remember that not every order is of the form Z[a] for some a), so it makes no sense at all, in general, to define methods gen() or ring_gen() or defining_polynomial() for general orders. All this leaves from the original post is to work out why the specific polynomial x is not handled consistently. The rest is perfect as it is. Well done to the authors (was and robertb) for doing a good job, well documented! |
comment:2
Note that this part now works:
|
comment:4
The other part works too now:
|
Add doctest for a trivial extension |
comment:5
Attachment: sage-trac_2220.patch.gz I'm pretty sure this is fixed, so I've added a doctest. |
Author: Michael Orlitzky |
Reviewer: Colton Pauderis |
comment:6
This appears to work exactly as advertised. Positive review. |
Merged: sage-4.8.alpha5 |
See http://groups.google.com/group/sage-devel/browse_thread/thread/32fe12de12d5f6a5/c91753b5e65fe7b9#c91753b5e65fe7b9
CC: @ncalexan @craigcitro @orlitzky
Component: number fields
Author: Michael Orlitzky
Reviewer: Colton Pauderis
Merged: sage-4.8.alpha5
Issue created by migration from https://trac.sagemath.org/ticket/2220
The text was updated successfully, but these errors were encountered: