Skip to content

makeSimplicial in NormalToricVarieties occasionally makes the variety incomplete #3576

Open
@mahrud

Description

@mahrud

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions