L = naiveNefPartitions(V, c)A nef partition of codimension $c$ is a partition of the rays into $c$ parts such that in each part the sum of the divisors is Cartier and nef. This looks for them directly, with no help from PALP, which makes it a useful check on palpNefPartitions.
|
|
|
|
|
In codimension one the only candidate is the anticanonical divisor.
|
PALP leaves out projections and direct products unless asked for them, and keeps only one nef partition from each class of those equivalent under a symmetry of the polytope. With all of them asked for, the two agree. Since the rays of a smooth Fano variety are the vertices of $\Delta^*$, the parts are ray indices in both.
|
|
Both conditions matter when $V$ is singular. Here $V$ is simplicial, so every torus-invariant divisor is $\QQ$-Cartier, and 31 of the 63 splits of its 7 rays into two parts are nef over $\QQ$. Only 4 of them have both parts Cartier, and these are the nef partitions PALP finds.
|
|
|
|
|
Every set partition of the rays into c parts is examined, so this is only practical when there are few rays.
The object naiveNefPartitions is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/PALPInterface.m2:2869:0.