Macaulay2 » Documentation
Packages » PALPInterface :: nefPartitionDivisors
next | previous | forward | backward | up | index | toc

nefPartitionDivisors -- the divisors belonging to a nef partition

Description

Any rays not named make up one further part, so a codimension two partition can be given by naming one of its two parts.

i1 : needsPackage "NormalToricVarieties"

o1 = NormalToricVarieties

o1 : Package
i2 : V = smoothFanoToricVariety(3, 5);
i3 : Ds = nefPartitionDivisors(V, {3, 5})

o3 = {V  + V , V  + V  + V  + V }
       3    5   0    1    2    4

o3 : List
i4 : assert all(Ds, isNef)
i5 : assert(sum Ds == - toricDivisor V)

In higher codimension the parts are given as a list of lists, and again the rays left over make up the last part.

i6 : Es = nefPartitionDivisors(V, {{0, 2}, {1, 3, 4}})

o6 = {V  + V , V  + V  + V , V }
       0    2   1    3    4   5

o6 : List
i7 : assert all(Es, isNef)
i8 : assert(sum Es == - toricDivisor V)

The divisors always add up to the anticanonical divisor, since the parts partition the rays.

When the rays of $V$ are exactly the vertices of $\Delta^*$, as for a smooth Fano variety, the parts of a nef partition found by palpNefPartitions applied to $V$ are lists of ray indices, and can be given here directly.

i9 : L = palpNefPartitions(V, 2, HodgeNumbers => false);
i10 : apply(L, n -> nefPartitionDivisors(V, parts n))

o10 = {{V  + V  + V , V  + V  + V }, {V  + V , V  + V  + V  + V }, {V  + V ,
         1    3    5   0    2    4     1    3   0    2    4    5     3    5 
      -----------------------------------------------------------------------
      V  + V  + V  + V }}
       0    1    2    4

o10 : List
i11 : all(L, n -> all(nefPartitionDivisors(V, parts n), isNef))

o11 = true

See also

For the programmer

The object nefPartitionDivisors is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/PALPInterface.m2:2918:0.