"""Numerical screen (50 digits) of the 85 lines and the conic C1 listed in Yu-Zhu, arXiv:2609.26862v1, Sect. 3-4. Each listed line is given by two linear equations; we compute a basis of the solution space, check that F_{-1/8} vanishes identically on the line (sampled at several points), and that the 85 lines are pairwise distinct. This is a SCREEN for transcription errors only; the exact verification is done in Magma (magma/) and in Lean (formal/). """ import itertools import mpmath as mp mp.mp.dps = 50 I = mp.mpc(0, 1) s3 = mp.sqrt(3) r12, r18, r6, r24, r108 = (mp.root(x, 4) for x in (12, 18, 6, 24, 108)) t = mp.mpf(-1) / 8 def F(x): x1, x2, x3, x4 = x return (x3 - x4) * (x1**4 - 3 * x2**4) - 6 * (x3 + x4) * x1**2 * x2**2 + x3 * x4 * (x4**3 - t * x3**3) def null2(rows): """Basis of the kernel of a 2x4 complex matrix (via 2x2 minors).""" M = mp.matrix(rows) # pick two pivot columns with nonzero minor best = None for (p, q) in itertools.combinations(range(4), 2): d = M[0, p] * M[1, q] - M[0, q] * M[1, p] if best is None or abs(d) > abs(best[2]): best = (p, q, d) p, q, d = best free = [c for c in range(4) if c not in (p, q)] basis = [] for f in free: v = [mp.mpc(0)] * 4 v[f] = mp.mpc(1) # solve M[:, [p,q]] * [vp, vq] = -M[:, f] b0, b1 = -M[0, f], -M[1, f] v[p] = (b0 * M[1, q] - b1 * M[0, q]) / d v[q] = (M[0, p] * b1 - M[1, p] * b0) / d basis.append(v) return basis lines = {} lines[1] = [[0, 0, 1, 0], [0, 0, 0, 1]] # V(x3, x4): rows are equations for j1, j2, j3 in itertools.product((0, 1), repeat=3): n = 2 + 4 * j1 + 2 * j2 + j3 e1 = [0, 0, 0, 0]; e1[3 - j1] = 1 # x_{4-j1} = 0 e2 = [(s3 - (-1) ** (j1 + j2)), -((-1) ** (j1 + j3)) * I**j2 * r12, 0, 0] lines[n] = [e1, e2] for j1, j2 in itertools.product((0, 1), repeat=2): n = 10 + 2 * j2 + j1 lines[n] = [[0, 0, 1, 2], [1, -((-1) ** j1) * I * (I * s3) ** j2, 0, 0]] for j1, j3 in itertools.product((0, 1), repeat=2): n = 14 + 2 * j1 + j3 lines[n] = [[0, 0, -(1 - I * s3), 4], [r12 + (-1) ** j3 * (1 - I), -((-1) ** j1) * ((-1) ** j3 * r12 - (1 + I) * s3), 0, 0]] n = 18 + 2 * j1 + j3 lines[n] = [[0, 0, -(1 + I * s3), 4], [r12 - (-1) ** (j1 + j3) * (1 + I), ((-1) ** j3 * r12 + (-1) ** j1 * (1 - I) * s3), 0, 0]] for j1, j2, j3, k in itertools.product((0, 1), (0, 1), (0, 1), range(4)): n = 22 + 16 * j1 + 40 * j2 + 4 * j3 + k c = I ** (k + (1 - j2) * (1 - j3)) * (I - 1) eq1 = [2 * r18 * (-1) ** j1, -2 * r18 * (-1) ** (j2 + j3) * I, -c, -2 * c] rhs = c * r6 * ((-1) ** j2 * r12 + (-1) ** j3 * I ** (1 - j2) * (s3 - (-1) ** j2)) eq2 = [4 * (-1) ** j1 * (s3 + (-1) ** j2), 4 * I**j2 * r12, -rhs, 0] lines[n] = [eq1, eq2] n = 30 + 16 * j1 + 24 * j2 + 4 * j3 + k c1 = I ** (k + j2 * (1 - j3)) * r6 eq1 = [2 * (-1) ** (j1 + j3) * s3, 6 * (-1) ** j2, -c1, -2 * c1] c2 = I ** (k + j2 * (3 - j3)) * r6 eq2 = [(-1) ** j1 * ((-I) ** j2 * r12 + (-1) ** j3 * (1 + (-1) ** j2 * s3)), ((-1) ** j3 * (-I) ** j2 * r12 + 3 - (-1) ** j2 * s3), -c2, 0] lines[n] = [eq1, eq2] assert sorted(lines) == list(range(1, 86)), sorted(set(range(1, 86)) - set(lines)) bad = [] bases = {} for n, rows in sorted(lines.items()): B = null2(rows) bases[n] = B worst = 0 for (a, b) in [(1, 0), (0, 1), (1, 1), (1, 2), (2, -3), (mp.mpf('0.3'), mp.mpf('-1.7'))]: x = [a * B[0][i] + b * B[1][i] for i in range(4)] worst = max(worst, abs(F(x)) / max(1, max(abs(c) for c in x)) ** 5) if worst > mp.mpf(10) ** -30: bad.append((n, mp.nstr(worst, 5))) print("lines NOT on X_{-1/8} (residual):", bad if bad else "none") def plucker(B): u, v = B return [u[i] * v[j] - u[j] * v[i] for i, j in itertools.combinations(range(4), 2)] P = {n: plucker(B) for n, B in bases.items()} dups = [] for m, n in itertools.combinations(sorted(P), 2): a, b = P[m], P[n] # proportional Plucker vectors <=> same line k = max(range(6), key=lambda i: abs(a[i])) lam = b[k] / a[k] if max(abs(b[i] - lam * a[i]) for i in range(6)) < mp.mpf(10) ** -30: dups.append((m, n)) print("coinciding pairs:", dups if dups else "none") # incidence (meeting) matrix and rank of the intersection matrix (diag -3) def meet(m, n): A = mp.matrix([bases[m][0], bases[m][1], bases[n][0], bases[n][1]]) return abs(mp.det(A)) < mp.mpf(10) ** -25 G = mp.matrix(85, 85) for m in range(1, 86): for n in range(1, 86): G[m - 1, n - 1] = -3 if m == n else (1 if meet(m, n) else 0) deg = [sum(1 for n in range(1, 86) if n != m and meet(m, n)) for m in range(1, 86)] print("lines meeting each line (min,max):", min(deg), max(deg)) import numpy as np Gn = np.array([[int(G[i, j]) for j in range(85)] for i in range(85)]) print("rank of 85x85 intersection matrix (numpy, integer entries):", np.linalg.matrix_rank(Gn)) # conic C1 plane = [0, (1 - I) * r24 * (r12 - s3 + 1), -(r12 + s3 - 1), -4] # . x = 0 def on_conic_points(nsamp=5): pts = [] for (x2, x3) in [(1, 2), (mp.mpf('0.5'), -1), (2, mp.mpf('0.3')), (-1, 1), (mp.mpf('1.1'), mp.mpf('2.2'))][:nsamp]: x4 = (plane[1] * x2 + plane[2] * x3) / 4 rhs = ((s3 - 1) * x3**2 + 2 * (s3 - 1 - r108) * x4**2) / (4 * I * mp.sqrt(2)) - (r108 - 3) * x2**2 x1 = mp.sqrt(rhs) pts.append([x1, mp.mpc(x2), mp.mpc(x3), x4]) return pts res = max(abs(F(p)) for p in on_conic_points()) print("conic C1: max |F| on sampled points:", mp.nstr(res, 5))