-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Add support for Fano toric varieties #8989
Comments
Author: Andrey Novoseltsev |
This comment has been minimized.
This comment has been minimized.
comment:2
There is still an unfinished discussion about the name of what is now called |
comment:3
I will make some adjustments to this module following discussion here: |
This comment has been minimized.
This comment has been minimized.
comment:5
Names of all functions/classes were adjusted to work with Crepant Partial Resolutions of Fano toric varieties (CPR-Fano toric varieties). |
comment:7
Rebased patch with |
comment:8
The functionality is fine, but I would prefer to rename some methods/variables:
In addition to N/M lattice points we now have points of the (dual) polytope, yay. What does Let me know what you think. After we decide on what to do I'd be happy to review it positively. |
Reviewer: Volker Braun |
comment:9
I switch to numbers for easier referencing:
We can even expand it to
i.e. this method will try to convert any input to the appropriate generator of the coordinate ring. The only subtle point will be that "plain numbers" will refer to points of Delta rather than generators of the ring, but that's what one usually wants and there is |
comment:10
1-3) Which notation do you want to use for nef partitions? I would follow Batyrev/Materov and decompose Nill apparently doesn't want others to read his paper, and using his confusing notation is doing a great job at that. But then its his work and he can do whatever he pleases. The difference is that I would like the Sage package to be used by other people, and inventing your own notation which moreover conflicts with the standard notation is a big no-no.
|
comment:11
1-3) I am actually having second thoughts about all these names. I think this is basically the same issue as with In this particular case I would prefer to replace
or, if one prefers other names, something like
Moreover, it now will be possible to have some global switch to make
Personally, I like Nill's paper, as well as his notation, and I certainly saw some other ones with notation different from Delta in M/nabla in N. I think our goal for Sage is to make as flexible and consistent package as possible, suitable both for beginners and "advancers". So I do agree that we should not enforce Nill's notation, but I also think that we should not hard-code any other (even though I have done it so far in this patch). Notation is always just notation, we should operate with more conceptual things...
|
comment:12
In principle I agree, but in practice you will need to distinguish the polytope from the dual polytope. And, conventionally, the "dual polytope" is what the In the cone case there is nothing that breaks the symmetry; A cone could be a cone in the N or M lattice or neither (like the Kaehler cone). Notation is of course arbitrary, but once established it does save a lot of writing/typing ;-) |
comment:13
A polytope and its dual are not interchangeable when you are talking about one particular toric variety, but if you are working with two varieties associated to these polytopes, things do become somewhat interchangeable... My point is that if I have created a standalone polytope, called it In mathematics it is more or less OK to abuse notation and use the same names describing different objects, or to say "everything will be the same up to relabelling." When it is not enough, one can also start putting tildes, primes, daggers, etc. on similar but different objects to make them a little bit different. But method names cannot be slightly altered or "relabeled in an obvious way." So it is not that I don't want to use standard notation, I just don't think that it is usable in tasks involving more than one object - if you want to work with them at the same time, they must have different names/notation. The polytope whose face fan is used has the advantage of being uniquely determined (with the agreement of using primitive vectors along the rays), while many different polytopes may give the same normal fan. So it seems to me that using just |
comment:14
That was precisely my point: Since you have a I agree that comparisons with other variables might be confusing, but the problem is that the other variable is confusingly-named. I can always write
Furthermore:
|
comment:15
Well, I guess I mostly agree, I probably went over the top in my struggle for the best and cleanest names ever ;-) So while I think that it is quite likely to have However, I am still against assigning different names to polar polytopes. In the notation for nef-partitions that you have cited,
and while these are different objects from toric varieties, I would like same-named methods to return the same things. So if you really don't want Does it sound like a good compromise? |
comment:16
So just to get this straight, there will be a Then, there will be methods (perhaps with
for the usual polytopology of nef partitions. The only relations to the polytopes of the ambient toric variety are
That would be fine with me. A |
comment:17
Attachment: trac_8989_add_support_for_fano_toric_varieties.patch.gz OK, here are the changes:
|
comment:18
Oh, and regarding your last comment on complete intersections - yes, that's what I plan to implement once I get to it. In principle, I already have all the code, it just has to be rewritten for the new framework and documented, as well as other things ;-) For now my next target is reviewing your posted patches. |
comment:19
I'm happy with the new names! |
comment:20
I just noticed that
Is there any particular reason why this is not done in the same way as |
comment:21
It is a bug somewhere. Looking into it. |
Attachment: trac_8989_lattice_choice_fix.patch.gz |
comment:22
As it is plainly written in the documentation of I didn't not use your doctest since it depends on the next ticket, but added a similar one. Now all fans of CPR-Fano varieties will live in lattice |
comment:23
Works for me! |
Merged: sage-4.5.2.alpha0 |
This patch is a part of the following series adding support for cones/fans and toric varieties to Sage:
Prerequisites:
#8675 - Remove
AmbientSpace._constructor
and fix consequences#8682 - Improve
AlgebraicScheme_subscheme.__init__
andAmbientSpace._validate
#8694 - Improve schemes printing and LaTeXing
#8934 - Trivial bug in computing faces of non-full-dimensional lattice polytopes
#8936 - Expose facet inequalities for lattice polytopes
#8941 -
_latex_
andorigin
for lattice polytopesMain patches adding new modules:
#9062 - Add support for toric lattices
#8986 - Add support for convex rational polyhedral cones
#8987 - Add support for rational polyhedral fans
#8988 - Add support for toric varieties
#8989 - Add support for Fano toric varieties
Everything was tested on sage.math using sage-4.4.2.rc0.
Known issues:
TestSuite
. This doctest does not work yet for other schemes and therefore should not be expected to work for these derived classes (and indeed - it does not work). According tohttp://groups.google.com/group/sage-devel/browse_thread/thread/a42ace80078373b4
this should not be an obstacle to include these patches.
CC: @vbraun
Component: algebraic geometry
Author: Andrey Novoseltsev
Reviewer: Volker Braun
Merged: sage-4.5.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8989
The text was updated successfully, but these errors were encountered: