Unit circles through three of n points
Show that n points in the plane have only o(n²) unit circles passing through three of them; the best construction gives n^{3/2}.

Obstruct Taylor lifts of the cubic triple pattern with moving coordinates
Browse files+1 −1 routes/rusirui-prove-asymptotic-bound/README.md View file
| @@ -40,7 +40,7 @@ For any fixed `K`, a set of at most `Kn` prescribed values accounts for `o_K(n² | ||
| 40 | 40 | - Exact enumeration on the scaled square grids of side lengths 2 to 20 found at most 384 circles. The program checks the integer circumradius identity and deduplicates the rational centers. The finite samples leave the asymptotic behavior open. From this route folder, run `python grid_experiment.py` to reproduce the table. [Grid experiment](grid_experiment.py) |
| 41 | 41 | - The earlier concentric-circle proof gives an unspecified exponent by the partial-envelope theorem. The explicit radial proof gives a uniform replacement and avoids assuming balanced classes. [Earlier envelope analysis](growing-radial-classes.md) |
| 42 | 42 | |
| 43 | -- A cubic height profile on fixed equally spaced horizontal coordinates permits every index-sum-zero triple in the leading signed radius equation. Eleven consecutive indices already force a nonzero fourth-order residual, eliminating this fixed-abscissa lifting attempt. [Proof and exact certificate](fixed-abscissas-obstruction.md) | |
| 43 | +- A cubic height profile on fixed equally spaced horizontal coordinates permits every index-sum-zero triple in the leading signed radius equation. Eleven consecutive indices already force a nonzero fourth-order residual, eliminating this fixed-abscissa lifting attempt. [Proof and exact certificate](fixed-abscissas-obstruction.md) With moving abscissas, the equations on seventeen consecutive indices admit Taylor corrections through order three in `epsilon²`. Two independent residuals at order four exclude paths with a Taylor expansion in `epsilon²`. [Moving-coordinate proof and certificate](moving-abscissas-obstruction.md) | |
| 44 | 44 | |
| 45 | 45 | ## Next |
| 46 | 46 | |
+54 −0 routes/rusirui-prove-asymptotic-bound/moving-abscissas-obstruction.md added View file
| @@ -0,0 +1,54 @@ | ||
| 1 | +# An obstruction for moving cubic profiles with Taylor expansions | |
| 2 | + | |
| 3 | +Let `i` range from `-8` to `8`. Fix real `a,b,k` with `k != 0`. Consider points | |
| 4 | + | |
| 5 | +`P_i(epsilon) = (epsilon x_i(epsilon^2), epsilon^2 Y_i(epsilon^2))` | |
| 6 | + | |
| 7 | +with `x_i(0)=i` and `Y_i(0)=a+b i+i^2/2+k i^3`. Suppose each coordinate function admits a Taylor expansion through order four in `epsilon^2`, with remainder `o(epsilon^8)`. Then the 32 triples of distinct indices with `i+j+l=0` cannot all have circumradius one along a sequence of positive `epsilon` tending to zero. In the signed equation after cancelling the common `epsilon^3`, simultaneous formal solutions exist through order three in `epsilon^2`. At order four two residuals are nonzero regardless of every remaining coefficient in the lower orders. | |
| 8 | + | |
| 9 | +## Normalization and the polynomial equations | |
| 10 | + | |
| 11 | +A vertical translation by `-epsilon^2 a` followed by rotation by `-epsilon b` removes `a,b` from the limits. These operations preserve the Taylor hypothesis on the normalized coordinates because `cos(epsilon b)`, `epsilon sin(epsilon b)` and `sin(epsilon b)/epsilon` are analytic in `epsilon^2` near zero. Divide the resulting normalized vertical coordinate by `k` and set `s=k^2 epsilon^2`, `C=1/(2k)`. Write the normalized coordinates as `x_i(s),y_i(s)` after these changes. At zero, `x_i=i` and `y_i=C i^2+i^3`. For each triple `e=(i,j,l)` in increasing order let `Delta_e` be the determinant of the two sides in the normalized coordinates. The radius equation in these coordinates is | |
| 12 | + | |
| 13 | +`P_e(x,y,s) = Delta_e^2 - C^2 prod_({u,v}⊂e) [(x_v-x_u)^2+s(y_v-y_u)^2] = 0`. | |
| 14 | + | |
| 15 | +This is the standard circumradius formula with the original horizontal and vertical scalings substituted. It is also locally equivalent to the signed equation since `Delta_e(0)=C B_e`, where `B_e=(j-i)(l-i)(l-j)` and `C != 0`. The release of the horizontal coordinates is the new variable in this calculation. In the [fixed-coordinate obstruction](fixed-abscissas-obstruction.md) a residual already appeared at order two in `s`. | |
| 16 | + | |
| 17 | +## Linearization and the certificate | |
| 18 | + | |
| 19 | +Write `y_i=C x_i^2+x_i^3+z_i`, where `z_i(0)=0`. With `x_i=i` at the base point, define | |
| 20 | + | |
| 21 | +`D_e(g) = sum_(v∈e) g_v / prod_(w∈e minus {v}) (v-w)`. | |
| 22 | + | |
| 23 | +Adding unknown order-`r` coefficients `h_i` to `x_i` and `g_i` to `z_i` changes the coefficient of `s^r` in `P_e/(2 C B_e^2)` by | |
| 24 | + | |
| 25 | +`L_e(h,g) = sum_(v∈e) h_v + D_e(g)`. | |
| 26 | + | |
| 27 | +Indeed the second divided difference of `C x^2+x^3` is `C+sum x_v`, and the change in the factors of the horizontal Vandermonde cancels between the two squares at `s=0`. A positive-order coefficient of the expression multiplied by `s` uses only lower jets. Thus at each order the new coefficients must map under `L` to the negative residual computed with that order's coefficients set to zero. | |
| 28 | + | |
| 29 | +The 32-by-34 rational matrix `L` has rank 24. Its kernel has the following polynomial basis, evaluated on the 17 indices. The numbers in the first column index independent coefficients at each order. | |
| 30 | + | |
| 31 | +| Label | `h(t)` | `g(t)` | | |
| 32 | +| ---: | --- | --- | | |
| 33 | +| 0 | `0` | `1` | | |
| 34 | +| 1 | `0` | `t` | | |
| 35 | +| 2 | `-1/3` | `t^2` | | |
| 36 | +| 3 | `0` | `t^3` | | |
| 37 | +| 4 | `-t^2/2` | `t^4` | | |
| 38 | +| 5 | `-t^3/3` | `t^5` | | |
| 39 | +| 6 | `-t^4/2` | `t^6` | | |
| 40 | +| 7 | `-2t^5/5` | `t^7` | | |
| 41 | +| 8 | `t` | `0` | | |
| 42 | +| 9 | `-3t^7/7` | `t^9` | | |
| 43 | + | |
| 44 | +For `e` let `H_e=sum_(v∈e) v^2/2` and `J_e=prod_(v∈e) v`. The following four columns are independent modulo the image of `L`: | |
| 45 | + | |
| 46 | +`J^4, H J^4, J^5, H^2 J^4`. | |
| 47 | + | |
| 48 | +In the calculations below all residual vectors belong to the span of those four columns and the image. Their four coefficients modulo the image are therefore unique. The exact certificate finds 24 independent columns of `L`, appends the four columns, then inverts the square minor from the first 28 independent rows. It checks each computed decomposition on all 32 rows, working with polynomials over the rationals in `C` and the free kernel coefficients. In particular this tests the identities for arbitrary real values of those parameters. | |
| 49 | + | |
| 50 | +At order one a particular solution is `h_1=0` and `g_1(t)=C^3 t^4 + (3C/2)t^6`. Add a general combination of the kernel columns with coefficients `a_0,...,a_9`. The order-two residual has zero coefficients on the four extra columns. For an order-two particular solution take the 24 coordinates returned by the minor and set the other coordinates to zero. Add a general kernel combination with coefficients `b_0,...,b_9`. | |
| 51 | + | |
| 52 | +The order-three residual has coefficients `3C(-12C^2 a_9+2a_7-1)/32`, `3C a_9/8`, `0`, and `0`, in the displayed column order. It follows that `a_9=0` and `a_7=1/2`. With these assignments, choose an order-three particular solution by the same minor and add the ten order-three kernel terms. The last two extra-column coefficients of the order-four residual are `7C^2/80` and `5C/32`. Neither vanishes for `C != 0`. This proves the obstruction. Any Taylor path with all the required exact circles along a sequence would make each residual coefficient through order four zero, by successively dividing by its lowest power of `s` and taking the limit along the sequence. | |
| 53 | + | |
| 54 | +Run `python moving_abscissas_certificate.py` in this route folder with SymPy installed. The certificate uses the squared determinant equations directly, all Taylor operations are exact, and the rank and coefficient checks take under a minute on the development machine. The argument covers Taylor paths in `epsilon^2`. Paths with fractional powers of `epsilon^2` are an additional case. The ambient extremal question is [Erdős Problems #104](https://www.erdosproblems.com/104). | |
+159 −0 routes/rusirui-prove-asymptotic-bound/moving_abscissas_certificate.py added View file
| @@ -0,0 +1,159 @@ | ||
| 1 | +"""Certify the Taylor obstruction for a moving cubic profile, using SymPy.""" | |
| 2 | + | |
| 3 | +from itertools import combinations | |
| 4 | +from math import prod | |
| 5 | + | |
| 6 | +from sympy import Matrix, QQ, Rational | |
| 7 | +from sympy.polys.rings import ring | |
| 8 | + | |
| 9 | + | |
| 10 | +INDICES = tuple(range(-8, 9)) | |
| 11 | +TRIPLES = tuple(e for e in combinations(INDICES, 3) if sum(e) == 0) | |
| 12 | +POSITIONS = tuple(tuple(INDICES.index(t) for t in e) for e in TRIPLES) | |
| 13 | +N = len(INDICES) | |
| 14 | +R, C, *parameters = ring(['C'] + [f'{p}{j}' for p in 'abc' for j in range(10)], QQ) | |
| 15 | +ZERO = R.zero | |
| 16 | + | |
| 17 | + | |
| 18 | +def add(left, right): | |
| 19 | + return [a + b for a, b in zip(left, right)] | |
| 20 | + | |
| 21 | + | |
| 22 | +def subtract(left, right): | |
| 23 | + return [a - b for a, b in zip(left, right)] | |
| 24 | + | |
| 25 | + | |
| 26 | +def multiply(left, right): | |
| 27 | + return [sum((left[i] * right[k-i] for i in range(k+1)), ZERO) | |
| 28 | + for k in range(len(left))] | |
| 29 | + | |
| 30 | + | |
| 31 | +def multiply_by_s(series): | |
| 32 | + return [ZERO, *series[:-1]] | |
| 33 | + | |
| 34 | + | |
| 35 | +def dz_coeff(triple, t): | |
| 36 | + if t not in triple: | |
| 37 | + return Rational(0) | |
| 38 | + return Rational(1, prod(t-u for u in triple if u != t)) | |
| 39 | + | |
| 40 | + | |
| 41 | +def tangent_matrix(): | |
| 42 | + return Matrix([[int(t in e) for t in INDICES] + [dz_coeff(e, t) for t in INDICES] | |
| 43 | + for e in TRIPLES]) | |
| 44 | + | |
| 45 | + | |
| 46 | +def tangent_kernel(): | |
| 47 | + """Return the ten (horizontal, vertical correction) column pairs.""" | |
| 48 | + zero = [Rational(0)] * N | |
| 49 | + slope = list(map(Rational, INDICES)) | |
| 50 | + columns_by_parameter = {0: zero + [Rational(1)] * N, 1: zero + slope, 8: slope + zero} | |
| 51 | + for d, hcoeff in ((2, -Rational(1, 3)), (3, 0), (4, -Rational(1, 2)), | |
| 52 | + (5, -Rational(1, 3)), (6, -Rational(1, 2)), | |
| 53 | + (7, -Rational(2, 5)), (9, -Rational(3, 7))): | |
| 54 | + columns_by_parameter[d] = [hcoeff*t**(d-2) for t in INDICES] + [t**d for t in INDICES] | |
| 55 | + return Matrix([columns_by_parameter[j] for j in range(10)]).T | |
| 56 | + | |
| 57 | + | |
| 58 | +def obstruction_columns(): | |
| 59 | + rows = [] | |
| 60 | + for e in TRIPLES: | |
| 61 | + h = sum(i*i for i in e) // 2 | |
| 62 | + j = prod(e) | |
| 63 | + rows.append([j**4, h*j**4, j**5, h*h*j**4]) | |
| 64 | + return Matrix(rows) | |
| 65 | + | |
| 66 | + | |
| 67 | +def matrix_times_vec(matrix, vector): | |
| 68 | + return [sum((c*v for c, v in zip(row, vector) if c), ZERO) for row in matrix.tolist()] | |
| 69 | + | |
| 70 | + | |
| 71 | +class TaylorSystem: | |
| 72 | + def __init__(self): | |
| 73 | + self.tangent = tangent_matrix() | |
| 74 | + self.kernel = tangent_kernel() | |
| 75 | + assert self.kernel.rank() == 10 | |
| 76 | + assert self.tangent * self.kernel == Matrix.zeros(len(TRIPLES), 10) | |
| 77 | + self.column_indices = self.tangent.rref()[1] | |
| 78 | + self.rank = len(self.column_indices) | |
| 79 | + assert self.rank == 24 | |
| 80 | + self.columns = self.tangent[:, list(self.column_indices)] | |
| 81 | + followed_by_obstructions = self.columns.row_join(obstruction_columns()) | |
| 82 | + self.row_indices = list(followed_by_obstructions.T.rref()[1]) | |
| 83 | + assert len(self.row_indices) == self.rank + 4 | |
| 84 | + self.inverse = followed_by_obstructions[self.row_indices, :].inv() | |
| 85 | + self.extended = followed_by_obstructions | |
| 86 | + | |
| 87 | + def split(self, target): | |
| 88 | + """Split a Taylor target into the tangent image and four given columns.""" | |
| 89 | + coefficients = matrix_times_vec(self.inverse, [target[j] for j in self.row_indices]) | |
| 90 | + assert matrix_times_vec(self.extended, coefficients) == target | |
| 91 | + correction = [ZERO] * (2*N) | |
| 92 | + for index, c in zip(self.column_indices, coefficients[:self.rank]): | |
| 93 | + correction[index] = c | |
| 94 | + return correction, coefficients[self.rank:] | |
| 95 | + | |
| 96 | + def free_terms(self, order): | |
| 97 | + start = 10*(order-1) | |
| 98 | + return matrix_times_vec(self.kernel, parameters[start:start+10]) | |
| 99 | + | |
| 100 | + | |
| 101 | +def vertical_coordinates(order, horizontal, extra): | |
| 102 | + x2 = multiply(horizontal, horizontal) | |
| 103 | + x3 = multiply(x2, horizontal) | |
| 104 | + return [C*x2[k] + x3[k] + extra[k] for k in range(order+1)] | |
| 105 | + | |
| 106 | + | |
| 107 | +def target(jets, order): | |
| 108 | + """Compute the negative residual at order `order`, with that jet zero.""" | |
| 109 | + x = [[R(t), *(jet[i] for jet in jets), ZERO] for i, t in enumerate(INDICES)] | |
| 110 | + z = [[ZERO, *(jet[N+i] for jet in jets), ZERO] for i in range(N)] | |
| 111 | + y = [vertical_coordinates(order, a, b) for a, b in zip(x, z)] | |
| 112 | + result = [] | |
| 113 | + for triple, (a, b, c) in zip(TRIPLES, POSITIONS): | |
| 114 | + xab, xac, xbc = subtract(x[b], x[a]), subtract(x[c], x[a]), subtract(x[c], x[b]) | |
| 115 | + yab, yac, ybc = subtract(y[b], y[a]), subtract(y[c], y[a]), subtract(y[c], y[b]) | |
| 116 | + determinant = subtract(multiply(xab, yac), multiply(xac, yab)) | |
| 117 | + chord_squares = [add(multiply(dx, dx), multiply_by_s(multiply(dy, dy))) | |
| 118 | + for dx, dy in zip((xab, xac, xbc), (yab, yac, ybc))] | |
| 119 | + rhs = multiply(multiply(chord_squares[0], chord_squares[1]), chord_squares[2]) | |
| 120 | + vandermonde = prod(v-u for u, v in combinations(triple, 2)) | |
| 121 | + residual = multiply(determinant, determinant) | |
| 122 | + assert all(residual[k] == C*C*rhs[k] for k in range(order)) | |
| 123 | + result.append((C*C*rhs[order] - residual[order]).exquo(C) / (2*vandermonde**2)) | |
| 124 | + return result | |
| 125 | + | |
| 126 | + | |
| 127 | +def replace(poly, assignments): | |
| 128 | + return poly.compose(assignments) | |
| 129 | + | |
| 130 | + | |
| 131 | +def main(): | |
| 132 | + system = TaylorSystem() | |
| 133 | + # Take the fixed-horizontal particular solution at order one. | |
| 134 | + first = add([ZERO]*N + [C**3*t**4 + Rational(3, 2)*C*t**6 for t in INDICES], | |
| 135 | + system.free_terms(1)) | |
| 136 | + assert matrix_times_vec(system.tangent, first) == target([], 1) | |
| 137 | + second, obs2 = system.split(target([first], 2)) | |
| 138 | + assert obs2 == [ZERO]*4 | |
| 139 | + second = add(second, system.free_terms(2)) | |
| 140 | + | |
| 141 | + _, obs3 = system.split(target([first, second], 3)) | |
| 142 | + a7, a9 = parameters[7], parameters[9] | |
| 143 | + assert obs3 == [3*C*(-12*C*C*a9 + 2*a7-1)/32, 3*C*a9/8, ZERO, ZERO] | |
| 144 | + assignments = [(a7, R(Rational(1, 2))), (a9, ZERO)] | |
| 145 | + first = [replace(p, assignments) for p in first] | |
| 146 | + second = [replace(p, assignments) for p in second] | |
| 147 | + third, specialized = system.split(target([first, second], 3)) | |
| 148 | + assert specialized == [ZERO]*4 | |
| 149 | + third = add(third, system.free_terms(3)) | |
| 150 | + | |
| 151 | + _, obs4 = system.split(target([first, second, third], 4)) | |
| 152 | + assert obs4[2] == 7*C*C/80 | |
| 153 | + assert obs4[3] == 5*C/32 | |
| 154 | + print('Ranks 24 and 28. Order three forces a7=1/2 and a9=0.') | |
| 155 | + print('Order four has the nonzero coefficients 7*C^2/80 and 5*C/32.') | |
| 156 | + | |
| 157 | + | |
| 158 | +if __name__ == '__main__': | |
| 159 | + main() | |