# certorbits.py -- certified version of the orbit computations of section 5, for the 10 representative forms of had16.3. # The centers z of the boxes of certify16.py (folder arithmetic, file certified16.txt) are moved by every column action Q # of the symmetry group (aut163.npy, from autgroup.py), and normalized by b_1 = 1. Since the zeros are unique in the # boxes of radius 1e-6 around the centers, and are within 1e-60 of them, an image at distance < 1e-9 of a center is that # zero, and an image at distance > 1e-12 is another point, the program checking that no distance falls in between. # This certifies the stabilizers, the orbit sizes, and the fact that no image is a conjugate of a representative. # Then, for each class, every element g of the stabilizer other than +-1 is conjugated in the symmetry group, and the # conjugates are looked up in the 64 centrally regular subgroups R (R163.npy, from cocyclic16.py), each element of R # being labeled by the type of its image in R/ = D_8: rotation of order 8, 4, 2 (center), or reflection. By # Proposition 3.4 and its converse for cyclic subgroups, a form fixed by such an element comes from the reduction # along the cyclic subgroup that it generates. import numpy as np H=np.loadtxt('had163.txt'); N=16 Qs=np.load('aut163.npy'); Qi=np.rint(Qs).astype(np.int8) Z=np.loadtxt('../arithmetic/certified16.txt') B=np.hstack([np.ones((10,1)),Z[:,:15]+1j*Z[:,15:]]) assert np.abs(np.abs(B@H.T)-4).max()<1e-12 def qmat(g): Q=np.zeros((N,N),np.int8) for j in range(N): c=int(g[j]); Q[c%N,j]=1 if c1e-12)&(D<1e-9)).any() st=np.nonzero(D[c]<1e-9)[0]; other=(D<1e-9).sum()-len(st) types=set() for g in st: if np.array_equal(Qi[g],I) or np.array_equal(Qi[g],-I): continue conj=np.einsum('hij,jk,hlk->hil',Qi.astype(np.int16),Qi[g].astype(np.int16),Qi.astype(np.int16)).astype(np.int8) types|={label[key(m)] for m in conj if key(m) in label} print(f"class {c}: stabilizer of order {len(st)}, orbit of size {len(Qs)//len(st)}, images equal to another representative " f"or to a conjugate: {other}; reductions along: {sorted(types) or 'none'}",flush=True) print("all distances outside (1e-12,1e-9):",ok)