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
Backport a fix for std(id,P) in Singular #25889
Comments
comment:2
With the added patch, the first step in the construction of a filter regular sequence in a certain complicated cohomology ring improved from more than two days to less than 10 seconds. New commits:
|
Author: Simon King, Hans Schönemann |
Commit: |
comment:3
Attachment: example.sing.gz I have attached an example (actually from some cohomology computation, but the example is stand-alone). Start Sage's Singular (
With the patch, it finishes quite soon, and the protocol output shows that almost no work needed to be done. Without the patch, you have to be very patient. By the way, I tested that |
comment:4
You will also need to bump the patch level for singular: |
Reviewer: Travis Scrimshaw |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Done. |
comment:7
LGTM. Thank you. |
This comment has been minimized.
This comment has been minimized.
comment:9
Hi Samuel, the links you gave are correct. Note, however, that they are not identical with the patch provided here, as the upstream changeset is applied to a different version than the one provided by Sage. Hans Schönemann helped me to backport it. |
comment:10
Thanks for clarifying. It's still useful to have some concrete reference so we can |
Changed upstream from Fixed upstream, in a later stable release. to Fixed upstream, but not in a stable release. |
comment:11
Replying to @simon-king-jena:
You should really include those links in the |
comment:13
Given that this patch will conflict (in the |
comment:14
Well, the bug fixed by this patch is not yielding wrong results but yielding very slow computations in a situation that I care about. From my perspective, it would be perfectly alright to resolve this ticket as "wontfix", given that there is a realistic perspective that soonish (namely with #25993) the issue will be fixed without a backported patch. Jeroen, do I understand correctly: Based on #24735, I should create a new ticket for group cohomology, implementing things so that it works both with Singular-4.1.1.p2 and ...p3, and this new ticket would be a dependency for #25933? |
comment:15
Replying to @simon-king-jena:
Yes, except that it doesn't have to be on top of #24735. I don't know whether there are any changes between Singular-4.1.0p3 (currently in Sage) and 4.1.1p2 (in #24735) that are relevant to p_group_cohomology. |
comment:16
Replying to @simon-king-jena:
Well, I would like to keep open the possibility that #25993 gives unexpected problems. |
comment:17
Replying to @jdemeyer:
Right, you said that p_group_cohomology still works with #24735, and trouble only start with #25993. Anyway, I should create a package version that works with both... |
Changed branch from u/SimonKing/backport_a_fix_for_std_id_p__in_singular to |
Changed commit from |
comment:19
I don't understand the rationale of "lets not fix the bug because at some point in the future I'll have a branch that fixes it, too". Just deal with git conflicts by merging already positively reviewed tickets into your branch as necessary. In any case, I'll leave this ticket for you to figure out. |
comment:20
Replying to @vbraun:
|
comment:21
To Volker, Replying to @simon-king-jena:
I do believe this is the case. |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Simon King |
comment:23
Presuming these are all correctly reviewed as either duplicate, invalid, or wontfix. |
In Singular, if
id
is an ideal given by a standard basis andP
is a list of polynomials, thenstd(id,P)
is computing a standard basis for the ideal generated byid
andP
. It is supposed to take into account thatid
is a standard basis, which means that a lot of critical pairs can be discarded.However, the current Singular version does in fact considers a lot of unnecessary critical pairs in
std(id,P)
, as I uncovered in my cohomology computations.Hans Schönemann found a fix that will be part of the next Singular release and also helped me to backport that fix to the Singular version that currently is in Sage. I suggest to add this to
build/pkgs/singular/patches
.Upstream fix:
Upstream: Fixed upstream, but not in a stable release.
CC: @slel
Component: packages: standard
Keywords: Singular std
Author: Simon King, Hans Schönemann
Branch:
6bca984
Reviewer: Travis Scrimshaw, Simon King
Issue created by migration from https://trac.sagemath.org/ticket/25889
The text was updated successfully, but these errors were encountered: