-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
create a class for basic function_field arithmetic for Sage #9054
Comments
comment:1
Attachment: trac_9054-part1.patch.gz |
Attachment: trac_9054-part2.patch.gz |
Attachment: trac_9054-part3.patch.gz |
comment:2
There seems to be an issue with returning the base ring of a RationalFunctionField. Neither base() nor base_ring() return the correct ring:
|
Attachment: trac_9054-part4.patch.gz Attachment: trac_9054-part5.patch.gz |
comment:3
Looks like you forgot to add the file |
Attachment: trac_9054-part6.patch.gz Attachment: trac_9054-part7.patch.gz polynomial factorization! |
comment:4
FunctionField constructor clips names
|
ideals and orders! |
Attachment: trac_9054-part8.patch.gz inverses of fractional ideals |
comment:5
Attachment: trac_9054-part9.patch.gz Replying to @sagetrac-salmanhb:
The above is correct. To get what you want, use the constant_field() method.
|
morphisms of function fields |
Attachment: trac_9054-part10.patch.gz |
Attachment: trac_9054-part11.patch.gz Attachment: trac_9054-part12.patch.gz Various methods needed for #9095 (doctesets depend on #9094) |
comment:6
Should be some automatic way to do the following:
|
Attachment: trac_9054-part1-12.patch.gz flattened patch that incorporates all of patches 1-12 above into a single patch. |
comment:8
Here is a link to the result of doctesting sage-4.4.4 + patches 1-12: http://sage.math.washington.edu/home/wstein/patches/9054-part1-12.doctest.txt The failed tests:
|
This comment has been minimized.
This comment has been minimized.
comment:13
NOTE: #9094 implements sqrt for polynomials, which is relevant to trac_9054-doctest.patch |
comment:14
I guess the doctest patch isn't really usefull addition to sage (although making it was a usefull learning experience for Peter Bruin and me since it was our first patch). The patch fixes some bugs which are also fixed in other patches in trac. Some are indeed fixed by #9094 (although i think this can be done faster and more elegant) and another one related calculating the valuation in fraction fields is fixed by 9051-FpT_4.patch in #9051. Since I'm quite new to developing and using trac and hg etc. I would like to know what is the best thing to do now. And especially how to deal with the relating patches wich also contain fixes for stuff happening here. |
This comment has been minimized.
This comment has been minimized.
comment:16
Added an attachment that fixes all but three doctest failures. The remaining failures are:
|
comment:17
Oeps, wrong fromatting. Now a bit more readable:
They are all related since their error messages all end in:
|
comment:81
I'm replacing the commit messages now. I don't have privileges to replace attachements so I have to upload a new set of patches instead. |
provide basic function field arithmetic (combined patch by various authors) |
Attachment: trac_9054-all-parts.2.patch.gz Attachment: trac_9054-julian-combined.2.patch.gz cleanup function field code and documentation |
Attachment: trac_9054-review2.2.patch.gz fix doctests for function fields |
Attachment: trac_9054_review_fixup.2.patch.gz fixes for function fields related to the review comments by mderickx |
Attachment: trac_9054-can_this_really_be_the_last.2.patch.gz last fixes for function fields |
fix pickling for extensions of function fields |
This comment has been minimized.
This comment has been minimized.
comment:82
Attachment: trac_9054_pickling.2.patch.gz Apply trac_9054-all-parts.2.patch, trac_9054-julian-combined.2.patch, trac_9054-review2.2.patch, trac_9054_review_fixup.2.patch, trac_9054-can_this_really_be_the_last.2.patch, trac_9054_pickling.2.patch |
comment:84
Patches attachment: trac_9054-all-parts.2.patch and attachment: trac_9054-review2.2.patch apply with fuzz 2 against sage-5.0.beta1. Please rebase such that they apply cleanly. |
This comment has been minimized.
This comment has been minimized.
comment:86
Thanks for rebasing, I added it to my todo list, but didn't get to it yet. |
Attachment: 9054_function_fields.patch.gz |
Merged: sage-5.0.beta2 |
One of the first things we learned at Sage Days 21: Function Fields, is that it is not even possible to really define or even do arithmetic in function fields at all in Sage! It's amazing that this most basic arithmetic still isn't supported, but it isn't (maybe it used to be via generic machinery, but got broken...?). The point of this ticket is to create classes for standard function field structures, along with support for arithmetic. This should be organized in a way similar to number fields.
For this code, the main point is to establish an API that works solidly. It will be insanely slow. A subsequent patch will make things fast.
See also: #9069, #9051, #9094, #9095.
Note that the dependancy on #9138 is only because of a really minor change in the doctests. This ticket already has a positive review so I suspect this will get merged first. If that ticket eventually gets rejected it will be trivial to rebase the patch withouth that ticket.
Apply attachment: 9054_function_fields.patch to the Sage library.
Dependencies: sage-5.0.beta1
CC: @burcin @sagetrac-khwilson @koffie @mstreng @novoselt @pjbruin @mminzlaff @saraedum
Component: algebra
Author: William Stein, Robert Bradshaw, Maarten Derickx, Moritz Minzlaff, Julian Rueth
Reviewer: Maarten Derickx, Julian Rueth
Merged: sage-5.0.beta2
Issue created by migration from https://trac.sagemath.org/ticket/9054
The text was updated successfully, but these errors were encountered: