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

palpHodgeNumbers -- the Hodge numbers of the complete intersection of one nef partition

Description

This computes the stringy Hodge numbers of a single nef partition, from its Gorenstein (Cayley) polytope. It is what hodgeNumbers calls for a nef partition found with HodgeNumbers => false, and it lets one compute the Hodge numbers of just the nef partitions one is interested in. Given a NefPartition, the results are also stored in its cache.

i1 : L = palpNefPartitions({10, 1, 1, 2, 2, 2, 2}, 2, HodgeNumbers => false);
i2 : n = first L;
i3 : n.cache#?"HodgeNumbers"

o3 = false
i4 : palpHodgeNumbers n

o4 = HashTable{"Euler" => -168            }
               "HodgeNumbers" => {2, 86}
               "HodgeZero" => {1, 0, 0, 1}

o4 : HashTable
i5 : n.cache#?"HodgeNumbers"

o5 = true

A nef partition can also be given directly, by its parts and the vertices of $\Delta^*$. Here is $(\mathbb{P}^1)^3$, with the anticanonical divisor split into two divisors of degrees $(1,1,1)$ each: the complete intersection is an elliptic curve.

i6 : V = id_(ZZ^3) | -id_(ZZ^3)

o6 = | 1 0 0 -1 0  0  |
     | 0 1 0 0  -1 0  |
     | 0 0 1 0  0  -1 |

              3       6
o6 : Matrix ZZ  <-- ZZ
i7 : palpHodgeNumbers({{0, 1, 2}, {3, 4, 5}}, V)

o7 = HashTable{"Euler" => 0         }
               "HodgeNumbers" => {}
               "HodgeZero" => {1, 1}

o7 : HashTable

The parts are checked to be a nef partition first: each polytope $\Delta_j$ of the divisor $D_j = \sum_{v \in E_j} D_v$ must be a lattice polytope, and $\Delta_1 + \cdots + \Delta_c$ must be $\Delta$. On the smooth Fano threefold below, the first part is not nef.

i8 : W = transpose matrix {{1,0,0},{-1,0,1},{0,1,0},{0,-1,1},{0,0,1},{0,0,-1}}

o8 = | 1 -1 0 0  0 0  |
     | 0 0  1 -1 0 0  |
     | 0 1  0 1  1 -1 |

              3       6
o8 : Matrix ZZ  <-- ZZ
i9 : try palpHodgeNumbers({{0, 1}, {2, 3, 4, 5}}, W) else "not a nef partition"

o9 = not a nef partition
i10 : palpHodgeNumbers({{3, 5}, {0, 1, 2, 4}}, W)

o10 = HashTable{"Euler" => 0         }
                "HodgeNumbers" => {}
                "HodgeZero" => {1, 1}

o10 : HashTable

Caveat

This can take much longer than finding the nef partitions; see palpNefPartitions. Codimension $c$ needs a PALP built for dimension at least $\dim N + c - 1$; see palpDmax.

See also

Ways to use palpHodgeNumbers:

  • palpHodgeNumbers(List,Matrix)
  • palpHodgeNumbers(NefPartition)

For the programmer

The object palpHodgeNumbers is a method function.


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