# Review 1

**Recommendation: accept.** The paper asks how far a near-minimal 3-coloring of F₃ⁿ must be from the extremal 27-cell template, and it answers with a short, complete, checkable proof: the edit distance is r = 3ε ± 144ε² for ε ≤ 10⁻⁶, uniformly in n ≥ 3. I checked every step and reran every computation, and I found no error. The suggestions below would make it easier to read. None is needed for correctness.

## What I checked

**Code reruns.** `analysis/certificate.py` and `analysis/verify.py` both run in under a second and reproduce every number in the paper: 405 tight planes out of 19,683, a largest mixed/slack ratio of exactly 14, the 1:4:4 pair counts, one-edit increases of N/3+3 for N = 27 to 729, the two-edit increases {54, 60, 66} on 81 points, and the 729-pattern check of the pair-error bound. Table 1 matches `results/parallel-pairs.md`. The scaling S = 108·3024·slack is consistent with m = M/12 and q = U/(54·3024).

**Proof, step by step.**
- *Random affine map.* With a and the columns of L uniform, each image line has an independent uniform base and step, so E m = T. Two parallel lines share the step Lw. Their bases differ by L(z′−z), and since z′−z is independent of w, that difference is uniform and independent of Lw. So E b = E s(1−s). For two lines through the root, the steps Lw₁ and Lw₂ are independent given the root's image. The root-relative line types are therefore i.i.d. draws from some p_x, and E q = E pᵀQp ≥ 0 because Q is a positive combination of outer products. Inequality (1) follows.
- *Thresholds.* The bounds 2/3(1−s) ≤ t ≤ 1−s, subadditivity of t, μ(A) ≥ T−8v and μ(D) ≤ T+8v/5 are all correct. With v ≤ 14ε this gives the stated window [1/27−111ε, 1/27+23.4ε].
- *Small doubling.* The argument that A+A is a subgroup when |A+A| < 3|A|/2, for symmetric A containing 0, is correct as written. This is the standard Freiman-type step. A ⊆ H ⊆ D places μ(H) in the window, which forces codimension 3.
- *Rounding.* ρ ≤ E_{d∈H} t(d) ≤ 27·(8/5)·14ε = 604.8ε. T(g) ≤ T(f)+3ρ, and the 6/729 gap for a single monochromatic line in the quotient forces three 9-caps. Then Follett et al. apply.
- *Edit law.* The linear term is 3r·(4−1)/27 = r/3. The remainder is bounded by C(k,2) and by pairwise independence of any two positions, including d = 0, which gives |ε − r/3| ≤ 3r². The algebra from there to 144ε² is correct. Since (2) holds for any template at distance r, the nearest template is needed only to get r ≤ 605ε.
- *Second-smallest score for n ≥ 12.* 3¹² is the first power of 3 with 1/(3N) ≤ 10⁻⁶. After that, Nr < 2 forces a single edit, and every single edit has exactly the same excess. Correct.

**Independent checks (my own code, written without using the study's scripts).**
1. *Classification of the 27-point partitions.* I enumerated all 9-caps in AG(3,3) and found 2,106. They form 702 unordered partitions into three 9-caps. The orbit of the Figure 1 partition under AGL(3,3) also has exactly 702 elements. So I confirmed the Follett et al. input directly rather than taking it from the citation.
2. *Inequality (1) in higher dimensions.* I computed v and ε exactly for 900 colorings of F₃³, F₃⁴ and F₃⁵: random colorings, sparse edits of the template, and pullbacks through random (sometimes degenerate) maps. All had T ≥ 1/27. All with ε = 0 had v = 0. The largest v/ε was 1.56, so the constant 14 holds with a wide margin on these examples.
3. *Edit formula (2).* I tested 800 random edit sets of size 1–39 on F₃⁴ and F₃⁵. None violated |ε − r/3| ≤ 3r².

**Novelty.** I could not search the web from this session. Rué–Spiegel's conclusion (the scout's copy, `rado.txt` line 843) does name stability for Theorem 1.2 as open, and the paper's framing matches that.

## Suggestions

1. **Most important: say for which dimensions the quantitative statement has content.** ε is a multiple of 1/N². For n ≤ 6 the range 0 < ε ≤ 10⁻⁶ is empty. For 7 ≤ n ≤ 11, the paper's own single-edit argument shows that any positive ε in range would force r = 1/N, and hence ε = 1/(3N)+3/N² > 10⁻⁶. So for n ≤ 11 the theorem covers only exact minimizers. That is fine, because the result is about large n, but a reader who sees "every n ≥ 3" will assume otherwise. One sentence would fix this. It would also help to say what drives the cutoff: the binding constraint is the rounding step T(g) < 1/27 + 6/729, which needs ε below about 4.5·10⁻⁶. The doubling and subspace steps would allow ε up to about 10⁻⁴. A reader who wants a weaker but wider statement (for example r = O(ε) for larger ε) would want to know this.

2. **Rewrite or delete "The cutoff is a sufficient range for the bound."** I could not tell what it means. Something like "We have not tried to optimize 10⁻⁶ or 144" says it plainly.

3. **Give the slack an intuitive gloss.** The paper states that m − 1/27 − q ≥ 0 on every plane, but it never says so in words: this is the Rué–Spiegel flag-algebra lower bound restricted to one plane, and q is the sum-of-squares part that averages to something nonnegative. One sentence where the slack is introduced would let a reader outside flag algebras see why its average is at most ε.

4. **Optional: report how loose the constant 14 is.** It is the exact worst case over planes, but on actual colorings in dimensions 3–5 I saw v/ε ≤ 1.6. A one-line note would tell readers that the explicit constants (605, 144) come from the method and are not close to tight. Only the leading factor 3 is sharp.

## record.json

The record is fair. The `type` of finding and importance level 3 are appropriate: this answers a stability question posed by Rué and Spiegel with a sharp first-order constant, and it is a real inverse theorem rather than a check of known results. The `so_what` is accurate and readable. "One extra matching triple per million gives about three points per million to recolor" is exactly the theorem at its cutoff. The findings match the paper.
