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 certificates for two 13-point constructions
Indices in these notes are zero-based and follow the corresponding coordinate file. The search and reference constructions use different index orders. All reported triangle areas are for the unit square.
Mirror-symmetric construction found by transfer
In the raw transfer checkpoint at the 299th attempt from the n = 14 seed, six pairs of points have matching heights to working precision. Their horizontal midpoints lie on one slanted line. Undoing the horizontal shear with coefficient approximately 0.0114950842630 puts their midpoints on x = 1/2. The maximum coordinate discrepancy between the resulting raw checkpoint and the exact-model export is less than 10⁻¹⁴.
Center horizontal coordinates as X = 2x − 1 and divide heights by the lowest paired row height. The bottom point P₁₂ is (0, 0) in these coordinates. The following pairs are related by X → −X.
| Pair | Normalized height |
|---|---|
P₀, P₂ |
1 |
P₄, P₆ |
b |
P₈, P₁₀ |
c |
P₁₁, P₉ |
computed |
P₇, P₅ |
computed |
P₃, P₁ |
H |
Let q denote the common absolute doubled area in normalized coordinates. The contacts (0,2,12), (4,8,10) and (0,4,8) give
q = (c - 1) / (1 + (c - b)/2 + (b - 1)/(2(c - b))).
P0 = (-q/2, 1)
P4 = (-1, b)
P8 = (-q/[2(c-b)], c)
The other coordinates follow by line intersections. Here det(i,j,k) means the signed determinant of the two edge vectors at (P_i).
- Solve for
P₇usingdet(0,4,7) = -qanddet(8,12,7) = q. Reflect to getP₅. - Solve for
P₉usingdet(4,5,9) = qanddet(2,10,9) = -q. Reflect to getP₁₁. - Solve for
P₁usingdet(0,8,1) = -qanddet(9,12,1) = q. Reflect to getP₃. - The two residuals are
det(1,5,9) + qanddet(1,8,9) - q. Unit-square coordinates are((X + 1)/2, Y/H), and their minimum area isq/(4H).
Clearing denominators gives two bivariate integer numerators. Their resultant in c has a degree-27 factor that contains the observed b. Modular polynomial division and rational reconstruction gave c as a ratio of two degree-13 polynomials in b. The minimal polynomial of the area comes from the characteristic polynomial of multiplication by q/(4H) in the resulting number field. All coefficient lists in row-field.json are in ascending degree order.
row_certificate.py verifies the two irreducible degree-27 polynomials, the area relation and all 21 contact identities in the quotient field. Rational interval arithmetic isolates both real roots, verifies every coordinate lies in the square, and proves the other 265 triangles have strictly larger area. The enclosed minimum starts 0.02669743180759659253529787057778420984950920180035. The finite-decimal export gives 0.0266974318 under the project's exact verifier.
classify_row.py also checks every resultant factor. Sturm counts and isolating intervals cover its real b > 1 roots. Reduction modulo 101 at b = 76, with both degrees in c preserved, gives a degree-one gcd. The corresponding Sylvester rank over the degree-27 field is therefore at least that of the specialization, and the verified linear common factor supplies the reverse bound. The other factors have no common finite root in c, lead to vanishing reconstruction denominators, or violate c > b. The case checked by row_certificate.py is the unique admissible root of this nonsingular ordered rational model.
Local maximality along a family of shears
The horizontal shear (x, y) → (x + k(y − y₄), y) leaves both side anchors on their sides because y₄ = y₆. It leaves all triangle areas unchanged. The interval certificate verifies feasibility for all |k| ≤ 0.0117.
To analyze nearby placements, fix the bottom point's horizontal coordinate to 1/2 as a normalization, together with the five active physical boundary coordinates. The Jacobian of the 21 signed contacts minus the common area is square. An inverse residual bound certifies its invertibility. Its negative last inverse row gives positive contact weights summing to one. The weighted area gradient vanishes in the free normalized coordinates and has strict outward signs on the five physical bounds.
For a placement tending to the symmetric point, normalize the bottom point by shearing about its left anchor's height. The shear coefficient tends to zero. It leaves the left anchor's x and all y coordinates unchanged. The right anchor moves by the shear coefficient times the difference between the two anchor heights. That difference is at most twice the normalized displacement in the maximum norm, so any violation of the right side is smaller than first order.
If arbitrarily close placements outside the shear family achieved the same or larger area, normalize and divide their displacements by their nonzero maximum norms. A subsequential unit limit satisfies the physical boundary tangent inequalities and the fixed bottom-point normalization. The active contact derivatives would all be nonnegative. The positive weights and strict boundary signs force all these derivatives and all boundary components to be zero. Invertibility then forces the remaining components to vanish, contradicting unit norm. Thus in a neighborhood the only placements achieving at least the enclosed area lie on the shear family. The argument concerns this local family and the specified contact model.
Reduced exact description of Karpov's reference
The published tightened construction has seven boundary coordinates and 20 active triangles. polish.py encloses its common area by solving the full signed contact system, and verifies a strict local maximum for the unit-square objective within a maximum-coordinate radius exceeding 3.69×10⁻⁵. The enclosed area starts 0.02701991666911136174393147684257704848242712229346. This reproduces the published best known value at the verifier's ten decimals. Published configuration
There is a smaller rational description. Divide x by the bottom anchor x₁₁ and y by the left anchor y₆. The normalized rectangle has width W and height H. Its common doubled area is α, and its other bottom anchor is P₅ = (β, 0). Use (α, β, H) as the three parameters.
- Subtract the contacts
(1,9,11)and(6,9,11)to getX₉ = 1andY₉ = α. The contacts(6,11,12)and(7,11,12)makeP₆P₇parallel toP₁₁P₁₂. Combining them with(5,9,12)gives their slopes = β − 2 − αandP₁₂ = (1 + α/(1 + s), sα/(1 + s)). - Contacts
(0,5,12)and(0,6,12)placeP₀on the line throughP₁₂parallel toP₆P₅, with the displacement fixed by the target determinant. Contacts(0,1,8)and(1,5,8)determineP₈by two linear equations. - Solve
(7,8,9)along the lineP₇ = (W, 1 + sW)to obtainW. Intersections determineP₂,P₃andP₁₀, and(3,4,5)fixesP₄on the top edge. - The remaining contacts
(0,3,10),(2,4,10)and(4,6,8)are the three residuals. The physical minimum area isα/(2WH).
certify_reduced.py evaluates the Jacobian of the three residuals by rational interval differentiation. On the parameter box of radius 10⁻⁴² the preconditioned map is a contraction, with a bound below 1.1×10⁻³³, and maps the box into itself. This gives an isolated exact root and bounds the area and each remaining triangle. verify_contact_identities.py verifies the other 17 contacts symbolically over the rational function field. The 60-decimal export is checked separately by Shoal.
Reproduce the certificates
From the repository root, use Python 3.12 and python-flint==0.8.0 for the symbolic steps. The Newton refinement and reduced interval certificate use Python's standard library.
route=routes/hongdy22-codex-n13-transfer
out=$(mktemp -d)
python3 "$route/polish.py" "$route/karpov-published.dat" "$out/karpov.dat"
python3 "$route/contact_model.py" "$out/karpov.dat"
python3 "$route/certify_reduced.py" "$out/karpov.dat"
python3 "$route/verify_contact_identities.py"
python3 "$route/row_certificate.py" --output "$out/n13.txt"
python3 "$route/classify_row.py"
python3 verify.py "$out"