# Review of "At the two-ninths separation threshold, one extra position can cost a ternary linear code a logarithmic factor in size"

**Recommendation: minor revisions.** The paper asks a clear question and answers it with a theorem. For ternary linear codes in which every triple must be separated in at least ⌈2n/9⌉ positions, the worst ratio L(n)/L(n+1) up to length N is Θ(log N). It is attained right after the simplex lengths P_a = (3^a−1)/2. I checked every step of the proof by hand and reran all the computations. I found no errors. The changes I ask for are about presentation and the importance rating.

## What I checked

**The reproduced computations.** I copied `analysis/` and `data/` to a scratch directory and ran `build.py`, `table.py` and `check.py`.
- The scan gives "1999 exact lengths among 531441".
- Table 1 regenerates byte-for-byte (`diff` is empty).
- The expanded 9,842-position generator has minimum separation 2,188 over all 2,362,041 triples. The 19-column Kurz block separates every triple at least once.
- The rank-6 hyperplane test gives 3,272 > 85,063/26 ≈ 3,271.65. This is a narrow margin, but it is computed with exact rationals.

**An independent check of the separation model** (my own script, not shared with the study):
- For 60 random generators of rank 2 and 3, the minimum separation counted directly over message triples equals the count from the paper's (u, v) reduction: positions where u·c and v·c are opposite nonzero values.
- An exhaustive search over all column multisets of rank ≤ 3, for n ≤ 14, gives L(4)=9, L(5)=3, L(13)=27 and L(14)=3. This matches the first two rows of Table 1.

**The proofs.** I worked through each argument:
- *Flag reduction and averaging bound (1).* Each nonzero column lies in H\J for P_{k−1}·3^{k−2} of the P_k·P_{k−1} flags. This gives the fraction s_k/P_k. Since m(P_a) = 3^{a−2} = s_a, the simplex is optimal and L(P_a) = 3^a.
- *Hyperplane Griesmer bound (2).* The nonzero columns inside H form a [·, k−1, ≥m] code. Injectivity follows because every weight is at least m > 0. Each nonzero column lies in P_{k−1} of the P_k hyperplanes. Zero columns are correctly excluded.
- *Inequality (3).* The identities n = rP_k + (r+1)/2 and m = rs_k + 1 hold. Every ceiling rises by exactly one, since 3^i divides 3^{a−2} for i ≤ k−2. The result is 6(k−1) < r+1. Rank a fails for a ≥ 2, and the O(3^a/a) bound follows in both regimes of k.
- *Random block of length 9k.* The expected number of missed pairs is (9·(7/9)^9)^k ≈ 0.94^k < 1. With r the least power of 3 at least 18a, there are (r+1)/2 ≥ 9a free positions, which leaves room for the block. This gives the 3^a/(54a) lower bound.
- *The 3^a versus 3^a+9 control.* The identities are n = 2rP_k + r + 9 and m = 2rs_k + 2, and the Griesmer sum is 2rP_{k−1} + k. These give 3k < r + 9, so rank a is excluded for a ≥ 4. Two 9k blocks fit in the r + 9 spare positions.
- *Universal upper bound.*
  - Deleting a column gives 3^{k−1} ≤ n, using 9m/2 ≥ n.
  - A random t-subspace U frees at least n(3^t−1)/(3^k−1) ≥ (3^t−1)/3 positions. These are constant zero on U^⊥, so rewriting them costs the surviving triples nothing.
  - With 3^t ≥ 27k+1 there are at least 9k free positions. The loss is at most 3^t < 3(27k+1), and the case t ≥ k is handled. So L(n)/L(n+1) = O(log n).
- *Finite claim.* For n < 19,683 we have k ≤ 9. Taking t = 4 frees at least ⌈80/3⌉ = 27 ≥ 19 positions, and for dimension ≤ 5 a subcode of the Kurz block works. For k ≤ 4 the loss is at most 27. So 81 is the maximum loss below 19,683, and 9,841 → 9,842 attains it.

The scan's lower bounds use only valid constructions (simplex copies plus once-separating blocks). Its upper bounds use only (2) and the deletion bound. So the table's intervals are rigorous.

## Is this a finding?

The study did begin from a scan (the scout's sweep of all lengths up to 3^12). But the claim does not rest on the pattern in that scan. It is a proof for all lengths. The scan only guided which lengths to look at, and the paper says so. The integer-endpoint control (3^a versus 3^a+9) was a real test: it could have shown that the gap is purely a rounding effect of ⌈2n/9⌉, and it did not. That control spans nine positions, not one, and the paper is honest about this. `type: finding` is appropriate.

## Requested changes

1. **State the theorem up front and give a roadmap (most important).** The main result appears as a displayed formula in the middle of "Losses at consecutive lengths". The proof is then spread over three sections, each of which mixes lemma, proof and example. A reader outside the subfield would follow it much more easily with:
   - a numbered statement listing the three parts (L(P_a) = 3^a; L(P_a+1) = Θ(3^a/a); max ratio Θ(log N)) plus the finite statement below 19,683;
   - one sentence saying which section proves which part.
   
   The 3^a/3^a+9 paragraph should be labelled clearly as a control. Its stray conclusion ("In particular, the optimum at the first integral endpoint above has order 3^a", in "A bound for every starting code") belongs next to it.

2. **Fix the notation clash and say where things live.** The letter x is used for a message and also for the functional defining H. Columns live in F_3^k, while u and v act on them as functionals (translated messages). H and J are subspaces of the column space. One sentence fixing these roles would remove the main stumbling point in "Counting separating positions". Also state the Griesmer bound itself (n ≥ Σ⌈d/3^i⌉ for a ternary [n, k, d] code) before using it, rather than leaving the reader to infer it from (2).

3. **Importance rating.** The theorem is clean and sharp. But the question is narrow: adjacent-length ratios for *linear* codes at exactly the critical fraction, with a ceiling convention. Level 3 ("changes what specialists believe about a specific question") is defensible only in the sense that nobody had asked the question before. I would rate it 2. Either way, the `reason` should say that this concerns linear codes only. The paper already says plainly that it gives no result for unrestricted codes.

4. **`so_what`.** It is accurate and not misleading. One small addition would help: say that the effect comes from the requirement rising by one whole position each time the length crosses a multiple of 4.5. The 3^a+9 control shows this is not purely rounding, but a lay reader should know that the "extra position" matters because it raises the requirement.

## Suggestion, not a condition

A natural follow-up is the sharp constant. Write c_a = a·L(P_a+1)/3^a. The bounds above leave c_a asymptotically between about 1/54 and 1/3 (the upper value comes from r > 6k − 7 ≥ 3a − 7 when k ≥ a/2). The longer-length intervals at 3,280 and 29,524 in Table 1 show that even the first unresolved cases are open. A search for short linear trifferent blocks of dimension 6–7 (extending Kurz) could settle the 3,280 row and suggest the constant.
