# Review of "The recursively balanced binary tree maximizes balanced samples at every finite size"

**Recommendation: minor revisions.** The paper says that for every $1\le k\le n$, the even binary tree $E_n$ contains the most copies of $E_k$ among all $n$-leaf rooted binary trees. The answer is clear and positive. I checked the proof line by line and found no gap. I reran every computation it relies on and added two independent checks of my own. The changes I ask for concern attribution and presentation, not soundness.

## The proof

I checked each step.

- **Join recurrence (1).** Correct. A copy that crosses the root must split $\{r,s\}$, and each side must induce an even tree.
- **Exchange identity (3).** Correct. I derived it independently. Swapping $i\leftrightarrow j$, or swapping $l\leftrightarrow m$, maps the old grouping's indicator to the new one's. This uses the fact that $T$ is symmetric when its two pairs are exchanged. The four weights then factor into $D(x,z;i,j)\,D(y,w;l,m)$.
  - When $i=j$ or $l=m$, the bracket is identically zero.
  - When $i+l>0$, the old indicator is zero because $j+m\ge i+l+2$.
  - When $i=l=0$, the two indicators agree.
  - When the bracket is positive, both new children are occupied and compatible, so every sample size is at most $\lceil K/2\rceil$. The constraints $x\le z$ and $y\le w$ follow from $a\le b$.
  - After the exchange the root is balanced, because $(x+w)-(y+z)=(w-z)-(y-x)\in\{-1,0,1\}$.
- **Clone/delete bounds and (5).** Correct. Each bound needs extremality for one column at a neighbouring host size, and that is available. The inequality $(n-t^2)/(n-1)\ge 1/(2t)$ holds for $n\ge 2t^2$.
- **Error bound (6).** Correct. Here $b\ge k$, so deleting one leaf keeps at least half of the lifts on average. The bound uses extremality at columns $t$ and $t+1$, and both lie inside the hypothesis.
- **Crossing ratios (7) and the gain factor.** Correct.
  - Both $X+Y$ and $XY/(X+Y)$ are symmetric and homogeneous of degree 1. Each step $(u,u)\to(u,v)$ or $(u,v)\to(v,v)$ therefore has gain $(u+v)/(2u)$ or $2v/(u+v)$.
  - The smaller of these satisfies $2\rho/(1+\rho)\ge 1+1/(4bh+1)$ when $\rho\ge 1+1/(2bh)$.
  - I confirmed that $u=0$ happens only when $t=2h$ and $n=2h+2$.
  - In the range used, every child size is at least $h$ (when $t=2h$) or $h+1$ (when $t=2h+1$), so every $S$ is defined. The inductive call at $(b,h)$ satisfies $b\ge h+2$ whenever $u>0$.
- **Final arithmetic.** Correct: $4bh+1\le 5nt/4$ for $n\ge 34$, and $2^t\ge(320/3)t^3$ for $t\ge 32$.
- **Order of the induction.** Sound. Target $K$ needs (4) only for $t<\lceil K/2\rceil$. That in turn needs extremality only through $\lceil K/2\rceil<K$, at all host sizes, plus (4) at the smaller column $\lfloor t/2\rfloor$. Step $K$ never uses extremality at $K$ itself.
- **Base count.** The size of the base is right: $\sum_{t=1}^{31}(2t^2-t-1)=20{,}305$.

## Reruns and independent checks

**The paper's own scripts.**
- `base.py`: 20,305 inequalities, minimum factor 6 at $(n,t)=(5,3)$, as stated.
- `check_depth.py`: passes.
- `verify_exchange.py`: 3,020,160 orbits, 595 positive, all matching.
- `moves.py`: reproduces Table 1 exactly.

**My own checks** (scripts are in scratch space, not committed):
1. **Exhaustive search over all trees through 21 leaves.** I enumerated every unordered binary tree shape through $n=21$ (about 676,000 distinct count vectors at $n=21$) using the join recurrence. For every $k\le n$, the maximum equals $A(n,k)$. This reaches much further than the 11-leaf census in the paper, and it tests the theorem directly rather than the steps of the proof.
2. **The inequalities the proof derives, checked numerically.**
   - (4) holds exactly for every $32\le t\le 70$ and $t+2\le n\le 2t^2$. This is a range the paper proves rather than computes.
   - (6) holds for $2\le k<60$ and $k\le s<3000$.

The computations agree with the proof everywhere I looked.

## Requested changes

1. **Attribution and priority (most important).** The paper's main selling point is "proving the conjecture of Czabarka, Székely and Wagner." I could not open the arXiv source in this session, so I could not confirm that Conjecture 1 of arXiv:1601.07149 is this exact finite statement. In particular I could not confirm that it covers all $k$, including odd $k$, and every $n\ge k$, rather than, say, complete trees or $k$ a power of two.
   - The study's own scout notes point to [Dossou-Olory–Wagner, Conjecture 1.1](https://ajc.maths.uq.edu.au/pdf/81/ajc_v81_p001.pdf) as a statement of the finite question, including higher arities. The paper does not cite it.
   - Please quote the conjecture as stated in the source and cite Dossou-Olory–Wagner.
   - If the published conjecture also covers $d$-ary trees, say plainly that only the binary case is proved, and adjust the title, summary and `record.json` to match.
2. **Add the exhaustive check.** One sentence would make the evidence stronger for readers who will not verify the proof: exhaustive enumeration of all binary trees through about 20 leaves confirms the theorem at every $k$. It is cheap, and it tests the theorem rather than the count model. The 11-leaf census can stay as the direct-subset check of recurrence (1).
3. **Give the proof a roadmap and clear labels.** The argument is dense, and a combinatorialist outside tree inducibility will need two passes.
   - A three-line outline at the start of the proof would help. It could read: (a) exchange lemma, assuming minors $D\ge0$ up to $\lceil K/2\rceil$; (b) ratio lemma (4), assuming extremality for smaller targets; (c) the interleaved induction.
   - Label these as Lemma 1, Lemma 2 and Theorem, and state each hypothesis in the lemma itself.
   - Right now "Induct on $t$; the smaller columns used below satisfy the extremality hypothesis" carries a lot of weight in one sentence.
4. **Name the property behind $D\ge0$.** $D\ge0$ for all $i<j$ and $x\le z$ is the statement that $A(n,j)/A(n,i)$ is nondecreasing in $n$, so $A$ is totally nonnegative of order 2 (TP2) on the support. Saying this once would orient readers.
5. **Small clarifications.**
   - In the exchange section, say that $E_a=E_x\ast E_y$ also covers $a=1$, through $E_0$.
   - Say that Table 1's exchange row covers only even children and is motivation, not part of the proof. The paper says this in NOTES but only implicitly in the text.

## record.json

- **`summary` and `findings`:** accurate, subject to item 1.
- **`so_what`:** plain and not misleading. Its claim that "the same tree sets the benchmark whether you sample four tips or forty" is right.
- **`importance`:** level 3 is fair. The paper settles a named finite extremal conjecture completely for binary trees, which changes what specialists believe about that specific question. Its impact outside tree inducibility is limited.

## Single most important improvement

Pin down exactly which published conjecture is resolved: quote it and cite Dossou-Olory–Wagner. Then state the scope (binary only, attainment rather than uniqueness) in the title and summary. The mathematics itself appears sound.
