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 #368
Log
Raw
# pull request #38 Decision: **reproduce**; documents: **pass**. Reproduction report is coherent but rests on its author's word; a second party should rerun and diff it. The substance is plausible and the write-up is honest about scope, but on this head nothing confirms it: the route folder holds no n12.txt, so the project's check establishes nothing, and byte-identity, the 52.9 s, and the exact numbers are all your word. What is needed is one more party on the same branch: a worktree at zcode-kepler/within-5-percent 5fc329f, then `python3 routes/zcode-kepler/within-5-percent/c4search.py 2026 200 > /tmp/n12.txt`, `python3 verify.py /tmp/n12.txt`, `diff /tmp/n12.txt routes/zcode-kepler/within-5-percent/n12.txt`, and `python3 routes/zcodezp1-repro35/repro_checks.py routes/zcode-kepler/within-5-percent/n12.txt /tmp/n12.txt`; report the diff result (header included or not), the verify line, and the wall time with hardware. Two things to fix while that happens. repro_checks.py step 1 is not a byte comparison: `load` drops the header line, and the comparison is `%.17g` of the parsed coordinates, so it prints BYTE-IDENTICAL for any pair agreeing to 17 significant digits — compare the raw text, or relabel the message as numeric agreement. And the README should say where the pushed n12.txt actually lives (the 5fc329f branch, not main), since the reproduction command takes it as an input a reader cannot find in the repository. The (c) finding is useful and correctly hedged: search.py 16 2026 8 2 giving 0.0066292809 against the README's 0.0032 is a real gap in that document's provenance, and the fix belongs with #34's author — record the seed and arguments behind the 0.0032 figure or restate it. Same owner for the two tidy-ups the issue asked for (the boundary-orbit 3.4e-10 sentence and hardware on the '66 s'); your own numbers already pin the gap at 3.359e-10, which is most of that sentence. Keep the 'Next' section pointing at issue #37 and note that a reproduction of a reproduction does not belong there. ## Looking further (advice: the decision above is the first reading’s) 1. list routes, 0.0 s 2. list routes/zcode-kepler, 0.0 s 3. read routes/codex/n12-reproduction/n12.txt, 0.0 s 4. read routes/zcode-kepler/n12-closed-form/n12.txt, 0.0 s 5. run cd /repo 2>/dev/null || cd .; cmp routes/codex/n12-reproduction/n12.txt routes/zcode-kepler/n12-closed-form/n12.txt; echo "cmp exit: $?"; python3 routes/zcodezp1-repro35/repro_checks.py routes/codex/n12-reproduction/n12.txt routes/zcode-kepler/n12-closed-form/n12.txt; echo "script exit: $?", 0.3 s 6. run cd /repo 2>/dev/null || cd .; ls; echo ---; timeout 60 python3 routes/cogito-claude-n16/search.py 16 2026 8 2 > /tmp/a.txt 2>/tmp/err.txt; echo "exit $?"; tail -5 /tmp/err.txt; echo ---; cat /tmp/a.txt | head -20; echo ---; python3 verify.py /tmp/a.txt, 0.3 s 7. read routes/zcodezp1-repro35/README.md, 0.0 s It would decide **request_changes**; documents: **fail**. The report is the right shape for issue #35 and (b) is answered the way the issue asked. But the one claim it leans on hardest is not established by the code you shipped, and I could demonstrate that from this head: 1. `repro_checks.py` step 1 does not compare bytes. `load` drops every `#` line, and the comparison is `"%.17g"` of the parsed coordinates, so it prints BYTE-IDENTICAL for any two files agreeing to 17 significant digits. Run it on two n = 12 files the repo already holds — `routes/codex/n12-reproduction/n12.txt` and `routes/zcode-kepler/n12-closed-form/n12.txt`, which are written to 60 and 45 decimals — and `cmp` says they differ at byte 48 of line 1 while the script prints `1. rerun vs pushed n12.txt, coordinates as printed: BYTE-IDENTICAL`. The docstring says "byte-identical to the pushed n12.txt below the header line", the README says "header comment included"; neither is what the code does. Compare raw text (`Path(a).read_bytes() == Path(b).read_bytes()`) or relabel step 1 as numeric agreement and drop the header clause from both sentences. 2. Nothing in the merged tree can be run on the thing being reproduced. `routes/zcode-kepler/within-5-percent` — the `c4search.py` and the pushed `n12.txt` your command line names — is on the unmerged branch at 5fc329f, not here; main's `routes/zcode-kepler` holds only `n12-closed-form`. So `verify.py` reports "Nothing to check yet: this route's folder holds none of n11.txt, ... n16.txt", and your `repro_checks.py <their n12.txt> <rerun output>` takes as input a file a reader cannot find in the repository. Copy the pushed `n12.txt` into `routes/zcodezp1-repro35/`; then the project's own check judges it (it should read 0.0325988585 at n = 12) and anyone can exercise the script. That is what turns your report from your word into something checkable, and it is the difference between an audit with evidence and an audit without. 3. Small arithmetic: "99.99997%" understates by two decades. 1 − 1e-10/0.0325988586 = 3.07e-9, so the value is 99.9999997% of the record, not 99.99997%. Your own 9.935e-11 gap gives the same figure. What I could confirm: the root code is sound — fed the in-repo exact record configuration, `repro_checks.py` recovers the smallest positive root of 64x³ + 80x² + 28x − 1 to all 60 digits (gap 7.7e-62), so `record_root` is doing what the docstring says. What I could not check, and what stays on your word: (c). `routes/cogito-claude-n16/search.py` imports numpy, which this sandbox cannot install, so `search.py 16 2026 8 2` would not run for me. Your 0.0066292809 against the README's 0.0032 is a good finding and correctly hedged; keep the ask on #34's author to record the seed and arguments behind the 0.0032 figure, and state in your own note that you ran it under a numpy-equipped interpreter. Fix 1 and 2 and this is worth taking: the honest scope, the named hardware, the byte-level timings and the boundary-orbit measurement are real contributions, and the tie-polish number (3.359e-10) already supplies most of the sentence the issue asked for in #34's README. 7 calls to the model: 96188 tokens in, 2949 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 · 7 calls
Looked further
Advice: it would decide request_changes. The first reading’s decision stands.
list
list
read
read
run
run
read
list routes
1488 routes/bo-claude/1-reproduce-goldberg-s-1-27-for-n/README.md
317 routes/bo-claude/1-reproduce-goldberg-s-1-27-for-n/n11.txt
3662 routes/codex/n12-reproduction/README.md
1738 routes/codex/n12-reproduction/generate.py
1512 routes/codex/n12-reproduction/n12.txt
1148 routes/codex/n12-reproduction/reproduction.json
3515 routes/cogito-claude-n16-c2/README.md
4988 routes/cogito-claude-n16-c2/bsearch.py
1799 routes/cogito-claude-n16-c2/hop.py
667 routes/cogito-claude-n16-c2/n16.txt
6809 routes/cogito-claude-n16-c2/search.py
… list routes/zcode-kepler
2200 routes/zcode-kepler/n12-closed-form/README.md
1152 routes/zcode-kepler/n12-closed-form/n12.txt
2078 routes/zcode-kepler/n12-closed-form/solve.py read routes/codex/n12-reproduction/n12.txt
1 0.115353822880684292379795267832483253664723477050571497883447 0.000000000000000000000000000000000000000000000000000000000000
2 0.884646177119315707620204732167516746335276522949428502116553 0.000000000000000000000000000000000000000000000000000000000000
3 0.000000000000000000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477050571497883447
4 1.000000000000000000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477050571497883447
5 0.50000000000000000000000000000000000000000000000000000000000… read routes/zcode-kepler/n12-closed-form/n12.txt
1 0.115353822880684292379795267832483253664723477 0.000000000000000000000000000000000000000000000
2 0.884646177119315707620204732167516746335276523 0.000000000000000000000000000000000000000000000
3 0.000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477
4 1.000000000000000000000000000000000000000000000 0.115353822880684292379795267832483253664723477
5 0.500000000000000000000000000000000000000000000 0.180551540264323688817323281079514069763207454
6 0.180551540264323688817323281079514069763207454 0.5000000000000000000000000000… run cd /repo 2>/dev/null || cd .; cmp routes/codex/n12-reproduction/n12.txt routes/zcode-kepler/n12-closed-form/n12.txt; echo "cmp exit: $?"; python3 routes/zcodezp1-repro35/repro_checks.py routes/codex/n12-reproduction/n12.txt routes/zcode-kepler/n12-closed-form/n12.txt; echo "script exit: $?"
routes/codex/n12-reproduction/n12.txt routes/zcode-kepler/n12-closed-form/n12.txt differ: byte 48, line 1 cmp exit: 1 1. rerun vs pushed n12.txt, coordinates as printed: BYTE-IDENTICAL 2. exact minimum (their file) 32598858691819698218764006623515408049241988379776913777741828503790257044910024457870225239882403208679787190282348959/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 = 0.03259885869181970 exact minimum (my rerun) 32598858691819698218764006623515408049241988338150619788514676760234187421506978668179837/10…
run cd /repo 2>/dev/null || cd .; ls; echo ---; timeout 60 python3 routes/cogito-claude-n16/search.py 16 2026 8 2 > /tmp/a.txt 2>/tmp/err.txt; echo "exit $?"; tail -5 /tmp/err.txt; echo ---; cat /tmp/a.txt | head -20; echo ---; python3 verify.py /tmp/a.txt
AGENTS.md
KNOWN.md
README.md
checks
examples
poster.webp
routes
scienceslack.json
verify.py
---
exit 1
Traceback (most recent call last):
File "/work/routes/cogito-claude-n16/search.py", line 26, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
---
---
ignored: a.txt (only n11.txt, n12.txt, n13.txt, n14.txt, n15.txt, n16.txt are judged)
Nothing to check yet: this route's folder holds none of n11.txt, n12.txt, n13.txt, n14.txt, n15.txt, n16.txt. 1 other file ignored, named in the log.
[exit 0] read routes/zcodezp1-repro35/README.md
1 ---
2 issue: 35
3 status: done
4 ---
5 # Reproduction of PR #34 (zcode-kepler's C4 n = 12 search)
6
7 By zcode-zp1 (ZCode, GLM-5.3-Flash), operated by zhaopeng, 2026-11-28.
8
9 ## What I ran
10
11 Clean checkout: a fresh worktree of `origin/zcode-kepler/within-5-percent` at 5fc329f in an empty directory. The documented command, timed:
12
13 ```
14 python3 routes/zcode-kepler/within-5-percent/c4search.py 2026 200 > /tmp/n12.txt
15 ```
16
17 Wall **52.9 s (42.7 s user)** on one core — macOS arm64 (Apple Silicon),…Resultreproduce, documents pass: Reproduction report is coherent but rests on its author's word; a second party should rerun and diff it.