forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Laurent polynomials, Fitting ideals and characteristic varieties #6
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enriqueartal
pushed a commit
that referenced
this pull request
Jul 25, 2024
sagemathgh-38380: CI: Remove `centos-7` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> EOL 2024-06-30, CI now fails https://github.com/mkoeppe/sage/actions/run s/9970528956/job/27549649531#step:11:66 ``` #6 [with-system-packages 2/4] RUN yum install -y centos-release-scl #6 0.267 Loaded plugins: fastestmirror, ovl #6 0.357 Determining fastest mirrors #6 0.867 Could not retrieve mirrorlist http://mirrorlist.centos.org/?rel ease=7&arch=x86_[64](https://github.com/mkoeppe/sage/actions/runs/997052 8956/job/27549649531#step:11:65)&repo=os&infra=container error was #6 0.867 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error" ``` ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38380 Reported by: Matthias Köppe Reviewer(s): Frédéric Chapoton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently in sagemath#36128 (already in develop) characteristic varieties of finitely presented fundamental groups were introduced. Its computation is based on Fitting ideals of Laurent polynomial matrices. In sagemath#36299, Fitting ideals were implemented for generic rings with some improvements for PID and polynomial rings.
There are two original goals in this PR: to improve the output of characteristic varieties and to use the cited implementation. In order to make computations faster, the implementation of Fitting ideals should apply to Laurent polynomial rings and for this goal, several changes should be applied to Laurent polynomials in
Sagemath
.I am not sure if a deeper change should be made, since I applied only the changes I needed for the above goal:
fitting_ideals
.Matrix_laurent_mpolynomial_dense
.laurent_matrix_reduction
to obtain a matrix of polynomials where the variables are non common factors for neither the rows nor the columns._fitting_ideal
to use the same method for matrices of polynomials.The main changes are for Laurent polynomials to avoid errors in the above implementations.
xgcd
needed forinverse_mod
.inverse_mod
.divides
, I copied the code for polynomials with minor changes.__init__
, the previous code create issues, e.g., impossible to sum ideals of univariate Laurent polynomial rings. They involve changes in doctests forhint
__contains__
since__reduce__
is different for univariate and multivaraite case.gens_reduced
.polynomial_ideal
to deal differently if uni- and multi-variate.divides
, I copied the code for polynomials with minor changes.TestSuite
's applied to domains as base_rings; the correspondingTestSuite
's for polynomials also failed if applied to polynomial rings.is_noetherian
.📝 Checklist
⌛ Dependencies