# Review 1

**Recommendation: minor revisions.** The paper asks whether beating 9/22 requires a fixed fraction of the odd integers to change, with the evens left free. It answers yes: changing at most 1/500 of the odds is not enough. I checked the proof line by line and reran or rebuilt every computation it relies on, and I found no error. The changes I ask for concern how the result is stated and where some numbers come from. None affects the claim.

## What I checked

**The price table and bulk margin.** `certificate.py`, `check.py` and `clause_check.py` all rerun and match `results/` exactly. I also wrote my own integer counter for the construction at n = 2200. It counts the rainbow sums through each even directly and shares no code with `certificate.py`. It reproduces 11P(i/11) = 0,2,3,4,5,6,7,6,6,5,4,3. By hand I derived the quantile function Q from these slopes: 2v, then v + 1/11, then v/2 + 2/11, the last holding through v = 8/11, so 3/5 is safely inside. From Q I recomputed G(1/11) − 1/121 = 1/121, G(3/5) − 9/25 = 81/6050 and G(3/5) − 1/3 = 727/18150. The concavity argument is valid because Q has slope at most 1 on [1/11, 3/5].

The binding margin is 1/121 ≈ 0.00826 against the odd-error allowance 4/500 = 0.008. That margin is narrow but strictly positive. `check.py` also verifies the margin with exact discrete prices at m = 1000, 4096 and 11011.

**The two gain bounds.** The bound 4ab ≤ d² holds: each rainbow all-even sum contains exactly one A–B pair, and that pair determines at most four ordered sums. The bound m²/3 holds because the pair (first summand, result) determines the sum.

**Repairing third-color odds.** The neighbour count m − h − 2d is right. Losses can only occur through sums that contain a changed even, so the step is valid. The paper's bound of "six sums per odd–even pair" is loose (the true maximum is four), which only makes the inequality safer.

**The chain argument.** This is the heart of the paper, and it is correct. A residue chain that keeps one correct site in each of the blocks A, B, A must change color at least twice between consecutive sites. To lose a block, a chain must have at least ⌊m/(11k)⌋ ≥ m/(22k) errors. So for k ≤ m/11 the price is at least 4k(1 − 22h/m) > 3k. For k > m/11 the table's minimum of 2/11 gives a price of at least 4m/11 − O(h), which exceeds 3d. The sum of 3·min(k_i, d) over d distinct k_i is smallest when the k_i are 1, …, d. The resulting 3d(d+1)/2 exceeds the d² all-even sums that restoring the evens could lose.

**The reduction to two colors.** I rederived 2U = Σ over unlike pairs i<j of (2 + 2[i+j ≤ m]). The score formula differs from it only on the anti-diagonal i + j = m + 1. Robertson–Zeilberger (m²/22 + O(m) monochromatic sums, unordered summands) then gives the 9/22 limit. `check.py` confirms the identity exhaustively for every word of length at most 11.

**Stress tests.** I ran 300 adversarial instances at n = 2000. They used the full budget h = m/500 of binary odd errors, placed at random, packed at the A–B boundaries, or erasing one residue chain of the short final A block. Changed evens took random colors, with d up to m/11, drawn either as 1, …, d or scattered. In every instance restoring all evens to C raised the score (smallest gain: 10). In every instance each changed even's actual price was at least 3·min(k, d), as the paper's bound requires. A hill-climbing search at n = 2200 with free evens and at most two odd errors never beat the construction. These tests could have refuted the lemma; they did not.

## What should change

1. **State the theorem formally near the top (most important).** Right now the result is spread across the abstract and the second section. A displayed statement would make it checkable at a glance. For example: for every large n, any 3-coloring of [n] whose odd part agrees with the HKP pattern on at least 499/500 of the odds, after a renaming, has at most (9/22)·n(n−1)/2 + O(n) rainbow sums. Say also that in the bulk case (d ≥ m/11) the deficit below the construction is in fact of order m². And say plainly once that 1/500 comes from the proof: it is where 1/121 beats 4/500. It is not an estimate of the true radius. The paper's last sentences say the sharp distance is open, but a reader skimming the title could take 1/500 as a threshold.

2. **Show where the exploratory numbers come from, or cut them.** The 520,450,560 window assignments and the n = 25,344 example (600 changes costing 86,472 sums) are not produced by any script in this study. NOTES.md says they come from the scout results. Either point to the script and file that produce them, or shorten that section to one sentence of motivation. The proof does not depend on them. The same applies to the claim about exhaustive optima for n from 13 to 21.

3. **Small fix.** In the repair step, write the inequality explicitly: m − h − 2d > 6d holds because d ≤ m/11 and h ≤ m/500. Optionally tighten "six" to "four".

## record.json

The summary and findings are accurate. The so_what is plain and fair, and "more than one odd number in 500" is the right wording, because 1/500 is a lower bound and not a threshold.

Importance level 3 is at the generous end. The result is a stability lemma at a radius that comes from the proof. Its main contribution is the proof technique, chiefly the chain-crossing argument. It does not narrow the gap between 9/22 and 8/15. Level 2 or 3 are both defensible. I would accept 3 only if the reason says it rules out small odd-side perturbations of the construction, which the current reason does.

## A question this raises (not needed for publication)

Neither the stress tests nor the local search came close to the bound. A direct way to probe the true radius would be to combine the chain bound with a sharper charge for odd errors in the middle range of d/m. That would show whether the real radius is nearer 1/500 or much larger.
