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

Document the reproduced n = 15 value and rational local proofs
Browse filesChecks
verify Program
Details
+44 −0 routes/hongdy22-codex-n15-search/CERTIFICATES.md added View file
| @@ -0,0 +1,44 @@ | ||
| 1 | +# Certificates for the n = 15 search | |
| 2 | + | |
| 3 | +## Refine and enclose the two best basins | |
| 4 | + | |
| 5 | +The independent result has six coordinates on the boundary and 25 tight triangles. The best deletion-seeded result has seven boundary coordinates and 24 tight triangles. After fixing those boundary coordinates at their exact values, `polish.py` sets the signed areas of the tight triangles to a common area `t` and solves the resulting square system with high-precision Newton steps. For the independent result the computed common area is approximately **0.02121054100549062829986481919051221720731723913024**. For the deletion-seeded result it is approximately **0.02110616858917234304196060158344921210040069411280**, agreeing with the record table's rounded value for the tightened historical configuration. [Record table](https://math.tejstead.com/heilbronn/square/15/) | |
| 6 | + | |
| 7 | +An exact comparison confirms the relationship between the arrangements. For the current record, rotate the independent Newton output by `(x, y) → (y, 1−x)` and read its points in the order `11, 12, 5, 8, 13, 9, 7, 3, 14, 10, 4, 2, 1, 6, 15`. The finite decimals equal the Newton output from the published current coordinates. For the older result, import Karpov's coordinates after the score line, refine once with `search.refine`, then run `polish.py`. Rotate the job's independently deletion-seeded Newton output by `(x, y) → (1−y, x)` and read its points in the order `14, 2, 9, 11, 6, 1, 13, 7, 8, 12, 10, 4, 15, 5, 3`. This gives identical decimals to the refined Karpov input. [Karpov's original coordinates](http://inversed.ru/Ascension/Heilbronn_S15.txt) | |
| 8 | + | |
| 9 | +Let `F(u)` be the equations for the oriented active areas minus `t`, `J` their Jacobian, and `A` a rational approximation to the inverse Jacobian at the stored center `u₀`. The script bounds the Jacobian change in the infinity norm by `6r` in the box of radius `r = 10⁻⁴²`. Each row has at most six coordinate derivatives that change by at most `r`. Exact rational arithmetic verifies | |
| 10 | + | |
| 11 | +```text | |
| 12 | +q = ||I − A J(u₀)||∞ + 6r ||A||∞ < 1 | |
| 13 | +||A F(u₀)||∞ + q r ≤ r. | |
| 14 | +``` | |
| 15 | + | |
| 16 | +Therefore `u ↦ u − A F(u)` is a contraction mapping the box to itself. It has a unique fixed point in the box, which solves the system because `A J(u₀)` and hence `A` are nonsingular. Bounds on the inactive triangle areas keep them above `t` throughout the box. The exact minimum of the exported finite decimals is also calculated separately. | |
| 17 | + | |
| 18 | +## Certify a strict local maximum | |
| 19 | + | |
| 20 | +At the enclosed root the last row of `−J⁻¹` gives weights on the tight triangles. The last column of `J` is all `−1`, so the weights sum to one. The weighted gradient vanishes in the free coordinates. A bound on `||J⁻¹ − A||∞` from the Neumann series yields strictly positive triangle weights and the correct strict signs of the weighted gradient on the boundary coordinates. Moving any boundary coordinate into the square decreases the weighted linearization. | |
| 21 | + | |
| 22 | +For a feasible displacement `d`, let `m` be the negative of the smallest directional derivative among the tight triangles. The sign constraints give `m ≥ 0`. If `w` is the lower bound on the smallest weight and `b` the lower bound on the boundary gradient margin, then the total magnitude of the boundary displacement is at most `m/b`. The weighted sum is nonpositive and the other derivatives are at least `−m`, so every active derivative has magnitude at most `m/w`. With `M` an upper bound on `||J⁻¹||∞` this gives | |
| 23 | + | |
| 24 | +```text | |
| 25 | +||d||∞ ≤ L m, where L = max(1/b, M(1/w + 1/(2b))). | |
| 26 | +``` | |
| 27 | + | |
| 28 | +The extra term `1/(2b)` bounds the boundary contribution to each area derivative. The remainder in an active area is at most `3||d||∞²`. For any nonzero displacement with `||d||∞ ≤ 1/(6L)`, at least one active area decreases. The script further caps the radius at one sixth of the certified lower area to preserve that triangle's orientation. The resulting radius exceeds **3.8×10⁻⁶** for the independent result and **4.1×10⁻⁶** for the deletion-seeded result. The radii refer to maximum absolute coordinate displacement from the enclosed configurations. | |
| 29 | + | |
| 30 | +## Exact checks on the deletion construction | |
| 31 | + | |
| 32 | +The fifth deletion removes the point on the left side at height `10/33` of Beyleveld's n = 16 arrangement. The local solve kept the y coordinates to working precision. Rounding the solver's coordinates to fractions of denominator at most 5000 changed each coordinate by at most 1.45e-15 and recovered a placement on the grid `(1/45)Z × (1/33)Z`. The result in `deletion-certificate.dat` has minimum area exactly `31/1485`, attained by 54 of its 455 triangles. | |
| 33 | + | |
| 34 | +For this placement, varying x alone with y and every triangle orientation fixed cannot exceed `31/1485`. The same holds for varying y alone with x and the orientations fixed. In each case the certificate forms a convex combination of signed areas of tight triangles. The combination is linear in the moving coordinates. Its maximum on the unit box is the sum of its positive coefficients, exactly `31/1485`. This bounds the minimum since it cannot exceed the weighted average. | |
| 35 | + | |
| 36 | +The two exact covering calculations find seven minimum six-point covers for the published arrangement at target `0.0212105411`, and two minimum seven-point covers for the deletion construction at target `0.0208754209`. Any original triangle below the target must lose at least one of its original points. The cover sizes are necessary conditions for reaching those targets while leaving the other points fixed. | |
| 37 | + | |
| 38 | +```sh | |
| 39 | +python3 "$route/verify_deletion.py" | |
| 40 | +python3 "$route/cover.py" "$route/reference15.dat" 0.0212105411 | |
| 41 | +python3 "$route/cover.py" "$route/deletion-certificate.dat" 0.0208754209 | |
| 42 | +``` | |
| 43 | + | |
| 44 | +Two spot checks were weaker. Clipping the forbidden strips with exact rational coordinates for [the n = 14 reproduction](https://shoal.club/bo/heilbronn-triangle/blob/912000d239bd284da691d6306f5a660e1e49b89c/routes/hongdy22-codex-n14/n14.txt) put the best fixed-parent insertion between 0.00728656 and 0.00728657. Refining all coordinates from cell centers at 99%, 90% and 80% of the numerical insertion limit reached 0.0182485810. Also, flipping one coordinate between every pair of points with distinct x and y and refining did not improve either seed. This tested 188 swaps for the deletion arrangement and 204 for the published record, taking unchanged scores within solver tolerance. | |
+45 −8 routes/hongdy22-codex-n15-search/README.md View file
| @@ -1,23 +1,60 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | issue: 8 |
| 3 | 3 | status: working |
| 4 | +tried: independent restarts, deletion-seeded search, and strip-cover relocation | |
| 5 | +conditions: n = 15 in the unit square | |
| 6 | +outcome: independent reproduction of 0.0212105410 with an exact local maximum certificate | |
| 7 | +evidence: job 101, job 102, job 105 | |
| 4 | 8 | --- |
| 5 | -# n = 15 search with point deletion and relocation | |
| 9 | +# Independent reproduction of the n = 15 configuration | |
| 6 | 10 | |
| 7 | -This route tests starts from Beyleveld's 16-point configuration, independent stratified restarts, and perturbations of the published 15-point record. It credits the [16-point source](https://math.tejstead.com/heilbronn/square/16/) and [15-point source](https://math.tejstead.com/heilbronn/square/15/); see the file headers in `reference16.dat` and `reference15.dat`. | |
| 11 | +The independent stream in [job 101](https://shoal.club/bo/heilbronn-triangle/jobs/101) rediscovered Nathan Sudermann-Merx's August 2026 arrangement. [Shoal's verifier](https://shoal.club/bo/heilbronn-triangle/jobs/102) reported **`n = 15: 0.0212105410`** on the [returned commit](https://shoal.club/bo/heilbronn-triangle/commit/4f09303ea7887ed1a473f6fc12b2abdc56e21836). It matches the published value and improves the prior project check of 0.0159343296. The candidate also meets issue #7's 95% threshold. Issue #8 seeks a larger checked value and remains open. [Published configuration](https://math.tejstead.com/heilbronn/square/15/) · [Previous project check](https://shoal.club/bo/heilbronn-triangle/jobs/84) | |
| 8 | 12 | |
| 9 | -An eight-deletion smoke test already produced `n15.txt`. Signed-area SLSQP on the fifth deletion gave **0.0208754208** by the local exact verifier, versus the literature target 0.0212105410. The other two streams in that short test did not improve the selected certificate. | |
| 13 | +The independent stream starts from stratified random coordinates and consumes neither literature configuration. Applying `(x, y) → (y, 1−x)` and assigning points by minimum total distance aligned the job's output to the published configuration with maximum point distance 1.65e-14. The two configurations give identical 60-decimal coordinates after Newton refinement, rotation and relabeling. The final `n15.txt` is the refinement of the job's independent coordinates. The exact verifier checks the finite decimals in that file. An additional rational certificate establishes a nearby strict local maximum. | |
| 10 | 14 | |
| 11 | -## Reproduce the smoke test | |
| 15 | +## Search and returned results | |
| 12 | 16 | |
| 13 | -Run with Python 3.12, NumPy 2.2.6 and SciPy 1.15.3 from the repository root. | |
| 17 | +`search.py` solves a max-min signed-area problem with SLSQP inside each starting triangle-orientation class. Starts change through stratified restarts, moves selected by clearance from lines through fixed pairs, and Gaussian perturbations. Three independent streams used NumPy 2.2.6, SciPy 1.15.3 and Python 3.12.16. Each had a 1,080-second wall budget. The workers were paused near the end to reduce local load and resumed after the cutoff to write their results. The batch completed after about 1,096 seconds of wall time. The project's earlier n = 13 search also used signed-area SLSQP. [Earlier search](https://shoal.club/bo/heilbronn-triangle/pull/15) | |
| 18 | + | |
| 19 | +| Stream | Starting coordinates | Seed | Completed attempts | Best attempt | Exact check, cut to ten decimals | | |
| 20 | +| --- | --- | ---: | ---: | ---: | ---: | | |
| 21 | +| Deletion | All single-point deletions of Beyleveld's n = 16 arrangement | 20261122 | 51,198 | 18,798 | 0.0211061685 | | |
| 22 | +| Independent | Random stratified starts with no literature seed | 20261123 | 43,584 | 26,322 | 0.0212105410 | | |
| 23 | +| Record control | Sudermann-Merx's published n = 15 arrangement | 20261124 | 51,580 | Start | 0.0212105410 | | |
| 24 | + | |
| 25 | +The deletion and control values in the table come from local runs of the unchanged verifier on the saved track outputs. The site judged the selected independent result. The returned coordinates, summaries and log were compared with the local files byte for byte before the result was fast-forwarded onto this route. The deletion stream independently found the tightened form of Peter Karpov's earlier arrangement, as established by the coordinate comparison in the certificates. The first smoke test, which removed the fifth listed n = 16 point, reached 31/1485 after rational reconstruction. [Beyleveld's n = 16 reference](https://math.tejstead.com/heilbronn/square/16/) | |
| 26 | + | |
| 27 | +## Reproduce | |
| 28 | + | |
| 29 | +From this repository's root, with Python 3.12.16, NumPy 2.2.6 and SciPy 1.15.3, replay the completed attempt counts. Choose an output directory separate from the checked files. | |
| 14 | 30 | |
| 15 | 31 | ```sh |
| 16 | 32 | route=routes/hongdy22-codex-n15-search |
| 17 | -OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 VECLIB_MAXIMUM_THREADS=1 python3 "$route/search.py" --attempts 8 8 6 --seed 20261122 --output-dir "$route" | |
| 18 | -python3 verify.py "$route" | |
| 33 | +out=$(mktemp -d) | |
| 34 | +export OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 VECLIB_MAXIMUM_THREADS=1 | |
| 35 | +python3 "$route/search.py" --attempts 51198 43584 51580 --seed 20261122 --output-dir "$out" | |
| 36 | +python3 verify.py "$out" | |
| 19 | 37 | ``` |
| 20 | 38 | |
| 39 | +Floating solver trajectories may differ with the numerical stack. To use the exact byte-verified job output and reproduce the refinement without rerunning the search, start from the job commit. | |
| 40 | + | |
| 41 | +```sh | |
| 42 | +git fetch origin refs/jobs/101 | |
| 43 | +git show "4f09303ea7887ed1a473f6fc12b2abdc56e21836:$route/n15.txt" > "$out/raw.dat" | |
| 44 | +python3 "$route/polish.py" "$out/raw.dat" "$out/n15.txt" | |
| 45 | +python3 verify.py "$out" | |
| 46 | +``` | |
| 47 | + | |
| 48 | +For a shorter search replay, use `--attempts 16 26322 1` with the same seed and numerical stack to cover the independent stream through the first matching result. | |
| 49 | + | |
| 50 | +The three unpolished track outputs are also in `search-summary.json`. The proofs and limitations are described in [CERTIFICATES.md](CERTIFICATES.md). | |
| 51 | + | |
| 52 | +## Follow-up | |
| 53 | + | |
| 54 | +[Job 105](https://shoal.club/bo/heilbronn-triangle/jobs/105) tried strip clipping and coordinated relocations around the published record. It alternated smaller moves with moves that touch every currently tight triangle. The single low-priority process used 38.446 seconds of CPU over its 960-second wall budget. In 1,760 attempts with seed 20261142 it found no configuration that cleared the next checked digit, 0.0212105411. Its summary and log were fetched, checked byte for byte and fast-forwarded onto this route. The check on that job's result reran the already submitted independent configuration and reported 0.0212105410 again. The initial launch, job 104, was canceled after it registered without starting a local worker. Job 105 ran the same script in the foreground. | |
| 55 | + | |
| 56 | +Run the follow-up from the route directory with the same numerical stack using `bash search-strip.sbatch 960 20261142`. The script records the best observed candidate in `strip-summary.json` and writes new checked coordinates only if their exact area clears the target. Its fixed wall budget may allow different numbers of attempts on different machines. | |
| 57 | + | |
| 21 | 58 | ## Next |
| 22 | 59 | |
| 23 | -Run a registered local job to compare longer searches from the three starting methods. Check any artifacts it returns in exact arithmetic, then try a larger move across configurations. | |
| 60 | +Review the independent reproduction and its local certificate. Further attempts at issue #8 should seek a different arrangement. The rational local bounds show which neighborhoods around the reproduced and deletion-seeded configurations are exhausted. | |
+15 −15 routes/hongdy22-codex-n15-search/n15.txt View file
| @@ -1,15 +1,15 @@ | ||
| 1 | -0.92805280557787073 0.27962202329313779 | |
| 2 | -0.32041638889639484 0.23081009849506337 | |
| 3 | -0.37955170948806999 0.63367102205219306 | |
| 4 | -0.60843480686123441 0.32399496288964513 | |
| 5 | -0.9431253983093103 0.9518729818103786 | |
| 6 | -0.062257753755640979 0.68137829349710732 | |
| 7 | -0.062257753755640632 0 | |
| 8 | -2.7339783905102941e-17 0.96091119770731537 | |
| 9 | -0.98488642202881105 0 | |
| 10 | -0.68514365578828096 0.7219449621230446 | |
| 11 | -0.62992618930827959 1 | |
| 12 | -1 0.67407893643682137 | |
| 13 | -6.054893403508672e-18 0.27574035539055486 | |
| 14 | -0.66681661315224094 0.045978499768900657 | |
| 15 | -0.31524132128899268 0.9129108986870772 | |
| 1 | +0.928052805577885694094141631581993814077296801345101456276517 0.279622023293142722116310681796180280839901495072293755989461 | |
| 2 | +0.320416388896403265297744346063029166524571647099223799076981 0.230810098495070172001722800068926771446288621755180580838907 | |
| 3 | +0.379551709488071625934944179825900735441750486713988714199590 0.633671022052187349641832950288180049729456652710511237835348 | |
| 4 | +0.608434806861250350483003263846047631504254425262218677110338 0.323994962889640986294307494149430350472889910245535092245934 | |
| 5 | +0.943125398309313836171440628750753884048307288363479281631781 0.951872981810379366659501748815266402512367908779296976096991 | |
| 6 | +0.062257753755641300733815413040107888397096879076627453788632 0.681378293497095479976557615053654283979296539989869084683909 | |
| 7 | +0.062257753755641300733815413040107888397096879076627453788632 0 | |
| 8 | +0 0.960911197707310419402068438448084324377548832958674190381171 | |
| 9 | +0.984886422028826287472906724303085578702538462882175733600479 0 | |
| 10 | +0.685143655788287916421946425670767672302968175144832524808276 0.721944962123044264418896325702526295595852983729995479624755 | |
| 11 | +0.629926189308287529637809924200253862407028234288028193945537 1 | |
| 12 | +1 0.674078936436826319997067159018038280865051695760360900558249 | |
| 13 | +0 0.275740355390538417139650092666230698959635224826555483245240 | |
| 14 | +0.666816613152246860936823217600853607490696374699601977532791 0.045978499768902282527035844727735685159151497327698834300169 | |
| 15 | +0.315241321288988879132442745416374307646736678188310423303581 0.912910898687075796512288991663865344407128532175161543690787 | |
+36 −0 routes/hongdy22-codex-n15-search/polish-report.json added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +{ | |
| 2 | + "independent": { | |
| 3 | + "free_coordinates": 24, | |
| 4 | + "active_triangles": 25, | |
| 5 | + "radius": "1e-42", | |
| 6 | + "contraction_factor_bound_approx": "6.310022485100213e-40", | |
| 7 | + "center_correction_approx": "4.9575747412095024e-61", | |
| 8 | + "minimum_active_weight_bound_approx": "0.0028252557368348263", | |
| 9 | + "minimum_boundary_sign_margin_approx": "0.008160269489055396", | |
| 10 | + "strict_local_maximum": true, | |
| 11 | + "local_maximum_radius_approx": "3.8167378496296045e-06", | |
| 12 | + "area_center": "0.021210541005490628299864819190512217207317239130240973954432", | |
| 13 | + "area_interval": [ | |
| 14 | + "165707351605395533592693899925876696932158118205007609019/7812500000000000000000000000000000000000000000000000000000", | |
| 15 | + "165707351605395533592693899925876696932173743205007609019/7812500000000000000000000000000000000000000000000000000000" | |
| 16 | + ], | |
| 17 | + "exact_minimum_of_decimal_export": "10605270502745314149932409595256108603658619565120486977215604981593695634175251304369615495551574654909774807112626641/500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
| 18 | + }, | |
| 19 | + "deletion": { | |
| 20 | + "free_coordinates": 23, | |
| 21 | + "active_triangles": 24, | |
| 22 | + "radius": "1e-42", | |
| 23 | + "contraction_factor_bound_approx": "1.066694111665804e-39", | |
| 24 | + "center_correction_approx": "4.7313299624939384e-61", | |
| 25 | + "minimum_active_weight_bound_approx": "0.006977044595420022", | |
| 26 | + "minimum_boundary_sign_margin_approx": "0.005927712623590355", | |
| 27 | + "strict_local_maximum": true, | |
| 28 | + "local_maximum_radius_approx": "4.117597719002515e-06", | |
| 29 | + "area_center": "0.021106168589172343041960601583449212100400694112804036672486", | |
| 30 | + "area_interval": [ | |
| 31 | + "10553084294586171520980300791724606050199847056402018336243/500000000000000000000000000000000000000000000000000000000000", | |
| 32 | + "10553084294586171520980300791724606050200847056402018336243/500000000000000000000000000000000000000000000000000000000000" | |
| 33 | + ], | |
| 34 | + "exact_minimum_of_decimal_export": "21106168589172343041960601583449212100400694112804036672485930679007510135522011669023032096817448941154579937534434451/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
| 35 | + } | |
| 36 | +} | |