# Review of "The gap between the two highest cube ball counts grows quadratically with dimension"

**Recommendation: minor revisions.**

The paper answers its question completely. For n≥5 it classifies all markings that reach the known maximum $M_n=2^{n-4}\binom n3$ of $W_{12}$ copies on three-faces. It finds the first positive loss: 1, 4 and 8 at n = 4, 5, 6, then $\binom{n-1}{2}$ for every n≥7. For n≥8 it also classifies the runners-up. The argument has two parts: a computer check for n ≤ 7, and an induction for n ≥ 8 that uses only the facet-loss identity. I reran the code and worked through the proof, and found no errors. The changes I ask for are about presentation and reproducibility.

## What I checked

- **Reruns.** `analysis/base.py` and `analysis/check.py` produce output identical to `results/base.txt` and `results/check.txt`. In particular: the n=4 score histogram (112 winners, 256 at score three, one extra orbit of 48); the winner sets at n = 5, 6, 7 equal the template-plus-neutral-flip family (the script asserts this); the first losses from the pair and completion tests (4/4, 10/8, 15/15); the single-flip loss $L_n(k)$ for every k at n = 4..12 under an independent ball recognizer; and both top score levels at n=8 across all 409,600 tight half-pairs.
- **My own checks** (scratch script, not committed). On 200 random markings each at n=5 and n=6, the facet identity $\sum_F\delta_F=(n-3)\delta$ holds exactly. On random half-pairs, the shortcut in `pair()`, which scores only the faces crossing between the two halves, matches a direct recount. So the stacked-square rule for crossing balls is coded correctly. The identity $2n\,M_{n-1}=(n-3)M_n$ also checks algebraically.
- **Base-case coverage.** The facet budget gives at most 6, 5 and 7 nontight facets for a loss below the claimed gap at n = 5, 6, 7. That forces either an opposite tight pair, which the pair test covers after a permutation, or tight facets in at least 4 (n=5) or 7 (n=7) distinct directions, which the completion test covers after reflections. At n=6 the budget leaves at least 7 tight facets among 6 directions, so an opposite pair is forced, and the pair test's minimum of 10 excludes every loss below 8. The completion test exhibits a loss of 8, and this agrees with $L_6(4)=8$. The case logic is sound, and the code enumerates exactly those cases. Using lower facets only is valid because the winner set S is closed under the cube's symmetries.
- **Induction (n≥8).** A loss of at most $\binom{n-1}{2}$ allows at most n−1 nontight facets. So two opposite facets are tight, and at least n−3 other tight facets are left over for the coefficient matching. Two distinct affine functions on the intersection of two facets differ on at least $2^{n-3}>4$ vertices, so the facet templates glue into one ambient template. Where the marking disagrees with the template, a vertex with one unchanged edge makes all n−1 facets that leave that edge free nontight. Two unchanged edges are impossible. A second such vertex would have to be $v+e_j$, which has all edges unchanged, since $DQ(v+e_j)=DQ(v)+e_j+\mathbf 1=0$. A neutral site and the costly site can never share a three-face, so the losses add. I found no gap. The induction correctly uses only the winner classification and the gap from dimension n−1.
- The local face-scoring rule (a face scores exactly when one or three of its directions are unchanged edges) and $L_n(k)=k\binom{n-k}2+\binom k3$ both follow as stated. The minimum over k ≥ 1 is k=1 for n≥8, k=1 or 5 at n=7, and k=4 at n=6, which matches the stated exceptions.

## Requested changes

1. **State the result as a theorem, then prove it in labelled steps.** This is the single most useful change. Right now the main result is spread through prose ("For n≥5, every winner…", "For n≥8, every runner-up…", "The first positive loss…"), and the proof appears as connected paragraphs. A short formal statement would let a reader outside hypercube inducibility find the claim and check each step. Give the theorem parts (a) winners, (b) gap, (c) runners-up. Then give a lemma for the single-flip cost, a lemma for the facet identity and budget, a proposition for the n ≤ 7 computer check, and the induction. Say plainly that the n ≤ 7 part is computer-assisted and name the script that certifies it.

2. **Remove or back up the claims that are not reproducible here.** The second paragraph of "The finite counts" cites an exhaustive scan of all $2^{32}$ five-dimensional markings and a half-pair search through dimension ten. Neither is in this study's `analysis/`, and the proof needs neither. Either add the scripts or cut those sentences and keep only the point they illustrate: at n=6 the best losing half-pair is 10 behind, but a single flip with four unchanged edges loses only 8. That point can rest on the existing outputs (pair minimum 10, completion minimum 8).

3. **Say what [2] proves about extremal markings.** The novelty claim is that the classification of ties and the gap are new. One sentence saying whether Bodnár–Pikhurko (or Goldwasser–Hansen) characterize the extremal configurations, or prove any stability result, would settle this for the reader.

4. **Clarity details worth fixing.**
   - The last sentence of the paper ("even the facets that fail to maximize have their positions forced by one edge") is hard to parse. Replace it with a one-line summary of the proof idea, or delete it.
   - "In dimension three the eight balls themselves win the only point" reads oddly. Say instead that the cube has a single three-face, so the winners are the eight balls.
   - Define "tight" and the loss δ before first using them in the coverage argument; at the moment, the table header comes first. Also note once that δ_F ≥ 0 because $M_{n-1}$ is the maximum.
   - In "Why the gap persists", note that a nontight facet's loss is at least $g_{n-1}=\binom{n-2}{2}$ by the induction hypothesis. That is the step that produces the bound n−1.

## record.json

The summary and findings match the paper. `so_what` is accurate and readable: the 36-point example at n=10 equals $\binom92$, and the description of a scoring face is correct. Importance 3 is defensible but generous. This is an exact finite stability result for one configuration with a known inducibility, so 2–3 is the honest range. `type: finding` is appropriate for a new theorem.
