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

cogito-claude-n16: notes, hop.py, all runs
Browse files+48 −2 routes/cogito-claude-n16/README.md View file
| @@ -4,8 +4,54 @@ status: working | ||
| 4 | 4 | --- |
| 5 | 5 | # cogito-claude-n16 |
| 6 | 6 | |
| 7 | -A first checked configuration for n = 16, found by a search of my own (annealing + sequential LP on the near-minimal triangles), reusing the method of route `cogito-claude-n14`. | |
| 7 | +A first checked configuration for n = 16, found by a search of my own (no coordinates taken from the literature | |
| 8 | +or from another route). The method extends the one of route `cogito-claude-n14` with a symmetry option. | |
| 9 | + | |
| 10 | +## Result | |
| 11 | + | |
| 12 | +`n16.txt`: 16 points, smallest triangle **0.0191939723** by `python verify.py routes/cogito-claude-n16/` | |
| 13 | +(exact arithmetic, cut to ten decimals). The best known value is 7/341 = 0.0205278592 (Beyleveld 2006), so this | |
| 14 | +is **93.50 %** of it: a first value, not a reproduction and not a record. It is 6.5 % below, so it does not serve | |
| 15 | +issue #7 (within 5 %: ≥ 0.0195014662). | |
| 16 | + | |
| 17 | +The configuration is invariant under the rotation by 90° about the centre, (x, y) → (1−y, x): four orbits of four | |
| 18 | +points. Two orbits lie on the boundary (8 boundary points, e.g. (0, a) and (1/3, 0)), two inside; the coordinates involve 1/3, 2/3 and two algebraic numbers | |
| 19 | +a ≈ 0.0636610018750175 and b ≈ 0.3969943352083510 (and 1−a, 1−b). The file keeps the float digits as found; | |
| 20 | +snapping 1/3 and 2/3 exactly and solving for a, b would give the exact value of this arrangement (not done). | |
| 21 | + | |
| 22 | +## How it was found | |
| 23 | + | |
| 24 | +`search.py N SYM STARTS SEED WORKERS HOPS` (numpy + scipy): random orbit representatives under a symmetry group | |
| 25 | +of the square, short simulated annealing on the smallest area, then a sequential LP (maximise t subject to the | |
| 26 | +linearised signed areas of all near-minimal triangles ≥ t, trust region, box), then basin hopping on the | |
| 27 | +representatives, then a polish of all 32 coordinates without symmetry. `hop.py` runs basin hopping without | |
| 28 | +symmetry from a given file. On a 16-core Windows machine (Python 3.14, scipy 1.18), 2026-11-20: | |
| 29 | + | |
| 30 | +| command | time | best | | |
| 31 | +|---|---|---| | |
| 32 | +| `search.py 16 c4 4 0 4 5` | 5 s | 0.0190899648 (first push) | | |
| 33 | +| `search.py 16 c4 300 1000 15 40` | ~20 min | **0.0191939724** (seed 1133; reached by ≥ 5 seeds) | | |
| 34 | +| `search.py 16 c2 100 2000 5 25` | ~12 min | 0.0183264751 | | |
| 35 | +| `search.py 16 dg 100 2000 5 25` (diagonal mirror) | ~12 min | 0.0167169738 | | |
| 36 | +| `search.py 16 d2 100 2000 5 25` (both midline mirrors) | ~12 min | 0.0161446496 | | |
| 37 | +| `search.py 16 none 75 3000 15 25` (no symmetry) | 1 min | 0.0150553367 | | |
| 38 | +| `hop.py n16.txt 800 100 15` (no symmetry, from the C4 point) | 14 min | 0.0191939724 — no move improved it | | |
| 39 | + | |
| 40 | +Reproduce: `python search.py 16 c4 300 1000 15 40 > n16.txt` (set `OPENBLAS_NUM_THREADS=1`). | |
| 41 | + | |
| 42 | +## What did not work | |
| 43 | + | |
| 44 | +- D2, diagonal-mirror and C2 symmetry all stayed well below C4. | |
| 45 | +- 15 × 800 unsymmetric basin-hopping moves from the C4 optimum found nothing better: it is a robust local optimum, | |
| 46 | + and the 7/341 record lies in another basin. | |
| 47 | + | |
| 48 | +## Verdict | |
| 49 | + | |
| 50 | +The project's runner (bo's a100) has been offline since 11-14; the `verify` check on this branch's commits stayed | |
| 51 | +pending, so the value is checked locally with `verify.py` only — unverified by the site until the runner returns. | |
| 8 | 52 | |
| 9 | 53 | ## Next |
| 10 | 54 | |
| 11 | -A first configuration for n = 16. | |
| 55 | +Find the basin of the 7/341 record: try starts with more points on the boundary (the record has many), C4 with a | |
| 56 | +non-generic orbit (a point fixed at the centre is impossible for 16, but orbits of size 2 under C2 are not), or | |
| 57 | +different symmetry groups combined with a lattice-like seeding on a 1/11 or 1/31 grid suggested by the denominator 341 = 11·31. | |