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

palpInfo -- the summary line PALP prints for a polytope

Description

PALP's one line summary of a polytope collects the number of lattice points and vertices of the polytope and of its dual, and, when PALP knows them, the Hodge numbers and the Euler characteristic.

i1 : palpInfo {10, 1, 1, 2, 2, 2, 2}

o1 = HashTable{"Euler" => 2160   }
               "H" => {2, 0, 350}
               "M" => {378, 6}
               "N" => {8, 6}

o1 : HashTable

Each field printed by PALP as Key: becomes the list of numbers following it, and the value in square brackets, the Euler characteristic, becomes an integer under "Euler". The fields are

  • M -- the number of lattice points and the number of vertices of the polytope
  • N -- the same two numbers for its dual, present only when the polytope is reflexive
  • F -- the numbers of faces, printed in place of N when the polytope is not reflexive
  • H -- Hodge numbers
  • Euler -- the Euler characteristic, which PALP prints in square brackets
  • Pic -- for a three dimensional polytope, the Picard number of the generic K3 hypersurface
  • Cor -- the correction term in the formula for Pic; see below

For a four dimensional reflexive polytope $\Delta$, given in $M$, the hypersurface is a Calabi-Yau threefold. The fan over the faces of $\Delta^*$ gives a toric variety $V_0$, which in general is not simplicial, and an anticanonical hypersurface $X_0$ in it, which is singular. A fine, regular, star triangulation of $\Delta^*$ gives a simplicial toric variety $V$, and the anticanonical hypersurface $X$ in $V$ is a smooth Calabi-Yau threefold. H is $\{h^{1,1}(X), h^{1,2}(X)\}$, which does not depend on the triangulation.

This polytope is the first in the Kreuzer-Skarke list with $h^{1,1} = 350$:

needsPackage "ReflexivePolytopesDB"
A = matrix first kreuzerSkarke(350, Limit => 10)
i2 : A = matrix {
         {1, 0, 0, 0, -29, -2, -5},
         {0, 1, 0, 0, -19, -2, -4},
         {0, 0, 1, 0, -8, -1, -2},
         {0, 0, 0, 1, -1, 2, 2}};

              4       7
o2 : Matrix ZZ  <-- ZZ
i3 : H = palpInfo A

o3 = HashTable{"Euler" => 660  }
               "H" => {350, 20}
               "M" => {36, 7}
               "N" => {485, 8}

o3 : HashTable
i4 : H#"N" == {numColumns palpNPoints A, numColumns palpNVertices A}

o4 = true

Which of the keys appear depends on the dimension and on whether the polytope is reflexive, because PALP prints whatever it computes for that case. For the reflexive simplices in dimensions 1 through 8 one gets

dim 1, 2      M N
dim 3         M N Pic Cor
dim 4, 5      M N H Euler
dim 6, 7, 8   M N H

and a polytope that is not reflexive gives M and F in any dimension. So do not assume a field is there; test with e.g. H#?"N" before reading it. PALP's own description of this summary is

P reflexive:     numbers of (dual) points/vertices, Hodge numbers
P not reflexive: numbers of points, vertices, equations

so in the second case F is the number of equations, standing where N would be.

In dimension three the anticanonical hypersurface is a K3 surface, and PALP reports the Picard number of the generic member together with the term that corrects the naive count. Writing $\ell$ for the number of lattice points of a face and $\ell^*$ for the number in its relative interior, and $\theta$ for the face of $\Delta$ dual to a face $\theta^*$ of $\Delta^*$, Batyrev's formula reads

Pic = l(Delta*) - 4 - sum over facets theta* of l*(theta*)
                    + sum over edges  theta* of l*(theta*) l*(theta)

and Cor is that second sum. It is nonzero exactly when some edge of $\Delta^*$ and the edge of $\Delta$ dual to it both have interior lattice points, which is the part of the answer the point counts M and N cannot show.

i5 : H = palpInfo transpose matrix {{1,0,0},{-1,0,1},{0,1,0},{0,-1,1},{0,0,1},{0,0,-1}}

o5 = HashTable{"Cor" => {0}  }
               "M" => {7, 6}
               "N" => {29, 8}
               "Pic" => {17}

o5 : HashTable
i6 : H#"M"

o6 = {7, 6}

o6 : List
i7 : H#"Pic"

o7 = {17}

o7 : List

A polytope that is canonical but not reflexive, so that PALP reports F and no N:

i8 : A = matrix{{1,0,0,-1},{0,1,0,-1},{0,0,1,-2}}

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

              3       4
o8 : Matrix ZZ  <-- ZZ
i9 : palpInfo A

o9 = HashTable{"F" => {4}   }
               "M" => {5, 4}

o9 : HashTable
i10 : palpIsIP A

o10 = true
i11 : palpIsCanonical A

o11 = true
i12 : palpIsReflexive A

o12 = false

See also

Ways to use palpInfo:

  • palpInfo(List)
  • palpInfo(Matrix)
  • palpInfo(WeightSystem)

For the programmer

The object palpInfo is a method function.


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