# Review 1: "Independently thinning a binary linear code gives a sharp singleton-face gain of order d/2ᵈ"

**Recommendation: minor revisions.**

## What the paper claims

Mark the vertices of a large cube. Use r parity checks to make a vertex eligible when its syndrome is zero, then mark eligible vertices independently with probability p. Optimized over all such codes and all p, the expected fraction of coordinate d-faces with exactly one mark is
1/e + (d/(e·2ᵈ))[max_r f(2ʳ/d) + o(1)], where f(c) = c(1/2 − (1−1/e)e^{−1/c}).
So the excess over 1/e grows from order 2⁻ᵈ (independent marks on the whole cube) to order d·2⁻ᵈ. Its coefficient oscillates between f(s)/e ≈ 0.09446 and ≈ 0.09947, because q = 2ʳ can only double. The paper answers its question clearly and positively, and keeps the claim inside the family it studies. It does not claim anything about unrestricted markings beyond a lower bound.

## What I checked

All checks used my own code, except where I say I reran the authors' scripts.

- **Table 1 and the d = 5 value.** I placed the five labels on a literal 5-face, looped over all 32 vertices for every ordered choice of labels in {1..7}⁵ and every starting syndrome, and counted eligible vertices. I got the same histogram (0: 6,762; 4: 120,960; 8: 6,720; 16: 14) and the same exact score, 144694303101/368293445632 = 0.3928778. The conjectured value (31/32)³¹ = 0.3737345 and the one-check value (15/16)¹⁵ = 0.3798124 also match.
- **The rank-tail comparison (the step that turns the result into an upper bound over all codes).** I could not reach arXiv to read Kovačević's Theorem 5.1. Instead I tested what the paper needs from it: for r = 2, 3 and d = 2..5, 1,200 random label distributions over the nonzero vectors (some very skewed). For every rank j, no distribution's P(rank ≥ j) exceeded the uniform one (largest difference 1e-15, which is rounding). This supports how the paper uses the theorem. The local text of Goldwasser–Hansen (`scout-cube-sections/data/2209.04740.txt`, §9.3) confirms that Conjecture 9.5 says λ(U_d, d) = (1−2⁻ᵈ)^{2ᵈ−1} for d ≥ 5. The even-vertex construction therefore does refute it as stated.
- **Large-d behaviour, with the rate also optimized.** The paper's `check.py` counts ranks by subspace inversion and fixes p = q/N. I counted ranks with an independent Markov recurrence (rank j → j+1 with probability (q−2ʲ)/(q−1)), used decimal precision d+60, and optimized both r and the rate by golden-section search. At d = 32, 64, 128, 256, 512 and 1024 the scaled excess (eS−1)·2ᵈ/d was 0.285554, 0.276523, 0.271994, 0.269726, 0.268591 and 0.268024. These match `results/check.txt`, and from d ≈ 16 on the optimal rate is z = Mp = 1 to four decimals. The values approach the predicted envelope at roughly the rate 1/d. At d = 724 (q/d ≈ 1.41) the envelope dips as predicted (0.267209 vs 0.266321).
- **Constants.** s = 0.8183659, f(s) = f(2s) (the tie), c* = 1.1775030, f(s)/e = 0.0944552, f(c*)/e = 0.0994669. A grid over [s, 2s] gives the same minimum and maximum.
- **Certificates.** I reran `certify.py` and got the same interval counts (17, 22, 35, 54, 86, 162).
- **Proof steps checked by hand.**
  - The formulas for E H and E C(H,2), the latter including the 1/(2M²) bound.
  - The two-term Bonferroni bound on 1 − t^H.
  - The expansion that gives eS − 1 = (d/N)f(q/d).
  - Both exclusion regimes. When q/d → ∞, the coefficient is (1/2 − a)/M < 0.
  - The M ≥ 64 inequality. It is tight at M = 64 (0.00794 vs 0.00818) but correct.
  - The q = 2N bound p(1 − 11p/32)/2.
  - The direction of the inequality for A_M: the first twelve factors give an upper bound, and the finite-r product converges to A_M.
  - The subsequence argument.

  I found no error.

## Main suggestions

1. **State the load-bearing external theorem exactly.** The upper bound over all codes rests entirely on Kovačević [4, Thm 5.1]. That paper is a recent preprint (v2), and the result is needed in its strong form: uniform draws maximize every rank tail, not only the probability of full rank. Quote the theorem's hypotheses and conclusion in one or two sentences. Say how the case fits them: i.i.d. draws with replacement from an arbitrary law on the nonzero vectors of F₂ʳ, a transitive matroid. Add the cheap exact check above, or the authors' own version, as a sanity test in `check.py`. This is the single most important improvement. A reader who cannot verify this step cannot trust the upper half of "sharp".

2. **Make the counterexample to Conjecture 9.5 an explicit, flagged statement.** The paper states in passing that one parity check beats the Goldwasser–Hansen conjecture for every d ≥ 5. To a reader in the area, that is the most surprising sentence in the paper, and the d = 5 comparison in `record.json` relies on it. Say plainly that the conjecture as stated is false for every d ≥ 5. Say whether the authors know of this being observed before. The construction is simple enough that a reader will ask. Keep it clear that this says nothing against the 1/e limit, as the paper already does.

3. **Say that Table 1 is an example, not S₅.** At d = 5 the best rate in the rank-three family is z ≈ 0.966, not z = 1, and the score is ≈ 0.39318 rather than 0.392878. This doesn't affect any claim, but one clause would stop readers from taking 0.392878 as the optimum for this family at d = 5.

4. **Shorten or move the mask scan.** The paragraph about 3,388 Boolean-function rules from the NIST tables and 105,028 comparisons is hard to follow for an outsider. It tests only the matched-mean rate with uniform labels, and the theorem doesn't use it. Either cut it to one sentence ("in an exploratory scan at matched mean, no union of syndromes beat a single syndrome; we do not claim this in general") or move it to a short closing remark. As written it sits between the example and the theorem and slows the reader down.

## Clarity

The opening and the d = 5 example are good. The proof sections are correct but very compressed. A combinatorialist outside this exact problem will need to reconstruct several steps: why z → 1 forces 1 − t → a, the uniformity in p, and why deficiency one is the worst case in (4). One or two extra sentences at each such point would help more than any new analysis. Define "syndrome" and "rank J" once, as is done now, and avoid project shorthand. The text is already largely free of it.

## record.json

- `summary` and `findings` are accurate. My recomputation supports every number in them.
- `so_what` is fair and not misleading. It might add that the 32-corner improvement beats a value that had been conjectured to be the best possible, which is the reason a general reader should care.
- `importance` 3 is at the top of what is defensible. The paper settles the sharp rate exactly, but only within one natural family. The unrestricted question (is the limit 1/e?) remains open, and the counterexample to Conjecture 9.5 is a one-line construction. I would accept 3 because the result does change what specialists believe the right finite-d benchmark is. 2 would also be reasonable.

## Bottom line

The result is correct as far as I could check, by recomputation and by reading the proof. The claim is stated at the right strength, and the figure and numbers reproduce. The revisions are about letting a reader verify the one cited step and see the conjecture-refuting observation clearly. None of them changes the result.
