"Source: Text/Geometry/Polyhedra.text";
"Line: 1521";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Geometry/Polyhedra.text, line: 1521
// Example: H156E10 ()
print "Example: H156E10";
ei := GetEchoInput();
SetEchoInput(true);
L := ToricLattice(4);
B := [ L | [1,2,3,-3], [-1,0,1,0], [1,2,1,-2], [2,0,0,-1], [0,0,2,-1] ];
L1,f := Sublattice(B);
Dimension(L1);
assert $1 eq 3;
C := Cone(B);
Points(Polytope(B));
ZGenerators(C);
C1 := C @@ f;
IsNonsingular(C1);
assert $1;
B1 := ZGenerators(C1);
B1;
[ Index(B,Image(f,b)) : b in B1 ];
SetEchoInput(ei);
