############################################################################################################################ # Calculation of the Weyl group transformation from lines coming from planar configurations to the lines from convex hulls # ############################################################################################################################ # The following script allows to compute the Weyl group element sending the labelling for the 27 lines on each maximal cone obtained via a convex hull computation to the labelling obtained from the planar configurations. The existence of such element will certify that the convex hull computations were correct. # The computation is done for each cone separately, and only records a list of sets for the cherries and only one side of the trees whenever the other side is completely determined by the involution. In some cases we'll need all the leaves. # We first start by collecting all the Weyl group elements that give the list of lines giving the 2 and 3 types for each cone. After these are fixed, we then collect among them the ones that give the correct computation for the two types with the least number of elements: (II) for (aa2a3a4) and (III) for (aa2a3b). ########################################################################### # Setting up the ambient rings with the W(E6) action. ########################################################################### # A list of variables d_1, ..., d_6 for the coefficients ds = [var("d%s"%i) for i in range(1,7)] # A list of variables E_1, ..., E_6 Es = [var("E%s"%i) for i in range(1,7)] # A list of variables F_12, ..., F_56 Fs = [var("F%s%s"%(i,j)) for i in range(1,7) for j in range(1,7) if i < j] # A list of variables G_1, ..., G_6 Gs = [var("G%s"%i) for i in range(1,7)] EFG = Es+Fs+Gs # A list of variables X_12, ..., X_65 Xs = [var("X%s%s"%(i,j)) for i in range(1,7) for j in range(1,7) if i != j] # A list of variables Y_123456, ..., Y_162534 Ys = [var("Y%s%s%s%s%s%s"%(i,j,k,l,m,n)) for i in range(1,7) for j in range(1,7) for k in range(1,7) for l in range(1,7) for m in range(1,7) for n in range(1,7) if i