Open
Description
Here is an example:
needsPackage "NormalToricVarieties"
-- Bruns and Gubeladze Example 5.1
P = convexHull matrix transpose {
{1,1,1,0,0,0}, {0,1,1,0,0,1},
{1,1,0,1,0,0}, {0,1,0,1,1,0},
{1,0,1,0,1,0}, {0,1,0,0,1,1},
{1,0,0,1,0,1}, {0,0,1,1,1,0},
{1,0,0,0,1,1}, {0,0,1,1,0,1}}
N = ZZ^5
P = affineImage(id_N | transpose matrix {{-1,-1,-1,-1,-1}}, P)
tally apply(100, i -> (
X := normalToricVariety P;
assert isComplete X;
isComplete makeSimplicial X))
And the result:
o5 = Tally{false => 15}
true => 85
(I didn't test projectivity because it is slower to check, but of course these should always be projective as well.)
cc: @ggsmith