-
Notifications
You must be signed in to change notification settings - Fork 18
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
fixed bug in membership test_function #636
base: master
Are you sure you want to change the base?
fixed bug in membership test_function #636
Conversation
Codecov Report
@@ Coverage Diff @@
## master #636 +/- ##
==========================================
- Coverage 70.78% 62.72% -8.07%
==========================================
Files 328 326 -2
Lines 47456 44277 -3179
==========================================
- Hits 33594 27773 -5821
- Misses 13862 16504 +2642
Continue to review full report at Codecov.
|
@mohamed-barakat Thank you for the pointer. Your critical change is, I think, already fixed in https://github.com/homalg-project/ToricVarieties_project/blob/7dc7c5af027e4d9e52b3032ac7d77cb97a7e8a2a/CoherentSheavesOnToricVarieties/gap/CoherentSheaves.gi#L29. Note that this line is identical to your change, except that |
Just to be sure, are you confident that the Hilbert polynomial works even under the new hypotheses? The following example makes me doubt it, but maybe I get something wrong: |
One also needs that the irrelevant locus is zero-dimensional. The Hilbert polynomial invoked by the code is the classical Hilbertpolynomiall assuming all degrees equal to 1.
I probably misunderstand your example. If I delete x_0 = 0 I get the affine space with one ray-generator less (so different Cox ring) and trivial degree group. What is the fan in your example? |
Does this comment imply that the new hypotheses are still insufficient? What other cases beside projective spaces can be covered by the Hilbert polynomial? If there are none, then maybe the if clause should be replaced by checking whether we simply have a projective space? I'm not familiar with the intended framework of this package. Does every modelled toric variety needs to come from a fan? Or is it sufficient to supply a Cox ring together with an irrelevant ideal? The second framework is more general, since it allows my given counter-example (the affine space modelled in an usual way). |
Yes.
For example the blowup of A^2 at the origin. The resulting normal toric variety is smooth with class group Z and irrelevant locus <x,y>.
Since this package is based on |
Do you want this PR to be merged anyway? Or do you intend to correct it?
The Cox ring in this example is k[t,x,y] with deg(t) = -1, deg(x) = deg(y) = 1. |
You are right, the easiest is to restrict to the projective space and generalize at a later point with an appropriate notion of a multigraded Hilbert polynomial. I will adapt the PR. |
For the record:
|
e8b4483
to
be8098c
Compare
b2bde44
to
58be57f
Compare
43c884a
to
99f79ae
Compare
99f79ae
to
59961d1
Compare
59961d1
to
5568e25
Compare
a14e50e
to
16c060d
Compare
16c060d
to
36f921b
Compare
36f921b
to
711de58
Compare
043163e
to
9c16cca
Compare
9c16cca
to
443891c
Compare
443891c
to
4e49e50
Compare
2f26597
to
d33a003
Compare
d2ed681
to
51be95d
Compare
e4f7774
to
d48c234
Compare
0d6d31f
to
b816d4e
Compare
55085f1
to
5be5211
Compare
3fb9961
to
95fae8f
Compare
95fae8f
to
1fd05f7
Compare
the assumption made on HilbertPolynomial in the code is wrong
1fd05f7
to
a168c0a
Compare
the assumption made on HilbertPolynomial in the code is wrong
I understood from @HereAround that he has transferred some of the functionality of
ToricSheaves
. In this case, these fixes should also be relevant to his code.