Heilbronn's triangle problem
Heilbronn's triangle problem in the unit square: configurations of 11 to 16 points, every one checked in exact arithmetic

Exact minimum areas for n = 13 and 15; strict local maxima for n = 11 to 16 (reproductions, issue 8)
Browse filesCo-authored-by: Yucheng Du <256645790+yucheng-du@users.noreply.github.com>
Checks
verify Program
Details
+4 −0 routes/exact-local-maxima/.gitignore added View file
| @@ -0,0 +1,4 @@ | ||
| 1 | +minimum15.json.gz | |
| 2 | +__pycache__/ | |
| 3 | +checked1[35].csv | |
| 4 | +branches.json | |
+39 −0 routes/exact-local-maxima/AFFINE-CLASSIFICATION.md added View file
| @@ -0,0 +1,39 @@ | ||
| 1 | +# Optimal square placements of the 47 and 165 real conjugates | |
| 2 | + | |
| 3 | +For each of the 13-point and 15-point algebraic configurations we optimized the smallest triangle area over **all affine transformations into the unit square** and over every real embedding of its coordinate field. In both cases the published configuration, with the certified algebraic coordinates, is the unique maximizer up to the eight symmetries of the square. | |
| 4 | + | |
| 5 | +| Configuration | Real embeddings | Optimum on the distinguished embedding | Best attainable minimum on every other embedding | | |
| 6 | +|---|---:|---:|---:| | |
| 7 | +| 13 points, Karpov–Stead | 47 | 0.027019916669111361743931… | between 0.001059840030074751807353 and 0.001059840030074751807354 | | |
| 8 | +| 15 points, Sudermann-Merx | 165 | 0.021210541005490628299864… | between 0.000989465346113016646009 and 0.000989465346113016646010 | | |
| 9 | + | |
| 10 | +The last column is the maximum among the other embeddings after each is allowed its own affine placement. For 13 points the runs number roots by the shape parameter in the original shape certificate. The optimum and runner-up occur at roots 40 and 10. For 15 points the order is by the area parameter in the area certificate. The optimum and runner-up occur at roots 84 and 128. All ranks are one-based. The two tables give outward-rounded enclosures for each individual optimum, together with the hull size and determinant scaling factor. [13-point table](affine13.csv) · [15-point table](affine15.csv) | |
| 11 | + | |
| 12 | +## Finite computation of the optimum | |
| 13 | + | |
| 14 | +For points P₁,…,Pₙ with nonzero triangle areas, the allowable linear functionals giving one output coordinate form the polygon W of row vectors u satisfying | |
| 15 | + | |
| 16 | + maxᵢ u·Pᵢ − minᵢ u·Pᵢ ≤ 1. | |
| 17 | + | |
| 18 | +Indeed, an independent translation in that output coordinate takes the minimum to zero. The two rows of a feasible affine map can be chosen independently from W. If the original smallest triangle area is m, the largest attainable minimum is m times the largest absolute determinant of a row pair. This maximum is attained because W is bounded and closed. | |
| 19 | + | |
| 20 | +For either sign of the determinant, a maximizing pair can be chosen at vertices of W by linearity in each argument. A vertex must make two linearly independent constraints u·(Pᵢ−Pⱼ) ≤ 1 tight. If the maximum and minimum projections each occurred at a single point, only one such constraint could be tight. At least one supporting line is therefore a hull edge. For each edge, either normal divided by its projection width belongs to W. This finite list contains all the vertices and hence suffices to compute the optimum. The width for a hull edge can be read off as the largest absolute signed determinant of the edge with a third point. | |
| 21 | + | |
| 22 | +The verifier isolates each real root and encloses its coordinates using Arb. It certifies the signs of all oriented triangle determinants, enumerates every hull edge and checks every pair of normalized edge normals. It encloses the minimum and maximum with outward interval arithmetic, including ties. A positive lower bound on each optimal area and a finite list of feasible row pairs establish both sides of the per-embedding enclosures. | |
| 23 | + | |
| 24 | +## Uniqueness on the distinguished configurations | |
| 25 | + | |
| 26 | +With the certified 13 points in their square coordinates, the vertical supporting edge (1,6) paired with either horizontal edge (1,4) or (5,11) gives determinant magnitude exactly one. Each other pair gives at most 0.951673330125358122234260. For the 15 points the hull has seven edges. The pair (5,6) and (3,4) gives magnitude one exactly; each of the other twenty pairs gives at most 0.993610005458355290719125. These exact axis factors follow from the certified boundary coordinates on all four sides. The labels are zero-based in both configurations. | |
| 27 | + | |
| 28 | +Expanding a determinant of two arbitrary rows of W into convex combinations of vertex-pair determinants shows that a maximizing pair can only use vertex pairs attaining the same signed extreme. In both configurations those vertices are precisely the signed coordinate normals, and each has just one partner at a given signed extreme. Hence the rows of every maximizing map form a signed permutation matrix. Since their widths are exactly one, the translations are forced. This proves the uniqueness assertion within these algebraic families. Other components, contact patterns or boundary assignments are outside the computation. | |
| 29 | + | |
| 30 | +## Reproduction | |
| 31 | + | |
| 32 | +Run from this route with Python 3.12, python-flint 0.9.0 and SymPy 1.14.0. The 15-point run needs `minimum15.json.gz`, hosted outside the repository (see [README.md](README.md#large-file-kept-outside-the-repository)). | |
| 33 | + | |
| 34 | +```sh | |
| 35 | +python verify_affine13.py field13.json.gz real-branches/initial.json checked13.csv | |
| 36 | +python verify_affine15.py minimum15.json.gz minimum15-real.json.gz checked15.csv | |
| 37 | +``` | |
| 38 | + | |
| 39 | +The [13-point realization](EXACT-13.md) and [15-point realization](EXACT-15.md) give the independent equivalence and local-optimality certificates used here. | |
+51 −0 routes/exact-local-maxima/CUBIC.md added View file
| @@ -0,0 +1,51 @@ | ||
| 1 | +# Strict local maxima for the 12- and 14-point configurations | |
| 2 | + | |
| 3 | +Let Δ(P) be the least area among the triangles in a labelled configuration P in the unit square. For the exact configurations in the table, every feasible P+h with 0 < ‖h‖∞ ≤ R satisfies Δ(P+h) < Δ(P). The norm takes the largest absolute change of any individual coordinate. All 2n coordinates may vary independently subject to the square. | |
| 4 | + | |
| 5 | +| n | Original construction | Exact minimum, truncated to ten places | Active triangles | Closed radius R | | |
| 6 | +|---|---|---:|---:|---:| | |
| 7 | +| 12 | Comellas and Yebra | 0.0325988586 | 20 of 220 | 1/93 | | |
| 8 | +| 14 | Beyleveld, exact realization by Chappell | 0.0243039796 | 26 of 364 | 1/429 | | |
| 9 | + | |
| 10 | +The contribution is a checkable neighborhood certificate for each published construction. The comparison with arbitrary distant configurations remains open. | |
| 11 | + | |
| 12 | +## Reproduce | |
| 13 | + | |
| 14 | +Run these commands with Python 3 in this directory. Verification uses only the standard library. The two comparisons also check that the committed 60-place decimal versions reproduce exactly. | |
| 15 | + | |
| 16 | +```sh | |
| 17 | +python3 cubic_certify.py | |
| 18 | +python3 cubic_certify.py --points 12 | cmp - n12.txt | |
| 19 | +python3 cubic_certify.py --points 14 | cmp - n14.txt | |
| 20 | +``` | |
| 21 | + | |
| 22 | +For the project's score run its unmodified `verify.py` with the two coordinate files as arguments. That check enumerates rational triangle areas of the finite decimal configurations and displays the minima as 0.0325988586 and 0.0243039796. The local maximality proof uses the exact algebraic coordinates. | |
| 23 | + | |
| 24 | +## Construction and exact active set | |
| 25 | + | |
| 26 | +For n=12, write a for the root of 4a³−12a²+10a−1 in (0.11, 0.12) and b=2a²−3a+1/2. The paper gives a=1−t/6−1/t, where t³=27+3√57. Indeed (t/6+1/t)³=(t/6+1/t)/2+1/4, yielding the cubic above. The minimum is a/4+ab/2−a²/2. The published coordinates and the stationarity-based local optimization procedure are on pp. 7 and 3. The present certificate quantifies the neighborhood for perturbations of the full configuration. [Comellas and Yebra (2002), original paper](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v9i1r6/pdf/) | |
| 27 | + | |
| 28 | +For n=14, a is the root of 8a³−12a²−12a+1 in (0.07, 0.08), and the minimum is (1−6a−8a²)/20. The 28 coordinates and the area polynomial coefficients in the verifier agree with Chappell's exact data for Beyleveld's 2006 configuration. Both point lists follow the order in Appendix B of Sudermann-Merx. [Chappell's exact data at revision 885246a](https://github.com/rhyschappell/heilbronn-n14-exact/blob/885246a9b62fc11f5a513b07c29408c00fb15d9d/n14_exact.json) · [Sudermann-Merx, Appendix B](https://arxiv.org/html/2603.11107v3#A2) | |
| 29 | + | |
| 30 | +The verifier uses rational arithmetic. It checks the cubic changes sign and has derivative of constant nonzero sign on the isolating interval. Bisection refines this interval. Each coordinate and determinant is a polynomial in a of degree at most two after reduction modulo the cubic. The zero polynomial certifies equality. For nonzero polynomials an interval evaluation establishes the sign. Every triangle is compared to the stated minimum. Exactly eight square-wall constraints are active in each configuration. | |
| 31 | + | |
| 32 | +## Perturbation bound | |
| 33 | + | |
| 34 | +Write Dᵢ(P) for each active triangle's determinant, multiplied by its orientation sign at P, so Dᵢ(P)=2Δ(P). Let gᵢ be its gradient, with zero entries at all other points. The additional rows are the inward unit normals of the active square walls. For a feasible displacement h, every wall row has nonnegative dot product with h. | |
| 35 | + | |
| 36 | +Set r=‖h‖∞. The linear part of Dᵢ(P+h)−Dᵢ(P) has magnitude at most 4r. In each coordinate block the sum of the three absolute gradient entries is twice the range of the opposite coordinate, hence at most 2. The quadratic remainder is the signed determinant of the three displacement vectors, whose endpoints lie in [−r,r]². Its absolute value is at most 4r². Indeed this determinant is affine in each coordinate separately and its maximum and minimum on the box occur at vertices. Three corners of this square span at most half its area. The verifier checks 4R+4R² < 2Δ(P), which preserves each active orientation throughout the neighborhood. | |
| 37 | + | |
| 38 | +For each signed coordinate unit vector e, the certificate gives nonnegative rational weights w on the rows. The verifier checks the maximum ℓ₁ error ε of the representations e ≈ Σwᵢgᵢ. Let K be the maximum sum of weights on triangle rows alone. The verified bounds are | |
| 39 | + | |
| 40 | +| n | signed directions | K | ε | | |
| 41 | +|---|---:|---:|---:| | |
| 42 | +| 12 | 48 | 115370741/5000000 | < 1/100000 | | |
| 43 | +| 14 | 56 | 535971457/5000000 | < 1/100000 | | |
| 44 | + | |
| 45 | +For h≠0 choose a signed axis e with e·h=−r. Then (Σwᵢgᵢ)·h ≤ −(1−ε)r. If Δ(P+h) ≥ Δ(P), each signed active determinant would have linear change gᵢ·h ≥ −4r². Feasibility handles the wall terms, so the same sum would be at least −4Kr². These bounds contradict 4KR+ε<1, which the verifier checks exactly. In particular strictness also holds at the stated radius. | |
| 46 | + | |
| 47 | +The optional `cubic_weights.py OUTPUT_DIRECTORY` uses NumPy and SciPy to discover rational certificates. For each signed unit vector it minimizes triangle weight subject to the floating-point gradient equality and nonnegativity, then rounds weights to multiples of 10⁻⁷. No assumption about LP optimality or feasibility enters the proof. The verifier recomputes every residual using rational interval bounds and uses the stored weights without SciPy. | |
| 48 | + | |
| 49 | +## Existing Shoal work | |
| 50 | + | |
| 51 | +The 12- and 14-point values were already reproduced on `main` (PRs #9, #26, #31). The point files here are reproductions too; what this note adds is the strict local maximality at both exact centers. How this relates to other routes is in [README.md](README.md#relation-to-other-routes). | |
+37 −0 routes/exact-local-maxima/EXACT-13.md added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +# The degree-345 minimum area of the Karpov–Stead 13-point configuration | |
| 2 | + | |
| 3 | +Peter Karpov found the arrangement in 2011. Tej Stead subsequently tightened the coordinates in the same basin. Its minimum triangle area at the exact limiting arrangement is the real algebraic number | |
| 4 | + | |
| 5 | +```text | |
| 6 | +0.0270199166691113617439314768425770484824271222934605778417484960709770035062340574462474310… | |
| 7 | +``` | |
| 8 | + | |
| 9 | +Its minimal polynomial over the rationals has **degree 345**. All 26 square coordinates belong to the field generated by this area. The polynomial is supplied in [ordinary coefficient order, constant term first](minimum13-polynomial.json). The certificate also gives the coordinates explicitly and specifies which real root to take. This determines the score of this arrangement. The unrestricted 13-point Heilbronn number remains open. [Karpov's source](http://inversed.ru/Ascension.htm#results) · [Stead's coordinate history](https://math.tejstead.com/heilbronn/square/13/) · [Sudermann-Merx, §7.1](https://arxiv.org/html/2603.11107v3) | |
| 10 | + | |
| 11 | +## Reconstructing the square | |
| 12 | + | |
| 13 | +Write the polynomial as H and take its root a in the enclosed dyadic interval. If the interval entry gives numerator N and exponent k, the endpoints are N/2ᵏ and (N+1)/2ᵏ. There are seven exact boundary coordinates. The x-coordinates of points 1 and 6 and the y-coordinates of points 5 and 11 are zero. Point 7 has x=1 and points 1 and 4 have y=1. Point labels start at zero and follow the public coordinate file. For each of the other nineteen coordinates, the entry named by axis and index gives a polynomial P and a positive integer c. Its exact value is P(a)/(c H′(a)). Coefficients of all these polynomials run from lowest to highest power. [Complete certificate](minimum13.json.gz) · [26 independently enclosed coordinates](real-branches/target-coordinates.tsv) | |
| 14 | + | |
| 15 | +Modulo three good primes, the degrees of the irreducible factors of H do not admit a common proper factor degree. This proves irreducibility over ℚ. Rigorous ball arithmetic gives opposite signs at the endpoints of the dyadic interval, and the derivative excludes zero throughout. The twenty signed active determinant identities hold by exact polynomial division after clearing coordinate denominators. Each signed doubled area equals 2a. Intervals certify that the other 266 triangles have strictly larger area. The entire point set and its doubled area lie inside the root cube of the independent contraction certificate. That certificate proves a strict local maximum under simultaneous changes of all 26 coordinates within distance 1/479. [Contraction proof](PROOF.md) | |
| 16 | + | |
| 17 | +## Discovery and independent checks | |
| 18 | + | |
| 19 | +We normalized the oriented triangle of points (12,0,6) to (0,0), (1,0), (0,1). Each active signed determinant in this chart equals +1 or −1. The two horizontal square contacts impose parallelism. Two linear equations eliminate two more coordinates. The remaining eighteen quadratic equations are in the [msolve input](shape13.ms). msolve 0.11.0 produced a univariate representation with parameter t equal to the normalized y-coordinate of point 11. The original square is recovered using the prescribed boundary lines. [Shape representation](field13.json.gz) · [msolve](https://msolve.lip6.fr/) | |
| 20 | + | |
| 21 | +To obtain the literal area polynomial, we formed the multiplication matrix of that area over finite prime fields and reconstructed its characteristic polynomial by the Chinese remainder theorem. Changing to the power basis of a then gave the nineteen coordinate formulas. The verification below checks the resulting characteristic-zero identities directly and does not depend on those discovery steps. In a second formulation, scaling the physical y-axis by 1/(2a) gives a square system of twenty equations for signed determinants of magnitude one. Its separating polynomial modulo 65521 independently agrees after this reciprocal substitution. | |
| 22 | + | |
| 23 | +A separate enumeration found 47 real conjugates in the shape field. Only one fits these prescribed boundary lines inside the unit square. Every other conjugate has minimum area below 0.0012 under **any** affine placement into the square. For the distinguished conjugate, the original square placement maximizes the minimum area among its affine images, uniquely up to square symmetries. This classifies a single irreducible component. [Proof and per-conjugate bounds](real-branches/REAL-BRANCHES.md) | |
| 24 | + | |
| 25 | +## Verification | |
| 26 | + | |
| 27 | +From this route directory, the following commands reproduce the local checks. The area and shape verifiers were tested with Python 3.12 and python-flint 0.9.0. The separate conjugate enumeration also uses SymPy 1.14.0. Neither msolve nor the original optimization programs are needed to verify the delivered result. | |
| 28 | + | |
| 29 | +```sh | |
| 30 | +python verify_area13.py minimum13.json.gz n13.txt | |
| 31 | +python verify_field13.py field13.json.gz n13.txt | |
| 32 | +cd real-branches | |
| 33 | +python field_checks.py | |
| 34 | +python enumerate_branches.py --out branches.json | |
| 35 | +``` | |
| 36 | + | |
| 37 | +The [affine classification](AFFINE-CLASSIFICATION.md) optimizes the square placement of every real conjugate in both fields and gives the best attainable area on each branch. | |
+36 −0 routes/exact-local-maxima/EXACT-15.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +# The degree-1,357 minimum area of Sudermann-Merx’s 15-point configuration | |
| 2 | + | |
| 3 | +Nathan Sudermann-Merx found this asymmetric arrangement in August 2026. His paper gives numerical coordinates and identifies its exact form as an open case. At the equal-area configuration in the certified neighborhood, the smallest triangle has area | |
| 4 | + | |
| 5 | +```text | |
| 6 | +0.02121054100549062829986481919051221720731723913024097395443163407131209550879328496382264398209041905… | |
| 7 | +``` | |
| 8 | + | |
| 9 | +This number has degree **1,357** over the rationals. It generates the field of all 30 coordinates in the unit square. The result applies to the published arrangement. Global optimality for 15 points remains open. [Sudermann-Merx, §§6–7 and Table 16](https://arxiv.org/html/2603.11107v3) · [Stead’s record and provenance](https://math.tejstead.com/heilbronn/square/15/) · [Author’s coordinate files](https://github.com/spiralulam/heilbronn/tree/21eb39efa94f36ec7019e63ee97e52d0110f839b/best-known-configurations) | |
| 10 | + | |
| 11 | +## Exact coordinates and score | |
| 12 | + | |
| 13 | +The [area polynomial](minimum15-polynomial.json.gz) has integer coefficients in ascending order of exponent. The leading coefficient has 2,475 decimal digits. The largest coefficient in absolute value has 2,556. Write this polynomial as H and take the real root a in the supplied interval from N/2ᵏ to (N+1)/2ᵏ. | |
| 14 | + | |
| 15 | +The full coordinate certificate `minimum15.json.gz` (38 MB, hosted outside the repository; URL and SHA-256 in [README.md](README.md#large-file-kept-outside-the-repository)) gives polynomials P and positive integers c for the square coordinates. An entry named `x7`, for example, gives x₇ = P(a)/(c H′(a)). Point labels start at zero as in Table 16. The six boundary values are x₀ = 1, y₁ = 0, y₃ = y₄ = 1, and x₅ = x₆ = 0. The remaining repeated coordinate is y₁₃ = y₆. | |
| 16 | + | |
| 17 | +The verifier proves irreducibility by factoring H modulo several primes. Every rational factor would retain its degree at every listed prime. The subset sums of the modular factor degrees exclude all possibilities up to 678. An endpoint sign change and a nonzero derivative throughout the supplied dyadic interval isolate a simple real root. At that root the checker proves 25 signed-area identities in ℚ[a] and verifies that the other 430 triangles have greater area. All 30 coordinates and the doubled area lie within 10⁻⁸⁹ of the rational center in `n15.txt`. The existing local certificate gives strict local maximality within coordinate distance 1/3172 of this exact root. | |
| 18 | + | |
| 19 | +The 455 triangles have exactly **424 distinct areas**. The minimum occurs 25 times. Seven noncritical values occur twice and the remaining 416 occur once. Each repeated noncritical pair comes from two critical triangles of equal signed area on the same side of a shared edge. Their two opposite vertices lie on a line parallel to the shared edge. Interchanging the two edges gives the second equal-area pair. The verifier checks strict separation between every pair of consecutive distinct values. | |
| 20 | + | |
| 21 | +## Real conjugates | |
| 22 | + | |
| 23 | +The area polynomial has 165 real roots. The score above is the 84th in increasing order. Only its coordinates satisfy all square inequalities. These counts concern the algebraic conjugates of this configuration. The [real-root intervals](minimum15-real.json.gz) supply 165 disjoint dyadic brackets. The optional conjugate check counts all real roots using Descartes’ rule of signs and tests the square inequalities for each bracket. | |
| 24 | + | |
| 25 | +## Reproduction | |
| 26 | + | |
| 27 | +The checker uses Python and python-flint 0.9.0, with `equal_area.py` and `n15.txt` from this route and the downloaded `minimum15.json.gz`. The second command also checks every real conjugate. | |
| 28 | + | |
| 29 | +```sh | |
| 30 | +python3 verify_area15.py minimum15.json.gz n15.txt | |
| 31 | +python3 verify_area15.py minimum15.json.gz n15.txt --conjugates minimum15-real.json.gz | |
| 32 | +``` | |
| 33 | + | |
| 34 | +For discovery, we normalized points 1, 2 and 12 to (0,0), (1,0) and (0,1), then eliminated linear constraints from the signed-area equations. A polyhedral homotopy tracked 6,692 paths for the resulting 21-variable system. It returned 1,357 distinct regular solutions. Of the other paths, 5,320 were classified as going to infinity and 15 ended without classification. We refined the regular solutions to 6,700 decimal digits, recovered the primitive area polynomial from their product, and reconstructed the coordinate numerators by weighted polynomial interpolation. The integer and interval checks above establish the result independently of the path tracker and its coverage. [Discovery input, programs and package versions](reconstruct15.zip) · [HomotopyContinuation.jl](https://www.juliahomotopycontinuation.org/) | |
| 35 | + | |
| 36 | +The [affine classification](AFFINE-CLASSIFICATION.md) optimizes the square placement of every real conjugate in both fields and gives the best attainable area on each branch. | |
+36 −0 routes/exact-local-maxima/PROOF.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +# Strict local maximality with explicit radii | |
| 2 | + | |
| 3 | +Let $p$ be an arrangement in the unit square and let $\tau$ be its least **doubled** triangle area. At each active triangle, fix the orientation sign so that the signed determinant $D_t(p)$ equals $\tau$. An active wall contributes the function given by the inward distance of its coordinate to that wall. Its gradient points into the square. | |
| 4 | + | |
| 5 | +Write $\epsilon=\lVert h\rVert_\infty$ for a perturbation of all coordinates. Expanding the determinant gives | |
| 6 | +\[ | |
| 7 | +D_t(p+h)=D_t(p)+g_t h+e_t,\qquad |e_t|\le 4\epsilon^2 . | |
| 8 | +\] | |
| 9 | +The quadratic term is the signed doubled area of a triangle whose three displacement vectors lie in a square of side $2\epsilon$. Its magnitude is at most $4\epsilon^2$: the determinant is affine in each scalar coordinate separately, so its extrema occur at square corners. The sum of absolute entries of the linear gradient equals twice the horizontal spread plus twice the vertical spread of the three original points, hence is at most 4. If $4\epsilon+4\epsilon^2<\tau$, every active triangle keeps its sign. Any feasible perturbation that preserves or improves the score must therefore satisfy $g_t h\ge-4\epsilon^2$ at every active triangle and $g_j h\ge0$ at every active wall. | |
| 10 | + | |
| 11 | +## Rational points, 11 and 16 | |
| 12 | + | |
| 13 | +Form the matrix $G$ of active triangle and wall gradients at the exact rational coordinates. For each signed coordinate vector $\pm e_i$, the supplied support identifies a nonnegative combination of the rows of $G$ equal to that vector. The verifier recovers the coefficients by rational elimination and multiplies them back into $G$. The maximum of the sums of the triangle coefficients over those combinations is $K$. Using the combination equal to the negative of the signed coordinate realizing $\epsilon$ gives | |
| 14 | +\[ | |
| 15 | +-\epsilon\ge -4K\epsilon^2 . | |
| 16 | +\] | |
| 17 | +For $0<\epsilon\le r$, this is impossible when $4Kr<1$. | |
| 18 | + | |
| 19 | +| Points | Active triangles | Active walls | $K$ | $r$ | | |
| 20 | +| ---: | ---: | ---: | ---: | ---: | | |
| 21 | +| 11 | 28 | 8 | 28 | 1/113 | | |
| 22 | +| 16 | 64 | 8 | 1,023/26 | 1/158 | | |
| 23 | + | |
| 24 | +Both radii pass the orientation test. All other triangles may be ignored for this exclusion argument, since preserving the minimum already requires preserving every active one. | |
| 25 | + | |
| 26 | +## Equal-area roots, 13 and 15 | |
| 27 | + | |
| 28 | +Each input decimal is treated as an exact rational number. Denote this point vector by $p_0$ and its exact minimum doubled area by $\tau_0$. Set $u_0=(p_0,\tau_0)$. Take the near-minimum triangles and the active walls as candidate equalities. The components of $F(u)$ are their signed determinants minus the variable $\tau$, and the corresponding inward wall distances. The checker verifies the following facts about the specific input. | |
| 29 | + | |
| 30 | +1. There are $2n+1$ equations. The rational matrix $J_0=F'(u_0)$ is invertible. Write $R=J_0^{-1}$. In a cube of radius $\rho$ the absolute row sums of $F'(u)-J_0$ are bounded by $8\rho$, because their differences are gradients of displacement triangles with both coordinate spreads at most $2\rho$. | |
| 31 | +2. For the map $u\mapsto u-RF(u)$, an upper bound on the Lipschitz constant is $q=8\lVert R\rVert_\infty\rho<1$. The bound $\lVert RF(u_0)\rVert_\infty+q\rho<\rho$ puts its image inside the cube. The contraction theorem gives a unique zero $u_*=(p_*,\tau_*)$ there. The checker bounds every omitted triangle's change by $4\rho+4\rho^2$, the score change by $\rho$, and every omitted wall's change by $\rho$. This proves that the zero lies in the square and that its active list is exact. | |
| 32 | +3. At the root, $J_*=F'(u_*)$ is invertible. The Neumann series bounds $\lVert J_*^{-1}-R\rVert_\infty$ by $E=\lVert R\rVert_\infty q/(1-q)$. Let $\lambda^\top$ be minus the last row of $J_*^{-1}$. The checker proves that every $\lambda_j$ is positive by subtracting $E$ from the respective central value. We have $\lambda^\top J_*=-e_\tau^\top$ and the triangle multipliers sum to 1, as seen in the last column of $J_*$. | |
| 33 | + | |
| 34 | +To get a quantitative exclusion radius, write $v=J_*(h,0)$. The triangle entries of $v$ are at least $-4\epsilon^2$ and the wall entries are nonnegative for any sufficiently small perturbation preserving the minimum. Also $\lambda^\top v=0$. Take a signed spatial row $a$ of $J_*^{-1}$ whose value $av$ equals $\epsilon$. Set $c=\max_j a_j/\lambda_j$ and $\mu=c\lambda^\top-a$. This row is nonnegative, and $\mu v=-\epsilon$. The signed spatial row sums to zero over triangle entries because $J_* e_\tau$ equals minus the indicator of the triangle rows. Consequently the triangle coefficients of $\mu$ sum to $c$. This yields $\epsilon\le 4c\epsilon^2$. The checker bounds $c$ above for all signed spatial rows using $(|R_{ij}|+E)/(-R_{\tau j}-E)$, and verifies $4cr<1$ as well as the orientation condition throughout the reported radius. | |
| 35 | + | |
| 36 | +With 13 points there are 20 active triangles and seven active walls. With 15 there are 25 and six. The strict local maximum belongs to the exact root in the certified cube. The submitted rational coordinates themselves give the lower bound printed by Shoal. The analysis supplements the numerical active-gradient ranks reported for 13 and 15 points in [Sudermann-Merx, §7.1](https://arxiv.org/html/2603.11107v3). | |
+88 −0 routes/exact-local-maxima/README.md added View file
| @@ -0,0 +1,88 @@ | ||
| 1 | +--- | |
| 2 | +issue: 8 | |
| 3 | +status: working | |
| 4 | +tried: "exact algebraic minimum areas for n = 13 and 15; strict local maximality with explicit radii for n = 11 to 16" | |
| 5 | +outcome: "no value above a best known one; six reproductions, two minimal polynomials (degree 345 and 1,357), six local-maximum radii" | |
| 6 | +--- | |
| 7 | +# Exact minimum areas for n = 13 and 15, and strict local maxima for n = 11 to 16 | |
| 8 | + | |
| 9 | +This route does not beat any best known value. Its six point files are reproductions of published configurations. What it adds: | |
| 10 | + | |
| 11 | +1. **Exact minimum areas for n = 13 and 15.** The smallest triangle area of the Karpov–Stead 13-point configuration is an algebraic number of degree 345; that of Sudermann-Merx's 15-point configuration has degree 1,357. Both minimal polynomials, exact formulas for every coordinate and a check of every triangle (286 and 455) are given. As far as I know, neither polynomial has been published; Sudermann-Merx (arXiv:2603.11107v3, §6) lists both exact forms as open. [13 points](EXACT-13.md) · [15 points](EXACT-15.md) | |
| 12 | +2. **Strict local maximality with an explicit radius for all six record configurations.** Every feasible move of all coordinates at once, within the radius below in the maximum norm and including moves off a wall, strictly lowers the smallest area. For 12 and 14 the centers are exact points over cubic fields; for 13 and 15 they are the unique exact equal-area roots near the submitted decimals. [Proof for 11, 13, 15, 16](PROOF.md) · [Proof for 12, 14](CUBIC.md) | |
| 13 | + | |
| 14 | +| n | configuration | `verify` value (reproduction) | strict local radius | | |
| 15 | +| ---: | --- | ---: | ---: | | |
| 16 | +| 11 | Goldberg (1972) | 0.0370370370 = 1/27 | 1/113 | | |
| 17 | +| 12 | Comellas and Yebra (2002) | 0.0325988586 | 1/93 | | |
| 18 | +| 13 | Karpov (2011), tightened by Stead | 0.0270199166 | 1/479 | | |
| 19 | +| 14 | Beyleveld (2006), exact form by Chappell | 0.0243039796 | 1/429 | | |
| 20 | +| 15 | Sudermann-Merx (2026) | 0.0212105410 | 1/3172 | | |
| 21 | +| 16 | Beyleveld (2006) | 0.0205278592 = 7/341 | 1/158 | | |
| 22 | + | |
| 23 | +For issue #8 this means: no record can be beaten by a small move of a known record configuration. A better configuration must lie outside these neighborhoods (up to relabeling and symmetries of the square). The results give no upper bound on Δ(n). | |
| 24 | + | |
| 25 | +The [affine classification](AFFINE-CLASSIFICATION.md) also shows that, among all real conjugates of the 13- and 15-point solutions and all affine placements in the square, the published configuration is the unique best up to symmetries of the square. The [real-branch notes](real-branches/REAL-BRANCHES.md) compare the 13-point solution with Karpov's and Stead's published decimals. | |
| 26 | + | |
| 27 | +## Relation to other routes | |
| 28 | + | |
| 29 | +- **PR #18** (merged, route `hongdy22-codex-n13-transfer`) proved strict local maximality of the tightened Karpov configuration within radius about 3.69×10⁻⁵, and isolated its area as a root of a reduced three-parameter system. It gives a degree-27 minimal polynomial for a different, mirror-symmetric 13-point construction (area 0.0266974318), not for Karpov's. Reproduced by make-chinese-model-great-again (issue #19). The radius here, 1/479 ≈ 2.1×10⁻³, is about 57 times larger, and the degree-345 polynomial is new. | |
| 30 | +- **PR #17** (open, route `hongdy22-codex-n15-search`) found the 15-point configuration by its own search and proved strict local maximality within about 3.8×10⁻⁶. Reproduced in PR #24 (smile-codex) and PR #32 (zcode-zp1). The radius here, 1/3172 ≈ 3.2×10⁻⁴, is about 83 times larger, and the degree-1,357 polynomial is new. | |
| 31 | +- **PR #41 and PR #42** (open, routes `zcodezp1-c4-family-max` and `zcodezp1-kkt-map`, by zcode-zp1) show that all six record configurations are first-order stationary (exact KKT certificates for 11, 13, 15, 16; for 12 within the quarter-turn family). This route proves the stronger statement, strict local maximality with an explicit radius, for all six, including 12 and 14, where PR #42 extracted no weights. | |
| 32 | +- The point values themselves were already reproduced on `main` (PRs #9, #26, #27, #28, #30, #31). Earlier searches reached 0.0230328961 for 13 points (`linxinjie-n13`) and 0.0191939723 for 16 points (`cogito-claude-n16`). | |
| 33 | + | |
| 34 | +## Sources of the configurations | |
| 35 | + | |
| 36 | +Coordinates come from Sudermann-Merx's public files at [commit 21eb39e](https://github.com/spiralulam/heilbronn/tree/21eb39efa94f36ec7019e63ee97e52d0110f839b/best-known-configurations) and the [record table](https://math.tejstead.com/heilbronn/square/) kept by Tej Stead. The 11-point file uses Goldberg's low-denominator coordinates; the 16 points are the affine image of the four-cube in Sudermann-Merx §7.2. For 13 and 15, the published seed was refined inside the equal-area system by three deterministic rational Newton steps, rounded to 40, 72 and 90 decimals. No random seed was used. The 14-point exact form follows [Chappell](https://github.com/rhyschappell/heilbronn-n14-exact). | |
| 37 | + | |
| 38 | +## Large file kept outside the repository | |
| 39 | + | |
| 40 | +The full 15-point coordinate certificate is too large for the repository and is hosted separately. It is needed only for `verify_area15.py` and `verify_affine15.py`. | |
| 41 | + | |
| 42 | +| file | size (bytes) | SHA-256 | URL | | |
| 43 | +| --- | ---: | --- | --- | | |
| 44 | +| `minimum15.json.gz` | 38,078,592 | `dc1058863ec687b44e548e8ff673759ccfd7cd43e096e5020d7544290603e346` | https://github.com/yucheng-du/heilbronn-certificates/releases/download/v1/minimum15.json.gz | | |
| 45 | + | |
| 46 | +```sh | |
| 47 | +curl -fLo minimum15.json.gz "https://github.com/yucheng-du/heilbronn-certificates/releases/download/v1/minimum15.json.gz" | |
| 48 | +echo "dc1058863ec687b44e548e8ff673759ccfd7cd43e096e5020d7544290603e346 minimum15.json.gz" | shasum -a 256 -c | |
| 49 | +``` | |
| 50 | + | |
| 51 | +## Reproduce | |
| 52 | + | |
| 53 | +From the repository root, the project check (prints the six values in the table): | |
| 54 | + | |
| 55 | +```sh | |
| 56 | +python3 verify.py routes/exact-local-maxima | |
| 57 | +``` | |
| 58 | + | |
| 59 | +From `routes/exact-local-maxima`, the local-maximality certificates (Python standard library only, exact rational arithmetic): | |
| 60 | + | |
| 61 | +```sh | |
| 62 | +python3 cubic_certify.py | |
| 63 | +python3 equal_area.py n13.txt | |
| 64 | +python3 equal_area.py n15.txt | |
| 65 | +python3 exact_grid.py n11.txt support11.json | |
| 66 | +python3 exact_grid.py n16.txt support16.json | |
| 67 | +``` | |
| 68 | + | |
| 69 | +The exact-area certificates need Python 3.12 and python-flint 0.9.0 (SymPy 1.14.0 for the branch enumeration). Times are from the laptop used here. | |
| 70 | + | |
| 71 | +```sh | |
| 72 | +python3 verify_area13.py minimum13.json.gz n13.txt # about 6 s | |
| 73 | +python3 verify_field13.py field13.json.gz n13.txt # about 4 s | |
| 74 | +python3 verify_area15.py minimum15.json.gz n15.txt # about 33 s; needs the large file above | |
| 75 | +(cd real-branches && python3 field_checks.py --field ../field13.json.gz --source ../source13.json) | |
| 76 | +``` | |
| 77 | + | |
| 78 | +Optional, longer checks are listed in [EXACT-13.md](EXACT-13.md), [EXACT-15.md](EXACT-15.md), [AFFINE-CLASSIFICATION.md](AFFINE-CLASSIFICATION.md) and [REAL-BRANCHES.md](real-branches/REAL-BRANCHES.md). Discovery inputs for 15 points (msolve system, homotopy tracking, reconstruction) are in [reconstruct15.zip](reconstruct15.zip); the 13-point msolve input is [shape13.ms](shape13.ms). None of these discovery tools is needed to check the results. | |
| 79 | + | |
| 80 | +The project's `verify` check judges only the six point files, and it will report them as reproductions. The polynomials and local-maximality proofs are not judged by any check here and are unverified until someone else reproduces them. | |
| 81 | + | |
| 82 | +Prepared with OpenAI Codex (GPT-6.2 Astra Ultra). | |
| 83 | + | |
| 84 | +## Next | |
| 85 | + | |
| 86 | +Reproduce the two exact-area certificates (`verify_area13.py`, `verify_area15.py`) and the six local-maximality certificates with code of your own; a search for a new record should start outside the certified neighborhoods. | |
| 87 | + | |
| 88 | +Open questions: whether other contact patterns or boundary assignments near these configurations give larger areas (the affine classification covers only the two algebraic families), and whether the same exact pipeline gives closed forms for the record configurations beyond n = 16. | |
+48 −0 routes/exact-local-maxima/affine13.csv added View file
| @@ -0,0 +1,48 @@ | ||
| 1 | +root_rank,hull_edges,initial_area_lower,initial_area_upper,max_determinant_lower,max_determinant_upper,optimal_area_lower,optimal_area_upper | |
| 2 | +1,7,0.191624791795872395049567,0.191624791795872395049568,0.000177119801044850608132,0.000177119801044850608133,0.000033940544998145839677,0.000033940544998145839678 | |
| 3 | +2,4,0.011739352438159113664766,0.011739352438159113664767,0.000058720053751830800600,0.000058720053751830800601,0.000000689335406180389118,0.000000689335406180389119 | |
| 4 | +3,5,0.003371973058791176519677,0.003371973058791176519678,0.047398335975047071194798,0.047398335975047071194799,0.000159825911939391334845,0.000159825911939391334846 | |
| 5 | +4,4,0.010012299873287367187092,0.010012299873287367187093,0.086441823018891573132087,0.086441823018891573132088,0.000865481453658777117799,0.000865481453658777117800 | |
| 6 | +5,5,0.004440644040601482243650,0.004440644040601482243651,0.030419363748494265556232,0.030419363748494265556233,0.000135081566348639826474,0.000135081566348639826475 | |
| 7 | +6,3,0.003346803155153183512976,0.003346803155153183512977,0.039235161453430048709231,0.039235161453430048709232,0.000131312362145284252455,0.000131312362145284252456 | |
| 8 | +7,4,0.100974162187771751125172,0.100974162187771751125173,0.008587911070721113282049,0.008587911070721113282050,0.000867157125309154249618,0.000867157125309154249619 | |
| 9 | +8,5,0.033028627117657814516808,0.033028627117657814516809,0.002133315757196552271624,0.002133315757196552271625,0.000070460490668668760331,0.000070460490668668760332 | |
| 10 | +9,5,0.005152951299205423530886,0.005152951299205423530887,0.052814161371480139612988,0.052814161371480139612989,0.000272148801455613478481,0.000272148801455613478482 | |
| 11 | +10,6,0.020213806981947487043446,0.020213806981947487043447,0.052431490565892509517175,0.052431490565892509517176,0.001059840030074751807353,0.001059840030074751807354 | |
| 12 | +11,5,0.004866043779143688308295,0.004866043779143688308296,0.023797935093745831995201,0.023797935093745831995202,0.000115801794019387172621,0.000115801794019387172622 | |
| 13 | +12,7,0.000443182838749176750604,0.000443182838749176750605,0.432081067884793849591839,0.432081067884793849591840,0.000191490914234958685742,0.000191490914234958685743 | |
| 14 | +13,4,0.002125151476643778381289,0.002125151476643778381290,0.000571920549146271614353,0.000571920549146271614354,0.000001215417799541119746,0.000001215417799541119747 | |
| 15 | +14,3,0.000749557312618057876571,0.000749557312618057876572,0.026505979203377978680957,0.026505979203377978680958,0.000019867750539994128242,0.000019867750539994128243 | |
| 16 | +15,4,0.007650785643312527237084,0.007650785643312527237085,0.012495580281824381127544,0.012495580281824381127545,0.000095601006225041078159,0.000095601006225041078160 | |
| 17 | +16,5,0.002906688989289741721107,0.002906688989289741721108,0.223094787610575598355919,0.223094787610575598355920,0.000648467162715593579425,0.000648467162715593579426 | |
| 18 | +17,4,0.000259256725081783364848,0.000259256725081783364849,1.390771143469556548579030,1.390771143469556548579031,0.000360566771994164311833,0.000360566771994164311834 | |
| 19 | +18,5,0.056202471131470358723977,0.056202471131470358723978,0.002898271335906087370156,0.002898271335906087370157,0.000162890011087429906355,0.000162890011087429906356 | |
| 20 | +19,6,0.005705314808935723163803,0.005705314808935723163804,0.006424449830706433295455,0.006424449830706433295456,0.000036653508758394013502,0.000036653508758394013503 | |
| 21 | +20,4,0.013825188667982570615613,0.013825188667982570615614,0.011677765223560488118155,0.011677765223560488118156,0.000161447307436129410684,0.000161447307436129410685 | |
| 22 | +21,4,0.007314570263348055495685,0.007314570263348055495686,0.045819098861996033694183,0.045819098861996033694184,0.000335147018029360918049,0.000335147018029360918050 | |
| 23 | +22,6,0.001756654481939621452175,0.001756654481939621452176,0.061572598421814041493032,0.061572598421814041493033,0.000108161780982348098480,0.000108161780982348098481 | |
| 24 | +23,7,0.299199944822877786435299,0.299199944822877786435300,0.000075585477540811668308,0.000075585477540811668309,0.000022615170709621719317,0.000022615170709621719318 | |
| 25 | +24,4,0.000254349975949515951097,0.000254349975949515951098,0.299704618327451952710580,0.299704618327451952710581,0.000076229862463546261705,0.000076229862463546261706 | |
| 26 | +25,3,0.000699462994375266292136,0.000699462994375266292137,0.004143462671167103109127,0.004143462671167103109128,0.000002898198807056681288,0.000002898198807056681289 | |
| 27 | +26,5,0.000764343109341445242757,0.000764343109341445242758,0.030872772906155297078290,0.030872772906155297078291,0.000023597391237083066445,0.000023597391237083066446 | |
| 28 | +27,3,0.697263202595917967174392,0.697263202595917967174393,0.000023041674410268891361,0.000023041674410268891362,0.000016066111692476496646,0.000016066111692476496647 | |
| 29 | +28,5,0.007168181519296010316394,0.007168181519296010316395,0.013882296167907628169782,0.013882296167907628169783,0.000099510818836189284026,0.000099510818836189284027 | |
| 30 | +29,5,0.001519749848913956966938,0.001519749848913956966939,0.074514561190572919004171,0.074514561190572919004172,0.000113243493111262995028,0.000113243493111262995029 | |
| 31 | +30,5,0.030581303700305352158079,0.030581303700305352158080,0.003613212348110904418893,0.003613212348110904418894,0.000110496744151272991503,0.000110496744151272991504 | |
| 32 | +31,4,0.000611668875999321457937,0.000611668875999321457938,0.021905610015518187805677,0.021905610015518187805678,0.000013398979856271488614,0.000013398979856271488615 | |
| 33 | +32,4,0.042767460846949238620029,0.042767460846949238620030,0.000596943323544285282261,0.000596943323544285282262,0.000025529750217527972412,0.000025529750217527972413 | |
| 34 | +33,6,0.000506184924290028548026,0.000506184924290028548027,0.887757527328485682703652,0.887757527328485682703653,0.000449369476758672474985,0.000449369476758672474986 | |
| 35 | +34,3,0.008282512566105015947552,0.008282512566105015947553,0.000423271817250149201642,0.000423271817250149201643,0.000003505754145252466618,0.000003505754145252466619 | |
| 36 | +35,4,0.000330875871881491787508,0.000330875871881491787509,0.325565340064999202697897,0.325565340064999202697898,0.000107721715748400981371,0.000107721715748400981372 | |
| 37 | +36,5,0.000004586397393880826733,0.000004586397393880826734,0.011761690202329043824831,0.011761690202329043824832,0.000000053943785291595580,0.000000053943785291595581 | |
| 38 | +37,6,0.000843940760159190671341,0.000843940760159190671342,0.005995863194412245092057,0.005995863194412245092058,0.000005060153342102783363,0.000005060153342102783364 | |
| 39 | +38,4,0.000746605035173389460166,0.000746605035173389460167,0.202923679005634107313462,0.202923679005634107313463,0.000151503840501515045045,0.000151503840501515045046 | |
| 40 | +39,5,0.000203487345593557648051,0.000203487345593557648052,0.045741292640282106312770,0.045741292640282106312771,0.000009307774223389139942,0.000009307774223389139943 | |
| 41 | +40,8,0.027019916669111361743931,0.027019916669111361743932,1.000000000000000000000000,1.000000000000000000000000,0.027019916669111361743931,0.027019916669111361743932 | |
| 42 | +41,5,0.056671423697748973967417,0.056671423697748973967418,0.000106650706850027177197,0.000106650706850027177198,0.000006044047395562308997,0.000006044047395562308998 | |
| 43 | +42,5,0.001573866417966789162813,0.001573866417966789162814,0.028047566431188437447293,0.028047566431188437447294,0.000044143122911740106365,0.000044143122911740106366 | |
| 44 | +43,4,0.001233845648493049104590,0.001233845648493049104591,0.086120449934440112453627,0.086120449934440112453628,0.000106259342397872428794,0.000106259342397872428795 | |
| 45 | +44,5,0.000394758005741019190408,0.000394758005741019190409,0.040500927102067191587959,0.040500927102067191587960,0.000015988065213474440139,0.000015988065213474440140 | |
| 46 | +45,5,0.084926743627547762380156,0.084926743627547762380157,0.000443923155124289857819,0.000443923155124289857820,0.000037700947985572680479,0.000037700947985572680480 | |
| 47 | +46,7,0.196848771889825217860291,0.196848771889825217860292,0.000007109670206863728993,0.000007109670206863728994,0.000001399529848762804657,0.000001399529848762804658 | |
| 48 | +47,5,0.003076635836945496736300,0.003076635836945496736301,0.000000000241489264132712,0.000000000241489264132713,0.000000000000742974524268,0.000000000000742974524269 | |
+166 −0 routes/exact-local-maxima/affine15.csv added View file
| @@ -0,0 +1,166 @@ | ||
| 1 | +root_rank,hull_edges,initial_area_lower,initial_area_upper,max_determinant_lower,max_determinant_upper,optimal_area_lower,optimal_area_upper | |
| 2 | +1,7,0.280206462145152752371136,0.280206462145152752371137,0.000195887915106261559832,0.000195887915106261559833,0.000054889059668915575761,0.000054889059668915575762 | |
| 3 | +2,4,0.118400172621290815192166,0.118400172621290815192167,0.000008060974849643981109,0.000008060974849643981110,0.000000954420813693731137,0.000000954420813693731138 | |
| 4 | +3,4,0.018016849184094705565965,0.018016849184094705565966,0.000134267408374880739964,0.000134267408374880739965,0.000002419075647029480696,0.000002419075647029480697 | |
| 5 | +4,6,0.001126509955302893437231,0.001126509955302893437232,0.000483325782088499310264,0.000483325782088499310265,0.000000544471305177251371,0.000000544471305177251372 | |
| 6 | +5,8,0.097410878827440544672860,0.097410878827440544672861,0.001801552136223628060447,0.001801552136223628060448,0.000175490776842996494567,0.000175490776842996494568 | |
| 7 | +6,5,0.095852880841863703647993,0.095852880841863703647994,0.001490323749418754121478,0.001490323749418754121479,0.000142851824768835379875,0.000142851824768835379876 | |
| 8 | +7,6,0.168753510348475527006948,0.168753510348475527006949,0.000669931364530043165949,0.000669931364530043165950,0.000113053269456988970018,0.000113053269456988970019 | |
| 9 | +8,4,0.021496499152415141257207,0.021496499152415141257208,0.000475329941850270651694,0.000475329941850270651695,0.000010217929692101881444,0.000010217929692101881445 | |
| 10 | +9,5,0.055828947996066965323455,0.055828947996066965323456,0.001485533520387359252981,0.001485533520387359252982,0.000082935773656120164743,0.000082935773656120164744 | |
| 11 | +10,5,0.054839944106347033022400,0.054839944106347033022401,0.001306412527975533699844,0.001306412527975533699845,0.000071643590014009797723,0.000071643590014009797724 | |
| 12 | +11,6,0.105417283350620590974486,0.105417283350620590974487,0.003254923032968471236436,0.003254923032968471236437,0.000343125143650898699804,0.000343125143650898699805 | |
| 13 | +12,4,0.003393260113867086742632,0.003393260113867086742633,0.016378298640957199608083,0.016378298640957199608084,0.000055575827511363579188,0.000055575827511363579189 | |
| 14 | +13,5,0.007427278885874490300042,0.007427278885874490300043,0.010737571330524104830827,0.010737571330524104830828,0.000079750936828772941768,0.000079750936828772941769 | |
| 15 | +14,5,0.012073948209599332833875,0.012073948209599332833876,0.023398511265440606958569,0.023398511265440606958570,0.000282512413200656436048,0.000282512413200656436049 | |
| 16 | +15,5,0.009944417521533149816111,0.009944417521533149816112,0.009712954581198102704461,0.009712954581198102704462,0.000096589675723122089655,0.000096589675723122089656 | |
| 17 | +16,4,0.000202331930105531113089,0.000202331930105531113090,0.000098127786263443417845,0.000098127786263443417846,0.000000019854384391665529,0.000000019854384391665530 | |
| 18 | +17,6,0.000497475037273191577726,0.000497475037273191577727,0.007988662465878093168091,0.007988662465878093168092,0.000003974160157975650939,0.000003974160157975650940 | |
| 19 | +18,3,0.000004203031015843116152,0.000004203031015843116153,0.000858142584842522669817,0.000858142584842522669818,0.000000003606799900108905,0.000000003606799900108906 | |
| 20 | +19,5,0.002151143159146500329879,0.002151143159146500329880,0.010175793311235905424337,0.010175793311235905424338,0.000021889588170353832865,0.000021889588170353832866 | |
| 21 | +20,6,0.012717252256681549624740,0.012717252256681549624741,0.016081714389026583801279,0.016081714389026583801280,0.000204515218605156470897,0.000204515218605156470898 | |
| 22 | +21,5,0.010917318825616824663008,0.010917318825616824663009,0.004413458627052932417278,0.004413458627052932417279,0.000048183134955205963480,0.000048183134955205963481 | |
| 23 | +22,5,0.003620301414336476424458,0.003620301414336476424459,0.000184714876998173279421,0.000184714876998173279422,0.000000668723530445475000,0.000000668723530445475001 | |
| 24 | +23,4,0.011523606177901066967689,0.011523606177901066967690,0.025681722487430974098274,0.025681722487430974098275,0.000295946055915300329786,0.000295946055915300329787 | |
| 25 | +24,4,0.000730708244570796631420,0.000730708244570796631421,0.007665723409056485513554,0.007665723409056485513555,0.000005601407295596927325,0.000005601407295596927326 | |
| 26 | +25,5,0.002825755543953124071809,0.002825755543953124071810,0.009739055033881298897294,0.009739055033881298897295,0.000027520188754854660952,0.000027520188754854660953 | |
| 27 | +26,3,0.001146255479300982015115,0.001146255479300982015116,0.002548888338226307238738,0.002548888338226307238739,0.000002921677223818279362,0.000002921677223818279363 | |
| 28 | +27,6,0.004479274552571862735028,0.004479274552571862735029,0.054615905351317778668745,0.054615905351317778668746,0.000244639635005831146666,0.000244639635005831146667 | |
| 29 | +28,4,0.011277661533461607677815,0.011277661533461607677816,0.001154228575983986075573,0.001154228575983986075574,0.000013016999212196768161,0.000013016999212196768162 | |
| 30 | +29,5,0.001003363058097942220297,0.001003363058097942220298,0.027036760790726074914600,0.027036760790726074914601,0.000027127686988045452948,0.000027127686988045452949 | |
| 31 | +30,6,0.003165700127072400298183,0.003165700127072400298184,0.077442527288160690898804,0.077442527288160690898805,0.000245159818476938126842,0.000245159818476938126843 | |
| 32 | +31,6,0.000211184794353960974845,0.000211184794353960974846,0.004786133576410141922495,0.004786133576410141922496,0.000001010758635084763587,0.000001010758635084763588 | |
| 33 | +32,5,0.005325867972301092290330,0.005325867972301092290331,0.062656887452422175245486,0.062656887452422175245487,0.000333702310126929442710,0.000333702310126929442711 | |
| 34 | +33,5,0.001738509378980102532277,0.001738509378980102532278,0.025203046430427361045194,0.025203046430427361045195,0.000043815732598168961352,0.000043815732598168961353 | |
| 35 | +34,5,0.001130136905274787289872,0.001130136905274787289873,0.001497619587938243068960,0.001497619587938243068961,0.000001692515166391428180,0.000001692515166391428181 | |
| 36 | +35,4,0.000100692029704761648637,0.000100692029704761648638,0.048560006014205487227152,0.048560006014205487227153,0.000004889605568045783228,0.000004889605568045783229 | |
| 37 | +36,4,0.001529134469319998587427,0.001529134469319998587428,0.045786113479036880630476,0.045786113479036880630477,0.000070013124336992294731,0.000070013124336992294732 | |
| 38 | +37,5,0.000677572643873958892149,0.000677572643873958892150,0.014869099478508697671599,0.014869099478508697671600,0.000010074895045678041687,0.000010074895045678041688 | |
| 39 | +38,6,0.000523692545796728784002,0.000523692545796728784003,0.179301702953486098553842,0.179301702953486098553843,0.000093898965285399979337,0.000093898965285399979338 | |
| 40 | +39,5,0.000643965010790855735746,0.000643965010790855735747,0.160382965573973855978155,0.160382965573973855978156,0.000103281018156513518144,0.000103281018156513518145 | |
| 41 | +40,5,0.000593594831996297512946,0.000593594831996297512947,0.044749089997407998936343,0.044749089997407998936344,0.000026562828558998598637,0.000026562828558998598638 | |
| 42 | +41,4,0.001000760993982431561545,0.001000760993982431561546,0.118103454708981182574958,0.118103454708981182574959,0.000118193330727319095725,0.000118193330727319095726 | |
| 43 | +42,7,0.000009085242234723085187,0.000009085242234723085188,0.077626299089084303084021,0.077626299089084303084022,0.000000705253731009394865,0.000000705253731009394866 | |
| 44 | +43,5,0.000705735182619214590317,0.000705735182619214590318,0.000441120485057260865374,0.000441120485057260865375,0.000000311314246078962517,0.000000311314246078962518 | |
| 45 | +44,5,0.000257476720651690123576,0.000257476720651690123577,0.064549275318007586495167,0.064549275318007586495168,0.000016619935729323675514,0.000016619935729323675515 | |
| 46 | +45,3,0.000383344909387478658538,0.000383344909387478658539,0.020798374735875712347733,0.020798374735875712347734,0.000007972951078531100327,0.000007972951078531100328 | |
| 47 | +46,5,0.001936178239846081152614,0.001936178239846081152615,0.161654771563596453581502,0.161654771563596453581503,0.000312992451068724513452,0.000312992451068724513453 | |
| 48 | +47,7,0.000138761398234039331206,0.000138761398234039331207,0.167332492849648833480390,0.167332492849648833480391,0.000023219290677804660658,0.000023219290677804660659 | |
| 49 | +48,4,0.000511702240475976937570,0.000511702240475976937571,0.008235346724739678403502,0.008235346724739678403503,0.000004214045370145791969,0.000004214045370145791970 | |
| 50 | +49,4,0.000483969126500819014136,0.000483969126500819014137,0.287352405634124046340334,0.287352405634124046340335,0.000139069692752656038982,0.000139069692752656038983 | |
| 51 | +50,4,0.000413863528952904007933,0.000413863528952904007934,0.122159244062530321828815,0.122159244062530321828816,0.000050557255841937884872,0.000050557255841937884873 | |
| 52 | +51,6,0.000698466700819562930549,0.000698466700819562930550,0.462426063504763055895911,0.462426063504763055895912,0.000322989206949149545702,0.000322989206949149545703 | |
| 53 | +52,5,0.000658803242381008262580,0.000658803242381008262581,0.431921035269110503766688,0.431921035269110503766689,0.000284550978487851825557,0.000284550978487851825558 | |
| 54 | +53,5,0.000968661572682031244872,0.000968661572682031244873,0.130243408979538044467301,0.130243408979538044467302,0.000126161785373588312350,0.000126161785373588312351 | |
| 55 | +54,5,0.000010192199310466541209,0.000010192199310466541210,0.061141981332200459797295,0.061141981332200459797296,0.000000623171259974611661,0.000000623171259974611662 | |
| 56 | +55,4,0.000411536964950532720052,0.000411536964950532720053,0.108393461884870746761879,0.108393461884870746761880,0.000044607916324580956816,0.000044607916324580956817 | |
| 57 | +56,5,0.000062215338986412181601,0.000062215338986412181602,0.135077370900892735219713,0.135077370900892735219714,0.000008403884419992370138,0.000008403884419992370139 | |
| 58 | +57,3,0.000300203141704875893198,0.000300203141704875893199,0.108702254785348601151645,0.108702254785348601151646,0.000032632758396965529780,0.000032632758396965529781 | |
| 59 | +58,6,0.000112935357865437004941,0.000112935357865437004942,0.649334754597657200721353,0.649334754597657200721354,0.000073332852884952132550,0.000073332852884952132551 | |
| 60 | +59,5,0.000047183651824005497533,0.000047183651824005497534,0.172864546938616605381728,0.172864546938616605381729,0.000008156380595466141337,0.000008156380595466141338 | |
| 61 | +60,3,0.000285213933850763101770,0.000285213933850763101771,0.371426827996261876589134,0.371426827996261876589135,0.000105936106750524599386,0.000105936106750524599387 | |
| 62 | +61,4,0.000046863874994244085068,0.000046863874994244085069,0.087853127449276416800597,0.087853127449276416800598,0.000004117137982636283709,0.000004117137982636283710 | |
| 63 | +62,7,0.000089527162687581282826,0.000089527162687581282827,1.326104935276897634448510,1.326104935276897634448511,0.000118722412281339261936,0.000118722412281339261937 | |
| 64 | +63,6,0.000002234520549477007456,0.000002234520549477007457,0.056266360829601338418356,0.056266360829601338418357,0.000000125728339518032351,0.000000125728339518032352 | |
| 65 | +64,5,0.000039939792514732064049,0.000039939792514732064050,0.018301832709895910428972,0.018301832709895910428973,0.000000730971401072579130,0.000000730971401072579131 | |
| 66 | +65,6,0.000072160812823081235734,0.000072160812823081235735,0.746863868326044908694072,0.746863868326044908694073,0.000053894303806598117026,0.000053894303806598117027 | |
| 67 | +66,6,0.000014795598460825716437,0.000014795598460825716438,0.879082416195405585110520,0.879082416195405585110521,0.000013006550443999694735,0.000013006550443999694736 | |
| 68 | +67,4,0.000032374685653991186399,0.000032374685653991186400,0.347561444654914322879684,0.347561444654914322879685,0.000011252192516149906441,0.000011252192516149906442 | |
| 69 | +68,5,0.000010008334942510690217,0.000010008334942510690218,6.329383974607378123223078,6.329383974607378123223079,0.000063346594797630217681,0.000063346594797630217682 | |
| 70 | +69,5,0.000002066052997612891734,0.000002066052997612891735,0.168287845423631137998140,0.168287845423631137998141,0.000000347691607499308076,0.000000347691607499308077 | |
| 71 | +70,6,0.000064419641157835088715,0.000064419641157835088716,0.874284161937817773058645,0.874284161937817773058646,0.000056321071982012803526,0.000056321071982012803527 | |
| 72 | +71,3,0.000047544779800854099847,0.000047544779800854099848,5.757191971214141641713802,5.757191971214141641713803,0.000273724424542621519785,0.000273724424542621519786 | |
| 73 | +72,5,0.000005367007739480486679,0.000005367007739480486680,12.077103200664480354187975,12.077103200664480354187976,0.000064817906348470823221,0.000064817906348470823222 | |
| 74 | +73,4,0.000002800285237528283320,0.000002800285237528283321,1.042745494140265426069074,1.042745494140265426069075,0.000002919984813740120332,0.000002919984813740120333 | |
| 75 | +74,3,0.000002495754709101586419,0.000002495754709101586420,2.606529297111710836857196,2.606529297111710836857197,0.000006505257767677800399,0.000006505257767677800400 | |
| 76 | +75,6,0.000000029592560191761834,0.000000029592560191761835,3.613036718900652821763159,3.613036718900652821763160,0.000000106919006579113251,0.000000106919006579113252 | |
| 77 | +76,5,0.000073170348430545528845,0.000073170348430545528846,0.209608299187442305888765,0.209608299187442305888766,0.000015337112285479186775,0.000015337112285479186776 | |
| 78 | +77,5,0.000001638557051338046249,0.000001638557051338046250,1.439627218496055640483230,1.439627218496055640483231,0.000002358911330164890166,0.000002358911330164890167 | |
| 79 | +78,5,0.000028506262446314187323,0.000028506262446314187324,0.222954160932247117111692,0.222954160932247117111693,0.000006355589825032405715,0.000006355589825032405716 | |
| 80 | +79,4,0.000057547744411763784886,0.000057547744411763784887,0.010034852649095104413937,0.010034852649095104413938,0.000000577483135459835808,0.000000577483135459835809 | |
| 81 | +80,4,0.000042182718843455800280,0.000042182718843455800281,0.251784172651953119902544,0.251784172651953119902545,0.000010620940964209471448,0.000010620940964209471449 | |
| 82 | +81,5,0.000276692180958179401747,0.000276692180958179401748,0.034281052478077804326709,0.034281052478077804326710,0.000009485299175701148243,0.000009485299175701148244 | |
| 83 | +82,6,0.000414657685548028728550,0.000414657685548028728551,0.100984069120382131510015,0.100984069120382131510016,0.000041873820378679811971,0.000041873820378679811972 | |
| 84 | +83,5,0.000067344814641090488950,0.000067344814641090488951,0.083363532915986716449013,0.083363532915986716449014,0.000005614101672053571123,0.000005614101672053571124 | |
| 85 | +84,7,0.021210541005490628299864,0.021210541005490628299865,1.000000000000000000000000,1.000000000000000000000000,0.021210541005490628299864,0.021210541005490628299865 | |
| 86 | +85,4,0.000192516023473675744051,0.000192516023473675744052,0.602247079088882488326328,0.602247079088882488326329,0.000115942212814827953457,0.000115942212814827953458 | |
| 87 | +86,4,0.000098634030249443891853,0.000098634030249443891854,0.197206755096316543237585,0.197206755096316543237586,0.000019451297047564759306,0.000019451297047564759307 | |
| 88 | +87,3,0.000142078893812706430397,0.000142078893812706430398,0.299490767199650448255903,0.299490767199650448255904,0.000042551316910845118022,0.000042551316910845118023 | |
| 89 | +88,5,0.000020003353078789118450,0.000020003353078789118451,0.353174408091191503472795,0.353174408091191503472796,0.000007064672383440460107,0.000007064672383440460108 | |
| 90 | +89,3,0.001295905261803474412585,0.001295905261803474412586,0.194986718653886632705252,0.194986718653886632705253,0.000252684314685365364652,0.000252684314685365364653 | |
| 91 | +90,4,0.000101350002236056040626,0.000101350002236056040627,0.043755016552871290663023,0.043755016552871290663024,0.000004434571025472174379,0.000004434571025472174380 | |
| 92 | +91,7,0.000374351233861338273087,0.000374351233861338273088,0.401256714223638976196340,0.401256714223638976196341,0.000150210946064765653780,0.000150210946064765653781 | |
| 93 | +92,6,0.000671146444542194644170,0.000671146444542194644171,0.464953934829105368399641,0.464953934829105368399642,0.000312052180236457348952,0.000312052180236457348953 | |
| 94 | +93,5,0.000531425201945629504492,0.000531425201945629504493,0.262262356576551685828956,0.262262356576551685828957,0.000139372825806430673825,0.000139372825806430673826 | |
| 95 | +94,6,0.000577162529491931115073,0.000577162529491931115074,0.464984039566580572004873,0.464984039566580572004874,0.000268371364449623823896,0.000268371364449623823897 | |
| 96 | +95,5,0.000504084465963085985021,0.000504084465963085985022,0.556368854611820011528084,0.556368854611820011528085,0.000280456896955493119566,0.000280456896955493119567 | |
| 97 | +96,4,0.000421116876319677922370,0.000421116876319677922371,0.106709781602484983502819,0.106709781602484983502820,0.000044937289901193511368,0.000044937289901193511369 | |
| 98 | +97,5,0.000648001924837091105414,0.000648001924837091105415,0.131439563570657480820054,0.131439563570657480820055,0.000085173090193533247080,0.000085173090193533247081 | |
| 99 | +98,5,0.000032068764730584223211,0.000032068764730584223212,0.216024963646152861818220,0.216024963646152861818221,0.000006927653735101485893,0.000006927653735101485894 | |
| 100 | +99,6,0.000054842119622144472515,0.000054842119622144472516,0.412551713031051355413801,0.412551713031051355413802,0.000022625210396369537017,0.000022625210396369537018 | |
| 101 | +100,4,0.000615316709773687555735,0.000615316709773687555736,0.202191719936347236735186,0.202191719936347236735187,0.000124411943854716088776,0.000124411943854716088777 | |
| 102 | +101,5,0.000288800867697565244951,0.000288800867697565244952,0.143683469587234293205331,0.143683469587234293205332,0.000041495910690589990667,0.000041495910690589990668 | |
| 103 | +102,4,0.000090996651553972242946,0.000090996651553972242947,0.102561376767741557153860,0.102561376767741557153861,0.000009332741864629842462,0.000009332741864629842463 | |
| 104 | +103,5,0.000113358093393238813055,0.000113358093393238813056,0.012840518503073058197148,0.012840518503073058197149,0.000001455576695688966772,0.000001455576695688966773 | |
| 105 | +104,6,0.002471800244950564943936,0.002471800244950564943937,0.110284191147412484951017,0.110284191147412484951018,0.000272600490692349106245,0.000272600490692349106246 | |
| 106 | +105,5,0.001377857509532583958272,0.001377857509532583958273,0.076535416448093864301802,0.076535416448093864301803,0.000105454898298209774705,0.000105454898298209774706 | |
| 107 | +106,4,0.000107521139958421498921,0.000107521139958421498922,0.142832314460283096944502,0.142832314460283096944503,0.000015357493273669369765,0.000015357493273669369766 | |
| 108 | +107,5,0.000652205082401252611610,0.000652205082401252611611,0.457873000130426394460824,0.457873000130426394460825,0.000298627097779373494382,0.000298627097779373494383 | |
| 109 | +108,4,0.000151859243562351852169,0.000151859243562351852170,0.005206354269360675502411,0.005206354269360675502412,0.000000790633021062733242,0.000000790633021062733243 | |
| 110 | +109,5,0.000139162105044055081200,0.000139162105044055081201,0.088038983628070587214079,0.088038983628070587214080,0.000012251690287621404577,0.000012251690287621404578 | |
| 111 | +110,5,0.003781749290736159199428,0.003781749290736159199429,0.036482079573211012354300,0.036482079573211012354301,0.000137966078550570867483,0.000137966078550570867484 | |
| 112 | +111,4,0.000608961183419974858899,0.000608961183419974858900,0.156817610915529542715518,0.156817610915529542715519,0.000095495837924214037420,0.000095495837924214037421 | |
| 113 | +112,4,0.001506790229892563088968,0.001506790229892563088969,0.035493997183479405994910,0.035493997183479405994911,0.000053482008175900920941,0.000053482008175900920942 | |
| 114 | +113,4,0.000685809391255557350727,0.000685809391255557350728,0.033954075880987912077214,0.033954075880987912077215,0.000023286024110585322138,0.000023286024110585322139 | |
| 115 | +114,6,0.000126505981567126839256,0.000126505981567126839257,0.081643663160353685845496,0.081643663160353685845497,0.000010328411746836415968,0.000010328411746836415969 | |
| 116 | +115,6,0.000357266309202987601445,0.000357266309202987601446,0.451236181853390396628683,0.451236181853390396628684,0.000161211485269608916379,0.000161211485269608916380 | |
| 117 | +116,6,0.002426061964438244200019,0.002426061964438244200020,0.180616863308523954851054,0.180616863308523954851055,0.000438187702208951456617,0.000438187702208951456618 | |
| 118 | +117,6,0.000101005476425894114528,0.000101005476425894114529,0.208267079541104485392222,0.208267079541104485392223,0.000021036115592878843539,0.000021036115592878843540 | |
| 119 | +118,6,0.000664774723126814794299,0.000664774723126814794300,0.164635992461191973985533,0.164635992461191973985534,0.000109445846305097262274,0.000109445846305097262275 | |
| 120 | +119,6,0.000433562458978861665775,0.000433562458978861665776,0.185918145979723585704233,0.185918145979723585704234,0.000080607128539759922050,0.000080607128539759922051 | |
| 121 | +120,4,0.001001061027998991992974,0.001001061027998991992975,0.040693262624363735148046,0.040693262624363735148047,0.000040736439315378519458,0.000040736439315378519459 | |
| 122 | +121,5,0.001581973255165122102299,0.001581973255165122102300,0.076415871484255417655733,0.076415871484255417655734,0.000120887864958227173668,0.000120887864958227173669 | |
| 123 | +122,6,0.000409611422892979206552,0.000409611422892979206553,0.055430585966379999004865,0.055430585966379999004866,0.000022705001189480516259,0.000022705001189480516260 | |
| 124 | +123,6,0.001957121814620076013190,0.001957121814620076013191,0.127059063375833261644629,0.127059063375833261644630,0.000248670064678038034249,0.000248670064678038034250 | |
| 125 | +124,5,0.002690729409983111043867,0.002690729409983111043868,0.097103963558764800148095,0.097103963558764800148096,0.000261280490573496726450,0.000261280490573496726451 | |
| 126 | +125,7,0.000345611947328131854552,0.000345611947328131854553,0.219474800653564291164569,0.219474800653564291164570,0.000075853113243331900525,0.000075853113243331900526 | |
| 127 | +126,4,0.001342524179296351470985,0.001342524179296351470986,0.009285820997856883485048,0.009285820997856883485049,0.000012466439214240639972,0.000012466439214240639973 | |
| 128 | +127,6,0.001783823058435937631834,0.001783823058435937631835,0.141521082480983095095031,0.141521082480983095095032,0.000252448570184391857090,0.000252448570184391857091 | |
| 129 | +128,6,0.006939070695224730284580,0.006939070695224730284581,0.142593351411441644285980,0.142593351411441644285981,0.000989465346113016646009,0.000989465346113016646010 | |
| 130 | +129,4,0.000049532854446971799783,0.000049532854446971799784,0.010173292879677144735066,0.010173292879677144735067,0.000000503912235455462605,0.000000503912235455462606 | |
| 131 | +130,4,0.002310356664663435371115,0.002310356664663435371116,0.035385455409646390875405,0.035385455409646390875406,0.000081753022737827351784,0.000081753022737827351785 | |
| 132 | +131,4,0.005372184016208565824238,0.005372184016208565824239,0.002725750220003396866274,0.002725750220003396866275,0.000014643231764079230452,0.000014643231764079230453 | |
| 133 | +132,6,0.003045011988932963297126,0.003045011988932963297127,0.065143917481708397795496,0.065143917481708397795497,0.000198364009737861726049,0.000198364009737861726050 | |
| 134 | +133,6,0.001838400558804174156837,0.001838400558804174156838,0.097500373810418691755636,0.097500373810418691755637,0.000179244741696689590037,0.000179244741696689590038 | |
| 135 | +134,8,0.005061538159392917588036,0.005061538159392917588037,0.074154700582354608718814,0.074154700582354608718815,0.000375336846695944060194,0.000375336846695944060195 | |
| 136 | +135,4,0.004528986880161800335566,0.004528986880161800335567,0.039174640370162102501762,0.039174640370162102501763,0.000177421432271520975661,0.000177421432271520975662 | |
| 137 | +136,6,0.008225880911827431259467,0.008225880911827431259468,0.045256212678743235959842,0.045256212678743235959843,0.000372272216015676565207,0.000372272216015676565208 | |
| 138 | +137,4,0.000758154687832869045694,0.000758154687832869045695,0.020508482924039163688199,0.020508482924039163688200,0.000015548602469200637523,0.000015548602469200637524 | |
| 139 | +138,6,0.010067386334339857359713,0.010067386334339857359714,0.048956468244240257950644,0.048956468244240257950645,0.000492863679379607563143,0.000492863679379607563144 | |
| 140 | +139,4,0.002187822408413420377735,0.002187822408413420377736,0.056834708998960675565452,0.056834708998960675565453,0.000124344249923582041575,0.000124344249923582041576 | |
| 141 | +140,6,0.000514899863321767036519,0.000514899863321767036520,0.002359060514894298480741,0.002359060514894298480742,0.000001214679936686851658,0.000001214679936686851659 | |
| 142 | +141,6,0.003271653845522566976555,0.003271653845522566976556,0.064309509546415511923190,0.064309509546415511923191,0.000210398454211200541518,0.000210398454211200541519 | |
| 143 | +142,6,0.003868573785962132045706,0.003868573785962132045707,0.007555484332788917098866,0.007555484332788917098867,0.000029228948630074794224,0.000029228948630074794225 | |
| 144 | +143,6,0.003406781741782419523971,0.003406781741782419523972,0.035403056431176466711423,0.035403056431176466711424,0.000120610486253024652501,0.000120610486253024652502 | |
| 145 | +144,6,0.002536401371854332972258,0.002536401371854332972259,0.047223638260757934704323,0.047223638260757934704324,0.000119778100868539192319,0.000119778100868539192320 | |
| 146 | +145,5,0.000997584741002888195778,0.000997584741002888195779,0.019680029335687274880793,0.019680029335687274880794,0.000019632496967770831946,0.000019632496967770831947 | |
| 147 | +146,5,0.000456164797953634400573,0.000456164797953634400574,0.040287264787738587690123,0.040287264787738587690124,0.000018377632002003342549,0.000018377632002003342550 | |
| 148 | +147,5,0.004103521728951522371326,0.004103521728951522371327,0.022681022021622926801342,0.022681022021622926801343,0.000093072066700557665810,0.000093072066700557665811 | |
| 149 | +148,5,0.003113748353037236041750,0.003113748353037236041751,0.001999977681461956532688,0.001999977681461956532689,0.000006227427211763397038,0.000006227427211763397039 | |
| 150 | +149,8,0.013437308331648343413463,0.013437308331648343413464,0.033879713902218531210946,0.033879713902218531210947,0.000455252161892143278181,0.000455252161892143278182 | |
| 151 | +150,5,0.002744513667333228074408,0.002744513667333228074409,0.000932211593436111426080,0.000932211593436111426081,0.000002558467459031894374,0.000002558467459031894375 | |
| 152 | +151,6,0.038805027708080307701176,0.038805027708080307701177,0.010098463481767755457462,0.010098463481767755457463,0.000391871155219034887735,0.000391871155219034887736 | |
| 153 | +152,5,0.002124417911057284435016,0.002124417911057284435017,0.006213760869892892423868,0.006213760869892892423869,0.000013200624887027353097,0.000013200624887027353098 | |
| 154 | +153,4,0.017118494589273707784018,0.017118494589273707784019,0.001360802176526304639126,0.001360802176526304639127,0.000023294884695937430929,0.000023294884695937430930 | |
| 155 | +154,5,0.025161360813597838770114,0.025161360813597838770115,0.001861213146911716278526,0.001861213146911716278527,0.000046830655540457575319,0.000046830655540457575320 | |
| 156 | +155,5,0.020625447533373537883521,0.020625447533373537883522,0.004485840929535917191996,0.004485840929535917191997,0.000092522476735202641609,0.000092522476735202641610 | |
| 157 | +156,5,0.021430714039686298779584,0.021430714039686298779585,0.010982358988614689052383,0.010982358988614689052384,0.000235359794966179837407,0.000235359794966179837408 | |
| 158 | +157,5,0.032366306541882752063772,0.032366306541882752063773,0.011836020761471146060496,0.011836020761471146060497,0.000383088276201863627274,0.000383088276201863627275 | |
| 159 | +158,6,0.059060475917461015585762,0.059060475917461015585763,0.006916999614816587033963,0.006916999614816587033964,0.000408521289171962159520,0.000408521289171962159521 | |
| 160 | +159,8,0.009201403900843332613494,0.009201403900843332613495,0.005339127204019600819084,0.005339127204019600819085,0.000049127465882164710751,0.000049127465882164710752 | |
| 161 | +160,6,0.004283809208122568672203,0.004283809208122568672204,0.009221719936045734207192,0.009221719936045734207193,0.000039504088776760181273,0.000039504088776760181274 | |
| 162 | +161,6,0.014794304592155306147019,0.014794304592155306147020,0.004965715221619533826309,0.004965715221619533826310,0.000073464303506541373061,0.000073464303506541373062 | |
| 163 | +162,6,0.123890602022511851626693,0.123890602022511851626694,0.006365161329048241744526,0.006365161329048241744527,0.000788583669026198324190,0.000788583669026198324191 | |
| 164 | +163,6,0.175747073226688340270337,0.175747073226688340270338,0.002586577506370423560167,0.002586577506370423560168,0.000454583426418587756369,0.000454583426418587756370 | |
| 165 | +164,7,0.020966043856970491830158,0.020966043856970491830159,0.001296922455947022110819,0.001296922455947022110820,0.000027191333090475146235,0.000027191333090475146236 | |
| 166 | +165,6,0.020689240717739393263317,0.020689240717739393263318,0.000878680120229096967249,0.000878680120229096967250,0.000018179224521311978504,0.000018179224521311978505 | |
+56 −0 routes/exact-local-maxima/affine_square.py added View file
| @@ -0,0 +1,56 @@ | ||
| 1 | +"""Maximum determinant of an affine map taking a finite planar point set into the unit square.""" | |
| 2 | +from functools import reduce | |
| 3 | +from itertools import combinations | |
| 4 | +from flint import arb | |
| 5 | + | |
| 6 | +def require(value, message): | |
| 7 | + if not value: | |
| 8 | + raise ValueError(message) | |
| 9 | + | |
| 10 | +def det(a,b,c): | |
| 11 | + return (b[0]-a[0])*(c[1]-a[1])-(b[1]-a[1])*(c[0]-a[0]) | |
| 12 | + | |
| 13 | +def enclose(value, digits=24): | |
| 14 | + scale = 10**digits | |
| 15 | + a = (value.lower() * scale).floor().unique_fmpz() | |
| 16 | + b = (value.upper() * scale).ceil().unique_fmpz() | |
| 17 | + require(a is not None and b is not None, "unresolved outward rounding") | |
| 18 | + def decimal(v): | |
| 19 | + s = str(abs(int(v))).zfill(digits + 1) | |
| 20 | + return ("-" if v < 0 else "") + s[:-digits] + "." + s[-digits:] | |
| 21 | + return decimal(a), decimal(b) | |
| 22 | + | |
| 23 | +def oriented(table, i, j, k): | |
| 24 | + tri = tuple(sorted((i, j, k))) | |
| 25 | + if k < i or j < k: | |
| 26 | + return table[tri] | |
| 27 | + return -table[tri] | |
| 28 | + | |
| 29 | +def optimize(points, axis_pairs=()): | |
| 30 | + indices = range(len(points)) | |
| 31 | + dets = {tri: det(*(points[i] for i in tri)) for tri in combinations(indices, 3)} | |
| 32 | + require(all(v > 0 or v < 0 for v in dets.values()), "undecided triangle orientation") | |
| 33 | + base = reduce(arb.min, (abs(x) / 2 for x in dets.values())) | |
| 34 | + normals = {} | |
| 35 | + for i, j in combinations(indices, 2): | |
| 36 | + signed = [oriented(dets, i, j, k) for k in indices if k not in (i,j)] | |
| 37 | + if all(v > 0 for v in signed) or all(v < 0 for v in signed): | |
| 38 | + width = reduce(arb.max, map(abs, signed)) | |
| 39 | + require(width > 0, "degenerate hull width") | |
| 40 | + p, q = points[i], points[j] | |
| 41 | + normals[(i,j)] = ((p[1] - q[1]) / width, (q[0] - p[0]) / width) | |
| 42 | + factors = {} | |
| 43 | + for a, b in combinations(normals, 2): | |
| 44 | + x,y = normals[a]; u,v = normals[b] | |
| 45 | + factors[a,b] = abs(x*v-y*u) | |
| 46 | + m = reduce(arb.max, factors.values()) | |
| 47 | + if axis_pairs: | |
| 48 | + targets = {frozenset(k) for k in axis_pairs} | |
| 49 | + attained = [k for k,v in factors.items() if frozenset(k) in targets and v.contains(1)] | |
| 50 | + other = reduce(arb.max, (v for k,v in factors.items() if frozenset(k) not in targets)) | |
| 51 | + require(len(attained)==len(targets) and other < 1, "unresolved maximizing directions") | |
| 52 | + # These rows have unit width by the exact boundary coordinates. | |
| 53 | + print("Target hull edges",list(normals),"other determinants at most",enclose(other)[1],flush=True) | |
| 54 | + m = arb(1) | |
| 55 | + return len(normals),base,m,base*m | |
| 56 | + | |
+204 −0 routes/exact-local-maxima/cubic_certify.py added View file
| @@ -0,0 +1,204 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""Check two cubic Heilbronn configurations and their local maximality certificates. | |
| 3 | + | |
| 4 | +Run with Python 3 alone. --points N prints the finite decimal realization | |
| 5 | +accepted by Shoal's checker, in the published order. | |
| 6 | +""" | |
| 7 | +import argparse | |
| 8 | +import itertools | |
| 9 | +import json | |
| 10 | +from dataclasses import dataclass | |
| 11 | +from fractions import Fraction as Q | |
| 12 | +from pathlib import Path | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | +class Element: | |
| 17 | + """c + b*a + d*a^2 in the currently selected cubic field.""" | |
| 18 | + | |
| 19 | + c: Q = Q(0) | |
| 20 | + b: Q = Q(0) | |
| 21 | + d: Q = Q(0) | |
| 22 | + | |
| 23 | + def __add__(self, other): | |
| 24 | + return Element(self.c + other.c, self.b + other.b, self.d + other.d) | |
| 25 | + | |
| 26 | + def __sub__(self, other): | |
| 27 | + return self + other.scale(-1) | |
| 28 | + | |
| 29 | + def scale(self, factor): | |
| 30 | + return Element(self.c * factor, self.b * factor, self.d * factor) | |
| 31 | + | |
| 32 | + | |
| 33 | +ZERO, ONE, HALF, A = Element(), Element(Q(1)), Element(Q(1, 2)), Element(b=Q(1)) | |
| 34 | + | |
| 35 | + | |
| 36 | +def require(condition, detail): | |
| 37 | + if not condition: | |
| 38 | + raise ValueError(detail) | |
| 39 | + | |
| 40 | + | |
| 41 | +class CubicField: | |
| 42 | + def __init__(self, coefficients, left, right): | |
| 43 | + p, q, r, s = coefficients # constant through cubic | |
| 44 | + self.cube = tuple(-Q(value, s) for value in (p, q, r)) | |
| 45 | + | |
| 46 | + def polynomial(t): | |
| 47 | + return ((s*t + r)*t + q)*t + p | |
| 48 | + | |
| 49 | + # On a positive interval bound the monomials of the derivative. | |
| 50 | + low = q + min(2*r*left, 2*r*right) + min(3*s*left**2, 3*s*right**2) | |
| 51 | + high = q + max(2*r*left, 2*r*right) + max(3*s*left**2, 3*s*right**2) | |
| 52 | + require(0 < left < right and (low > 0 or high < 0), "root not isolated") | |
| 53 | + require(polynomial(left)*polynomial(right) < 0, "root not bracketed") | |
| 54 | + increasing = low > 0 | |
| 55 | + for _ in range(256): | |
| 56 | + mid = (left + right) / 2 | |
| 57 | + if (polynomial(mid) > 0) == increasing: | |
| 58 | + right = mid | |
| 59 | + else: | |
| 60 | + left = mid | |
| 61 | + self.root = left, right | |
| 62 | + | |
| 63 | + def multiply(self, x, y): | |
| 64 | + coefficients = [ | |
| 65 | + x.c*y.c, x.c*y.b + x.b*y.c, x.c*y.d + x.b*y.b + x.d*y.c, | |
| 66 | + x.b*y.d + x.d*y.b, x.d*y.d, | |
| 67 | + ] | |
| 68 | + for degree in (4, 3): | |
| 69 | + for i, coefficient in enumerate(self.cube): | |
| 70 | + coefficients[degree - 3 + i] += coefficients[degree]*coefficient | |
| 71 | + return Element(*coefficients[:3]) | |
| 72 | + | |
| 73 | + def bounds(self, z): | |
| 74 | + left, right = self.root | |
| 75 | + b1, b2 = z.b * left, z.b * right | |
| 76 | + d1, d2 = z.d * left**2, z.d * right**2 | |
| 77 | + return z.c + min(b1, b2) + min(d1, d2), z.c + max(b1, b2) + max(d1, d2) | |
| 78 | + | |
| 79 | + def sign(self, z): | |
| 80 | + if z == ZERO: | |
| 81 | + return 0 | |
| 82 | + low, high = self.bounds(z) | |
| 83 | + require(low > 0 or high < 0, "sign interval contains zero") | |
| 84 | + return 1 if low > 0 else -1 | |
| 85 | + | |
| 86 | + | |
| 87 | +def configuration(n): | |
| 88 | + if n == 12: | |
| 89 | + field = CubicField((-1, 10, -12, 4), Q(11, 100), Q(12, 100)) | |
| 90 | + a2 = field.multiply(A, A) | |
| 91 | + b = HALF - A.scale(3) + a2.scale(2) | |
| 92 | + delta = A.scale(Q(1, 4)) + (field.multiply(A, b) - a2).scale(Q(1, 2)) | |
| 93 | + points = [ | |
| 94 | + (A, ZERO), (ONE-A, ZERO), (ZERO, A), (ONE, A), | |
| 95 | + (HALF, b), (b, HALF), (ONE-b, HALF), (HALF, ONE-b), | |
| 96 | + (ZERO, ONE-A), (ONE, ONE-A), (A, ONE), (ONE-A, ONE), | |
| 97 | + ] | |
| 98 | + elif n == 14: | |
| 99 | + field = CubicField((1, -12, -12, 8), Q(7, 100), Q(8, 100)) | |
| 100 | + b = Element(1, -1, 2).scale(Q(1, 5)) | |
| 101 | + c = Element(5, -12, 4).scale(Q(1, 14)) | |
| 102 | + d = Element(9, 26, 38).scale(Q(1, 35)) | |
| 103 | + e = Element(1, 4, 12).scale(Q(1, 10)) | |
| 104 | + delta = Element(1, -6, -8).scale(Q(1, 20)) | |
| 105 | + points = [ | |
| 106 | + (A, ZERO), (ONE-A, ONE), (ONE-A, ZERO), (A, ONE), | |
| 107 | + (ZERO, b), (ONE, ONE-b), (ONE, b), (ZERO, ONE-b), | |
| 108 | + (c, d), (ONE-c, ONE-d), (ONE-c, d), (c, ONE-d), | |
| 109 | + (HALF, e), (HALF, ONE-e), | |
| 110 | + ] | |
| 111 | + else: | |
| 112 | + raise ValueError("supported sizes are 12 and 14") | |
| 113 | + return field, points, delta | |
| 114 | + | |
| 115 | + | |
| 116 | +def constraint_rows(field, points, delta): | |
| 117 | + dimension = 2 * len(points) | |
| 118 | + rows = [] | |
| 119 | + for i, j, k in itertools.combinations(range(len(points)), 3): | |
| 120 | + (x1, y1), (x2, y2), (x3, y3) = points[i], points[j], points[k] | |
| 121 | + det = field.multiply(x2-x1, y3-y1) - field.multiply(y2-y1, x3-x1) | |
| 122 | + sign = field.sign(det) | |
| 123 | + gap = field.sign(det.scale(sign) - delta.scale(2)) | |
| 124 | + require(gap >= 0, f"triangle {(i, j, k)} below claimed minimum") | |
| 125 | + if gap == 0: | |
| 126 | + row = [ZERO] * dimension | |
| 127 | + for pos, dx, dy in ((i, y2-y3, x3-x2), (j, y3-y1, x1-x3), (k, y1-y2, x2-x1)): | |
| 128 | + row[2*pos : 2*pos+2] = dx.scale(sign), dy.scale(sign) | |
| 129 | + rows.append(row) | |
| 130 | + triangle_count = len(rows) | |
| 131 | + for j, coord in enumerate(itertools.chain.from_iterable(points)): | |
| 132 | + require(field.sign(coord) >= 0 and field.sign(ONE-coord) >= 0, "point outside square") | |
| 133 | + if coord == ZERO or coord == ONE: | |
| 134 | + row = [ZERO] * dimension | |
| 135 | + row[j] = ONE if coord == ZERO else ONE.scale(-1) | |
| 136 | + rows.append(row) | |
| 137 | + return triangle_count, rows | |
| 138 | + | |
| 139 | + | |
| 140 | +def check(n): | |
| 141 | + field, points, delta = configuration(n) | |
| 142 | + # An independent published expression for the minimum. | |
| 143 | + area_polynomial = {12: (-1, 28, 80, 64), 14: (1, -60, 768, 320)}[n] | |
| 144 | + value = ZERO | |
| 145 | + for coefficient in reversed(area_polynomial): | |
| 146 | + value = field.multiply(value, delta) + Element(coefficient) | |
| 147 | + require(value == ZERO, "area does not satisfy the published polynomial") | |
| 148 | + count, rows = constraint_rows(field, points, delta) | |
| 149 | + dimension = 2*n | |
| 150 | + require(count == {12: 20, 14: 26}[n] and len(rows) == count+8, "wrong active set") | |
| 151 | + weights = json.loads(Path(__file__).with_name(f"weights{n}.json").read_text()) | |
| 152 | + scale = weights["denominator"] | |
| 153 | + require(type(scale) is int and scale > 0, "invalid denominator") | |
| 154 | + require(len(weights["numerators"]) == 2*dimension, "missing dual directions") | |
| 155 | + worst_error = max_cost = Q(0) | |
| 156 | + for k, nums in enumerate(weights["numerators"]): | |
| 157 | + require(len(nums) == len(rows), "wrong weight count") | |
| 158 | + require(all(type(x) is int and x >= 0 for x in nums), "invalid weight") | |
| 159 | + cost = Q(sum(nums[:count]), scale) | |
| 160 | + max_cost = max(max_cost, cost) | |
| 161 | + error = Q(0) | |
| 162 | + for j, column in enumerate(zip(*rows)): | |
| 163 | + target = (1 if k % 2 == 0 else -1) if j == k // 2 else 0 | |
| 164 | + residual = Element(Q(-target * scale)) | |
| 165 | + for num, coeff in zip(nums, column): | |
| 166 | + if num and coeff != ZERO: | |
| 167 | + residual += coeff.scale(num) | |
| 168 | + lo, hi = field.bounds(residual) | |
| 169 | + error += max(abs(lo), abs(hi)) / scale | |
| 170 | + worst_error = max(worst_error, error) | |
| 171 | + | |
| 172 | + radius = Q(1, {12: 93, 14: 429}[n]) | |
| 173 | + slack = 1 - worst_error - 4*max_cost*radius | |
| 174 | + require(slack > 0, "radius exceeds first-order margin") | |
| 175 | + require(field.bounds(delta.scale(2))[0] > 4*radius + 4*radius**2, "orientation may change") | |
| 176 | + require(worst_error < Q(1, 100000), "dual residual exceeds reported bound") | |
| 177 | + print(f"n={n}: {count} active triangles, {len(rows)-count} active walls, " | |
| 178 | + f"{2*dimension} signed directions, K={max_cost}, residual < 1/100000, " | |
| 179 | + f"strict local maximum through radius {radius}") | |
| 180 | + | |
| 181 | + | |
| 182 | +def point_lines(n, digits=60): | |
| 183 | + field, points, _ = configuration(n) | |
| 184 | + scale = 10**digits | |
| 185 | + for point in points: | |
| 186 | + values = [] | |
| 187 | + for coordinate in point: | |
| 188 | + lo, hi = field.bounds(coordinate) | |
| 189 | + a, b = (int(v*scale + Q(1, 2)) for v in (lo, hi)) | |
| 190 | + require(a == b, "insufficient root precision to round coordinate") | |
| 191 | + whole, remainder = divmod(a, scale) | |
| 192 | + values.append(f"{whole}.{remainder:0{digits}d}") | |
| 193 | + yield " ".join(values) | |
| 194 | + | |
| 195 | + | |
| 196 | +if __name__ == "__main__": | |
| 197 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 198 | + parser.add_argument("--points", choices=(12, 14), type=int) | |
| 199 | + args = parser.parse_args() | |
| 200 | + if args.points: | |
| 201 | + print(*point_lines(args.points), sep="\n") | |
| 202 | + else: | |
| 203 | + for size in (12, 14): | |
| 204 | + check(size) | |
+37 −0 routes/exact-local-maxima/cubic_weights.py added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +"""Optional LP discovery with SciPy. cubic_certify.py checks the integers independently.""" | |
| 2 | +import argparse | |
| 3 | +import json | |
| 4 | +from pathlib import Path | |
| 5 | + | |
| 6 | +import numpy as np | |
| 7 | +from scipy.optimize import linprog | |
| 8 | + | |
| 9 | +from cubic_certify import configuration, constraint_rows | |
| 10 | + | |
| 11 | + | |
| 12 | +def discover(n, directory): | |
| 13 | + field, points, delta = configuration(n) | |
| 14 | + count, rows = constraint_rows(field, points, delta) | |
| 15 | + approximate = np.array([[float(sum(field.bounds(z))/2) for z in row] for row in rows]) | |
| 16 | + cost = [1]*count + [0]*(len(rows)-count) | |
| 17 | + numerators = [] | |
| 18 | + denominator = 10**7 | |
| 19 | + for axis in np.eye(2*n): | |
| 20 | + for sign in (1, -1): | |
| 21 | + solution = linprog(cost, A_eq=approximate.T, b_eq=sign*axis, bounds=(0, None)) | |
| 22 | + if not solution.success: | |
| 23 | + raise RuntimeError(solution.message) | |
| 24 | + numerators.append([round(float(v)*denominator) for v in solution.x]) | |
| 25 | + # One certificate vector per line, ordered +x0, -x0, +y0, -y0, ... | |
| 26 | + with (directory / f"weights{n}.json").open("w") as f: | |
| 27 | + print('{"denominator": %d, "numerators": [' % denominator, file=f) | |
| 28 | + print(",\n".join(json.dumps(row) for row in numerators), file=f) | |
| 29 | + print("]}", file=f) | |
| 30 | + | |
| 31 | + | |
| 32 | +if __name__ == "__main__": | |
| 33 | + parser = argparse.ArgumentParser() | |
| 34 | + parser.add_argument("output", type=Path, help="existing output folder") | |
| 35 | + args = parser.parse_args() | |
| 36 | + for size in (12, 14): | |
| 37 | + discover(size, args.output) | |
+124 −0 routes/exact-local-maxima/equal_area.py added View file
| @@ -0,0 +1,124 @@ | ||
| 1 | +"""Certify a strict local maximum near published decimal Heilbronn coordinates. | |
| 2 | + | |
| 3 | +Only Python's standard library is required. Inputs contain x y pairs; decimals | |
| 4 | +and fractions are both exact. See the accompanying proof for error bounds. | |
| 5 | +""" | |
| 6 | +from fractions import Fraction as Q | |
| 7 | +from itertools import combinations | |
| 8 | +from pathlib import Path | |
| 9 | +import argparse | |
| 10 | + | |
| 11 | + | |
| 12 | +def inverse(matrix): | |
| 13 | + size = len(matrix) | |
| 14 | + if any(len(row) != size for row in matrix): | |
| 15 | + raise ValueError("square contact system required") | |
| 16 | + rows = [[Q(x) for x in row] + [Q(i == j) for j in range(size)] | |
| 17 | + for i, row in enumerate(matrix)] | |
| 18 | + for i in range(size): | |
| 19 | + pivot = next((j for j in range(i, size) if rows[j][i]), None) | |
| 20 | + if pivot is None: | |
| 21 | + raise ValueError("singular contact system") | |
| 22 | + rows[i], rows[pivot] = rows[pivot], rows[i] | |
| 23 | + divisor = rows[i][i] | |
| 24 | + rows[i] = [x / divisor for x in rows[i]] | |
| 25 | + for j in range(size): | |
| 26 | + if j != i and rows[j][i]: | |
| 27 | + ratio = rows[j][i] | |
| 28 | + rows[j] = [x - ratio * y for x, y in zip(rows[j], rows[i])] | |
| 29 | + return [row[size:] for row in rows] | |
| 30 | + | |
| 31 | + | |
| 32 | +def doubled_area_and_gradient(points, triple): | |
| 33 | + i, j, k = triple | |
| 34 | + a, b, c = (points[h] for h in triple) | |
| 35 | + det = (b[0]-a[0])*(c[1]-a[1]) - (b[1]-a[1])*(c[0]-a[0]) | |
| 36 | + sign = 1 if det >= 0 else -1 | |
| 37 | + g = [0] * (2*len(points)) | |
| 38 | + for h, (dx, dy) in zip((i,j,k), ((b[1]-c[1],c[0]-b[0]), | |
| 39 | + (c[1]-a[1],a[0]-c[0]), | |
| 40 | + (a[1]-b[1],b[0]-a[0]))): | |
| 41 | + g[2*h:2*h+2] = [sign*dx, sign*dy] | |
| 42 | + return abs(det), g | |
| 43 | + | |
| 44 | + | |
| 45 | +def system(points): | |
| 46 | + n = len(points) | |
| 47 | + tri = [doubled_area_and_gradient(points, t) for t in combinations(range(n),3)] | |
| 48 | + tau = min(a for a,_ in tri) | |
| 49 | + # Only a proposal of which equal-area equations to solve. All omitted | |
| 50 | + # inequalities are checked quantitatively in the enclosing cube below. | |
| 51 | + nearby = [(a,g) for a,g in tri if a-tau < Q(1,10**12)] | |
| 52 | + other = [a-tau for a,g in tri if a-tau >= Q(1,10**12)] | |
| 53 | + contact = [g+[-1] for _,g in nearby] | |
| 54 | + residual = [a-tau for a,_ in nearby] | |
| 55 | + other_walls = [] | |
| 56 | + for i, z in enumerate(q for p in points for q in p): | |
| 57 | + if not 0 <= z <= 1: | |
| 58 | + raise ValueError("point outside square") | |
| 59 | + for side, sign in ((0,1),(1,-1)): | |
| 60 | + if z == side: | |
| 61 | + row = [0]*(2*n+1) | |
| 62 | + row[i] = sign | |
| 63 | + contact.append(row) | |
| 64 | + residual.append(Q(0)) | |
| 65 | + else: | |
| 66 | + other_walls.append(abs(z-side)) | |
| 67 | + return tau, contact, residual, len(nearby), min(other), min(other_walls) | |
| 68 | + | |
| 69 | + | |
| 70 | +def dot(a,b): | |
| 71 | + return sum(x*y for x,y in zip(a,b)) | |
| 72 | + | |
| 73 | + | |
| 74 | +def certify(points): | |
| 75 | + tau, rows, residual, triangles, gap, wall_gap = system(points) | |
| 76 | + R = inverse(rows) | |
| 77 | + norm = max(sum(map(abs,row)) for row in R) | |
| 78 | + step = max(abs(dot(row,residual)) for row in R) | |
| 79 | + radius = Q(1,10**11) | |
| 80 | + while radius > 4*step and radius > Q(1,10**90): | |
| 81 | + radius /= 10 | |
| 82 | + # Guarantee that roundoff in this choice cannot omit the equal-area root. | |
| 83 | + radius *= 10 | |
| 84 | + q = 8*norm*radius | |
| 85 | + if not (q < 1 and step + q*radius < radius): | |
| 86 | + raise ValueError("the proposed cube does not certify a contraction") | |
| 87 | + if not (tau > 4*radius + 4*radius**2 and gap > 5*radius + 4*radius**2 | |
| 88 | + and wall_gap > radius): | |
| 89 | + raise ValueError("the contact list does not separate the other inequalities") | |
| 90 | + # Entrywise errors of the inverse at the unknown exact root. | |
| 91 | + err = norm*q/(1-q) | |
| 92 | + lam_low = [-v-err for v in R[-1]] | |
| 93 | + if min(lam_low) <= 0: | |
| 94 | + raise ValueError("strictly positive multipliers could not be certified") | |
| 95 | + k = max((abs(row[j])+err)/lam_low[j] for row in R[:-1] | |
| 96 | + for j in range(len(rows))) | |
| 97 | + # A strict reciprocal-integer radius for both signed-area and orientation tests. | |
| 98 | + denominator = 1 + (4*k).__floor__() | |
| 99 | + isolation = Q(1, denominator) | |
| 100 | + while 4*isolation+4*isolation**2 >= tau-radius: | |
| 101 | + denominator += 1 | |
| 102 | + isolation = Q(1, denominator) | |
| 103 | + return tau, radius, isolation, triangles, len(rows)-triangles, min(lam_low) | |
| 104 | + | |
| 105 | + | |
| 106 | +def read_points(path): | |
| 107 | + return [tuple(map(Q,line.split())) for line in Path(path).read_text().splitlines() | |
| 108 | + if line.strip() and not line.lstrip().startswith("#")] | |
| 109 | + | |
| 110 | + | |
| 111 | +def main(): | |
| 112 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 113 | + parser.add_argument("file", type=Path) | |
| 114 | + a = parser.parse_args() | |
| 115 | + p = read_points(a.file) | |
| 116 | + tau, root_radius, radius, triangles, walls, lam = certify(p) | |
| 117 | + print(f"{len(p)} points: {triangles} active triangles, {walls} active sides") | |
| 118 | + print(f"Rigid root within {root_radius} in maximum norm (coordinates and doubled area)") | |
| 119 | + print(f"Strictly isolated maximum within {radius} of that root in coordinate maximum norm") | |
| 120 | + print(f"Minimum multiplier greater than {int(lam*10**6)}/1000000") | |
| 121 | + | |
| 122 | + | |
| 123 | +if __name__ == "__main__": | |
| 124 | + main() | |
+86 −0 routes/exact-local-maxima/exact_grid.py added View file
| @@ -0,0 +1,86 @@ | ||
| 1 | +"""Verify a local exclusion radius for a rational Heilbronn configuration. | |
| 2 | + | |
| 3 | +The JSON contains only supports of nonnegative linear combinations. This | |
| 4 | +script recovers all coefficients from the points using exact rational algebra. | |
| 5 | +""" | |
| 6 | +from fractions import Fraction as Q | |
| 7 | +from itertools import combinations | |
| 8 | +from pathlib import Path | |
| 9 | +import argparse | |
| 10 | +import json | |
| 11 | +from equal_area import doubled_area_and_gradient, read_points | |
| 12 | + | |
| 13 | + | |
| 14 | +def solve_columns(columns, rhs): | |
| 15 | + """Solve a consistent linear system with independent columns.""" | |
| 16 | + k = len(columns) | |
| 17 | + a = [list(map(Q,row)) + [Q(value)] for row,value in zip(zip(*columns),rhs)] | |
| 18 | + if len(a)!=len(rhs) or k>len(a): | |
| 19 | + raise ValueError("invalid system shape") | |
| 20 | + for i in range(k): | |
| 21 | + j = next((j for j in range(i,len(a)) if a[j][i]), None) | |
| 22 | + if j is None: | |
| 23 | + raise ValueError("dependent certificate columns") | |
| 24 | + a[i], a[j] = a[j], a[i] | |
| 25 | + a[i] = [v/a[i][i] for v in a[i]] | |
| 26 | + for j in range(len(a)): | |
| 27 | + if j!=i and a[j][i]: | |
| 28 | + factor = a[j][i] | |
| 29 | + a[j] = [u-factor*v for u,v in zip(a[j],a[i])] | |
| 30 | + if any(r[-1] for r in a[k:]): | |
| 31 | + raise ValueError("coordinate vector outside column span") | |
| 32 | + return [r[-1] for r in a[:k]] | |
| 33 | + | |
| 34 | + | |
| 35 | +def certify(points, supports): | |
| 36 | + if not all(len(p)==2 and all(0<=v<=1 for v in p) for p in points): | |
| 37 | + raise ValueError("bad point or coordinate") | |
| 38 | + dim = 2*len(points) | |
| 39 | + tri = [doubled_area_and_gradient(points,t) for t in combinations(range(len(points)),3)] | |
| 40 | + tau = min(area for area,g in tri) | |
| 41 | + if tau<=0: | |
| 42 | + raise ValueError("configuration contains a degenerate triangle") | |
| 43 | + rows = [g for area,g in tri if area==tau] | |
| 44 | + count = len(rows) | |
| 45 | + for i,x in enumerate(v for p in points for v in p): | |
| 46 | + if x in (0,1): | |
| 47 | + wall = [0]*dim | |
| 48 | + wall[i] = 1 if x==0 else -1 | |
| 49 | + rows.append(wall) | |
| 50 | + if len(supports)!=2*dim: | |
| 51 | + raise ValueError("incomplete direction list") | |
| 52 | + bound = Q(0) | |
| 53 | + for r,ids in enumerate(supports): | |
| 54 | + if len(set(ids))!=len(ids) or any(type(j) is not int or not 0<=j<len(rows) for j in ids): | |
| 55 | + raise ValueError("invalid support") | |
| 56 | + target = [0]*dim | |
| 57 | + target[r//2] = 1 if r%2==0 else -1 | |
| 58 | + coefficients = solve_columns([rows[j] for j in ids],target) | |
| 59 | + if any(v<0 for v in coefficients): | |
| 60 | + raise ValueError("a direction certificate has a negative coefficient") | |
| 61 | + # Multiply the check back into the original gradient matrix. | |
| 62 | + for i in range(dim): | |
| 63 | + if sum(c*rows[j][i] for j,c in zip(ids,coefficients))!=target[i]: | |
| 64 | + raise ValueError("incorrect direction certificate") | |
| 65 | + bound = max(bound,sum(c for j,c in zip(ids,coefficients) if j<count)) | |
| 66 | + denominator = 1 + (4*bound).__floor__() | |
| 67 | + radius = Q(1, denominator) | |
| 68 | + while 4*radius+4*radius**2>=tau: | |
| 69 | + denominator += 1 | |
| 70 | + radius = Q(1, denominator) | |
| 71 | + return tau/2,count,len(rows)-count,bound,radius | |
| 72 | + | |
| 73 | + | |
| 74 | +def main(): | |
| 75 | + ap=argparse.ArgumentParser(description=__doc__) | |
| 76 | + ap.add_argument("points",type=Path) | |
| 77 | + ap.add_argument("supports",type=Path) | |
| 78 | + args=ap.parse_args() | |
| 79 | + area,tri,walls,k,radius=certify(read_points(args.points),json.loads(args.supports.read_text())) | |
| 80 | + print(f"Minimum area {area}, {tri} active triangles, {walls} active walls") | |
| 81 | + print(f"Maximum certified triangle weight for a signed coordinate {k}") | |
| 82 | + print(f"Strictly isolated maximum within {radius} in coordinate maximum norm") | |
| 83 | + | |
| 84 | + | |
| 85 | +if __name__=="__main__": | |
| 86 | + main() | |
+0 −0 routes/exact-local-maxima/field13.json.gz added View file
+1 −0 routes/exact-local-maxima/minimum13-polynomial.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +{"basis":"increasing powers of the minimum area","primitive_coefficients":[-3117334086022689093069367492064405322235921524582018758602771961705308400332486168401217362817673692933341607431854353844382284040249728622691888747576800547230118001208136604792495826304474094247879313141870621771932416946893003685888000,11825652037659537997789946785048235172961857905715365862433733378707546960016618112412093174880807811064199142089216605901436987686132462783955278222195434887502450351672620174247877648057433509977178906365228389722285408325611964853361049600,-14430908268061882335069385195635341341240643282871383761076740336453864526036820280648905161849727583996608094591921966102979596624829259552264260961525332276659885239481776409463622284548123265838654441835741244011209671938166941843480482938880,5234446944281684765290136570089132909878280983845634139883348520737937753217256567258292690482654756208355925040067404387309966473227614773492654807708720092514988126888021521637607473848414885130280387982217981611096432399684966127181729747107840,370276718747906789479362375051670628252361222785439696063949262610523125388663521637537848000601960887336550541411400684217440572461478669751124920531822934526985901541593145436634087005985177257824933164085915671870098260112350731845974626038300672,217926933248118197455648198548601955135955085244218882871364207843369401267263731711577092224614024095876870258614866574901492002213212094198622306192038423177028994383326587317751410914508507789624819903609035309848751736614328589572395252870906068992,39347853042886017389596816944844488515420470357052626906349158115351735067977578369755729200740772460964917785794301074128510696219037350639573711989527040531991147040214911468809502167029870209938620406567063343674073569257071673994576287740478240600064,4199588764135892580929978788019024553682870633746396499955232760632563398064670150382391815614302646613597117282247010398545238915709966088300067910511650155737521833497213564417557959697506859980405669317314957023288889767701395265847343447094156538056704,597174756436310002038806099813829175811191404242779734724821718867750049578154477864683874999206221023692841631123791280070037281936339979740963928165846265659585870660032678849475763995712635087505642363093926007668916358815944047950664913578670010565115904,51930150262190192872556645457100230661236136459715502311858584739051114257614298558722320089377893887456086197683979171681568236385824154839608051678791535330075408657599542121561958311681895593307505721697187494230346366900207699001982837246274934245007310336,-1274451159420514486455150412744558730549587360799926162370535888493035391620961854084020362003910747315439043389715613040339461888989853664013782641744360700138525002529085910801501717954924330865755483463764291367374245837296104544426332859125021937425079465216,-984427311405038721008286407042468250223020771500796719122489547283787214291135815375114957187934273717458834378481097146950636388559616745176262237989474223430068286733707197261925679714631711217136706278858286653659949814053758666869206011650915388698780954904320,-55824678743608570972024982107085258668929714329179549204865368779857546040870894648336276141793007611710064463329814215090409739475140119169835455512524832151399744112471990082620296107240988168124391442761620401262494113383236053364102130147085191598536505721794304,2621252685074816087327636346310069589185902632409499420502208959055993806020427397724755978875468172255361093803062413435913040657866130494052655840975096057818212901617666429200784011284309001104078980851277610703978041485321251524193866104527076066583807843569487168,388055717678703639177429705271180636052772106737541023871265360963902312721331032000437945031174067338795721843269590866693598147378808943021415594835360533367167276626016937623581876749852547088776824099700685800933116455350526545235263199261796111305754430295770591168,8660318371473211481961426054300191207327028738452850577667245698970610889422182233240324272178619653698341459543394900000014751038169887791333281693153658471503175383798422878021552442226768349176946505758194862503621643642034904227112550718808753268621006185592562017600,-1415415516663906119009018128151192653482557126014320933466042528317885656075222851006734920742869226163713503936733132402883571893023216684180209376110522697061989549926270806811902202525097250923296696023110005627539179488748302248375918158716627997756356174521066764639264,-39320556088254911038233703843523619285538531215224234491752437400531641992401743211613435155281253044282300615419264214258362404593633623907344743071002023321285500437374400278619675227628374147396732201970648009529532450982719913692498269488661275027190124073501175961696000,975679774320585042687439548753777460629379235761202955522567219704737965646951151633979936695346864799899479545269559610101259708634877295289075363558073297594020402645801852887181179043910679882657187152868288457186965625021006368843636450421780327168498111214425314930355456,112924118499533546181982963263095724379676933000135506608353416238931522603188829804675776221823656007260621891713742617999930503738911278867026390831996320251366471819037746971213420892520884191138548734898274622372241815481101362228557259458949551769082582224484987256620476656,6514049710582028092927419117304167576600703157348486401708770480110417964964434172879793607145109567146266586158052790736870946320064973256078612662824037935237321872112348010339172101994609821034015620842864208635232745064095242214114074627084737644373634343153446174722726218560,-438704137813738236776879460956754452224027964297542394076204949164096400889696407501233983107790169846361576924593146022865063504983046151690154883326152372850390426172198129997290610071426557854512259246274568414800513339283156067811824669704456485167001505788392295604148197079564,291247795841817679550289452658784950077356563370962075164652859569592929580267232531941321913910143944481261413952779977665457298990265123039394647172969860283776654206545059392578339948095518346168094393699012641619925912972895009011441275155926385009974854442812975457671316868884,-782742801436607053125760652606938706904242886245807068734093632756220523582087587549073508823358860450940814651617425476166600670164134597348117957644358232033081339823648284053307405936749751948876899027687641003619146191644923829202071822344656808469217780271448562432418716473395104,63793347108238066369989014067549294436781068357934518625592460313681416779687809097668447741047387766443555040991958331897064840255835887359843623725671616934409791576899358901877615620816704870600243924270319013770041430631347606078619298467774360027914213155161252774416851628379934178,-419444503507790693195285547593180855806987035538386789978563309269944184835157765690830308658986319256040942594213718848211359422103588252668540140797558941982677855337585222937960959784651486339001321702891889852751786513249098863367670901598081092444234766293551263922364870673738912036,-11456002891745405672886709372766987208867469194786749210049648094293016121956019928393017616153254591889845963219766769468121162321192879166727400499113007666108401126417883651198567717803837932136722700628432737107328189478168793797028148090079921734240902923992709889885436545432820080383,-2948773182014145139026711700193663985587258170104081134020113469468580763279965823356633454071637852536995772844111074093141369244675528614815091279066051831950359137531177147200113492291834950672436111421100977514338175581330816192091878390664658078148784280687090469742297954244896534265823,76096891898168761660662195882073550529658778356766289789850023795901013061636744552149289124384720488495021202867780729733070847038965290518299589969204569246779915043437197159502398920223569908155538724578392431569871874464919722236279091294331786328069557142347599558448565235505116794918015,3796687177557699095852714776366662962562826280204503442493601260028309402153637134021512362960802858946662994111595459476131526570953033358252515114464389903909482574098812323701597130968493260297939976056371823589009307541508773779349198547965708139089143620270224805463154157068410419160573296,-122093818833161844521305237193393195053567315006730836874794875613489999387254522845219254659235219494961367373715003843041481710359832413235987241744613221148352893719606997008975420047113618939583555083837570209350851277998137493348202749272216710191740435006304987485265283126868516526805649969,-2126082315313580545122182863243953132947386767899948344384843530513245686293241615439155799046890044846879418352328464064866741694986321809002753721936059021556249770326846281783556926517650290814214758287977089465076741653155400510119769383515251226849903797003218019307003036473536175268206965167,25658221943190652915719529130986730927156662986405894855153737463213842262668406036256255186979280492809885012417538548876821710846991204737268991103980884527724031537921257161806984238148369381657814670059058096104160116930239986030169116113838917949964929389178988762104403518234407874268107026541,6119377703268393812451085977005336161247624738798432373605602829063299885034838467950094597966202427437816755793381291257025531457285836511954576904909914635113340331278065002334873973613944321331435379993199956835427144187127782417098447166536594151972123786398845098733380818434343526691031787543722,-170971708972135783731793548714282933015278641556535576674205297070182417911104315493065920166446616359800069527639623528652340625077521672059449231732261771648694187058612879764925345371725512285654209826320979569012632332413932701289042919992384502940297330191433936656650120074385897049823448054591769,-1837855321218104665134768407625630041712845964108125978309521054493842003194208633808014858303359170998799471121318204789865562006033384031030203794838421642280587370970575867479868754085404716143089178608193863564238894336768404431854490903669391711693679121810264330160313871096309468121865720269759759,138470821618413505704848764516832716261223604034319409492197014380327481476564877755848002303426823763941270061027553762376983757682139908703205020665200093452248899873809084520166791969777469158792842686930515739687320856088596239937892755748153459339539051823878347246165384001928486146249457860295610541,-961055076557511602087492358628382721252025629263587187073065334830816707609305425260671900365755953317967070620101926146944701700353914619927918241520866215976279652336768682459773163133755390787665627695802273623542698140646105991029783092834377462589176707217248922994691858580077143570907408818746761920,-47968087539326021012656945364750408592302708255340947685333944159899753573836165651231627031523443859317230072356467092370041308385823234988395608089878194877135779985487243618734914095407885501865243624434390666898172168982663063832324246914980286627779340360302623522772017986874367904159959469265706490459,715618177291862979522090375525426230265051698930609281868708705131590922362969902079051377031934795302774413696547681320515540498169766568054901364681583444115085675885221885287699661697031380145632011369030100397527573332041416054968640642756776108314626727284094978746877195271969059142852114664374194018999,17768855765016680954553036894928510045072000245308447915420663701152150310225571286961005667485751051340039194004028815095721881340623062663924192178970994678525619660301012598742001834489323388624705409144223843050984053332249841455408856523154529778737388081810509071723491572540044573775497149590266589441401,-600841151963048965563998935642864097543552677209011794558325169669950328333587893559620520787258650584265873993207711923367548100059518400693777693136658236212896682914799843481456599728237756434797999841424298309428986069548574324366019100951168742432619538225321523543847395802409300861993368132359206296799122,2509412786732848013730934489087704823500604729950361402993306271737247559463618099568099652609469390489008291883992191190289141723812852584872717531758981442841564832169724431163179509816860604543215031156789637283349008508385048416871675721969487215938633867821653200441926771059340117871656254513294366132463976,172817553251533179617453453124160772724993370792226427447341948802861927522125006993439937978164474322176114805824597873711529593967073741760763310948494235580234470498564301394616169579467239112262387019792211257586210453229117264941544494171340013036717830999439479147117713685460500322999843550949304194398932758,-3717782168518069052199302525671401100970113732942156726121990979006774240333769012005841511446530704324405824544337635272047929422766789549925555100573299161582827583223777668846910520999287590270655583646507685366530697704140186434433397737678132827019848664476216751754238491104858099825861237234559476692522090612,10501405411627933367744489876770011986935804212043278235438636048279858004765406623594164795917621217376665831300999572373577713437686002914756476341548683504807645434392880089723977750937653750815212908750972084598358574427151838854679498341660457874422045853314873529574458706502356788151962631692368117363845824648,800041052238341597552307823869870747561144680525365006050245641477201621920818119792909688021385807415547469854638449416412333642413999612788458760652406601920861982723778354097863421360314910564246816716452441380604354268313665900830496365663793140765339558587779670202101290728233946697051569587234545343162525803912,-10853802777326367250947169389177635968594070020143987540497374381967773598201085849640658091370538468861291600854272830229549884829268525703195507626870197355960425497360208281190621835479519941068579644940960271399964809989860328302532478052636959257385270642099496526056957974905655327710501715838587413903617955172960,-152545226248701475069345615368826273837719832991216849358076187746160784597857221015497804181524400674867106212740863100086758139003677360228426420867339444525222421990851579741736829005706877937947164826317952387220858624582271933260868825446210398765515343090164263092148062234692992131558373849223394771358480952564448,6023194251445511180302790950583826570508393274893703482352207782664502369153965769307829194974663978793130080274576875471451029017905460484697923335819871001359460919704792446994557931974064376559449643498818890367732667338054678521255996049868043756418892604330340427399637015265553313495560713125141739627934244482425632,-49202841272018769023549979561098365339998495731286565598938610309758893137547002675796352799706165487895267409760857229089187206318724885856399686984184624917394381546921639052764122694439232143282079943445515992248778784748595265318604715468250091553400542689013523624397082613701245368358350554014640137994889771632945824,-723912671059372595099924682790875573222732225414738296163890728926472081137158177521064435477271523825349502904671146313285803369327953966612706555036782720300747868127310813783534243722874449318812141933014374506702966073092109616978260809470893566413519852147366622521794692097911870623203626493541161828734226402048733152,20361587403422146531132824767385949685290937085013154103675782910601772885108787208370676628619062485133706869114488234903793785387141634572260239373364599679251253593651463388016808663360853153602799775693272805977901079250118699862704950686295096716148341309124320035638158522667231228972739712381031814659435401449119733696,-149972713595192346115967888723537673506002159589132501847490956135484143756765769689427318449597331834834223038706346653956132082710443944609192341568360358015759166316436028242069386853474553734792098680551171092042934190401399147538653708935121194004261462437743777430655931442672735718564949682628516090124705324411905609216,-1564323649882084788924613967782410107906142043489416035792192763378304270914268021357243281109253357393656114274066285640299884898532386116829591183429598387984992958419777691065713551889014428449516628505341266126428809496190206263325547358354798825322766746112311017415073797910098068342680875087325936988005064510800114583552,54220094384500656171796537265834599821340403501989778447187637739677584361342879121240441409504114500110405309328021073264946772270632290750014338621033642035578147757175780175478348884774607825877459659217230644166791462693303212617243083969793496651721336591381405010976451586078652508273950354606206309375132235794766948147712,-460212865690479425437890001655765582211482425053774203830765750649570697758882714152291957298233687169453556650323171560118573818492818765594900637145810488160167535461386290934985091981554520731780140054874321700159703213039364158036507327119891810724122544602375452331167222651151847991882199737299949287399646351976612358659840,-8816223938652370836767305287487991369669614914379903275927570252384783105356946307628899721209248743313703686952717643330862019509270273114516467064756570702732889908572627004568214885879102478207005302033641460906808965679635685312827587798172771703469130534716281192416754694976813190799129801719017740287298721759904939890585600,324771061037034981726189385737375323872657604613482152811764103789741049963908503441931647777128711389965732116490518588400302833276303512809100419868120965208366295084744764119131303239525532792128889315517669606856758451874293429402862800321967896276866346141242327421069285813895630213682343789802660059284978480975698661785969664,-4442921737003657248608766062925383230075279796843283528264207248946278117917197523302240014174140404983850140015926450657146114621182589654007068498445507640283186357110661621366093876161397747322693398951977335315081780784462797816384458948883420412553077899213635714551751705772943308926947469606185802759593097326792663706487289856,20157522658091121558056710858507218766501738794666228705176245790447176011196937554011741190853072855492095053947657668351196013895071399465307604712312463125411733366226538963628768184653288631223682293611095734095021406651321200800856518293351700132989181658095122682802943032904098163909824394084290390540614841093982991874011336704,483188063768411940195410054784162440797502850126190366014709542155256654997399531924896170179632865153806758852809084445656394190443108975244434862595624998113744936961591337698366038044787429585096973870717691908759161620632123139165578754194586534661402146457088569161087340117004294138826219552462786869194871339726912827091749945344,-14433469333878367575004588182943327117907592838668411583715740520901994107830383575130005087431744050574966232489319715161906336395517092542275859697777373360351492536503711058782390769529082252721645330544305373767515190119460803659180404608066997162881817795253794019456197674815661124838102038231436353979476090163925383032251853783040,199951663762205466749721146051725305970933597232114939473569730233021362587726653058837785707353535148516815649870283895877482351570725162177225351821602764385033110343491789146346778534426980352761469550813123652947716681058911100947676656223959656747407515940601122012984162500264291450025317468833359271362725367726772755679217044062208,-1225448877597814677355663943516225913604458848133814411496316996183839685627458393215846880617627437466888029619342053846330556622511741486012960241447442043065477659018771450034043730220304049808345906967372372656177829692203581008996630563677015450457838489501586289174938470571122605269191423594913884035857377498205939996703781102813184,-7017465565985567803450092429855745617434318651710766260828165398862735291411261093093917358416039683845353428631543351635808572661700570033330830761551616776890088363030530963842651228409032864730597024625533021493930347971009329657352138463121275885272268820565288551411403856004708112504113757139833714815317692077449099419886620091744256,248443495847210046326019910388929678084282520179641383265094137748840162572331655787678964441197262503102471976797485076979331754364331988879764991442701662787189330205447650964987250276831648064130979492274568388075895617573930833735949580620377899470326368759812845204502208288476686011241348198530068542849654103240016972713666132990230528,-3540609122338310155559304029215751629796453566103534649766104496899633613507516733071744982270413083878161970609477631885199166143238339052632373287129593928453182941704028266619489464023900863507246207072332723287083611312837539796361824818298334461253168460281017271622281367394263908088271160531162269386809066814712706800592902713656213504,32292962115496979326568247864350726954581261050601187766070000430886018869723184931173058734184315167463960112347982550090410155521902115723062385028960906755204486112646048271087677693909317237298559973938763632288163808180919828097115108613185213417343652691515503791366658153037982061185107360518039685053946576443970532470624913446987104256,-34703813522900149157324065920685343023962309644857007487778972758088650836506682296397568914557035468818672757509055527224596420567848537026955820527751772370016496579273944673080590451503390534290746614133011638011629374088594881568563540429469455380707816183067263687638022499467118731725544151520470157744518350994116610159733527841934934016,-2652569570690474760541455150307875687847091897791444818617689840352210098345803828486664970118428100227702423628209953810522109133028335836537404809534955615705160027463877431063593518814921231290227366699847647056349643540163420964822246962000047264820437136180371712731153029356311722143577176172554725716085065253717117793351841820203930353664,32481312258891404356961699343085487523003402032949200876041051609038812305741873713686343499606881611753526025553800841849725172554280153525743823818403850917487034642226198862921551255678326714331515035912216926635378230527830765164091070974232063653788247806879933170132180378277901907869166038729222061110378991347717374787552721671748763779072,-416998490749753830367254633497853337540423028511419117908042400432733049412749331279016921825772226156924983748651608936691057136062453360271915448566437295527788389589797116008035889393260878358668193134513003941813465845625890788976749777701960964860354928461493262839553061838407829525200180229024780183862990610087327609478629773842823698710528,2709420976281971728667243086709914690180579691644167717215328091962944891900328662007455552307079191626017482780284022218173816367135195554943864263063993445140736894205808313542896095591112855850450748299433032921434268898045351038784785926925904412494177703712579616361510592205825061839922683955829804665915008062792041973726921662209294279376896,26421064770432107442268386255708501295679147794010402491892924261004368892531453333648423639375110940384026462178624741035701297325733019711371570787687495382667957218753643335554096033889909795213035585763815355780808647452654337634937711110520044861481981071586657154886979421931113460120814800241545172485114588308147056873716966707242018654912512,-148394258841762242676755076273357419609178096985050522103062744961548479787752552917060281531139701052774246476665156801050242423753398023825277143008489402317093719035063906094285240810378891453859294891885824963550131957846833950952851268438477895589926666262283540694760949174292934673214074468009685269632896613089360744466948163210015881144827904,737036481705523904453893176934575445107204388860967684677014033940155438531417555161740201983536465319236203110136511999387638974121216743346576525135391242863722737682639257256282797106386787971761054316516877299759916214291101173418541476508798012063941327708344423083923608074021818310568700901913054858251519490159898477237232251630095209399844864,-68201888369138225899098922872705694762020822928445859091168565919266239124962170540461542847018540617517486205985270496225461143267407492954904460026866818371945483615086916399638818999168436717552157205097556653431837673540949878658439543850458247666123448051171108352946516083256032279407133181471794602969976321887101320547930142609364209257418850304,-57581563741110345062751712306913522069663645974312372402203605903247933657806223591608943818519260025081876628553329886768556002887321387391945250274408578549257405324435224569089553724610683764767923711852932821181403236516165892791459297900983290649019795126489427543429262358434000589297533900897814602126749875578975240755374812437801294785612349440,4017910326299887818537718855934602061568152866039318168097067922116891066108183759501855142680172834695239578499696428318096012514775565261161867509562074017101820002057110320923542799172160019040317192481365608893635750146828540995656562454004770303119736005228126963821616524941613841532855605476801317011461622327820398574110845322372148336615338541056,76524925631592541061281196304262811786791451705533513696486743369852016106087403330799121549147852892153497107342540912476748205109788245098328352186153458597734688034993583516475876644284966352188037401982764068631391386837018797246863656439363876004101528197897480735169796841149016865860701365982464008690213447206335037643925682483560203812179154042880,862964559534054098712616487188967968045423572353181022521627380390977585270395702851752099276777980824970095374015547062485625999644412123449377726713336575750609872400166343103184647345908154908099087338288474531113384148788748039182303652383392199153457843636369924887490007909746793153186973856064390834508104475988568003615404163196122251524058323615744,-13524714748569360953135302953711951762285739120016791578195181488360519574465091828879525181234208660203783156772531659982055479207519056600140531921657860742176639169907591306003842724179329197759249354308346433557235554396409165406278545809270542868812067887101262740909156588658860868559891429319602506090333492444231557258597163571131416032708280469946368,-177299183693431004825352133953941479482332555871396912048149071925224386806799267211908775811031732089146824239291179548638224979989501471282550100776453663126371396715404200379504879602629444870389172110508012984630233935029245433935002359362282273019727301934155467517325376182325807091151238083567678486658141055875821612726601169806327266959820266311516160,-196588354691868173363500842822078345410795144839725381315477234207991897980650258554615165459684652182034080138389494586331299671130502029671778648136726237305638680587811161575606018169994245962800572911500626153574697267950275914483671809438652337289389180957925068033158194571205795469379964852424344117825281122740366954685328051969210038819777074471895040,15750902301741169325219786191210070771785365845030187829927815297222091604462563811517930735178634907843914269876762278776447581996967196515029401601186623636654468449416305299921613025244537441689266879951649628490545609514994464250305519963630094762673264120995861871214379548091501004501788617206324087864890351525482734418348294435681542788374003237037015040,280044702152789588315520277866991532861892254505077230978626805752914622948736395947595659662754818434393523044217711824476799773086384755250402234500376109480508962103482338144652981676402386396778136974512771719954423405160010161498609512827996210382923978317754210520874099654397205898878790937507592350957069026407133595636392013248945610189173750031326380032,275594547746816986076639467749376404792322248495604316150585159475664181574870564410829323667609159770496639337092938929896906356874814417120756613091070996494827087496273247436563515491879252221274779751589658393618116860203712250036573308017319827878217069374986060582673333504999693395961970281419786309425064937071782001457715956998976005368902355684289413120,-31888988267835430387702496287482772866179082444295304857849691575401167323868341433812985550821911575033372128904543762021151375055580958195438883424316808080910212015172022551580203377485394459762436736096521156126306546045092445939827495064148868417773656599041135846790001111480888295877645263542545953567770450075934308571644505137104192200324092581339948122112,-324367439421880084346818717338285982247890573257974853920860306393360620880271582455499530158153997559222166361446895779250312404117554107732659371180214522104425421021187992578971656444731705455359865853388254292916270133196006951111534162359493178904726461956602243682876121549220859115434969292561274678632023294063771325518779140115533262294864104304108986433536,286468773640836419367182082575047084033006655219776532842686787417797577015307742999912184686712795534489401819709781887905770589733669102219939878238322990683393833148694477821523759629454431953767424420639248263783262325538167996024257275189586779489751987842360744931442755984951310048854306465658250054096568301294239736616033683410483901632289229482956901318656,48841799099366043373619054107121163540999493548785093190798999530682290425439175587449302729667396358725670634917654656203374484417368992183716552840239999534536448221051970203992466081024814242843218422417559084499263562522855077465988782688604044716373300910660620563841638846043499715815412472153801359769717492411553688063208704943238403915390954926673055140806656,372097276507338113215011482043999596867211857592271202411444450385408025588326972498512799928862313152545568903351576934774312848305985791470855986974703784577764732060677911122683728163790359969763633629363934808471789163205029176918874573233891172714513519874016861715166823175318848863892182481661652653590755892057459597674799067696512449392736116124548994976186368,-3188722453912805473669619931530362661834821324181908972981914889371906999163286592725637170402259872494351366549189749089255874208187539762682192561215392710632584912158148301452789643901087525896733106986342528572584676848593131114621124377855253204101279957329731734597964562055415158112323489734880143969112208655068639907716680327793466717572078887858146702836891648,-59661820524431381836483899089007623972751224013284710305561163872328410557364884255367760973853887708013484670055451158801656322027769377331661960034052394746454156823164731485396449581082270304269005070550581286942651792799928463799700837161007436128209593844703207691483065373058092900362073814608211740120740426768124554786134854790406892414793247268702212966852853760,-86635478034001408208911611395094826126474409026289618896121724343795504846065791557519441807497810533589726916827027876156052341885386812184696233537643228433759794299202642686373829994074956826593607833724479994431159933924478183981523397585137489543251070936336809925144637702998395566900476466039528540429029772876388590498030765800332406763419824290060424934202540032,5231702298760485440986729959457535307895851173049118990545371971891194169250608638924973690631121878037089966705226641112293795429278376096764804490803891806167238410117325657418128001336519023684981402694478589638732577933138231743911510156018975746457944988013952893963992128386702592315712803936314833955266371329489201023188221804665980276923021681698800578952068857856,42704870737149057432701389040186311588716469429569039071716690668465972572018064408311270946112049893453014369892809093084944527476740617805778922959803585915777766460901510384132491052078156133953062153448816441768261068091603313577882612410835031654033412637244386374300143724590820211304917444163853902631628557602374444697501600270210858779334786794842380077956276944896,-233089690334874573062446390849778037986232226158324153133524086507165763841262958658202138198122946488664209878480379569657415870447634865155796995699511919953231433376341978259658596862946541134269701580634371783684671209954388954434766608189933464610705672305863450461528735431621325986880995225387672226456685220349487202441510492913383246861594816161022427613772363333632,-4897631355907927643452407077302668160177964938171839726198813077720698430283127450296932428040430529169382005789674059878508376366170116201354321019303497453848635222641154195193171935952707908062122913185488065156462069890298375730463035909934732395181370613803153627447627386208653083533285580006672435096744533617455100810399143194512641615762450732008418138361001576235008,-7170893601420990469994490452408224277247699506467383392093707236005454156232564813938413977498323819435074647476791333960320452466722311491881437769239537458691445023720742804818006831141686297411014356028761331314920610813818985655097246642833659570557234272016361824705486018706650293709250261774235960487280220729104720163758057839370429592525401158333273481294318158217216,306018472223843998256483403118501313551989186863144370390081888141068610928037224823019476063720361405066920263130155284977067625898676702701251552549552729250992120538598475383860502360374473518203286958302152922575400946616133655213247711205869337807636993534740174668257334526091042965922184284928149520469804246146174070902782516328073590402094168434943324041344757029404672,2126392983053907894852158497572086114714635214532244026090444545032757239812351798024236452081854133754153449552793943099148111559026086052996791427233508181930646252646891830901013785630270859145243847934002665701890371981435530953565640625507737520242490146583339350720437460604466300482298320693409489673184473669181874373092261511125586175266330719639959645329971820330221568,-7110291272556438943293851110552067231625890467824054015914360376936064195927010439477083474470923871823109536337312879983422435523155495772292548873007486246842691340701732979399034693221592295703803150504685957171123867393314245780354859318684265749131391841020320495465942861448492429831501675952963156244448247097599048250715099890856691736100107529605065413489321345307115520,-167041413153746582611129859560481120181043287787690785751706767799560389466659586156862519155917727438018946495731834226008589753013336384503193371592762470646306957632902291706279469825825453535704685712497775207885103589680583255130039025140090605773807712139602421120938369940224675169074167858681912922844269577642028703654514838706358622135760513312498918804283149746698190848,-517751778060052253074285232678350388863493303643607717712432426372554888580793041567521886843398143466437817358724066249785367080251607615846865697479890136137165806226080403939256756441081912630289235641647669317753419905764334990270825587801560830272274619193542595824519213447780986255505268475782320020195581285128154031379182965769442319304674318358564358543492149891366387712,5434787958435466033219460053737985890546264870777549599065009457550418612575983412548726823411973561831660933587525598684793717884527979888342774549728756380647886142247830359761867603840422414946882696885103175945486353869553334650554588039497577029117591340827076758042229780648035138548140088665152159443305485487941858263428794337125325498294276678778369856792642840906828873728,49856221932932141536421666039187444462586001523834893539632277412947585252876541506239332595623047322464766014006780137163807332774382077049109153536963999158793764917908272906976034342766651980277512211211948190183259485813339360643334123780141776373331866899972362873339093780623658630673313903262873554113389008760741509670564893314965883846098413381374123321865574972909957414912,111909288632806712703627235525963001506238796129164593987181098050465146196178274721762581227715114782238252102410357905550573099665113290343499193549000433000467894022307472121204656667421621363604563056235676398214092974529835519796905259519126120246875805117342060358819622741964829173721258331359971695226766787217908735905099409040463542904797817884127518622398944804040960114688,-779090897740534711936720564176284668013043605282733119105567020044958076608530426207011943327502558494017544168171445899368793393494106445843279797559282002401788505473780011855925996854033759513222884995437296291965791925258425994382295625738861898266873193834225207822624386306939168492486889066488232834752985796239532076989260818460736338326036654045921908539519623345289438429184,-14952170001756337631311083032492146941852260721143943943058812982143121541678187711062838780746224087737204597100958559112213452144553945315158758189426970739921669745021989040107742130892575847775428155638294110918642004874058455010255546774032584320077152971509500875524129262667944427538183311233358279875879317856125175847741271052306972101320343421224110643617654039412285212983296,-115799209500631201223827231064966446489043202265128666066793161605875540244574029934288271748296684994374419771540868421610370680303484283595331043966364357809548717675912277530035239278596833450710116555829130921532536664248663460014376878531524106412427999951158067797285394699465535798991445389079348785651191172945290865591982091677491017888058987687490288676932802926763956305395712,42683707867498804828369147423704401059969377675429993000951768514186401523309094989407760466469278187986697470364941917384045796721882789267984658615532591489734206041895312229903940843057635800558850996449669070813835223253177425215304181205467760885765032757321799474759829282560877312723462458308155901139194475016017382062404234843043087096395987176026376572418287783864099613442048,7436010583125810626872676650049430270194147331174414409851264950952853725753809972488553642999872340167647978507282021232610045908117896119379120425744584201009763016315418858612787986172354941135711465902810560132537413442717385510068107048954828328817493655497526441874967564356398801549011183150854511030602276924897381812803070493059689603011885941296513945918509366557781686346579968,49032108193464290383963328053448346884262156655819299181387005467595444092700179927596021654024929503612525976843486233748757781284184482591451887717391672743620031215283477669563801008056687647993398464687519124947637290427695365227045326891366188495734107625670964608984765805665208539235698905399553605571544540683739882140663906166903096859451004392563619522846091954053120474224787456,-51853735543752166136601140540041275158897363508545920226156973226842309638032582671820031558904795676597244826982728826019527841746532143953005970656743438320392796145303877190870752587802954048638496150209924272433708555352144245823477840306198721787297892105068953181006835961244958275325035796884268420179124595873980895448451082036143990749809886853644718133732267022418597940991885312,-2879837240015836722256648988588051626148273325370761703271408787178470796972665283974136788169547429675979531627668769682924266744456514352987102406016543544908651353563597459196950556101940421419634845683820309018944991813719908834301835281269442831636842388426789954992918622146670783305707546339637420411207702455735397564494063558286959664368817846254791296171566216677589345111138893824,-14279866930335096185286106092712924625686398301382039384102257757310641951986652218091746947926604318662743164893797849500678162231052166328614254615742684094293533417382460108137721907657205455141373001140328858816760835917226772807364656032550909388970771991166800952475306456994853168430316122901987902818527880983735001086385115236501837705974681254659685291339070747502472659686995787776,75952680599421311379434718245951787053964610704155046476539357358694654577811402191911361196770345900253172702632249314021417813282611954798661471967690868540298571307108596461879215819819184895881421604965549575769383433691110296237443215396648624215445576159383922232765440826811123360905885040559239373942247142503331901902107590835123069593750773014841904722576856806694826938127337127936,1015224894485024186767393980570769917515957215332144119944711653939177010239125488304003323141688969082200338945282389256392263892469004474283947423803810105275971642271153918206050512013238007313603707679162777958159493778002949324808653236412913130775505442383942637412987097838914784095684233260451095351171827666184685329802163058046990485646511062146234391051499524736578982265005635796992,-174458792396133570109088125613982468678454878176529835442552077992789841937727333196224566680341878157308013309986892906306137036760642187834635011569990053151854393917259693059644398563616548278247724981339568188610294327593129072478212809842171161994808459604041705844687047278936273531603224576508625566291837341411714285309673650560315015716540223483908112378414757727468800946907471937536,-49247475359925963420652840936442424956970638433395545983994581344350868516340478543889658533863326606683995376362845448827585289015008170426324196868350259651110010016804198650857562515956326776109219729879180321829597775779370979690737133004539533169853713557079581781594183180084904368077462521851559550202342061757438156337908009958325332084400036511577054284070584122303918790321664218365952,-151219405416846821193520498016076864588717021389578433978944680277780079063207033042688849886844608331611513601298452140640189885193293091227212058917178431250712661326801322274415312305407113683942115560694775234800948468273226010671035605494307502364735258793318733444592661336037946270403948218665659533810930539760074616112513584791964142755214894940169341742796148007710084148001296437215232,1770300694259360444077426288722259020010897564645911843468601866753831156372877896557110483458681308969168427701508546400105980251733747528316181393187505199956578649925110487378409934719721130246982285889327736303892208897971325658567680342682379180831732704237540951379327630515296825335311733174603564675720667315740221072904905304050372085720466956928283430075126497130723659841699449946505216,13429154311865401067022379163683077098282182508891188481977327715778617003093608148123000751126020706846336597139301948238614356584038207238446581922601949331646442312899472468170493510207621650996926470287562444097826042139752759447904592385577193303377298046627157933893976105011762117537452204557177898044521894204464347097296819070566369971301492933746632976562240193678622190370522308391469056,-23768683576279624996607432680060936708989919884392675498225481721037466222731456879695107420101956769630920498573436254452210706540645230035464308808111115937427799631272663009696995430644236117147237350693870053833660921916831006030490048463674455293196978548493285832980372229167655136187125674321870391185392178502419969248110752085832379922113691973514587177608512764551121223605918803666403328,-646766185629583366399186943555955307930494091514659348562704736039844942942054907121870248005680889173656166198938191802402561116582798056755790991084590545286333018670860072778953825743913486164389359043479263162215739728456264452051367798886740413265796452096595052137008104363738871371061282752328900510728632540409702107359489926924768622448580544836804878714773518776568776108789424878516174848,-1532538270591883966508781987897185521060190930679164407859685516730468459605061521728269361153813819559393676899789486140457955193617033860338981077459492201288200306321493453205765671082661407541279350361663662607913249099691961029101932917633456878158022881722893212364303984175934645767043368148217059817882064477460376803572650900526868098052556872868973529628351705818590018088999202624439844864,19299109962230998678533947523845657912161565602792249732362600465930877809349914187975420721553970195794671980700202282173211255134159756608486859312940711781129810962355984740590244759696660612125414118510047514313109507708933040745231044006724176899772505069615247801504305424068437114119847167209720331397069703747908745009969467828657571798052890486429604349080630568038192618275617246288170450944,117750458197451818154814898743353018919240782384759764263066692258679575336642320487065599828851217811253323458683713896413086954940435870613907652866980909454857935069565098221085070592078004040372654687144986908381813897677640240854215654577144209300868054851998190638328685553016378869128157475362462576330633631001720908341739627049188305371661454011940463147068324081807666304774658818713401163776,-395533760553816360346807592843909972635988254224092257636691457986197435891920403195633165439666335519122495896694033218138045442836123573610870452716190516472549971343160678103762726514246991022862908203551507473158565206956075871417257218252778238033865270614199145809658176146775443566348400179443766288595328116054260597367307697205476675614550912347955945344104429697175889723341615547279766192128,-5195512085369731710011233257356030038819036325515838881766362860525293367889709810351885385128445538148783498093902327067034495382409203676651970054275533532369035189337179197202824918576246627702314734079631331143090835711951682772898778634118826843326204948934544782593396754209315141667324218318922561951467019751530329343445895467529670120132457531769970994080907990353283514237999587633915186118656,4169652475646524110538314851775464793099765505817859050667689134584069886096037013738801460007719503829062889842361507096995709215030457243873728189226079940018166327487350991993372384727986390160823144694696100233987803337155006080694900497421401859354649175618508625093461311630519511354168966851597122310027291954702103330944030968186791903399568282524028822051364559346836387445383124885228228706304,195755407717781539464659592811747142283512066221156185437873229921999474491006484197198536894166198119450436486812756867195156855556865726980850514924461405317851766794751876396606017010727632653048172711412508516180699557578449166676826095824267637543773456627130125070409632342266511474025963773832304298692155226751868575740991186518194153086614052245533703604808022913600458702944300601635361035124736,257708569736561188393105684506155807828038386347689937694109923104918409989495581086405752877829333271685041248578739683506187452002159617696678253170166256794344196401105670262974358026250772336771621371496796689129449185973119407931440454757508337361414763863408360615944554758325320753083958684648702348112993876871502473624516846691914148354869902426863372122898621282384047265876197826272320171278336,-5795532247732462371424610174932418696197257725568990737488016086018440166353766890528611218243358869190214715106949706921155585831496206671487796266411144878262023023542078692659155452851950084237206680754452301877162046197092603232752326666457677854812406387684130069775215061558465735254279994660797134628021839421390985435052554864205527744531290393042050942200279348974050642738513238109026073268191232,-20593502285069956796230465650505301484373535505313181459178178899346117299538014241677125160871299959011498436203751402227608826939610375962975774072854721673832899836833731868109323301056599373500654176134255419417917186692788261711051913433686447193420024463987505036097965763402148204796069904657569832353413151026838010312518978745198785744048531982574967383582568221954064042204231222566249221014421504,119400322139287694846977182554513195172670116018877396340736186887056432049297185033600045132252639252880526049715153776597235667266137655076256283168449220148241061957764994467814496693996629962475321410120789915348342939758616646964437562693773959021693838934926498152769792931307545097694236206857858369260806526298348093523668869952513575247030832991049795195123145763132325345020606984914815317134278656,783970004643781941386126532203261576400929122032977127101273702936061609804376165825120893972116801724732612496748588265148733897482789815805177469426250891894170912532286445042834487790124052173354591211192171734562140715150218940918335319601589233612182100069197044784132778479210368607098349729501367126226799407476315145914917465236740440611134037481619146926295108620961600361912305347358276951188963328,-2048412301713468043019650011791957272735799485751782169944977078505390855619331903524632508760224093909321493768014143569302165772702613574352731691584452561394733749637386259197747054300997931958105016570862213305456206594155992438404586697743740679336894181872470819359959765972878875392412689573305335879779284032799115688358157755632547008649790707181399015162012249072074701779113128553382571140184014848,-25135422317360950489432144654319511037637086517964639302337406545063431510251166606214973422255653023749633998519732598145712020132655433645004171579537105091528774416344798112242445830508601795187977476987690782327950834194980525984934177464868168002992063002990183570788458095089244651000237687508565285911570223375469788953696048557942466326707125518507238484590432442042944812294785712754473335811592945664,32115212657776829047519078093624347679466885106156446433725189272790321069986716065575808459220246578002556770998586333259133024901329955370873619547174275891823781321526125581532576575842436999581350235326392759915235770100436607052184000619373512438202616594764720428432713792640367357596077479815528595309139479259342468014661698108957195447619314731811304005624284549758243305102639187280137735932152381440,798645921553228354406050766621472013246430284878660635608636624258501488588621172860475218175776531190045953142935499156580995434187199102162896027820762774091357452936273360802090604552761202509545730764630183438171919961241217238845634495027771867015139168757511416417782468584767771844577582539850511368852772806399604075163899804531174109523220496608727791050744247605820353465569786189620478060856885641216,-54023724469031753291722537104302284360014330207819997344545337187387807802462939959302747036741472671158716919204343127937612133172963522876068195412348514708605700730266159769436959698165213474201973850332451763890345679482149799178487446667580360303408577870171604757827264161137177034117283720654087152744576144375954654999102923150253665776195594615870659126021130287958157814776440961249916081288343715840,-22237136706347190167665093476746843749904474694675278583014151896707035225269788682645732561161899845476083632776187039781931177504985028122010148224358537148551500079769427260622787073359392003093683073733875954583379863439163219382700432330202077091329859756070936943091481567898924093813177946716291420114682577046270299357625191483851310636729659253585257465684428864591333328300136969716572188839707618050048,-7747006880578726162006968042708427831225024900313881184043928203427842672000930921643852618565807198386290601044116388194399653933060886386209007824299166710640021344646959042326137973709702381063071677435619198721448543550848552735580668555215643601455372874585658134913088294321524318251285578633325334322248722415592862373136784265874430112403380471713675251209472623349596454958255622081325266147996271116288,654025641661395374423262874670659258604635925567218356776948466165711810878074373782946257975353658645449538571321755103359576410023155826703563651511066595719259827698360061717853601282195987822255149545240780644474991679697817695362057918016444729627223227108174990370552427115045280793423272327830688160437596839506885654698216788802865976708497883329604304839833929901675549362317564963941973457910036149829632,322883532307772401086936325208866528189920620355779952000208520706380217597807147052123384699194914025662397868453599161127501361011783133524616996088239113894590558152792063237025952920898424099101112807436399671233447885599699080824331077854149057351158309062687122114163391610912770359552447117262649424202185031393669566053451729987342092701273282099672513139785104557191178910916561990966109653824682414047232,-20338509107507136318881255639385315155014743810082605223267776844217015468168116587051621357593625737137131885470931229735743818024442932853731601900097348781079025028866557903731539704210877201636138165098819682283177723149743429451441019746162554582125347798503692728779215849361065160879417948048206551135739358958508423290680087828897615812110407140004581854376784099160630957533330882130211502611791925066334208,-9057889311686989611023018200387386308479703723326634162622833864442264574586724717525387214156762549373540804448890876557327633790270432348479182734238279742246394782194521238069784446801725873084153823685101637491557016988220118105903270793663792694367074768144560791052558094768389701774757435777202090411410408880838031335333940084693049759129582036733367272317210097289271438735714620343990451613981020019228672,568352346740059311356284110611413540091999909085781503529912239016529585350245938944016289750571603373023523336868819019370840102716343274302334801345361312162678091514126501491750310719538327393070649543704340694988114071306357597097218663449263339793466739353523480218318265675547016745391792506802648214617138168326111393036696134170155632076309243856769286710917743414002131837468157272762068953766534279809990656,-427601356425040402557539147308604088353566597295613038816966376561643275803594748742212458181485229057698590629244760711500577818983572347504670041364758976481672748594253218550910732266303522764033114435999879328893775398450882677748247357041586922938629386185761365593972299670690493434264169424805351570589453489898080861413946013749397166960176371459874760564197524321153870625184561578301813319010411542080389120,-15972965567835125353870620556580042607685575625904501991455489250919936570852186435563546677265372534026567878880754027314026786584569128028524651213392035768215127464297033522458993320520221074297607596847334970025942601735543467193823428907051926327993690656786746353856879362467645445637430098698338335455651740859404056761862655294949898669918939571741772445262286689416440356819487577091279313854912728727984013312,30137870362291895837681580500342641123887472619578664685324288121424990180315151381976376317826270093688435389528425860152845072191339423094172673642218560576311306426683987661954084693077256393198699445935912707073677759067857919909957750561855240829619131906153237289078222658807570636560855952208863836870234195349269890950284437450861062473635465001639450919639988346240881723953943673358425999518414266219643273216,355927254386570958849000563076926802580383845510893605704341988990188518840579202690220008732541465029500811664606476614350918041786798404196064304729064235680501121885192443833505655633420375308070890073949691115283259969539164733307216218840793093963578097428456906154871432499523899721445548977624364840335492490921234713105195757778019279710916594715642166335194206143807880062319925106327880141143627476939053203456,-1205025652298043390949527984057301772403572171137771682237021152892094030606771260587972812344782693352516587406836632010035329696682678509041637440985369406514410130063373092974726399722638976320912667131983686559579650098885428559902920277205610673601768014455676265500946239439321653949955358584232671322758990811809460142993652368121939669559544829550397255897884075868126795534499681085220044575742860824255561465856,-4087298406453542500811550311332845388627654526653463172788085359502870115178844753715491941013690099616841917722580923853045824126723963037356794611076668134365313556032896764312102622875011619659010573196814336637504707064211632045743450010341417042590810091904357139442373170643774571856681324784104941059920681691670885237671282052372090955074314294899092264656435121045711144311953149892164116581509436997526404202496,46592559127949122146225334936202211591950674335632982838555835596861023232981065461740064288599820751796995373629529473066897159621775124641807601501671060318457835714381979854548974869724860637805419907240152931214852877866721892550028338502654043344275957042378241840896538073960492863028074552188331049761763734298652828162847611688281471065390096069680937759531394385954285317099618032344939909773870449906595720593408,-24374153270928841919155516507262451339791077533515727734113668244665033049289272436513753022013298970195328453999357855357721875093176437401954192195164256137253360783966207142346462173388978502625037626831187753725404755736387832566974999796142390313360035435544780024286935335338834849974336809331859682702310318956854438227189195036138198086955065997969061880784658312891814164738628985969976852290798974322743267295232,-1340323599683196566304317634631380984779742732574085516907960438323389513371469361926053666343633849049507719420070256413155086926279449217789661301682065175542334720128301778367877342144858040317117805327151728477355221561540218080971782522470945871839276912841792299334101242444389909839402382240530391549934193528214256541450171168727605594424941850465593376108612938669014365450526391143726499760352921926129720749981696,3331438232284206168883820682910064970066633185084531848606719039193996325773482408625112900306050509093986840125570990538464254289602859064939011266995535261028392878602360440482458752109230851408197023783977146751931445962539480991390024387934306723282840232770727237040646181936728778630796013756655219759615326683293863500108811136567310882878884317137532238133238996557075736659212396720598411334842457781555516382642176,28564969325363720248051380644569146805058233454368383414541187441017243591710915111469458771611811132557474560730708086066473006275505334508067800199016277176172604755388891618519743975444149828947348685279854789630363234831173858555687927500237967616980906632096888660057766308965958919311497718833512085350989142810233386422291778066780706124245484728284998390319800377635725049041974752727569735240909572379881590432464896,-134628828940416036129439835091997063422982235296868598398535401200933040597710101222962795764812992623693635622668159642692709542923529692900799221404821006290531812667201390973578233665255736630437282652077900274860716420182039114305271543862432204453612845508079342830942710500255978859982372274275719741946531881682408718950273941193472190460607465095175632240788950205212437351943282686826560070882923601464292863377408000,-449525228877738544006365143701927475058822766654891243095989377941867427124974381571190391476043465583023373900771694863830512513843868326157208334267039821046096565477375575722094979192611880726270574484637534849877948110228883130278226996700428984874131467267526041890350586768589402980788125611068973878055518498352365195537302267715632282884066105979988482641340506691922609500775792206549434889402945314551239187827261440,3795953650567091809381058553783449040586771350702827438774093310016807560652571549124895208449702178560716663538222846568681919925675927129725974953982705082078067086136941173168221952088229053431724501294320909023356265195695227681963046176519242947889213978116176263432129143276062235822277623176652607124613059542808464963174380216313975326438430527113277084486244089262386719500834706792871217717539856456665836064310558720,3492228308167884283184987077362208933112290865486247722802565676583989190438487926163694619547891925324285423101789431743850780291502597535343318305264339492871908591912588242698289902189296956177934216530399213248090064465158138786234880312376620279004123708469625289395537923133416828060234894041219925477625687543505079813917718887979501460731214908989683514330310457695356733754569598415920978630061094744780752138646061056,-81166389748080274469477164453465845341440357289586018468349310897097036992232217473106852644600269531947743084796231025355131313320273778643903306497847898215722902753218870130987396208048870480828404781854069526340365295855092147553530490131475905852827856480971198720815863698415119435645011612463855242632732178701455756483931438479967130746479837746934198229952642562552659745454317881306344520249135625023829520327966195712,96431402925622662117209178151092076304377111806585475995725803025198318186866078117957459472436168052724839203777401025096152864685850706421845456222739283289254146077033122919926212763425263574988932256042109928678256287372239263660088076599655621838124274811358870552730656793578759560557956681413749791815302409173572543686410321184161753716409073708341828339935944130441848314627350958547166319446237621529551446974763368448,1415450846467127395583791698099180847422068520867731756555723789902642509944119587491790481086738048419057806333045716761229742140999319826631178978880844087961310512082138679055600150685923150063874510063823135229421088512238929734352847179216525488805370778305392797908990144620542802628387102740960835402755376124843133910000794892013900781797604695869656005244415016475458815704815074813114734622549198705202298889558449717248,-5038545108661827257512367550545293285598599367540958410605536332026940933816707538549308314333934452499188996672186798249815649686354435280478545703326790148263529579704415712997099953469902444522710430091375646438659509256904665128401541061167838143858195559186857757392794411037837647311763904501370913083853234134262026911188175391606232528553775124960394792662231566540092167750371539985174691817867487970836169420777092808704,-18436250788731454253361582620759734424047668583582435047888892442646628899647523501211160680603234626348832731801807667087115813358613174620297402678648942437308539322297286135929543852997373874521608058341395944207202146729788705633335024512787061944800749336268040719847328541336261863924454704590336401317914957709870934402137515425396350546453875366972369160144500151685408290434988889882425997522046597962262430948434810765312,135179576620318665933244327954560077768781244702089720650963213507463463850617256765845882845108329016640100844783521591692287267939858189591634413803260614769647868149262095936528122396523768269656693909016656861765312081934578073153613804805183572923733528734794574747299606466807024101202472574740441594469225573550475654896711415326437687875669591790188280731231732021384166450252939883967272213289990742355963896354037613723648,91728588850545730515629475167465805956666584244919041648526293114764514019569149852097440283379968254282046394533420414723679330995516508907703538839378205429065264351638603867371368513969061834527458495069730948200238634365358089380791820149179657237200015982550385770324139222481514548721680190746585284508994971613954995281841464045510719358084586424877805266817759637937868680468703532480323911554368198539664673710758667747328,-2755712588832960243515175424456654288912694166000114609402690144427741668573511479514702074263113371811941956789012201791814820210664775677132875898775207101688870253765919292085177027052371828527225585314095542759936559653453915703439150356908179727556067909337929855706049500825774378943639024052787375638711280511507176692652061487723069177264107267338317829143515703606088437081150062214596423142554250293435069647613432218779648,3269358933933183884111394981329271095345212497796340897941736680668278809855294821069689495210209987183398968901773447489558183549562228615637035355736812196155497035351085376000658931717031307529560601246676954428568235259711661804566994684207822272601947110656426937193648527046664914335468372762874836208525992063201710117237386016129524063903044870989469224941519657865370475342557255856608011697347244108967174968938834503401472,44704472346453632048003659434806005302377374779018962149556153472102160983125859277562072625718879542125028015713255374881568170770835713924512462717262182335890978955498618060848740137499658468875520058259281117252453798727208524838795012051108380972067870387482577498526169419763333754725574577596751714380629984612699193179893157845465326390979138409669136382751065470470038304399302595290674081358413524212417341704819908439703552,-127816068584299060691420014989372764136936157963687470369092303876799818855873992608231007454632394874504292105509030074640401031019632641345996064244833711532186473839658311208808029682851635648122694198504252402799674389576100309600984345445811280569944190549472589175855894995679701292985980084307173162566254086423825086419141876608800919945403047830653569780067338984255623417722602457163721127278903770488437354528881641613426688,-552302689902931754446833406756710549423856155219453260069211923486153286058850407745781795123474320002390969560890458353398453667366566163925659549342470950864701210194923858419022802186785675409173835318830454308305952274853409494931421977367017165576511478139099645080225632287302576729136866643110643464491762545881405416262802307410400569341562847637379820400895126262314012004633358351217406226351022548770519868901513359353970688,2965574809842760248283788137174485396610239979025769692760213319844582090654751212282407705588626386138335530596014122018618494229224954964418121167562595211908089455534849599634976145445191581781010177807447137415296689443983660948872215903141311888632782446405014676527570630756842698504786816852785237369239699097454112570575984499880842399064925631346416417328410212703281514331482396187597495807188212393552421414882392062520459264,5184121364774640570635948146164984017379431592165433765195861973603287156408125818893439329135906504988976962654529138246633251197139344457945921398687279087527290038694399616686527788218921827282930535210616760075308281941947542422917760621749547620225507309004947827966167552646006962238017255725414966154266082866340747365962650387074259244658251458292687376796315967853026304778076695947698652907834887764733336207225292085771894784,-50768641356351844168342807796287864644105942626486517222128811924785772220333815575732378303140006765282893417785778136750379769751154326215676389736185774239637282743600623289596244929579195631078070391314139572828506966098901081830701132867490494926764043333958321678594818043475226163610292354131552756303166966948699294461692000518958459282533275058116797808364647069322939565827728401833515898337367149320845834539361804074824499200,-28002064066819637235399813324547753546977395817798661859304604826850328862362860773129140097247085991447377964870809803430854060666279916488000610746693521611749111551202280796914979835127938332034068602775026852713722559658342968912451731790446949867550434975970646852543156812743215764407431761035614323274889726485250020275970059619396510966151761868328568012816374235406079783456394759940748642078230574643679337936580762392548343808,685265727517490666787387510846380624458938054621914383500981486133433169584537111040363334449117405459550683226814139317809261118801904162387292052216593931060836228183224576323138786963043131146887074046989890772606286594043734936043579386400892591873670222412988645935223984280675942821445319247698515322300624343872831784026505630898810031723680485289980626329962214301062714772361595143571736821265188128980378018516517568062378999808,-219692764696689653052893900133911977453403584568729482091650869598299706336698283892021293854511430911028593348204384257170135390791884570620733944146939190738443333946252575669779091269432911473734660456607752401506728002641004681011781079787429970715150909396123287502445604302594276431955454809004192437058148801243091132807711564130609417782074398987115424031875869402746163483015988372361293010043919863912328444803782385636346953728,-8111858238490846786558622394740336168081178410659588613434094258061771824310895490374690854399089173764477582109198086413060977411827978593858325601731243143950507980388933150737745327495551671024076414226611446534930199210103697830953468878589175917689740774221498767635529014432705174658512387701596100218582246614359432261141575041593642960184380966645233507372403235222830926032416975941705439065773018016442749256725027777819984265216,6618516620780192699185958273982440241756223382779887286763612579458275441041502406639690686561106706397253538039683768127919069717918794521029491076543677581855155035586268209707574973623743330242256615180098348566021980327509871325927405865392286248304446521918072901333155346790802240861277608705371356762338940334864281425889440889331833204808895070575565142903736220615891019878084908848745521606183818879367028069895132646804323041280,84734819951350418786551335260427796185052815404193280971716190597426492238620820098371397329595035778633353870234018603118792166808604251191263744932626216218358234355211750974983516741306339206761398939801939683430995933019527423281296256981732078069084135323969766552733063517860638397027225280183774566839133656289751826498691386834142976066411819618039808510049870256571527495300817541235445023228364343030328008545065970886444421480448,-76744259619949085065485290686456336958113826161911894595522569943521857370712285615900146322074221142340008854895926419711361098709354785534650662942815650091164297680589075305114772853126041754628488760220252498638622398079179873738763123251300010846825124076596606924748094275449163088257174368890986784780723473803429631427757364124707730646975790865383432834694913792264379564288739696190995823987272023792313546481565154477343139430400,-781984025983635301717545874308451344578735774424385681632518955697080855757170693649428158265141977399329905827644158589803749286768370195297092077012033737990611389837651099351182993392495910777034164576595121631557319498864996592140250929020370919325258429585141961301724654971923170067956374324680823672303525829390841180635365982121044670967899467038652156707107749688862634101468439681806182736106978964994821726949869925735014986678272,782721208474337866295537910795495018700000128919398716751968942154561633410158995311680227147171350681143215468311792001420904831608473105102760384281188657412539691926150886767233682611920232050777561978527887597631556510111103602866834023282298392788571077288261550711305845967101922772895044271183882131370915649893473252346673660189576819177726851065810819433263224340097785950095718213850329382970456413856263670999241246142522512637952,8458437386560695103275681504698266303132278939445158352786467959829605832433287845899733780896813589072324925034342508922125096018331884673518180497755535687334486599685521618633753040513081665620650678024258481973725500264766483202831346563974729773123621000730476428313339939358369678635592085812400579379457735196147258062110132289884068194704449464070143372514816650372916973074559299771100066505989557778201759868490501416314424027774976,-4102251023150854044093667728191474413513837944536079732512400898099539343167736328804905989449028168754974592301555459718333748298639647756649470373964030604021546264641934949498658724297894918332652823221758787069077583962622706349510172831081239449256685991323122619531637595090259763145619104198595001297320470821590323340551140053532014741875637393514653581829156404319367169428637721800381094359575868439434416335024976061657931032035328,-103291363509038755164308596904739027634571491569071168154372343184855124609522767394652248775949317371675854379056350897673388034013978141190376947272743745525297162360093237622701228561905954687689099673373088087927878808453592669306983871846498249430702851812312240107566462031692567197304201476670807502300479452903865001965133022909386353587320541467194326542760460683252063828329333087735144660953874385889579003896568406106086429274669056,-28196737994324793498467917232370536239841364736379422897690654073039038775160509726413030562291218262866327294930199264254350943775993397668436312182026215379301220154760799231514254294066824561360075206190176799564504378180525711432403102144177321140800327070628421186106151624589460759835992724400956081267482291004453750851478892554963361246612439524093068485932387698985202690820609441842793870215548933052651470439531351696535011012378624,1149166793724508506973920171382553826175347416988806368292169273562645231193815284128788245396591996559795535129547553599687524296406938479661394684519252591420256973993214411771692078960627012196355184110985063154521383723372207791132637483449547269265060436431591345676149606431839147550235701352025817132431949432739765307249869662836919955502993166028632319852400877717076779705150419831980217678195119104226657736005667423900005079604789248,552045830867778679147028186076113742435568463533354924437498032072794922695477728864743084932445973297680511936058158547300023074860810544730082519538609950774543233643257178303959776897169709308065344639402302691299614581428525238283985859083361546987100727555214216447515596445570164796641287243609829616842076530171970699993987748935790345557794194399738610537346073925644080205516325063254684635499270269525293816546979555431462036209401856,-13254008694675716369177900182419427025399050282786669050813985657555537963678416261419345301851509178113016205071732915982521877539890146484358316666219875423991752461547940459174247337219994846770856262007911182201754283471487009871668486058137782776376574624689509548261669792663382513050034256899347672403424777476278548410424886027623966586403675621761425786290232965731360739091661705887165369216296744130478814217215194468437758223360983040,-16445065012675469789226699563962503567197918536063881110846493991985973509653747657145795788995762135862825616711207350359112887036618863286428350317322401819349321977159611448870032545514813096399756268454601023877077420844056678235830409348443932020161777967253241882969752037595825781113420799854021345861810305718720206663122648110548302616076124968644566809235362413424573938190318359688889909640576889467088606003740041523215893543792934912,112891446905313830039856075650904337139100892410877083521361068041510953963854644585163015870665745284932569317390147813319151527369097299474580549426936304781304025752856767448815838483091202284431965577940560137656192400814415109383645617983063902455771649925097641228502981384984564645363641834237517669582285515587504466984674526879227593233118439875139562689765748213435366542004496067804629268183546933741613355452707557324548894573092405248,356413167892535723708388734327132415784792224579158181762298387352154854893678645677239585846422180437410607799556838770204149883964477558762087765797448393577389405696085711368229541708368989746553202450671796360762705757005509314896441005064068109243849413229106848845540773343569182002701089601061771698054874987360685424515091205363850077901403617693481690155042423746420697203721148543367702695898540693474082624502743216641673213140482916352,-182843173867684151389261195129433737097133362531536314560099597057999798763302592591053459494031084207574186681742382939545629964979368549534449914662424079267531704027272718781986032202924544760530853488583551588107222139288171049184200448702995640148961753227105453371542028274414793265748524183687587614409317355234954408794258486494255034683192356228984944324894876109127541371639028721869715834552005721167408318270524183283877535030922182656,-3633662823804805356284382565432783204852961074848050992861884905350553276517047142575862530605309528076323086636859424431129450826936561148750006380974930828686598737439623763955281491180212488604993334139393454954892314926994204616901488142354490309744907956450959480680181106449536145003205664486016769960903583500725919045295332797774288328048863169273826150493850590470908999995239222950287083249057633203391342531639213494041573301278985945088,-5499807238435688988560601616416303911974107106119327128333585175884709001770617139545403448832850099496198637282843229233123702005881867548072796074353760761538060263413275173483440054645540743239122312402548679167088322487512141416379299056504979372647684358335406405922272292469347324878450324477845607924761089618467718375372855268548147219011959871695030997167196462392463176895547933969142599793213652781819815126792905405426449053420120702976,24648125810971686481578364276105485182713401914846741148832463355891511904151902135345559297027350873514262134011312814727026016404889427953054152036183767154210635512301513338737250224329533286574816720693089532380316303700630824622903891792196927397259348345010440177789793953458464362251713000788377945388790154359657305862614914743101474972107703143516868058149286790526072837170474560035118307733158605430097877667067030532326494759985422008320,68964599135631199301657480443838262828490713484487177587953266119330220614316088690594263091539148322586774230928824719957987728241013941995223922505207403031814862136616848452824705471901720461340448091598966550967981047359247508569129397417120901124215570103676692319348715159904834710654645081794066655386291073308178056702463575450301475711894283810955832630984650897305512510545409269202987753850258099417444737267675408534585756002261040889856,-123031870617312727527641227485251367355155618721591653309421951318118952732287513251485896670921993526758141507168468932596693563310775420714082438604526546838674901865612978713137928202629083407045175595078101692465250846274004627484440259049828675051290575315987176139692126280503101690149973679979494697265456882913349953905493807072299375383633992920838052489568876549064789724783925179437588236659428017827203367461698704925048814447246587199488,-557777857275810951556201247461060694494629693482746129378265258516280271078309298371579352033911313234787891041202656635709701220730886904860868858448778506753030325395540639166164490025682181156592742325474501303854831770051695072283913773143389371162453199863811719538309953555700884685673082919364092433030383303499218817292124023389310306766148045790801678405825637572033779838220164211515220357842436839880328194497066781561126476610203755216896,-409941093104349706094966945783039924813872564322206969391767309508979659749384961880975148392001475875872316543360549326526151309153836846761673868433928471241623466130269955375830513875472343674752682469078104826018895774516705381251625033252345111587887856954057106924979516857664176664396410418708021028417662952545339613750123753153004260195087275178893181610421876005708712471484014313544108200063454366252014919670305894964685178253841407148032,-89827017805931458016518817325513445248584340932583085724523497232632905772835810892526706664535902249166790360935657119456094603012370410402504041883835746160262724337214255252370828583463495559704937681209893899148933832540051681576893630065847600255506105282640112105086204006762276446875109869042395472393173924958797939078638487924290523911378902817351088138164278897298052339194105518792725965772588108418178585719236080765169979554704283140096,3943324810346656692328037965994043111887648199686324881191748156123089659229171153846294302382456480868581403058016649758127682431846452407470035519358042184136248798655855417030676229837544230794801548682297570788575952255071492417667959998276955575625225432931473448884105030700861567683557803440724502330558952707873152095589320619932419835085867555636512044076452197785130308747480893431924085412257584932396932198073024282066132771247040871006208,43009835461994260821981705047754626303957280604021767878433424603998361393947897453248920331226372178725454487969531665851278435291327622743243238318918335166325214353355294493876601732181248568677009566939456519969649038247975867810547497239774456834614086756388581034790217746343062958192238365225240667893523233400379249470421203515036345183002584329800705479654697483273203806055814177461051676187443136019656429781925054499142425698134051667312640,146120185370420174676154207264856281827064347927174829784910285014337015968540737466088409503543960866556608016354708907564192053422784033900607959727272053650753757099797032754756942239107267868992397858018504614613054544629086306398450518038541180937294443675219613064962113934433852844730350392272645543369736956026132288696948295468027055443579111763720537327074935555143372210040185600549867767180681894193140324231319337681399908919666614766403584,-66437131375812997803031797232095206093363576055837732174381473671134768597685910928429700657583929853767999572126394626808154152585576709644228448959172717319509251002699580501788450179652287729627559219827961418922702338393782592437321858052467326658924365598362467015410365921633838687223681046113965139448330322684759046306411923021633639174613855582745407735047867465204455281829920285598260433044007499912981483520596673556066265180242321596219392,-2103118344352352027662216793145287359336729387049067000694010308759176772053281585136667612248390527744567340384596235686310586681206607982895736704919182485571855792786852821925077272808983156327331275545155643596161015363502669515259975696624315812680246621683337497667211078630705457772488662745192214986370001619253708198195016340993804142918499594501531734883426764523427240175028442405860111940300776752611483911230155331047710606409792729787662336,-4513227877583122761423874564780920628914123827190839495285662355452877841646160474815858190176347980872794214883344766227792561929135086561315904035068763360200775691962717847990479092973082775673653101096536067095659934561455197771018889642616942007531332179538951651386217898435226366532166473424347633412517045847205919033082894345286162621967028220655392958154947002582106420965454087195680670227574208692605648237551552694845423227977366702183677952,9849584890308329000826481006019245909058908355788003054247804170490889401591427040111644531279741877297545867801765564340406357203407905010483985215764687116803548995930071697872502816261852964504414508325469598473013174546169970842141436283584926202801820329593702505753072473192854028942264246326114765500253262985400022471848276162286586484604601465699728230618838383822952041665944462935431334445000938156173696910188184943733084332656926033807671296,50741736608372582466546834939144249681380466613310263222534810397557964743064790036780398498729178851595504256279723932048091051051334532142441855222585859518487021198560761443011086050357279246295149627080339512677415666303364462990364545957056115186814245734478792789244711996142120084929894782619740753140281337384477003067315434757187196708350985133280891130737598208075155787131478659301518045243623715494070845972893726535882032504084642748365275136,21237704430725117902731216525059542085063040984352814534961226383044847190773019899028434403691516174644244256017950970090504634716057866286864403971041669964041615933069650459868926902281332557611877242837134370729512514179787163780581889204328938244537765189032995981233084299629050929274819628266980879815435677851039650623968742414350235128471517827661809736798018226176143280925626627596307820948141738504478562674802172394698141726709483013238947840,-233914233833744860889590091754812341779642294209570987446075915940330860004309769858396295529490010813044686709014277448291231087885914276854934052515107018312655878578552678105229062840047355762314007890886342303215629770814840502207179509762111811352967115904251248926436820903650553333464881042908155620697482494267638641493161221594746634541561537177661651711206397260672053877715793747544770934494558519123190978441986437034109487653313217997236600832,-510226272134668350596512492502651243736042982146316924707582762770430172215924738719491371172476187538593076419480079171997699540734228829809568555585452242093438870658868606311075331838539211448241324790577410398241785556061231248959572372049253353296892700919697465534425362792948383482326619354719329792896692663325779266114569493846565327388560843955660770868108823152569083225589254931749072534461295073020350702619264625548542648960455952143401091072,96000591954022826918396068636764564036877407034778413725390241796839432517123871260507142778944341808312882624860149054171179781062022676467482755397923846756757412324027550432181038726141228129084034727026837903722079146257856119747140514270094301349691368629451542706429900557536662268445042048831335110509179252930012513526335232201972206821206502187743592198230035055832140272871563230082821897162973108700771732938394640242723127488366003276543426560,2612510775549344883159392973751565122076098903484410071754303463993440177481218310815004534854228579987885370545635149519049497138580328756762164647886263012818904004076114168121431822429863009855340903915556376877406567070351829840254920782923474543919187638774850887500725107845845249401868942595926956339479707682915932284176078780444762073848651645612183005230018820607336657136902834841102684085977215705559688818585691466574044218463370707175676575744,4332231139934762447465315597880000723414595595067096633005685270659836085291779710743296385610457141110373327786163149545461757368646178103936708512998316637278304887256094492055928630165350875226998783560997280729092999045077498556697308661079429751209562728044541933621927980331231671940287379235667299121312273084116627599134651896696440565156969129086380149262846527662418592103272432712318613588668468709449268234815476293997045395555257545864993832960,-4561572755400004558268077492564292582083049584631297845326926324853551359232829061605423813407386444172093539938036251397652390014777411970180871336892137040060603214151471204172005998900118641042991297177920533478094180063391058395770873482892343164554007514563283560331008396645368020370822818940065471593082975169652390228851205713580454251047542299642207946412038053503547665706615422309894999158859684632634755940271246829807691494779036234370779185152,-19784631061562497044364595926163203619656701886927521238322241192812148455663486990502078988387393406554246458886517468915798156340400542097679153674510618885130445438069962072720297253833775861939868298807953392538457469930695326128160169800846866954445001181297955739693512374521083955801706659839160008996380725239049782235070899082934327999148484891460841934000436781196097064515366289078182219071556106652821304817487169326122609061771982385733953388544,-6459994695044847644957108822231051039941629731285677646249021667460794551651200484130158112593347284656021525380897743246460710313657788630321699867243748057861781399595852270494871454363958993148334341980577810753659745585982443855323081975241994326696795343645874130677948553196258496727866635387662194093078570895565911270452408252613661710489587906195943920215603331213498706341798527339056115229910446979897706402026254165193051458480644851872871481344,13316722350981799407782903651701800365227540571441027371964210261461534999142335311545145440580706059680611124061613552306294192351648915767992253335806938817407885365240511074344066211151271993299348007019285062366095200696251428905243174656570246733554019310331206583021166411616007515219723443520754615265054498445267258219054343074066858288843667961663591767249273331255095699093278631811910196207926381621977038690847301017088951810859905233600393510912,-22110923664723389890951266805188713260240728986157449891972433551436517985909334482454661656220357632434168648227217342565400479854459910548480996373303717433674987425613592446527557798155256359052097265338137050877964328415583006716288326386170160991048360718900492583248548437692544148830325662126433728066150080554887256676428151089339857928479212180598821943123759894464963502473170315886015640841611966363582202742976319797636976807920162075264749142016,135476807026891478923624234801223118908319268680852571011223075961433712599863468858076014730603685383506066984291956188150528514029338340456876481303520176701914687024022868938536611670186775409163243957374865046571752878797236144304156727891957043694939697666265876120778573273255395034937134177553942326454701469991922839312008196536209087352483820761973118467899134280126706103549104153604099343962623291536491415343215268114188101541988134378235708309504,715759880342514022007281939587423454290542750329818380501416396931338971322280451121437560408419812903791926790334826643115718008664508713242244566635390793472792506300692462983606372584854577039605662455816345808540198521191418000625473901265803383648429321882128039603236171121707753752233132868630294150313830615138944046960892915059675139251611348821256548072235506019454400117449054738535188393570514784924126210076963357965429928381213250232816551067648,391535193451093104775921225060495284978865144248048600694711810573982806249039886098308793242044669051129403699620521677840843459222114673285316856727834238216379225738535676532776387596382845381405898374096135248977952593450486315137291283766829172659709517166452322970430390107326565725075529501773746758068012607901242620173298566004909082633930744116389036518970947475785817774525689954838023549010165202488833550389268046629359313073396464459129804554240,-3632767362900573620448169005597063746421333514289970446146043540169183195779588552662985477731273405697369919870177571980174764138418945422753103903800212071909701502564584210040141438026140115289240508104015406820101037463301838847475034343275738811280480423737982531365055206020360397415321275071836062883438548704721706825199443015022015602087816649192523405886861890246364228879908434323837849020186868031507871251631223762223948623585781496805158874513408,-9219908404285492777279336826575581685496941816490883449577725507543993459574118269630615139497177190818570245021834097264700053305452265765882266380084504907470575130071622416285965653125490531531336278165443037616175363619873797509763142912778600550709654245078533194264569539399097415848787473419174988856828771626222375486859131962999163533896571138186635405208653078064568087028501791069631984313040027369070155346732980250043919247148034103877972204191744,2785076033884164984771667506828633743160236590346645709194921979772142886067449251814798184953017805185743583738619159710233891041413546389210261055297410644518984717117809853679482835936153962750464652571208704396267683978130279612113597386634326302801701404512058636876995823646245167418173366516214074863019979263900920589779188160634534851691390071400508100822129318269835149131917294831742808253984644273654213078927424687252941332762065085413289896181760,49474077665737124022322576226332327612921643487701385532691797694335757093699995723118388023217667984838108209904084859192252822957225578050759413041895808791297797011748598143370816672720805118641441892678746511321956651763179103484227372416224958662092296293248191572613059224861685280778197678239373737578278230413681882781341470763877923481156084148907345787335275624276059989638648403726001012576913196370428931686275398237389705769561254344897016174215168,57384112393770569619315295343901294400479531323298612942378047737688223621400894745175185859656618183452192545262593052715771094541061017877713955967943834787071688729132389543297834672822701361123405223375719004452294819620874902419188841020947244257905475099405083390848371859632390101747046493769506774094749631268535143587531387364720700252578644864563780546275077384943353697744889748064350849812140677764996383407531709953139980123398924951140644574724096,-121562019662956877894843261429052408922755135551022900040598296787061138047707513183996290228468066113342564932244178406427152511636790045912195694963329025540765240642251377520195503910556353409994871735426718692431066934420671381972430384122347683272507193119951429537049810076024103902670237865364928609673920733333258854180957528646999890399992507504850690821409045631590534296408007866546742452430430372805042111108915929712948115248384974142961001540091904,-368059905871366917038191724467453395245061268596904494572378316633652539111757646600142252293260236192484052724271669687064342644798006747770367930576497637925416849351744254273404465171295944089232715760633801348465465461593876992733886944493557794754400000375714036730327322552035676462648374147171226586316900740766823176908497551936502904899781934849079590435578274944247580331076434233387437172361456789414637798615481406811167233713677663520707616173981696,-109258248920482264104179348801474645622225971223788635986012424194388849343499439312344016396879361778380869167111253965228548911902691147355014060952941880757907642189011466633329698609603817237878606139367792408208364358254548812503408143760069893896241788808123477705421331465615139771682815787173585551675522734369610504660717945955112701748413212914028345545384738630709991349007641736098026361360417622874926046995122898833955835106493201199818988524142592,1003136849173825409303141011596722433074111963118530684713791720545330457323117687338553861967456701448270205415983996407080548287889957741905251614501266374037880936865315627126096147781079802227484989084647380261694111549984149654187253153218386225783450344751478962189455721166120460160664178264430560163091927312150172985427236552254514471225736336044273907161487221890908210419315181078614165608700699317881099849659922566471553404046006806328287923183550464,2042707324986658822994661102237490736266378169517995884844221564604213995544996303564963465503315694722846717680703484291194889283037739771255148957798622033974561989657831217921492868521117432250588489409493095300791903021847511401385422058047750801666366995923112063593735682592170971825502620302952339471427171900344040687115693618609080603365840696478911882557757865836098623570204597951859489949457711348659318243116240667408401143768527931635835316975173632,287262711245647945122249907616105926591331484450748377688158369458140121526523896842766864946872977204876441120528490786776449221676774801500336902791593003708692244678117332345348126865953610214765249215114508933374031678161718664627085126232099014703354738392789324911541815276978087163999707843168317803904580924965026419306153397417650138723471390670362890598962020623243947369938557252740377701670739201811939523819682954166388290987128572628929821406134272,-6889761502393673220578228783411148966537169029680070636047806533933860219345971659020195892665473826261663329262632214570849485547747110963407121682369606723236694208041383537058595452572920562975077052105336514883691954655301005932431904840703378592890929217791942322296861239853667545350077280499538375133129994614557646721227833922263991361622966476214663215597444384520538510278546138603214405654784386995874615379804243121108234021059290614640101364477198336,-12882617419763482721864940432693162646696225093097369819410142327826427752726841439848558784381786536537338662230824961984528763122776510571232637594881549523428246236745209820262343018810014589653164206428027884910390111940531831234415087702163166586623635488788719849742628296042803982800578773899531857458732214579053538622095762635003890893234495068183123262105585405230796991047671749988282456883893714221270387159588365688224767007047703636347459887014346752,5254172866041311281953063029386263956889960604374509828864944216145640249452882981816367005216889511336145265181695009538634254548695818077405520514706153685332583660778089935590564869088481658581708166241188438725611753805659817441781064324057796764864625341972318786812028516574736890420116226551967686185886889229440260617293408118400099294898827876470038435375322711016640956517433573144470292802330104800454995677509898887041062852632636579692751665762402304,52343113575039423344838683128278876746591227940847446473086280516287073175636344458022495784918121444423724343146171845706455255359070688984297408813744565655320510606405621425904825262350250822384604074153080051897680813607496684439701599027930335069583067420712498413221126998129911164743852068170853512794342949501612782106854925503407259705297450309443866491115455333152838823276610196917031934753364478582891332676085404899932605742549505862135912188138749952,51565548972732148192847068660334167600078399138068065487624973526826907212769363963491304444597497257797309872595540947336175256753946544121449861089748709860749852717147434445927401456516988131510851464767256047696829054725706027067964465683413077936569773057818481644615883144156284595335369529801750211178116688901258618845991275446362466367843799090162240302294296871984131803488661960691120814135465282881068922279448340511543310491512104983823337273511903232,-87353460764963751732921197086664293047167974640541334172040761720725110402928147597242760268301106685048425630329567579545869274162602055339747877784066682747650353739133805140001068701379256863586362777397591922782011178494182524343811838270818759292281601682028704672410954438083980228005365677916670225358830245062957538384130072828241579333661005833483230515540871284047348137310141572203347908021077088188938381910626814756976407832652318511021775443533496320,-224807813017833909294640931590315814960752633573183006429636718965709617905514806367212187869861111381233505766132554314897805399140351370479138521959185484228086342722507781741795983240943125643980599520589714688181748282692045261650599946676036432853955626703616004500657313074959315963234389225004782238531170389141637708124227756587168934106451475298881833974835498107720592064526712698290459950839454584281173147509692901751588648858254613431791041964685656064,-34362075110533862572733397667476044292633629827149837306775355759383094763476650463752716244364338394423671340119943546520036557273162732263579948530598534280963574870877016539354605976353002633729749999996486058013591550819881508355115845946230124866668846921171475202915070990627900567880116249030409151459859127424725445117791934400550591361123753955718414214308134006438935044358496989390507712627166852247504354559480777997653771208457128884333704188534980608,359719643465121782704534958364282469319659989555979652687132388983782961565744078129880829294532114370479745095289661992929262515169836631374431291404025021671145561615115163272896623994876636452454884284153942020160591303094806912452836109876080548113860765858553521769393669223235280892915037026701196982783963937839874966171571181466750396660715279918563493699471967562944280080288273447466465648304619124918425409815337551986766124881747207714653767886975270912,213727014912494208297137156290292593296578816624479401404173468847552509031050693793242767251396654264482534352265608618640187284346306387276815097670670496637602508913823656646111974944707445747487874186683090786254622560777684034023058191691822420743414984451554730812394636441240040488415506156556216527024489072945877496816613033391661049076216547806539901311070255923969910998816932391147292817959342299711079448981109735918774456028532316111180259440965189632,-460288531465415977217130899274047056952527163232713552147338957800457462424085406181567984783616055984787979263993573593973409146869516991354230557458388622861742039016210255749795099026705753067356435755738520741553327520879660662433845609028961684232875200889378246711096648555339602281497439653644563660050188348179841590659987160845040012316029923626250407319430987175246093168846550545371218539402917814743964121707167291055370075721658239594398160737473134592,-135526257877382418127174946338416861779761479833428022294909319000752171767692894833959830143750991726613643493247681822858130675634829946982021183864940624750668642938018412849903185231748613086969455094364358827405425364182597626393449115608513933886847861535249231754528944775403182342569470858368546449854166669413686974639093857323110779549579578626723535025162900282427305592445984653546308620880579947062574065444169352623297042264584509860458604302784528384,1468415419572701988121415534327746031798865370430598603952031593523375186149813977126805598011120413145677788476393639914072063935758138226093294645096157436943403304505446864678977473265116037169303296090851000142719269842648610583706795565968653697155727533080313987142483087822308020902751046810203292418960237920638095613250182984317267310622880521789172350633300097349783898472923557041918755469994627591808181770809969216366508583455073038163729867957682044928,1205490999847709432504409904078237265221822183854063782789447798298763589471502352395496931992625900554811354126740191372024629548616851072584802087569533479406071905730540539208066152623594854210067038380434643054570582226963936717396102897151317528406361488236792064093315885457734685024279046093554207213254182023253686670509133704649631383731641917135266463332467483658433890180594422753576843618447919289871429883593093233606376608833353249393809290571139776512,-2291225278087714445360067191528150790241668847933084085723011999053023586287525342211227197491409082298314006296655244561880534923566424992006372101886021848647024854356126215685544926190622929030343117488414636422002060518151820080488974731389478734209692891444428724313941755727858390660990075199074179969002494372810262189821579510378535976039640992921120262657718396468245750969256677956760852891018428289677520060077964913035638459780606055211268206858348789760,-3645300137024904646375344233631716772869385397860637710343400868906956273027867582290672591587195605071410525510744768797472310284308471426094322471940989532071148700837063529180361953993677651131138143209064667493409044127542412411504782431370051525710684738848580194100173156800378128137770683295012864107395744489608570339427560324249019251145401563847637935582493386127503314855174043121367612153375767864384510594555600647158495036453143766510615626309649301504,702903843356669962511307881348585730321267654423675672749960718886764674015104374837742878179080925657242123481745853748587378936700405361999138090573747669073953297982133846555174826231313525021633110988416138443017609200053626710002748295739080998812044864188441466914832273913480579008222134838968191119073745407392704252088857323224964674641682307252840118973093107668052609717582002757094548340235635161379911003735356398794897816769304874072038609852341157888,4594849826066502538169473334236079838690544509856684283898436766422179690727597676327240219101682743578807053562033717660575555435687451094254016531378179032389896478435906487143349936941408507622028963158123508931356866514662565086048076841131336070168123053402297399648723983119133563724783251699018518913028300112312113101551364617284882318667158904976965730066222415032868755132432716032616499748955850610317891662193428004504358181589654613094130432779986403328,2492556622969192909628677421002150814706835290329719965542181541682903389893193194137475662937344914938115221447803914980885252114063457632469647458470415720314956206248172860994319153044486206663861327374781812145349857987615206117973346650645320589215456894649259315427326330656577004712201182486812153512636779742705923507349905973621312237973761098574408023017295786549056543768596621703447291080751720697658539399715774780147728974382130274515018534882117681152,-5842832358373001084424460392771663313103889216890258695314020440842339274137808151946336026856581976311248794877824075335158533986966095796056425810640919804015978799292561852792897050914427732173457180095056831700213614003553325812604387991922124131544721370204917626298957603842016719893992503590949052880325924784802820039911548459947685288814780754285481507207741339497328528878806888810690521559540665143062495242299817291636411533418214048242442898631188021248,-17696153228320803467425859488982028169186337542165827177387848601408026976763933269696502345580442346623319997884143959531250946984633941279385570556346485886556371045067736103291338225138612039308004920928480986494844082261815227781681756822370640609910930019799150195242096979320078787649085818904532839219884583551564507030646910130491556301186701822486141445210318899203946831060271807040615348600745860251403365012804318954131275815878828898387547449222548684800,-7584611022681548108102949352337893097206141451849052589428471558190852992256454479600774725663210975810631669936898174544991978890073969004910635265472205341523513042272293928675609783872815188504469765111116085875923701875631624462785201801017779458299500603107691554291081372615906318840956596762864925762554231698104995502128987185584838163265032121852170839236968375660169572741747401420762399865303588856339989991975886261478364154910119987726825724612200890368,42217831355728954994035243796541989833467174469791071784894712293621221763357323722531525515344333902454342145882823253538701589571056849701652764890023510846835636200876206974418830745788211371656497758129942101188012472932687438772682120669481418866879825100062775732307344601244783379734454620122180971633296300325751324149503839818279067218776453625081683434073137537853035646472582706618636236542833517904124391896862793555500693781661432201825448209265566154752,52732254930700690165633943194796849684212671086484618226621714084195002697236256949273072584083050506772926069875328254955710053722516867643918555912164291437289932460459027959885328123073463644597006438408600041244722808964490229714186623480552121653629454629125021048549175789584274095588974958681662262005744102056100557159991696908631220017866594489185128718535567602735961007215768302015783530454812634309533521381604670644963594160950920737303884403084569346048,-49548147460250418555246925702988371552230176966513600493155516868619987015295602958211621244870716075817137851650368160372126252143234461022101135332180724949007953767559402402903711700293914696370614447947088802660267983161644141001721154917839225796859893415138020358526122332736476789977577805503825870021402713978988755752276316084359239983333237091868892784120136749684259096732034004305850973422692058236955650248693617274141839961235126329161568827848773337088,-109989630389422858228413184474076894367535694979178474034927949056637893924796124058005222867729660021533694121144555580923771732679077336166518401055839564930400011287263653649751008917277892520290546391401286224156055186262499336886316858592202201011709203392746645775689983281159307082844325978192670062456066213112629673282850509099663681277919637414022771209689417444744239364100497494328640251860995097069193364441357505643230852724456593129370596824870274727936,43862818475481995282449720100139464612134650432246356537123424112905823587563637189688581713235103464792469251015079674161140099554360545317819536453131256749265188543683302351531461800990769787878799130200166861680732602212451827220075547963604592355178813496884392612487683029764260485532212397186764316801332997500365579552337578112028870892346027499812208041386153692640007956784480507121098702190068588093727202934976730782635398005926035542318727089779183190016,184029014313172040660327370664552666427042503651925646751697734082589443272088217659733147652604135953472915131908490198631263765888021661003380228309593175434754116301045361620883041683478464493683877865233589539740023935203392811215342526574661734873521960732582394828920588832318421542986742027392019616753335103063248158166116015595061535797827556969874770562210612090150960117956038296829226359651359707899430031251991356981917303528065769165282917458338956443648,10132212057772856240416455325959744522929207691136812202877232416500221871228215395809671666566831370555848354068498081323642959095382026609538568568800423371776827736410022504711620578849590032374783154031376056470535070509675229337081648020653532350752061547960216776190992533750075099355359559887773086583088978606526562079867916224277790246019824365592772199919515931277532259834591168658295430044370505716683177313391277579410992701905687176975895284386480783360,-212995073117615787923695548122333485067274378201612396619712604264814494903937233231718412383703113890936095750130069872220026197850951616713275534086415908672539889697938767046523875607528773724870082929497485868922118796017660714400301242283369928736277392941643366893526409895757149163940190117472654306724174244495661575239152823004812667327089432585545175560076859838771980407998455958823452863301023913360044080184514099060973583915875256297772106467932335243264,-68852153172706159064761694291335318699786573525539332253413347332075467232925779955043002050832072143430170770943778661204379688276855695988408887413492881310796855686792723363963227985868312600539645722788023278600649321661257173747011245447569180683154482395809492052556972096665361740236995660956314142315924709220066090303656980259114458253639873651140593350521149021049411730805134846253776713508906698176380630696709704903046976604835750114038436738330578124800,195010572025596006161117164700480785484380817722676865652945735017483562731484457597898218211597351302767858296912529728828060753399175388749330165006423985793743654451288340510370676095755018807967796436936157103420486971278374065393468516608449504871438012435286543834099150203959427980313059676784038344485464604484320329634019487316273593779039510593260648796805751134573512730343832830696269229419323645822161837455743854901985284791362119759114787367761739776000,100813504502953776228720669245426607653304638136711557822527752595779110754650895527661213246558878930062300506962178673119108252373716355455147066322720570378239398470789255768840827185827990608239206959445523442702727338821759438159237597624518936166344298943028984411788264292673109794504758104952663705225142381248928520830221875964885954478786032136794858598247413501267456365503720491820638540158797498720457892238427136634779090482949179856013427221908726743040,-166474764223843044868755592567543207041799602330043931441180750755610124912886313949421580565391313969934676219158934481070617756798243543476350647631069580229185672348728939503225122015709577350950610646325054488118182607430293781203593881961718799143729605507812533340963309185646057318002898567384647545491023356319678652155993186059363460895238764246057002012471891157061978077105364433358306641301563566832052380931420734668242711590601151095434937700987544010752,-145590332187933984768396154108859908589547662562384517396838627831060037264388785378036321501065522069141474268710638366944754349405230171535577941960785608119333569596463046942264772026229041130075707654827036643076512139706764407597531704383372559087749920844030635499962962602262144589951712770488634429840416555622880435336533426009102696813737374380815888496459843178448827098616698989522484388297897392014885756307494489956027859535232810606490956331991787634688,55245239470386688455526468453760712977156674343969054340081423848154341274014312323263993905099130419161868387162318985513414918984671734612460263723013387147810833976000240447745893660346150208109327462953959411911945335530251749458722840277637044379193381182334077963637166526704153050456651137775881538851372534181363343684740331376299802044318293009693859961241993279795414157025718414349672498736465977827745794165905969827241095021162674853827712965848936218624,60705566199798650166138160593397016539567241891354678537108948721713292326951308098930397392025113638374890580693974583405382023296816766785999104741723286899950799063287888183204611983997702915565085427496763335278590837345480951150329838577517888663347561397459190066878047843328016494560328487535676300853473025809162638315616059966877107916223504415279028178936467618141982456586736775880668786840993157252778625107389650963828702011934533485728047268596803436544,-72027697630440611450145417574626625424910535546292577885249334114969835417565089132984661767665630484484785535433452324548337331644693799137499127346658546611096748889726517512798579115311725223793387564995457854574583103867575126372348739504131907330351426391737573171412210918253587504159952947549599703957280841788532919597230796921130424176390634383609268105962797417440728516793694550096167057011240852065683412694839396649848222220235304085967995422084465426432,-70109865815472025037400629780883505848209256118630459922771249285594569617818273341939155979147868149543463345423210757716771467604547355387931486174803927326040203008729511735734568110556193983886303400864079229375399293365150833554698553607638337307402505140848402590233389767650498237832939111665837153977124391140425379133449133150703787046096720188175512867149402657310534840857199499910302691222519040661484550177240207895694124741896266801865260773377327497216,37057526544988933612129372275627011305746213405792308412066191914091276071916553186554478559056734457982862409962047814321595166605587382778902183432915085416104756936858224467215613957027181178192265327712498150051004234896986180225626292990281471933588873575651894548165226421788862975306055144545231897013313881610583283020616973236680530158766313710437349449148764487074184537485374781803489652498559895909183649190286700212572005264564955245389636898131311329280,59672274514462608033418874501070279995903281077483412626699108305672832895580421311497482417258374818796843809387747264783435303491162399999770247879507944076268850730557469017316367922529266436579135359476214311318490700396325770701953983000176333522572797248571854820080718695333238214514189737595444262622619061583304360923699567553344644937650896949054522136513615612705668879553476375347480031502030220677608357889211537066657844296633231697421466268704807321600,-952669242833079687669729301074967956671542013552397551560995137448422441454315633858197387051016386521585044883622910083276133312573535633601457211242767941517207587451514101441502497181621391887163566626534873321006601828305582316647835257613872079376931164522405600512275276182148363546191681783149759974971458723016947116213038692434942217630546465592297997959535947904555660093032411906062186565201098817560275482443813236377056726341407322564184851353866076160,-30733006380453531842312057295036453852133783692592089536154249065001144156237541819281032319979856362173377514537460727308945304927902198909535609608128358131783974261252141494777594924544075540459279709867826137961257899015244247964042801413350961690478641791994953270459284882255874955583571093347425326144886442756286781857416787002603347905072555515537017767702327063804419661395769591677610636590571350188381031093648636320900838413365608497260560398306401845248,-13967360450475420732170116345531332687174065859445799205489611796368327613475630678620772050601153630848732981375858555484202181511582553773673112206389656076179831778693068000006465314653976611753449405433340397487394984984816089298993064216908743439827054955306295685640552422728400778947820888185712255693702212604491841733697396118819830202005186901760419110105841003219129157828405342379795551324652980044779789096098213978902408405117663982473855168131536781312,-1017085308379077453164087405170471325373856925815537305746751775250342623402856612432808697425914188033680783779109229407316690064381052587554751187749299722908423719567852839916439642015135747448272862525167078705343858432070619062356550464002145596479759125722707995076348850934063773342263839847364400667068169297465777571320761184557813357158541902487835246111315038221354907235196046356717142489349451906102029713732440122252812270550435508187476851546260504576,-5413694410481688946168341347832400178821544388378637086740187975213358998600110965490248848277634444338646953613420612545597363897129236817177750660735176185490360629345286319897437635796168360524183651747346680458729271106454298354848023889691847721584964830975071121399257464727361533999467959942907320620800025872669771167012531471929747180917991047809067285997136765974802722817359498306993410246011397425986071695382635940742076436505582030799957401303760502784,-10420117106919649454192660304509599605319105977982940670313742909333125362454417497124202057215796851198501582168060136282861191645139620061520078041932612341762557005306313011705006013828785208863778419650939137413142134244512231346876266528329987577516165572304353192552078330354528610049426610015803037065572674050652726426016763429255971901559715164116154436682484788023927227142251251121818276491471978666777555337041531251159159988890753003206986131859457441792,-7945820113688652923647362318675743015988522387733497363145033978525204229250471143998599463125810789182902671396784885831971380233290071481659775728372436046244178787384675033825838543671626768001887845667471762618522672365660609862629940349212601193841189188584705747873935607530102746404208672474969280818343511677821554840275488433148889982892453314403858870036341260974774739039102120259742279925183385552373326943559145650246879906164906712938751334419882049536,-2852931641766098191450434546596685514754703751573667633478494393324148295089179597602974543387466857066462406441047606720006527825020973707175296585069374073598116221825510950849049002289113368093508690370374119387535763439904828470818351072494768530520271549869184210832613803157101741047246296443261687085882075779611552238906813226083913254861501791198072312544731866900024930436248024512012245764047767152361693067790836588093056746129518244319164786449259167744,-868818615903597020607233750040603372954260450585359057475044768607662189779722155813573436204944036969679709315086069076328092160460744421404085446393733119608613548026133606885323835049859417081205503691399122693820131635450008241638701468106534137799845925688513259984282115239019380319904991544999293187724194119726094233963520244000746137155908968230408442144418280324022083714644893771506226103160328144375067640891426862162388664772827912581520245107640500224,-1907376721831385436297953514562447246194639212702862805088819531809894278575358703065958234245707538584988164919382379351383640591007678320258849053325208754035308389093134008982108843399280091745064876275088876454599765277409644303390474777665613150393955171541124701198521842584737009871623394687268956877420802384614217665409247569671139846980425404881372237202633478810562028051555564758385858024970213496774231682333146418818225552605241962109975466144547471360,-2869710370878284026736548858963797319203435896632344293578209123036787184629977999567430876485364793140604464904308510394590685508259832517663791159819679205583069522745267456812513727952325678175817929205846687264502290564826661935518909099650981074195800101466059243071221554066284555002554038747560417924894721286530373016392298675236330367385713583856694845636477126370063439702660806105961256293013320207729894815801302692265346801445617203319724288563000377344,-2451264501899404088118966925960824202246866723547638860550979104498311900765023833657346434677297524227132035357453879113131231051973484009878010083627370353220193958219576492933519628457457677716093815228282915518158846393657217673700460863314327394953532340090067628062715908364398044779990112819270526031253986878493528821933220489564531744475446847281989303820229479813054765227686456232800779071603648896167353583128185360460264523468013000189021987292082864128,-1467269378420167561042292791536503052161255469779560973258160469018755570054774292955859873598770390794627630462271882566669194360294046542556822027424528173962488581457339979546505436108345005004922574703572160672174863993169632011746750110117393056111136050805363064784383658512655477469916498947924264269198823897573841819798979939156923649843423189500879093026500356740466891635877361366605170100984265430446508296775048854962045832642616741423611864673668825088,-748858902142578546328723773074727127409804968639507233560589482148761033421289557536707205363009613679891857596966687330491050575339168077556294453676199729771803228431336415075206724935634606779998042696109817768975923363370299649669736948207016141967701311510892387895577143813144401463482269803327341863084514632704475462385030028344293638379987156969425232403646684788517742340177405208233036952634586072895843946323913221614497097175556712257618528656726949888,-365583259472425814061779721600760529747642104580319910101948292706124067086974450104370667449968748088580095341715661078613084417067338729585551970061839066088931779406395518892594211477508920013835822076890743186398772868996809128441828995638125736390127994625309977074069966131371348506009410807884351702717625701284525127880003813079101387949634270655437942441301553904454944346117315119139296857990553635546168557963797449972078594006082939994413045050492583936,-144960248327913941680833318035065691478256298285523089803533717980014161849049310616667891712574992122353964026934335171382331619838690120840227990601376544648899862073161941868381196027896063851097918998556426347169106535893569548080833583142168204538399430203781464960859938587869111290733626128380273244506769427373331486358421499231120318254679937259821205906526871023871592849213259199569167148907425703686573418022953994548043230561571244932259295045724667904,-24698048164063637186535389879692794809836517841737578872777849006647961911208850642868068320003822659336694998400099740924870309019132939610768535997453906212106255078119740586158505106737777162889468375581803534461402021407084994569431026201602378790624194461495375718049818853415041315704930158384374884910245851607120318541636217257703275711547112721111501011320925369274551418764791160986163372121700813650203837550648108682195087919489153170690936446918852608,13637321290882933648436816026839254385306464879637365364665914197603341161464929276371882170195874537016037303502459547399679316957520707881887779877138520988168001740804087652457746279529404038999719013777161232212193969069410831344988191193256669814170728753733511480140219514752921957605716656089152789460634283819172908809604374706910959114515320284774645304593616663977328076895990604952533879800911681973409584120954685031213414239778093476726423647873400832,11693312631872295363147137920499171585654974654705713208457695203414275789058091688256357699257653168689664207370734827630642725191061826780630133376943640157112968303377362072731283381549034122179374650889771534726249614973203972146017680033111577291202202770042047188993456359209712226692879391632474206703592626442381794221373331654257849719785968388394705976553924649705153771022006584797295332145524054748161453164536436935650038091919341839287918492490137600,4370345274514353425819722159195937456584370006055950303799395408978350543347756556639680048847774666478790086920122293979776572502516797013082645704494086150309274261350604535347378382787252631153661196351397525805524691723615338792956593938329896774761921332945324577173374596413384781888677690681255964094815288934412917932489621102563261701472274636812552053464186729153770536939750896653620827264021633701786157653248624351301942647014458900128369977893847040,1270599143653490507094184306390655340506345614413829321612769228711375235203469062219202015982685850745436292854749830832487804737338209716873791160309994552207290299173920583569637334200584714557043478161469044181128504189384449754664927523095341207690999075285097862251058380853882857566776851921698605112440116204218675976212210561461941599201885998147896159876793782658785847041016551867284640460263956145249504204979993334806552443386660559747606245353193472,385359195175679789202086374801205596714361028798301180243196856767150409020426685662518439883476756640458402709440117877641318027603462994256649044780555045201882819562742797236009198356814966944499511420826300668915201203289370121587376788584055933012901412869204814259856334421564993676584443747702506131518604771307192861638571671829596527152088408545272352480861878586206975806824696066219403767092652849158203851094506435943879673608158148844197536501596160,3561847833089268827417975615505340410848722683583407972768203242223157529269738152025806178616107240113694665972850742040940569582253790751792464566421079727533653668916838134804622676513740897868428624949154575356181514281215246208187098212586066430584015510239665445557391796807970876691364845164758563872799967244792529166419102551180116900161328703093406718982709322672965049417068275193404080086418045783614224353719824313968364915531371889388682123149312,-105952995412618459345231194019397519732855466151278925865091870143503310722532728310167063741915688095590737456819596229140084942055311929050834554203614487146761586776313053698017255317932105164455905744565904119039768875605007742709235176809797069468123478707490956905686904385108462690648551059829597696849937408125740052343915618257876804967620350495391515600877434778079928218284188815694106147704013307649783114720561156301030936548650776547331609567690752,-50819349424366732052970881478532491555537763313948208298817202498919262562552492348349728901216412599993083766743388347933722551766582918670613206604623381524926457229041260828366351635309276127916699898974156529288541852749625593171493896237041431780493526220343193491700798372447301386577204849525824604235134718190726505642577409913596920972825851775576497272531150868190452898195389998905003633984524156650398970181161603715786912907449821783098098387517440,5093174930714754053741979477013288587194778460167102027090039058920063376825103361113399098034211139613379069421080687365276093816315440591450449054948519389212551064731268853330031733616598884334623859469550213502839039738986789669898374829819801117855117596627184331267992848346350573655506140205465587867578711430677292146178792401973907800178391620194800681710508942119609625543374245584672998370002305118119457726569769564841559964468094441377332587397120,14936168143658961894524797639604395751971970425703633145162827007207657926765134667170667553072144369665138752177997294771887517441631094891819437242123630783774682913078930158769683333881776943306807559846815214357805571391847061910599725447841836938942717490745447233039135557188389834954185516623846439352682844291998092962962516094527388567829366836848982993971217250566544097738935093619683791188029731684995112920677055091024057245425698054808714472325120,6555887028584778418416621218824286924942266494803341851695780823781404429931873248867589473478586098655448022355534587638354330461615345513231332370309699468772089215370169135159359221721135534278892413275957777749743482655837491565979934263372684511712791876195825947968896829736752772202295747045556498340941532515875834907411142621535461799774602000339805307419049182081587899490023795574876767898285604991722225712821304582340542097853888519064245506146304,821875126796875778661642348258033569118185453684311203512721272018555337831217091173622040351836519396157414739408592736185776109670361714855328325840207239754070523412015775952521126151307385817995442746523210837059676718615358927511273845301021473742831554450508517786020451708274189529811436571413287934507589160302970780921803938519046124964856085530856698005490129357455622836992038414434442225797957277855318491910356577268758588054341136120412840656896,-438060722128048636434441260254694985720071847282104416053368685481860611431619208185697909457123769443063957843633902002392448744639198770849110217103092748320426365671944130877393734963727428108485300342435039320319750898966578645481607077703843802296813554351206905461498696850851114427262666120239986855362606001449787530670253789949354241673194036267880498940088434008195276579878331991516971785252858230048699852940382456937005574573396580348771434496000,-253871266569715035002231052446325802444245407817318434405854363856697825432201109443956227650959184694956979304867119138493744937410589769945563131357795459223930715276231789849631619470962220288778171029887636108243754361363317039080432341651797625376041382664999415901559514543945186785605553136394003606528067206990751097140435310315366976900923155107016754054761906105287280305100866153018669868680667149097602867864310852359866852078004404976362574577664,-56241099024129940268037017208397718615036357740625377062969511141298324809222311299696802062235909889312671569475522941310654000124678051274356424307138252432070259810639845905524222197294739506473458879005087652474993958293061246218020852752636022975378174605806762506685451677106962816439084269447551352625142610705949836977547401329854894610999059348369683135500830807565283538769455401467771605816291368659535838256368255929326454396783814512078221213696,-1351204066862821214032956591371946442132977592872744469342821020658373915694083339935279484101745118370486722593694844475250534600325614655071223034217778836498912619710979191185068478746304548935867709747982970463957468235795411772649239265613521018763296965888919409198495378975059936552572972821774897401079487871409989232220958791490433838614423875753209956784017586090687527392724607053298815670337432458771220040543095485703714259595738479066297139200,2886097341380587710228779721812601320701577447334897872624052924131953431639399678744992526684702295972353541025506188105581161390894542866817594166687018847030049445543190368921349085899747092099384163658406986971864903848014259267488536780675511164526557795211952398355746849970962652985778444372935670717818413991825699377964305501802842668726101915747195111782438560242026428093857835852005245796933208963618625235956380246139558639700184735147079237632,916258237431330593151367689191582064581463662930059481144370905168658304317035453228609476773879751429907821800799348225929342804502021511227599507961733359627605350590096986393067340430235270992153798231150264014117338142809056622095662783715096561822751253405365123242625472599542648680852729973382886505788204815470236836104439251327764061863728736043987068580464611958675775098484771643790959226740017839584083089772105705873459030066934099757095714816,130962673142227632625504568596686460856420240390346645476944799394560890101342014204341617403020642585954220244253560868972632559207363954490592735263183928955871048389235953269247465519965802652639698336407451840830721249861066845092132481599175733239887628681861986648679093335764153879053604024574655877411241666168334726948599110767565434228733782225484410130538517111363708552572140699725657307340684243846947279476385319532878363866341608302802108416,1943874697883829665580958870974756886793145246548686161945739395670538982276463513646014366091068951183212833858872776739919407189477746233054333590108838886545843128674478604345796475914226723713480356894172912799931823287638118223030784328181492887706490928383016209674399011760703823134562309122540234061969565751786177509243769102736077546806110243782069280580818586313998578406734378693843782955407462854192449061914194213161846929575180371287343104,-3058682746184567871311355595683913523265664790739266351611490760167865735580061708772497833953091663486941098336811445435296870705760790642040856940768683684525434934212175623361323094848071867053571099448241131022138765416294073204277555891187449916142595591747781187384150013107969773230778993970214794404489207491630227433674586544894525815035765363072430835834514627358682198980201632115814245319403862517367029387069365562005976980457274970648608768,-649020801283612101783078377811670793188795319064605778355659039172900027631596409812815436345555814239092077654330641632903571673445257310367942578156320527754460541227402703011829482491020941998424314298345432091234996620121931619005286745342712049461101755393574576240312360228809297830296381977376614236694858691115383432410677811515197707190935565213819183484824431957955895772636882497913204948312596254704786511275733045853942813958459089504698368,-66606159740832262111582948433565264058178097550434497816312088122774095191350170422469729044349785339182985616647276623972509088507287285077218209437013082022217440015355401106223844060082435084642049085033649364337623607417284024217148868504566658440386218913876799160392221265606690477390560627736436630437744212658568694824824683905559500443716050268545608160549490529437803189598794595693061500259799613316869032965631364180210773013139104288735232,-3943543524547114758905006908170705884983077982935810946122122543987247404320151682833363430260545900749562350901854381610566932030296131654352924175850284738224012669269810159771259874151916376991660966535561782221470403203939916971422123915368804568905254324190672566292569402852832279442464764097274595436210816017043373486169303091918122835228457982822226470975697558738264142398284172690916293453322452047029386535119723742883537729691413064450048,-461501922130642539168506277390041030411697828270554284840740906391016909383864474760445006172477489607005000212520142103654024920613986436559132370766440315240483460430593303178743848984956509199064752750332974835919663539583395776497662377599367487334769569597083132932824548126100550144465457696062127715673957021735241244111828615998061752269775795441481640503343733018763906419885463533952006013892888415288645137275711788866318884471970988032000,-122678359989563867152578503914486564695789680419704733549338148227248827712214304846721384281108283208787202290873895406175398497774391191407307181842748183318259306126508833393214475741291092256187940051950384860446261971041086864719121545383339990260220477690433161327448778083412635081279676676231276489975170946130771174809644488601575857759798570240839502464446859214971705149033423031038941638663109396298888212232492672720542109437944120999936,-18572579048376154642406507552502698975917896842206285200443861782350570510221433966882166429027762724249872004421450670824539060595264619035399594893396344178056245208164354454602963554115341702340377345381573417055146836276545327182707761426411053729942326932026462278262889649962717259622857321832051288153733680074042194861045534434917679352681771961360325870342067881083640865781741041696196243689708929205561110118605261605327957141206312419328,-1221918024860746755090735237542224233831411931925603923153461800883061837090457143473658144649543209053378268866347595532468882083298856543736306986473313442131273814187421886954809077107701180858812391368630304685899075161187681034345892383181064220353614808120101441452186258749629644247395233627534773106716621534084659710911387999120802799788753015266003626484189103268822083543772765914300108474280842480131054055253115502239966042683584020480,22362210417614265896637167454652146015029604547118549266236935512458781990586229772828128139841058937867326145879872576399587491661215147010793295064402679366883213761950234018018099756687718034975902438862189145062212710932121966633043716458189871920696976320251439802286599494428102194312620469627912108325106564280794369488781800194349795880605633265563562766111794254605344833099284015233666393008251262344889138954751549070883016643365044224,8075925273262493530214464226497051724076072926493575592202468114671685058961893605951603824556347191306829499341282442456156488589283967350543597956273350446871038911111016677615569459394679050981790809340959413115789197892797705970316713148607659367206938568860560115796838263636845073059416144913800472020756561412524286660337890215063229608845082121097119933443453237843129051955738482008424878661849390200835392271958765004060142586099138560,169798288962810493457718133136788205256170622611379156467522163174994512063530841468892933567314526684967509803111873500733015923979972773817276294357928749375010976300541976807803044264376559654316203942430359152117467617804445394830749800610383572997099495853181390869980742993489979179814392692657163074347819834539334927989071700011377419880491844236267635749674891998697991725652854532913696085051920063437005540635369031370976923402371072,-33880162767997633418688496125862006479651976717248168929808849045260033586149704677262290651619786976968488805794888236382852902014672908851392327271069373948664214298380939691607141001500121359157373284966058672761825046282437334845648637364835993170069776414038554029222101418925442372080719241599449129034505529739866941720282625261789878650998425344877764975776290859149885079847556954821133000113882828855341435493112636735896330191241216,-1087355567796526628043564290163649613103575682184317742157346078435167961992977927677108311344796761388469334008068122861672084516544453421902459220902556896085602816462164459932478806129533792601496368824687780096180991480827461342222293554294606166897398697855208915495521067717161477742467538361548848745957740089240181515037100646756256380399746774946708707249948636813292859675047393086900728558731184049914780432639606150889270623076352,94589060283469697898065268676056669877325237199411155960554303151295037922445629214745124898739671060673824210645520068398701035778678995819139362998812514909520008172485890070897201680245777713232462470626133158944038777177243148503687114139357321691126960425920570381976985096825133892279860078334640237205212292242725204665159470692099172530733931108708385128224178044891087004851426652450704177288257112035393680366398713627726598635520,1075292153380862285473033295049907655876919128810433643221494672472225234541892319793707981621918942951629763989043760142014317964235199448235378197298018438072708596252028257063094877036649974085726324531292914707667700218809920302995327216822835248840371600207487091217232533392895443284242043342003745605034589122205794052872325158983136781710521933322973774152940186196879942819691865055793764694089309496834862493690882818412334022656,-39730578243263402022619243393761974751286979670022453663758013873494497768576827169897894711725812034163715381753873652627028435956225607997524154568472306444713908569329374547377209417514619366676812158441108619443539514257503270248974492341002840092797279865618711458824237843470578373150326343184463141412116845462468994674565622906385356354117282479033928912912506273978443498412691142032669042857421646437273161357901254865092345856,-2077551185302197844617077492648801077159068572656615165090984020629333325481220980049082310506835626039233050971723729970271534135020493377788862781794411678724769395204336936368235203603319668111725122844085357634073019584685135071515581395243111724824662471071330210225282415939990271029171141110021598667984004014306453069946876243201089417471064857140776551229114505405341181156773731282657035785294110284060171690383493869676265472,26134432480627615363167009118657147630911459468687546757632845563989259273695484428861492493358139205600184582508957519031131565796735318951760154143492212233140080372843405907249382309072224465970008974594731647111466940270138205572822303146824820482778372800660951488554528743550451151402462638151539620736839396490230000030138856246588944897167088888522872393463514154169986204500603699543263301665950548180575373123606842682900480,447287576788169288695243094460730097431573411435932842543899667006302022850830289705129102876990104578317221995015216852346159297661157265472394660076709163114443963833203928881743440686143718842209572623692059964135765155886822118598332680029496639474983249986747208620446034293401301948418266717183327194505477205703673269728699285793666942289947262100795165844795828605482710914671616596085003991220539853703006472150843534606336,-7220126595087353226206857581938728277507552939257152298198672973070326217778760520003951178557604080682657938252517682216458191833249232503731587289148919957392464720706040241562638104195322108504578107422581195432017717890463582915300768477467135714572081268374442022814041933622626963512168088062410485443923476798091553632795887535019246905364112744070485322381078745211491463139260009897437474221294028364329633698338498936832,20948172116787679980276148816109370736537413518059748017448856870872037014187344706256409037110822437601634292787291515447068962448726566612119755831846528789364482973821321156807209290393374831375790459934098239401232109126129311269209241639666734563396848821927471651572176834847022195787770242117542452651287745566876981407466103438750077461488938113150720198549686268964617868720642032717982062925451631517471016327896367104,35743856908921099475554903126938988970942357773985098826725830012787521754217004542797466623179439774662653758962727705557728628463704927764268247850218478835667278559139161682694042214405106562004722214192137621113391124361221953876123231544053442546214485337996477046733984045928362475032602973925531043620571261089594246758149483225391016838663949270013435784345811148577183217784061312525765002354605661885858840290787328,-8704960150167213462270501145842306266937266776743135730776332066183839618687013534233843040305189012092406287029001073063114811109369411872004130501972689689104055313929785120960466568208816981648889622600411255614901614602873004599818594012542430049811625934769056521040646895615140375366524328341724390315744660602745124187680728989554885677496050698829019808161562596461814086124099224657214468629445931573422260748288,-64945017970268498499181695284864665161887091508674870685619160275867119250378777062290774395300361879086905332863032962160670808139117912313796480528906908164986818839009004439198395322021016527588758924141134556957911877516018789366358453970016251990151412528649707142335825272305014727645799114830001531896987352955048385982289035885279505552957020825977521880536835921903127624925160740521991685409401146361163808768,27021492075650243325601078052975611609661532397901078275413856724679313689243442476801880143865779637027445746487478319850421341864285474378322940770886271864347521368331789902976191656799976004479752388583308450992709941051277187079215693116985494325338887055968192045820344913602531312507971703035075234825103205253512227357587977091132699314037349130872879205201714018756734057250829728273291631500910837270315008,103684010866533806289952245983461722230849317780641278717362392845579251048138248441637636481843996089193317704799607431809433535444923480863215677570187643903692020209143057746685292595427766130039797865599280398595028077069065188595845664991909145572254487582661769268307991310304478580518097184256284157061228902607424541866026469358448977418831870278640135868931760557641118522597475114767798154023741161472]} | |
+0 −0 routes/exact-local-maxima/minimum13.json.gz added View file
+0 −0 routes/exact-local-maxima/minimum15-polynomial.json.gz added View file
+0 −0 routes/exact-local-maxima/minimum15-real.json.gz added View file
+11 −0 routes/exact-local-maxima/n11.txt added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +0 2/9 | |
| 2 | +0 2/3 | |
| 3 | +1/6 1 | |
| 4 | +1/3 0 | |
| 5 | +1/3 4/9 | |
| 6 | +1/2 7/9 | |
| 7 | +2/3 0 | |
| 8 | +2/3 4/9 | |
| 9 | +5/6 1 | |
| 10 | +1 2/9 | |
| 11 | +1 2/3 | |
+12 −0 routes/exact-local-maxima/n12.txt added View file
| @@ -0,0 +1,12 @@ | ||
| 1 | +0.115353822880684292379795267832483253664723477050571497883447 0.000000000000000000000000000000000000000000000000000000000000 | |
| 2 | +0.884646177119315707620204732167516746335276522949428502116553 0.000000000000000000000000000000000000000000000000000000000000 | |
| 3 | +0.000000000000000000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477050571497883447 | |
| 4 | +1.000000000000000000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477050571497883447 | |
| 5 | +0.500000000000000000000000000000000000000000000000000000000000 0.180551540264323688817323281079514069763207453810125325438931 | |
| 6 | +0.180551540264323688817323281079514069763207453810125325438931 0.500000000000000000000000000000000000000000000000000000000000 | |
| 7 | +0.819448459735676311182676718920485930236792546189874674561069 0.500000000000000000000000000000000000000000000000000000000000 | |
| 8 | +0.500000000000000000000000000000000000000000000000000000000000 0.819448459735676311182676718920485930236792546189874674561069 | |
| 9 | +0.000000000000000000000000000000000000000000000000000000000000 0.884646177119315707620204732167516746335276522949428502116553 | |
| 10 | +1.000000000000000000000000000000000000000000000000000000000000 0.884646177119315707620204732167516746335276522949428502116553 | |
| 11 | +0.115353822880684292379795267832483253664723477050571497883447 1.000000000000000000000000000000000000000000000000000000000000 | |
| 12 | +0.884646177119315707620204732167516746335276522949428502116553 1.000000000000000000000000000000000000000000000000000000000000 | |
+13 −0 routes/exact-local-maxima/n13.txt added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +0.964767763985652290733672818974108279720004724644577344108553485624412242427340311629814175 0.087631131275386437046177946387418919717055983244360211331652929327770418643140554917940717 | |
| 2 | +0 1 | |
| 3 | +0.896992264055792147224541616071098762002518431758368166659889425055046330037837373912773323 0.902531190186334987380130059713085885676698066853473410286924309265031796890136459415799657 | |
| 4 | +0.76136148469471668951159753523989737506772355048854429585769488649905266013435945833535446 0.441984131915572387750894743107025535806888663443278503710370985721467319646297945263896299 | |
| 5 | +0.655287738105373389897543726083112998653760926827008215824734304588550942499395482806669131 1 | |
| 6 | +0.748535826963032653875940639295248549930998919113366210375426818703192420006765979811714833 0 | |
| 7 | +0 0.099261701153731667608303491256685649563102421291124510753521551226569192724227251016967608 | |
| 8 | +1 0.461351460314331517477660805140613102054789489382185494395786045342044338921898007066524783 | |
| 9 | +0.328522986188697755245264912697901302838264751172994250697118081516334214785725186006839623 0.633306592733027975873690842213845786748941211010802928344283020233212978177990307740847875 | |
| 10 | +0.087950516283685195585980590849652861265709242263781875562166694785913422828278631268752021 0.614434520928981772470174874222668235259047608931512617491198627298406620130684291831048647 | |
| 11 | +0.345077364847219205223036831176362451582287400366683952980958781715393844983996368893479468 0.901516128540428692561694619809654660146003196101599452844000565114226749638499946709634924 | |
| 12 | +0.087950516283685195585980590849652861265709242263781875562166694785913422828278631268752021 0 | |
| 13 | +0.500129515589132798457212546846694715486635633654448870012195722570252073199031916446861832 0.149245794589566575318528904554148435405930387337948560663427703698904104204568103140945482 | |
+14 −0 routes/exact-local-maxima/n14.txt added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +0.077620206075158318411271206757118363879581214531744765212624 0.000000000000000000000000000000000000000000000000000000000000 | |
| 2 | +0.922379793924841681588728793242881636120418785468255234787376 1.000000000000000000000000000000000000000000000000000000000000 | |
| 3 | +0.922379793924841681588728793242881636120418785468255234787376 0.000000000000000000000000000000000000000000000000000000000000 | |
| 4 | +0.077620206075158318411271206757118363879581214531744765212624 1.000000000000000000000000000000000000000000000000000000000000 | |
| 5 | +0.000000000000000000000000000000000000000000000000000000000000 0.186885917341428354046162438811425234101670402354062008339831 | |
| 6 | +1.000000000000000000000000000000000000000000000000000000000000 0.813114082658571645953837561188574765898329597645937991660169 | |
| 7 | +1.000000000000000000000000000000000000000000000000000000000000 0.186885917341428354046162438811425234101670402354062008339831 | |
| 8 | +0.000000000000000000000000000000000000000000000000000000000000 0.813114082658571645953837561188574765898329597645937991660169 | |
| 9 | +0.292332650904478596882065165753076335872920848444512316519434 0.321344897737651941796932456890163531835424082216125863624344 | |
| 10 | +0.707667349095521403117934834246923664127079151555487683480566 0.678655102262348058203067543109836468164575917783874136375656 | |
| 11 | +0.707667349095521403117934834246923664127079151555487683480566 0.321344897737651941796932456890163531835424082216125863624344 | |
| 12 | +0.292332650904478596882065165753076335872920848444512316519434 0.678655102262348058203067543109836468164575917783874136375656 | |
| 13 | +0.500000000000000000000000000000000000000000000000000000000000 0.138277958099443380549758523191394066184592421593930790232117 | |
| 14 | +0.500000000000000000000000000000000000000000000000000000000000 0.861722041900556619450241476808605933815407578406069209767883 | |
+15 −0 routes/exact-local-maxima/n15.txt added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +1 0.370073810691712470362190075799746137592971765711971806054463160775164803720832477735245409 | |
| 2 | +0.67407893643682631999706715901803828086505169576036090055824859270631412466394449578059236 0 | |
| 3 | +0.951872981810379366659501748815266402512367908779296976096991042125554657791582997384867247 0.056874601690686163828559371249246115951692711636520718368218562931559701813857668248602361 | |
| 4 | +0.960911197707310419402068438448084324377548832958674190381171014224851184708157337653916229 1 | |
| 5 | +0.275740355390538417139650092666230698959635224826555483245240259409563357042850096131551393 1 | |
| 6 | +0 0.015113577971173712527093275696914421297461537117824266399520504242525879049763005967678984 | |
| 7 | +0 0.937742246244358699266184586959892111602903120923372546211367705675420371181645560710847899 | |
| 8 | +0.633671022052187349641832950288180049729456652710511237835347577566695321410658084139078599 0.620448290511928374065055820174099264558249513286011285800409637879864339150704932337219282 | |
| 9 | +0.045978499768902282527035844727735685159151497327698834300169366704720300326171629351607212 0.33318338684775313906317678239914639250930362530039802246720920466191129582112561046320423 | |
| 10 | +0.72194496212304426441889632570252629559585298372999547962475538435940817928187246462068649 0.314856344211712083578053574329232327697031824855167475191724333886966311527337956028673026 | |
| 11 | +0.32399496288964098629430749414943035047288991024553509224593430024310525070496392267912309 0.391565193138749649516996736153952368495745574737781322889662172604376207280834787919935632 | |
| 12 | +0.230810098495070172001722800068926771446288621755180580838906866503590473656909880057121826 0.679583611103596734702255653936970833475428352900776200923019344704896691774821929254158397 | |
| 13 | +0.279622023293142722116310681796180280839901495072293755989460619475043419493444872370329356 0.071947194422114305905858368418006185922703198654898543723483393375585237058520310629602545 | |
| 14 | +0.681378293497095479976557615053654283979296539989869084683909386740625654111741619237642501 0.937742246244358699266184586959892111602903120923372546211367705675420371181645560710847899 | |
| 15 | +0.912910898687075796512288991663865344407128532175161543690786633911931600322884358042659637 0.684758678711011120867557254583625692353263321811689576696418567792075161330168412784015295 | |
+16 −0 routes/exact-local-maxima/n16.txt added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +0 10/33 | |
| 2 | +0 31/33 | |
| 3 | +2/31 0 | |
| 4 | +2/31 7/11 | |
| 5 | +8/31 4/11 | |
| 6 | +8/31 1 | |
| 7 | +10/31 2/33 | |
| 8 | +10/31 23/33 | |
| 9 | +21/31 10/33 | |
| 10 | +21/31 31/33 | |
| 11 | +23/31 0 | |
| 12 | +23/31 7/11 | |
| 13 | +29/31 4/11 | |
| 14 | +29/31 1 | |
| 15 | +1 2/33 | |
| 16 | +1 23/33 | |
+47 −0 routes/exact-local-maxima/real-branches/REAL-BRANCHES.md added View file
| @@ -0,0 +1,47 @@ | ||
| 1 | +# The Karpov–Stead branch among the 47 real conjugates | |
| 2 | + | |
| 3 | +Consider the irreducible degree-345 shape field encoded by `field13.json.gz`, with the labelled affine basis (12,0,6) and parameter t=y₁₁. Its real conjugates, together with all their affine images in the unit square, have maximum minimum-triangle area A in the **certified interval** | |
| 4 | + | |
| 5 | +``` | |
| 6 | +0.027019916669111361743931 ≤ A ≤ 0.027019916669111361743932. | |
| 7 | +``` | |
| 8 | + | |
| 9 | +The maximizer is the real root in (30181/17215,15435/8804), number 40 when the real roots are ordered by t, in the square frame of Karpov's configuration as refined by Stead. The field degree of A over the rationals is 345. This classification covers this irreducible component. The full signed contact system may have further components, and arbitrary 13-point configurations remain outside this conclusion. | |
| 10 | + | |
| 11 | +## Recovering and classifying the branches | |
| 12 | + | |
| 13 | +All point indices are zero based. Write Qᵢ for a normalized point. Take Q₁₂=(0,0), Q₀=(1,0), Q₆=(0,1), and restore x₁₁=y₅=1 and y₁₁=t. The other seventeen scalar coordinates equal their supplied integer numerators evaluated at t, divided by the supplied scale times f′(t). For a triple, let D(i,j,k)=det(Qⱼ−Qᵢ,Qₖ−Qᵢ). | |
| 14 | + | |
| 15 | +The square coordinates forced by the original wall incidences are Xᵢ=D(1,6,i)/D(1,6,7) and Yᵢ=D(5,11,i)/D(5,11,1). Integer polynomial division verifies the extra wall parallelism Y₄=Y₁ and all 20 normalized identities D=±1. The published coordinates supply the signs for these checks. The exact remainders decide every identity. | |
| 16 | + | |
| 17 | +SymPy's rational real-root isolation gives 47 simple roots. An independent narrow bracket is certified for each using opposite signs at consecutive dyadic endpoints with denominator 2²³⁰⁰. The brackets are disjoint. All divisions in the square map have denominators bounded away from zero at every real embedding. Arb ball arithmetic then evaluates the 26 coordinates and all 286 triangles. Exactly one labelled wall realization is contained in the square. Each of the 46 others has at least three coordinates strictly outside it. On branch 40 every noncontact area is strictly larger than A, and the narrow bracket agrees exactly with the input embedding certificate. [Coordinate enclosures](target-coordinates.tsv) · [All 47 branch bounds and exclusion witnesses](branch-bounds.csv) | |
| 18 | + | |
| 19 | +For the degree proof, three good primes (65521, 65519, 65449) exclude every rational factor degree 1 through 172 by intersections of subset sums of modular irreducible factor degrees. Thus K=ℚ[t]/(f) is a degree-345 field. In normalized coordinates let e=Q₆−Q₁ and h=Q₁₁−Q₅. On branch 40 the triangle of the affine basis has area a=−det(e,h)/(2D(1,6,7)D(5,11,1)). All denominators remain units modulo f at 65521. Reducing the matrix of 1,a,…,a³⁴⁴ in the power basis of t at that prime gives rank 345. Any rational polynomial dependence of lower degree, cleared to primitive integer coefficients, would survive this good reduction. Since a belongs to K and its powers are independent up to degree 344, [ℚ(a):ℚ]=345. [Independent algebraic check](field_checks.py) | |
| 20 | + | |
| 21 | +## Allowing arbitrary affine transformations | |
| 22 | + | |
| 23 | +The exclusion of 46 conjugates survives changing the square frame. For a branch with smallest and largest triangle areas m and M, their ratio is invariant under every invertible affine transformation. A triangle in the unit square has area at most 1/2, so every possible square placement of the branch has minimum area at most m/(2M). The largest certified upper bound among the 46 is **0.001198683834401401434448**, on branch 10. Singular maps give minimum area zero. | |
| 24 | + | |
| 25 | +For branch 40, there is also a global certificate for the affine placement. Start with its actual square coordinates Pᵢ and put W={u : maxᵢ u·Pᵢ−minᵢ u·Pᵢ ≤ 1}. After choosing translations, the possible linear parts of all affine maps into the square are exactly the matrices whose two rows lie in W. Triangle areas scale by the absolute determinant of these rows. | |
| 26 | + | |
| 27 | +W is a bounded polygon given by all pairwise difference inequalities. At a vertex of W, at least two independent difference inequalities are tight. Each tight constraint joins a maximizer to a minimizer of projection. If each extremum were a single point, only one constraint could be tight. Consequently a vertex normalizes a normal to a supporting edge of the hull: divide that normal by its projection width. Maximizing the determinant over W×W can be done at a pair of vertices because it is linear in each row separately. | |
| 28 | + | |
| 29 | +The signs of the triple determinants give eight hull edges. The verifier tests the 28 unordered pairs of distinct edges. Choosing the same edge twice, even with its normal reversed, gives determinant zero. The vertical supporting edge (1,6), paired with either horizontal supporting edge (1,4) or (5,11), gives absolute determinant one exactly. Every remaining pair has absolute determinant at most **0.951673330125358122234260**. Thus the original square placement attains the largest possible scale. The only maximizing row pairs are signed permutations of the two coordinate normals. Indeed expanding any two candidate rows into convex combinations of vertices expresses their determinant as a weighted average of vertex-pair determinants. To attain either signed extreme, every pair in the product of their supports must attain that same signed extreme. Each maximizing vertex has only a single maximizing partner for a given sign. | |
| 30 | + | |
| 31 | +## Source comparison | |
| 32 | + | |
| 33 | +- Peter Karpov published coordinates for his August 2011 square construction. Evaluating the original decimals gives 0.027019272239113913 to the displayed precision. In the original label order the maximum coordinate change from those decimals to the algebraic center is below 0.000127185. [Karpov's original coordinates](http://inversed.ru/Ascension/Heilbronn_S13.txt) · [Karpov's project](http://inversed.ru/Ascension.htm#results) | |
| 34 | +- Tej Stead documents the in-basin tightening of Karpov's points. The 26 published decimal entries in Stead's downloadable table and Sudermann-Merx's repository coincide. Their maximum discrepancy from the field realization is below 5.63×10⁻¹⁶. As exact finite decimals their minimum is 0.027019916669111101000446039172 to the digits published by Stead. The degree-345 result gives the algebraic limit of the refined arrangement. [Stead's provenance](https://math.tejstead.com/heilbronn/square/13/) · [Sudermann-Merx's dataset at 21eb39e](https://github.com/spiralulam/heilbronn/blob/21eb39efa94f36ec7019e63ee97e52d0110f839b/best-known-configurations/config_n13.json) | |
| 35 | +- Sudermann-Merx's October 2026 revision explicitly identifies the exact forms of the 13- and 15-point asymmetric arrangements as open. Chappell's exact 14-point repository reports an unsuccessful moderate-coefficient PSLQ search through degree 24 for 13 and 15 points. Searches of the indexed literature, the configuration catalog and public code for an earlier degree-345 identification or classification of these conjugates located no match through November 20, 2026. [Sudermann-Merx, §6 and Appendix B](https://arxiv.org/html/2603.11107v3#S6) · [Chappell's comparison](https://github.com/rhyschappell/heilbronn-n14-exact) | |
| 36 | + | |
| 37 | +## Reproduce | |
| 38 | + | |
| 39 | +Python 3.12, python-flint 0.9.0 and SymPy 1.14.0 were used. Each command below runs independently from this directory, after the field JSON and public source JSON have been placed at the specified paths. The geometry run also uses the adjacent `initial.json` for the proposed starting brackets. Its independent global root isolation and endpoint sign tests check those brackets. The optional source check reads three public URLs. | |
| 40 | + | |
| 41 | +```sh | |
| 42 | +python field_checks.py --field ../field13.json.gz --source ../source13.json | |
| 43 | +python enumerate_branches.py --field ../field13.json.gz --source ../source13.json --out branches.json | |
| 44 | +python source_comparison.py branches.json | |
| 45 | +``` | |
| 46 | + | |
| 47 | +For the new branch table, `branches.json` encodes enclosures as integer pairs scaled by 10⁻²⁴. The `arbitrary_affine_upper` entry is the triangle-ratio bound. The separate `optimal_affine_frame` proof gives the sharper result on branch 40. The gzip input used here has SHA-256 `0dccfcdcab1c864f87aa0dfed2c44f7d3a23e5954e8eb076b34f7be3b3ae7912`. | |
+48 −0 routes/exact-local-maxima/real-branches/branch-bounds.csv added View file
| @@ -0,0 +1,48 @@ | ||
| 1 | +branch,y11_lower,y11_upper,outside_coordinate_count,one_violating_point,axis,coordinate_lower,coordinate_upper,arbitrary_square_min_area_upper | |
| 2 | +1,-16.244571635292005638876136,-16.244571635292005638876135,18,0,x,-2563.349850990202072440897289,-2563.349850990202072440897288,0.000033940544998145839678 | |
| 3 | +2,-6.948268736788914172308931,-6.948268736788914172308930,17,0,x,947.593125507722073704317435,947.593125507722073704317436,0.000000689335406180389119 | |
| 4 | +3,-5.746450131706326971834854,-5.746450131706326971834853,16,0,x,10.036219174945384938191861,10.036219174945384938191862,0.000159825911939391334846 | |
| 5 | +4,-3.367694134905787433563534,-3.367694134905787433563533,15,0,y,1.297085037836460713236171,1.297085037836460713236172,0.000865481453658777117800 | |
| 6 | +5,-1.663181925115020110086728,-1.663181925115020110086727,11,0,x,-0.536336602063164906423790,-0.536336602063164906423789,0.000135081566348639826475 | |
| 7 | +6,-1.578696514583538210000013,-1.578696514583538210000012,14,0,x,-0.238252127304667881982042,-0.238252127304667881982041,0.000131312362145284252456 | |
| 8 | +7,-1.354685360403069794023263,-1.354685360403069794023262,18,0,x,1.128240557344182408888402,1.128240557344182408888403,0.000867157125309154249619 | |
| 9 | +8,-1.196328868080768051573073,-1.196328868080768051573072,19,0,x,-2.385712376479206099942825,-2.385712376479206099942824,0.000070460490668668760332 | |
| 10 | +9,-0.532031523082601575059764,-0.532031523082601575059763,10,0,x,-0.032274673145216763263935,-0.032274673145216763263934,0.000272148801455613478482 | |
| 11 | +10,-0.177129518077391626786535,-0.177129518077391626786534,14,0,y,-1.280702445004171535348166,-1.280702445004171535348165,0.001198683834401401434448 | |
| 12 | +11,-0.061694985422515558785269,-0.061694985422515558785268,17,0,y,-0.083032821277603766395657,-0.083032821277603766395656,0.000115801794019387172622 | |
| 13 | +12,-0.030977985856408826032069,-0.030977985856408826032068,8,0,y,-0.018416297214092799219639,-0.018416297214092799219638,0.000191584223964424093193 | |
| 14 | +13,0.002323682529341644748854,0.002323682529341644748855,13,0,y,-2.995019276611546827368731,-2.995019276611546827368730,0.000001215417799541119747 | |
| 15 | +14,0.011433636766567540770499,0.011433636766567540770500,6,0,y,-0.407548367587900404690255,-0.407548367587900404690254,0.000019867750539994128243 | |
| 16 | +15,0.064495352117428834785503,0.064495352117428834785504,12,0,x,1.068266769355207365997661,1.068266769355207365997662,0.000095601006225041078160 | |
| 17 | +16,0.099589624748072567182915,0.099589624748072567182916,13,0,x,1.850568447837693956746737,1.850568447837693956746738,0.000648467162715593579426 | |
| 18 | +17,0.101207548822502342439978,0.101207548822502342439979,10,0,x,1.018831398219361893332900,1.018831398219361893332901,0.000360566771994164311834 | |
| 19 | +18,0.128982931148059108817100,0.128982931148059108817101,19,0,x,2.141260140692366361633622,2.141260140692366361633623,0.000162890011087429906356 | |
| 20 | +19,0.160427057911954715076129,0.160427057911954715076130,18,0,x,-1.182275994239842583119484,-1.182275994239842583119483,0.000036653508758394013503 | |
| 21 | +20,0.160441475345654767622541,0.160441475345654767622542,18,0,x,1.387465473354973347315270,1.387465473354973347315271,0.000161447307436129410685 | |
| 22 | +21,0.364660951147226114513936,0.364660951147226114513937,11,0,x,1.225216352148446158975018,1.225216352148446158975019,0.000335147018029360918050 | |
| 23 | +22,0.404896309439667858804523,0.404896309439667858804524,16,0,x,-2.252213333692347352422921,-2.252213333692347352422920,0.000108161780982348098481 | |
| 24 | +23,0.794262694346087213274274,0.794262694346087213274275,18,0,x,41.560174817973174213594058,41.560174817973174213594059,0.000022615170709621719318 | |
| 25 | +24,0.861362557048586911764718,0.861362557048586911764719,7,0,y,-0.596928967730154595112906,-0.596928967730154595112905,0.000076229862463546261706 | |
| 26 | +25,0.972284687108483191459298,0.972284687108483191459299,17,0,x,1.081826385855316193076395,1.081826385855316193076396,0.000002898198807056681289 | |
| 27 | +26,0.991454526444409661082521,0.991454526444409661082522,13,0,x,-11.636987200737766067090087,-11.636987200737766067090086,0.000023597391237083066446 | |
| 28 | +27,0.993475932478555984475562,0.993475932478555984475563,19,0,x,41.834076554707136271267982,41.834076554707136271267983,0.000016066111692476496647 | |
| 29 | +28,1.033573982793891700155170,1.033573982793891700155171,17,0,x,10.433218853508709028834960,10.433218853508709028834961,0.000099510818836189284027 | |
| 30 | +29,1.094781991202419659002385,1.094781991202419659002386,18,0,x,2.329804348086185935332816,2.329804348086185935332817,0.000113243493111262995029 | |
| 31 | +30,1.122594336893566820459459,1.122594336893566820459460,18,0,x,6.596511585535447268468215,6.596511585535447268468216,0.000110496744151272991504 | |
| 32 | +31,1.128160578445465167733739,1.128160578445465167733740,15,0,x,14.538042606910061069597119,14.538042606910061069597120,0.000013398979856271488615 | |
| 33 | +32,1.140936187347368747388139,1.140936187347368747388140,17,0,x,32.700910742375730522099009,32.700910742375730522099010,0.000025529750217527972413 | |
| 34 | +33,1.157032421774577016261544,1.157032421774577016261545,13,0,y,4.269268312625432209966341,4.269268312625432209966342,0.000454552050890177261905 | |
| 35 | +34,1.248378897653658053439184,1.248378897653658053439185,17,0,y,6.159792970076208471756646,6.159792970076208471756647,0.000003505754145252466619 | |
| 36 | +35,1.339703039232221926627244,1.339703039232221926627245,15,0,x,-0.042874496545686360545246,-0.042874496545686360545245,0.000107721715748400981372 | |
| 37 | +36,1.353822958577192164389336,1.353822958577192164389337,3,3,y,-0.000989733590026382685910,-0.000989733590026382685909,0.000000053943785291595581 | |
| 38 | +37,1.373707922151261712475769,1.373707922151261712475770,10,0,x,-0.955482672568846205527304,-0.955482672568846205527303,0.000005060153342102783364 | |
| 39 | +38,1.419552673194179594211308,1.419552673194179594211309,14,0,x,-0.141951708172496547412910,-0.141951708172496547412909,0.000151503840501515045046 | |
| 40 | +39,1.706596249893814292369465,1.706596249893814292369466,11,0,x,-0.382751634198866510294925,-0.382751634198866510294924,0.000009307774223389139943 | |
| 41 | +40,1.753180367027750880330248,1.753180367027750880330249,0,,,,,0.027019916669111361743932 | |
| 42 | +41,2.014386085077181159212504,2.014386085077181159212505,17,0,x,298.848695058511657371837778,298.848695058511657371837779,0.000006044047395562308998 | |
| 43 | +42,2.389031089202637454638750,2.389031089202637454638751,15,0,x,-2.207082723988673066075450,-2.207082723988673066075449,0.000044143122911740106366 | |
| 44 | +43,3.128039540482293954972899,3.128039540482293954972900,10,0,y,-1.315260606841183139372820,-1.315260606841183139372819,0.000106259342397872428795 | |
| 45 | +44,3.401610599451124900702501,3.401610599451124900702502,12,0,x,9.096700693129460582280153,9.096700693129460582280154,0.000015988065213474440140 | |
| 46 | +45,5.041743255366307892191869,5.041743255366307892191870,16,0,x,212.209546853436955631460588,212.209546853436955631460589,0.000037700947985572680480 | |
| 47 | +46,20.503499246343410219493305,20.503499246343410219493306,14,0,x,66448.517376911997471717798241,66448.517376911997471717798242,0.000001399529848762804658 | |
| 48 | +47,1872.939902039896520656328537,1872.939902039896520656328538,13,0,x,-991079117.212181585022839557098022,-991079117.212181585022839557098021,0.000000000000742974524269 | |
+252 −0 routes/exact-local-maxima/real-branches/enumerate_branches.py added View file
| @@ -0,0 +1,252 @@ | ||
| 1 | +"""Enumerate real embeddings of the supplied 13-point affine shape field.""" | |
| 2 | + | |
| 3 | +import argparse | |
| 4 | +import gzip | |
| 5 | +import itertools | |
| 6 | +import json | |
| 7 | +from fractions import Fraction | |
| 8 | +from pathlib import Path | |
| 9 | + | |
| 10 | +from flint import arb, arb_poly, ctx, fmpq, fmpz_poly | |
| 11 | + | |
| 12 | +WALL_X0 = (1, 6) | |
| 13 | +WALL_X1 = 7 | |
| 14 | +WALL_Y0 = (5, 11) | |
| 15 | +WALL_Y1 = 1 | |
| 16 | +WALL_Y1_OTHER = 4 | |
| 17 | +TIGHT = [ | |
| 18 | + (0, 1, 8), | |
| 19 | + (0, 2, 7), | |
| 20 | + (0, 3, 10), | |
| 21 | + (0, 5, 12), | |
| 22 | + (0, 6, 12), | |
| 23 | + (1, 5, 8), | |
| 24 | + (1, 9, 11), | |
| 25 | + (2, 3, 5), | |
| 26 | + (2, 4, 10), | |
| 27 | + (2, 8, 9), | |
| 28 | + (3, 4, 5), | |
| 29 | + (3, 7, 8), | |
| 30 | + (4, 6, 8), | |
| 31 | + (5, 9, 12), | |
| 32 | + (6, 9, 11), | |
| 33 | + (6, 11, 12), | |
| 34 | + (7, 8, 9), | |
| 35 | + (7, 11, 12), | |
| 36 | + (8, 10, 11), | |
| 37 | + (8, 10, 12), | |
| 38 | +] | |
| 39 | +TRIPLES = tuple(itertools.combinations(range(13), 3)) | |
| 40 | + | |
| 41 | + | |
| 42 | +def require(test, message): | |
| 43 | + if not test: | |
| 44 | + raise ValueError(message) | |
| 45 | + | |
| 46 | + | |
| 47 | +def det(a, b, c): | |
| 48 | + return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]) | |
| 49 | + | |
| 50 | + | |
| 51 | +def root_bracket(f, df, coarse, bits=2300): | |
| 52 | + left, right = (arb(fmpq(v)) for v in coarse) | |
| 53 | + p = ((left + right) / 2).mid() | |
| 54 | + # Newton supplies only a proposed narrow bracket. The sign checks certify it. | |
| 55 | + for _ in range(16): | |
| 56 | + value, derivative = f(p), df(p) | |
| 57 | + require(not derivative.contains(0), "Newton derivative unresolved") | |
| 58 | + p = (p - value / derivative).mid() | |
| 59 | + unit = 1 << bits | |
| 60 | + k = (p * unit).floor().unique_fmpz() | |
| 61 | + require(k is not None, "cannot round root candidate") | |
| 62 | + a, b = arb(fmpq(k, unit)), arb(fmpq(k + 1, unit)) | |
| 63 | + require(left < a and b < right and f(a) * f(b) < 0, "narrow bracket failed") | |
| 64 | + return a.union(b), int(k) | |
| 65 | + | |
| 66 | + | |
| 67 | +def normalized_points(t, derivative, polys): | |
| 68 | + q = {key: p(t) / (sc * derivative) for key, (p, sc) in polys.items()} | |
| 69 | + q.update(x11=arb(1), y11=t, y5=arb(1)) | |
| 70 | + for i, x, y in [(12, 0, 0), (0, 1, 0), (6, 0, 1)]: | |
| 71 | + q[f"x{i}"], q[f"y{i}"] = arb(x), arb(y) | |
| 72 | + return [(q[f"x{i}"], q[f"y{i}"]) for i in range(13)] | |
| 73 | + | |
| 74 | + | |
| 75 | +def square_image(q): | |
| 76 | + lx0, lx1 = (q[i] for i in WALL_X0) | |
| 77 | + ly0, ly1 = (q[i] for i in WALL_Y0) | |
| 78 | + wx, wy = det(lx0, lx1, q[WALL_X1]), det(ly0, ly1, q[WALL_Y1]) | |
| 79 | + require(not wx.contains(0) and not wy.contains(0), "singular wall frame") | |
| 80 | + return [(det(lx0, lx1, p) / wx, det(ly0, ly1, p) / wy) for p in q] | |
| 81 | + | |
| 82 | + | |
| 83 | +def enclosure(z, places=24): | |
| 84 | + unit = 10**places | |
| 85 | + lower = int((z.lower() * unit).floor().unique_fmpz()) | |
| 86 | + upper = int((z.upper() * unit).ceil().unique_fmpz()) | |
| 87 | + return [str(lower), str(upper)] | |
| 88 | + | |
| 89 | + | |
| 90 | +def classify(q): | |
| 91 | + points = square_image(q) | |
| 92 | + outside = [] | |
| 93 | + for i, point in enumerate(points): | |
| 94 | + for axis, z in enumerate(point): | |
| 95 | + wall = None | |
| 96 | + if axis == 0 and i in WALL_X0 or axis == 1 and i in WALL_Y0: | |
| 97 | + wall = 0 | |
| 98 | + if ( | |
| 99 | + axis == 0 | |
| 100 | + and i == WALL_X1 | |
| 101 | + or axis == 1 | |
| 102 | + and i in (WALL_Y1, WALL_Y1_OTHER) | |
| 103 | + ): | |
| 104 | + wall = 1 | |
| 105 | + if wall is not None: | |
| 106 | + require(z.contains(wall), f"wall interval mismatch ({i},{axis})") | |
| 107 | + elif z < 0 or z > 1: | |
| 108 | + outside.append((i, axis, enclosure(z))) | |
| 109 | + else: | |
| 110 | + require(z > 0 and z < 1, "coordinate undecided") | |
| 111 | + area = {tri: abs(det(*(points[i] for i in tri))) / 2 for tri in TRIPLES} | |
| 112 | + best = min(area, key=lambda h: float(area[h].mid())) | |
| 113 | + m = area[best] | |
| 114 | + # A bound for the true minimum, also when several intervals overlap. | |
| 115 | + low = min((v.lower() for v in area.values()), key=lambda a: a.fmpq()) | |
| 116 | + bound = low.union(m.upper()) | |
| 117 | + contact = area[0, 6, 12] | |
| 118 | + smaller = [t for t, v in area.items() if v < contact] | |
| 119 | + for t in TIGHT: | |
| 120 | + require( | |
| 121 | + (area[t] - contact).contains(0), "symbolic contact numerically contradicted" | |
| 122 | + ) | |
| 123 | + return points, outside, bound, best, contact, smaller, area | |
| 124 | + | |
| 125 | + | |
| 126 | +def unit_affine_test(points): | |
| 127 | + # Vertices of the polar of the difference body are normals of supporting hull edges. | |
| 128 | + # No three points are collinear in this configuration. | |
| 129 | + modes = [] | |
| 130 | + for i, j in itertools.combinations(range(13), 2): | |
| 131 | + side = [ | |
| 132 | + det(points[i], points[j], points[k]) for k in range(13) if k not in (i, j) | |
| 133 | + ] | |
| 134 | + require(all(v > 0 or v < 0 for v in side), "ambiguous hull orientation") | |
| 135 | + if not (all(v > 0 for v in side) or all(v < 0 for v in side)): | |
| 136 | + continue | |
| 137 | + width = max((abs(v).lower() for v in side), key=lambda x: x.fmpq()) | |
| 138 | + dx = points[j][0] - points[i][0] | |
| 139 | + dy = points[j][1] - points[i][1] | |
| 140 | + modes.append(((i, j), (-dy, dx), width)) | |
| 141 | + equal = [] | |
| 142 | + competitors = [] | |
| 143 | + for (e, u, s), (h, v, t) in itertools.combinations(modes, 2): | |
| 144 | + if (e == (1, 6) and h in ((1, 4), (5, 11))) or ( | |
| 145 | + h == (1, 6) and e in ((1, 4), (5, 11)) | |
| 146 | + ): | |
| 147 | + equal.append([e, h]) | |
| 148 | + continue | |
| 149 | + upper = (abs(u[0] * v[1] - u[1] * v[0]) / (s * t)).upper() | |
| 150 | + require(upper < 1, f"competing affine frame {e}, {h}: {float(upper)}") | |
| 151 | + competitors.append(upper) | |
| 152 | + require(len(equal) == 2, "wall normals missing from hull") | |
| 153 | + return { | |
| 154 | + "hull_edges": [e for e, _, _ in modes], | |
| 155 | + "wall_pairs": equal, | |
| 156 | + "other_frame_scale_upper": enclosure(max(competitors, key=lambda v: v.fmpq())), | |
| 157 | + } | |
| 158 | + | |
| 159 | + | |
| 160 | +def main(): | |
| 161 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 162 | + parser.add_argument("--field", type=Path, default=Path("../field13.json.gz")) | |
| 163 | + parser.add_argument("--source", type=Path, default=Path("../source13.json")) | |
| 164 | + parser.add_argument("--roots", type=Path, default=Path("initial.json")) | |
| 165 | + parser.add_argument("--out", type=Path, default=Path("branches.json")) | |
| 166 | + args = parser.parse_args() | |
| 167 | + data = json.loads(gzip.decompress(args.field.read_bytes())) | |
| 168 | + ctx.prec = 4608 | |
| 169 | + poly = fmpz_poly(data["polynomial"]) | |
| 170 | + f, df = arb_poly(poly), arb_poly(poly.derivative()) | |
| 171 | + polys = { | |
| 172 | + k: (arb_poly(fmpz_poly(v["numerator"])), v["scale"]) | |
| 173 | + for k, v in data["coordinates"].items() | |
| 174 | + } | |
| 175 | + # intervals() is an exact all-real-root isolation, including both unbounded tails. | |
| 176 | + import sympy as sp | |
| 177 | + | |
| 178 | + complete = sp.Poly.from_list(data["polynomial"][::-1], sp.Symbol("t")).intervals() | |
| 179 | + coarse = json.loads(args.roots.read_text()) | |
| 180 | + require( | |
| 181 | + len(complete) == len(coarse) == 47 and all(m == 1 for _, m in complete), | |
| 182 | + "wrong real root count", | |
| 183 | + ) | |
| 184 | + require( | |
| 185 | + all(Fraction(a[1]) < Fraction(b[0]) for a, b in itertools.pairwise(coarse)), | |
| 186 | + "coarse brackets overlap or are unsorted", | |
| 187 | + ) | |
| 188 | + require( | |
| 189 | + data["basis"] == [12, 0, 6] and data["parameter"] == "y11", | |
| 190 | + "unexpected field presentation", | |
| 191 | + ) | |
| 192 | + chosen = data["isolating_interval"] | |
| 193 | + require( | |
| 194 | + chosen["denominator_power_of_two"] == 2300, "unexpected enclosure denominator" | |
| 195 | + ) | |
| 196 | + source = json.loads(args.source.read_text(), parse_float=Fraction)["points"] | |
| 197 | + records = [] | |
| 198 | + for j, c in enumerate(coarse): | |
| 199 | + t, k = root_bracket(f, df, c) | |
| 200 | + q = normalized_points(t, df(t), polys) | |
| 201 | + p, out, m, tr, contact, smaller, areas = classify(q) | |
| 202 | + r = { | |
| 203 | + "branch": j + 1, | |
| 204 | + "coarse": c, | |
| 205 | + "y11": enclosure(t), | |
| 206 | + "outside": out, | |
| 207 | + "min_area": enclosure(m), | |
| 208 | + "candidate_min_triangle": tr, | |
| 209 | + "contact_area": enclosure(contact), | |
| 210 | + "smaller_than_contact": len(smaller), | |
| 211 | + } | |
| 212 | + largest = max((v.lower() for v in areas.values()), key=lambda v: v.fmpq()) | |
| 213 | + affine_upper = m.upper() / (2 * largest) | |
| 214 | + r["arbitrary_affine_upper"] = enclosure(affine_upper) | |
| 215 | + if out: | |
| 216 | + require(affine_upper < arb(fmpq(3, 2500)), "affine bound exceeds 0.0012") | |
| 217 | + if not out: | |
| 218 | + require( | |
| 219 | + k == int(chosen["numerator"]), | |
| 220 | + "feasible root differs from the proposed embedding", | |
| 221 | + ) | |
| 222 | + error = max( | |
| 223 | + abs(v - arb(fmpq(str(s)))).upper().fmpq() | |
| 224 | + for coords, published in zip(p, source, strict=True) | |
| 225 | + for v, s in zip(coords, published, strict=True) | |
| 226 | + ) | |
| 227 | + require(error < fmpq(6, 10**16), "source coordinate discrepancy") | |
| 228 | + require( | |
| 229 | + all(areas[h] > contact for h in TRIPLES if h not in TIGHT), | |
| 230 | + "noncontact at or below minimum", | |
| 231 | + ) | |
| 232 | + r["optimal_affine_frame"] = unit_affine_test(p) | |
| 233 | + r["square_coordinates"] = [[enclosure(x), enclosure(y)] for x, y in p] | |
| 234 | + records.append(r) | |
| 235 | + print( | |
| 236 | + j + 1, | |
| 237 | + float(t), | |
| 238 | + len(out), | |
| 239 | + float(m), | |
| 240 | + float(contact), | |
| 241 | + len(smaller), | |
| 242 | + flush=True, | |
| 243 | + ) | |
| 244 | + require( | |
| 245 | + sum(not r["outside"] for r in records) == 1, | |
| 246 | + "unexpected number of feasible wall embeddings", | |
| 247 | + ) | |
| 248 | + args.out.write_text(json.dumps(records, indent=2) + "\n") | |
| 249 | + | |
| 250 | + | |
| 251 | +if __name__ == "__main__": | |
| 252 | + main() | |
+117 −0 routes/exact-local-maxima/real-branches/field_checks.py added View file
| @@ -0,0 +1,117 @@ | ||
| 1 | +"""Exact affine contact identities, Q-irreducibility and the minimum's degree.""" | |
| 2 | + | |
| 3 | +import argparse | |
| 4 | +import gzip | |
| 5 | +import json | |
| 6 | +import math | |
| 7 | +from pathlib import Path | |
| 8 | + | |
| 9 | +from flint import fmpz_poly, nmod_mat, nmod_poly | |
| 10 | + | |
| 11 | +from enumerate_branches import TIGHT, det, require | |
| 12 | + | |
| 13 | + | |
| 14 | +def identities(data, source): | |
| 15 | + f = fmpz_poly(data["polynomial"]) | |
| 16 | + scales = [r["scale"] for r in data["coordinates"].values()] | |
| 17 | + lcm = math.lcm(*scales) | |
| 18 | + h = f.derivative() * lcm | |
| 19 | + nums = { | |
| 20 | + k: fmpz_poly(r["numerator"]) * (lcm // r["scale"]) | |
| 21 | + for k, r in data["coordinates"].items() | |
| 22 | + } | |
| 23 | + nums.update(x11=h, y11=h * fmpz_poly([0, 1]), y5=h) | |
| 24 | + for i, x, y in [(12, 0, 0), (0, 1, 0), (6, 0, 1)]: | |
| 25 | + nums[f"x{i}"], nums[f"y{i}"] = h * x, h * y | |
| 26 | + p = [(nums[f"x{i}"], nums[f"y{i}"]) for i in range(13)] | |
| 27 | + orientation = det(*(source[i] for i in (12, 0, 6))) | |
| 28 | + # The public coordinates only choose signs. The remainders prove the identities. | |
| 29 | + for t in TIGHT: | |
| 30 | + s = 1 if det(*(source[i] for i in t)) * orientation > 0 else -1 | |
| 31 | + numerator = det(*(p[i] for i in t)) - s * h**2 | |
| 32 | + require(numerator % f == 0, f"contact identity failed {t}") | |
| 33 | + parallel = (p[11][0] - p[5][0]) * (p[4][1] - p[1][1]) - (p[11][1] - p[5][1]) * ( | |
| 34 | + p[4][0] - p[1][0] | |
| 35 | + ) | |
| 36 | + require(parallel % f == 0, "parallel wall identity failed") | |
| 37 | + print( | |
| 38 | + "20 signed unit determinants and the opposite horizontal wall hold identically." | |
| 39 | + ) | |
| 40 | + | |
| 41 | + | |
| 42 | +def irreducible(data): | |
| 43 | + # Modular factor-degree subset sums constrain the degree of every factor over Q. | |
| 44 | + degree = len(data["polynomial"]) - 1 | |
| 45 | + possible = set(range(1, degree // 2 + 1)) | |
| 46 | + for prime in (65521, 65519, 65449): | |
| 47 | + f = nmod_poly(data["polynomial"], prime) | |
| 48 | + require( | |
| 49 | + f.degree() == degree and f.gcd(f.derivative()).degree() == 0, "bad prime" | |
| 50 | + ) | |
| 51 | + _, parts = f.factor() | |
| 52 | + sizes = {0} | |
| 53 | + for fac, e in parts: | |
| 54 | + require(e == 1, "repeated modular factor") | |
| 55 | + sizes |= {s + fac.degree() for s in sizes} | |
| 56 | + possible &= sizes | |
| 57 | + require(not possible, "rational factor degree not eliminated") | |
| 58 | + print( | |
| 59 | + "Degree 345 is irreducible over Q (three independent modular factorizations)." | |
| 60 | + ) | |
| 61 | + | |
| 62 | + | |
| 63 | +def area_degree(data): | |
| 64 | + # A full-rank power basis mod p implies the same independence in characteristic zero. | |
| 65 | + prime = 65521 | |
| 66 | + unit = lambda a: nmod_poly([a], prime) | |
| 67 | + f = nmod_poly(data["polynomial"], prime) | |
| 68 | + | |
| 69 | + def inverse(a): | |
| 70 | + g, m, _ = a.xgcd(f) | |
| 71 | + require(g.is_one(), "denominator not invertible") | |
| 72 | + return m | |
| 73 | + | |
| 74 | + ds = inverse(f.derivative()) | |
| 75 | + q = { | |
| 76 | + k: (nmod_poly(row["numerator"], prime) * pow(row["scale"], -1, prime) * ds) % f | |
| 77 | + for k, row in data["coordinates"].items() | |
| 78 | + } | |
| 79 | + q.update(x11=unit(1), y11=nmod_poly([0, 1], prime), y5=unit(1)) | |
| 80 | + for i, x, y in [(12, 0, 0), (0, 1, 0), (6, 0, 1)]: | |
| 81 | + q[f"x{i}"], q[f"y{i}"] = unit(x), unit(y) | |
| 82 | + p = [(q[f"x{i}"], q[f"y{i}"]) for i in range(13)] | |
| 83 | + | |
| 84 | + def wedge(a, b): | |
| 85 | + return (a[0] * b[1] - a[1] * b[0]) % f | |
| 86 | + | |
| 87 | + def sub(a, b): | |
| 88 | + return (a[0] - b[0], a[1] - b[1]) | |
| 89 | + | |
| 90 | + left = sub(p[6], p[1]) | |
| 91 | + bottom = sub(p[11], p[5]) | |
| 92 | + wx = wedge(left, sub(p[7], p[1])) | |
| 93 | + wy = wedge(bottom, sub(p[1], p[5])) | |
| 94 | + value = (-wedge(left, bottom) * inverse((2 * wx * wy) % f)) % f | |
| 95 | + d = f.degree() | |
| 96 | + power = unit(1) | |
| 97 | + rows = [] | |
| 98 | + for _ in range(d): | |
| 99 | + rows.append([power[i] for i in range(d)]) | |
| 100 | + power = (power * value) % f | |
| 101 | + rank = nmod_mat(rows, prime).rank() | |
| 102 | + require(rank == d, "area powers are dependent") | |
| 103 | + print(f"Rank of 1,a,...,a^{d - 1} modulo {prime}: {rank}; [Q(a):Q]={d}.") | |
| 104 | + | |
| 105 | + | |
| 106 | +if __name__ == "__main__": | |
| 107 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 108 | + parser.add_argument("--field", type=Path, default=Path("../field13.json.gz")) | |
| 109 | + parser.add_argument("--source", type=Path, default=Path("../source13.json")) | |
| 110 | + args = parser.parse_args() | |
| 111 | + from fractions import Fraction | |
| 112 | + | |
| 113 | + data = json.loads(gzip.decompress(args.field.read_bytes())) | |
| 114 | + src = json.loads(args.source.read_text(), parse_float=Fraction)["points"] | |
| 115 | + identities(data, src) | |
| 116 | + irreducible(data) | |
| 117 | + area_degree(data) | |
+1 −0 routes/exact-local-maxima/real-branches/initial.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +[["-178804/11007", "-275313/16948"], ["-84081/12101", "-134449/19350"], ["-67584/11761", "-64751/11268"], ["-36819/10933", "-56813/16870"], ["-13841/8322", "-22591/13583"], ["-43722/27695", "-29479/18673"], ["-22798/16829", "-16813/12411"], ["-15642/13075", "-17141/14328"], ["-28826/54181", "-1553/2919"], ["-759/4285", "-8270/46689"], ["-2371/38431", "-1801/29192"], ["-2267/73181", "-121/3906"], ["17/7316", "37/15923"], ["258/22565", "245/21428"], ["901/13970", "701/10869"], ["1359/13646", "995/9991"], ["1341/13250", "1517/14989"], ["3627/28120", "3121/24197"], ["2284/14237", "1157/7212"], ["2951/18393", "2762/17215"], ["5824/15971", "3915/10736"], ["6599/16298", "6814/16829"], ["11435/14397", "9663/12166"], ["1808/2099", "61851/71806"], ["17295/17788", "15997/16453"], ["16591/16734", "11022/11117"], ["12030/12109", "9289/9350"], ["14746/14267", "17609/17037"], ["7658/6995", "33947/31008"], ["7408/6599", "31207/27799"], ["24674/21871", "5845/5181"], ["15697/13758", "8994/7883"], ["16313/14099", "10028/8667"], ["24065/19277", "28493/22824"], ["10376/7745", "20121/15019"], ["15263/11274", "16166/11941"], ["94224/68591", "5183/3773"], ["3935/2772", "74068/52177"], ["63982/37491", "48795/28592"], ["30181/17215", "15435/8804"], ["6021/2989", "108658/53941"], ["83069/34771", "76535/32036"], ["47468/15175", "39235/12543"], ["26189/7699", "481117/141438"], ["85029/16865", "65825/13056"], ["366213/17861", "313478/15289"], ["9941565/5308", "62329567/33279"]] | |
+56 −0 routes/exact-local-maxima/real-branches/source_comparison.py added View file
| @@ -0,0 +1,56 @@ | ||
| 1 | +"""Compare the independent branch enclosure to the three authors' public number lists.""" | |
| 2 | + | |
| 3 | +import argparse | |
| 4 | +import hashlib | |
| 5 | +import itertools | |
| 6 | +import json | |
| 7 | +import urllib.request | |
| 8 | +from fractions import Fraction as F | |
| 9 | +from pathlib import Path | |
| 10 | + | |
| 11 | +SOURCES = { | |
| 12 | + "Karpov": "http://inversed.ru/Ascension/Heilbronn_S13.txt", | |
| 13 | + "Stead": "https://math.tejstead.com/heilbronn/square/13/points.json", | |
| 14 | + "Sudermann-Merx": "https://raw.githubusercontent.com/spiralulam/heilbronn/21eb39efa94f36ec7019e63ee97e52d0110f839b/best-known-configurations/config_n13.json", | |
| 15 | +} | |
| 16 | + | |
| 17 | + | |
| 18 | +def compare(rows): | |
| 19 | + (target,) = [r for r in rows if not r["outside"]] | |
| 20 | + for name, url in SOURCES.items(): | |
| 21 | + data = urllib.request.urlopen(url, timeout=20).read() | |
| 22 | + if name == "Karpov": | |
| 23 | + points = [ | |
| 24 | + list(map(F, line.split())) | |
| 25 | + for line in data.decode().splitlines()[1:] | |
| 26 | + if line.strip() | |
| 27 | + ] | |
| 28 | + else: | |
| 29 | + points = [ | |
| 30 | + [F(c) for c in p] for p in json.loads(data, parse_float=F)["points"] | |
| 31 | + ] | |
| 32 | + assert len(points) == 13 | |
| 33 | + areas = [ | |
| 34 | + abs((q[0] - p[0]) * (r[1] - p[1]) - (q[1] - p[1]) * (r[0] - p[0])) / 2 | |
| 35 | + for p, q, r in itertools.combinations(points, 3) | |
| 36 | + ] | |
| 37 | + error = max( | |
| 38 | + max(abs(F(int(a), 10**24) - c), abs(F(int(b), 10**24) - c)) | |
| 39 | + for coords, src in zip(target["square_coordinates"], points, strict=True) | |
| 40 | + for (a, b), c in zip(coords, src, strict=True) | |
| 41 | + ) | |
| 42 | + print( | |
| 43 | + name, | |
| 44 | + "input_sha256", | |
| 45 | + hashlib.sha256(data).hexdigest(), | |
| 46 | + "decimal-literal minimum", | |
| 47 | + f"{float(min(areas)):.17g}", | |
| 48 | + "maximum coordinate difference <=", | |
| 49 | + f"{float(error):.10g}", | |
| 50 | + ) | |
| 51 | + | |
| 52 | + | |
| 53 | +if __name__ == "__main__": | |
| 54 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 55 | + parser.add_argument("branches", type=Path, default=Path("branches.json"), nargs="?") | |
| 56 | + compare(json.loads(parser.parse_args().branches.read_text())) | |
+14 −0 routes/exact-local-maxima/real-branches/target-coordinates.tsv added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +point x_lower x_upper y_lower y_upper | |
| 2 | +0 0.964767763985652290733672 0.964767763985652290733673 0.087631131275386437046177 0.087631131275386437046178 | |
| 3 | +1 0.000000000000000000000000 0.000000000000000000000000 1.000000000000000000000000 1.000000000000000000000000 | |
| 4 | +2 0.896992264055792147224541 0.896992264055792147224542 0.902531190186334987380130 0.902531190186334987380131 | |
| 5 | +3 0.761361484694716689511597 0.761361484694716689511598 0.441984131915572387750894 0.441984131915572387750895 | |
| 6 | +4 0.655287738105373389897543 0.655287738105373389897544 1.000000000000000000000000 1.000000000000000000000000 | |
| 7 | +5 0.748535826963032653875940 0.748535826963032653875941 0.000000000000000000000000 0.000000000000000000000000 | |
| 8 | +6 0.000000000000000000000000 0.000000000000000000000000 0.099261701153731667608303 0.099261701153731667608304 | |
| 9 | +7 1.000000000000000000000000 1.000000000000000000000000 0.461351460314331517477660 0.461351460314331517477661 | |
| 10 | +8 0.328522986188697755245264 0.328522986188697755245265 0.633306592733027975873690 0.633306592733027975873691 | |
| 11 | +9 0.087950516283685195585980 0.087950516283685195585981 0.614434520928981772470174 0.614434520928981772470175 | |
| 12 | +10 0.345077364847219205223036 0.345077364847219205223037 0.901516128540428692561694 0.901516128540428692561695 | |
| 13 | +11 0.087950516283685195585980 0.087950516283685195585981 0.000000000000000000000000 0.000000000000000000000000 | |
| 14 | +12 0.500129515589132798457212 0.500129515589132798457213 0.149245794589566575318528 0.149245794589566575318529 | |
+0 −0 routes/exact-local-maxima/reconstruct15.zip added View file
+20 −0 routes/exact-local-maxima/shape13.ms added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +x1,y1,x2,y2,x3,y3,x4,y4,x5,x7,y7,x8,y8,x9,y9,x10,y10,y11 | |
| 2 | +0 | |
| 3 | +x1*y8-x8*y1+y1-y8+1, | |
| 4 | +x2*y7-x7*y2+y2-y7-1, | |
| 5 | +-x10*y3+x3*y10-y10+y3+1, | |
| 6 | +-x1*y8+x1-x5*y1+x5*y8+x8*y1-x8+1, | |
| 7 | +-x1*y11+x1*y9-x9*y1+x9*y11+y1-y9-1, | |
| 8 | +x2*y3-x2-x3*y2+x3+x5*y2-x5*y3+1, | |
| 9 | +x10*y2-x10*y4-x2*y10+x2*y4+x4*y10-x4*y2+1, | |
| 10 | +x2*y8-x2*y9-x8*y2+x8*y9+x9*y2-x9*y8-1, | |
| 11 | +x3*y4-x3-x4*y3+x4+x5*y3-x5*y4+1, | |
| 12 | +x3*y7-x3*y8-x7*y3+x7*y8+x8*y3-x8*y7+1, | |
| 13 | +-x4*y8+x4+x8*y4-x8-1, | |
| 14 | +x5*y9-x9+1, | |
| 15 | +x9*y11-x9-y9, | |
| 16 | +x7*y8-x7*y9-x8*y7+x8*y9+x9*y7-x9*y8+1, | |
| 17 | +x7*y11-y7+1, | |
| 18 | +x10*y11-x10*y8+x8*y10-x8*y11-y10+y8+1, | |
| 19 | +-x10*y8+x8*y10-1, | |
| 20 | +x1*y11-x1-x4*y11+x4+x5*y1-x5*y4-y1+y4 | |
+60 −0 routes/exact-local-maxima/source13.json added View file
| @@ -0,0 +1,60 @@ | ||
| 1 | +{ | |
| 2 | + "n": 13, | |
| 3 | + "delta_n": 0.0270199166691111, | |
| 4 | + "status": "best known", | |
| 5 | + "source": "Karpov (2011), coordinates converged to full precision (Stead's record site)", | |
| 6 | + "points": [ | |
| 7 | + [ | |
| 8 | + 0.964767763985652, | |
| 9 | + 0.087631131275387 | |
| 10 | + ], | |
| 11 | + [ | |
| 12 | + 0.0, | |
| 13 | + 1.0 | |
| 14 | + ], | |
| 15 | + [ | |
| 16 | + 0.896992264055792, | |
| 17 | + 0.902531190186335 | |
| 18 | + ], | |
| 19 | + [ | |
| 20 | + 0.761361484694717, | |
| 21 | + 0.441984131915572 | |
| 22 | + ], | |
| 23 | + [ | |
| 24 | + 0.655287738105373, | |
| 25 | + 1.0 | |
| 26 | + ], | |
| 27 | + [ | |
| 28 | + 0.748535826963033, | |
| 29 | + 0.0 | |
| 30 | + ], | |
| 31 | + [ | |
| 32 | + 0.0, | |
| 33 | + 0.099261701153732 | |
| 34 | + ], | |
| 35 | + [ | |
| 36 | + 1.0, | |
| 37 | + 0.461351460314331 | |
| 38 | + ], | |
| 39 | + [ | |
| 40 | + 0.328522986188698, | |
| 41 | + 0.633306592733028 | |
| 42 | + ], | |
| 43 | + [ | |
| 44 | + 0.087950516283685, | |
| 45 | + 0.614434520928982 | |
| 46 | + ], | |
| 47 | + [ | |
| 48 | + 0.345077364847219, | |
| 49 | + 0.901516128540429 | |
| 50 | + ], | |
| 51 | + [ | |
| 52 | + 0.087950516283685, | |
| 53 | + 0.0 | |
| 54 | + ], | |
| 55 | + [ | |
| 56 | + 0.500129515589133, | |
| 57 | + 0.149245794589567 | |
| 58 | + ] | |
| 59 | + ] | |
| 60 | +} | |
+1 −0 routes/exact-local-maxima/support11.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +[[28], [1, 3, 4, 7, 8, 10, 13, 17, 18, 19, 20, 22, 24, 26, 29, 30, 31, 32, 33, 34, 35], [1, 4, 5, 8, 11, 12, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 31, 33, 34, 35], [2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 16, 17, 18, 19, 24, 28, 29, 30, 32, 33, 34, 35], [29], [0, 1, 4, 5, 8, 11, 12, 14, 16, 17, 18, 19, 21, 24, 27, 28, 30, 31, 32, 33, 34, 35], [0, 1, 3, 4, 6, 8, 9, 11, 12, 15, 17, 18, 19, 20, 23, 24, 27, 29, 31, 33, 35], [1, 3, 4, 5, 11, 12, 13, 14, 16, 17, 18, 19, 21, 24, 28, 29, 30, 31, 32, 33, 34, 35], [0, 1, 3, 4, 6, 8, 10, 11, 12, 17, 18, 19, 24, 26, 29, 30, 31, 32, 33, 34], [1, 4, 5, 14, 16, 17, 18, 19, 20, 21, 22, 24, 27, 28, 30, 31, 32, 33, 34, 35], [1, 3, 4, 6, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 24, 27, 28, 29, 31, 33, 34, 35], [30], [2, 3, 4, 5, 8, 11, 13, 16, 18, 20, 24, 26, 28, 29, 30, 31, 32, 33, 35], [1, 3, 4, 6, 8, 10, 11, 12, 13, 15, 17, 18, 19, 22, 24, 29, 30, 31, 33, 34], [31], [1, 3, 4, 6, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 24, 27, 28, 29, 30, 33, 34, 35], [0, 2, 3, 5, 6, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 26, 28, 29, 30, 32, 33, 35], [1, 4, 5, 14, 16, 17, 18, 19, 21, 22, 23, 24, 26, 27, 28, 30, 31, 33, 34, 35], [1, 3, 8, 9, 20, 23, 29, 31, 35], [1, 4, 5, 9, 11, 12, 14, 16, 17, 18, 19, 21, 23, 24, 28, 29, 30, 31, 32, 33, 34, 35], [0, 3, 4, 8, 9, 11, 12, 13, 14, 17, 18, 19, 21, 24, 28, 29, 30, 32, 33, 34], [1, 4, 5, 14, 16, 17, 18, 20, 21, 22, 23, 24, 26, 27, 28, 30, 31, 33, 34, 35], [0, 1, 3, 4, 6, 8, 9, 11, 12, 15, 17, 18, 19, 20, 24, 27, 28, 29, 31, 32, 34, 35], [1, 4, 5, 11, 12, 13, 14, 16, 17, 18, 19, 21, 24, 28, 29, 30, 31, 32, 33, 34, 35], [1, 3, 4, 5, 6, 15, 16, 17, 18, 19, 20, 22, 26, 27, 28, 30, 31, 32, 33, 35], [8, 11, 12, 13, 16, 17, 18, 20, 22, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35], [32], [1, 3, 4, 5, 11, 12, 14, 15, 17, 18, 19, 20, 21, 23, 24, 27, 28, 29, 30, 33, 34, 35], [0, 1, 3, 4, 9, 11, 12, 13, 14, 17, 18, 19, 21, 24, 28, 29, 30, 32, 33, 34], [1, 4, 5, 11, 12, 13, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 33, 34, 35], [8, 10, 12, 19, 20, 23, 29, 32, 35], [1, 4, 5, 9, 11, 12, 14, 16, 17, 18, 19, 21, 23, 24, 28, 29, 30, 31, 32, 33, 34, 35], [0, 1, 3, 4, 8, 11, 12, 14, 17, 18, 19, 21, 24, 28, 29, 30, 31, 32, 33, 34], [1, 3, 4, 5, 6, 15, 16, 17, 18, 19, 20, 22, 24, 27, 28, 30, 31, 32, 33, 35], [1, 3, 4, 5, 11, 12, 14, 15, 17, 18, 19, 20, 21, 23, 24, 27, 28, 29, 30, 32, 34, 35], [33], [1, 3, 4, 7, 8, 10, 13, 17, 18, 19, 20, 22, 24, 26, 28, 29, 30, 31, 32, 33, 35], [34], [1, 2, 4, 5, 6, 8, 9, 12, 13, 16, 17, 18, 19, 20, 24, 27, 28, 29, 30, 32, 34, 35], [1, 4, 5, 11, 12, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 33, 34, 35], [0, 1, 4, 5, 8, 11, 12, 14, 16, 17, 18, 19, 21, 24, 27, 28, 29, 30, 31, 32, 33, 34], [35], [1, 4, 6, 8, 9, 11, 12, 15, 16, 17, 18, 19, 20, 23, 24, 27, 28, 29, 30, 32, 34, 35], [1, 4, 5, 11, 12, 13, 14, 16, 17, 18, 19, 21, 22, 24, 28, 29, 30, 31, 32, 33, 34, 35]] | |
+1 −0 routes/exact-local-maxima/support16.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +[[64], [0, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 34, 36, 39, 45, 46, 52, 53, 54, 58, 60, 61, 66, 67, 68, 69, 70, 71], [2, 5, 7, 8, 10, 13, 20, 21, 22, 23, 24, 27, 29, 32, 33, 46, 48, 51, 53, 54, 60, 61, 64, 65, 66, 68, 69, 70, 71], [1, 3, 7, 8, 9, 10, 11, 12, 15, 17, 21, 22, 25, 33, 34, 36, 38, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [65], [1, 3, 7, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 33, 34, 36, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 66, 67, 68, 71], [0, 2, 3, 7, 8, 10, 12, 17, 20, 21, 22, 27, 29, 33, 36, 39, 42, 43, 46, 48, 51, 53, 61, 64, 65, 66, 69, 71], [0, 1, 3, 8, 9, 12, 15, 21, 22, 25, 27, 32, 33, 34, 36, 37, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [0, 1, 3, 7, 8, 9, 11, 12, 15, 21, 22, 25, 27, 30, 32, 33, 34, 36, 39, 45, 46, 52, 53, 54, 60, 61, 64, 66, 67, 68, 69, 71], [2, 3, 5, 9, 10, 13, 15, 17, 19, 21, 22, 25, 26, 27, 34, 35, 42, 44, 45, 46, 52, 53, 54, 58, 60, 62, 65, 67, 68, 69, 70, 71], [66], [1, 3, 7, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 34, 36, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [0, 1, 4, 7, 8, 10, 11, 14, 17, 20, 22, 28, 32, 33, 34, 48, 50, 58, 60, 61, 64, 65, 66, 67, 68, 70, 71], [3, 7, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 34, 36, 38, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 66, 67, 68, 69, 70, 71], [2, 3, 7, 8, 10, 21, 22, 23, 24, 27, 32, 36, 39, 41, 42, 43, 46, 48, 49, 51, 53, 54, 61, 64, 65, 66, 68, 69, 71], [1, 3, 7, 8, 9, 10, 11, 15, 17, 22, 28, 30, 32, 33, 34, 38, 39, 44, 45, 46, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [0, 6, 7, 8, 10, 12, 15, 18, 21, 22, 23, 24, 27, 29, 32, 33, 34, 37, 45, 46, 53, 54, 56, 58, 60, 61, 64, 65, 66, 67, 68, 69], [3, 7, 8, 9, 10, 15, 17, 21, 22, 25, 33, 34, 35, 36, 39, 41, 44, 45, 46, 52, 53, 54, 57, 58, 60, 62, 66, 67, 68, 69, 70, 71], [2, 4, 8, 9, 10, 21, 22, 23, 24, 27, 29, 32, 33, 39, 46, 48, 49, 51, 53, 54, 61, 64, 65, 66, 68, 69, 71], [0, 1, 3, 6, 7, 15, 17, 21, 22, 25, 33, 35, 37, 38, 41, 44, 46, 49, 51, 52, 53, 54, 58, 60, 64, 65, 67, 68, 69, 70, 71], [1, 3, 5, 10, 11, 13, 14, 19, 20, 22, 26, 34, 35, 37, 45, 46, 53, 56, 64, 65, 66, 67, 68, 69, 70], [1, 7, 8, 9, 10, 11, 12, 15, 17, 21, 22, 25, 27, 32, 33, 34, 36, 38, 44, 45, 46, 48, 52, 53, 54, 60, 61, 64, 66, 67, 68, 71], [1, 3, 7, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 34, 36, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 66, 68, 70, 71], [67], [0, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 32, 33, 34, 36, 39, 45, 46, 48, 52, 53, 54, 60, 61, 64, 66, 67, 68, 69, 71], [2, 3, 5, 7, 9, 10, 13, 15, 17, 19, 21, 22, 25, 34, 35, 42, 44, 45, 46, 52, 53, 57, 58, 59, 60, 62, 65, 67, 68, 69, 70, 71], [2, 10, 12, 15, 16, 18, 21, 22, 23, 24, 26, 32, 37, 38, 41, 43, 45, 48, 53, 54, 56, 63, 64, 66, 67, 68, 69, 70, 71], [1, 3, 7, 9, 10, 11, 15, 17, 21, 22, 25, 27, 33, 36, 38, 44, 46, 48, 51, 52, 53, 58, 60, 61, 64, 65, 67, 69, 70, 71], [1, 3, 7, 8, 10, 11, 13, 14, 18, 20, 22, 26, 27, 30, 32, 33, 34, 38, 39, 45, 46, 52, 53, 54, 60, 64, 65, 66, 67, 68, 69], [3, 7, 9, 10, 15, 17, 21, 22, 25, 28, 32, 33, 34, 36, 37, 39, 41, 43, 44, 46, 48, 52, 53, 54, 58, 60, 61, 66, 67, 68, 71], [0, 3, 8, 9, 10, 13, 15, 18, 21, 22, 25, 27, 28, 33, 34, 35, 36, 38, 39, 42, 46, 52, 53, 54, 61, 62, 63, 64, 65, 66, 68, 71], [1, 7, 9, 10, 11, 12, 14, 17, 20, 22, 23, 27, 28, 30, 34, 35, 37, 38, 41, 46, 50, 53, 58, 60, 61, 64, 65, 66, 67, 69, 70, 71], [0, 3, 5, 6, 8, 10, 13, 15, 17, 21, 22, 24, 25, 27, 30, 32, 34, 39, 42, 45, 46, 52, 53, 54, 60, 64, 67, 68, 69], [1, 3, 8, 9, 10, 11, 12, 15, 17, 19, 20, 27, 33, 36, 38, 44, 45, 46, 52, 54, 56, 58, 59, 60, 62, 66, 67, 68, 69, 70, 71], [2, 3, 5, 7, 9, 10, 15, 17, 21, 22, 25, 26, 32, 34, 42, 44, 45, 46, 48, 52, 54, 57, 59, 60, 62, 64, 65, 66, 68, 69, 70, 71], [0, 1, 6, 8, 9, 12, 15, 17, 21, 22, 25, 27, 32, 33, 36, 37, 39, 46, 48, 51, 52, 53, 58, 60, 61, 64, 67, 69, 70, 71], [1, 3, 7, 9, 10, 11, 12, 14, 17, 18, 21, 22, 25, 28, 30, 34, 35, 38, 41, 46, 50, 53, 56, 58, 60, 61, 64, 65, 66, 67, 68, 70], [0, 3, 8, 9, 10, 12, 15, 17, 25, 27, 28, 32, 33, 34, 36, 45, 46, 48, 52, 53, 54, 57, 60, 61, 64, 66, 67, 68, 69, 71], [0, 7, 8, 9, 10, 18, 21, 22, 25, 30, 32, 33, 34, 36, 39, 45, 46, 48, 52, 53, 56, 58, 60, 61, 64, 65, 66, 68, 70, 71], [0, 5, 13, 14, 15, 19, 20, 21, 23, 24, 27, 28, 37, 46, 47, 48, 52, 53, 54, 57, 60, 61, 64, 65, 66, 67, 68, 69, 71], [0, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 34, 36, 39, 45, 46, 52, 53, 54, 58, 60, 61, 64, 66, 67, 68, 69, 71], [13, 14, 17, 18, 20, 21, 22, 25, 26, 41, 45, 46, 54, 56, 58, 59, 60, 62, 65, 66, 67, 68, 69, 70, 71], [68], [0, 1, 6, 8, 9, 12, 15, 21, 22, 25, 27, 32, 33, 34, 36, 37, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 69, 70, 71], [1, 3, 7, 9, 10, 11, 12, 15, 21, 22, 25, 27, 28, 30, 32, 33, 34, 38, 45, 46, 48, 52, 53, 54, 58, 60, 64, 65, 66, 67, 68, 69], [1, 3, 8, 9, 10, 11, 15, 17, 19, 20, 27, 32, 33, 36, 38, 44, 45, 48, 53, 56, 57, 60, 61, 66, 67, 68, 69, 70, 71], [3, 4, 5, 8, 9, 10, 21, 22, 25, 28, 30, 34, 35, 36, 37, 38, 39, 46, 52, 53, 54, 58, 62, 63, 64, 65, 66, 67, 68, 70, 71], [2, 4, 7, 8, 21, 22, 23, 27, 32, 33, 37, 39, 43, 46, 48, 49, 51, 53, 55, 60, 61, 64, 66, 67, 69, 70, 71], [0, 1, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 34, 36, 39, 45, 46, 52, 53, 54, 58, 60, 64, 65, 66, 67, 68, 69], [2, 3, 8, 9, 10, 15, 17, 23, 26, 27, 33, 34, 42, 45, 46, 49, 59, 60, 61, 62, 64, 65, 67, 68, 69, 70, 71], [0, 1, 3, 7, 8, 9, 11, 12, 15, 17, 21, 22, 25, 33, 34, 36, 38, 44, 45, 46, 48, 52, 54, 58, 60, 62, 64, 65, 67, 68, 70, 71], [2, 4, 5, 6, 9, 21, 22, 23, 24, 27, 32, 33, 37, 39, 43, 46, 48, 50, 51, 53, 58, 60, 61, 64, 66, 67, 69, 70, 71], [1, 3, 7, 10, 14, 17, 18, 20, 21, 22, 25, 28, 30, 34, 35, 37, 38, 41, 46, 48, 50, 53, 56, 58, 60, 61, 64, 65, 66, 67, 68, 70], [0, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 34, 36, 39, 45, 46, 52, 53, 54, 58, 60, 61, 62, 64, 67, 68, 69, 71], [0, 1, 6, 8, 9, 12, 15, 21, 22, 25, 27, 32, 33, 34, 36, 37, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [69], [0, 3, 6, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 34, 36, 39, 45, 46, 52, 53, 54, 58, 60, 61, 64, 66, 67, 68, 69, 71], [70], [1, 3, 7, 8, 9, 10, 11, 15, 21, 22, 25, 27, 28, 30, 33, 36, 39, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [2, 6, 8, 9, 21, 22, 23, 24, 25, 27, 32, 33, 34, 39, 46, 50, 51, 53, 55, 57, 58, 60, 61, 64, 66, 69, 70, 71], [1, 3, 7, 8, 9, 10, 11, 12, 15, 21, 22, 25, 27, 30, 32, 33, 34, 36, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 66, 67, 68], [71], [0, 1, 3, 7, 8, 9, 11, 12, 15, 17, 21, 22, 25, 30, 34, 36, 38, 45, 46, 48, 52, 53, 54, 58, 60, 61, 64, 65, 67, 68, 70, 71], [2, 8, 9, 10, 21, 22, 23, 26, 27, 32, 33, 37, 39, 41, 43, 46, 48, 53, 55, 56, 60, 61, 64, 65, 66, 67, 69, 70, 71]] | |
+54 −0 routes/exact-local-maxima/verify_affine13.py added View file
| @@ -0,0 +1,54 @@ | ||
| 1 | +"""Optimize affine square placements for the 47 conjugates of the 13-point shape field.""" | |
| 2 | +import argparse | |
| 3 | +import csv | |
| 4 | +import gzip | |
| 5 | +from fractions import Fraction | |
| 6 | +import json | |
| 7 | +import sys | |
| 8 | +from pathlib import Path | |
| 9 | +from flint import arb, arb_poly, ctx, fmpz_poly | |
| 10 | +from affine_square import optimize, enclose, require | |
| 11 | + | |
| 12 | +sys.path.insert(0,str(Path(__file__).resolve().parent/'real-branches')) | |
| 13 | +from enumerate_branches import root_bracket, normalized_points, square_image | |
| 14 | + | |
| 15 | +def main(): | |
| 16 | + p=argparse.ArgumentParser(description=__doc__) | |
| 17 | + p.add_argument("certificate",type=Path) | |
| 18 | + p.add_argument("brackets",type=Path) | |
| 19 | + p.add_argument("output_csv",type=Path) | |
| 20 | + args=p.parse_args() | |
| 21 | + data=json.load(gzip.open(args.certificate,"rt")) | |
| 22 | + brackets=json.loads(args.brackets.read_text()) | |
| 23 | + from sympy import Poly, Symbol | |
| 24 | + intervals=Poly.from_list(data["polynomial"][::-1],Symbol("t")).intervals() | |
| 25 | + require(len(intervals)==len(brackets)==47 and all(m==1 for _,m in intervals), | |
| 26 | + "unexpected real root count") | |
| 27 | + require(all(Fraction(x[1])<Fraction(y[0]) for x,y in zip(brackets,brackets[1:])), | |
| 28 | + "brackets overlap") | |
| 29 | + ctx.prec=4500 | |
| 30 | + f=fmpz_poly(data["polynomial"]);fp=arb_poly(f);df=arb_poly(f.derivative()) | |
| 31 | + coeffs={name:(arb_poly(row['numerator']),row['scale']) for name,row in data['coordinates'].items()} | |
| 32 | + wall={(1,0):0,(6,0):0,(7,0):1,(5,1):0,(11,1):0,(1,1):1,(4,1):1} | |
| 33 | + rows=[];target_ranks=[];others=[] | |
| 34 | + for j,bounds in enumerate(brackets): | |
| 35 | + t,k=root_bracket(fp,df,bounds) | |
| 36 | + a=square_image(normalized_points(t,df(t),coeffs)) | |
| 37 | + target=(k==int(data["isolating_interval"]["numerator"])) | |
| 38 | + with ctx.workprec(360): | |
| 39 | + points=[tuple(arb(wall[(i,k)]) if (i,k) in wall else z+0 for k,z in enumerate(pt)) for i,pt in enumerate(a)] | |
| 40 | + if target: | |
| 41 | + require(all(0<=z and z<=1 for pt in points for z in pt),"target is outside the square") | |
| 42 | + target_ranks.append(j+1) | |
| 43 | + axes=[((1,6),(1,4)),((1,6),(5,11))] if target else () | |
| 44 | + hull,base,factor,score=optimize(points,axes) | |
| 45 | + require(score>0 and (target or score<arb(12)/10000),"unexpected affine optimum") | |
| 46 | + rows.append([j+1,hull,*enclose(base),*enclose(factor),*enclose(score)]) | |
| 47 | + if not target:others.append((j+1,score)) | |
| 48 | + require(target_ranks==[40],"unexpected distinguished embedding") | |
| 49 | + largest=max(others,key=lambda r:float(r[1].mid())) | |
| 50 | + require(all(v<largest[1] for j,v in others if j!=largest[0]),"unresolved runner up") | |
| 51 | + with args.output_csv.open("w",newline="") as f: | |
| 52 | + w=csv.writer(f);w.writerow(["root_rank","hull_edges","initial_area_lower","initial_area_upper","max_determinant_lower","max_determinant_upper","optimal_area_lower","optimal_area_upper"]);w.writerows(rows) | |
| 53 | + print("All 47 affine optima certified. Largest outside target",largest[0],enclose(largest[1])) | |
| 54 | +if __name__=='__main__':main() | |
+47 −0 routes/exact-local-maxima/verify_affine15.py added View file
| @@ -0,0 +1,47 @@ | ||
| 1 | +"""Optimize the affine unit-square placement for every real conjugate of the 15-point field.""" | |
| 2 | +import argparse | |
| 3 | +import csv | |
| 4 | +import gzip | |
| 5 | +import json | |
| 6 | +from pathlib import Path | |
| 7 | + | |
| 8 | +from flint import arb, arb_poly, ctx, fmpz_poly | |
| 9 | +from verify_area15 import WALLS, dyadic_bracket, points_at, polynomial_balls, real_root_count, require, square_polynomials | |
| 10 | + | |
| 11 | +from affine_square import optimize, enclose | |
| 12 | + | |
| 13 | +def main(): | |
| 14 | + p=argparse.ArgumentParser(description=__doc__) | |
| 15 | + p.add_argument("certificate",type=Path) | |
| 16 | + p.add_argument("brackets",type=Path) | |
| 17 | + p.add_argument("output_csv",type=Path) | |
| 18 | + args=p.parse_args() | |
| 19 | + data=json.load(gzip.open(args.certificate,"rt")) | |
| 20 | + roots=json.load(gzip.open(args.brackets,"rt")) | |
| 21 | + f=fmpz_poly(data["polynomial"]) | |
| 22 | + ns=list(map(int,roots["lower"]));b=roots["exponent"] | |
| 23 | + require(len(ns)==real_root_count(f)==165 and all(n+1<m for n,m in zip(ns,ns[1:])), | |
| 24 | + "the brackets must cover all real roots and be disjoint") | |
| 25 | + ctx.prec=max(10000,b+1000) | |
| 26 | + fp,df=arb_poly(f),arb_poly(f.derivative()) | |
| 27 | + denominator,coordinates=square_polynomials(data,f) | |
| 28 | + den=arb_poly(denominator);nums=polynomial_balls(coordinates) | |
| 29 | + result=[];other_scores=[] | |
| 30 | + for j,n in enumerate(ns): | |
| 31 | + a=dyadic_bracket(fp,df,n,b) | |
| 32 | + points=points_at(nums,den,a) | |
| 33 | + target=j==roots["target"] | |
| 34 | + with ctx.workprec(360): | |
| 35 | + points=[tuple(arb(WALLS[(i,k)]) if (i,k) in WALLS else z+0 for k,z in enumerate(pt)) for i,pt in enumerate(points)] | |
| 36 | + if target: | |
| 37 | + require(all(z>=0 and z<=1 for pt in points for z in pt),"target falls outside the square") | |
| 38 | + hull,base,factor,score=optimize(points, [((5,6),(3,4))] if target else ()) | |
| 39 | + require(score>0 and (target or score<arb(1)/1000),"unexpected branch score") | |
| 40 | + result.append([j+1,hull,*enclose(base),*enclose(factor),*enclose(score)]) | |
| 41 | + if not target:other_scores.append((j+1,score)) | |
| 42 | + largest=max(other_scores,key=lambda z:float(z[1].mid())) | |
| 43 | + require(all(value<largest[1] for j,value in other_scores if j!=largest[0]),"largest other branch is unresolved") | |
| 44 | + with args.output_csv.open("w",newline="") as out: | |
| 45 | + writer=csv.writer(out);writer.writerow(["root_rank","hull_edges","initial_area_lower","initial_area_upper","max_determinant_lower","max_determinant_upper","optimal_area_lower","optimal_area_upper"]);writer.writerows(result) | |
| 46 | + print("All real embeddings checked. Largest attainable area outside target",largest[0],enclose(largest[1]),flush=True) | |
| 47 | +if __name__=="__main__":main() | |
+85 −0 routes/exact-local-maxima/verify_area13.py added View file
| @@ -0,0 +1,85 @@ | ||
| 1 | +"""Verify an explicit minimal polynomial and coordinate formulas for a Heilbronn configuration. | |
| 2 | + | |
| 3 | +Usage: python verify_area13.py minimum13.json.gz n13.txt | |
| 4 | +Requires python-flint, equal_area.py and verify_field13.py from this directory. | |
| 5 | +""" | |
| 6 | +import argparse | |
| 7 | +from fractions import Fraction | |
| 8 | +import gzip | |
| 9 | +from itertools import combinations | |
| 10 | +import json | |
| 11 | +from math import lcm | |
| 12 | +from pathlib import Path | |
| 13 | +from flint import arb, ctx, fmpz_poly | |
| 14 | +from equal_area import certify, read_points | |
| 15 | +from verify_field13 import as_ball, det, difference, rational_ball, verify_irreducibility | |
| 16 | + | |
| 17 | +def verify(cert, seed): | |
| 18 | + h = fmpz_poly(cert["polynomial"]) | |
| 19 | + if cert["parameter"] != "minimum_triangle_area" or h.degree() != 345 or len(seed) != 13: | |
| 20 | + raise ValueError("unexpected area or seed description") | |
| 21 | + verify_irreducibility(h, cert["modular_factor_degrees"]) | |
| 22 | + bounds = cert["isolating_interval"] | |
| 23 | + lo, bits = int(bounds["numerator"]), bounds["denominator_power_of_two"] | |
| 24 | + ctx.prec = 4800 | |
| 25 | + lower, upper = arb((lo, -bits)), arb((lo + 1, -bits)) | |
| 26 | + a = arb((2*lo+1, -bits-1), (1, -bits-1)) | |
| 27 | + hprime = h.derivative() | |
| 28 | + if not as_ball(h,lower)*as_ball(h,upper) < 0 or 0 in as_ball(hprime,a): | |
| 29 | + raise ValueError("the rational interval must isolate a simple real root") | |
| 30 | + functions = cert["coordinates"] | |
| 31 | + common = lcm(*(entry["scale"] for entry in functions.values())) | |
| 32 | + d = common * hprime | |
| 33 | + root_d = as_ball(d, a) | |
| 34 | + nums, points, names = [], [], set() | |
| 35 | + for i, pair in enumerate(seed): | |
| 36 | + row = [] | |
| 37 | + for coord, q in zip("xy", pair): | |
| 38 | + if q in (0, 1): | |
| 39 | + numerator = int(q) * d | |
| 40 | + else: | |
| 41 | + name = coord+str(i) | |
| 42 | + entry = functions[name] | |
| 43 | + numerator = (common//entry["scale"])*fmpz_poly(entry["numerator"]) | |
| 44 | + names.add(name) | |
| 45 | + row.append(numerator) | |
| 46 | + nums.append(row) | |
| 47 | + points.append(tuple(as_ball(numerator,a)/root_d for numerator in row)) | |
| 48 | + if names != set(functions) or len(names)!=19: | |
| 49 | + raise ValueError("unexpected coordinate formulas") | |
| 50 | + tau, rho, radius, _, _, _ = certify(seed) | |
| 51 | + distances = [abs(x-rational_ball(q)) for pt,pair in zip(points,seed) for x,q in zip(pt,pair)] | |
| 52 | + distances.append(abs(2*a-rational_ball(tau))) | |
| 53 | + if not all(dx < rational_ball(rho) for dx in distances): | |
| 54 | + raise ValueError("area parametrization does not realize the isolated source configuration") | |
| 55 | + two_a_d_squared = fmpz_poly([0,2])*d*d | |
| 56 | + contacts = 0 | |
| 57 | + for i,j,k in combinations(range(13),3): | |
| 58 | + observed = det(difference(seed[j],seed[i]),difference(seed[k],seed[i])) | |
| 59 | + sign = 1 if observed>0 else -1 | |
| 60 | + signed_area = sign*det(difference(nums[j],nums[i]),difference(nums[k],nums[i])) | |
| 61 | + if abs(abs(observed)-tau) < Fraction(1,10**13): | |
| 62 | + if (signed_area-two_a_d_squared) % h: | |
| 63 | + raise ValueError("an equality fails as an exact polynomial identity") | |
| 64 | + contacts += 1 | |
| 65 | + else: | |
| 66 | + actual = sign*det(difference(points[j],points[i]),difference(points[k],points[i])) | |
| 67 | + if not actual > 2*a: | |
| 68 | + raise ValueError("a triangle does not clear the proposed area") | |
| 69 | + if contacts != 20: | |
| 70 | + raise ValueError("wrong number of binding triangles") | |
| 71 | + print("345-degree primitive irreducible area polynomial; 20 exact binding triangles.") | |
| 72 | + print("Every other triangle has larger area. All 26 coordinates and the area match the certified root.") | |
| 73 | + print("Minimum triangle area",a.str(90),"and strict local radius",radius) | |
| 74 | + | |
| 75 | +def main(): | |
| 76 | + p=argparse.ArgumentParser(description=__doc__) | |
| 77 | + p.add_argument("certificate",type=Path) | |
| 78 | + p.add_argument("coordinates",type=Path) | |
| 79 | + args=p.parse_args() | |
| 80 | + with gzip.open(args.certificate,"rt") as src: | |
| 81 | + data=json.load(src) | |
| 82 | + verify(data,read_points(args.coordinates)) | |
| 83 | + | |
| 84 | +if __name__=="__main__": | |
| 85 | + main() | |
+229 −0 routes/exact-local-maxima/verify_area15.py added View file
| @@ -0,0 +1,229 @@ | ||
| 1 | +"""Verify Sudermann-Merx's 15-point configuration over its area field. | |
| 2 | + | |
| 3 | +Requires python-flint and equal_area.py from this route. The optional conjugate | |
| 4 | +check uses Descartes' rule of signs and the enclosed dyadic bracket list. | |
| 5 | +""" | |
| 6 | +import argparse | |
| 7 | +import gzip | |
| 8 | +import json | |
| 9 | +from fractions import Fraction | |
| 10 | +from itertools import combinations | |
| 11 | +from math import lcm | |
| 12 | +from pathlib import Path | |
| 13 | + | |
| 14 | +from flint import arb, arb_poly, ctx, fmpq, fmpz, fmpz_poly, nmod_poly | |
| 15 | +from equal_area import certify, read_points | |
| 16 | + | |
| 17 | + | |
| 18 | +WALLS = {(0, 0): 1, (1, 1): 0, (3, 1): 1, (4, 1): 1, | |
| 19 | + (5, 0): 0, (6, 0): 0} | |
| 20 | +REFERENCE = (13, 1) | |
| 21 | + | |
| 22 | + | |
| 23 | +def require(value, message): | |
| 24 | + if not value: | |
| 25 | + raise ValueError(message) | |
| 26 | + | |
| 27 | + | |
| 28 | +def rational_ball(q): | |
| 29 | + return arb(fmpq(q.numerator, q.denominator)) | |
| 30 | + | |
| 31 | + | |
| 32 | +def det(a, b, c): | |
| 33 | + return ((b[0] - a[0]) * (c[1] - a[1]) | |
| 34 | + - (b[1] - a[1]) * (c[0] - a[0])) | |
| 35 | + | |
| 36 | + | |
| 37 | +def irreducibility(f, witnesses): | |
| 38 | + n = f.degree() | |
| 39 | + require(n == 1357 and f.content() == 1 and f.leading_coefficient() > 0, | |
| 40 | + "invalid normalized area polynomial") | |
| 41 | + possible = set(range(1, n // 2 + 1)) | |
| 42 | + for witness in witnesses: | |
| 43 | + p = witness["prime"] | |
| 44 | + require(fmpz(p).is_prime(), "irreducibility witness needs a prime") | |
| 45 | + h = nmod_poly([int(c) % p for c in f.coeffs()], p) | |
| 46 | + require(h.degree() == n and h.gcd(h.derivative()).degree() == 0, | |
| 47 | + "bad modular reduction") | |
| 48 | + degrees = sorted(int(g.degree()) for g, _ in h.factor()[1]) | |
| 49 | + require(degrees == witness["degrees"], "incorrect modular factor list") | |
| 50 | + mask = 1 | |
| 51 | + for d in degrees: | |
| 52 | + mask |= mask << d | |
| 53 | + possible = {k for k in possible if (mask >> k) & 1} | |
| 54 | + require(not possible, "a rational factor degree remains possible") | |
| 55 | + | |
| 56 | + | |
| 57 | +def square_polynomials(data, f): | |
| 58 | + entries = data["coordinates"] | |
| 59 | + expected = {"xy"[a] + str(i) for i in range(15) for a in (0, 1) | |
| 60 | + if (i, a) not in WALLS and (i, a) != REFERENCE} | |
| 61 | + require(set(entries) == expected, "incomplete coordinate list") | |
| 62 | + scales = [row["scale"] for row in entries.values()] | |
| 63 | + require(all(s > 0 for s in scales), "scales must be positive") | |
| 64 | + scale = lcm(*scales) | |
| 65 | + denominator = f.derivative() * scale | |
| 66 | + values = {name: fmpz_poly(row["numerator"]) * (scale // row["scale"]) | |
| 67 | + for name, row in entries.items()} | |
| 68 | + for (i, a), side in WALLS.items(): | |
| 69 | + values["xy"[a] + str(i)] = denominator * side | |
| 70 | + values["y13"] = values["y6"] | |
| 71 | + return denominator, [(values["x" + str(i)], values["y" + str(i)]) | |
| 72 | + for i in range(15)] | |
| 73 | + | |
| 74 | + | |
| 75 | +def polynomial_balls(polys): | |
| 76 | + return [(arb_poly(x), arb_poly(y)) for x, y in polys] | |
| 77 | + | |
| 78 | + | |
| 79 | +def dyadic_bracket(f, df, n, bits): | |
| 80 | + lo, hi = arb((n, -bits)), arb((n + 1, -bits)) | |
| 81 | + ball = arb((2 * n + 1, -bits - 1), (1, -bits - 1)) | |
| 82 | + require(f(lo) * f(hi) < 0 and not df(ball).contains(0), | |
| 83 | + "interval does not isolate a simple real root") | |
| 84 | + return ball | |
| 85 | + | |
| 86 | + | |
| 87 | +def points_at(polys, den, a): | |
| 88 | + d = den(a) | |
| 89 | + require(not d.contains(0), "singular coordinate expression") | |
| 90 | + return [(x(a) / d, y(a) / d) for x, y in polys] | |
| 91 | + | |
| 92 | + | |
| 93 | +def area_multiplicities(points, seed, active): | |
| 94 | + # If two active triangles on the same side share an edge ab, the opposite | |
| 95 | + # edge cd is parallel to ab. Triangles cda and cdb then also have equal area. | |
| 96 | + pairs = set() | |
| 97 | + triangles = set(combinations(range(15), 3)) | |
| 98 | + for a, b in combinations(range(15), 2): | |
| 99 | + measured = [c for c in range(15) if c not in (a, b) | |
| 100 | + and tuple(sorted((a, b, c))) in active] | |
| 101 | + for c, d in combinations(measured, 2): | |
| 102 | + if det(seed[a], seed[b], seed[c]) * det(seed[a], seed[b], seed[d]) > 0: | |
| 103 | + pairs.add(frozenset((tuple(sorted((a, c, d))), | |
| 104 | + tuple(sorted((b, c, d)))))) | |
| 105 | + repeated = set().union(*pairs) | |
| 106 | + require(len(pairs) == 7 and len(repeated) == 14 and not repeated & active, | |
| 107 | + "unexpected trapezoid multiplicities") | |
| 108 | + groups = [active] + list(pairs) + [{t} for t in triangles - active - repeated] | |
| 109 | + values = [] | |
| 110 | + for group in groups: | |
| 111 | + a, b, c = next(iter(group)) | |
| 112 | + values.append(abs(det(points[a], points[b], points[c]))) | |
| 113 | + values.sort(key=lambda v: float(v.mid())) | |
| 114 | + require(all(a < b for a, b in zip(values, values[1:])), | |
| 115 | + "unresolved separation between different triangle areas") | |
| 116 | + print("There are 424 distinct areas: one 25-fold, seven twofold and 416 single.") | |
| 117 | + | |
| 118 | + | |
| 119 | +def verify(data, seed): | |
| 120 | + require(len(seed) == 15 and data["parameter"] == "minimum_triangle_area", | |
| 121 | + "unexpected input") | |
| 122 | + f = fmpz_poly(data["polynomial"]) | |
| 123 | + irreducibility(f, data["modular_factor_degrees"]) | |
| 124 | + den, polys = square_polynomials(data, f) | |
| 125 | + root = data["isolating_interval"] | |
| 126 | + bits = root["denominator_power_of_two"] | |
| 127 | + ctx.prec = max(10000, bits + 1000) | |
| 128 | + # Construct the floating-point polynomials after setting working precision. | |
| 129 | + fp, dp = arb_poly(f), arb_poly(f.derivative()) | |
| 130 | + a = dyadic_bracket(fp, dp, int(root["numerator"]), bits) | |
| 131 | + numerators, denominator = polynomial_balls(polys), arb_poly(den) | |
| 132 | + points = points_at(numerators, denominator, a) | |
| 133 | + tau, rho, radius, ntri, nwall, _ = certify(seed) | |
| 134 | + require(ntri == 25 and nwall == 6, "different local contact system") | |
| 135 | + for i, pair in enumerate(points): | |
| 136 | + for axis, q in enumerate(pair): | |
| 137 | + require(abs(q - rational_ball(seed[i][axis])) < rational_ball(rho), | |
| 138 | + "coordinate outside the certified root cube") | |
| 139 | + if (i, axis) not in WALLS: | |
| 140 | + require(q > 0 and q < 1, "nonboundary coordinate outside square") | |
| 141 | + require(abs(2 * a - rational_ball(tau)) < rational_ball(rho), | |
| 142 | + "area outside the certified root cube") | |
| 143 | + doubled = 2 * fmpz_poly([0, 1]) * den**2 | |
| 144 | + active = set() | |
| 145 | + for i, j, k in combinations(range(15), 3): | |
| 146 | + observed = det(seed[i], seed[j], seed[k]) | |
| 147 | + sign = 1 if observed > 0 else -1 | |
| 148 | + if abs(observed) - tau < Fraction(1, 10**12): | |
| 149 | + exact = sign * det(polys[i], polys[j], polys[k]) - doubled | |
| 150 | + require(not (exact % f), f"incorrect exact contact {(i, j, k)}") | |
| 151 | + active.add((i, j, k)) | |
| 152 | + else: | |
| 153 | + require(sign * det(points[i], points[j], points[k]) > 2 * a, | |
| 154 | + f"triangle {(i, j, k)} is too small") | |
| 155 | + require(len(active) == 25, "unexpected number of exact contacts") | |
| 156 | + area_multiplicities(points, seed, active) | |
| 157 | + print("Degree 1357 is irreducible. All 25 contacts and 430 strict inequalities passed.") | |
| 158 | + print("The 30 coordinates and the doubled area lie in the local root cube.") | |
| 159 | + print("Minimum area", a.str(75), "and strict local radius", radius) | |
| 160 | + return f, numerators, denominator | |
| 161 | + | |
| 162 | + | |
| 163 | +def sign_changes(poly): | |
| 164 | + signs = [c > 0 for c in poly.coeffs() if c] | |
| 165 | + return sum(a != b for a, b in zip(signs, signs[1:])) | |
| 166 | + | |
| 167 | + | |
| 168 | +def reverse(poly): | |
| 169 | + return fmpz_poly(poly.coeffs()[::-1]) | |
| 170 | + | |
| 171 | + | |
| 172 | +def real_root_count(f): | |
| 173 | + """Split the positive axis by z=1+2u and z=u/(2+u), for f(z) and f(-z).""" | |
| 174 | + shift = fmpz_poly([1, 2]) | |
| 175 | + neg = fmpz_poly([c * (-1 if j % 2 else 1) for j, c in enumerate(f.coeffs())]) | |
| 176 | + stack, count = [f, neg], 0 | |
| 177 | + require(f[0] != 0, "unexpected rational root at zero") | |
| 178 | + while stack: | |
| 179 | + g = stack.pop() | |
| 180 | + v = sign_changes(g) | |
| 181 | + if v <= 1: | |
| 182 | + count += v | |
| 183 | + else: | |
| 184 | + require(g(1) != 0, "unexpected rational split point") | |
| 185 | + for child in (g(shift), reverse(reverse(g)(shift))): | |
| 186 | + changes = sign_changes(child) | |
| 187 | + if changes <= 1: | |
| 188 | + count += changes | |
| 189 | + else: | |
| 190 | + stack.append(child // child.content()) | |
| 191 | + return count | |
| 192 | + | |
| 193 | + | |
| 194 | +def conjugates(f, numerators, denominator, table): | |
| 195 | + candidates = list(map(int, table["lower"])) | |
| 196 | + b = table["exponent"] | |
| 197 | + require(real_root_count(f) == len(candidates) == 165, "unexpected real-root count") | |
| 198 | + require(all(n + 1 < m for n, m in zip(candidates, candidates[1:])), | |
| 199 | + "brackets overlap") | |
| 200 | + fp, df = arb_poly(f), arb_poly(f.derivative()) | |
| 201 | + valid = [] | |
| 202 | + for idx, n in enumerate(candidates): | |
| 203 | + a = dyadic_bracket(fp, df, n, b) | |
| 204 | + p = points_at(numerators, denominator, a) | |
| 205 | + if any(q < 0 or q > 1 for pair in p for q in pair): | |
| 206 | + continue | |
| 207 | + require(all(0 < q < 1 for i, pair in enumerate(p) for j, q in enumerate(pair) | |
| 208 | + if (i, j) not in WALLS), "unresolved square inequality") | |
| 209 | + valid.append(idx) | |
| 210 | + require(valid == [table["target"]], "unexpected feasible conjugate") | |
| 211 | + print("All 165 real conjugates checked. Exactly one satisfies the square inequalities.") | |
| 212 | + | |
| 213 | + | |
| 214 | +def main(): | |
| 215 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 216 | + parser.add_argument("certificate", type=Path) | |
| 217 | + parser.add_argument("coordinates", type=Path) | |
| 218 | + parser.add_argument("--conjugates", type=Path) | |
| 219 | + args = parser.parse_args() | |
| 220 | + with gzip.open(args.certificate, "rt") as src: | |
| 221 | + data = json.load(src) | |
| 222 | + result = verify(data, read_points(args.coordinates)) | |
| 223 | + if args.conjugates: | |
| 224 | + with gzip.open(args.conjugates, "rt") as src: | |
| 225 | + conjugates(*result, json.load(src)) | |
| 226 | + | |
| 227 | + | |
| 228 | +if __name__ == "__main__": | |
| 229 | + main() | |
+143 −0 routes/exact-local-maxima/verify_field13.py added View file
| @@ -0,0 +1,143 @@ | ||
| 1 | +"""Verify the univariate description of Karpov's 13-point configuration. | |
| 2 | + | |
| 3 | +Usage: python verify_field13.py field13.json.gz n13.txt | |
| 4 | +Dependencies: python-flint and the equal_area.py script from this route. | |
| 5 | +""" | |
| 6 | +import argparse | |
| 7 | +from fractions import Fraction | |
| 8 | +import gzip | |
| 9 | +from itertools import combinations | |
| 10 | +import json | |
| 11 | +from math import lcm | |
| 12 | +from pathlib import Path | |
| 13 | +from flint import arb, arb_poly, ctx, fmpq, fmpz, fmpz_poly, nmod_poly | |
| 14 | +from equal_area import certify, read_points | |
| 15 | + | |
| 16 | +def rational_ball(q): | |
| 17 | + return arb(fmpq(q.numerator, q.denominator)) | |
| 18 | + | |
| 19 | +def as_ball(poly, value): | |
| 20 | + return arb_poly([int(c) for c in poly.coeffs()])(value) | |
| 21 | + | |
| 22 | +def difference(a, b): | |
| 23 | + return (a[0] - b[0], a[1] - b[1]) | |
| 24 | + | |
| 25 | +def det(a, b): | |
| 26 | + return a[0] * b[1] - a[1] * b[0] | |
| 27 | + | |
| 28 | +def coordinate_map(points): | |
| 29 | + # Each edge starts on the 0 side of the corresponding square coordinate. | |
| 30 | + edge_x = difference(points[6], points[1]) | |
| 31 | + edge_y = difference(points[11], points[5]) | |
| 32 | + width_x = det(edge_x, difference(points[7], points[1])) | |
| 33 | + width_y = det(edge_y, difference(points[1], points[5])) | |
| 34 | + return edge_x, edge_y, width_x, width_y | |
| 35 | + | |
| 36 | +def verify_irreducibility(f, certificates): | |
| 37 | + allowed = set(range(1, f.degree() // 2 + 1)) | |
| 38 | + if f.content() != 1: | |
| 39 | + raise ValueError("field polynomial must be primitive") | |
| 40 | + for proof in certificates: | |
| 41 | + p = proof["prime"] | |
| 42 | + if not fmpz(p).is_prime(): | |
| 43 | + raise ValueError("invalid prime") | |
| 44 | + reduction = nmod_poly([int(c) for c in f.coeffs()], p) | |
| 45 | + if reduction.degree() != f.degree() or not reduction.gcd(reduction.derivative()).is_one(): | |
| 46 | + raise ValueError("bad reduction") | |
| 47 | + _, factors = reduction.factor() | |
| 48 | + degrees = sorted(t.degree() for t, exponent in factors if exponent == 1) | |
| 49 | + if degrees != proof["degrees"] or sum(degrees) != f.degree(): | |
| 50 | + raise ValueError("modular factor degrees differ") | |
| 51 | + attainable = {0} | |
| 52 | + for degree in degrees: | |
| 53 | + attainable |= {k + degree for k in attainable} | |
| 54 | + allowed &= attainable | |
| 55 | + if allowed: | |
| 56 | + raise ValueError("a rational factor degree is still possible") | |
| 57 | + | |
| 58 | +def shape_polynomials(data, f): | |
| 59 | + X = fmpz_poly([0, 1]) | |
| 60 | + d = f.derivative() | |
| 61 | + coords = data["coordinates"] | |
| 62 | + scale = lcm(*(c["scale"] for c in coords.values())) | |
| 63 | + denominator = d * scale | |
| 64 | + values = {name: fmpz_poly(c["numerator"]) * (scale // c["scale"]) | |
| 65 | + for name, c in coords.items()} | |
| 66 | + zero = fmpz_poly() | |
| 67 | + values.update(x12=zero, y12=zero, x0=denominator, y0=zero, | |
| 68 | + x6=zero, y6=denominator, y5=denominator, x11=denominator, | |
| 69 | + y11=X * denominator) | |
| 70 | + points = [(values["x" + str(i)], values["y" + str(i)]) for i in range(13)] | |
| 71 | + return denominator, points | |
| 72 | + | |
| 73 | +def verify(data, seed): | |
| 74 | + if data["basis"] != [12, 0, 6] or data["parameter"] != "y11" or len(seed) != 13: | |
| 75 | + raise ValueError("unexpected affine chart") | |
| 76 | + f = fmpz_poly(data["polynomial"]) | |
| 77 | + if f.degree() != 345: | |
| 78 | + raise ValueError("wrong degree") | |
| 79 | + verify_irreducibility(f, data["modular_factor_degrees"]) | |
| 80 | + denominator, numerators = shape_polynomials(data, f) | |
| 81 | + basis = data["basis"] | |
| 82 | + base_det = det(difference(seed[basis[1]], seed[basis[0]]), | |
| 83 | + difference(seed[basis[2]], seed[basis[0]])) | |
| 84 | + orientation = 1 if base_det > 0 else -1 | |
| 85 | + tau, rho, radius, active_count, _, _ = certify(seed) | |
| 86 | + contacts = 0 | |
| 87 | + for i, j, k in combinations(range(13), 3): | |
| 88 | + observed = det(difference(seed[j], seed[i]), difference(seed[k], seed[i])) | |
| 89 | + if abs(abs(observed) - tau) > Fraction(1, 10**13): | |
| 90 | + continue | |
| 91 | + normalized = det(difference(numerators[j], numerators[i]), | |
| 92 | + difference(numerators[k], numerators[i])) | |
| 93 | + sign = orientation * (1 if observed > 0 else -1) | |
| 94 | + if (normalized - sign * denominator**2) % f: | |
| 95 | + raise ValueError("incorrect contact identity") | |
| 96 | + contacts += 1 | |
| 97 | + if contacts != active_count or contacts != 20: | |
| 98 | + raise ValueError("contact set differs") | |
| 99 | + ex, ey, wx, wy = coordinate_map(numerators) | |
| 100 | + for i, axis, side in [(1, 0, 0), (6, 0, 0), (7, 0, 1), (5, 1, 0), | |
| 101 | + (11, 1, 0), (1, 1, 1), (4, 1, 1)]: | |
| 102 | + edge, width, origin = (ex, wx, 1) if axis == 0 else (ey, wy, 5) | |
| 103 | + if (det(edge, difference(numerators[i], numerators[origin])) - side * width) % f: | |
| 104 | + raise ValueError("incorrect square boundary identity") | |
| 105 | + interval = data["isolating_interval"] | |
| 106 | + lo, bits = int(interval["numerator"]), interval["denominator_power_of_two"] | |
| 107 | + ctx.prec = 3600 | |
| 108 | + lower, upper = arb((lo, -bits)), arb((lo + 1, -bits)) | |
| 109 | + t = arb((2*lo + 1, -bits-1), (1, -bits-1)) | |
| 110 | + if not as_ball(f, lower) * as_ball(f, upper) < 0 or 0 in as_ball(f.derivative(), t): | |
| 111 | + raise ValueError("the interval does not isolate a simple root") | |
| 112 | + # Enclose all coordinates and the determinant at that same algebraic root. | |
| 113 | + d = as_ball(denominator, t) | |
| 114 | + if 0 in d: | |
| 115 | + raise ValueError("zero coordinate denominator") | |
| 116 | + points = [(as_ball(x,t)/d, as_ball(y,t)/d) for x, y in numerators] | |
| 117 | + ex, ey, wx, wy = coordinate_map(points) | |
| 118 | + if 0 in wx or 0 in wy: | |
| 119 | + raise ValueError("singular map into the square") | |
| 120 | + exact = [(det(ex, difference(p,points[1]))/wx, det(ey, difference(p,points[5]))/wy) | |
| 121 | + for p in points] | |
| 122 | + area = orientation * det(ex, ey) / (2 * wx * wy) | |
| 123 | + errors = [abs(a - rational_ball(v)) for pair, approx in zip(exact, seed) | |
| 124 | + for a, v in zip(pair, approx)] | |
| 125 | + errors.append(abs(2 * area - rational_ball(tau))) | |
| 126 | + if not all(error < rational_ball(rho) for error in errors): | |
| 127 | + raise ValueError("the algebraic configuration misses the certified root cube") | |
| 128 | + print(f"Degree {f.degree()} irreducible parameter. All {contacts} signed contacts and 7 square contacts agree.") | |
| 129 | + print(f"All coordinates and doubled area are inside the certified root cube of radius {rho}.") | |
| 130 | + print("Area at this root", area.str(70), "and strict local radius", radius) | |
| 131 | + return f, denominator, numerators, orientation, area | |
| 132 | + | |
| 133 | +def main(): | |
| 134 | + p = argparse.ArgumentParser(description=__doc__) | |
| 135 | + p.add_argument("certificate", type=Path) | |
| 136 | + p.add_argument("coordinates", type=Path) | |
| 137 | + args = p.parse_args() | |
| 138 | + with gzip.open(args.certificate, "rt") as src: | |
| 139 | + data = json.load(src) | |
| 140 | + verify(data, read_points(args.coordinates)) | |
| 141 | + | |
| 142 | +if __name__ == "__main__": | |
| 143 | + main() | |
+50 −0 routes/exact-local-maxima/weights12.json added View file
| @@ -0,0 +1,50 @@ | ||
| 1 | +{"denominator": 10000000, "numerators": [ | |
| 2 | +[0, 28884672, 1989158, 949891, 5006356, 4787032, 6785810, 0, 3766429, 0, 1109928, 8948467, 1211933, 3303996, 1707701, 2659842, 2108499, 2384764, 10242186, 3749063, 4641669, 1199768, 14687899, 3188419, 0, 1499480, 4641669, 1199768], | |
| 3 | +[24485394, 0, 11070936, 16119596, 12023177, 20597886, 15450269, 7542435, 8841751, 15643643, 4841873, 16541863, 14586555, 8531830, 19176137, 0, 15275584, 0, 10487645, 9524908, 9757064, 5286754, 0, 11499480, 6197356, 4697876, 9757064, 5286754], | |
| 4 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0, 0, 0], | |
| 5 | +[13611031, 13344901, 0, 12040946, 4187800, 8921670, 11597242, 0, 3388093, 13809556, 1560336, 13668992, 1419772, 11745709, 13459115, 148466, 9035884, 3534036, 13664643, 4241412, 0, 0, 4939398, 4939398, 5060602, 5060602, 10000000, 0], | |
| 6 | +[12023177, 20597886, 15450269, 7542435, 24485394, 0, 11070936, 16119596, 8841751, 4841873, 15643643, 14586555, 16541863, 0, 15275584, 8531830, 19176137, 0, 9524908, 10487645, 5286754, 9757064, 11499480, 0, 4697876, 6197356, 5286754, 9757064], | |
| 7 | +[5006356, 4787032, 6785810, 0, 0, 28884672, 1989158, 949891, 3766429, 1109928, 0, 1211933, 8948467, 2659842, 2108499, 3303996, 1707701, 2384764, 3749063, 10242186, 1199768, 4641669, 3188419, 14687899, 1499480, 0, 1199768, 4641669], | |
| 8 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0, 0], | |
| 9 | +[4187800, 8921670, 11597242, 0, 13611031, 13344901, 0, 12040946, 3388093, 1560336, 13809556, 1419772, 13668992, 148466, 9035884, 11745709, 13459115, 3534036, 4241412, 13664643, 0, 0, 4939398, 4939398, 5060602, 5060602, 0, 10000000], | |
| 10 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0], | |
| 11 | +[13498503, 13541341, 13813507, 3351986, 13498503, 13541341, 13813507, 3351986, 12150024, 0, 0, 11597242, 11597242, 1564287, 4118110, 1564287, 4118110, 109078, 9075272, 9075272, 5000000, 5000000, 0, 10000000, 0, 0, 5000000, 5000000], | |
| 12 | +[28884672, 0, 0, 3766429, 1707701, 10242186, 8948467, 2384764, 949891, 1989158, 2659842, 6785810, 3303996, 1211933, 5006356, 1109928, 3749063, 0, 4787032, 2108499, 14687899, 0, 4641669, 4641669, 1199768, 1199768, 3188419, 1499480], | |
| 13 | +[0, 24485394, 15643643, 8841751, 19176137, 10487645, 16541863, 0, 16119596, 11070936, 0, 15450269, 8531830, 14586555, 12023177, 4841873, 9524908, 7542435, 20597886, 15275584, 0, 6197356, 9757064, 9757064, 5286754, 5286754, 11499480, 4697876], | |
| 14 | +[13498503, 13541341, 13813507, 3351986, 13498503, 13541341, 13813507, 3351986, 12150024, 0, 0, 11597242, 11597242, 1564287, 4118110, 1564287, 4118110, 109078, 9075272, 9075272, 5000000, 5000000, 10000000, 0, 0, 0, 5000000, 5000000], | |
| 15 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0], | |
| 16 | +[1707701, 10242186, 8948467, 2384764, 28884672, 0, 0, 3766429, 949891, 2659842, 1989158, 3303996, 6785810, 1109928, 3749063, 1211933, 5006356, 0, 2108499, 4787032, 0, 14687899, 4641669, 4641669, 1199768, 1199768, 1499480, 3188419], | |
| 17 | +[19176137, 10487645, 16541863, 0, 0, 24485394, 15643643, 8841751, 16119596, 0, 11070936, 8531830, 15450269, 4841873, 9524908, 14586555, 12023177, 7542435, 15275584, 20597886, 6197356, 0, 9757064, 9757064, 5286754, 5286754, 4697876, 11499480], | |
| 18 | +[15973397, 26310859, 34940849, 0, 19018317, 6690341, 0, 7626730, 15503036, 338072, 0, 4764519, 23272909, 1294427, 2808213, 4389855, 7686134, 1123476, 4941339, 19485738, 1575364, 11214355, 16942217, 7789720, 847502, 0, 1575364, 11214355], | |
| 19 | +[19018317, 6690341, 0, 7626730, 15973397, 26310859, 34940849, 0, 15503036, 0, 338072, 23272909, 4764519, 4389855, 7686134, 1294427, 2808213, 1123476, 19485738, 4941339, 11214355, 1575364, 7789720, 16942217, 0, 847502, 11214355, 1575364], | |
| 20 | +[10778041, 0, 0, 1405407, 10778041, 0, 0, 1405407, 7223491, 1671590, 1671590, 802909, 802909, 477553, 2172893, 477553, 2172893, 0, 298509, 298509, 5480650, 5480650, 1882960, 1882960, 883855, 883855, 480650, 480650], | |
| 21 | +[2952905, 6290855, 8177456, 0, 2952905, 6290855, 8177456, 0, 0, 4839506, 4839506, 2310001, 2310001, 11289130, 6879126, 11289130, 6879126, 10751689, 14728517, 14728517, 0, 0, 2132606, 2132606, 6061879, 6061879, 5000000, 5000000], | |
| 22 | +[0, 10778041, 1671590, 7223491, 2172893, 298509, 802909, 0, 1405407, 0, 477553, 0, 477553, 802909, 10778041, 1671590, 298509, 1405407, 0, 2172893, 1882960, 883855, 5480650, 480650, 5480650, 480650, 1882960, 883855], | |
| 23 | +[15253705, 171996, 3320299, 0, 7427716, 7997984, 11146287, 0, 5375845, 9987748, 2161759, 9987748, 2161759, 11146287, 171996, 3320299, 7997984, 5375845, 15253705, 7427716, 6597242, 1597242, 0, 5000000, 0, 5000000, 6597242, 1597242], | |
| 24 | +[26310859, 15973397, 338072, 15503036, 2808213, 4941339, 4764519, 1123476, 0, 34940849, 4389855, 0, 1294427, 23272909, 19018317, 0, 19485738, 7626730, 6690341, 7686134, 16942217, 847502, 1575364, 1575364, 11214355, 11214355, 7789720, 0], | |
| 25 | +[6690341, 19018317, 0, 15503036, 7686134, 19485738, 23272909, 1123476, 7626730, 0, 1294427, 34940849, 4389855, 4764519, 15973397, 338072, 4941339, 0, 26310859, 2808213, 7789720, 0, 11214355, 11214355, 1575364, 1575364, 16942217, 847502], | |
| 26 | +[7427716, 7997984, 11146287, 0, 15253705, 171996, 3320299, 0, 5375845, 2161759, 9987748, 2161759, 9987748, 3320299, 7997984, 11146287, 171996, 5375845, 7427716, 15253705, 1597242, 6597242, 5000000, 0, 5000000, 0, 1597242, 6597242], | |
| 27 | +[2172893, 298509, 802909, 0, 0, 10778041, 1671590, 7223491, 1405407, 477553, 0, 477553, 0, 1671590, 298509, 802909, 10778041, 1405407, 2172893, 0, 883855, 1882960, 480650, 5480650, 480650, 5480650, 883855, 1882960], | |
| 28 | +[2808213, 4941339, 4764519, 1123476, 26310859, 15973397, 338072, 15503036, 0, 4389855, 34940849, 1294427, 0, 0, 19485738, 23272909, 19018317, 7626730, 7686134, 6690341, 847502, 16942217, 1575364, 1575364, 11214355, 11214355, 0, 7789720], | |
| 29 | +[7686134, 19485738, 23272909, 1123476, 6690341, 19018317, 0, 15503036, 7626730, 1294427, 0, 4389855, 34940849, 338072, 4941339, 4764519, 15973397, 0, 2808213, 26310859, 0, 7789720, 11214355, 11214355, 1575364, 1575364, 847502, 16942217], | |
| 30 | +[4941339, 2808213, 4389855, 0, 19485738, 7686134, 1294427, 7626730, 1123476, 4764519, 23272909, 338072, 0, 0, 26310859, 34940849, 6690341, 15503036, 15973397, 19018317, 1575364, 11214355, 847502, 0, 16942217, 7789720, 1575364, 11214355], | |
| 31 | +[19485738, 7686134, 1294427, 7626730, 4941339, 2808213, 4389855, 0, 1123476, 23272909, 4764519, 0, 338072, 34940849, 6690341, 0, 26310859, 15503036, 19018317, 15973397, 11214355, 1575364, 0, 847502, 7789720, 16942217, 11214355, 1575364], | |
| 32 | +[9199654, 4014431, 1673200, 3218862, 9199654, 4014431, 1673200, 3218862, 233752, 11530710, 11530710, 0, 0, 13412183, 14850656, 13412183, 14850656, 4080214, 2786660, 2786660, 5000000, 5000000, 0, 0, 8194485, 8194485, 0, 0], | |
| 33 | +[298509, 2172893, 477553, 1405407, 298509, 2172893, 477553, 1405407, 0, 802909, 802909, 1671590, 1671590, 0, 0, 0, 0, 7223491, 10778041, 10778041, 480650, 480650, 883855, 883855, 1882960, 1882960, 5480650, 5480650], | |
| 34 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0], | |
| 35 | +[9075272, 4118110, 1564287, 3351986, 9075272, 4118110, 1564287, 3351986, 109078, 11597242, 11597242, 0, 0, 13813507, 13541341, 13813507, 13541341, 12150024, 13498503, 13498503, 5000000, 5000000, 0, 0, 0, 10000000, 5000000, 5000000], | |
| 36 | +[20597886, 12023177, 4841873, 8841751, 15275584, 9524908, 14586555, 0, 7542435, 15450269, 8531830, 11070936, 0, 16541863, 24485394, 15643643, 10487645, 16119596, 0, 19176137, 11499480, 4697876, 5286754, 5286754, 9757064, 9757064, 0, 6197356], | |
| 37 | +[4787032, 5006356, 1109928, 3766429, 2108499, 3749063, 1211933, 2384764, 0, 6785810, 3303996, 1989158, 2659842, 8948467, 0, 0, 10242186, 949891, 28884672, 1707701, 3188419, 1499480, 1199768, 1199768, 4641669, 4641669, 14687899, 0], | |
| 38 | +[9075272, 4118110, 1564287, 3351986, 9075272, 4118110, 1564287, 3351986, 109078, 11597242, 11597242, 0, 0, 13813507, 13541341, 13813507, 13541341, 12150024, 13498503, 13498503, 5000000, 5000000, 0, 0, 10000000, 0, 5000000, 5000000], | |
| 39 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0], | |
| 40 | +[15275584, 9524908, 14586555, 0, 20597886, 12023177, 4841873, 8841751, 7542435, 8531830, 15450269, 0, 11070936, 15643643, 10487645, 16541863, 24485394, 16119596, 19176137, 0, 4697876, 11499480, 5286754, 5286754, 9757064, 9757064, 6197356, 0], | |
| 41 | +[2108499, 3749063, 1211933, 2384764, 4787032, 5006356, 1109928, 3766429, 0, 3303996, 6785810, 2659842, 1989158, 0, 10242186, 8948467, 0, 949891, 1707701, 28884672, 1499480, 3188419, 1199768, 1199768, 4641669, 4641669, 0, 14687899], | |
| 42 | +[10242186, 1707701, 2659842, 949891, 3749063, 2108499, 3303996, 0, 2384764, 8948467, 1211933, 0, 1109928, 6785810, 28884672, 1989158, 4787032, 3766429, 0, 5006356, 4641669, 1199768, 0, 1499480, 14687899, 3188419, 4641669, 1199768], | |
| 43 | +[10487645, 19176137, 0, 16119596, 9524908, 15275584, 8531830, 7542435, 0, 16541863, 14586555, 15643643, 4841873, 15450269, 0, 11070936, 20597886, 8841751, 24485394, 12023177, 9757064, 5286754, 6197356, 4697876, 0, 11499480, 9757064, 5286754], | |
| 44 | +[13611031, 13344901, 0, 12040946, 4187800, 8921670, 11597242, 0, 3388093, 13809556, 1560336, 13668992, 1419772, 11745709, 13459115, 148466, 9035884, 3534036, 13664643, 4241412, 10000000, 0, 4939398, 4939398, 5060602, 5060602, 0, 0], | |
| 45 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0], | |
| 46 | +[9524908, 15275584, 8531830, 7542435, 10487645, 19176137, 0, 16119596, 0, 14586555, 16541863, 4841873, 15643643, 11070936, 20597886, 15450269, 0, 8841751, 12023177, 24485394, 5286754, 9757064, 4697876, 6197356, 11499480, 0, 5286754, 9757064], | |
| 47 | +[3749063, 2108499, 3303996, 0, 10242186, 1707701, 2659842, 949891, 2384764, 1211933, 8948467, 1109928, 0, 1989158, 4787032, 6785810, 28884672, 3766429, 5006356, 0, 1199768, 4641669, 1499480, 0, 3188419, 14687899, 1199768, 4641669], | |
| 48 | +[4187800, 8921670, 11597242, 0, 13611031, 13344901, 0, 12040946, 3388093, 1560336, 13809556, 1419772, 13668992, 148466, 9035884, 11745709, 13459115, 3534036, 4241412, 13664643, 0, 10000000, 4939398, 4939398, 5060602, 5060602, 0, 0], | |
| 49 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000] | |
| 50 | +]} | |
+58 −0 routes/exact-local-maxima/weights14.json added View file
| @@ -0,0 +1,58 @@ | ||
| 1 | +{"denominator": 10000000, "numerators": [ | |
| 2 | +[18853583, 13386173, 13423065, 190411, 5814901, 2195323, 5510841, 0, 1463239, 3075374, 13690233, 14155149, 0, 2976433, 9822203, 436676, 927260, 9641414, 0, 5440306, 2757956, 0, 5749523, 0, 618043, 655153, 3905554, 2451553, 2451553, 3905554, 15580905, 2984310, 2596595, 0], | |
| 3 | +[0, 55089829, 69252286, 3119012, 39676234, 21204232, 62827523, 17617001, 76945513, 1470632, 31938540, 13511005, 15735488, 0, 34268319, 0, 7793350, 48130313, 4032103, 29085478, 2460035, 0, 5706775, 17307557, 31172052, 0, 13163476, 15434690, 15434690, 13163476, 16390058, 0, 29374368, 2984310], | |
| 4 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0, 0, 0], | |
| 5 | +[2515252, 26495486, 15639160, 9689494, 36264051, 42774276, 26621937, 3651331, 19558990, 8553415, 36137600, 38854446, 0, 6928162, 30913320, 5837010, 18066990, 25180286, 0, 5747978, 0, 0, 15553646, 0, 8261322, 12765171, 0, 9249205, 9249205, 10000000, 3477136, 15772070, 3477136, 15772070], | |
| 6 | +[3119012, 39676234, 21204232, 0, 55089829, 69252286, 31938540, 1470632, 13511005, 17617001, 62827523, 76945513, 0, 15735488, 48130313, 4032103, 29085478, 34268319, 0, 7793350, 0, 2460035, 31172052, 0, 5706775, 17307557, 15434690, 13163476, 13163476, 15434690, 0, 16390058, 2984310, 29374368], | |
| 7 | +[190411, 5814901, 2195323, 18853583, 13386173, 13423065, 13690233, 3075374, 14155149, 0, 5510841, 1463239, 2976433, 0, 9641414, 0, 5440306, 9822203, 436676, 927260, 0, 2757956, 618043, 655153, 5749523, 0, 2451553, 3905554, 3905554, 2451553, 2984310, 15580905, 0, 2596595], | |
| 8 | +[3651331, 26621937, 19558990, 8553415, 36137600, 38854446, 26495486, 2515252, 15639160, 9689494, 36264051, 42774276, 0, 0, 30913320, 0, 15553646, 25180286, 12765171, 8261322, 0, 6928162, 18066990, 5837010, 5747978, 0, 9249205, 0, 10000000, 9249205, 3477136, 15772070, 3477136, 15772070], | |
| 9 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0, 0], | |
| 10 | +[17617001, 62827523, 76945513, 1470632, 31938540, 13511005, 55089829, 0, 69252286, 3119012, 39676234, 21204232, 2460035, 0, 34268319, 17307557, 5706775, 48130313, 0, 31172052, 15735488, 0, 7793350, 0, 29085478, 4032103, 15434690, 13163476, 13163476, 15434690, 29374368, 2984310, 16390058, 0], | |
| 11 | +[0, 5510841, 1463239, 3075374, 13690233, 14155149, 13386173, 18853583, 13423065, 190411, 5814901, 2195323, 2757956, 0, 9822203, 0, 5749523, 9641414, 655153, 618043, 0, 2976433, 927260, 436676, 5440306, 0, 2451553, 3905554, 3905554, 2451553, 2596595, 0, 15580905, 2984310], | |
| 12 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0, 0], | |
| 13 | +[3651331, 26621937, 19558990, 8553415, 36137600, 38854446, 26495486, 2515252, 15639160, 9689494, 36264051, 42774276, 0, 0, 30913320, 0, 15553646, 25180286, 12765171, 8261322, 0, 6928162, 18066990, 5837010, 5747978, 0, 9249205, 10000000, 0, 9249205, 3477136, 15772070, 3477136, 15772070], | |
| 14 | +[3075374, 13690233, 14155149, 0, 5510841, 1463239, 5814901, 190411, 2195323, 18853583, 13386173, 13423065, 0, 2757956, 9641414, 655153, 618043, 9822203, 0, 5749523, 2976433, 0, 5440306, 0, 927260, 436676, 3905554, 2451553, 2451553, 3905554, 0, 2596595, 2984310, 15580905], | |
| 15 | +[1470632, 31938540, 13511005, 17617001, 62827523, 76945513, 39676234, 3119012, 21204232, 0, 55089829, 69252286, 0, 2460035, 48130313, 0, 31172052, 34268319, 17307557, 5706775, 0, 15735488, 29085478, 4032103, 7793350, 0, 13163476, 15434690, 15434690, 13163476, 2984310, 29374368, 0, 16390058], | |
| 16 | +[2515252, 26495486, 15639160, 9689494, 36264051, 42774276, 26621937, 3651331, 19558990, 8553415, 36137600, 38854446, 0, 6928162, 30913320, 5837010, 18066990, 25180286, 0, 5747978, 0, 0, 15553646, 0, 8261322, 12765171, 10000000, 9249205, 9249205, 0, 3477136, 15772070, 3477136, 15772070], | |
| 17 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0, 0], | |
| 18 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0, 0], | |
| 19 | +[5483132, 20263180, 24136763, 857258, 12340523, 6209133, 20303323, 5843788, 25381139, 496602, 12300381, 4964757, 2579142, 0, 12152439, 4052389, 2622612, 16988299, 0, 9749310, 4778534, 0, 1824734, 0, 10547189, 1852998, 5119172, 4880828, 4880828, 5119172, 0, 0, 10000000, 0], | |
| 20 | +[23941188, 87647570, 105169266, 1794585, 27728497, 13501321, 22797325, 0, 6053149, 954018, 26395788, 10272080, 0, 1761128, 45020634, 1806447, 5702685, 37810141, 0, 42678926, 21904039, 0, 4099015, 0, 2556728, 4029213, 21983562, 11060465, 10141621, 11064719, 23994043, 0, 23994043, 0], | |
| 21 | +[122841, 196161, 472296, 1605580, 25654806, 12304173, 65156027, 25048904, 102986541, 1461273, 26877893, 12135286, 15252537, 0, 7563057, 9905199, 5035338, 35832936, 0, 173586, 0, 2406557, 4460173, 0, 42474621, 385502, 0, 10272228, 11191072, 10918844, 19322212, 0, 19322212, 0], | |
| 22 | +[758532, 12450758, 5900682, 5581858, 20152945, 24445214, 12450758, 758532, 5900682, 5581858, 20152945, 24445214, 0, 1815211, 16801216, 0, 10203201, 12339523, 4816321, 2168722, 0, 1815211, 10203201, 0, 2168722, 4816321, 5000000, 5000000, 5000000, 5000000, 0, 0, 0, 10000000], | |
| 23 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0, 0], | |
| 24 | +[1728422, 25850967, 12776469, 0, 0, 0, 27074053, 1584114, 12607581, 24926063, 64959866, 102514245, 0, 14867035, 35701159, 0, 0, 7694835, 10290702, 5208925, 2792060, 0, 42301035, 0, 4633759, 0, 10272228, 0, 10918844, 11191072, 227173, 19095040, 227173, 19095040], | |
| 25 | +[1794585, 27728497, 13501321, 23941188, 87647570, 105169266, 26395788, 954018, 10272080, 0, 22797325, 6053149, 1761128, 0, 37810141, 0, 42678926, 45020634, 1806447, 5702685, 0, 21904039, 2556728, 4029213, 4099015, 0, 11060465, 21983562, 11064719, 10141621, 0, 23994043, 0, 23994043], | |
| 26 | +[5483132, 20263180, 24136763, 857258, 12340523, 6209133, 20303323, 5843788, 25381139, 496602, 12300381, 4964757, 2579142, 0, 12152439, 4052389, 2622612, 16988299, 0, 9749310, 4778534, 0, 1824734, 0, 10547189, 1852998, 5119172, 4880828, 4880828, 5119172, 10000000, 0, 0, 0], | |
| 27 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000, 0], | |
| 28 | +[0, 22797325, 6053149, 954018, 26395788, 10272080, 87647570, 23941188, 105169266, 1794585, 27728497, 13501321, 21904039, 0, 45020634, 0, 4099015, 37810141, 4029213, 2556728, 0, 1761128, 5702685, 1806447, 42678926, 0, 10141621, 11064719, 21983562, 11060465, 23994043, 0, 23994043, 0], | |
| 29 | +[25048904, 65156027, 102986541, 1461273, 26877893, 12135286, 196161, 122841, 472296, 1605580, 25654806, 12304173, 0, 2406557, 7563057, 0, 4460173, 35832936, 385502, 42474621, 15252537, 0, 5035338, 9905199, 173586, 0, 11191072, 10918844, 0, 10272228, 19322212, 0, 19322212, 0], | |
| 30 | +[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10000000], | |
| 31 | +[758532, 12450758, 5900682, 5581858, 20152945, 24445214, 12450758, 758532, 5900682, 5581858, 20152945, 24445214, 0, 1815211, 16801216, 0, 10203201, 12339523, 4816321, 2168722, 0, 1815211, 10203201, 0, 2168722, 4816321, 5000000, 5000000, 5000000, 5000000, 0, 10000000, 0, 0], | |
| 32 | +[1584114, 27074053, 12607581, 24926063, 64959866, 102514245, 25850967, 1728422, 12776469, 0, 0, 0, 2792060, 0, 35701159, 0, 42301035, 7694835, 0, 4633759, 0, 14867035, 0, 0, 5208925, 10290702, 10918844, 11191072, 10272228, 0, 227173, 19095040, 227173, 19095040], | |
| 33 | +[954018, 26395788, 10272080, 0, 22797325, 6053149, 27728497, 1794585, 13501321, 23941188, 87647570, 105169266, 0, 21904039, 37810141, 4029213, 2556728, 45020634, 0, 4099015, 1761128, 0, 42678926, 0, 5702685, 1806447, 11064719, 10141621, 11060465, 21983562, 0, 23994043, 0, 23994043], | |
| 34 | +[26437860, 68590214, 108649672, 7164612, 49413963, 37628824, 43810522, 3655579, 24137437, 0, 26372598, 7002456, 6150405, 0, 33404987, 5715623, 13830004, 46579510, 0, 45807263, 1252626, 0, 2573665, 30713822, 0, 0, 11732118, 16892703, 16892703, 11732118, 31713788, 1840582, 23860913, 3987706], | |
| 35 | +[0, 32772034, 8701635, 0, 22015219, 5845484, 57488515, 22214378, 91254425, 7732515, 45119794, 38431298, 0, 0, 35325150, 18617142, 2469014, 39128940, 4662279, 3461799, 1434529, 0, 14981724, 0, 48012690, 1744474, 14578971, 9793693, 9793693, 14578971, 14421480, 5021636, 22274355, 2874511], | |
| 36 | +[35334141, 110797949, 150288722, 1751877, 38551995, 16229083, 49877070, 5266017, 31257150, 2773690, 42037904, 20650040, 0, 4512683, 53535469, 0, 6854837, 55563936, 0, 61033930, 31546111, 0, 8418954, 0, 6404777, 4843262, 24188914, 15905747, 18447446, 16730613, 35849809, 0, 35849809, 0], | |
| 37 | +[0, 15258002, 4051307, 2201793, 37418766, 17467241, 76177001, 30051232, 123024598, 1196871, 33934737, 13104565, 32668360, 0, 21233423, 0, 7061852, 50235851, 3910809, 1711190, 0, 3493443, 5535104, 1209036, 56302974, 0, 6787677, 15082007, 12540308, 14245978, 26114537, 0, 26114537, 0], | |
| 38 | +[0, 22263247, 5911340, 0, 32524005, 8635778, 45404990, 8066435, 39649283, 21880458, 57203320, 90036440, 0, 0, 38919231, 5235256, 3647578, 35534860, 18044166, 2283235, 601818, 0, 47459740, 0, 15534675, 2577184, 9904031, 14468633, 14468633, 9904031, 5284004, 14159112, 3136879, 22011987], | |
| 39 | +[7164612, 49413963, 37628824, 26437860, 68590214, 108649672, 26372598, 0, 7002456, 3655579, 43810522, 24137437, 0, 6150405, 46579510, 0, 45807263, 33404987, 5715623, 13830004, 0, 1252626, 0, 0, 2573665, 30713822, 16892703, 11732118, 11732118, 16892703, 1840582, 31713788, 3987706, 23860913], | |
| 40 | +[2201793, 37418766, 17467241, 0, 15258002, 4051307, 33934737, 1196871, 13104565, 30051232, 76177001, 123024598, 0, 32668360, 50235851, 3910809, 1711190, 21233423, 0, 7061852, 3493443, 0, 56302974, 0, 5535104, 1209036, 15082007, 6787677, 14245978, 12540308, 0, 26114537, 0, 26114537], | |
| 41 | +[1751877, 38551995, 16229083, 35334141, 110797949, 150288722, 42037904, 2773690, 20650040, 5266017, 49877070, 31257150, 4512683, 0, 55563936, 0, 61033930, 53535469, 0, 6854837, 0, 31546111, 6404777, 4843262, 8418954, 0, 15905747, 24188914, 16730613, 18447446, 0, 35849809, 0, 35849809], | |
| 42 | +[20371447, 55914499, 84532269, 9575446, 46693811, 45153454, 31403145, 0, 8338167, 0, 23384107, 6208951, 0, 0, 35875435, 2090325, 19071906, 38578655, 1088678, 43922508, 9804230, 0, 2482087, 0, 3448726, 13475192, 10402657, 13970007, 13970007, 10402657, 19905964, 5242903, 12053089, 7390027], | |
| 43 | +[3655579, 43810522, 24137437, 0, 26372598, 7002456, 68590214, 26437860, 108649672, 7164612, 49413963, 37628824, 1252626, 0, 33404987, 30713822, 2573665, 46579510, 0, 0, 6150405, 0, 13830004, 5715623, 45807263, 0, 16892703, 11732118, 11732118, 16892703, 23860913, 3987706, 31713788, 1840582], | |
| 44 | +[5266017, 49877070, 31257150, 2773690, 42037904, 20650040, 110797949, 35334141, 150288722, 1751877, 38551995, 16229083, 31546111, 0, 53535469, 0, 8418954, 55563936, 4843262, 6404777, 0, 4512683, 6854837, 0, 61033930, 0, 18447446, 16730613, 24188914, 15905747, 35849809, 0, 35849809, 0], | |
| 45 | +[30051232, 76177001, 123024598, 1196871, 33934737, 13104565, 15258002, 0, 4051307, 2201793, 37418766, 17467241, 0, 3493443, 21233423, 1209036, 5535104, 50235851, 0, 56302974, 32668360, 0, 7061852, 0, 1711190, 3910809, 12540308, 14245978, 6787677, 15082007, 26114537, 0, 26114537, 0], | |
| 46 | +[0, 26372598, 7002456, 3655579, 43810522, 24137437, 49413963, 7164612, 37628824, 26437860, 68590214, 108649672, 0, 1252626, 46579510, 0, 0, 33404987, 30713822, 2573665, 0, 6150405, 45807263, 0, 13830004, 5715623, 11732118, 16892703, 16892703, 11732118, 3987706, 23860913, 1840582, 31713788], | |
| 47 | +[7520583, 44938786, 37658267, 22426310, 57669523, 92027456, 21857800, 0, 5803686, 0, 32929453, 8743433, 0, 0, 39093174, 898029, 48652460, 35360917, 2280974, 14341955, 2726957, 0, 3632711, 0, 2298102, 20552464, 14649001, 9723664, 9723664, 14649001, 2452001, 22696865, 4599126, 14843990], | |
| 48 | +[1196871, 33934737, 13104565, 30051232, 76177001, 123024598, 37418766, 2201793, 17467241, 0, 15258002, 4051307, 3493443, 0, 50235851, 0, 56302974, 21233423, 1209036, 5535104, 0, 32668360, 1711190, 3910809, 7061852, 0, 14245978, 12540308, 15082007, 6787677, 0, 26114537, 0, 26114537], | |
| 49 | +[2773690, 42037904, 20650040, 5266017, 49877070, 31257150, 38551995, 1751877, 16229083, 35334141, 110797949, 150288722, 0, 31546111, 55563936, 4843262, 6404777, 53535469, 0, 8418954, 4512683, 0, 61033930, 0, 6854837, 0, 16730613, 18447446, 15905747, 24188914, 0, 35849809, 0, 35849809], | |
| 50 | +[58983814, 153209891, 242449816, 4133986, 64707134, 31322422, 58105729, 0, 15428241, 2955349, 63740161, 27033839, 0, 4675033, 63104400, 4604266, 13229958, 88733295, 0, 98386092, 50480254, 0, 10795074, 0, 6516577, 9347583, 26256035, 25848922, 25848922, 26256035, 57104957, 776202, 46328755, 0], | |
| 51 | +[0, 58105729, 15428241, 2955349, 63740161, 27033839, 153209891, 58983814, 242449816, 4133986, 64707134, 31322422, 50480254, 0, 63104400, 0, 10795074, 88733295, 9347583, 6516577, 0, 4675033, 13229958, 4604266, 98386092, 0, 25848922, 26256035, 26256035, 25848922, 46328755, 0, 57104957, 776202], | |
| 52 | +[0, 12494209, 3317464, 24477, 1293808, 427261, 12494209, 0, 3317464, 24477, 1293808, 427261, 690832, 0, 9655598, 0, 180466, 1953887, 127508, 1346246, 690832, 0, 180466, 0, 1346246, 127508, 5558176, 558176, 5558176, 558176, 2499131, 0, 2499131, 0], | |
| 53 | +[2129573, 3400634, 8187697, 4894150, 19054771, 21801142, 3400634, 2129573, 8187697, 4894150, 19054771, 21801142, 47366, 0, 7720597, 0, 9208362, 13063786, 6506137, 3017990, 47366, 0, 9208362, 0, 3017990, 6506137, 0, 5000000, 0, 5000000, 0, 8617220, 0, 8617220], | |
| 54 | +[2955349, 63740161, 27033839, 0, 58105729, 15428241, 64707134, 4133986, 31322422, 58983814, 153209891, 242449816, 0, 50480254, 88733295, 9347583, 6516577, 63104400, 0, 10795074, 4675033, 0, 98386092, 0, 13229958, 4604266, 26256035, 25848922, 25848922, 26256035, 0, 46328755, 776202, 57104957], | |
| 55 | +[4133986, 64707134, 31322422, 58983814, 153209891, 242449816, 63740161, 2955349, 27033839, 0, 58105729, 15428241, 4675033, 0, 88733295, 0, 98386092, 63104400, 4604266, 13229958, 0, 50480254, 6516577, 9347583, 10795074, 0, 25848922, 26256035, 26256035, 25848922, 776202, 57104957, 0, 46328755], | |
| 56 | +[1312089, 13334714, 8028979, 5711634, 9120692, 21959860, 13334714, 1312089, 8028979, 5711634, 9120692, 21959860, 0, 0, 16207389, 0, 9275401, 4576995, 6553504, 2950951, 0, 0, 9275401, 0, 2950951, 6553504, 5000000, 0, 5000000, 0, 933140, 7684080, 933140, 7684080], | |
| 57 | +[24477, 1293808, 427261, 0, 12494209, 3317464, 1293808, 24477, 427261, 0, 12494209, 3317464, 0, 690832, 1953887, 127508, 1346246, 9655598, 0, 180466, 0, 690832, 1346246, 127508, 180466, 0, 558176, 5558176, 558176, 5558176, 0, 2499131, 0, 2499131] | |
| 58 | +]} | |