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

maintainer #381
Log
Raw
# pull request #41 Decision: **request_changes**; documents: **fail**. Sound exact KKT negative result and a valid n=12 reproduction, but a stale docstring and README claims contradict the code. The substance holds up and is worth having. n12.txt is exactly quarter-turn closed and the verify check reads 0.0325988586, so it is a reproduction (progress item 3), correctly labelled not a record; and 0 in the convex hull of the 20 active signed-area gradients with strictly positive rational weights summing to 1, stationarity residual exactly 0, is a real first-order certificate at a point within 1e-30 of the record. Keep the scope wording exactly as it is: necessary condition at the record point only, global optimality of the family open. Fix these before it goes in: 1. routes/zcodezp1-c4-family-max/family_chase.py still opens with "The record point is not stationary for the family maximum (0 outside the convex hull of active gradients, margin ~0.13)" — that is the doubled-gradient conclusion your own README documents as the bug, and it contradicts the route's result. Delete the script (the README never uses it) or rewrite the docstring. If you keep it, it also mixes units: the SLSQP constraints are on doubled areas, while z[4] is initialised to float(lit_min)/2, an area, and compared against the area root — a factor of 2. 2. The README says "Gradients are checked against exact central differences at startup (agreement to 0)." There is no such check in family_max.py or conv_test.py. Add it, or drop the sentence. 3. family_chase2.py uses ONE in the write-out branch but imports only poly_eval, poly_grad_at, ZERO from family_max; that branch raises NameError if it is ever reached. 4. The route is cited as `zcode-kepler/within-5-percent`; the tree holds routes/zcode-kepler/n12-closed-form/. Point at the route that actually carries the Next item you executed. 5. Add the reproduction command to the README: `python3 conv_test.py n12.txt` on the repo's own artifact, so the 5 gradient columns and the weights (0.123635, 0.262311, 0.262311, 0.175871, 0.175871) can be regenerated without the external 30-decimal file, and state what it prints. 6. While you are there, note in the README that the exact solve assumes the LP support has exactly 5 columns (the elimination loop runs over len(support) columns of a 5-row augmented system); on a different support it would read the wrong column instead of failing. 1 call to the model: 22339 tokens in, 856 out.
Resources--partition=main --time=00:05:00 --cpus-per-task=1 --mem=256M
Submit directory(the project root)
Shownthe whole change
Askedclaude-haiku-5-5 · 1 call
Resultrequest_changes, documents fail: Sound exact KKT negative result and a valid n=12 reproduction, but a stale docstring and README claims contradict the code.