-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Finite fields to new coercion model #8333
Comments
Attachment: 8333_parent_init.patch.gz |
comment:1
Attachment: 8333_finite_fields_to_new_coercion.patch.gz The two patches can be applied in either order. |
comment:2
Part of a series:
I tried to make each of these mostly self contained, with doctests passing after every ticket, but I didn't entirely succeed. If you're reviewing one of these tickets, applying later tickets will hopefully fix doctest failures that you're seeing. |
This comment has been minimized.
This comment has been minimized.
comment:4
Some strange things going on here. I installed the patches on 4.3.4.rc0 with the preceding patches in the series applied. (1) It builds fine, but Sage won't start because the patched
and that file has been removed by #8218. (2) There is also a problem in
being used without FreeModuleElement being imported first. (3) Next up, there's another issue in (4) I'm getting a bunch of identical errors relating to the Singular library -- it says
(5) Something weird is going on in sage/modular/dirichlet.py which causes an infinite recursion error when reducing an element of a number field modulo a prime; this may well be dealt with by #8334, I haven't checked. Same in three places in sage/schemes/elliptic_curves/ell_point.py and a bunch of other elliptic curves modules, and in sage/rings/residue_field.py (6) The patch changes a whole load of doctests in sage/libs/flint/zmod_poly_linkage for no apparent reason, and thus causes them to fail. (Are you running a newer FLINT version on your development machine?) (7) Various errors in the rings/finite_rings directory, e.g. this one:
Most of these are trivial, but (4) is beyond my ability to fix. I'm sorry, but that's definitely a "needs work". |
comment:5
Ah, I see what's going on. Most of these are fixed by the patch David, I suggest you do one of the following things:
David |
comment:7
roed, which version of sage are you using? I cannot apply 8333_finite_fields_to_new_coercion.patch cleanly to 4.5.3 |
comment:8
I had been using 4.5.2, but I just upgraded and it still applies cleanly. Did you apply 8333_parent_init.patch first? |
comment:9
After applying both patches from #7883 and also 8333_parent_init.patch, I see this in 4.5.3:
In 4.6.alpha1, I see almost the same message:
|
Rebased against 4.5.3 |
comment:10
Attachment: 8333_finite_fields_to_new_coercion.2.patch.gz Oops. Try this one. |
Work Issues: Depends on broken #8334 |
comment:11
I've had a look at this, but with mixed success. Applying I tried applying all the hunks of David: can you either get this working on its own, or rebase the patches at #8334 so I can review this and #8334 together? |
comment:12
I've rebased all the patches against 4.6.alpha1. Thanks for helping with this! |
Attachment: trac_8333-finite_fields_coercion_folded.patch.gz Folded patch. Apply only this patch. Applies to 4.6.alpha1 + trac_7883-ideals-folded.patch. |
comment:13
I've uploaded a folded patch, which should apply cleanly to 4.6.alpha1 on top of the folded patch at #7883. Doctests do not pass if you apply this patch on its own, so the positive review should be understood to apply to this patch and #8334 together. See that ticket for precise directions as to which patches to apply. |
This comment has been minimized.
This comment has been minimized.
Reviewer: David Loeffler |
Changed work issues from Depends on broken #8334 to none |
Moves finite fields to the new coercion model. Patches have been moved to #8334, so do not apply the patches from this ticket.
Depends on #8218, #8332, #7880 and #7883. Prerequisite for #8334, #8335, #9887.
Component: algebra
Author: David Roe
Reviewer: David Loeffler
Issue created by migration from https://trac.sagemath.org/ticket/8333
The text was updated successfully, but these errors were encountered: