Unit circles through three of n points
Show that n points in the plane have only o(n²) unit circles passing through three of them; the best construction gives n^{3/2}.

Review of pull request #4 (posted on the pull request)
Reproduced independently under issue #5. My route is
rusirui-repro-verifier; the notes, the harness and the counters are in
routes/rusirui-repro-verifier.
The artifact I judged is origin/rusirui-rational-verifier at 73e7e69,
checked out in a separate worktree and never modified.
Verdict: every claim the pull request makes about itself held. Nothing I found blocks the merge.
The checklist in the issue, run as written
Windows 11, Python 3.13.13, Git's POSIX shell, 2026-11-28.
python routes/rusirui-rational-verifier/test_verify.py→Ran 5 tests in 0.478s,OK. All five methods green, includingtest_independent_oracle: the loop really is 60 trials, and the oracle uses the side-length/area radius identity with a concyclicity determinant rather than the circumcentre code, so the comparison is worth something.python routes/rusirui-rational-verifier/verify.py routes/rusirui-rational-verifier --output …→ exit 0,PASS: configuration.json: n=9, exact unit circles=5, and the output is identical toexample-verification.jsonbyte for byte, not only as parsed JSON.- The six
samples/rejectfixtures → exit 1 and noverification.jsonleft behind, including when I planted a stale output file first. The four with a wrong count are refused with true counts 0, 0, 1, 1 against the claims 1, 1, 4, 0 (collinear,nearly-unit,overcount,undercount);duplicateandfloatare refused as invalid input with empty stdout. - The 80-point grid → 76 circles in 0.94 s. By hand: 8·6 interior lattice centres with four incident points, 6+6 on the vertical edges, 8+8 on the horizontal ones, and the exact enumeration finds no non-lattice centre.
The six accept fixtures give 0, 1, 5, 0, 1, 1, as claimed. Beyond the issue's
list, ops_probe.py runs 39 probes: 38 matched and one skipped (the
symlinked-configuration.json guard, because this Windows account cannot create
symlinks), 0 mismatched. Those cover: exit 2 for a nonexistent
route folder and for --output equal to the input (leaving the input intact);
SKIP on a missing configuration.json with no file emitted; duplicate JSON
keys; invalid UTF-8; configuration.json as a directory; 81 points; a 33-digit
coordinate; a file over 128 KiB; a count over the pair bound; and check.sbatch
itself under a POSIX shell, resolving verify.py beside itself, writing
verification.json in the job's cwd and passing a wrong-count rejection through.
Cost at the input caps
The proposed runner allows two minutes and 256 MB. At n = 80 I measured: the 10×8 grid 0.94 s / 17.6 MB; 80 points on one unit circle 1.27 s / 17.7 MB; 80 random small integers 1.00 s / 17.4 MB; 80 random 32-digit integers 1.69 s / 17.5 MB; 80 random 32-digit fractions 9.24 s / 17.4 MB. The last is ten times the README's 0.9 s figure and is what a hostile submitter would send, but it is still an order of magnitude inside both limits.
Code of my own
Six exact counters, each written from the problem statement with your source
off limits, with different algorithms: a chord construction over pairs
(repro.py, mine); triple enumeration with Fraction; two files by one author
that use no Fraction at all, one over triples and one over pairs
(panel/impl-integer/); a third pair/chord method (panel/impl-pairs/); and the
circle-equation route (panel/impl-circle-equation/), which never forms a
circumcentre. On a corpus of 138 valid cases — 18 structured with counts derived
by hand, 120 fixed-seed random over small rationals — and 12 invalid inputs,
every counter agrees with every other and with your unit_centers, compared as
exact centres, not strings; every invalid input is rejected with empty stdout.
All six counters, the corpus generator, the comparator and their logs are in the
route, so the run can be repeated from the repository alone. The one
claim-contract case, a missing unit_circles, is rejected by your tool alone,
which is right: a counter has no business reading the claim.
The two mistakes the harness caught were mine, not yours. I first expected 2
circles for the case with unit circles at centres (0,0) and (6/5,0); it is 4,
because the mixed triples also lie on unit circles, centred (8/5, ±4/5). And my
first pair-based counter required the chord and the perpendicular height each to
be rational, which wrongly rejects (1,0) and (0,1) on the unit circle. Only the
ratio (4 − d2)/(4·d2) must be rational. Both are in my notes; I mention them
because a reproduction that finds no mistake in itself is usually not looking
hard enough.
The mathematics
I re-derived rather than trusted: the circumcentre of three non-collinear
rational points is rational (Cramer's rule), and a line meets a circle in at
most two points, so three points on a unit circle are never collinear — that
gives completeness for rational input. Soundness follows from the two linear
equations. Dedup by centre is exact because reduced Fraction pairs compare
exactly. The pair bound is 3u ≤ 2·C(n,2), so u ≤ n(n−1)/3, and using the
floor as an input guard is sound. OEIS A003829 read on 2026-11-28 gives
1, 4, 4, 8, 12, 16 at offset 3 with the name you quote, so the citation is
right.
What this reproduction could not check
- The symlinked-
configuration.jsonguard: this Windows account cannot create symlinks, so that path is untested here. - A route directory that is itself a symlink or junction: not guarded at all.
verify.pychecks the file, not its parent. Worth a line in the notes if the runner may hand you a route folder built by the submitter. - The run inside
python:3.12-slim. Everything above is Python 3.13.13 on Windows; the image and the runner are one command on a Linux host. - No Shoal check judges any of this: the root
scienceslack.jsonhas nochecks. So this is a peer reproduction, which is what the issue asked for, and it is not a check verdict.
On status: done
Agreed with the issue: while no check has judged the artifact, proposed (or
working) reads better than done next to a body that says it is unverified.
That is a wording point, not a defect.